Commit Graph

51 Commits (5fb80631c9c8002240e12e9dfe809c95058b3fe7)

Author SHA1 Message Date
tosmers 5fb80631c9 [FEATURE]
- adds implementation of abstract marshaller class to every exportable class
- adds interface tag 'Portable' to each class with wishes of being ex- or imported


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4448 8810af33-2d31-482b-a856-94f89814c4df
2016-11-21 17:39:45 +00:00
jensp e54ef0e7a8 CCM NG: Updated Maven plugin for PMD to latest version
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4438 8810af33-2d31-482b-a856-94f89814c4df
2016-11-14 18:54:34 +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 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
tosmers 5015534bea adds testfiles to filePortationTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4144 8810af33-2d31-482b-a856-94f89814c4df
2016-06-07 14:54:17 +00:00
jensp 15571d4bbe CCM NG: Adjusted several poms and tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4072 8810af33-2d31-482b-a856-94f89814c4df
2016-05-13 15:18:46 +00:00
tosmers 92c2960441 - adds functioning test for ex- and import of a docrepo.file example
- export and import are therefore, as of initial testing results, functioning as expected

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4027 8810af33-2d31-482b-a856-94f89814c4df
2016-04-25 17:27:43 +00:00
tosmers 62b377fbe8 modofies sql deletes for docrepo to ensure correct constraint integrityk
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4026 8810af33-2d31-482b-a856-94f89814c4df
2016-04-25 14:19:07 +00:00
tosmers a5a11848a5 bugfixes more or less for FilePortationTest in DocRepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4017 8810af33-2d31-482b-a856-94f89814c4df
2016-04-18 20:48:12 +00:00
tosmers 34bcae0a8b test for file creation in docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4015 8810af33-2d31-482b-a856-94f89814c4df
2016-04-18 11:33:09 +00:00
jensp ca72a68542 CCM NG:
- Change in ccm-docrepo for compatibility with Wildfly 10
    - removed scope for hibernate libraries to provided (Wildfly provides them)
    - moved classes related to user management in ccm-core com.arsdigita.ui.admin.usersgroupsroles to subpackage
    - first part of UI for Group management for Admin application


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3989 8810af33-2d31-482b-a856-94f89814c4df
2016-04-13 15:37:46 +00:00
jensp 50e0809c4f CCM NG:
- Removed @StartUp annotation from OneTimeAuthTokenCleaner. With this 
  annotation this EJB is initalized *before* the schema migrations have been 
  applied. Because the init method of the bean accesses the database that 
  causes the whole deployment to fail if it is a fresh installation
