Commit Graph

157 Commits (3d97680d99dc2d6fe679107fd7500b895484337e)

Author SHA1 Message Date
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 1c598b387e [UPDATE]
- adds modified files for import testing
- adds annotations @RequestScoped and @Marshals(<classname>) to all Marshaller classes
- adds annotation @JsonIgnore to getter in LocalizedString.java

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4526 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 389f8ef6cf
2017-01-19 20:47:31 +00:00
tosmers c8f8668828 [UPDATE]
- adds @Transitional annotation to all marshaller implementations-
- updates export test data

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4513 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: bc9ca4a86d
2017-01-05 16:45:54 +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 bdf9058901 CCM NG: New PageModel system, replaces JSP templates for public pages in ccm-cms and ccm-navigation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4458 8810af33-2d31-482b-a856-94f89814c4df
2016-12-02 16:35:24 +00:00
jensp c12830e315 CCM NG: Some changes to tests and datasets necessary due to the changes to workflow
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4446 8810af33-2d31-482b-a856-94f89814c4df
2016-11-18 20:45:38 +00:00
jensp 45e2463de6 CCM NG: DB migrations scripts for recent changes of workflow classes, changed datasets for tests to match new structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4445 8810af33-2d31-482b-a856-94f89814c4df
2016-11-18 13:53:28 +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 0d273a965a CCM NG/ccm-core: Test resources cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4327 8810af33-2d31-482b-a856-94f89814c4df
2016-09-27 12:19:57 +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 0457c0d8bd CCM NG: Bugfix for handling LocalizedString
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4311 8810af33-2d31-482b-a856-94f89814c4df
2016-09-20 08:52:17 +00:00
jensp f73f87d622 CCM NG: Updated create scripts for tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4310 8810af33-2d31-482b-a856-94f89814c4df
2016-09-19 17:19:11 +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 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