Commit Graph

451 Commits (f4eefe54de92c91eb9184c20fa11ea87c1dac8d1)

Author SHA1 Message Date
jensp cb0460ebbe 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

Former-commit-id: c6c137945d
2017-02-15 21:11:19 +00:00
jensp 897b014792 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

Former-commit-id: ef21a73330
2017-02-15 10:40:40 +00:00
jensp 79797797ca 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

Former-commit-id: 3d7a522844
2017-02-15 10:25:18 +00:00
jensp c94fe84b4c 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

Former-commit-id: 5a8dddfdfe
2017-02-15 09:33:52 +00:00
jensp 97c3f05a9e 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

Former-commit-id: 90b8b206e5
2017-02-15 09:30:54 +00:00
jensp bdf8b5c0bf 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

Former-commit-id: 119cabe733
2017-02-11 18:15:52 +00:00
jensp a08e1138bc 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

Former-commit-id: ecb3a5c2ab
2017-02-08 18:07:03 +00:00
jensp b22235d53a CCM NG: Several small things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4556 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 642b528358
2017-02-08 15:01:21 +00:00
jensp 25491c4b87 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

Former-commit-id: 448900e386
2017-02-08 08:18:19 +00:00
tosmers d03f547187 [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

Former-commit-id: cf95e4d26f
2017-02-07 20:44:46 +00:00
tosmers 8a3d212235 [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

Former-commit-id: eafaf8b613
2017-02-06 15:54:19 +00:00
jensp 7caa9cc652 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

Former-commit-id: db12e1447d
2017-02-04 16:37:18 +00:00
jensp b41b5e7c93 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

Former-commit-id: 95b2d335fa
2017-02-03 07:40:13 +00:00
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 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 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 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
tosmers 91de348df8 [UPDATE]
- adds @Inject-statements for marshaller-objects to ImportHelper.class

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

Former-commit-id: 4adfd0c7d3
2017-01-23 18:10:26 +00:00
jensp c30f84bf29 CCM NG: Fixed several problems in tests due to several changes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4528 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 0a24284c08
2017-01-20 21:04:31 +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
tosmers 1c598b387e [UPDATE]
- adds modified files for import testing
- adds annotations @RequestScoped and @Marshals(<classname>) to all Marshaller classes
- adds annotation @JsonIgnore to getter in LocalizedString.java

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

Former-commit-id: 389f8ef6cf
2017-01-19 20:47:31 +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 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 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
tosmers c8f8668828 [UPDATE]
- adds @Transitional annotation to all marshaller implementations-
- updates export test data

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

Former-commit-id: bc9ca4a86d
2017-01-05 16:45:54 +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
tosmers df79895080 [UPDATE]
- switches json's back-managed references on every attribute in each exportable class

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

Former-commit-id: 5954dc2dd7
2016-12-20 19:27:21 +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 5829412d2f CCM NG: DB Migration fix
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4492 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 32c7be64c2
2016-12-19 19:13:24 +00:00
jensp 3459afc2db CCM NG: Missing DB migrations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4491 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 40dcf2e757
2016-12-19 19:05:36 +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 c4662f4274 CCM NG: Basic integration for Hibernate Search
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4487 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 60661478fd
2016-12-17 16:39:10 +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
tosmers 08ba214405 [UPDATE]
- modifies managed/back references
- adds updated export data for import

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

Former-commit-id: 2dca8be89d
2016-12-12 18:43:27 +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
jensp 8c805f5243 CCM NG: JavaDoc for PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4468 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 8428aac228
2016-12-07 18:16:47 +00:00
jensp 681f507c0c CCM NG: More JavaDoc for the page model system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4467 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: c0b99cf9ec
2016-12-06 18:10:29 +00:00
jensp eb4087ed84 CCM NG: More JavaDoc for PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4466 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 5fd3824c46
2016-12-06 14:07:44 +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
tosmers 2e5e26cdc8 [FEATURE]
- adds testclass for core import
- adds testdata for core import

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

Former-commit-id: cc1cbc6da0
2016-12-05 15:51:35 +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 80d3a02996 CCM NG: Publish for PageModels
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4460 8810af33-2d31-482b-a856-94f89814c4df
2016-12-03 10:49:26 +00:00
jensp 0367ef4f70 CCM NG: Migration scripts for new entites from page model, some cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4459 8810af33-2d31-482b-a856-94f89814c4df
2016-12-02 18:01:53 +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 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 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 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
tosmers 5fb80631c9 [FEATURE]
- adds implementation of abstract marshaller class to every exportable class
- adds interface tag 'Portable' to each class with wishes of being ex- or imported


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4448 8810af33-2d31-482b-a856-94f89814c4df
2016-11-21 17:39:45 +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 17a2157b5c CCM NG/ccm-core: Some JavaDoc for Workflow and related classes (more to come)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4443 8810af33-2d31-482b-a856-94f89814c4df
2016-11-17 12:11:35 +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 4fc5edc59c CCM NG/ccm-core:
- Several additions for Workflow management (Queries etc.) required by the Workflow forms in ccm-cms
- Some additions in the BaseServlet and BaseApplicationServlet, primarly initalisation stuff
- RowData class for use as bridge between CDI classes and Bebop tables


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4439 8810af33-2d31-482b-a856-94f89814c4df
2016-11-14 18:56:57 +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 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 e68a5ba5d2 CCM NG/ccm-core: MimeTypeConverter was not null safe
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4393 8810af33-2d31-482b-a856-94f89814c4df
2016-10-19 18:05:53 +00:00
jensp 71c38c440a CCM NG/ccm-core: Fixed typos in database migration scripts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4385 8810af33-2d31-482b-a856-94f89814c4df
2016-10-17 16:58:54 +00:00
jensp 42e18ee8cb CCM NG/ccm-core: Dispatcher used none-locale save DateFormat
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4382 8810af33-2d31-482b-a856-94f89814c4df
2016-10-17 06:57:02 +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 8e4d572331 CCM NG: JavaDoc for several tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4364 8810af33-2d31-482b-a856-94f89814c4df
2016-10-07 17:26:36 +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 72947f72d7 Fixes a typo.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4362 8810af33-2d31-482b-a856-94f89814c4df
2016-10-06 11:26:46 +00:00
jensp 8df8169646 CCM NG: JavaDoc for PermissionManager and PermissionManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4353 8810af33-2d31-482b-a856-94f89814c4df
2016-10-05 17:05:05 +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 ddc70c795d CCM NG/ccm-core: Additional queries (and accompanying methods in RoleRepository) for Role to find Roles by the the permissions granted to the role.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4349 8810af33-2d31-482b-a856-94f89814c4df
2016-10-04 15:26:32 +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
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 ac46ffb059 Adds a description to the Role class.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4319 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 09:49:45 +00:00
jensp 0457c0d8bd CCM NG: Bugfix for handling LocalizedString
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4311 8810af33-2d31-482b-a856-94f89814c4df
2016-09-20 08:52:17 +00:00
jensp f73f87d622 CCM NG: Updated create scripts for tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4310 8810af33-2d31-482b-a856-94f89814c4df
2016-09-19 17:19:11 +00:00
jensp 6bb4e10b0e CCM NG: Added a live item to the datasets of the ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4304 8810af33-2d31-482b-a856-94f89814c4df
2016-09-14 15:32:07 +00:00
jensp cb0a19410e CCM NG: Added references from Workflow to the WorkflowTemplate used to create the workflow.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4293 8810af33-2d31-482b-a856-94f89814c4df
2016-09-12 15:44:45 +00:00
jensp 9e593aaf9c CCM NG: Fixed several bugs found by tests related to the methods of ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4291 8810af33-2d31-482b-a856-94f89814c4df
2016-09-09 18:53:05 +00:00
jensp 36defa4cb7 CCM NG: Classes and annotations for describing and retrieving informations about a content type, including its authoring kit.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4288 8810af33-2d31-482b-a856-94f89814c4df
2016-09-07 16:50:00 +00:00
jensp f627763126 CCM NG: Several missing classes from ccm-core/com.arsdigita.bebop
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4286 8810af33-2d31-482b-a856-94f89814c4df
2016-09-07 11:51:42 +00:00
baka 98189d19e4 Added RoleAdminPane back and fixed the imports.
Some things are still commented, as there are package local files that need to be added.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4273 8810af33-2d31-482b-a856-94f89814c4df
2016-09-05 11:53:15 +00:00
jensp 72b017faee CCM NG: Ported some classes from the com.arsdigita.util package which are used by other classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4252 8810af33-2d31-482b-a856-94f89814c4df
2016-09-03 15:11:36 +00:00
jensp 02b61b7ddc CCM NG: First part of migration of WorkflowAdminPane, as well as some smaller things in other classes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4251 8810af33-2d31-482b-a856-94f89814c4df
2016-09-02 17:57:17 +00:00
jensp 639118217f CCM NG: ProxyComponent class ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4250 8810af33-2d31-482b-a856-94f89814c4df
2016-09-02 14:33:18 +00:00
jensp d349f446bf CCM NG: Ported SecurityContainer component to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4247 8810af33-2d31-482b-a856-94f89814c4df
2016-09-01 18:07:01 +00:00