Commit Graph

642 Commits (c919701915f3606fa24cbd32b06419ce92510fcc)
 

Author SHA1 Message Date
jensp 712e5c3a4e CCM NG: Some cleanup, and new KernelConfig class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3779 8810af33-2d31-482b-a856-94f89814c4df
2016-01-11 14:19:56 +00:00
jensp aaf0b053d3 CCM NG: One test in CategoryManagerTest failed when executed after other tests because the hibernate_sequence sequence in the database was not reset between tests.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3778 8810af33-2d31-482b-a856-94f89814c4df
2015-12-19 09:18:05 +00:00
jensp 6a2ce5a0dc CCM NG: Refactored some code to comply to FindBugs and PMD
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3777 8810af33-2d31-482b-a856-94f89814c4df
2015-12-18 18:57:58 +00:00
jensp dabb99d46f CCM NG: Database based configuration now passes all test cases. Not all planned features are yet implemented and tested (for example application instance specific configurations). They will be implemented and tested when they are needed.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3776 8810af33-2d31-482b-a856-94f89814c4df
2015-12-18 15:35:48 +00:00
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
tosmers 5b1121e264 CCM_NG - docrepo
- removed the CdiLookupExceptions
- added db.notfound.file/folder/resources to the Resources.properties

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3771 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 15:03:45 +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 3eabef48d9 some minor changes in docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3760 8810af33-2d31-482b-a856-94f89814c4df
2015-12-02 18:35:05 +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 c82fb5fde4 CCM NG: New devel bundle using Wildfly Swarm for runtime. Not tested yet!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3758 8810af33-2d31-482b-a856-94f89814c4df
2015-12-02 16:47:26 +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
konermann a84c6ad626 CCM NG: added contenttypes externallink,faqitem,newsitem,glossaryitem
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3746 8810af33-2d31-482b-a856-94f89814c4df
2015-11-25 13:18:40 +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
konermann 5b3a8a134b CCM NG: added structural basis for the next contenttypes: externallink,faqitem,newsitem,glossaryitem
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3744 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 17:50:09 +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
konermann d2c52691ae CCM NG: minor changes, added Javadoc, hibernate validation.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3740 8810af33-2d31-482b-a856-94f89814c4df
2015-11-22 10:16:27 +00:00
konermann 95f9ddb11c CCM NG: fixed some bugs, added missing constants
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3738 8810af33-2d31-482b-a856-94f89814c4df
2015-11-20 06:42:54 +00:00
tosmers 90e50f80a9 -adds refactored FileEditForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3736 8810af33-2d31-482b-a856-94f89814c4df
2015-11-18 17:34:49 +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
konermann 9e9662592f CCM NG: Added Content types mparticle and decisiontree.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3734 8810af33-2d31-482b-a856-94f89814c4df
2015-11-18 15:44:24 +00:00
konermann 097cbc7dd2 CCMCCM NG: removed module decisiontree from pom.xml until the module is actually finished and uploaded.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3724 8810af33-2d31-482b-a856-94f89814c4df
2015-11-10 11:40:26 +00:00
konermann 50d9bf40ec CCM NG: Added Content types bookmark, event and minutes.
minor changes in Agenda.java

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3720 8810af33-2d31-482b-a856-94f89814c4df
2015-11-06 16:32:24 +00:00
konermann 92b42bbe7d CCM NG: Added Content type agenda
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3715 8810af33-2d31-482b-a856-94f89814c4df
2015-11-03 13:22:22 +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
konermann 3343a0024a CCM NG: finished shortcuts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3712 8810af33-2d31-482b-a856-94f89814c4df
2015-10-28 08:56:41 +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 6a9b3d8070 CCM NG: Documentation for the content type archetype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3706 8810af33-2d31-482b-a856-94f89814c4df
2015-10-22 16:10:05 +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