Commit Graph

114 Commits (75e8b10e6c8bb6af7ad7286b5c6c5e89a4a2e24a)

Author SHA1 Message Date
baka 6ece25db97 Adds CategoryEditForm
Needs small fixes after some things are confirmed

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4404 8810af33-2d31-482b-a856-94f89814c4df
2016-10-24 17:39:18 +00:00
baka 4aff7be1c7 Adds AddUseContextForm
A lot is still commented and needs confirmation

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4401 8810af33-2d31-482b-a856-94f89814c4df
2016-10-24 16:54:11 +00:00
baka c0af067da9 Adds AddUseContextForm, which is still pretty much just commented code
Also makes CategoryRequestLocal package local

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4400 8810af33-2d31-482b-a856-94f89814c4df
2016-10-24 16:03:24 +00:00
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 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
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
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
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 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 36defa4cb7 CCM NG: Classes and annotations for describing and retrieving informations about a content type, including its authoring kit.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4288 8810af33-2d31-482b-a856-94f89814c4df
2016-09-07 16:50:00 +00:00
jensp eb33ac7dec CCM NG: Preperation for migrated some more classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4287 8810af33-2d31-482b-a856-94f89814c4df
2016-09-07 12:14:43 +00:00
jensp a9ec98820c CCM NG: Optimised lamda expressions in Folder UI.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4285 8810af33-2d31-482b-a856-94f89814c4df
2016-09-07 06:59:02 +00:00
jensp efa065851a CCM NG: Optimised lambda expressions in Workflow UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4284 8810af33-2d31-482b-a856-94f89814c4df
2016-09-07 06:52:44 +00:00
baka 4c8615624e Changes SecurityConstants to a normal class with private constructor.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4283 8810af33-2d31-482b-a856-94f89814c4df
2016-09-06 08:36:34 +00:00
baka faa98453e3 Adds a better placeholder for two methods.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4282 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 15:02:46 +00:00
baka 7cb537b368 Uncomments most of the commented code.
Still needs some love to be perfect.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4281 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 15:01:19 +00:00
baka aac3448eec Added RoleEditForm; Fixed some imports and commented code.
Also added some basic documentation.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4280 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 14:30:39 +00:00
baka 06100e36dc Added BaseRoleItemPane; Fixed some imports and commented A LOT code.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4279 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 14:16:51 +00:00
baka 92250460e0 Added RoleAddForm; Fixed some imports and added some docu.
Also commented some code to make it compile.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4278 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 14:06:07 +00:00
baka e4b8667f33 Added BaseRoleForm; Fixed some imports and added a bit of docu.
Also commented some code to make it compile.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4277 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 14:04:07 +00:00
baka 052d3c8234 Added RoleRequestLocal and fixed an import.
Also added a bit of documentation.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4276 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 13:45:11 +00:00
baka cd8de5f575 Added RoleListModel and refactored implementation to use Java Collections.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4275 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 13:24:03 +00:00
baka 1298c5bc9c Added Security Constants to use it in RoleAdminPane.
Also fixed the private DeleteForm class in RoleAdminPane.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4274 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 12:28:27 +00:00
baka 98189d19e4 Added RoleAdminPane back and fixed the imports.
Some things are still commented, as there are package local files that need to be added.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4273 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 11:53:15 +00:00
jensp ed824be970 CCM NG: WorkflowAdminPane ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4253 8810af33-2d31-482b-a856-94f89814c4df
2016-09-03 15:21:28 +00:00
jensp 02b61b7ddc CCM NG: First part of migration of WorkflowAdminPane, as well as some smaller things in other classes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4251 8810af33-2d31-482b-a856-94f89814c4df
2016-09-02 17:57:17 +00:00
jensp f7f162ef53 CCM NG: Missing class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4249 8810af33-2d31-482b-a856-94f89814c4df
2016-09-01 18:47:39 +00:00
jensp 33c86fa8fe CCM NG: Ported LifecycleAdminPane (and classes used by LifecycleAdminPane) to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4248 8810af33-2d31-482b-a856-94f89814c4df
2016-09-01 18:07:38 +00:00
jensp 1dccc276d0 CCM NG: Started migration of UI for Lifecycle management in ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4243 8810af33-2d31-482b-a856-94f89814c4df
2016-09-01 12:43:07 +00:00
jensp b6ede27c36 CCM NG: FolderAdminPane ported to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4241 8810af33-2d31-482b-a856-94f89814c4df
2016-08-31 14:57:29 +00:00
jensp 389e138121 CCM NG: Forms for managing folders refactored
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4236 8810af33-2d31-482b-a856-94f89814c4df
2016-08-30 17:08:41 +00:00
jensp 38c421efd7 CCM NG:
- Refactored BasicItemForm
- Prepared FolderForm for refactoring


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4233 8810af33-2d31-482b-a856-94f89814c4df
2016-08-30 12:16:49 +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 172b99bb0a CCM NG: More classes refactored for CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4224 8810af33-2d31-482b-a856-94f89814c4df
2016-08-16 12:04:56 +00:00
jensp 407068e8a9 CCM NG: Refactored ItemSelectionModel for CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4223 8810af33-2d31-482b-a856-94f89814c4df
2016-08-16 08:41:22 +00:00
jensp 2b3ec0de23 CCM NG: Refactored FolderTreeModel for CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4222 8810af33-2d31-482b-a856-94f89814c4df
2016-08-16 08:17:44 +00:00
jensp 76e5784e2e CCM NG:
- Copied several classes for the UI for ccm-cms from trunk (mostly disabled for now, will be refactored to work with CCM NG step by step)
    - Some work on the JSF/PrimeFaces prototype


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4221 8810af33-2d31-482b-a856-94f89814c4df
2016-08-15 18:14:48 +00:00
jensp 4820bc7f03 CCM NG: Fixed a typo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4212 8810af33-2d31-482b-a856-94f89814c4df
2016-08-05 05:23:49 +00:00
jensp 23f682b16d CCM NG:
- Content Center Application now works again.
- JavaDoc for ContentItemRepository and ContentItemManager 
- A prototype/test for using JSF/PrimeFaces instead of Bebop for the Backend UI (will may be removed later)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4211 8810af33-2d31-482b-a856-94f89814c4df
2016-08-04 16:45:18 +00:00
jensp a704ef72a6 CCM NG: Current status of the migration of the UI of ccm-cms (not tested yet!)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4210 8810af33-2d31-482b-a856-94f89814c4df
2016-07-29 19:45:12 +00:00
jensp 61bea04c13 CCM NG: Current status of porting the CMS UI to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4209 8810af33-2d31-482b-a856-94f89814c4df
2016-07-28 17:36:52 +00:00