- Added saxon library to the dependencies for the test profiles in ccm-docrepo


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3983 8810af33-2d31-482b-a856-94f89814c4df
2016-04-11 19:59:26 +00:00
tosmers ad1ec92626 test problems with docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3982 8810af33-2d31-482b-a856-94f89814c4df
2016-04-11 15:49:13 +00:00
jensp 4e55d0279e CCM NG: FilePortationTest now deploys without errors
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3977 8810af33-2d31-482b-a856-94f89814c4df
2016-04-07 08:47:09 +00:00
jensp 84e44321e6 CCM NG: Test for doc repo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3976 8810af33-2d31-482b-a856-94f89814c4df
2016-04-06 19:45:50 +00:00
jensp b9397f01b7 CCM NG: OneTimeAuthManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3968 8810af33-2d31-482b-a856-94f89814c4df
2016-03-31 18:12:04 +00:00
tosmers 080dc7c00f changes test for the FileMarshaller and deletes opencsv maven dependency
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3932 8810af33-2d31-482b-a856-94f89814c4df
2016-03-16 18:20:15 +00:00
tosmers 59088cb39a adds 'Entity'Marshaller for every entity class in package docrepo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3928 8810af33-2d31-482b-a856-94f89814c4df
2016-03-16 14:57:36 +00:00
tosmers 465029c738 main structure of the AbstractMarshaller is done and contains allready the case for XML. Now it just has to be tested...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3914 8810af33-2d31-482b-a856-94f89814c4df
2016-03-09 16:50:26 +00:00
tosmers dbd7af3c4d Central Marhsaller implementation for the exportation is donesvn update
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3913 8810af33-2d31-482b-a856-94f89814c4df
2016-03-09 13:05:28 +00:00
tosmers 99eac14ed5 some stuff in portation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3893 8810af33-2d31-482b-a856-94f89814c4df
2016-02-24 19:01:41 +00:00
jensp 8e05fe06af CCM NG: Administration UI basic structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3867 8810af33-2d31-482b-a856-94f89814c4df
2016-02-17 19:00:18 +00:00
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
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 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
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
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
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
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
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
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
tosmers a1011154a5 modifies DestinationFolderForm and FileEditForm, adds DocRepoRequestLocal and FileInfoHistoryPane and FileInfoPropertiesPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3759 8810af33-2d31-482b-a856-94f89814c4df
2015-12-02 17:01:25 +00:00
jensp b6cb768993 CCM NG: Removed the javabeans PMD ruleset from the list of checked rulesets
because the rule "BeanMembersShouldSerialize" from this ruleset procduces many 
false positives. Also removed also usages of the transient modifier which 
were only added to various classes to match this rule.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3743 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 12:45:16 +00:00
jensp fb14845775 CCM_NG: New API for authentication and authoriziation using Apache Shiro.
Replaces some classes in org.libreccm.core.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3741 8810af33-2d31-482b-a856-94f89814c4df
2015-11-23 09:37:35 +00:00
tosmers 90e50f80a9 -adds refactored FileEditForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3736 8810af33-2d31-482b-a856-94f89814c4df
2015-11-18 17:34:49 +00:00
tosmers d64753007b adds dependency in org.libreccm.core.user
adds currently finished refactored classes of docrepo

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3735 8810af33-2d31-482b-a856-94f89814c4df
2015-11-18 16:14:34 +00:00
tosmers 63d2f6d51a [UPDATE]
- changes names of NamedQueries from queryName to PackageName.queryName

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3690 8810af33-2d31-482b-a856-94f89814c4df
2015-10-14 15:11:21 +00:00
jensp 56d545d175 CCM NG: Old login app ported to CCM NG including UI. Compiles but is not tested yet!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3673 8810af33-2d31-482b-a856-94f89814c4df
2015-10-08 09:12:25 +00:00
tosmers ba1e89fa76 [FEATURE]
- adds three named queries in ResourceRepository
- adds class annotations for repositories in ResourceRepository
- adds class ResourceManager with the corresponding class annotations
- adds the defined named queries in the class annotation of Resource
- adds some entity constraints in Resource for 'name' and 'path'
- corrects the implementation of the 'isNew'-method in ResourceRepository


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3662 8810af33-2d31-482b-a856-94f89814c4df
2015-10-01 09:58:22 +00:00
jensp 71e97ccb7d CCM NG: Things from the discussion
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3651 8810af33-2d31-482b-a856-94f89814c4df
2015-09-24 14:04:22 +00:00
jensp da809a9fc5 CCM NG:
- Fixed some errors
    - Ported basic servlets and Bebop classes from old code


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3646 8810af33-2d31-482b-a856-94f89814c4df
2015-09-23 16:51:25 +00:00
tosmers 5883127563 [UPDATE]
- provides NamedQueries in Resource.java

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3637 8810af33-2d31-482b-a856-94f89814c4df
2015-09-22 15:47:35 +00:00
tosmers a14a30c688 [FEATURE]
- provides the instance variables with jpa annotations replacing the associations in the ResourceImpl.pdl

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3636 8810af33-2d31-482b-a856-94f89814c4df
2015-09-22 14:29:35 +00:00
tosmers a3f58755bd [UPDATE]
- renames java class ResourceImpl to Resource
- adds java class ResourceRepository


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3635 8810af33-2d31-482b-a856-94f89814c4df
2015-09-22 12:41:38 +00:00
tosmers 5146d1611e [UPDATE]
- adds javadoc to the entity classes of docrepo
- adds missing getter setter to the entity classes of docrepo


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3634 8810af33-2d31-482b-a856-94f89814c4df
2015-09-22 10:17:08 +00:00
jensp e001c43351 CCM NG:
ccm-core:
- Moved package for module system from org.libreccm.core.modules to 
  org.libreccm.modules

ccm-docrepo
- Fixed wrong import for java.sql.Date, should be java.util.Date
- Added a placeholder persistence.xml to avoid error in the ddl generator



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3611 8810af33-2d31-482b-a856-94f89814c4df
2015-09-11 16:47:30 +00:00
tosmers 75ceb5e2ce [UPDATE]
- corrects all identifiers of db-objects to upper case

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3610 8810af33-2d31-482b-a856-94f89814c4df
2015-09-10 17:17:17 +00:00
tosmers 3351579875 [UPDATE]
- corrects mistake in java-doc of Permission.java

[FEATURE]
- adds jpa-classes (BlobObject, File, Folder, RecentUpdatedDocsPortlet, Repository, ResourceImpl) to ccm-docrepo

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3609 8810af33-2d31-482b-a856-94f89814c4df
2015-09-10 16:27:06 +00:00