Commit Graph

146 Commits (4b5a2277728c7fd2045a90efcb0deb931ba34c24)

Author SHA1 Message Date
jensp 4b5a227772 CCM NG: More test cases for the new database driven category system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3775 8810af33-2d31-482b-a856-94f89814c4df
2015-12-17 14:07:40 +00:00
tosmers 06e342af0c CCM_NG - docrepo
- adds additional classes from docrepo to ccm_ng
- adds two classes with massive errors, sorry, was necessary

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3774 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 21:58:47 +00:00
jensp 66048bf198 CCM NG: Some modifications to the configuration classes and first test cases
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3773 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 19:19:12 +00:00
jensp fd010fef1a CCM NG: Classes for the new database based configuration system (not tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3772 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 15:15:38 +00:00
jensp 3f27e09a84 CCM NG: Several changes:
- Replaced CdiLookupException with IllegalStateException. IllegalStateException
  is a RuntimeException, therefore it is not necessary to catch the exception. 
  An error in the findBean method usually is not recoverable, therefore it is 
  not necessary to use a checked exception.
- Removed several uses of UncheckedWrapperException
- CategoryRepository and CategoryManager are now implemented (not completetly 
   yet) and have tests.
- Changed value field of EnumConfigurationEntry from List to Set to avoid 
  duplicate entries.



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3770 8810af33-2d31-482b-a856-94f89814c4df
2015-12-15 18:56:27 +00:00
jensp e743e052ff CCM NG:
- Some cleanup
    - Entities for the new database based configuration system


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3768 8810af33-2d31-482b-a856-94f89814c4df
2015-12-11 19:26:03 +00:00
jensp 576d28a8ce CCM NG:
- Cleanup ccm-core:org.libreccm.core: Removed unused classes (those replaced by 
  org.libreccm.security)
- Modified org.libreccm.security.PermissionChecker: 
    - #checkPermission(String, CcmObject) does not longer return the object, 
      when the current user is permitted to access the object.
    - new method #checkPermission(String, CcmObject, Class) checks for 
      permission to access the object and returns the object or a virtual 
      "Access denied" object (like SecuredCollection).
- "Access denied" string is provided as a constant by org.libreccm.core.CoreConstants


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3767 8810af33-2d31-482b-a856-94f89814c4df
2015-12-11 13:05:46 +00:00
tosmers e1ad4b4347 adds filePropertiesPanel to DocRepo and modifies minor stuff
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3766 8810af33-2d31-482b-a856-94f89814c4df
2015-12-10 00:17:46 +00:00
jensp c54956d642 CCM NG: More work to get CCM NG running
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3765 8810af33-2d31-482b-a856-94f89814c4df
2015-12-08 16:51:01 +00:00
jensp 3914360c48 CCM NG:
- Some changes in the integration tests in ccm-core. Due to association added 
  between Workflow and Role added in revision r3763 it is necssary to include 
  the org.libreccm.workflow package in these tests.
- Renamed the ccm-bundle-devel to ccm-bundle-devel-swarm to indicate that the 
  using Wildfly Swarm
- Created a ccm-devel-bundle-wildfly module which builds a WAR for Wildfly


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3764 8810af33-2d31-482b-a856-94f89814c4df
2015-12-07 19:22:18 +00:00
jensp 6066ea22a2 CCM NG: Removed associations to User and Group from the UserTask and replaced them with an association to Role.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3763 8810af33-2d31-482b-a856-94f89814c4df
2015-12-04 17:42:02 +00:00
jensp d043fbea56 CCM NG: Documentation for ccm-core:org.libreccm.security
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3762 8810af33-2d31-482b-a856-94f89814c4df
2015-12-04 14:53:43 +00:00
jensp bf5ddceda7 CCM NG:
- CCMDispatcherServlet now mapped to /ccm/ *and* /index.html to replace old index.jsp file. Logic from index.jsp moved to
      CCMDispatcherServlet#doService.
    - Integrated static default theme resources into ccm-devel-bundle


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3761 8810af33-2d31-482b-a856-94f89814c4df
2015-12-03 14:20:50 +00:00
tosmers a1011154a5 modifies DestinationFolderForm and FileEditForm, adds DocRepoRequestLocal and FileInfoHistoryPane and FileInfoPropertiesPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3759 8810af33-2d31-482b-a856-94f89814c4df
2015-12-02 17:01:25 +00:00
jensp 76f810ab11 CCM NG: Admin App now uses new API from the org.libreccm.security package for authentication and authorisation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3755 8810af33-2d31-482b-a856-94f89814c4df
2015-12-02 10:06:57 +00:00
jensp 7cd9b19550 CCM NG: Registered Login application in core module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3754 8810af33-2d31-482b-a856-94f89814c4df
2015-11-30 14:11:10 +00:00
jensp 7868e168dc CCM NG: Migrated Login App to new org.libreccm.security API
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3753 8810af33-2d31-482b-a856-94f89814c4df
2015-11-30 13:45:39 +00:00
jensp f6f2923e1e CCM NG: More secured collections (not tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3752 8810af33-2d31-482b-a856-94f89814c4df
2015-11-27 18:29:45 +00:00
jensp 80eeb7960a CCM NG: Secured collections (not all tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3751 8810af33-2d31-482b-a856-94f89814c4df
2015-11-26 14:42:43 +00:00
jensp 8da5c31279 CCM NG: SecuredCollection (not tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3750 8810af33-2d31-482b-a856-94f89814c4df
2015-11-25 17:53:17 +00:00
jensp d4b5194612 CCM NG: Some documentation for the secured iterator
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3749 8810af33-2d31-482b-a856-94f89814c4df
2015-11-25 16:37:00 +00:00
jensp 0e3ee46988 CCM NG: SecuredIterator: Iterator for CcmObjects which checks permissions for
the objects before returning them.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3748 8810af33-2d31-482b-a856-94f89814c4df
2015-11-25 16:08:22 +00:00
jensp bd56f40876 CCM NG: JavaDoc for the AuthorizationInterceptor and the supporting annotations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3747 8810af33-2d31-482b-a856-94f89814c4df
2015-11-25 14:13:36 +00:00
jensp c433cadaae CCM NG: CDI Interceptor for Authorization
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3745 8810af33-2d31-482b-a856-94f89814c4df
2015-11-24 19:22:44 +00:00
jensp b6cb768993 CCM NG: Removed the javabeans PMD ruleset from the list of checked rulesets
because the rule "BeanMembersShouldSerialize" from this ruleset procduces many 
false positives. Also removed also usages of the transient modifier which 
were only added to various classes to match this rule.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3743 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 12:45:16 +00:00
jensp 97899ace54 CCM NG: Cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3742 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 09:45:15 +00:00
jensp fb14845775 CCM_NG: New API for authentication and authoriziation using Apache Shiro.
Replaces some classes in org.libreccm.core.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3741 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 09:37:35 +00:00
tosmers d64753007b adds dependency in org.libreccm.core.user
adds currently finished refactored classes of docrepo

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3735 8810af33-2d31-482b-a856-94f89814c4df
2015-11-18 16:14:34 +00:00
jensp 56864be7b4 CCM NG: Two more Bebop classes for CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3714 8810af33-2d31-482b-a856-94f89814c4df
2015-10-28 18:23:20 +00:00
jensp b7fdccf1a1 CCM NG: Added com.arsdigita.bebop.ExternalLink component because it is used in some modules
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3707 8810af33-2d31-482b-a856-94f89814c4df
2015-10-26 09:32:41 +00:00
jensp 77f7ff0c9e CCM NG: Missing class AbstractSingletonApplicationManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3703 8810af33-2d31-482b-a856-94f89814c4df
2015-10-21 08:52:39 +00:00
jensp 77a4965de9 CCM NG: Removed some not implented classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3702 8810af33-2d31-482b-a856-94f89814c4df
2015-10-21 08:38:43 +00:00
jensp 488d0b5b38 CCM NG:
- Corrected some typos in the Archetype for content types
- Changed group ids of cms related stuff to org.librecms
- Some more base entities for content items
- Entities and base structure for ccm-cms-types-article


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3698 8810af33-2d31-482b-a856-94f89814c4df
2015-10-19 13:13:45 +00:00
jensp 18f492567d CCM NG: Maven Archetype for generating modules
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3694 8810af33-2d31-482b-a856-94f89814c4df
2015-10-17 17:47:13 +00:00
jensp 1bd5963ec3 CCM NG: Classes for Applications Administration UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3692 8810af33-2d31-482b-a856-94f89814c4df
2015-10-15 09:03:27 +00:00
jensp 01befa0c74 CCM NG: Current status Admin UIs
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3691 8810af33-2d31-482b-a856-94f89814c4df
2015-10-14 16:57:07 +00:00
jensp dad4ce0c53 CCM NG: Changed names of named queries to include simple name of class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3674 8810af33-2d31-482b-a856-94f89814c4df
2015-10-08 09:30:55 +00:00
jensp 56d545d175 CCM NG: Old login app ported to CCM NG including UI. Compiles but is not tested yet!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3673 8810af33-2d31-482b-a856-94f89814c4df
2015-10-08 09:12:25 +00:00
tosmers ba1e89fa76 [FEATURE]
- adds three named queries in ResourceRepository
- adds class annotations for repositories in ResourceRepository
- adds class ResourceManager with the corresponding class annotations
- adds the defined named queries in the class annotation of Resource
- adds some entity constraints in Resource for 'name' and 'path'
- corrects the implementation of the 'isNew'-method in ResourceRepository


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3662 8810af33-2d31-482b-a856-94f89814c4df
2015-10-01 09:58:22 +00:00
jensp 42538f66d8 CCM NG: Copied several of parameter properties files for the config system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3650 8810af33-2d31-482b-a856-94f89814c4df
2015-09-24 11:59:08 +00:00
jensp da809a9fc5 CCM NG:
- Fixed some errors
    - Ported basic servlets and Bebop classes from old code


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3646 8810af33-2d31-482b-a856-94f89814c4df
2015-09-23 16:51:25 +00:00
tosmers 5883127563 [UPDATE]
- provides NamedQueries in Resource.java

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3637 8810af33-2d31-482b-a856-94f89814c4df
2015-09-22 15:47:35 +00:00
tosmers a14a30c688 [FEATURE]
- provides the instance variables with jpa annotations replacing the associations in the ResourceImpl.pdl

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3636 8810af33-2d31-482b-a856-94f89814c4df
2015-09-22 14:29:35 +00:00
jensp 8abb9f6ddc CCM NG: Renamed migrations in ccm-core to match version of the module (7.0.0)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3617 8810af33-2d31-482b-a856-94f89814c4df
2015-09-15 16:50:26 +00:00
jensp ae8943a75c CCM NG: JavaDoc for the module system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3615 8810af33-2d31-482b-a856-94f89814c4df
2015-09-14 12:41:18 +00:00
jensp b754e4b04c CCM NG: JavaDoc for the CcmIntegrator
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3614 8810af33-2d31-482b-a856-94f89814c4df
2015-09-14 09:37:02 +00:00
jensp 05769ab812 CCM NG:
- Some (general) documentation about the module system
    - Removed obsolete profiles from testing documentation


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3612 8810af33-2d31-482b-a856-94f89814c4df
2015-09-11 18:16:24 +00:00
jensp e001c43351 CCM NG:
ccm-core:
- Moved package for module system from org.libreccm.core.modules to 
  org.libreccm.modules

ccm-docrepo
- Fixed wrong import for java.sql.Date, should be java.util.Date
- Added a placeholder persistence.xml to avoid error in the ddl generator



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3611 8810af33-2d31-482b-a856-94f89814c4df
2015-09-11 16:47:30 +00:00
tosmers 3351579875 [UPDATE]
- corrects mistake in java-doc of Permission.java

[FEATURE]
- adds jpa-classes (BlobObject, File, Folder, RecentUpdatedDocsPortlet, Repository, ResourceImpl) to ccm-docrepo

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3609 8810af33-2d31-482b-a856-94f89814c4df
2015-09-10 16:27:06 +00:00
jensp 0e35c7b723 CCM NG: Some fixes on database object identifiers like tables etc on ensure compatibility with H2, PostgreSQL and Oracle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3606 8810af33-2d31-482b-a856-94f89814c4df
2015-09-09 15:44:35 +00:00