Commit Graph

197 Commits (8d3a58cc9b201849cec102ddeee81961d44b3128)

Author SHA1 Message Date
tosmers 439efa2e73 [NG][FEATURE]
- adds capability to import assignable tasks
- adds IdGenerator and Marshaller for TaskDependency
- import of TaskDependencies not working yet

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5166 8810af33-2d31-482b-a856-94f89814c4df
2017-12-12 18:04:27 +00:00
jensp 196d0d8869 CCM NG: Refactored dependencies between tasks from an n:m relation to two 1:n relations using an relation entity (TaskDependency). Also renamed some attributes to make the dependency relations more readable.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5162 8810af33-2d31-482b-a856-94f89814c4df
2017-12-10 20:19:18 +00:00
jensp bbf0eb9bdd CCM NG: Several bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5151 8810af33-2d31-482b-a856-94f89814c4df
2017-11-30 17:54:08 +00:00
jensp 8cb19db371 CCM NG: Fixed bug
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5150 8810af33-2d31-482b-a856-94f89814c4df
2017-11-30 09:58:06 +00:00
jensp 24d3b49a98 CCM NG: Admin UI for PageModels in the Vaadin Prototype.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5137 8810af33-2d31-482b-a856-94f89814c4df
2017-11-23 18:38:55 +00:00
jensp 3d7c4b367f CCM NG: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5127 8810af33-2d31-482b-a856-94f89814c4df
2017-11-21 16:28:47 +00:00
jensp 0fc51a8faf CCM NG: Cleanup of the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5092 8810af33-2d31-482b-a856-94f89814c4df
2017-10-29 18:37:54 +00:00
tosmers cbcc621eba [NG][UPDATE]
- minor modifications in core classes for import
- adds new batch of files with exported objects

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5089 8810af33-2d31-482b-a856-94f89814c4df
2017-10-27 15:51:21 +00:00
jensp d6d5bcc0d2 CCM NG: Some small things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5082 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 15:51:30 +00:00
baka de37d2beeb Replaces the simple calls with no arguments to newInstance()
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5078 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 13:26:01 +00:00
jensp a9a15eb803 CCM NG: JavaDoc for Sites and PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5074 8810af33-2d31-482b-a856-94f89814c4df
2017-10-23 14:35:44 +00:00
jensp f8d8d38f6e CCM NG: Sites/Pages/Themes next part
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5044 8810af33-2d31-482b-a856-94f89814c4df
2017-10-13 15:59:22 +00:00
jensp 77cf456b0d CCM NG: Fixed some compilion failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5016 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 19:57:37 +00:00
jensp 81be5540dc CCM NG:
- Removed class WorkflowTemplate, replaced by property abstractWorkflow in class workflow
- Fixed several test failures



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5015 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 19:45:02 +00:00
tosmers 82c6b50d7c [CCM][FEATURE]
- adds import capabilities for workflow templates, workflows and task comments
- fixes problems in workflow imports

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5014 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 17:48:47 +00:00
tosmers a7c70290c4 [CCM][UPDATE]
- adds import functionality of Permission and WorkflowTemplate
- import of workflows still buggy...
- optimizes imports

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4989 8810af33-2d31-482b-a856-94f89814c4df
2017-09-07 09:22:08 +00:00
tosmers e3e30cdffe [CCM][FEATURE]
- adds import functionalities for core's ResourceType, CcmApplication, Domain and DomainOwnership
- optimizes imports in some core packages

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4987 8810af33-2d31-482b-a856-94f89814c4df
2017-09-06 13:45:39 +00:00
jensp 65903e180f CCM NG: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4867 8810af33-2d31-482b-a856-94f89814c4df
2017-07-12 18:09:58 +00:00
tosmers 5b34b3d422 [CCM-NG][UPDATE]
- adds new exported data files for import, again

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4843 8810af33-2d31-482b-a856-94f89814c4df
2017-07-05 17:34:42 +00:00
tosmers 7a7af0239d [CCM][UPDATE]
- modifies import test with output message of selected group to check members
- changes RoleMembershipMarshaller's insertIntoDb-method

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4826 8810af33-2d31-482b-a856-94f89814c4df
2017-06-29 18:33:11 +00:00
tosmers 2cefc0c1d2 [CCM][UPDATE]
- adds new import xml files, where roles are not duplicated from export
- corrects idResolver implementation of Group, User, Party, Role, and Category
- adds correct working import of Groups, Users, GroupsMemberships, Roles, RoleMemberships

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4801 8810af33-2d31-482b-a856-94f89814c4df
2017-06-23 16:54:35 +00:00
tosmers 95d9ff0b86 [CCM][UPDATE]
- modifies import tests
- adds new xmls for import

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4797 8810af33-2d31-482b-a856-94f89814c4df
2017-06-22 09:26:23 +00:00
tosmers 0cdf3a5959 [CCM-NG][UPDATE]
- modifies import tests

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4774 8810af33-2d31-482b-a856-94f89814c4df
2017-06-12 17:30:51 +00:00
jensp 1810a77aac CCM NG/ccm-cms: First part of migration of ArticlesPropertiesStep
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4736 8810af33-2d31-482b-a856-94f89814c4df
2017-05-15 17:43:46 +00:00
tosmers 9734764a45 [UPDATE]
- adds small changes in Users import routine

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4721 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 15:04:58 +00:00
tosmers 35847f5df2 [UPDATE]
- comments export test with block comment

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4707 8810af33-2d31-482b-a856-94f89814c4df
2017-05-04 16:07:33 +00:00
tosmers d47d36b21e [UPDATE]
- adds implementation to all resolveId-methods of the IdResolver-classes
- modifies generateId-method for PermissionIdGenerator to match the trunk implementation of the idGenerator
- adds missing findBy-methods to repositories

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4703 8810af33-2d31-482b-a856-94f89814c4df
2017-05-03 16:58:35 +00:00
jensp 816e49859d CCM NG/ccm-cms: Creating content items works now
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4695 8810af33-2d31-482b-a856-94f89814c4df
2017-04-29 14:53:14 +00:00
tosmers 5689c7d239 [UPDATE]
- adds new export content for import to tests resources
- exchanges Jackson back- and managed-reference annotations with identityInfo, ignore and identityReference annotations 
- adds necessary ObjectIdGenerator and ObjectIdResolver implementations
- does not yet implement the generateId-Method of every ObjectIdResolver

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4640 8810af33-2d31-482b-a856-94f89814c4df
2017-03-23 18:48:52 +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 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 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 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 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
tosmers aa1b321a0b [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
tosmers 21597b23f0 [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 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 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 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 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
tosmers 997edf8af2 [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
2017-01-23 18:10:26 +00:00
jensp 39b42d1c2d 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
2017-01-20 21:04:31 +00:00
tosmers c762750b6d [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
2016-12-12 18:43:27 +00:00
tosmers 75250e95a0 [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
2016-12-05 15:51:35 +00:00