jensp
8b65254d3a
CCM NG/ccm-cms: Moved constants for privileges to extra classes, refactored usages.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4398 8810af33-2d31-482b-a856-94f89814c4df
2016-10-21 18:19:46 +00:00
baka
b67c9f4fac
Adds BaseCategoryForm, as well as CategoryRequestLocal
...
- Changed imports to fit the new system
- The Form class now uses normal Java Collections
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4396 8810af33-2d31-482b-a856-94f89814c4df
2016-10-21 15:38:36 +00:00
jensp
17817d6420
CCM NG/ccm-cms:
...
- Fixed typos in JavaDoc of ContentItemManager
- Method bodies for AssetManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4395 8810af33-2d31-482b-a856-94f89814c4df
2016-10-20 13:54:59 +00:00
jensp
2b5221d8ae
CCM NG/ccm-cms: Repository for Assets and tests for that repository.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4394 8810af33-2d31-482b-a856-94f89814c4df
2016-10-19 18:06:55 +00:00
jensp
a87adf35fa
CCM NG/ccm-cms: AttachmentList and ItemAttachment now implement the Comparable interface
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4391 8810af33-2d31-482b-a856-94f89814c4df
2016-10-19 08:39:22 +00:00
jensp
98b59e8f1f
CCM NG/ccm-cms: Added an order field for AttachmentList to order multiple AttachmentLists with the same name.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4390 8810af33-2d31-482b-a856-94f89814c4df
2016-10-18 17:36:58 +00:00
jensp
dded522313
CCM NG/ccm-cms: Added a title field to the side note asset
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4389 8810af33-2d31-482b-a856-94f89814c4df
2016-10-18 17:22:47 +00:00
jensp
1ea46cce5a
CCM NG/ccm-cms: Refactored/optimised struture for Assets/Attachments.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4387 8810af33-2d31-482b-a856-94f89814c4df
2016-10-17 17:00:49 +00:00
jensp
44ddf8a8f4
CCM NG/ccm-cms: ContentItemL10NManager now passes all tests.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4379 8810af33-2d31-482b-a856-94f89814c4df
2016-10-14 20:00:51 +00:00
jensp
0d184a0c36
CCM NG/ccm-cms: ContentItemL10NManager. Not completly working yet.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4378 8810af33-2d31-482b-a856-94f89814c4df
2016-10-14 18:50:45 +00:00
jensp
f2355d5b15
CCM NG/ccm-cms: Body of ContentItemL10NManager and its test class.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4377 8810af33-2d31-482b-a856-94f89814c4df
2016-10-13 17:56:14 +00:00
jensp
3df912fe21
CCM NG/ccm-cms: Added information about coping/moving an item to another content section to the JavaDoc of the ContentItemManager#copy and ContentItemManager#move methods.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4375 8810af33-2d31-482b-a856-94f89814c4df
2016-10-13 17:12:32 +00:00
jensp
938f44f106
CCM NG/ccm-cms: Copying and moving items to another contentsection is now supported by the ContentItemManager.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4374 8810af33-2d31-482b-a856-94f89814c4df
2016-10-13 17:05:58 +00:00
jensp
2e9cbb1f49
CCM NG/ccm-cms: Bulk publish and unpublish for folders
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4370 8810af33-2d31-482b-a856-94f89814c4df
2016-10-10 15:31:25 +00:00
jensp
b6b62e4378
CCM NG/ccm-cms: ContentSectionManager + Tests
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4368 8810af33-2d31-482b-a856-94f89814c4df
2016-10-10 12:46:30 +00:00
jensp
dd4e669357
CCM NG/ccm-cms:
...
- Extended ContentSectionManager with bodies of methods for managing ContentTypes for a section, added bodies for tests to ContentSectionManager
- Some improvments for other tests in ccm-cms
- index page for project site of ccm-cms
CCM NG/ccm-shortcuts:
- Adjusted tests to lastest changes in ccm-core (DB-Schema)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4367 8810af33-2d31-482b-a856-94f89814c4df
2016-10-09 17:12:05 +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
93ae630f41
CCM NG/ccm-cms: Repository for ContentType objects and accompanying test
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4365 8810af33-2d31-482b-a856-94f89814c4df
2016-10-08 17:17:05 +00:00
baka
1674b94ffd
Changes behavior in BaseRoleItemPane to throw an Exception when there are not the right privileges.
...
Also adds a new value to the CmsResources.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4363 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 13:18:46 +00:00
baka
b4fa3a5d77
Changed the construction of some GlobalizedMessages to use CMS_BUNDLE.
...
Also adds CANCEL_LABEL in PartyAddForm to make it more structured.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4361 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 11:07:06 +00:00
baka
ddc5d62a4b
Enables loading of privileges again using the PermissionManager.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4360 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 11:00:02 +00:00
baka
4abaf5f4f5
Makes BaseRoleItemPane better structured and better documented.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4359 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 10:49:32 +00:00
baka
6a668a1d50
Does lots of refactoring.
...
-> Removes most commented code (You can always check trunk)
-> Adds a lot of JavaDoc with NOTEs if there has been a bold design choice
-> Adds @Override annotations whenever a method gets overridden or implemented from an interface
-> Makes a lot of methods and classes private or package-local, because the scope can never be to small
-> Replaces some implementations with lambdas
-> Changes deprecated implementations to newer ones
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4358 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 10:40:07 +00:00
baka
fe4b6b4d77
Removes AdminTableModelBuilder since it is no longer used in any other context.
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4357 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 09:46:49 +00:00
baka
5adf0a03c5
Adds a missing @Override Annotation
...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4356 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 09:44:28 +00:00
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
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
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
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
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
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