Commit Graph

34 Commits (24db30a69bc1d8821b2211b245c68f9dad109a15)

Author SHA1 Message Date
jensp 24db30a69b CCM NG: Current progress of the migration of the UI for ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4516 8810af33-2d31-482b-a856-94f89814c4df
2017-01-11 18:35:23 +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 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
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 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
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
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 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