Commit Graph

223 Commits (bd4bf615f3670f7229d13f4c577540f5b492c5ef)
 

Author SHA1 Message Date
tosmers bd4bf615f3 [FEATURE]
- adds the base structure for the new second version of the exporter/importer routine
- the abstract super class for the objectentities, the enum for possible fomats and the marshal itself for im-/exporting list of objects
- adds a first implementation of the AbstractResourceMarshal for extending the abstact super 'AbstactMarshal'

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3850 8810af33-2d31-482b-a856-94f89814c4df
2016-02-10 18:30:13 +00:00
tosmers 0040229a9d [UPDATE]
- deletes the previous versions of exporter and importer in package core
- modifies pom for use of jackson libraries

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3849 8810af33-2d31-482b-a856-94f89814c4df
2016-02-10 15:47:16 +00:00
jensp d6114efcf7 CCM NG: Some work on the login form.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3848 8810af33-2d31-482b-a856-94f89814c4df
2016-02-08 18:15:46 +00:00
jensp 22dd841c11 CCM NG: Login Form now shows up
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3844 8810af33-2d31-482b-a856-94f89814c4df
2016-02-06 11:12:35 +00:00
jensp 3321f09481 CCM NG: Todays results of the getting Bebop running in CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3843 8810af33-2d31-482b-a856-94f89814c4df
2016-02-05 19:08:35 +00:00
jensp c21ab1e5d7 CCM NG: Today's result of getting Bebop running in a full Java EE environement
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3842 8810af33-2d31-482b-a856-94f89814c4df
2016-02-04 14:47:05 +00:00
jensp 4527595438 CCM NG: Cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3840 8810af33-2d31-482b-a856-94f89814c4df
2016-02-03 19:03:24 +00:00
jensp f446d50fc7 CCM NG: Todays progress of getting Bebop running in full Java EE 7 environment
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3839 8810af33-2d31-482b-a856-94f89814c4df
2016-02-03 19:00:18 +00:00
tosmers 9b6c50fd8a [UPDATE]
- modifies the jpa strukture of Resource-File-Folder in the package docrepo

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3838 8810af33-2d31-482b-a856-94f89814c4df
2016-02-03 12:44:59 +00:00
jensp e1f6a45065 CCM NG: Changed constant name for path of admin servlet from ADMIN_SERVLET to ADMIN_SERVLET_PATH
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3836 8810af33-2d31-482b-a856-94f89814c4df
2016-02-02 08:29:16 +00:00
jensp d2bfec2a1b CCM NG: Setup for registry
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3835 8810af33-2d31-482b-a856-94f89814c4df
2016-02-02 08:28:11 +00:00
jensp 34907dfe89 CCM NG: Several small changes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3832 8810af33-2d31-482b-a856-94f89814c4df
2016-01-31 10:13:46 +00:00
jensp 3be60416f8 CCM NG: Bundles are now EARs (necssary because otherwise JPA does not support entities in multiple JARs, see JSR-338, page 366f). Also the Foundry theming engine is now provided by its own Maven module.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3829 8810af33-2d31-482b-a856-94f89814c4df
2016-01-27 19:16:43 +00:00
tosmers 75ab72085a [UPDATE]
- adds Manager and Repository for both File and Folder classes in DocRepo
- changed class definition of Resource, ResourceManager and ResourceRepository to abstract

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3828 8810af33-2d31-482b-a856-94f89814c4df
2016-01-27 15:54:52 +00:00
jensp 2c72eb379c CCM NG: Basic structure for Arquillian tests in ccm-docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3826 8810af33-2d31-482b-a856-94f89814c4df
2016-01-27 07:23:35 +00:00
jensp 73eef4aeb0 CCM NG: Split class ConfigurationManager into smaller classes to reduce complexity.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3825 8810af33-2d31-482b-a856-94f89814c4df
2016-01-24 15:49:19 +00:00
jensp cc7889143c CCM NG: All tests in ccm-core now pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3824 8810af33-2d31-482b-a856-94f89814c4df
2016-01-23 18:13:28 +00:00
jensp 53670572b2 CCM NG: Some fixes necessary because of the new configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3823 8810af33-2d31-482b-a856-94f89814c4df
2016-01-22 19:35:20 +00:00
tosmers 1afb8348ed [FEATURE]
- adds implementation for the ObjectImporter
- changes name for the im-/exporter business from exchange to portation
  (the package name)
