Commit Graph

74 Commits (97533b7c04bc9b50d5405abcf11c68cb26809949)

Author SHA1 Message Date
jensp 1c22c8efcb CCM NG: Updated Thorntail and Shiro dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6013 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 19:54:26 +00:00
jensp b2e0a2892c Fixed several test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5887 8810af33-2d31-482b-a856-94f89814c4df
2019-03-28 14:36:45 +00:00
jensp bd2d92b252 Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5886 8810af33-2d31-482b-a856-94f89814c4df
2019-03-27 20:30:39 +00:00
jensp f6b5583597 CCM NG: Updates for compatibility with Hibernate 5.3 and newer
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5881 8810af33-2d31-482b-a856-94f89814c4df
2019-03-25 20:31:22 +00:00
jensp 915c9a0122 CCM NG: Test for importing GroupMemberships and some fixes for import procdure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5764 8810af33-2d31-482b-a856-94f89814c4df
2018-12-02 08:21:16 +00:00
jensp a49572da24 CCM NG: Test for importing groups
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5754 8810af33-2d31-482b-a856-94f89814c4df
2018-11-26 19:11:19 +00:00
jensp 8da6bfa79d CCM NG: UserImportTest runs successfully
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5747 8810af33-2d31-482b-a856-94f89814c4df
2018-11-23 18:51:53 +00:00
jensp 2f26390a75 CCM NG: Tests and Bugfixes for Im/Export
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5743 8810af33-2d31-482b-a856-94f89814c4df
2018-11-21 18:25:24 +00:00
jensp 69b194b35a CCM NG: Various adjustments for import/export
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5710 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 12:33:14 +00:00
jensp 869c46c856 CCM NG: Revised Im/Export system for entities in org.libreccm.categorization
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5707 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 09:19:52 +00:00
jensp 0d1a53b2d9 CCM NG: Revised Im/Export system for entities in org.libreccm-security
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5706 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 08:08:35 +00:00
jensp ea0ddcfcb1 CCM NG:
- Revised Import/Export system
    - Added UUID to Party entity
    - Changed test data sets


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5705 8810af33-2d31-482b-a856-94f89814c4df
2018-09-28 18:01:42 +00:00
jensp 085c3c5233 CCM NG: Inherited permissions are now stored in the database for each object making it possible to check permissions when querying data from the database. The InheritsPermissions interface has been removed.
Also, the usage of the cleanup script has been changed. The automatic cleanup of Arquillian is not longer disabled (in ccm-core). Instead a custom cleanup script is applied using the @CleanupUsingScript annotation on the test classes.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4536 8810af33-2d31-482b-a856-94f89814c4df
2017-01-25 20:18:00 +00:00
jensp ead27eef70 CCM NG: Changes for the PermissionManager to pass tests.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4535 8810af33-2d31-482b-a856-94f89814c4df
2017-01-24 16:32:57 +00:00
jensp eb737fcb02 CCM NG: First part of changed permission inhertitence
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4533 8810af33-2d31-482b-a856-94f89814c4df
2017-01-23 19:11:56 +00:00
jensp b674042e34 CCM NG: Reverted changes from r4350: Interfaces and Annotations don't work together but we need the annotations...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4351 8810af33-2d31-482b-a856-94f89814c4df
2016-10-05 15:13:30 +00:00
jensp 1ebbe0e59d CCM NG: Preparation for replacing privilege strings with enums.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4350 8810af33-2d31-482b-a856-94f89814c4df
2016-10-04 17:56:09 +00:00
jensp 5ed394bee2 CCM NG: Fixed some errors in ccm-core. All tests now run again.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4242 8810af33-2d31-482b-a856-94f89814c4df
2016-08-31 18:34:21 +00:00
jensp e6b3630786 CCM NG:
- Additional methods and implementations of ContentItemManager (not tested yet!)
- Refactored several UI classes to work with CCM NG, primarly in ccm-cms/com.arsdigita.cms.ui.folder


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4231 8810af33-2d31-482b-a856-94f89814c4df
2016-08-29 15:52:23 +00:00
jensp 45501fedb8 CCM NG: Several things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4203 8810af33-2d31-482b-a856-94f89814c4df
2016-07-20 18:03:55 +00:00
jensp 741e0e5dc0 CCM NG: Loader for configuration parameters from the integration.properties file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4190 8810af33-2d31-482b-a856-94f89814c4df
2016-07-06 13:22:39 +00:00
jensp 864094a5dd CCM NG: Annotations for authorization are now added to all repository and and manager beans in ccm-core
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4166 8810af33-2d31-482b-a856-94f89814c4df
2016-06-17 19:46:50 +00:00
jensp 9f66872c80 CCM NG: Authorisation checks for several repository classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4158 8810af33-2d31-482b-a856-94f89814c4df
2016-06-15 18:36:55 +00:00
jensp 7bc7551413 CCM NG:
- Updated dependency for Apache Shiro to 1.2.5 (bugfix release of Shiro)
- More work on the application UI
- Description of an application type is now localised (using the same approach as for the configuration classes)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4120 8810af33-2d31-482b-a856-94f89814c4df
2016-05-27 18:00:44 +00:00
jensp 15571d4bbe CCM NG: Adjusted several poms and tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4072 8810af33-2d31-482b-a856-94f89814c4df
2016-05-13 15:18:46 +00:00
jensp aed90bb782 Settings for the database based configuration are no longer subclasses of CcmObject, removed registry domain. The settings are now retrieved via simple queries using strings.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4032 8810af33-2d31-482b-a856-94f89814c4df
2016-04-29 13:12:52 +00:00
jensp 822c5288f3 CCM NG:
- Split up code for the UserAdmin class into several smaller classes 
- All classes (forms, tables, models, modelbuilders) which are only intented to be used by UserAidmin, GroupAdmin and RoleAdmin are only accessible from the package


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4018 8810af33-2d31-482b-a856-94f89814c4df
2016-04-20 12:04:26 +00:00
jensp 4bd63b1b45 CCM NG:
- Forms for Login, including new password recover form and account activation form


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3974 8810af33-2d31-482b-a856-94f89814c4df
2016-04-06 13:44:27 +00:00
jensp b06a29d432 CCM NG: ChallengeManager, provides services for email verification, account activation and password recovery.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3970 8810af33-2d31-482b-a856-94f89814c4df
2016-04-01 18:31:51 +00:00
jensp b9397f01b7 CCM NG: OneTimeAuthManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3968 8810af33-2d31-482b-a856-94f89814c4df
2016-03-31 18:12:04 +00:00
jensp c2bae7824a CCM NG: Several changes in the tests caused by the recent changes to the Shiro integration and other changes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3945 8810af33-2d31-482b-a856-94f89814c4df
2016-03-18 21:38:25 +00:00
jensp 5b1055c485 CCM NG:
- Added UUID field to CcmObject
- Added interface Identifiable. All entities which are identifiable via a UUID (which will be all "root" entities) will implement this interface directly or indirectly.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3854 8810af33-2d31-482b-a856-94f89814c4df
2016-02-11 11:56:45 +00:00
jensp d2bfec2a1b CCM NG: Setup for registry
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3835 8810af33-2d31-482b-a856-94f89814c4df
2016-02-02 08:28:11 +00:00
jensp cc7889143c CCM NG: All tests in ccm-core now pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3824 8810af33-2d31-482b-a856-94f89814c4df
2016-01-23 18:13:28 +00:00
jensp 53670572b2 CCM NG: Some fixes necessary because of the new configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3823 8810af33-2d31-482b-a856-94f89814c4df
2016-01-22 19:35:20 +00:00
jensp 54f8c657f7 CCM NG: Finished migiration to new configuration system. Now all jUnit tests have to be checked.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3809 8810af33-2d31-482b-a856-94f89814c4df
2016-01-20 18:44:11 +00:00
jensp 361ba65ed8 CCM NG: Migrated more configuration classes to the new system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3793 8810af33-2d31-482b-a856-94f89814c4df
2016-01-13 18:11:56 +00:00
jensp cdc61894c6 CCM NG: Some fixes for the new Configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3780 8810af33-2d31-482b-a856-94f89814c4df
2016-01-11 17:39:32 +00:00
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
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 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 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 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
jensp ef12d6b7f2 CCM NG: Reworked tests to work with multiple schemas (table name spaces) in database
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3592 8810af33-2d31-482b-a856-94f89814c4df
2015-08-30 18:06:31 +00:00
jensp 0d967f6832 CCM NG: Some cleanup, some files for testing the module system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3590 8810af33-2d31-482b-a856-94f89814c4df
2015-08-26 18:57:22 +00:00
jensp 5eed012faa CCM NG: Code for the module system (not tested yet, also needs some cleanup work)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3587 8810af33-2d31-482b-a856-94f89814c4df
2015-08-26 16:38:52 +00:00