Commit Graph

895 Commits (fce01dc128dd2f28dc6cd851236d09b7e56d686c)
 

Author SHA1 Message Date
jensp d4f2daa78a 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 7274fff101 CCM NG/ccm-core: Completed code for CcmRevisionListener
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4587 8810af33-2d31-482b-a856-94f89814c4df
2017-02-21 14:24:01 +00:00
jensp faa27466bf 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 d821dbe5d7 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 f794b883ab CCM NG: Updated Hibernate dependencies to versions used in Wildfly 10.1
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4584 8810af33-2d31-482b-a856-94f89814c4df
2017-02-18 17:49:15 +00:00
jensp 004ee26153 CCM NG/ccm-core: Improved performance for the configuration (reduced number DB-Queries for loading a configuration).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4583 8810af33-2d31-482b-a856-94f89814c4df
2017-02-18 13:48:46 +00:00
jensp 450945ae22 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 2e06b36f26 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 cb53da7f52 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 add1a11eb6 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 19aaed5baa 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 1590bfd8ac 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 6ebdf6ab43 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 933e9da587 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 54a3dc50a5 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
jensp 56de3bd652 CCM NG/ccm-core: Improved JavaDoc for some methods of the CategoryManager..
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4571 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:40:40 +00:00
baka 6541eeab81 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 cd09100248 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 de4d63ca22 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 3c17226320 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 36d521c98d CCM NG/ccm-bundle-devel-wildfly-swarm: Set svn:ignore for target directory.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4566 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:31:39 +00:00
jensp 3af581461f CCM NG/ccm-core: Added methods for setting the index object of a category to the CategoryManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4565 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:30:54 +00:00
jensp b72f029c3d CCM NG: First part of Wildfly Swarm module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4564 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 19:12:45 +00:00
jensp 8a5bad7c32 CCM NG: Dependencies for the Devel Bundle are now collected in a separate module which can be used by the bundling modules for the various application servers.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4563 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 18:28:25 +00:00
jensp cae7e04db9 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 0a51a89ca9 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 82d0ceffbd 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 e55aa01f1e 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 65c52972bf 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 c9fabc8fff 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 e9bcd0c0ff 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 59235f45af 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
tosmers cfe7ca44e4 [UPDATE]
- modifies importFiles-method in AbstractMarshaller.java to return boolean for easier test evaluation
- reduces import tests to a single xml file for easier problem finding 
- modifies insertIntoDb method overriden by RoleMembershipMarshaller

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4554 8810af33-2d31-482b-a856-94f89814c4df
2017-02-07 20:44:46 +00:00
jensp a37785c3c3 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
tosmers 35d91826e4 [UPDATE]
- adds minor changes in partation's CoreDataImportTest-routine

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4552 8810af33-2d31-482b-a856-94f89814c4df
2017-02-06 15:54:19 +00:00
jensp 6d8d26a1c4 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 86e6289a59 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 d00f438bdd 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 809475465a 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 fe4cf824f8 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 647f182943 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 1485a95de1 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 2f4b67dc4e 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 c9850d2074 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 bc6f135074 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 b69d12fcbc 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 904ec94c2d 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 de2b33fcd6 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 f8ae2e1bd3 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 cf0e6ab432 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