Commit Graph

221 Commits (2886d561995b3686e212cab18ddf91cac7d41556)

Author SHA1 Message Date
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
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
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 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 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 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
jensp f3d545f183 CCM NG: Permissions are now written recursivly
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4534 8810af33-2d31-482b-a856-94f89814c4df
2017-01-23 20:39:42 +00:00
jensp eb737fcb02 CCM NG: First part of changed permission inhertitence
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4533 8810af33-2d31-482b-a856-94f89814c4df
2017-01-23 19:11:56 +00:00
jensp 08348b215e CCM NG/ccm-cms: Test pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4530 8810af33-2d31-482b-a856-94f89814c4df
2017-01-21 12:02:43 +00:00
jensp fafba0080d 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
2017-01-20 16:38:39 +00:00
jensp 4c77ec6e7c 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
2017-01-18 16:27:42 +00:00
jensp 8fbedc28f4 CCM NG/ccm-cms: RoleAdminPane ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4523 8810af33-2d31-482b-a856-94f89814c4df
2017-01-18 13:31:21 +00:00
jensp b7f602370c CCM NG/ccm-cms: ReportPane in ContentSectionPage enabled
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4522 8810af33-2d31-482b-a856-94f89814c4df
2017-01-17 09:54:58 +00:00
jensp f93ecf2722 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
2017-01-17 08:49:53 +00:00
jensp 982e80e5ee 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
2017-01-16 20:03:20 +00:00
jensp 2d277a4111 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
2017-01-14 16:44:23 +00:00
jensp 96541ae1c4 CCM NG: Some cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4518 8810af33-2d31-482b-a856-94f89814c4df
2017-01-13 13:47:57 +00:00
jensp 24942b7a5c CCM NG: ContentItem Page ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4517 8810af33-2d31-482b-a856-94f89814c4df
2017-01-13 13:19:02 +00:00
jensp 24db30a69b 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
2017-01-11 18:35:23 +00:00
baka 303e2c02b6 Adds CategoryIteratorListModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4515 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 18:15:55 +00:00
baka 1b26b8f5bc Adds CategoryBaseForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4514 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 17:57:35 +00:00
baka 96e90014ce SVN mess 3rd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4512 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 16:11:42 +00:00
baka d4733e89e8 SVN mess 2nd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4511 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 16:05:19 +00:00
baka 9928101147 SVN mess
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4510 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 15:45:54 +00:00
baka a96c61564e 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
2017-01-05 15:43:52 +00:00
baka 8d495f0c07 Adds all missing classes for category ui
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4508 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 14:28:14 +00:00
jensp 0b90e5b716 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 58eebf4513 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 c1e471e87d 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
2016-12-20 09:06:40 +00:00
jensp e10ab7704e CCM NG: Fixed bugs in dispatcher code
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4493 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 20:51:26 +00:00