Commit Graph

117 Commits (82c6b50d7c8a44ee50eea39df8e4be7f41eb3917)

Author SHA1 Message Date
jensp 1775a3ed21 CCM NG/ccm-cms: Several bug fixes and improvments for assets, especially binary assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4886 8810af33-2d31-482b-a856-94f89814c4df
2017-07-25 14:56:17 +00:00
jensp 1b7b03a481 CCM NG/ccm-cms:
- Privileges from the folder are now applied to new content items 
- Privilieges from the folder are not applied to new assets
- Some improvments for the structure of the asset forms



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4883 8810af33-2d31-482b-a856-94f89814c4df
2017-07-24 15:22:10 +00:00
jensp 504f1f40e5 CCM NG/ccm-cms: Fixed several test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4870 8810af33-2d31-482b-a856-94f89814c4df
2017-07-14 14:59:16 +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
jensp 8ee4cdd08d 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
2017-07-05 07:24:55 +00:00
jensp 7b9b260ed6 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
2017-06-30 07:13:29 +00:00
jensp 31277c9e29 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
2017-05-13 09:38:30 +00:00
jensp b17295a0bd 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
2017-05-12 19:04:13 +00:00
jensp e7f5a9a2ad 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
2017-05-10 15:33:34 +00:00
jensp 1d9af63837 CCM NG/ccm-cms: Working on the ContentTypeRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4719 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 14:00:08 +00:00
jensp b4e69c4626 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
2017-05-10 09:01:34 +00:00
jensp 46f43d069c CCM NG/ccm-cms: Fixes more test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4713 8810af33-2d31-482b-a856-94f89814c4df
2017-05-08 18:04:21 +00:00
jensp fd9e846e84 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
2017-05-08 09:28:20 +00:00
jensp a8ffa958e6 CCM NG/ccm-cms: Some bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4704 8810af33-2d31-482b-a856-94f89814c4df
2017-05-03 18:16:06 +00:00
jensp be5c0739f3 CCM NG/ccm-cms: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4701 8810af33-2d31-482b-a856-94f89814c4df
2017-05-02 13:16:31 +00:00
jensp 2f1341ddc4 CCM NG/ccm-cms: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4700 8810af33-2d31-482b-a856-94f89814c4df
2017-05-02 09:06:52 +00:00
jensp 04acd6a974 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
2017-05-02 09:02:36 +00:00
jensp 367f61312e 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
2017-04-30 11:34:19 +00:00
jensp 87ede0d337 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
2017-04-18 11:05:41 +00:00
jensp e3c9d3c9c9 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
2017-04-17 18:56:03 +00:00
jensp f26744a575 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
2017-04-13 09:36:16 +00:00
jensp cf384c629e 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
2017-04-12 18:37:42 +00:00
jensp 8e45bc0744 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
2017-04-07 18:41:40 +00:00
jensp f72473954a 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
2017-03-29 15:40:58 +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 a18601108a CCM NG/ccm-cms: Deleting items from FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4591 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 12:37:17 +00:00
jensp b2d1eb997f CCM NG/ccm-cms: Sorting for the FolderBrowser.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4588 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 08:41:06 +00:00
jensp 357eb251b1 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
2017-02-21 14:20:32 +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 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 15f5a375b0 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 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 e07bc33549 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
2017-01-26 13:49:35 +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 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
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 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