- 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
- 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
- User registration and password recover now work
- Improvements for ChallengeManager
- Groups and roles assigned to a user are now shown in in the user details view
- Groups assigned to a user can be edited
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3981 8810af33-2d31-482b-a856-94f89814c4df
- Forms for Login, including new password recover form and account activation form
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3974 8810af33-2d31-482b-a856-94f89814c4df
- Further work on the admin UI
- Refactored the GlobalizationHelper to use CDI for getting the current request. Also cleaned up the code.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3892 8810af33-2d31-482b-a856-94f89814c4df
- Login now works
- CdiUtil now uses JNDI to lookup CDI BeanManager because that works more reliable.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3862 8810af33-2d31-482b-a856-94f89814c4df
Also this commits adds the DefaultEntityGraph annotation which allows it to name a (named) EntityGraph which should be applied by default to when the entity is loaded from the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3859 8810af33-2d31-482b-a856-94f89814c4df
- Added UUID field to CcmObject
- Added interface Identifiable. All entities which are identifiable via a UUID (which will be all "root" entities) will implement this interface directly or indirectly.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3854 8810af33-2d31-482b-a856-94f89814c4df
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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