jensp
b22235d53a
CCM NG: Several small things
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4556 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 642b528358
2017-02-08 15:01:21 +00:00
jensp
25491c4b87
CCM NG/ccm-cms: Next part of new CMSPermissionsTable
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4555 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 448900e386
2017-02-08 08:18:19 +00:00
tosmers
d03f547187
[UPDATE]
...
- modifies importFiles-method in AbstractMarshaller.java to return boolean for easier test evaluation
- reduces import tests to a single xml file for easier problem finding
- modifies insertIntoDb method overriden by RoleMembershipMarshaller
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4554 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: cf95e4d26f
2017-02-07 20:44:46 +00:00
tosmers
8a3d212235
[UPDATE]
...
- adds minor changes in partation's CoreDataImportTest-routine
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4552 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: eafaf8b613
2017-02-06 15:54:19 +00:00
jensp
b41b5e7c93
CCM NG: Some repositories still returned null instead of Optional
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4550 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 95b2d335fa
2017-02-03 07:40:13 +00:00
jensp
fecde66302
CCM NG: Refactored all (hopefully) Repositories to return an Optional instead of a result or null for the methods returning a single entity as result.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4549 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 285cc3b6c5
2017-02-03 07:24:38 +00:00
jensp
75e8b10e6c
CCM NG:
...
- Removed EntityGraphs. They did not work as intended.
- Moved operations on entities in CcmShiroRealm to separate class. The CcmShiroRealmController wraps these operations into a transaction to avoid LazyInititalizationExceptions.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4548 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: e1b612a2fb
2017-02-01 20:34:43 +00:00
jensp
4b426b4026
CCM NG: Bugfixes for the CCMDispatcherServlet and some other things.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4546 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: b3c89804e3
2017-02-01 12:40:34 +00:00
jensp
2d0ceeb3ce
CCM NG/ccm-cms: Bugfixing
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4539 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: fbc487b44a
2017-01-27 19:16:52 +00:00
jensp
b49aa8b6a5
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
Former-commit-id: 22dda86fee
2017-01-25 20:18:00 +00:00
jensp
60a545456a
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
Former-commit-id: 39b74d511a
2017-01-24 16:32:57 +00:00
jensp
c0315684c7
CCM NG: Permissions are now written recursivly
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4534 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: a8c85aaca9
2017-01-23 20:39:42 +00:00
jensp
e1b54a5347
CCM NG: First part of changed permission inhertitence
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4533 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 413edda57a
2017-01-23 19:11:56 +00:00
tosmers
91de348df8
[UPDATE]
...
- adds @Inject-statements for marshaller-objects to ImportHelper.class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4532 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 4adfd0c7d3
2017-01-23 18:10:26 +00:00
jensp
c30f84bf29
CCM NG: Fixed several problems in tests due to several changes.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4528 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 0a24284c08
2017-01-20 21:04:31 +00:00
tosmers
08ba214405
[UPDATE]
...
- modifies managed/back references
- adds updated export data for import
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4472 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: 2dca8be89d
2016-12-12 18:43:27 +00:00
tosmers
2e5e26cdc8
[FEATURE]
...
- adds testclass for core import
- adds testdata for core import
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4462 8810af33-2d31-482b-a856-94f89814c4df
Former-commit-id: cc1cbc6da0
2016-12-05 15:51:35 +00:00
jensp
2ae87e3353
CCM NG: JavaDoc for Workflow and related classes
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4444 8810af33-2d31-482b-a856-94f89814c4df
2016-11-17 16:53:45 +00:00
jensp
48dea0fb14
CCM NG/ccm-core,ccm-cms: Some changes to Workflow, Task etc. Primarly some missing features/methods required by Workflow UI in CCM CMS.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4441 8810af33-2d31-482b-a856-94f89814c4df
2016-11-16 18:37:08 +00:00
jensp
0cccf9dec4
CCM NG/ccm-cms: Extended ContentTypeRepositoryTest to check if annotations for authorisation work.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4366 8810af33-2d31-482b-a856-94f89814c4df
2016-10-09 07:49:25 +00:00
jensp
8e4d572331
CCM NG: JavaDoc for several tests
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4364 8810af33-2d31-482b-a856-94f89814c4df
2016-10-07 17:26:36 +00:00
jensp
8df8169646
CCM NG: JavaDoc for PermissionManager and PermissionManagerTest
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4353 8810af33-2d31-482b-a856-94f89814c4df
2016-10-05 17:05:05 +00:00
jensp
10d5c57271
CCM NG:
...
- Renamed privilege constants in ccm-core to match naming convention (constants for privilege should start with "PRIVILEGE_")
- Added method PermissionsManager#listDefiniedPrivileges(Class) which lists all privileges constants definied in a class.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4352 8810af33-2d31-482b-a856-94f89814c4df
2016-10-05 15:47:36 +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
ddc70c795d
CCM NG/ccm-core: Additional queries (and accompanying methods in RoleRepository) for Role to find Roles by the the permissions granted to the role.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4349 8810af33-2d31-482b-a856-94f89814c4df
2016-10-04 15:26:32 +00:00
jensp
0d1e2285d8
CCM NG:
...
- Refactored all Arquillian tests to use DependenciesHelper
- Migrationscripts for Role#description
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4326 8810af33-2d31-482b-a856-94f89814c4df
2016-09-27 10:54:57 +00:00
jensp
cb0a19410e
CCM NG: Added references from Workflow to the WorkflowTemplate used to create the workflow.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4293 8810af33-2d31-482b-a856-94f89814c4df
2016-09-12 15:44:45 +00:00
jensp
9e593aaf9c
CCM NG: Fixed several bugs found by tests related to the methods of ContentItemManager
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4291 8810af33-2d31-482b-a856-94f89814c4df
2016-09-09 18:53:05 +00:00
jensp
0885701a9c
CCM NG: An additional test.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4244 8810af33-2d31-482b-a856-94f89814c4df
2016-09-01 15:31:40 +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
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
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
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