Commit Graph

713 Commits (ad979b9af555ab85b04b08a1b84e9f17bbef6e47)
 

Author SHA1 Message Date
tosmers cfe7ca44e4 [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
jensp a37785c3c3 CCM NG/ccm-cms: Migration of CMSPermissionsTables to new API (not completly finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4553 8810af33-2d31-482b-a856-94f89814c4df
2017-02-06 18:13:39 +00:00
tosmers 35d91826e4 [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 6d8d26a1c4 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 86e6289a59 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 d00f438bdd 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 809475465a 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 fe4cf824f8 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 647f182943 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 1485a95de1 CCM NG: Some fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4543 8810af33-2d31-482b-a856-94f89814c4df
2017-01-30 18:51:18 +00:00
jensp 2f4b67dc4e 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 c9850d2074 CCM NG: JavaDoc for the recursive permissions behaviour.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4541 8810af33-2d31-482b-a856-94f89814c4df
2017-01-28 14:13:56 +00:00
jensp bc6f135074 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 b69d12fcbc 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 904ec94c2d 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 de2b33fcd6 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 f8ae2e1bd3 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 cf0e6ab432 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 7f5772800a 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 3ebcde0b8c 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 f48baf8f13 [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 d02ea70d31 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 875950167a 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 68eef5082e 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
jensp 4b55b68c2e CCM NG/ccm-cms: BrowsePane migrated to NG APIs
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4527 8810af33-2d31-482b-a856-94f89814c4df
2017-01-20 16:38:39 +00:00
tosmers 7dc8b757cc [UPDATE]
- adds modified files for import testing
- adds annotations @RequestScoped and @Marshals(<classname>) to all Marshaller classes
- adds annotation @JsonIgnore to getter in LocalizedString.java

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4526 8810af33-2d31-482b-a856-94f89814c4df
2017-01-19 20:47:31 +00:00
jensp a22c7a67c7 CCM NG/ccm-cms: ItemSearchPane now compiles (but will not work yet).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4524 8810af33-2d31-482b-a856-94f89814c4df
2017-01-18 16:27:42 +00:00
jensp 5da5d5bd55 CCM NG/ccm-cms: RoleAdminPane ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4523 8810af33-2d31-482b-a856-94f89814c4df
2017-01-18 13:31:21 +00:00
jensp 2a54e8080f CCM NG/ccm-cms: ReportPane in ContentSectionPage enabled
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4522 8810af33-2d31-482b-a856-94f89814c4df
2017-01-17 09:54:58 +00:00
jensp c762774d81 CCM NG/ccm-cms: ReportPane migrated to CCM NG. Works now with all supported database systems.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4521 8810af33-2d31-482b-a856-94f89814c4df
2017-01-17 08:49:53 +00:00
jensp 4f0be36931 CCM NG/ccm-cms: First part of migration the ReportPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4520 8810af33-2d31-482b-a856-94f89814c4df
2017-01-16 20:03:20 +00:00
jensp a35b87e3ac CCM NG/ccm-cms: ContentSoonExpiredPage migrated to new API
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4519 8810af33-2d31-482b-a856-94f89814c4df
2017-01-14 16:44:23 +00:00
jensp b6d58a0d3e CCM NG: Some cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4518 8810af33-2d31-482b-a856-94f89814c4df
2017-01-13 13:47:57 +00:00
jensp 652a8744d0 CCM NG: ContentItem Page ported
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4517 8810af33-2d31-482b-a856-94f89814c4df
2017-01-13 13:19:02 +00:00
jensp c27677b408 CCM NG: Current progress of the migration of the UI for ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4516 8810af33-2d31-482b-a856-94f89814c4df
2017-01-11 18:35:23 +00:00
baka 8a204974e7 Adds CategoryIteratorListModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4515 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 18:15:55 +00:00
baka 0bed016074 Adds CategoryBaseForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4514 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 17:57:35 +00:00
tosmers 1e92bef7ca [UPDATE]
- adds @Transitional annotation to all marshaller implementations-
- updates export test data

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4513 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 16:45:54 +00:00
baka 9924df76ee SVN mess 3rd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4512 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 16:11:42 +00:00
baka 9d325d17ea SVN mess 2nd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4511 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 16:05:19 +00:00
baka 6b5da7ae45 SVN mess
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4510 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 15:45:54 +00:00
baka bc4303dc0a Refactoring of already working files.
Also adds new comments

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4509 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 15:43:52 +00:00
baka a78f8434d3 Adds all missing classes for category ui
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4508 8810af33-2d31-482b-a856-94f89814c4df
2017-01-05 14:28:14 +00:00
jensp 0088bc7312 CCM NG/ccm-cms: ItemSearch UI now uses CCM NG APIs
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4503 8810af33-2d31-482b-a856-94f89814c4df
2016-12-23 19:50:57 +00:00
tosmers a940dbf8e9 [UPDATE]
- switches json's back-managed references on every attribute in each exportable class

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4496 8810af33-2d31-482b-a856-94f89814c4df
2016-12-20 19:27:21 +00:00
jensp 25161c8f04 CCM NG: Current progress of porting the ItemSearch forms to NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4495 8810af33-2d31-482b-a856-94f89814c4df
2016-12-20 18:37:35 +00:00
jensp 6b1f80cfaa CCM NG: Hibernate Search annotations for CcmObject, ContentItem and some associated objects
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4494 8810af33-2d31-482b-a856-94f89814c4df
2016-12-20 09:06:40 +00:00
jensp d8c2372208 CCM NG: Fixed bugs in dispatcher code
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4493 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 20:51:26 +00:00
jensp 51b7fda4bd CCM NG: DB Migration fix
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4492 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 19:13:24 +00:00
jensp 55184d5686 CCM NG: Missing DB migrations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4491 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 19:05:36 +00:00