Commit Graph

371 Commits (be3f1d51d552aa664bf5662893e1b5a12f2c8419)

Author SHA1 Message Date
jensp d69b9688ea CCM NG/ccm-cms: Changes from todays coding session
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4684 8810af33-2d31-482b-a856-94f89814c4df
2017-04-20 14:51:37 +00:00
jensp b40149f96d CCM NG: Vaadin Prototype for UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4683 8810af33-2d31-482b-a856-94f89814c4df
2017-04-19 19:36:44 +00:00
jensp 7798f38c1f CCM NG/ccm-core: Bugfixes for handeling or wrapped ServletRequests and Multipart requests
CCM NG/ccm-cms:  Base form for binary assets now works


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4682 8810af33-2d31-482b-a856-94f89814c4df
2017-04-19 06:18:41 +00:00
jensp 8b308f4fa4 CCM NG/ccm-cms: Some bugfixes and translations for the BinaryAssetForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4681 8810af33-2d31-482b-a856-94f89814c4df
2017-04-18 13:38:33 +00:00
jensp 87ede0d337 CCM NG/ccm-cms:
- Form for FileAsset
- Added FileAsset to known asset types


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4680 8810af33-2d31-482b-a856-94f89814c4df
2017-04-18 11:05:41 +00:00
jensp fe1d5f267f CCM NG/ccm-cms:
- Ported FormUploadSection to NG
- BinaryAssetForm as base for all other assets which extend BinaryAsset