- adds implemtation of ObjectImporter for the File in DocRepo
- adds build dependancy for DocRepo
- removes non-compilable stuff of DocRepo
  (necessary so the tests in docrepo can be compiled before running)
- adds testclass for the FileExporter and FileImporter (last not functioning yet)

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3810 8810af33-2d31-482b-a856-94f89814c4df
2016-01-20 19:08:33 +00:00
jensp 54f8c657f7 CCM NG: Finished migiration to new configuration system. Now all jUnit tests have to be checked.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3809 8810af33-2d31-482b-a856-94f89814c4df
2016-01-20 18:44:11 +00:00
jensp 127ff16e59 CCM NG: TemplatingConfig migrated to new configuration system, WebConfig almost migrated
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3807 8810af33-2d31-482b-a856-94f89814c4df
2016-01-19 19:08:51 +00:00
jensp 1a3367bbed CCM NG: Some formatting and cleanup for the new configuration classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3802 8810af33-2d31-482b-a856-94f89814c4df
2016-01-15 18:57:17 +00:00
jensp a1bef5b73f CCM NG:
- Migrated MailConfig and XmlConfig to new configuration system
    - Replaced StringJoiner to several toString methods with collection.stream().collect and Collectors#joining    


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3797 8810af33-2d31-482b-a856-94f89814c4df
2016-01-14 18:17:44 +00:00
jensp 05102e0269 CCM NG: Migrated DispatcherConfig and GlobalizationConfig to the new configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3796 8810af33-2d31-482b-a856-94f89814c4df
2016-01-14 13:47:16 +00:00
jensp d1251b5fc0 CCM NG: Migrated BebopConfig to new configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3795 8810af33-2d31-482b-a856-94f89814c4df
2016-01-14 09:14:28 +00:00
tosmers 3ce721d6e3 [UPDATE]
- changes the structure of the abstract methods of the ObjectExporter
- corrects the overriding methods in the ResourceExporter

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3794 8810af33-2d31-482b-a856-94f89814c4df
2016-01-13 18:44:35 +00:00
jensp 361ba65ed8 CCM NG: Migrated more configuration classes to the new system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3793 8810af33-2d31-482b-a856-94f89814c4df
2016-01-13 18:11:56 +00:00
tosmers b35e44a867 [FEATURE]
- adds dependency for 'com.opencsv' to parent-pom.xml and core-pom.xml
- adds package exchange to ccm-core for the export-import-routines
- adds class ObjectExporter to the exchange-package for the basic export-functionalities
- adds dummy package docrepo.exchange.exporter into the exchange package of core
- adds ResourceExporter to the dummy package for implementation of the abstact methods of the ObjectExporter

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3792 8810af33-2d31-482b-a856-94f89814c4df
2016-01-13 16:58:46 +00:00
jensp 97567275e2 CCM NG: Part of the ongoing migration to a database based configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3790 8810af33-2d31-482b-a856-94f89814c4df
2016-01-12 19:08:08 +00:00
jensp c024ac5593 CCM NG: Tested #equals, #hashCode and #toString of new KernelConfig class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3787 8810af33-2d31-482b-a856-94f89814c4df
2016-01-12 11:06:04 +00:00
jensp cdc61894c6 CCM NG: Some fixes for the new Configuration system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3780 8810af33-2d31-482b-a856-94f89814c4df
2016-01-11 17:39:32 +00:00
jensp 712e5c3a4e CCM NG: Some cleanup, and new KernelConfig class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3779 8810af33-2d31-482b-a856-94f89814c4df
2016-01-11 14:19:56 +00:00
jensp aaf0b053d3 CCM NG: One test in CategoryManagerTest failed when executed after other tests because the hibernate_sequence sequence in the database was not reset between tests.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3778 8810af33-2d31-482b-a856-94f89814c4df
2015-12-19 09:18:05 +00:00
jensp 6a2ce5a0dc CCM NG: Refactored some code to comply to FindBugs and PMD
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3777 8810af33-2d31-482b-a856-94f89814c4df
2015-12-18 18:57:58 +00:00
jensp dabb99d46f CCM NG: Database based configuration now passes all test cases. Not all planned features are yet implemented and tested (for example application instance specific configurations). They will be implemented and tested when they are needed.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3776 8810af33-2d31-482b-a856-94f89814c4df
2015-12-18 15:35:48 +00:00
jensp 4b5a227772 CCM NG: More test cases for the new database driven category system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3775 8810af33-2d31-482b-a856-94f89814c4df
2015-12-17 14:07:40 +00:00
tosmers 06e342af0c CCM_NG - docrepo
- adds additional classes from docrepo to ccm_ng
- adds two classes with massive errors, sorry, was necessary

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3774 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 21:58:47 +00:00
jensp 66048bf198 CCM NG: Some modifications to the configuration classes and first test cases
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3773 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 19:19:12 +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
tosmers 5b1121e264 CCM_NG - docrepo
- removed the CdiLookupExceptions
- added db.notfound.file/folder/resources to the Resources.properties

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3771 8810af33-2d31-482b-a856-94f89814c4df
2015-12-16 15:03:45 +00:00
jensp 3f27e09a84 CCM NG: Several changes:
- Replaced CdiLookupException with IllegalStateException. IllegalStateException
  is a RuntimeException, therefore it is not necessary to catch the exception. 
  An error in the findBean method usually is not recoverable, therefore it is 
  not necessary to use a checked exception.
