Commit Graph

40 Commits (657e7fddd5a2bc4e49b68cf5c6beba41b34da11d)

Author SHA1 Message Date
jensp e4bbfc3e41 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
jensp 33b9f3048a 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 bc466c0618 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 5a8dddfdfe 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 95b2d335fa 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 285cc3b6c5 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 f74bfb2618 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 413edda57a 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 ad51010466 CCM NG/ccm-shortcuts: Tests pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4529 8810af33-2d31-482b-a856-94f89814c4df
2017-01-21 07:40:26 +00:00
jensp dd4e669357 CCM NG/ccm-cms:
- Extended ContentSectionManager with bodies of methods for managing ContentTypes for a section, added bodies for tests to ContentSectionManager
- Some improvments for other tests in ccm-cms
- index page for project site of ccm-cms

CCM NG/ccm-shortcuts:
- Adjusted tests to lastest changes in ccm-core (DB-Schema)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4367 8810af33-2d31-482b-a856-94f89814c4df
2016-10-09 17:12:05 +00:00
jensp 5bd478e116 CCM NG/ccm-shortcuts:
- Changed createDeployment methods the use the new DependenciesHelper from ccm-testutils


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4324 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 17:02:23 +00:00
jensp 1c08efca11 CCM NG: Improved createDeployment method for Arquillian tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4322 8810af33-2d31-482b-a856-94f89814c4df
2016-09-26 15:25:28 +00:00
jensp fef0c2eb41 CCM NG: Fixed a problem with the tests for ccm-shortcuts: The inclusion of the ServletFilter into the test archives caused a failure because the filter was invoked before Arquillian has run the database creation scripts (Arquillan communicates with the Server using HTTP).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4317 8810af33-2d31-482b-a856-94f89814c4df
2016-09-24 16:57:04 +00:00
jensp 45501fedb8 CCM NG: Several things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4203 8810af33-2d31-482b-a856-94f89814c4df
2016-07-20 18:03:55 +00:00
jensp 7ee9eb50a0 CCM NG: Descriptions of shortcuts module for the Maven generated site
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4171 8810af33-2d31-482b-a856-94f89814c4df
2016-06-22 12:47:51 +00:00
jensp 4cc7891126 CCM NG: Cleanup and JavaDoc for ccm-shortcuts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4170 8810af33-2d31-482b-a856-94f89814c4df
2016-06-22 12:41:38 +00:00
jensp 784722ddd0 CCM NG: ShortcutsFilter now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4169 8810af33-2d31-482b-a856-94f89814c4df
2016-06-22 12:28:03 +00:00
jensp 9b181dc6ab CCM NG: Shortcuts settings pane in /ccm/admin/ is now available and works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4168 8810af33-2d31-482b-a856-94f89814c4df
2016-06-22 12:00:04 +00:00
jensp 864094a5dd CCM NG: Annotations for authorization are now added to all repository and and manager beans in ccm-core
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4166 8810af33-2d31-482b-a856-94f89814c4df
2016-06-17 19:46:50 +00:00
jensp 08df95a744 CCM NG: Some things for the application tab of /ccm/admin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4154 8810af33-2d31-482b-a856-94f89814c4df
2016-06-10 16:52:02 +00:00
jensp 7691377674 CCM NG: ccm-shortcuts:
- ShortcutFilter migrated from trunk
    - Some minor adjustments to the repository


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4150 8810af33-2d31-482b-a856-94f89814c4df
2016-06-10 11:42:44 +00:00
jensp fea14a860e CCM NG: ccm-shortcuts: Secured methods for creating, saving and deleting Shortcuts with the appropriate annoations from ccm-core/org.libreccm.security. Tests for ShortcutManager extended to check if the authorization check works as intented.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4149 8810af33-2d31-482b-a856-94f89814c4df
2016-06-10 09:35:27 +00:00
jensp e7f4e49a15 CCM NG:
- Infrastructure for integration tests in ccm-shortcuts now works (may serve as an example of other modules)
- Integration tests for ShortcutRepository and ShortcutManager
- Fixed some bugs in the database migration scripts


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4148 8810af33-2d31-482b-a856-94f89814c4df
2016-06-09 13:54:23 +00:00
jensp e4f8ca3b97 CCM NG: Shortcuts module now deploys successfully
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4147 8810af33-2d31-482b-a856-94f89814c4df
2016-06-09 09:40:09 +00:00
jensp 572db42a15 CCM NG: ccm-shortcuts module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4146 8810af33-2d31-482b-a856-94f89814c4df
2016-06-08 18:03:18 +00:00
jensp 8e05fe06af CCM NG: Administration UI basic structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3867 8810af33-2d31-482b-a856-94f89814c4df
2016-02-17 19:00:18 +00:00
jensp fd010fef1a CCM NG: Classes for the new database based configuration system (not tested yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3772 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 15:15:38 +00:00
jensp b6cb768993 CCM NG: Removed the javabeans PMD ruleset from the list of checked rulesets
because the rule "BeanMembersShouldSerialize" from this ruleset procduces many 
false positives. Also removed also usages of the transient modifier which 
were only added to various classes to match this rule.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3743 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 12:45:16 +00:00
konermann 3343a0024a CCM NG: finished shortcuts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3712 8810af33-2d31-482b-a856-94f89814c4df
2015-10-28 08:56:41 +00:00
konermann 9ce3b08471 CCM NG: Shortcut: added module-info
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3689 8810af33-2d31-482b-a856-94f89814c4df
2015-10-14 10:56:14 +00:00
konermann 6cf26b833e CCM NG: reworked ShortcutManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3683 8810af33-2d31-482b-a856-94f89814c4df
2015-10-09 11:58:16 +00:00
jensp 56d545d175 CCM NG: Old login app ported to CCM NG including UI. Compiles but is not tested yet!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3673 8810af33-2d31-482b-a856-94f89814c4df
2015-10-08 09:12:25 +00:00
konermann ed43c999d9 CCM NG: Shortcut: added first approach of ShortcutManager.java
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3660 8810af33-2d31-482b-a856-94f89814c4df
2015-10-01 09:42:43 +00:00
konermann ba743982a8 CCM NG: Shortcut: changed table names and Columns to upperCase and added ShortcutRepository.java
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3659 8810af33-2d31-482b-a856-94f89814c4df
2015-10-01 09:02:39 +00:00
konermann 66fd14a554 CCM NG: Shortcut: changed table-annotations, added create_tables.sql
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3607 8810af33-2d31-482b-a856-94f89814c4df
2015-09-09 18:07:26 +00:00
jensp d7be8b8d65 CCM NG: Bundle/WAR module for testing the module system etc.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3600 8810af33-2d31-482b-a856-94f89814c4df
2015-09-03 13:45:35 +00:00
jensp cb54c2c9d9 CCM NG: Several small things:
- ResourceType and ApplicationType entities
    - Some refinements of columns names
    - Collections are not longer used in hashCode/equals because we can't be sure that the implementation of a collection
      provided for instance by Hibernate implements equals/hashCode.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3515 8810af33-2d31-482b-a856-94f89814c4df
2015-07-02 11:43:06 +00:00
jensp 34e42a81d5 CCM NG: Primarily documentation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3507 8810af33-2d31-482b-a856-94f89814c4df
2015-06-26 18:26:42 +00:00
jensp 078c23ea8a CCM NG: Changed JNDI names for test datasources to reflect Maven artifact name
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3487 8810af33-2d31-482b-a856-94f89814c4df
2015-06-16 14:59:47 +00:00
jensp b6310ae940 - Moved test utility classes to separate module which can be imported by other modules (Test classes are not part of
dependency resolution)
- Created ccm-shortcuts module for testing build environment setup


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3481 8810af33-2d31-482b-a856-94f89814c4df
2015-06-14 19:04:12 +00:00