Commit Graph

334 Commits (f4eefe54de92c91eb9184c20fa11ea87c1dac8d1)

Author SHA1 Message Date
jensp fecde66302 CCM NG: Refactored all (hopefully) Repositories to return an Optional instead of a result or null for the methods returning a single entity as result.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4549 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 285cc3b6c5
2017-02-03 07:24:38 +00:00
jensp 75e8b10e6c CCM NG:
- Removed EntityGraphs. They did not work as intended.
- Moved operations on entities in CcmShiroRealm to separate class. The CcmShiroRealmController wraps these operations into a transaction to avoid LazyInititalizationExceptions.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4548 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: e1b612a2fb
2017-02-01 20:34:43 +00:00
jensp f006894cbb CCM NG/ccm-cms: Several things for the dispatching prodecure.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4547 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: dae2186488
2017-02-01 14:03:46 +00:00
jensp 4b426b4026 CCM NG: Bugfixes for the CCMDispatcherServlet and some other things.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4546 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b3c89804e3
2017-02-01 12:40:34 +00:00
jensp 69e4b2f5a5 CCM NG: Some fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4543 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 3e7bfa33aa
2017-01-30 18:51:18 +00:00
jensp 6949d6f496 CCM NG/ccm-cms: Fixed typo in after-add-role dataset.
CCM NG/ccm-shortcuts: 
- Necssary changes due to changed permission behaviour (only in the test datasets).
- ccm-shortcuts now uses standard cleanup procedure between integratio tests


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4542 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: f74bfb2618
2017-01-28 20:23:15 +00:00
jensp a1f26f283c CCM NG: JavaDoc for the recursive permissions behaviour.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4541 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 255516772f
2017-01-28 14:13:56 +00:00
jensp 454a097c5c CCM NG/ccm-cms: All tests pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4540 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: e72aaa7d62
2017-01-28 13:49:31 +00:00
jensp 2d0ceeb3ce CCM NG/ccm-cms: Bugfixing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4539 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: fbc487b44a
2017-01-27 19:16:52 +00:00
jensp 3d97680d99 CCM NG/ccm-cms: DatatypeFactory for DBUnit enabled in Arquillian configuration for PostgreSQL
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4538 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 5555d424d0
2017-01-26 13:49:35 +00:00
jensp 9b855ee184 CCM NG/ccm-cms: Is now using Arquillian database cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4537 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 32abf07ebf
2017-01-26 13:40:09 +00:00
jensp b49aa8b6a5 CCM NG: Inherited permissions are now stored in the database for each object making it possible to check permissions when querying data from the database. The InheritsPermissions interface has been removed.
Also, the usage of the cleanup script has been changed. The automatic cleanup of Arquillian is not longer disabled (in ccm-core). Instead a custom cleanup script is applied using the @CleanupUsingScript annotation on the test classes.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4536 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 22dda86fee
2017-01-25 20:18:00 +00:00
jensp 60a545456a CCM NG: Changes for the PermissionManager to pass tests.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4535 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 39b74d511a
2017-01-24 16:32:57 +00:00
jensp c0315684c7 CCM NG: Permissions are now written recursivly
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4534 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: a8c85aaca9
2017-01-23 20:39:42 +00:00
jensp e1b54a5347 CCM NG: First part of changed permission inhertitence
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4533 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 413edda57a
2017-01-23 19:11:56 +00:00
jensp 2924e8dd16 CCM NG/ccm-cms: Test pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4530 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b399419b12
2017-01-21 12:02:43 +00:00
jensp 8d8f045302 CCM NG/ccm-cms: BrowsePane migrated to NG APIs
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4527 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: ff93de29f0
2017-01-20 16:38:39 +00:00
jensp 42078760b5 CCM NG/ccm-cms: ItemSearchPane now compiles (but will not work yet).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4524 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: eadab49265
2017-01-18 16:27:42 +00:00
jensp 25b6196b7d CCM NG/ccm-cms: RoleAdminPane ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4523 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 26015af797
2017-01-18 13:31:21 +00:00
jensp 6aee634451 CCM NG/ccm-cms: ReportPane in ContentSectionPage enabled
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4522 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 78d0833d99
2017-01-17 09:54:58 +00:00
jensp cd80317c6c CCM NG/ccm-cms: ReportPane migrated to CCM NG. Works now with all supported database systems.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4521 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 2a84ea7ec3
2017-01-17 08:49:53 +00:00
jensp 0eedb6ad0b CCM NG/ccm-cms: First part of migration the ReportPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4520 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b061e0e50b
2017-01-16 20:03:20 +00:00
jensp 6627872616 CCM NG/ccm-cms: ContentSoonExpiredPage migrated to new API
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4519 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 8ac6b655a0
2017-01-14 16:44:23 +00:00
jensp 112b1d40e3 CCM NG: Some cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4518 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 39aaa674ac
2017-01-13 13:47:57 +00:00
jensp db84343eee CCM NG: ContentItem Page ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4517 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b35735ae13
2017-01-13 13:19:02 +00:00
jensp a09f8c59fd 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

Former-commit-id: e1d81d005f
2017-01-11 18:35:23 +00:00
baka eb78eb4c44 Adds CategoryIteratorListModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4515 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 73af7b7a76
2017-01-05 18:15:55 +00:00
baka 2245dc8812 Adds CategoryBaseForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4514 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b87158b53a
2017-01-05 17:57:35 +00:00
baka 41f0715e48 SVN mess 3rd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4512 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 227f327109
2017-01-05 16:11:42 +00:00
baka 09ea58c3dc SVN mess 2nd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4511 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: d8bdfd09f8
2017-01-05 16:05:19 +00:00
baka 37995d715c SVN mess
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4510 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 02da07fa6b
2017-01-05 15:45:54 +00:00
baka da5267080f Refactoring of already working files.
Also adds new comments

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4509 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 8a9ce904e4
2017-01-05 15:43:52 +00:00
baka 5be80fd428 Adds all missing classes for category ui
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4508 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 4556aac1d5
2017-01-05 14:28:14 +00:00
jensp 4c7b949cec 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