- Removed several uses of UncheckedWrapperException
- CategoryRepository and CategoryManager are now implemented (not completetly 
   yet) and have tests.
- Changed value field of EnumConfigurationEntry from List to Set to avoid 
  duplicate entries.



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3770 8810af33-2d31-482b-a856-94f89814c4df
2015-12-15 18:56:27 +00:00
jensp e743e052ff CCM NG:
- Some cleanup
    - Entities for the new database based configuration system


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3768 8810af33-2d31-482b-a856-94f89814c4df
2015-12-11 19:26:03 +00:00
jensp 576d28a8ce CCM NG:
- Cleanup ccm-core:org.libreccm.core: Removed unused classes (those replaced by 
  org.libreccm.security)
- Modified org.libreccm.security.PermissionChecker: 
    - #checkPermission(String, CcmObject) does not longer return the object, 
      when the current user is permitted to access the object.
    - new method #checkPermission(String, CcmObject, Class) checks for 
      permission to access the object and returns the object or a virtual 
      "Access denied" object (like SecuredCollection).
- "Access denied" string is provided as a constant by org.libreccm.core.CoreConstants


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3767 8810af33-2d31-482b-a856-94f89814c4df
2015-12-11 13:05:46 +00:00
tosmers e1ad4b4347 adds filePropertiesPanel to DocRepo and modifies minor stuff
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3766 8810af33-2d31-482b-a856-94f89814c4df
2015-12-10 00:17:46 +00:00
jensp c54956d642 CCM NG: More work to get CCM NG running
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3765 8810af33-2d31-482b-a856-94f89814c4df
2015-12-08 16:51:01 +00:00
jensp 3914360c48 CCM NG:
- Some changes in the integration tests in ccm-core. Due to association added 
  between Workflow and Role added in revision r3763 it is necssary to include 
  the org.libreccm.workflow package in these tests.
- Renamed the ccm-bundle-devel to ccm-bundle-devel-swarm to indicate that the 
  using Wildfly Swarm
- Created a ccm-devel-bundle-wildfly module which builds a WAR for Wildfly


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3764 8810af33-2d31-482b-a856-94f89814c4df
2015-12-07 19:22:18 +00:00
jensp 6066ea22a2 CCM NG: Removed associations to User and Group from the UserTask and replaced them with an association to Role.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3763 8810af33-2d31-482b-a856-94f89814c4df
2015-12-04 17:42:02 +00:00
jensp d043fbea56 CCM NG: Documentation for ccm-core:org.libreccm.security
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3762 8810af33-2d31-482b-a856-94f89814c4df
2015-12-04 14:53:43 +00:00
jensp bf5ddceda7 CCM NG:
- CCMDispatcherServlet now mapped to /ccm/ *and* /index.html to replace old index.jsp file. Logic from index.jsp moved to
      CCMDispatcherServlet#doService.
    - Integrated static default theme resources into ccm-devel-bundle


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3761 8810af33-2d31-482b-a856-94f89814c4df
2015-12-03 14:20:50 +00:00
tosmers 3eabef48d9 some minor changes in docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3760 8810af33-2d31-482b-a856-94f89814c4df
2015-12-02 18:35:05 +00:00