CCM NG/ccm-core:
- First part of a JPQL console for testing JPQL queries


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4679 8810af33-2d31-482b-a856-94f89814c4df
2017-04-18 10:57:10 +00:00
jensp e3c9d3c9c9 CCM NG/ccm-cms: Fixed some tests
CCM NG/ccm-core: Vaadin prototype (UI)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4678 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 18:56:03 +00:00
jensp 1969271f95 CCM NG/ccm-cms: Removed obsolete class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4677 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 16:09:58 +00:00
jensp 2e890bafb9 CCM NG/ccm-cms:
- AssetSearchWidget
- Form für ExternalVideoAsset


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4675 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 15:36:15 +00:00
baka fba9416f86 Many small changes, now all classes in category package compile. Needs to be checked in detail
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4674 8810af33-2d31-482b-a856-94f89814c4df
2017-04-14 14:23:59 +00:00
jensp ba515675e6 CCM NG/ccm-cms : AssetSearchPage
CCM NG/ccm-core: GlobalizationHelper now provides a method for retrieving the value most suitable for the negioated locale form a LocalizedString 


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4673 8810af33-2d31-482b-a856-94f89814c4df
2017-04-13 12:30:02 +00:00
jensp f26744a575 CCM NG/ccm-cms: Fixed some bugs in the AssetRepository
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4672 8810af33-2d31-482b-a856-94f89814c4df
2017-04-13 09:36:16 +00:00
jensp cf384c629e CCM NG/ccm-cms: AssetSearchService including JAX-RS methods to support assets in RichTextEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4670 8810af33-2d31-482b-a856-94f89814c4df
2017-04-12 18:37:42 +00:00
jensp eb0e24f9fa CCM NG/ccm-cms: Started implementation of an AssetSearchWidget (similar to the ItemSearchWidget)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4668 8810af33-2d31-482b-a856-94f89814c4df
2017-04-11 17:18:18 +00:00
jensp c70c6a830f CCM NG/ccm-cms: AssetForm improvement, Form for SideNote asset
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4667 8810af33-2d31-482b-a856-94f89814c4df
2017-04-11 08:23:07 +00:00
jensp cd8e6c9b19 CCM NG/ccm-cms: AssetForm localisation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4666 8810af33-2d31-482b-a856-94f89814c4df
2017-04-10 17:02:48 +00:00
jensp 8e45bc0744 CCM NG/ccm-cms: AssetForm including localisation for assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4663 8810af33-2d31-482b-a856-94f89814c4df
2017-04-07 18:41:40 +00:00
jensp e4dee4c756 CCM NG/ccm-cms: AssetPane, creation of assets.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4662 8810af33-2d31-482b-a856-94f89814c4df
2017-04-06 13:09:58 +00:00
jensp bad95d0fac CCM NG/ccm-cms: AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4661 8810af33-2d31-482b-a856-94f89814c4df
2017-04-05 16:53:44 +00:00
jensp 078a8ff300 CCM NG/ccm-cms: Localisations for AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4659 8810af33-2d31-482b-a856-94f89814c4df
2017-04-05 12:44:28 +00:00
jensp a569e07a4a CCM NG/ccm-cms: Some bugfixes for the AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4658 8810af33-2d31-482b-a856-94f89814c4df
2017-04-04 11:56:30 +00:00
jensp 84437149fd CCM NG/ccm-cms: AssetFolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4657 8810af33-2d31-482b-a856-94f89814c4df
2017-04-03 15:54:12 +00:00
jensp 86c26c4600 CCM NG/ccm-cms: Some work for the AssetFolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4656 8810af33-2d31-482b-a856-94f89814c4df
2017-03-31 16:49:41 +00:00
jensp 4437a273a7 CCM NG/ccm-cms: Fixed some typos in the classes associated with the AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4655 8810af33-2d31-482b-a856-94f89814c4df
2017-03-30 13:23:56 +00:00
jensp 419d8288c7 CCM NG/ccm-cms: Next part of AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4654 8810af33-2d31-482b-a856-94f89814c4df
2017-03-30 10:44:53 +00:00
jensp 6a0e01e6f7 CCM NG/ccm-cms: Next part of AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4652 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 18:21:41 +00:00
jensp f72473954a CCM NG/ccm-cms: First part of new AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4650 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 15:40:58 +00:00
jensp 1cabb2513b CCM NG/ccm-cms: AssetTypesManager for retrieving information about available asset types.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4649 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 08:27:11 +00:00
jensp 131e8f6622 CCM NG/ccm-cms: Typos in JavaDoc etc.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4648 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 08:26:11 +00:00
jensp bad486241c CCM NG/ccm-cms: Typos in JavaDoc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4647 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 06:28:05 +00:00
baka 6b190c9d4e Missed two files in last commit, now everything is fine
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4637 8810af33-2d31-482b-a856-94f89814c4df
2017-03-22 17:13:11 +00:00
baka e7361c5066 More "Getting Category Stuff Done" Commits
Lots of commented code, but it gets better

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4636 8810af33-2d31-482b-a856-94f89814c4df
2017-03-22 17:11:44 +00:00
jensp 1225c001d2 CCM NG/ccm-cms: Content Types Tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4635 8810af33-2d31-482b-a856-94f89814c4df
2017-03-21 10:49:32 +00:00
jensp 30d36d4bff CCM NG/ccm-cms: Lifecycles tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4634 8810af33-2d31-482b-a856-94f89814c4df
2017-03-17 16:42:06 +00:00
jensp 4fb0dbcb40 CCM NG/ccm-cms: Removing roles from task
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4630 8810af33-2d31-482b-a856-94f89814c4df
2017-03-15 09:10:33 +00:00
jensp 3552c04a1e CCM NG/ccm-cms Tab Workflows
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4629 8810af33-2d31-482b-a856-94f89814c4df
2017-03-14 18:56:16 +00:00
baka c3ef6517d9 Adds more implementations for the category part of the cms frontend 2nd!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4628 8810af33-2d31-482b-a856-94f89814c4df
2017-03-14 17:38:38 +00:00
baka 06b1d55852 Adds more implementations for the category part of the cms frontend
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4627 8810af33-2d31-482b-a856-94f89814c4df
2017-03-14 17:37:58 +00:00
jensp 66cd43ce3d CCM NG/ccm-cms: Workflow tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4626 8810af33-2d31-482b-a856-94f89814c4df
2017-03-13 19:13:08 +00:00
jensp 863ce1b5e1 CCM NG/ccm-cms: Workflows Tab bug hunting
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4625 8810af33-2d31-482b-a856-94f89814c4df
2017-03-11 18:20:49 +00:00
jensp 1768394437 CCM NG/ccm-cms: Roles tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4624 8810af33-2d31-482b-a856-94f89814c4df
2017-03-08 19:18:15 +00:00
jensp 160a947813 CCM NG/ccm-cms: Several bug fixes for RoleAdminPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4623 8810af33-2d31-482b-a856-94f89814c4df
2017-03-07 18:17:37 +00:00
jensp 09af5101ec CCM NG/ccm-core: Removed org.libreccm.formbuilder.WidgetLabel.java. In its current implementation it caused strange problems when querying the database.
CCM NG/ccm-cms: Granting/Revoking permissions using the PermissionsPane in the FolderBrowser now works


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4622 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 19:45:54 +00:00
jensp 3383dfd28a CCM NG/ccm-cms: Copying folders (including subfolders and items)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4621 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 18:22:45 +00:00
jensp 059bffac49 CCM NG/ccm-cms: Moving folders
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4620 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 18:05:09 +00:00
jensp ae13e64147 CCM NG/ccm-cms: Moving/Copying items.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4619 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 15:26:33 +00:00
jensp 053cba0183 CCM NG/ccm-cms: Copying items in the FolderBrowser now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4618 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 14:02:24 +00:00
jensp c871e7cd40 CCM NG/ccm-cms: Typo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4614 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 18:21:47 +00:00
jensp 1b2fafafc5 CCM NG/ccm-cms: Still working on the FolderManipulator
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4613 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 14:13:00 +00:00
jensp 7baea10b61 CCM NG/ccm-cms: Finding invalid targets for copying/moving items/folders.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4612 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 11:42:46 +00:00
jensp 1a8cb99aa2 CCM NG/ccm-cms: FolderManipulator Copy/Move (not finished yet).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4611 8810af33-2d31-482b-a856-94f89814c4df
2017-03-01 19:48:33 +00:00
jensp a9f003ca51 CCM NG: Profiles wildfly-arquillian-container-managed (starts Wildfly automatically).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4605 8810af33-2d31-482b-a856-94f89814c4df
2017-02-28 20:37:50 +00:00
jensp b8dfb27d3c CCM NG/ccm-cms: Creating new folders.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4597 8810af33-2d31-482b-a856-94f89814c4df
2017-02-23 20:49:00 +00:00
jensp f9d498fd60 CCM NG/ccm-cms: FolderPath now shows correct path.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4596 8810af33-2d31-482b-a856-94f89814c4df
2017-02-23 14:14:42 +00:00
jensp 60be422275 CCM NG/ccm-cms: Renaming folders
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4595 8810af33-2d31-482b-a856-94f89814c4df
2017-02-23 09:38:32 +00:00
jensp e525d974bb CCM NG: Fixed several test failures due to recent changes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4594 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 20:40:07 +00:00
jensp 2b414205ae CCM NG: Schema generation is now using Oracle12c dialect instead of Oracle10g dialect.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4593 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 18:00:25 +00:00
jensp a18601108a CCM NG/ccm-cms: Deleting items from FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4591 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 12:37:17 +00:00
jensp 392131514b CCM NG/ccm-cms FolderBrower: Link deleting non-live items now show up.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4590 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 09:52:16 +00:00
jensp 4e1c732e57 CCM NG/ccm-cms FolderBrowser: Link for deleting empty folders now shows up.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4589 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 09:45:48 +00:00
jensp b2d1eb997f CCM NG/ccm-cms: Sorting for the FolderBrowser.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4588 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 08:41:06 +00:00
jensp 357eb251b1 CCM NG/ccm-cms: Additional fields for content item to provide easier access to auditing data.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4586 8810af33-2d31-482b-a856-94f89814c4df
2017-02-21 14:20:32 +00:00
jensp e32b7a17c9 CCM NG/ccm-cms: FolderBrowser optimization and cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4585 8810af33-2d31-482b-a856-94f89814c4df
2017-02-20 17:50:21 +00:00
jensp 56ebb00414 CCM NG/ccm-cms/BrowseTab: Changing the current folder by the links in the item list now works. Also the link for going the edit form of an content item is correct now.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4582 8810af33-2d31-482b-a856-94f89814c4df
2017-02-17 19:50:49 +00:00
jensp 3f59f81984 CCM NG/ccm-cms: BrowsePane: Changing current folder using the folder on the left now works.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4581 8810af33-2d31-482b-a856-94f89814c4df
2017-02-17 16:43:49 +00:00
jensp 502c0e0416 CCM NG/ccm-cms: BrowsePane Expanding/collapsing of the folder on the left.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4580 8810af33-2d31-482b-a856-94f89814c4df
2017-02-17 13:55:21 +00:00
jensp 45fcb1c0f9 CCM NG/ccm-cms: More work for the FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4579 8810af33-2d31-482b-a856-94f89814c4df
2017-02-16 18:07:31 +00:00
jensp 2886d56199 CCM NG:
- Database cleanup scripts for tests now running before test methods and not after. This means that the database is still intact after a test is run. Useful for debugging.
- ContentSectionSetup now add content types to content section
- Some things for the Documents tab in the content centre


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4578 8810af33-2d31-482b-a856-94f89814c4df
2017-02-16 13:17:48 +00:00
jensp 9d506e5460 CCM NG: Removed JPA metamodel generator. The generated classes caused problems (memory issues) when deploying to Wildfly.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4575 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 21:11:19 +00:00
baka d8845c4008 Localization Stuff, the 2nd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4574 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 16:29:13 +00:00
baka 60423ae059 Implements the use of setIndexObject into IndexItemSelectionForm.
Is the exception handling correct?

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4573 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 16:02:24 +00:00
baka 7acd696e32 Begin of reimplementation of CategoryLocalization
Also adds a lot of key/value pairs to the CmsResources

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4572 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 15:52:01 +00:00
baka e74c25aede Reimplements CategoryAdminContainer to work with ng.
It may be not the correct way how the permisson is passed to the constructor, though.
Must be checked for correctness.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4570 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:34:39 +00:00
jensp 0b768c2f6f CCM NG: Enabled generation of Criteria Metamodel classes required for completly type safe criteria queries.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4569 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:25:18 +00:00
baka d804ced147 Refactored CategorizedObjectsList, but removed sorting for now
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4568 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:18:50 +00:00
jensp 6350bee8e4 CCM NG: Reenabled defaultCleanupPhase=NONE in arquillian.xml. All tests should have @CleanupUsingScript which is executed regardless of the configured cleanup phase. Setting
defaultCleanupPhase=NONE makes it easier to disable the cleanup (just by commenting the annotation on the test class out) for debugging purposes.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4567 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:33:52 +00:00
jensp 70f8999049 CCM NG/ccm-cms: Missing file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4562 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 18:27:19 +00:00
jensp 9fcc2dee28 CCM NG/ccm-cms: FolderBrowser now shows up, buts needs more testing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4561 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 18:26:07 +00:00
jensp aeca80a4ce CCM NG/ccm-cms: Next part of migration of the FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4560 8810af33-2d31-482b-a856-94f89814c4df
2017-02-11 18:15:52 +00:00
jensp 1dd30646b3 CCM NG/ccm-cms: Trying to get FolderBrowser working...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4559 8810af33-2d31-482b-a856-94f89814c4df
2017-02-09 11:20:12 +00:00
baka 6038962f6a Adds some localization strings
Refactored and reimplemented IndexItemSelectionForm

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4558 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 19:21:45 +00:00
jensp 9a71c20b4d CCM NG/ccm-cms: FolderBrowser now shows up. Needs testing.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4557 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 18:07:03 +00:00
jensp 58c279de8f CCM NG: Several small things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4556 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 15:01:21 +00:00
jensp 6368c3532b CCM NG/ccm-cms: Next part of new CMSPermissionsTable
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4555 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 08:18:19 +00:00
jensp 6ec7ed2ac1 CCM NG/ccm-cms: Migration of CMSPermissionsTables to new API (not completly finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4553 8810af33-2d31-482b-a856-94f89814c4df
2017-02-06 18:13:39 +00:00
jensp 21b149905d CCM NG: Several things, mostly importantly removal of all usages of legacy log4j 1.2 API. Dependency for artifact log4j-1.2-api has been removed.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4551 8810af33-2d31-482b-a856-94f89814c4df
2017-02-04 16:37:18 +00:00
jensp 7b1d0fd625 CCM NG: Some repositories still returned null instead of Optional
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4550 8810af33-2d31-482b-a856-94f89814c4df
2017-02-03 07:40:13 +00:00
jensp a4a6cfddc8 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
2017-02-03 07:24:38 +00:00
jensp b262f77bdf 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
2017-02-01 20:34:43 +00:00
jensp b67dc16e2c 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
2017-02-01 14:03:46 +00:00
jensp 35f766f050 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
2017-02-01 12:40:34 +00:00
jensp d9329c47db CCM NG: Some fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4543 8810af33-2d31-482b-a856-94f89814c4df
2017-01-30 18:51:18 +00:00
jensp 15f5a375b0 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
2017-01-28 20:23:15 +00:00
jensp 2c9760e794 CCM NG: JavaDoc for the recursive permissions behaviour.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4541 8810af33-2d31-482b-a856-94f89814c4df
2017-01-28 14:13:56 +00:00
jensp 7d41d5e94e CCM NG/ccm-cms: All tests pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4540 8810af33-2d31-482b-a856-94f89814c4df
2017-01-28 13:49:31 +00:00
jensp bd963bb48d CCM NG/ccm-cms: Bugfixing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4539 8810af33-2d31-482b-a856-94f89814c4df
2017-01-27 19:16:52 +00:00
jensp e07bc33549 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
2017-01-26 13:49:35 +00:00
jensp e274007ef5 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
2017-01-26 13:40:09 +00:00
jensp 085c3c5233 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
2017-01-25 20:18:00 +00:00
jensp ead27eef70 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
2017-01-24 16:32:57 +00:00