Commit Graph

2157 Commits (2930fbae2e7b441d5ae605103e0b51cd2e710b8c)
 

Author SHA1 Message Date
baka 949414b7f1 Removes the use of DataQueries in RolePartyAddForm and uses the PartyRepository instead.
Removes  the filtering by user information and adds a note in the JavaDoc™.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4355 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 09:43:33 +00:00
baka 55f5b8ef5f Removes the RoleAdminAddForm and it's context in the CMS interface.
Code is just commented if needed later.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4354 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 09:29:48 +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 689991f364 CCM NG:
- Changed resource integration in the web module to avoid problems when building the Maven site
- added two methods to FolderManager which can be used to check if a folder is deletable/movable. 


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4348 8810af33-2d31-482b-a856-94f89814c4df
2016-10-04 12:19:35 +00:00
jensp a2866cef95 CCM NG/ccm-cms: Tests for FolderManager (and fixes for bugs with by the tests), migration scripts for adding tables for folders
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4347 8810af33-2d31-482b-a856-94f89814c4df
2016-10-03 18:09:48 +00:00
baka dfdffda3b7 Completes (?) work on BaseRoleItemPane.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4345 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 12:39:25 +00:00
baka d3b72c0dec Adds RolePartyAddForm, which is needed by BaseRoleItemPane.
There is still code commented as it also needs some clarification.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4344 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 12:38:28 +00:00
baka b2913ad12b Adds RoleAdminAddForm, which is needed by BaseRoleItemPane.
A whole lot of code is commented for the sake of compiling.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4343 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 12:19:27 +00:00
baka a9633ce384 Adds PartyAddForm, which is needed by RolePartyAddFrom, which is needed by BaseRoleItemPane.
Shamelessly replaces DataQuery with List<Party> as seen in other classes. No idea if this will work. But compiles...

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4342 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 12:17:24 +00:00
baka 684c252f24 Corrects some JavaDoc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4341 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 11:45:24 +00:00
baka 0b6ea7e4f2 Adds PartySearchForm which is needed by BaseRoleItemPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4340 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 11:35:23 +00:00
baka 62999e0f38 Adds AdminTableModelBuilder which is needed by BaseRoleItemPane.
Leaves loading of actual parties alone for now, because the context needs clarification

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4339 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 11:32:00 +00:00
baka e0804611fd Adds MemberTableModelBuilder, which is needed in BaseRoleItemPane.
Uses Java Collections instead of hacky PartyCollection.
Contains a small hack to get filtered Parties. (Needs a new Method in some Manager)

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4338 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 11:16:44 +00:00
baka b31303594c Changes STAFF_ADMIN to PRIVILEGE_ADMINISTER_ROLES
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4337 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 10:14:41 +00:00
baka 1046e331ec Same changes made to RoleEditForm, now for RoleAddForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4336 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 10:13:01 +00:00
baka 7be48cd59e Changes RoleEditForm as per suggestion.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4335 8810af33-2d31-482b-a856-94f89814c4df
2016-10-01 10:10:02 +00:00
jensp 7d2d3926ff CCM NG/ccm-cms: Created a subclass of Category for Folders. Started to add add Repository and Manager classes and to refactor all classes to use Folder instead of plain category for folders.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4328 8810af33-2d31-482b-a856-94f89814c4df
2016-09-27 17:55:10 +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 5bd478e116 CCM NG/ccm-shortcuts:
- Changed createDeployment methods the use the new DependenciesHelper from ccm-testutils


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4324 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 17:02:23 +00:00
jensp 9948649d1d CCM NG/ccm-testutils:
- Code cleanup
- Helper class for retrieving the dependencies of the current module and other module for use in the deployment method of Arquillan tests.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4323 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 17:01:26 +00:00
jensp 1c08efca11 CCM NG: Improved createDeployment method for Arquillian tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4322 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 15:25:28 +00:00
baka cc84642782 Restores some functions of the BaseRoleForm.
It can again check for duplicated names between roles, but uses modern Java™

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4321 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 13:42:31 +00:00
baka 2698e67618 Modifies the RoleEdit Form to save changes to the description.
Also first try to implement changing of privileges.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4320 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 12:38:34 +00:00
baka ac46ffb059 Adds a description to the Role class.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4319 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 09:49:45 +00:00
baka 2e868a697b Merges the Staff and Viewers Section into a Roles Section.
Possible temporary fix. Old code is commented out for later reference.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4318 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 08:50:58 +00:00
jensp fef0c2eb41 CCM NG: Fixed a problem with the tests for ccm-shortcuts: The inclusion of the ServletFilter into the test archives caused a failure because the filter was invoked before Arquillian has run the database creation scripts (Arquillan communicates with the Server using HTTP).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4317 8810af33-2d31-482b-a856-94f89814c4df
2016-09-24 16:57:04 +00:00
jensp 847c1bcc1e CCM NG: Updated README.txt
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4316 8810af33-2d31-482b-a856-94f89814c4df
2016-09-23 18:45:50 +00:00
jensp ae27dbe0cc CCM NG: ContentItemManager now passes all tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4313 8810af33-2d31-482b-a856-94f89814c4df
2016-09-22 18:52:23 +00:00
jensp 9485722dc0 CCM NG: Test for ContentItemManager#publish
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4312 8810af33-2d31-482b-a856-94f89814c4df
2016-09-21 17:25:06 +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 930c20ccbd CCM NG: Some bug fixing for H2 compatibility
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4308 8810af33-2d31-482b-a856-94f89814c4df
2016-09-18 17:05:06 +00:00
jensp 5421a8dc30 CCM NG: Some bug fixing for the ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4307 8810af33-2d31-482b-a856-94f89814c4df
2016-09-15 17:58:54 +00:00
jensp 5672388578 CCM NG: Dataset for testing content item publish for the ContentItemMangerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4305 8810af33-2d31-482b-a856-94f89814c4df
2016-09-14 16:42:50 +00:00
jensp 6bb4e10b0e CCM NG: Added a live item to the datasets of the ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4304 8810af33-2d31-482b-a856-94f89814c4df
2016-09-14 15:32:07 +00:00
jensp cb7309c5fa CCM NG: Consolidated the datasets for the ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4303 8810af33-2d31-482b-a856-94f89814c4df
2016-09-14 14:38:42 +00:00
jensp b2d12091ac CCM NG: More bugfixes for ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4300 8810af33-2d31-482b-a856-94f89814c4df
2016-09-13 17:40:16 +00:00
jensp 02064601f8 CCM NG: ContentItemManager bug fixes for copy method
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4298 8810af33-2d31-482b-a856-94f89814c4df
2016-09-13 12:51:31 +00:00
jensp d8afacc16c CCM NG: ContentSectionManagerTest dependencies fixed
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4296 8810af33-2d31-482b-a856-94f89814c4df
2016-09-13 09:54:36 +00:00
jensp df09ad3f5c CCM NG: Some work on the ContentItemManager and related classes (not finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4294 8810af33-2d31-482b-a856-94f89814c4df
2016-09-12 17:20:27 +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 fd6de757f0 CCM NG: More tests for the ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4292 8810af33-2d31-482b-a856-94f89814c4df
2016-09-10 18:10:22 +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 437cda2db2 CCM NG: Several bug fixes for queries etc.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4290 8810af33-2d31-482b-a856-94f89814c4df
2016-09-09 08:09:46 +00:00
jensp 448199806e CCM NG:
- EqualsAndHashCode test for classes org.librecms.contenttypes (not all of them yet)
- Some work on the ContentSectionManager, including documentation



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4289 8810af33-2d31-482b-a856-94f89814c4df
2016-09-08 11:00:35 +00:00