Commit Graph

72 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
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 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 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 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 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 e274007ef5 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 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 83be9cfddc 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
2016-12-19 10:05:04 +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 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 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 48588b8a1f CCM NG/ccm-cms: ContentItemManager now processes attachments of items.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4428 8810af33-2d31-482b-a856-94f89814c4df
2016-11-02 16:56:14 +00:00
jensp 4b9f65d40b CCM NG/ccm-cms: AttachmentListManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4427 8810af33-2d31-482b-a856-94f89814c4df
2016-11-02 08:17:44 +00:00
jensp 0e8fe19efd CCM NG/ccm-cms: ItemAttachmentManager#unattach
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4426 8810af33-2d31-482b-a856-94f89814c4df
2016-11-01 10:47:28 +00:00
jensp 2c1dc748fd CCM NG/ccm-cms: Current status of the ItemAttachmentManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4425 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 20:41:32 +00:00
jensp 1f5370fad7 CCM NG/ccm-cms:
- Repositories, Managers and base classes for Assets and Attachments moved to org.librecms.contentsection package to allow access to protected methods of ContentItem
- AttachmentListManager finished


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4420 8810af33-2d31-482b-a856-94f89814c4df
2016-10-31 15:58:02 +00:00
jensp 642ae17169 CCM NG/ccm-cms: AttachmentListManager current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4416 8810af33-2d31-482b-a856-94f89814c4df
2016-10-30 17:50:09 +00:00
jensp 086eb1b04c CCM NG/ccm-cms: AssetManager finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4413 8810af33-2d31-482b-a856-94f89814c4df
2016-10-28 10:15:53 +00:00
jensp 37203117e9 CCM NG/ccm-cms: AssetManager#move now passes all tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4412 8810af33-2d31-482b-a856-94f89814c4df
2016-10-27 17:49:51 +00:00
jensp a8a9a4cf28 CCM NG/ccm-cms: Implementation of AssetManager#move
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4411 8810af33-2d31-482b-a856-94f89814c4df
2016-10-27 14:03:04 +00:00
jensp 91642426b2 CCM NG/ccm-cms: AssetManager current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4410 8810af33-2d31-482b-a856-94f89814c4df
2016-10-26 17:40:58 +00:00
jensp f2f6f6c3f6 CCM NG/ccm-cms: AssetManager current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4409 8810af33-2d31-482b-a856-94f89814c4df
2016-10-25 18:54:02 +00:00
jensp 0e4b8ed5c2 CCM NG/ccm-cms: Tests and implementations for some methods of the AssetManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4408 8810af33-2d31-482b-a856-94f89814c4df
2016-10-25 13:24:11 +00:00
jensp a8869168a4 CCM NG/ccm-cms: AssetManagerTest method bodies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4403 8810af33-2d31-482b-a856-94f89814c4df
2016-10-24 17:29:52 +00:00
jensp 8b65254d3a CCM NG/ccm-cms: Moved constants for privileges to extra classes, refactored usages.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4398 8810af33-2d31-482b-a856-94f89814c4df
2016-10-21 18:19:46 +00:00
jensp 2b5221d8ae CCM NG/ccm-cms: Repository for Assets and tests for that repository.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4394 8810af33-2d31-482b-a856-94f89814c4df
2016-10-19 18:06:55 +00:00
jensp 1ea46cce5a CCM NG/ccm-cms: Refactored/optimised struture for Assets/Attachments.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4387 8810af33-2d31-482b-a856-94f89814c4df
2016-10-17 17:00:49 +00:00
jensp 0d184a0c36 CCM NG/ccm-cms: ContentItemL10NManager. Not completly working yet.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4378 8810af33-2d31-482b-a856-94f89814c4df
2016-10-14 18:50:45 +00:00
jensp f2355d5b15 CCM NG/ccm-cms: Body of ContentItemL10NManager and its test class.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4377 8810af33-2d31-482b-a856-94f89814c4df
2016-10-13 17:56:14 +00:00
jensp 938f44f106 CCM NG/ccm-cms: Copying and moving items to another contentsection is now supported by the ContentItemManager.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4374 8810af33-2d31-482b-a856-94f89814c4df
2016-10-13 17:05:58 +00:00
jensp 325c6fbc80 CCM NG/ccm-cms: JavaDoc for the ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4372 8810af33-2d31-482b-a856-94f89814c4df
2016-10-12 13:03:02 +00:00
jensp 5707402240 CCM NG/ccm-cms: Prepared datasets for ContentItemManagerTests for additional tests with two content sections
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4371 8810af33-2d31-482b-a856-94f89814c4df
2016-10-11 17:08:28 +00:00
jensp b6b62e4378 CCM NG/ccm-cms: ContentSectionManager + Tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4368 8810af33-2d31-482b-a856-94f89814c4df
2016-10-10 12:46:30 +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 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 93ae630f41 CCM NG/ccm-cms: Repository for ContentType objects and accompanying test
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4365 8810af33-2d31-482b-a856-94f89814c4df
2016-10-08 17:17:05 +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
jensp ae27dbe0cc CCM NG: ContentItemManager now passes all tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4313 8810af33-2d31-482b-a856-94f89814c4df
2016-09-22 18:52:23 +00:00
jensp 9485722dc0 CCM NG: Test for ContentItemManager#publish
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4312 8810af33-2d31-482b-a856-94f89814c4df
2016-09-21 17:25:06 +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 930c20ccbd CCM NG: Some bug fixing for H2 compatibility
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4308 8810af33-2d31-482b-a856-94f89814c4df
2016-09-18 17:05:06 +00:00
jensp 5421a8dc30 CCM NG: Some bug fixing for the ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4307 8810af33-2d31-482b-a856-94f89814c4df
2016-09-15 17:58:54 +00:00
jensp 5672388578 CCM NG: Dataset for testing content item publish for the ContentItemMangerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4305 8810af33-2d31-482b-a856-94f89814c4df
2016-09-14 16:42:50 +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 cb7309c5fa CCM NG: Consolidated the datasets for the ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4303 8810af33-2d31-482b-a856-94f89814c4df
2016-09-14 14:38:42 +00:00