Commit Graph

56 Commits (782ef13fb0f5d2e86a945c60645a93b1a17615b9)

Author SHA1 Message Date
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
jensp 6407178b45 CCM NG: PermissionManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3548 8810af33-2d31-482b-a856-94f89814c4df
2015-08-05 11:46:01 +00:00
jensp b065abf3bf CCM NG: Progress on the PermissionManager (does not work completly yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3547 8810af33-2d31-482b-a856-94f89814c4df
2015-08-04 17:59:36 +00:00
jensp 84a59b777a CCM NG: Datasets and test methods for PermissionManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3543 8810af33-2d31-482b-a856-94f89814c4df
2015-08-03 18:24:48 +00:00
jensp 6d76f200d7 CCM NG: Renamed privilege property of the Privilege entity to label to avoid naming confusion.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3541 8810af33-2d31-482b-a856-94f89814c4df
2015-08-03 09:23:46 +00:00
jensp 6a334f9277 CCM NG:
- Some code cleanup
- PrivilegeRepository for creating and deleting permissions


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3540 8810af33-2d31-482b-a856-94f89814c4df
2015-08-01 19:34:43 +00:00
jensp f3a443a6ab CCM NG:
- Excluded some of the old com.arsdigita classes from FindBugs and PMD to keep the reports clear so that we can focus on the 
      new org.libreccm classes and the important com.arsdigita classes
    - PermisssionRepository and tests. PermissionRepository will provided some maybe offer more queries.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3537 8810af33-2d31-482b-a856-94f89814c4df
2015-07-30 12:16:31 +00:00
jensp 7b9a9a6d65 CCM NG: PermissionRepository and some tests for it (more to come)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3534 8810af33-2d31-482b-a856-94f89814c4df
2015-07-29 16:42:57 +00:00
jensp c802645333 CCM NG: RoleRepository
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3533 8810af33-2d31-482b-a856-94f89814c4df
2015-07-28 17:15:23 +00:00
jensp aa0f9df7ee CCM NG: GroupManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3531 8810af33-2d31-482b-a856-94f89814c4df
2015-07-25 08:52:20 +00:00
jensp 7c43e82068 CCM NG: Repository and Manager class for Groups. Repository is finished, Manager not yet
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3530 8810af33-2d31-482b-a856-94f89814c4df
2015-07-24 19:48:44 +00:00
jensp 1071d2466b CCM NG:
- LoginManager finished, works now
    - Utility class for looking up CDI beans in classes which are not eligible for injection
    - Some clean up (removing FindBugs and PMD warnings)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3528 8810af33-2d31-482b-a856-94f89814c4df
2015-07-21 17:21:11 +00:00
jensp 5282e63ebd CCM NG: LoginManagerTest. Note: LoginManager does not work yet, Test class and LoginManager etc still need some work
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3527 8810af33-2d31-482b-a856-94f89814c4df
2015-07-20 20:12:10 +00:00
jensp a046640210 CCM NG: Added the SecurityConfig class to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3524 8810af33-2d31-482b-a856-94f89814c4df
2015-07-18 15:46:31 +00:00
jensp 5e1e1d1d77 CCM NG: KernelConfig now seems to work in a Java EE application container.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3519 8810af33-2d31-482b-a856-94f89814c4df
2015-07-04 08:16:49 +00:00
jensp 5c2e18e51d CCM NG: Tests for com.arsdigita.kernel.KernelConfig
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3518 8810af33-2d31-482b-a856-94f89814c4df
2015-07-03 20:20:28 +00:00
jensp 31763e8a3c CCM NG: UserManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3512 8810af33-2d31-482b-a856-94f89814c4df
2015-07-01 16:10:26 +00:00
jensp 1ddb4028fb CCM NG: UserRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3509 8810af33-2d31-482b-a856-94f89814c4df
2015-06-27 17:20:55 +00:00
jensp e1e7d936be - Improved test of UserRepository
- Cleanup script for MySQL


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3504 8810af33-2d31-482b-a856-94f89814c4df
2015-06-25 18:38:17 +00:00