Former-commit-id: 21931f464b
2016-12-23 19:50:57 +00:00
jensp ea1900d8dc 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

Former-commit-id: 31884ea9e3
2016-12-20 18:37:35 +00:00
jensp 2ce77fb924 CCM NG: Hibernate Search annotations for CcmObject, ContentItem and some associated objects
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4494 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: f69a9e3e4d
2016-12-20 09:06:40 +00:00
jensp 0e3f579790 CCM NG: Fixed bugs in dispatcher code
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4493 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 0a5ca7025d
2016-12-19 20:51:26 +00:00
jensp c8ad4a3a10 CCM NG/ccm-cms: Annotations for Hibernate Search
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4490 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: fa1af66913
2016-12-19 15:35:58 +00:00
jensp 3545fd665b CCM NG/ccm-cms : Support for Hibernate Search queries for content items
CCM NG/ccm-core: JavaDoc for the SearchManager 


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4489 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: bde2e27293
2016-12-19 15:34:11 +00:00
jensp b207f1f22d CCM NG: Test for handling permissions in JPQL Queries
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4488 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: e591f71a66
2016-12-19 10:05:04 +00:00
jensp a38485014b 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

Former-commit-id: aa3f76e4a1
2016-12-16 16:41:16 +00:00
jensp 219d51719e 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

Former-commit-id: 70d67fbd52
2016-12-12 18:36:27 +00:00
baka 2d6281a78e 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

Former-commit-id: 0f02b310af
2016-12-12 15:26:31 +00:00
jensp f0928243cb CCM NG: JavaDoc and missing files for PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4465 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 7b08adbdf7
2016-12-06 11:17:36 +00:00
baka b20e5c8443 Reverts last commit. Wrong file.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4464 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b8af49d30f
2016-12-05 16:47:11 +00:00
baka a8286bdf91 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

Former-commit-id: d9b4d1596c
2016-12-05 16:43:08 +00:00
jensp 3863a2f32f CCM NG: Abstract base classes for the PageBuilder interface of the PageModel system.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4461 8810af33-2d31-482b-a856-94f89814c4df
2016-12-05 12:43:14 +00:00
jensp bdf9058901 CCM NG: New PageModel system, replaces JSP templates for public pages in ccm-cms and ccm-navigation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4458 8810af33-2d31-482b-a856-94f89814c4df
2016-12-02 16:35:24 +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 45c8296282 CCM NG/ccm-cms:
- ContentSectionManager#addContentTypeToSection: Create permissions allowing type use for all roles of the contentsection when adding a content type to a content section.
- ContentItemManager#createContentItem: Verify that current user is allowed to use the provided type when creating a content item.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4456 8810af33-2d31-482b-a856-94f89814c4df
2016-11-25 08:56:29 +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 db8a7d08bc CCM NG/ccm-cms: Missing class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4452 8810af33-2d31-482b-a856-94f89814c4df
2016-11-22 16:01:48 +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 c12830e315 CCM NG: Some changes to tests and datasets necessary due to the changes to workflow
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4446 8810af33-2d31-482b-a856-94f89814c4df
2016-11-18 20:45:38 +00:00
jensp 45e2463de6 CCM NG: DB migrations scripts for recent changes of workflow classes, changed datasets for tests to match new structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4445 8810af33-2d31-482b-a856-94f89814c4df
2016-11-18 13:53:28 +00:00
jensp 2ae87e3353 CCM NG: JavaDoc for Workflow and related classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4444 8810af33-2d31-482b-a856-94f89814c4df
2016-11-17 16:53:45 +00:00
jensp 1b83b1587a CCM NG: Missing files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4442 8810af33-2d31-482b-a856-94f89814c4df
2016-11-17 11:19:48 +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 e54ef0e7a8 CCM NG: Updated Maven plugin for PMD to latest version
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4438 8810af33-2d31-482b-a856-94f89814c4df
2016-11-14 18:54:34 +00:00
jensp 7c12409398 CCM NG/ccm-cms: Fixed typos in test datasets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4437 8810af33-2d31-482b-a856-94f89814c4df
2016-11-11 13:23:11 +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
jensp aa95d07092 CCM NG/ccm-cms: Optimised ContentItemManger#publish
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4429 8810af33-2d31-482b-a856-94f89814c4df
2016-11-03 11:58:59 +00:00
jensp 48588b8a1f CCM NG/ccm-cms: ContentItemManager now processes attachments of items.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4428 8810af33-2d31-482b-a856-94f89814c4df
2016-11-02 16:56:14 +00:00
jensp 4b9f65d40b CCM NG/ccm-cms: AttachmentListManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4427 8810af33-2d31-482b-a856-94f89814c4df
2016-11-02 08:17:44 +00:00
jensp 0e8fe19efd CCM NG/ccm-cms: ItemAttachmentManager#unattach
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4426 8810af33-2d31-482b-a856-94f89814c4df
2016-11-01 10:47:28 +00:00
jensp 2c1dc748fd CCM NG/ccm-cms: Current status of the ItemAttachmentManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4425 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 20:41:32 +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
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
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
jensp 0d1e2285d8 CCM NG:
- Refactored all Arquillian tests to use DependenciesHelper
- Migrationscripts for Role#description


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4326 8810af33-2d31-482b-a856-94f89814c4df
2016-09-27 10:54: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