Commit Graph

115 Commits (6f715f4fe3a5de10b1bf0c00ceef6d0c71fe426c)

Author SHA1 Message Date
jensp 595c6ef7ed CCM NG/ccm-cms: Fixed several test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4870 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 3521d30ec1
2017-07-14 14:59:16 +00:00
jensp 1f39e44dd1 CCM NG: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4867 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 5cdd00c83d
2017-07-12 18:09:58 +00:00
jensp 8d612ed5b3 CCM NG/ccm-cms:
- Fixed wrong datatype in ccm_cms.events table (was SQL Date, which does not save time, is now SQL Timestamp)
- EventPropertiesStep and EventPropertyForm work now as expected


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

Former-commit-id: bae516fb9a
2017-07-05 07:24:55 +00:00
jensp cd042145c3 CCM NG/ccm-cms: Resolved some compile errors caused by changes of method signatures in ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4827 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b53e2b6fb4
2017-06-30 07:13:29 +00:00
jensp 660b2926c6 CCM NG/ccm-cms: AssetRepository queries now check permissions
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4733 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: f5f485e360
2017-05-13 09:38:30 +00:00
jensp 8beb8bf94c CCM NG/ccm-cms: Queries used by ContentItemRepository now include permissions.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4732 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 98d4858ff8
2017-05-12 19:04:13 +00:00
jensp eb498dd899 CCM NG/ccm-cms: Fixed some more test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4722 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 99333a3886
2017-05-10 15:33:34 +00:00
jensp 89832fd8ee CCM NG/ccm-cms: Working on the ContentTypeRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4719 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 1b612e6908
2017-05-10 14:00:08 +00:00
jensp 494d4cfac6 CCM NG/ccm-cms: Fixed test failures in ContentTypeRepositoryTest caused by missing dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4717 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 7b889c1c98
2017-05-10 09:01:34 +00:00
jensp 1cd656cc7c CCM NG/ccm-cms: Fixes more test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4713 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: bd1ff6d18a
2017-05-08 18:04:21 +00:00
jensp d302d5f976 CCM NG/ccm-cms: Some bugfixes for the ContentItemManager fixing test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4712 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 84bb34ff13
2017-05-08 09:28:20 +00:00
jensp 697414851c CCM NG/ccm-cms: Some bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4704 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 2c7f064e4f
2017-05-03 18:16:06 +00:00
jensp 95a2200327 CCM NG/ccm-cms: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4701 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: a734e0eee7
2017-05-02 13:16:31 +00:00
jensp 1410e7fe3f CCM NG/ccm-cms: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4700 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 72827e8e3d
2017-05-02 09:06:52 +00:00
jensp 8e70f29f3a CCM NG/ccm-cms: Extended test for developing query which takes permissions into acccount when retrieving ContentItems from the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4699 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 76a1e0f10b
2017-05-02 09:02:36 +00:00
jensp 36703ed468 CCM NG/ccm-cms: Some dependencies were missing from the test archive for ContentItemPermissionTest causing test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4696 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 458ff05097
2017-04-30 11:34:19 +00:00
jensp 554e201452 CCM NG/ccm-cms:
- Form for FileAsset
- Added FileAsset to known asset types


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

Former-commit-id: 423715a5bd
2017-04-18 11:05:41 +00:00
jensp 00ab4ac68a CCM NG/ccm-cms: Fixed some tests
CCM NG/ccm-core: Vaadin prototype (UI)


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

Former-commit-id: 4d27baca2a
2017-04-17 18:56:03 +00:00
jensp 33d8d6848f CCM NG/ccm-cms: Fixed some bugs in the AssetRepository
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4672 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: d66287322c
2017-04-13 09:36:16 +00:00
jensp 95531ee989 CCM NG/ccm-cms: AssetSearchService including JAX-RS methods to support assets in RichTextEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4670 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 3227166333
2017-04-12 18:37:42 +00:00
jensp 2ece488abb CCM NG/ccm-cms: AssetForm including localisation for assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4663 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: ee7280dc6b
2017-04-07 18:41:40 +00:00
jensp 6f041f332e CCM NG/ccm-cms: First part of new AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4650 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: d75fffae81
2017-03-29 15:40:58 +00:00
jensp 29b12e1ba3 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

Former-commit-id: 33b9f3048a
2017-03-03 19:45:54 +00:00
jensp 7b50e1b830 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

Former-commit-id: 46ff680193
2017-02-22 20:40:07 +00:00
jensp 310f190145 CCM NG/ccm-cms: Deleting items from FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4591 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 0f5f728ffe
2017-02-22 12:37:17 +00:00
jensp b2966f9392 CCM NG/ccm-cms: Sorting for the FolderBrowser.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4588 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: a4f74d8880
2017-02-22 08:41:06 +00:00
jensp 9d18356999 CCM NG/ccm-cms: Additional fields for content item to provide easier access to auditing data.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4586 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 251c2efb7a
2017-02-21 14:20:32 +00:00
jensp e58cebd92f 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

Former-commit-id: bc466c0618
2017-02-16 13:17:48 +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 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 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 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 6949d6f496 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

Former-commit-id: f74bfb2618
2017-01-28 20:23:15 +00:00
jensp 454a097c5c CCM NG/ccm-cms: All tests pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4540 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: e72aaa7d62
2017-01-28 13:49:31 +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 3d97680d99 CCM NG/ccm-cms: DatatypeFactory for DBUnit enabled in Arquillian configuration for PostgreSQL
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4538 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: 5555d424d0
2017-01-26 13:49:35 +00:00
jensp 9b855ee184 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

Former-commit-id: 32abf07ebf
2017-01-26 13:40:09 +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
jensp 2924e8dd16 CCM NG/ccm-cms: Test pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4530 8810af33-2d31-482b-a856-94f89814c4df

Former-commit-id: b399419b12
2017-01-21 12:02:43 +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 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 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 7c12409398 CCM NG/ccm-cms: Fixed typos in test datasets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4437 8810af33-2d31-482b-a856-94f89814c4df
2016-11-11 13:23:11 +00:00
jensp aa95d07092 CCM NG/ccm-cms: Optimised ContentItemManger#publish
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4429 8810af33-2d31-482b-a856-94f89814c4df
2016-11-03 11:58:59 +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