Commit Graph

158 Commits (affa64aee3796a80c2cda2eca3f9398b1f58daf8)

Author SHA1 Message Date
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
jensp 1f5370fad7 CCM NG/ccm-cms:
- Repositories, Managers and base classes for Assets and Attachments moved to org.librecms.contentsection package to allow access to protected methods of ContentItem
- AttachmentListManager finished


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4420 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 15:58:02 +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 642ae17169 CCM NG/ccm-cms: AttachmentListManager current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4416 8810af33-2d31-482b-a856-94f89814c4df
2016-10-30 17:50:09 +00:00
jensp 8d0bfbcc42 CCM NG/ccm-cms: Method bodies for the AttachmentManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4415 8810af33-2d31-482b-a856-94f89814c4df
2016-10-28 17:24:07 +00:00
jensp 2345fbe852 CCm NG/ccm-cms: Added asset permissions to ContentSectionManager test datasets, ContentSectionManager now passes tests again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4414 8810af33-2d31-482b-a856-94f89814c4df
2016-10-28 15:47:36 +00:00
jensp 086eb1b04c CCM NG/ccm-cms: AssetManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4413 8810af33-2d31-482b-a856-94f89814c4df
2016-10-28 10:15:53 +00:00
jensp 37203117e9 CCM NG/ccm-cms: AssetManager#move now passes all tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4412 8810af33-2d31-482b-a856-94f89814c4df
2016-10-27 17:49:51 +00:00
jensp a8a9a4cf28 CCM NG/ccm-cms: Implementation of AssetManager#move
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4411 8810af33-2d31-482b-a856-94f89814c4df
2016-10-27 14:03:04 +00:00
jensp 91642426b2 CCM NG/ccm-cms: AssetManager current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4410 8810af33-2d31-482b-a856-94f89814c4df
2016-10-26 17:40:58 +00:00
jensp f2f6f6c3f6 CCM NG/ccm-cms: AssetManager current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4409 8810af33-2d31-482b-a856-94f89814c4df
2016-10-25 18:54:02 +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
jensp a8869168a4 CCM NG/ccm-cms: AssetManagerTest method bodies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4403 8810af33-2d31-482b-a856-94f89814c4df
2016-10-24 17:29:52 +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 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 e73db29d59 CCM NG/ccm-cms: Updated db create scripts for tests to use new columns, tables for assets and attachments.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4388 8810af33-2d31-482b-a856-94f89814c4df
2016-10-17 19:32:10 +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 8c9819fce0 CCM NG/ccm-cms: Fixed typo in database migration script
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4386 8810af33-2d31-482b-a856-94f89814c4df
2016-10-17 16:59:29 +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 f26db01ce0 CCM NG/ccm-cms: Missing files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4376 8810af33-2d31-482b-a856-94f89814c4df
2016-10-13 17:13:18 +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 325c6fbc80 CCM NG/ccm-cms: JavaDoc for the ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4372 8810af33-2d31-482b-a856-94f89814c4df
2016-10-12 13:03:02 +00:00
jensp 5707402240 CCM NG/ccm-cms: Prepared datasets for ContentItemManagerTests for additional tests with two content sections
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4371 8810af33-2d31-482b-a856-94f89814c4df
2016-10-11 17:08:28 +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 91c33e8e69 CCM NG/ccm-cms: JSPs used by the admin UI.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4369 8810af33-2d31-482b-a856-94f89814c4df
2016-10-10 15:17:46 +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