- Migrated more EqualsAndHashCode tests
- Also added methods to add suppress warning statements and prefab values to the EqualsVertifier from the ccm-testutils module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4068 8810af33-2d31-482b-a856-94f89814c4df
- 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
- Users which register using the login app are now added to the group "registered-users" (which is created if not existing)
- Logic for user registration moved the ccm-core/org.libreccm.security.RegistrationManager
- Some JavaDoc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4019 8810af33-2d31-482b-a856-94f89814c4df
- Split up code for the UserAdmin class into several smaller classes
- All classes (forms, tables, models, modelbuilders) which are only intented to be used by UserAidmin, GroupAdmin and RoleAdmin are only accessible from the package
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4018 8810af33-2d31-482b-a856-94f89814c4df
- 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
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
- Corrected some typos in the Archetype for content types
- Changed group ids of cms related stuff to org.librecms
- Some more base entities for content items
- Entities and base structure for ccm-cms-types-article
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3698 8810af33-2d31-482b-a856-94f89814c4df
- 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
- 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
- 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
- Some (general) documentation about the module system
- Removed obsolete profiles from testing documentation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3612 8810af33-2d31-482b-a856-94f89814c4df
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
- Some work on the module system, especially on install and init
- Removed some hardcoded strings (replaced with constants)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3603 8810af33-2d31-482b-a856-94f89814c4df
- DependencyTreeManager finished and tested
- AuditReaderProducer for producing and AuditReader which can be injected via CDI
- Added some of the old com.arsdigita classes to the excludes for PMD
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3570 8810af33-2d31-482b-a856-94f89814c4df
- Abstract base class for repositories for audited entities (using Envers)
- First part for the reworked load (or better install) and init part for LibreCCM NG. Needs to be tested and is not finished.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3566 8810af33-2d31-482b-a856-94f89814c4df
- Some code cleanup
- PrivilegeRepository for creating and deleting permissions
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3540 8810af33-2d31-482b-a856-94f89814c4df
- Excluded some of the old com.arsdigita classes from FindBugs and PMD to keep the reports clear so that we can focus on the
new org.libreccm classes and the important com.arsdigita classes
- PermisssionRepository and tests. PermissionRepository will provided some maybe offer more queries.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3537 8810af33-2d31-482b-a856-94f89814c4df
- LoginManager finished, works now
- Utility class for looking up CDI beans in classes which are not eligible for injection
- Some clean up (removing FindBugs and PMD warnings)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3528 8810af33-2d31-482b-a856-94f89814c4df
- Removed custom repository for hibernate4-ddl-maven-plugin because the
plugin is now available at Maven Central
- Added JDepend report
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@3525 8810af33-2d31-482b-a856-94f89814c4df