Commit Graph

93 Commits (0088bc7312f0b3c7f03b722dcca0f21ebc8cf470)

Author SHA1 Message Date
jensp 0088bc7312 CCM NG/ccm-cms: ItemSearch UI now uses CCM NG APIs
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4503 8810af33-2d31-482b-a856-94f89814c4df
2016-12-23 19:50:57 +00:00
jensp 25161c8f04 CCM NG: Current progress of porting the ItemSearch forms to NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4495 8810af33-2d31-482b-a856-94f89814c4df
2016-12-20 18:37:35 +00:00
jensp 62f735f6f0 CCM NG:
- Some preparation for the editor UI for PageModel
- SimpleItemResolver and MultilingualItemResolver ported to new API (still disabled because of circular dependencies in UI classes)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4486 8810af33-2d31-482b-a856-94f89814c4df
2016-12-16 16:41:16 +00:00
jensp fd4fea2099 CCM NG/ccm-cms:
- Added WorkflowLockedComponentAccess component
- Placeholder for ItemTemplates component


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4470 8810af33-2d31-482b-a856-94f89814c4df
2016-12-12 18:36:27 +00:00
baka 632b81a0cf Adds most of the missing files. Still turned off, because they still contain small errors
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4469 8810af33-2d31-482b-a856-94f89814c4df
2016-12-12 15:26:31 +00:00
baka c4a5481c63 Reverts last commit. Wrong file.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4464 8810af33-2d31-482b-a856-94f89814c4df
2016-12-05 16:47:11 +00:00
baka 01c1ea55e4 Removes Form which seemed to be legacy stuff (this was discussed)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4463 8810af33-2d31-482b-a856-94f89814c4df
2016-12-05 16:43:08 +00:00
jensp f63434ae80 CCM NG: Migrated several classes from ccm-core to CCM NG. No finished, none finished classes as *.todo to avoid compilation failures.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4457 8810af33-2d31-482b-a856-94f89814c4df
2016-11-25 16:32:50 +00:00
jensp b39aa8152f CCM NG/ccm-cms: Support for the TYPE_USE privilege.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4455 8810af33-2d31-482b-a856-94f89814c4df
2016-11-24 17:59:40 +00:00
jensp 582bcab967 CCM NG/ccm-cms: Progress for ItemLanguages and related classes (not finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4454 8810af33-2d31-482b-a856-94f89814c4df
2016-11-23 18:35:16 +00:00
jensp 681ba87a68 CCM NG: Current status of work on com.arsdigita.toolbox.ui.DataTable
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4453 8810af33-2d31-482b-a856-94f89814c4df
2016-11-22 18:36:15 +00:00
jensp e2765a9109 CCM NG/ccm-cms: More forms and related classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4451 8810af33-2d31-482b-a856-94f89814c4df
2016-11-22 12:06:55 +00:00
jensp a124b1ebd8 CCM NG/ccm-cms: More forms for workflow management
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4450 8810af33-2d31-482b-a856-94f89814c4df
2016-11-22 08:35:09 +00:00
jensp ae05156a71 CCM NG/ccm-cms: Work on the forms for Workflow management
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4449 8810af33-2d31-482b-a856-94f89814c4df
2016-11-21 19:05:43 +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 7430901acc CCM NG/ccm-cms: Current progress of porting the UI to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4440 8810af33-2d31-482b-a856-94f89814c4df
2016-11-14 19:09:40 +00:00
jensp 73ac7e77df CCM NG/ccm-cms: Additional methods for the ContentTypesManager for retrieving informations about content types.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4436 8810af33-2d31-482b-a856-94f89814c4df
2016-11-11 13:22:46 +00:00
jensp 4390a92891 CCM NG/ccm-cms: ContentSectionPage
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4434 8810af33-2d31-482b-a856-94f89814c4df
2016-11-09 16:39:22 +00:00
jensp 874cc0ff83 CCM NG/ccm-cms: ContentTypeAdminPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4433 8810af33-2d31-482b-a856-94f89814c4df
2016-11-09 15:42:26 +00:00
jensp 91c510edd9 CCM NG/ccm-cms: Next part of migration of the ContentTypeAdminPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4432 8810af33-2d31-482b-a856-94f89814c4df
2016-11-08 10:14:08 +00:00
jensp 44e21fb842 CCM NG/ccm-cms: First part of mibgration of the ConentTypeAdminPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4431 8810af33-2d31-482b-a856-94f89814c4df
2016-11-07 18:58:24 +00:00
baka 5637420757 Adds the model to work with category collections.
Modified to use modern Java and long instead of BigDecimal.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4424 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 16:14:11 +00:00
baka affa64aee3 Adds both SortableCategoryList as well as SubcategoryList.
Both make use of sorting, which is disabled for now as it seems we don't have a sorting key anymore.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4423 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 16:12:01 +00:00
baka ccbf683c66 Adds CategoryLinks.
Needs confirmation because makes heavy use of multiple parents which are not a thing anymore.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4422 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 16:09:24 +00:00
baka a76313a252 Adds SortableList.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4421 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 16:07:41 +00:00
baka 0fb99fd893 Cleans CategoryAddForm up a bit and removes url references.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4419 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 14:30:14 +00:00
baka 0be25a2014 Removes URL from the BaseCategoryForm since URLs are names now.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4418 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 14:26:36 +00:00
baka af3e1b4f3e Adds AddUseContextForm for now.
I think this class is not needed anymore. Discuss tomorrow.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4417 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 14:23:06 +00:00
jensp 0e4b8ed5c2 CCM NG/ccm-cms: Tests and implementations for some methods of the AssetManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4408 8810af33-2d31-482b-a856-94f89814c4df
2016-10-25 13:24:11 +00:00
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