Commit Graph

228 Commits (e1ce828f39e3d5968486b301ff80403e6bee4093)

Author SHA1 Message Date
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 1fb33e6131 CCM NG: Workflow and Lifecycle managment
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4216 8810af33-2d31-482b-a856-94f89814c4df
2016-08-10 15:06:05 +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 4b143d3b3b CCM NG:
- Moved MultiPartArticle to ccm-cms module
- Added serveral entities to ccm-cms (Workflow, Lifecycle)
- Added entity WorkflowTemplate to ccm-core
- Fixed wrong inheritence strategy for Task entity


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4179 8810af33-2d31-482b-a856-94f89814c4df
2016-06-29 17:40:51 +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 bce1dac628 CCM NG: Added annotations for authorization to several methods
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4155 8810af33-2d31-482b-a856-94f89814c4df
2016-06-13 17:59:09 +00:00
jensp 572db42a15 CCM NG: ccm-shortcuts module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4146 8810af33-2d31-482b-a856-94f89814c4df
2016-06-08 18:03:18 +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 015724891c CCM NG: All EqualsAndHashCode Tests now pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4071 8810af33-2d31-482b-a856-94f89814c4df
2016-05-13 09:49:27 +00:00
jensp f5be4f3051 CCM NG:
- Migrated more EqualsAndHashCode tests
- Also added methods to add suppress warning statements and prefab values to the EqualsVertifier from the ccm-testutils module


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4068 8810af33-2d31-482b-a856-94f89814c4df
2016-05-12 18:30:19 +00:00
jensp 1d5364bf7f CCM NG: Updated EqualsVerifier to current version. Some tests need to be migrated.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4067 8810af33-2d31-482b-a856-94f89814c4df
2016-05-12 13:46:06 +00:00
jensp 89c003b321 CCM NG: Changes for Hibernate 5
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4065 8810af33-2d31-482b-a856-94f89814c4df
2016-05-11 16:47:19 +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 b458a61aca CCM NG: The OneTimeAuthToken is now saved as hash in the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3985 8810af33-2d31-482b-a856-94f89814c4df
2016-04-12 17:54:40 +00:00
tosmers ad1ec92626 test problems with docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3982 8810af33-2d31-482b-a856-94f89814c4df
2016-04-11 15:49:13 +00:00
jensp 4e55d0279e CCM NG: FilePortationTest now deploys without errors
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3977 8810af33-2d31-482b-a856-94f89814c4df
2016-04-07 08:47:09 +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 f234e7a0e5 CCM NG: OneTimeAuthTokenCleaner: Uses javax.ejb.TimerService to run a cleanup task to remove expired one time auth tokens.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3972 8810af33-2d31-482b-a856-94f89814c4df
2016-04-02 16:42:52 +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 3eb86b41f2 CCM NG: OneTimeAuth system, used for PasswordRecover, Account activation and email verification
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3967 8810af33-2d31-482b-a856-94f89814c4df
2016-03-30 17:23:09 +00:00
jensp b32c0ab6f1 CCM NG: Fixed CategoryRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3947 8810af33-2d31-482b-a856-94f89814c4df
2016-03-21 20:01:11 +00:00
jensp 2f7b0f1dcb CCM NG: Tests for ccm-core now work again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3946 8810af33-2d31-482b-a856-94f89814c4df
2016-03-21 18:18:35 +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 5bb5bf7ac6 CCM NG:
- Some updates caused by the integration of the UUID field in CcmObject
- Better integration for Shiro (inspired by https://issues.apache.org/jira/browse/SHIRO-337).)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3855 8810af33-2d31-482b-a856-94f89814c4df
2016-02-11 14:05:29 +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 3321f09481 CCM NG: Todays results of the getting Bebop running in CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3843 8810af33-2d31-482b-a856-94f89814c4df
2016-02-05 19:08:35 +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 34907dfe89 CCM NG: Several small changes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3832 8810af33-2d31-482b-a856-94f89814c4df
2016-01-31 10:13:46 +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 127ff16e59 CCM NG: TemplatingConfig migrated to new configuration system, WebConfig almost migrated
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3807 8810af33-2d31-482b-a856-94f89814c4df
2016-01-19 19:08:51 +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 97567275e2 CCM NG: Part of the ongoing migration to a database based configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3790 8810af33-2d31-482b-a856-94f89814c4df
2016-01-12 19:08:08 +00:00
jensp c024ac5593 CCM NG: Tested #equals, #hashCode and #toString of new KernelConfig class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3787 8810af33-2d31-482b-a856-94f89814c4df
2016-01-12 11:06:04 +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 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
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 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 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 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
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
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
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
jensp abfa4c6ff7 CCM NG: Some adjustments for the ccm-test-bundle module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3601 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 20:01:19 +00:00
jensp d7be8b8d65 CCM NG: Bundle/WAR module for testing the module system etc.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3600 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 13:45:35 +00:00
jensp a51c64e7b5 CCM NG: Some files I forgot in the last commit
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3599 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 08:13:00 +00:00
jensp c9da290b9f CCM NG: Test for the module system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3598 8810af33-2d31-482b-a856-94f89814c4df
2015-09-02 18:16:00 +00:00
jensp 1c7a7af8cb CCM NG: Several adjustments for the POM, especially depencencies and plugin versions
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3597 8810af33-2d31-482b-a856-94f89814c4df
2015-09-02 15:49:44 +00:00
jensp ac7e995af0 CCM NG: Some work on the test profile for Wildfly8 and MySQL
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3594 8810af33-2d31-482b-a856-94f89814c4df
2015-08-31 13:51:13 +00:00
jensp 93fb61b66e CCM NG: LoginManagerTest now working
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3593 8810af33-2d31-482b-a856-94f89814c4df
2015-08-31 10:48:28 +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 2f95086fe9 CCM NG: Some code clean up
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3591 8810af33-2d31-482b-a856-94f89814c4df
2015-08-28 18:16:56 +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 03c73e42f0 CCM NG:
- DependencyTreeManager finished and tested
    - AuditReaderProducer for producing and AuditReader which can be injected via CDI
    - Added some of the old com.arsdigita classes to the excludes for PMD


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3570 8810af33-2d31-482b-a856-94f89814c4df
2015-08-12 19:34:08 +00:00
jensp 5580d94608 CCM NG:
- Abstract base class for repositories for audited entities (using Envers)
- First part for the reworked load (or better install) and init part for LibreCCM NG. Needs to be tested and is not finished.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3566 8810af33-2d31-482b-a856-94f89814c4df
2015-08-11 18:20:21 +00:00
jensp 7bb3c52c6c CCM NG:
- Some JavaDoc
- Added taglist-maven-plugin to reports for ccm-core


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3554 8810af33-2d31-482b-a856-94f89814c4df
2015-08-06 19:33:05 +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
konermann 1b6e722e56 CCM NG: StringUtils: last adjustments for PMD
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3542 8810af33-2d31-482b-a856-94f89814c4df
2015-08-03 11:26:31 +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
konermann 010a0c5c13 CCM NG: StringUtils: removed all occurrences of the oro-library, made PMD happy.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3539 8810af33-2d31-482b-a856-94f89814c4df
2015-07-31 14:23:01 +00:00
jensp 96091995d0 CCM NG: Replaced usage of Java 8 method List#sort(Comparator) with Collections.sort(List, Comparator) which is available in Java 7.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3538 8810af33-2d31-482b-a856-94f89814c4df
2015-07-31 13:13:36 +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
konermann e02af14df1 CCM NG: StringUtils: continued to remove oro-library, removed a lot of PMD-warnings,
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3536 8810af33-2d31-482b-a856-94f89814c4df
2015-07-30 12:15:08 +00:00
jensp fedb2fd9a5 CCM NG: Missed one file for last commit
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3535 8810af33-2d31-482b-a856-94f89814c4df
2015-07-30 07:55:44 +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
konermann 91cb6dddb0 CCM NG: started to replace oro.text.regex with java.util.regex, added some tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3529 8810af33-2d31-482b-a856-94f89814c4df
2015-07-23 09:43:25 +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
konermann e01c82e6c5 CCM NG: added Tests for StringUtils, and improved some of the methods of StringUtils
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3522 8810af33-2d31-482b-a856-94f89814c4df
2015-07-09 10:27:24 +00:00
jensp 090d936962 CCM NG: Improved test coverage for KernelConfig
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3520 8810af33-2d31-482b-a856-94f89814c4df
2015-07-04 08:51:16 +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
konermann a423f2db84 CCM NG: improved test coverage of AssertTest.java
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3517 8810af33-2d31-482b-a856-94f89814c4df
2015-07-03 09:27:02 +00:00
jensp cb54c2c9d9 CCM NG: Several small things:
- ResourceType and ApplicationType entities
    - Some refinements of columns names
    - Collections are not longer used in hashCode/equals because we can't be sure that the implementation of a collection
      provided for instance by Hibernate implements equals/hashCode.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3515 8810af33-2d31-482b-a856-94f89814c4df
2015-07-02 11:43:06 +00:00
jensp bae3e911a7 CCM NG: Replaced string constant for UTF-8 with java.nio.charset.StandardCharsets.UTF_8
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3514 8810af33-2d31-482b-a856-94f89814c4df
2015-07-01 17:20:11 +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
jensp fe84be3340 CCM NG: Current status, some work on UserRepository Test
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3503 8810af33-2d31-482b-a856-94f89814c4df
2015-06-25 13:48:17 +00:00
jensp 40224e0e79 CCM NG: Current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3502 8810af33-2d31-482b-a856-94f89814c4df
2015-06-25 12:01:41 +00:00
jensp 2e33a4e2d9 CCM NG:
- Datasets for UserRepositoryTest
    - Some code formatting


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3499 8810af33-2d31-482b-a856-94f89814c4df
2015-06-24 17:50:04 +00:00
jensp 9a2c98cbe0 CCM NG: Current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3498 8810af33-2d31-482b-a856-94f89814c4df
2015-06-24 15:43:14 +00:00
jensp 7f2da80e81 CCM NG:
- More JAXB mapping annotations
- Started to migrate authentication system


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3496 8810af33-2d31-482b-a856-94f89814c4df
2015-06-22 17:30:58 +00:00
jensp 619a0abadf CCM NG: Current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3490 8810af33-2d31-482b-a856-94f89814c4df
2015-06-17 18:26:02 +00:00
jensp 078c23ea8a CCM NG: Changed JNDI names for test datasources to reflect Maven artifact name
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3487 8810af33-2d31-482b-a856-94f89814c4df
2015-06-16 14:59:47 +00:00
jensp b6310ae940 - Moved test utility classes to separate module which can be imported by other modules (Test classes are not part of
dependency resolution)
- Created ccm-shortcuts module for testing build environment setup


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3481 8810af33-2d31-482b-a856-94f89814c4df
2015-06-14 19:04:12 +00:00
jensp 18de6cdf3d CCM NG: Profile for using a Wildfly and a MySQL/MariaDB database
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3480 8810af33-2d31-482b-a856-94f89814c4df
2015-06-13 17:56:29 +00:00
jensp 1499a8661b CCM NG: DatasetsVerifier now also checks if dumping the current database state works correctly
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3479 8810af33-2d31-482b-a856-94f89814c4df
2015-06-13 15:55:57 +00:00
jensp 92d49dc9f0 CCM NG: Profiles for remote tests, some refinements
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3478 8810af33-2d31-482b-a856-94f89814c4df
2015-06-12 18:10:41 +00:00
jensp 09169249ea CCM NG: Fixed some problems with Arquillian, dumping test data did not work. Disabled tempoarily. Fixed some minor issues in the CcmObjectRepository classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3477 8810af33-2d31-482b-a856-94f89814c4df
2015-06-11 12:10:20 +00:00
jensp cbe2b198fd CCM NG: Current status, including basic repository class and some more tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3476 8810af33-2d31-482b-a856-94f89814c4df
2015-06-10 18:14:58 +00:00
jensp 61e6971152 CCM NG: Current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3464 8810af33-2d31-482b-a856-94f89814c4df
2015-06-06 18:19:53 +00:00
jensp a79c67974d CCM NG: All entity class of ccm-core pass tests for equals, hashCode and toString mehthods
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3455 8810af33-2d31-482b-a856-94f89814c4df
2015-06-03 20:19:37 +00:00
jensp ce7f0a7e7b CCM NG: More tests for equals and hashCode
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3449 8810af33-2d31-482b-a856-94f89814c4df
2015-06-01 19:15:58 +00:00
jensp 0cd20cfaee CCM NG: Tests and fixed bugs found by tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3442 8810af33-2d31-482b-a856-94f89814c4df
2015-05-30 14:41:42 +00:00
jensp 11fae39504 CCM NG: Test for checking toString implementations for null safety
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3441 8810af33-2d31-482b-a856-94f89814c4df
2015-05-29 18:19:45 +00:00
jensp b082a7037b CCM NG: Some cleanup work
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3431 8810af33-2d31-482b-a856-94f89814c4df
2015-05-26 17:54:08 +00:00
jensp 3cccfdc215 CCM NG: More entities, parameterised test class for verifing equals implementation of the entities.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3430 8810af33-2d31-482b-a856-94f89814c4df
2015-05-26 16:49:11 +00:00
jensp ae01470ca3 CCM NG: First classes for org.libreccm.formbuilder, Test for equals and hashCode for Entities in org.libreccm.core
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3422 8810af33-2d31-482b-a856-94f89814c4df
2015-05-20 16:04:01 +00:00
jensp ba2eea0ca8 CCM NG:
- Fixed several issues reported by PMD
- Test for the UriConverter


git-svn-id: https://svn.libreccm.org/ccm/jpa@3369 8810af33-2d31-482b-a856-94f89814c4df
2015-05-01 15:48:55 +00:00