Compare commits

..

1767 Commits

Author SHA1 Message Date
Jens Pelzetter e94bc51c8e Fix item permissions function added 2023-07-25 20:16:02 +02:00
Jens Pelzetter edd4727b9a Some bugfixes for FixItemPermissions tool 2023-07-13 21:14:03 +02:00
Jens Pelzetter 7cea45560a Some code formattig, added function for fixing item and asset permissions (sometimes they are not correctly inherited from the folder. 2023-07-12 21:08:18 +02:00
Jens Pelzetter 4251fd1df9 Several bugfixes for models 2023-06-03 17:27:53 +02:00
Jens Pelzetter b174fe4b75 CategoryModel now provides link for category 2023-05-29 17:46:45 +02:00
Jens Pelzetter e7cebdd9ff Some bugfixes for the pages controller 2023-05-25 20:48:38 +02:00
Jens Pelzetter 5089929d00 Some bugfixes for the category model 2023-05-20 18:52:44 +02:00
Jens Pelzetter e228dc98ec Some bugfixes and improvements for the PageUrlModel 2023-05-15 19:17:52 +02:00
Jens Pelzetter 7e023cfaa9 Several small bug fixes 2023-05-13 17:55:18 +02:00
Jens Pelzetter 06922b6425 Bugfix for StaticThemeProvider: Regex for filtering themes was missing some characters 2023-04-29 15:01:14 +02:00
Jens Pelzetter d6d3f232bb Keep NPM module versions in sync with Maven module versions 2023-04-25 19:34:57 +02:00
Jens Pelzetter 407a2276bf Forget to adapt one module 2023-04-24 20:25:44 +02:00
Jens Pelzetter d1ce56bb03 Another typo 2023-04-24 20:08:40 +02:00
Jens Pelzetter a27fa76d08 Typo 2023-04-24 20:06:30 +02:00
Jens Pelzetter ad1686e63d Added change for NPM to all modules deploying NPM modules 2023-04-24 20:03:42 +02:00
Jens Pelzetter 0399809641 Set package.json version from Maven 2023-04-24 19:51:36 +02:00
Jens Pelzetter 516ef5fc94 Don't publish NPM packages during build 2023-04-23 11:53:37 +02:00
Jens Pelzetter 8745d31cad Increase prerelase number for NPM packages 2023-04-23 11:47:11 +02:00
Jens Pelzetter 99bc44aeea Another attempt 2023-04-23 11:15:00 +02:00
Jens Pelzetter 368e5f4303 Trying to force NPM package publishing 2023-04-23 10:59:05 +02:00
Jens Pelzetter b02f1a8e5c Remove protocol from auth token lines 2023-04-22 19:59:26 +02:00
Jens Pelzetter 78c0968b11 Set auth-type=legacy in libreccm.npmrc 2023-04-22 19:51:13 +02:00
Jens Pelzetter 0add575696 Typo in libreccm.npmrc (missing slash at end of registry URL) 2023-04-22 19:42:19 +02:00
Jens Pelzetter f06115095d Another try 2023-04-22 18:11:09 +02:00
Jens Pelzetter 165a3e3745 Another try to get NPM publishing working 2023-04-22 18:02:06 +02:00
Jens Pelzetter 03fe58ea78 Another try to get package publishing to Gitea for NPM packages working 2023-04-22 17:47:54 +02:00
Jens Pelzetter 0c0019b4b0 Typo in libreccm.npmrcTypo in libreccm.npmrcTypo in libreccm.npmrcTypo in libreccm.npmrcTypo in libreccm.npmrcTypo in libreccm.npmrcTypo in libreccm.npmrcTypo in libreccm.npmrc 2023-04-22 17:34:45 +02:00
Jens Pelzetter 530f5e7e03 Still tryping to fix publish problem with NPM 2023-04-22 17:24:27 +02:00
Jens Pelzetter 11a2d889c4 change to libreccm.npmrc to fix build failure 2023-04-22 17:20:05 +02:00
Jens Pelzetter b70f35c873 Typo in libreccm.npmrc 2023-04-22 16:54:04 +02:00
Jens Pelzetter 860e33090f Typo in Jenkinsfile 2023-04-22 15:23:14 +02:00
Jens Pelzetter ea2b3db7b1 Updated npmrc to deploy to git.libreccm.org 2023-04-17 20:01:57 +02:00
Jens Pelzetter 60cca47522 Updated pom.xml to use the LibreCCM Gitea instance as package repository. 2023-04-17 19:55:49 +02:00
Jens Pelzetter 77b59d9a6e Added token for deploying packages to git.libreccm.org to Jenkinsfile 2023-04-17 19:49:57 +02:00
Jens Pelzetter 51a639422a Some performance improvement 2023-03-23 14:21:08 +01:00
Jens Pelzetter 3463bb7f4d Fixed some bugs in importers and in the Categorization step 2023-03-21 17:58:42 +01:00
Jens Pelzetter 1701551fbc Fixed dependencies for DomainOwnership import 2023-03-20 18:58:54 +01:00
Jens Pelzetter cee7b5536b Fixed some NPEs 2023-03-13 21:16:32 +01:00
Jens Pelzetter d41a372ef3 Improved query for retrieving content sections 2023-03-11 19:40:48 +01:00
Jens Pelzetter fe74176563 Fixed missing JSONIdentityInfo for AttachmentList 2023-02-26 09:32:29 +01:00
Jens Pelzetter 97afa16b46 Simplifed DB table structure 2023-02-24 20:04:38 +01:00
Jens Pelzetter 9184050986 Some small bugfixes for import 2023-02-22 20:02:33 +01:00
Jens Pelzetter b5761464eb Don't use placeholders when importing categories and folders. 2023-02-19 13:44:24 +01:00
Jens Pelzetter 69c5d4a71f Added missing dependency for PhaseImExporter 2023-02-18 16:30:45 +01:00
Jens Pelzetter e150bd2509 Several bugfixes 2023-02-16 20:57:36 +01:00
Jens Pelzetter 9f6937352c Added missing qualifiers 2023-02-06 20:26:19 +01:00
Jens Pelzetter 65173d3d29 Added missing dependencies 2023-02-06 20:07:53 +01:00
Jens Pelzetter b7114e175b Make join column for person not null. 2023-02-06 19:35:56 +01:00
Jens Pelzetter 6a8f59d663 Copied corrections to migrations for H2 database. 2023-01-31 20:25:59 +01:00
Jens Pelzetter 7fef6ce945 Some more typos 2023-01-31 20:10:53 +01:00
Jens Pelzetter 974caad459 Another typo 2023-01-31 19:58:37 +01:00
Jens Pelzetter f843543722 Another typo 2023-01-31 19:46:47 +01:00
Jens Pelzetter 0f54e73fba Another typo 2023-01-31 19:34:02 +01:00
Jens Pelzetter 957b7bb68b Fixed typos in migration 2023-01-31 19:09:05 +01:00
Jens Pelzetter f0ececa3b5 Fix primary key for localized string tables 2023-01-30 19:58:21 +01:00
Jens Pelzetter 77272549a0 Fixed a typo 2023-01-29 14:17:23 +01:00
Jens Pelzetter 8f77d0726e Fixed problem with PersonNames when importing Persons 2023-01-29 13:02:46 +01:00
Jens Pelzetter 67078ab385 Changed handling of PersonName entity 2023-01-29 11:09:34 +01:00
Jens Pelzetter 38851e6783 Removed wrong migrations 2023-01-28 20:06:03 +01:00
Jens Pelzetter 9ecb2b9278 Typo in migrations 2023-01-28 19:53:11 +01:00
Jens Pelzetter e9d9fdcbb9 Fixing migration problem 2023-01-28 19:40:58 +01:00
Jens Pelzetter e2b59d27ee Fixed a typo in the DB migration 2023-01-28 19:16:28 +01:00
Jens Pelzetter 35db22cd36 Fixed a typo in the DB migration 2023-01-28 19:15:51 +01:00
Jens Pelzetter 1b10e695b7 PersonNames is no longer an embeddedable entity. 2023-01-28 17:27:39 +01:00
Jens Pelzetter 6e1f390a34 Added some more logging to assist with debugging 2023-01-28 12:27:21 +01:00
Jens Pelzetter 13cead79e9 Fixed issues in toString implementations of some entities 2023-01-28 11:50:45 +01:00
Jens Pelzetter 2b69afa469 Separate log entries for imported entities by a blank line 2023-01-28 11:41:13 +01:00
Jens Pelzetter 2c7c9e302c Optimized ImExporter entity handling 2023-01-28 10:59:47 +01:00
Jens Pelzetter a9f10cf0ab Missing @Transactional annotation added 2023-01-28 10:26:24 +01:00
Jens Pelzetter 9966f30c9a Flushing the entity manager. 2023-01-28 08:13:09 +01:00
Jens Pelzetter 8e00655c23 Fixed a typo 2023-01-26 20:00:24 +01:00
Jens Pelzetter 321d5b0337 Fixing a NPE. 2023-01-26 19:33:01 +01:00
Jens Pelzetter 677a187618 Changed transaction handling for importing entities. 2023-01-26 19:17:20 +01:00
Jens Pelzetter 4b6bd259eb Changed transaction handling for ImExporters 2023-01-26 19:02:50 +01:00
Jens Pelzetter 9a6fcf8804 Updated some CDI annotations. 2023-01-24 20:32:47 +01:00
Jens Pelzetter 35a1e712f7 Removed some more final modifiers 2023-01-24 20:00:54 +01:00
Jens Pelzetter f9fe016c3f Removed some more final modifiers 2023-01-24 19:36:54 +01:00
Jens Pelzetter c3e90a27e1 Removed another final modifier 2023-01-24 19:22:03 +01:00
Jens Pelzetter 0d00794ffb Removal of final modifier from a method since that prevents CDI from
proxying the bean.
2023-01-24 19:03:25 +01:00
Jens Pelzetter be6abc17cb Additional annotation for CDI inject 2023-01-24 18:45:53 +01:00
Jens Pelzetter ca87bcb6af Cleanup and fixed some potential problems. 2023-01-23 20:57:31 +01:00
Jens Pelzetter 55b2f6c6ba Fixed problems with importing assets 2023-01-19 19:46:01 +01:00
Jens Pelzetter 69bcf4c8f6 Updated ImExporters for content items 2023-01-18 19:31:48 +01:00
Jens Pelzetter b3f66535a4 Fixed some typos and added missing calls to save method of responsible
repository.
2023-01-17 19:53:00 +01:00
Jens Pelzetter a2dc05f665 Updated some ImExporter to implement new interface 2023-01-17 19:32:43 +01:00
Jens Pelzetter 4587f8b266 Updated ImExporter for assets to implement new abstract methods 2023-01-14 16:43:40 +01:00
Jens Pelzetter e7e5b50b60 Conf examples 2023-01-14 16:43:28 +01:00
Jens Pelzetter ed4907472a Removed unused imports 2023-01-14 16:43:13 +01:00
Jens Pelzetter f7e8d2f957 ImExporters from ccm-docrepo now implement new interface 2023-01-12 20:39:25 +01:00
Jens Pelzetter ef34c2b7f8 Updated all ImExporters of ccm-core to implment new interface 2023-01-12 19:35:17 +01:00
Jens Pelzetter 610b050ac5 Some fixes for import 2023-01-12 19:01:03 +01:00
Jens Pelzetter 3a9a065f50 ImExporters update (will not compile yet!) 2023-01-11 20:08:27 +01:00
Jens Pelzetter 4d4cda372c Make CcmObject resolver fault tolerant 2022-12-24 16:04:13 +01:00
Jens Pelzetter c17d2b40db Improved query 2022-12-24 16:00:54 +01:00
Jens Pelzetter 56cdbaa03b Additional query method 2022-12-24 14:11:18 +01:00
Jens Pelzetter 2cfbfc80ea Adding some more logging for importing entities 2022-12-11 12:21:03 +01:00
Jens Pelzetter dfb25f0d38 Output entity type when starting to import entities of a type 2022-12-10 21:11:35 +01:00
Jens Pelzetter 9330316c49 Using correct query for retrieving ContactableEntity assets. 2022-12-10 15:50:10 +01:00
Jens Pelzetter 28f5fd53f5 Create placehoders for organizations not found in the database 2022-12-06 19:49:00 +01:00
Jens Pelzetter 347f614c2d Add missing @Cascade annotiation 2022-12-06 19:14:27 +01:00
Jens Pelzetter 22eb87f75b Only import contact entry keys once 2022-12-04 11:52:09 +01:00
Jens Pelzetter 8bef2bb784 Code cleanup 2022-12-03 18:06:44 +01:00
Jens Pelzetter 38dae9a6bf Improved im/export for contact entries (?) 2022-12-03 17:25:36 +01:00
Jens Pelzetter 2c18d9f77b Added missing @PostConstruct annotation 2022-12-01 20:40:25 +01:00
Jens Pelzetter 87e32f6657 Serializier and Deserializer for Jackson processing ContactEntryKeys 2022-12-01 20:26:32 +01:00
Jens Pelzetter f8056cb421 Serializer and Deserializer for java.sql.Blob for Jackson 2022-12-01 19:08:38 +01:00
Jens Pelzetter 57a6f73e9b A string field is sufficient for storing the MimeType 2022-11-30 20:54:23 +01:00
Jens Pelzetter 8728b2f853 Jackson serializer and deserializer for Java MimeType class 2022-11-30 20:20:44 +01:00
Jens Pelzetter 7b178f030c Import should not fail if JSON contains unknown properties. 2022-11-30 19:41:33 +01:00
Jens Pelzetter 2533c16196 Fixed a bug in AssetRepository 2022-11-29 20:07:33 +01:00
Jens Pelzetter 5c140fd98f Some missing IdResolvers, added scope attributes to all
@JsonIdentityInfo annoations
2022-11-29 19:35:41 +01:00
Jens Pelzetter 75a499e70d Removed unnecessary @PostConstruct annotiation 2022-11-26 13:29:23 +01:00
Jens Pelzetter f7ce45621f Fixed dependency problem for RelatedLinkImExporter 2022-11-26 11:53:52 +01:00
Jens Pelzetter e066ac358f Im/Exporters for assets 2022-11-24 19:45:43 +01:00
Jens Pelzetter 0cac7545b5 Added missing annotiation 2022-11-07 20:37:28 +01:00
Jens Pelzetter bbf1f5824b Make methods in AbstractEntityImExporter non-final since CDI does not
permit final methods.
2022-11-07 20:24:26 +01:00
Jens Pelzetter b2eca5232d Added missing annotations 2022-11-07 20:07:06 +01:00
Jens Pelzetter cbca30d705 Improved handling of required entities in ImExporters. 2022-11-07 19:18:30 +01:00
Jens Pelzetter 72ee9fe032 Better exceptio handling 2022-11-05 20:33:36 +01:00
Jens Pelzetter 161eff594d Fixed a problem when saving imported Categorizations 2022-11-05 20:06:36 +01:00
Jens Pelzetter caaedc323e Fixed a bug when importing an MultipartArticle 2022-11-05 19:40:27 +01:00
Jens Pelzetter 6dfe7c0a95 Added Jackson for Java 8 Date/Time types 2022-11-05 17:50:01 +01:00
Jens Pelzetter df8fc3f5ab Trying to solve problem with hibernate. 2022-11-05 10:06:46 +01:00
Jens Pelzetter b066a6f12d Transactional annotation added 2022-11-03 19:56:48 +01:00
Jens Pelzetter 73ebb0ba34 Fixed dependencies between AssignableTask and TaskComment for import. 2022-11-03 19:10:03 +01:00
Jens Pelzetter f2149c975a Type field for folder placeholders was empty. 2022-11-01 20:35:50 +01:00
Jens Pelzetter 03ff939dc2 Typo in error message. 2022-10-31 13:02:51 +01:00
Jens Pelzetter 685722f1f4 Added missing dependency for ContentSection in FolderImExporter 2022-10-31 11:33:37 +01:00
Jens Pelzetter 576518ab63 Added missing JsonIdentityReferenceAnnotation 2022-10-31 11:10:56 +01:00
Jens Pelzetter 5c018eb9de Typos in DB migrations 2022-10-31 10:25:33 +01:00
Jens Pelzetter 0acc95ff43 Typo in DB migration 2022-10-31 10:06:51 +01:00
Jens Pelzetter e35af6c74b Made Phase importable 2022-10-31 09:38:43 +01:00
Jens Pelzetter 48965f101d Mising ImExporter for PhaseDefinitions 2022-10-31 08:43:09 +01:00
Jens Pelzetter b59987ba97 Added missing dependencies for LifecycleDefitionImExporter 2022-10-31 08:11:50 +01:00
Jens Pelzetter 35403e3e9c Missing @JsonIdentityInfo added 2022-10-29 17:59:07 +02:00
Jens Pelzetter a45ceb6ffb Type in named query 2022-10-29 17:43:16 +02:00
Jens Pelzetter bf8e592a51 Added UUID to PhaseDefinition 2022-10-29 17:02:49 +02:00
Jens Pelzetter 1f8f89fa91 Fixing dependency cycle 2022-10-29 13:30:06 +02:00
Jens Pelzetter 52680f2423 Dependencies for Lifecyles import 2022-10-29 11:45:25 +02:00
Jens Pelzetter 040a54a8b0 Removed cycle from ImExporter dependencies 2022-10-26 19:24:45 +02:00
Jens Pelzetter cef0e6602d Removed dependency in FolderImExporter that caused a cycle. 2022-10-26 18:59:58 +02:00
Jens Pelzetter 2c317630f1 Corrected ImExporter dependencies 2022-10-26 18:41:37 +02:00
Jens Pelzetter 681a28958a IdResolvers for Lifecycles 2022-10-25 20:21:17 +02:00
Jens Pelzetter ad8cf5fb3d ImExporter for ContentType 2022-10-25 19:21:41 +02:00
Jens Pelzetter 2de82a4b7b Added a FolderIdResolver 2022-10-24 19:50:34 +02:00
Jens Pelzetter 65f548477b Added missing ImExporter for Folders 2022-10-24 19:22:00 +02:00
Jens Pelzetter 5e3f467904 Import Categorizations after all other objects 2022-10-24 18:41:21 +02:00
Jens Pelzetter aef849ece8 Fixing RoleMembershipImExporter 2022-10-23 12:08:01 +02:00
Jens Pelzetter 283049f8e9 Fixing a problem when importing RoleMemberships 2022-10-23 11:39:51 +02:00
Jens Pelzetter 4e8d1929b8 Create placeholders for parent categories that have not been imported
when a child category is imported, and update them when that category is
imported.
2022-10-23 10:55:28 +02:00
Jens Pelzetter bf0a449419 Content Section requires categories to be imported. 2022-10-22 20:07:01 +02:00
Jens Pelzetter b2a6880d24 Import Permissions as last object 2022-10-22 19:49:58 +02:00
Jens Pelzetter 2333bbc35e Some fixes related to imports 2022-10-22 19:30:43 +02:00
Jens Pelzetter 5be71d9fa8 Resource may not be required 2022-10-20 19:16:00 +02:00
Jens Pelzetter d159b4f85d Also import ResourceType before Resource 2022-10-20 19:01:29 +02:00
Jens Pelzetter bf59b58cc9 ContentSection import requires that Resource is imported first. 2022-10-20 19:00:37 +02:00
Jens Pelzetter 327fd624c8 Fix Shiro security context problem (hopefully), alerts for import status 2022-10-15 17:33:30 +02:00
Jens Pelzetter 8893eebaff Another bugfix for the import, wrong property was used in XHTML file 2022-10-15 17:02:35 +02:00
Jens Pelzetter 39920f42f3 Bugfix for importer 2022-10-15 16:44:02 +02:00
Jens Pelzetter 03e7d6dfdf Some code cleanup 2022-09-26 16:20:18 +02:00
Jens Pelzetter 34b81f18f9 ObjectIdResolvers for several entities 2022-09-24 17:12:14 +02:00
Jens Pelzetter 6a9580f7a1 Execute export tasks as system user 2022-09-24 13:02:47 +02:00
Jens Pelzetter a0ac634d1f Code cleanup, execute import as system user. 2022-09-24 12:43:46 +02:00
Jens Pelzetter a72945501d Code cleanup 2022-09-24 11:26:17 +02:00
Jens Pelzetter c77dc2f991 Code reformatting and cleanup 2022-09-24 11:11:33 +02:00
Jens Pelzetter c65c182e14 Several bugfixes 2022-09-20 20:26:45 +02:00
Jens Pelzetter cbaaab2ccf Fixed a bug in the AuthoringStepsValidator 2022-07-13 20:16:46 +02:00
Jens Pelzetter 7fc2202933 Update of package.json 2022-05-04 19:29:57 +02:00
Jens Pelzetter f34efb62b6 Removed ccm-cms-editor 2022-05-04 19:23:35 +02:00
Jens Pelzetter e3fd73b92f Edit steps in ccm-cms now use general cms-editor. 2022-05-04 19:23:09 +02:00
Jens Pelzetter 0f457f0ec0 Moved cms-editor back to ccm-cms, refactored to general script configured using data attributes 2022-05-03 20:23:45 +02:00
Jens Pelzetter 5e44817505 Changed Typescript target to ES6 2022-04-28 19:53:31 +02:00
Jens Pelzetter 8de850824a Some fixes for JS related stuff 2022-04-28 19:17:04 +02:00
Jens Pelzetter 0cceec93e8 Moved ccm-cms-editor to separate module to make it usable in other projects (for example ScientificCMS) 2022-04-27 20:57:47 +02:00
Jens Pelzetter f73f9084cf generated-resources was still referenced in one place 2022-04-26 21:06:21 +02:00
Jens Pelzetter bffb978658 generated-resources does exist in ccm-bundle-devel-wildfly any more 2022-04-26 21:02:18 +02:00
Jens Pelzetter e40e75c67d Fixed some JS related problems 2022-04-26 20:53:37 +02:00
Jens Pelzetter 3a7c7024aa Changed package.json version to include snapshot-qualifier 2022-04-26 19:25:48 +02:00
Jens Pelzetter 6fc3e810d9 Typo in ccm-cms/package.json 2022-04-25 20:48:41 +02:00
Jens Pelzetter 70279cea1b Reverting last change. 2022-04-25 19:59:46 +02:00
Jens Pelzetter d93d43dc7c Removed unnecessary entry in package.json 2022-04-25 19:28:23 +02:00
Jens Pelzetter b7671dedee Fixed ccm-cms JS module (hopefully) 2022-04-25 18:52:16 +02:00
Jens Pelzetter df534cd10e Publish ccm-cms JavaScript library to packages.libreccm.org 2022-04-23 17:19:49 +02:00
Jens Pelzetter 3683960f55 The SelectBox in the form for adding document types to a content section did not show the name of the content type. 2022-04-20 20:25:26 +02:00
Jens Pelzetter a68d25ba61 Some small fixes 2022-04-20 19:50:01 +02:00
Jens Pelzetter 6a23404b29 Added scope to JS package from ccm-cms 2022-04-18 17:14:15 +02:00
Jens Pelzetter ab811f359b Extended AssetPicker with an option to include extra components into the form. 2022-04-16 16:50:34 +02:00
Jens Pelzetter f2ecb745d9 Remvoed some classes still depending on PageModel 2022-04-02 18:00:03 +02:00
jensp 8ba0bddf04 Merge pull request 'issue-22-remove-legacy-components' (#28) from issue-22-remove-legacy-components into master
Reviewed-on: #28
2022-04-02 17:26:00 +02:00
Jens Pelzetter 7ded6bbdca Removed unused dependency xml-resolver 2022-03-26 14:41:04 +01:00
Jens Pelzetter 733db2fe65 Removed unused dependency poi 2022-03-26 14:24:59 +01:00
Jens Pelzetter 3c34a14273 Removed unused dependency org.bouncycastle/bcprov-jdk16 2022-03-26 14:17:14 +01:00
Jens Pelzetter 81541be80e Removed unused dependency oro 2022-03-26 14:08:47 +01:00
Jens Pelzetter f92c9c28c6 Removed unused dependency net.sf.jtidy/jtidy 2022-03-26 14:04:06 +01:00
Jens Pelzetter 545982db81 Removed unused dependency org.imgscalr/imgscalr-lib 2022-03-26 13:57:29 +01:00
Jens Pelzetter e59111d394 Deleted commented out things 2022-03-26 13:51:40 +01:00
Jens Pelzetter e5e6a68ff5 Removed unused dependency with group id org.bouncycastle and artifact id bcmail-jdk16 2022-03-26 13:50:06 +01:00
Jens Pelzetter fe960c6efe Removed unused dependency commons-primitives 2022-03-26 13:42:49 +01:00
Jens Pelzetter 4e606bf24d Removed unused dependency commons-logging 2022-03-26 13:37:51 +01:00
Jens Pelzetter 2f39e0efcd Removed dependency on saxon-he, not used anymore. 2022-03-26 13:30:29 +01:00
Jens Pelzetter 1161053c81 Removed XSLT theme processor, not used anymore. 2022-03-26 13:17:57 +01:00
Jens Pelzetter 15dcc9a39e Removed several unused dependencies 2022-03-24 20:19:06 +01:00
Jens Pelzetter f74b858a93 Removed some remaining classes that depended on Bebop 2022-03-24 19:38:53 +01:00
Jens Pelzetter b681c769b9 Removed several depcrecated classes from ccm-core, especially the complete Bebop UI kit. 2022-03-23 20:22:41 +01:00
Jens Pelzetter abe48a650d Removed depcrecated Bebop Table component 2022-03-22 19:51:44 +01:00
Jens Pelzetter 0e3ae4e99f Removed depcrecated Bebop Tree component 2022-03-22 19:38:51 +01:00
Jens Pelzetter 8f380e40ec Removed depcrecated PageModel 2022-03-22 19:25:35 +01:00
Jens Pelzetter d11c4922ea Removed several depcrecated classes from ccm-cms 2022-03-21 19:59:58 +01:00
Jens Pelzetter 7cd39aa321 Removed depcrecated packages com.arsdigita.toolbox.ui and org.libreccm.pagemodel.ui 2022-03-21 19:55:47 +01:00
Jens Pelzetter af6bee2cdc Removed depcrecated package com.arsdigita.categorization from ccm-cms 2022-03-21 19:47:21 +01:00
Jens Pelzetter 05a5132688 Removed unused class com.arsdigita.ui.admin.AdminUiConstants from ccm-core 2022-03-21 19:46:00 +01:00
Jens Pelzetter c0fb04533d Removed depcrecated package com.arsdigita.ui.admin 2022-03-21 19:42:25 +01:00
Jens Pelzetter 285e8c977c Removed depcrecated package com.arsdigita.ui.login from ccm-core 2022-03-21 19:26:45 +01:00
Jens Pelzetter b92a41b85f Removed depcrecated package com.arsdigita.ui.admin.sites from ccm-core 2022-03-19 17:47:51 +01:00
Jens Pelzetter 8d7cbea03b Removed depcrecated package com.arsdigita.ui.admin.pagemodels from ccm-core 2022-03-19 17:45:44 +01:00
Jens Pelzetter c9f48f042b Removed depcrecated package com.arsdigita.ui.admin.importexport from ccm-core 2022-03-19 17:40:23 +01:00
Jens Pelzetter 473240777a Removed depcrecated package com.arsdigita.ui.admin.configuration from ccm-core 2022-03-19 17:38:45 +01:00
Jens Pelzetter 50be17c101 Removed depcrecated package com.arsdigita.ui.admin.applications and several other depcrecated classes from ccm-core 2022-03-19 17:30:31 +01:00
Jens Pelzetter edba4c3ec2 Removed some unused properties from the ContentSections entity 2022-03-19 16:46:03 +01:00
Jens Pelzetter 3d4bc1ffd1 Removed some unused classes from ccm-cms 2022-03-19 16:39:27 +01:00
Jens Pelzetter b5f9b9e114 Removed unused and depcrecated package com.arsdigita.cms.workflow from ccm-cms 2022-03-19 16:34:57 +01:00
Jens Pelzetter 02956a8bd3 Remove unused table CCM_CMS.WORKFLOW_TASKS 2022-03-19 16:33:03 +01:00
Jens Pelzetter c19796a181 Removed unused classes 2022-03-19 16:28:55 +01:00
Jens Pelzetter a127e7ea62 Removed several deprecated packages from ccm-cms 2022-03-19 16:26:15 +01:00
Jens Pelzetter 56e119e4f7 Removed depcrecated package com.arsdigita.cms.ui.util from ccm-cms 2022-03-19 14:49:27 +01:00
Jens Pelzetter 27e6d12535 Removed deprecated package com.arsdigita.cms.ui.search 2022-03-19 14:48:43 +01:00
Jens Pelzetter b991a14d82 Removed depcrecated package com.arsdigita.cms.ui.workflow 2022-03-19 14:08:09 +01:00
Jens Pelzetter 0ca8ef950e Removed depcrecated package com.arsdigita.cms.ui.item and several other depcrecated classes 2022-03-19 13:53:43 +01:00
Jens Pelzetter 0da48fc6d6 Removed depcrecated package com.arsdigita.cms.ui.contenttypes 2022-03-19 13:40:44 +01:00
Jens Pelzetter 3ed92c6e56 Removed several unused and depcreated classes. 2022-03-19 13:39:37 +01:00
Jens Pelzetter c9eb1bb20b Removed depcreated package com.arsdigita.cms.ui.contentcenter 2022-03-19 13:19:41 +01:00
Jens Pelzetter f0069cba93 Removed depcrecated package com.arsdigita.cms.ui.folder from ccm-cms 2022-03-17 20:24:04 +01:00
Jens Pelzetter 282fbfe815 Removed depcrecated packages com.arsdigita.cms.ui.authoring.article, com.arsdigita.cms.ui.authoring.event, com.arsdigita.cms.ui.authoring.multipartarticle and com.arsdigita.cms.ui.authoring.news from ccm-cms 2022-03-17 19:55:53 +01:00
Jens Pelzetter 70e723f4d6 Remove depcrecated package com.arsdigita.cms.ui.category from ccm-cms 2022-03-17 19:33:16 +01:00
Jens Pelzetter db0f16f21b Removed depcrecated package com.arsdigita.cms.ui.lifecycle from ccm-cms 2022-03-17 19:22:28 +01:00
Jens Pelzetter 9d16918052 Removed depcrecated package com/arsdigita/cms/ui/permissions from ccm-cms 2022-03-17 19:10:56 +01:00
Jens Pelzetter b9dc94e48b Removed depcrecated package com.arsdigita.london.terms.ui from ccm-cms 2022-03-17 18:51:50 +01:00
Jens Pelzetter 77d73fd336 Removed depcrecated package com/arsdigita/cms/ui/pages and depcrecated PagesServlet (replaced by JAX-RS application) 2022-03-16 20:05:20 +01:00
Jens Pelzetter 7a4aa27eef Removed depcrecated package com/arsdigita/cms/ui/cse from ccm-cms 2022-03-16 20:01:15 +01:00
Jens Pelzetter d73bfd03b5 Removed depcrecated package com/arsdigita/cms/ui/report 2022-03-16 19:57:38 +01:00
Jens Pelzetter 7e3b0821bb Removed depcrecated package com/arsdigita/cms/ui from ccm-cms 2022-03-16 19:54:09 +01:00
Jens Pelzetter 980f958bae Removed depcrecated package com/arsdigita/cms/ui/role from ccm-cms 2022-03-16 19:51:52 +01:00
Jens Pelzetter 5efeef8136 Removed some already disabled classes from ccm-cms 2022-03-16 19:46:09 +01:00
Jens Pelzetter 01d8874193 Removed depcrecated package com/arsdigita/cms/ui/type 2022-03-16 19:44:23 +01:00
Jens Pelzetter ad387198be Removed some already disabled classes from ccm-cms 2022-03-16 19:37:56 +01:00
Jens Pelzetter 7a62bc4ad2 Removed deprecated package com/arsdigita/cms/ui/templates from ccm-cms 2022-03-16 19:36:55 +01:00
Jens Pelzetter 6bfa90616b Removed depcreated package com/arsdigita/cms/ui/assets from ccm-cms 2022-03-16 19:33:16 +01:00
Jens Pelzetter 4bb0117366 Removed deprecated package com/arsdigita/cms/ui/authoring/assets 2022-03-16 19:13:09 +01:00
Jens Pelzetter 433a44afa1 Removed depcreated package com/arsdigita/cms/ui/authoring/assets/images 2022-03-16 18:40:38 +01:00
Jens Pelzetter fbb07d9501 Removed deprecated package com/arsdigita/cms/ui/authoring/assets/relatedinfo from ccm-cms 2022-03-16 18:25:16 +01:00
Jens Pelzetter 7ce68f3cd7 Removed several old classes 2022-03-15 20:21:30 +01:00
Jens Pelzetter 198c7d7b83 Removed legacy components from ccm-cms-profile-site 2022-03-14 20:03:05 +01:00
jensp 425373f34f Merge pull request 'librecms-default-theme' (#20) from librecms-default-theme into master
Reviewed-on: #20
2022-03-14 19:12:32 +01:00
Jens Pelzetter ab8ad465b3 Merge branch 'master' into librecms-default-theme 2022-03-14 19:11:40 +01:00
jensp 3a7711a37d Merge pull request 'ccm-cms-mvc' (#19) from ccm-cms-mvc into master
Reviewed-on: #19
2022-03-14 19:09:03 +01:00
Jens Pelzetter 28fd511f95 Display of media assets 2022-03-12 17:05:23 +01:00
Jens Pelzetter b89e15479d Media attachment part 1 2022-03-09 20:18:49 +01:00
Jens Pelzetter 8871eecea3 File download for attached file assets 2022-03-08 20:16:36 +01:00
Jens Pelzetter 8491c01d8b Displaying Attachment Lists 2022-03-07 19:43:43 +01:00
Jens Pelzetter 359118de7d Structure for showing assets in the default theme 2022-03-05 17:56:28 +01:00
Jens Pelzetter 2e4bbc2611 Some minor fixes for links 2022-03-05 14:38:37 +01:00
Jens Pelzetter 3425657121 Item List for category pages 2022-03-05 14:03:10 +01:00
Jens Pelzetter 7d670d725d Item Display 2022-03-03 20:50:01 +01:00
Jens Pelzetter 591bb6b1d2 Display MPA in default theme (as index item). 2022-03-02 20:40:45 +01:00
Jens Pelzetter 496d0ac462 Use URL params for sections 2022-03-02 19:27:57 +01:00
Jens Pelzetter 2c49a4fbc1 Some work on for showing an MPA 2022-03-01 20:14:33 +01:00
Jens Pelzetter 6dd855e1e2 Some bugfixes for the MultiPartArticleModel 2022-02-28 20:21:21 +01:00
Jens Pelzetter f5d3481c9a Setting/resetting the index item of a category only worked for the root category, now works for all categories. 2022-02-26 17:55:16 +01:00
Jens Pelzetter 35ce5479fd Fixed a bug when deleting content items 2022-02-26 17:24:55 +01:00
Jens Pelzetter 4024355838 Template for Event content type. 2022-02-26 14:55:34 +01:00
Jens Pelzetter 5803e9b024 Added warning for missing template for content type 2022-02-26 14:55:13 +01:00
Jens Pelzetter 4732c45012 Added display of release date of news 2022-02-26 14:54:56 +01:00
Jens Pelzetter 6753d96ce2 Making NewsModel a bit more null-safe. 2022-02-26 14:54:36 +01:00
Jens Pelzetter ae2d3b57ea Get start and end date time of an event formatted using a pattern 2022-02-26 14:54:13 +01:00
Jens Pelzetter b034d7d321 Some improvments for item display 2022-02-24 20:29:46 +01:00
Jens Pelzetter fcf62c0c9d Provide formattable news data in model. 2022-02-23 20:46:09 +01:00
Jens Pelzetter 950421774c Template for Article and News details view 2022-02-23 20:45:54 +01:00
Jens Pelzetter 18b3f03303 Image popup and image gallery/carousel 2022-02-22 20:22:16 +01:00
Jens Pelzetter f413f07aaa Added Category Page template to default theme (basic structure) 2022-02-21 20:29:43 +01:00
Jens Pelzetter ddb4f685f9 Some bugfixes for the category administration. 2022-02-21 20:29:27 +01:00
Jens Pelzetter ff27e7e494 Nicer date formatting 2022-02-19 17:43:39 +01:00
Jens Pelzetter 6332243d2d Bugfix for handling LocalDateTime in EventListItemModelBuilder 2022-02-19 17:43:05 +01:00
Jens Pelzetter 80729ed936 Template for start page cleaned up 2022-02-19 11:51:53 +01:00
Jens Pelzetter 2f8abff8f4 Added reference to negotiated locale to models, used to format dates. 2022-02-19 11:51:21 +01:00
Jens Pelzetter 47e26b5878 Several small things for the default and item lists. 2022-02-16 20:20:05 +01:00
Jens Pelzetter fb285f7a29 Page parameter of item list is now aware of different lists 2022-02-16 18:37:00 +01:00
Jens Pelzetter 81482c578f Item list(s) are now configurable using page properties 2022-02-15 20:06:07 +01:00
Jens Pelzetter ceef94b81a Layout for news and event list 2022-02-12 11:59:08 +01:00
Jens Pelzetter 15c33320ee Merge branch 'ccm-cms-mvc' into librecms-default-theme 2022-02-12 11:33:40 +01:00
jensp f141f06b36 Merge pull request 'Fixed some problems with the edit steps for news.' (#17) from news-mvc-editsteps into ccm-cms-mvc
Reviewed-on: #17
2022-02-10 20:16:18 +01:00
Jens Pelzetter ee233fefe3 Fixed some problems with the edit steps for news. 2022-02-10 20:14:17 +01:00
jensp 8ca610bcc0 Merge pull request 'event-mvc-editsteps' (#16) from event-mvc-editsteps into ccm-cms-mvc
Reviewed-on: #16
2022-02-07 21:14:05 +01:00
Jens Pelzetter 170171f6cd Merge branch 'ccm-cms-mvc' into event-mvc-editsteps 2022-02-07 21:11:28 +01:00
Jens Pelzetter dbbb57b1ad Some more bugfixes for event. 2022-02-07 21:08:09 +01:00
Jens Pelzetter 84c2f9a858 Some more bugfixes for the authoring steps of the event content type. 2022-02-06 09:48:29 +01:00
Jens Pelzetter 53956098fb Bugfixes for the authoring of event 2022-02-05 19:52:57 +01:00
Jens Pelzetter 257c71e185 Component for a Bootstrap Form Group component with a datetime-local input field 2022-02-05 19:52:24 +01:00
Jens Pelzetter 88f7be3963 XHTML templates for the authoring steps of the event content type. 2022-02-03 20:18:48 +01:00
Jens Pelzetter c18336bc5e Java Part of authoring steps for Event 2022-02-02 20:01:33 +01:00
Jens Pelzetter b210d8fcdd First of authoring steps for Event. 2022-01-31 20:26:22 +01:00
Jens Pelzetter 535f9bed52 Adjusted primary color of theme 2022-01-31 19:16:56 +01:00
Jens Pelzetter aa49c4c541 Primary color for theme customized 2022-01-29 17:42:40 +01:00
Jens Pelzetter 79c85df4a3 Include attachments into ContentItemModel 2022-01-29 17:12:14 +01:00
Jens Pelzetter 661c70073f Optimizations for the models processing content items. 2022-01-29 13:16:39 +01:00
Jens Pelzetter 65d53e9992 Bugfixes 2022-01-27 20:44:49 +01:00
Jens Pelzetter 224f924673 Some bugfixes and optimizations 2022-01-27 20:08:45 +01:00
Jens Pelzetter 56e53e6205 Bugfixes for models 2022-01-26 20:37:26 +01:00
Jens Pelzetter 2cd477eae2 Bugfixes for managing the index item of a category. 2022-01-25 20:16:01 +01:00
Jens Pelzetter 5b1150b8be Merge branch 'master' into librecms-default-theme 2022-01-22 17:56:10 +01:00
Jens Pelzetter 8a6797e3c9 Several bugfixes for workflow handling (for Content Items) 2022-01-22 17:55:33 +01:00
Jens Pelzetter 0c930877d1 Some changes for the default theme 2022-01-20 14:07:41 +01:00
Jens Pelzetter f8e33d101b LibreCMS Default Theme: Macro for basic page structure 2022-01-20 08:34:09 +01:00
Jens Pelzetter ba96a3c280 Some fixes for themes 2022-01-19 14:57:06 +01:00
Jens Pelzetter 39dbe43d1d Integrated ccm-cms-default-theme into devel bundle 2022-01-18 20:25:29 +01:00
Jens Pelzetter 53afa29aa4 Bugfixes and structure for default theme 2022-01-17 19:56:55 +01:00
Jens Pelzetter ad76d5fbdf CLI-Utility for creating the theme index file. 2022-01-15 12:35:49 +01:00
Jens Pelzetter 13debac95f Another typo in the Jenkinsfile 2022-01-10 20:23:10 +01:00
Jens Pelzetter 76b79fd004 Typo in Jenkinsfile 2022-01-10 20:16:43 +01:00
Jens Pelzetter 0e252b28f4 Updated Maven used by Jenkinsfile to latest version 2022-01-10 19:57:41 +01:00
Jens Pelzetter 496ff252f8 Disabled integration tests temporarily 2022-01-10 19:37:13 +01:00
Jens Pelzetter 0b886bf52c Fixed some compile failures 2022-01-10 18:59:50 +01:00
Jens Pelzetter d7cc4e6f80 Incresed Maven version 2022-01-10 18:59:40 +01:00
jensp 45511c281d Merge pull request 'Fixed some bugs in the DbThemeProvider' (#12) from fix-dbtheme-bugs into master
Reviewed-on: #12
2022-01-05 19:49:30 +01:00
Jens Pelzetter d5f4c04c8b Fixed some bugs in the DbThemeProvider 2022-01-05 19:48:42 +01:00
jensp a859aec500 Merge pull request 'Fixed typos' (#11) from theme-bugfixes into master
Reviewed-on: #11
2022-01-04 19:55:49 +01:00
Jens Pelzetter c78f233c72 Fixed typos 2022-01-04 19:52:59 +01:00
Jens Pelzetter 0c0e1135c0 Some bugfixes for themes 2022-01-03 20:41:37 +01:00
Jens Pelzetter d941a795c9 Merge branch 'ccm-cms-mvc' 2021-12-24 12:59:45 +01:00
Jens Pelzetter dfcfd4edfb Fixed a typo 2021-12-24 12:56:29 +01:00
Jens Pelzetter b22ba52f98 Merge branch 'master' into ccm-cms-mvc 2021-12-24 12:51:57 +01:00
Jens Pelzetter f5b5e67b9c Another conflict 2021-12-24 12:40:11 +01:00
Jens Pelzetter c0a99d1f87 Updated .gitignore, update pom.xml 2021-12-24 12:38:16 +01:00
Jens Pelzetter 1dfd4def77 Some more documentation for the base classes of authoring steps. 2021-12-24 11:56:28 +01:00
Jens Pelzetter da268c2947 Deprecated annotations for Bebop-based edit kits 2021-12-24 11:45:42 +01:00
Jens Pelzetter 29c9d9f272 Merge branch 'ccm-cms-mvc' of git.libreccm.org:LibreCCM/libreccm into ccm-cms-mvc 2021-12-24 11:44:14 +01:00
Jens Pelzetter 4d03ef9ec2 Bugfixes for the edit steps of the multipart article 2021-12-24 11:43:52 +01:00
Jens Pelzetter 1e72159751 Missing dependencies 2021-12-24 11:26:08 +01:00
Jens Pelzetter 568a9fa6bc Bugfixes for the edit steps of the multipart article 2021-12-23 21:21:21 +01:00
Jens Pelzetter 6b48c5deec Some Bugfixes 2021-12-22 20:02:10 +01:00
Jens Pelzetter 6f026f99a7 Some bugfixes 2021-12-21 20:55:12 +01:00
Jens Pelzetter 4ef2b9ac8a Several bugfixes. 2021-12-20 20:37:32 +01:00
Jens Pelzetter afdbc72240 Edit steps for Multipart Article part IV. Not tested yet! 2021-12-18 19:53:55 +01:00
Jens Pelzetter a124d529d2 Template for for basic properties step of multi part article. 2021-12-18 14:53:51 +01:00
Jens Pelzetter b3008e5f04 * Renamed LocalizedString#addValue to LocalizedString#putValue
* Edit Steps for Multipart Article Part III
2021-12-16 20:17:23 +01:00
Jens Pelzetter 43943e1c46 MVC edit views for MultiPartArticle part II 2021-12-15 20:41:07 +01:00
Jens Pelzetter 7182696aba Authoring steps for multipart article part 1 2021-12-14 20:47:38 +01:00
Jens Pelzetter a172335c52 Fixed typo in JavaDoc. 2021-12-14 19:25:26 +01:00
Jens Pelzetter 26429cfda3 Some code formatting 2021-12-14 19:24:32 +01:00
Jens Pelzetter 470b1628e9 Moved Java classes for authoring steps of article to separate package. 2021-12-14 19:23:58 +01:00
Jens Pelzetter e640261066 * Remvoved log4j-core, log4j-api is now included in provided scope (provided by Wildfly)
* Fixed bug in folder tree
2021-12-13 20:52:34 +01:00
Jens Pelzetter 7dd51f4c46 Bugfixes for workflow handling. 2021-12-11 18:57:53 +01:00
Jens Pelzetter eef4210785 Fixed inconsistiency of canEdit usage in authoring steps 2021-12-09 21:02:57 +01:00
Jens Pelzetter 5bafec04a3 Item permissisons were not copied when publishing an item. 2021-12-08 19:45:12 +01:00
Jens Pelzetter 4f48eb9354 Opitimizations of models for MVC based pages application. 2021-12-04 17:52:31 +01:00
Jens Pelzetter 23f1fb1992 Created development theme in ccm-bundle-devel-wildfly 2021-11-30 20:42:30 +01:00
Jens Pelzetter ae330b71df Page Tree admin working 2021-11-27 20:01:30 +01:00
Jens Pelzetter f22df77bfe Some improvements for the PagesAdmin 2021-11-25 21:21:53 +01:00
Jens Pelzetter f9606862f2 Some bugfixes 2021-11-24 20:03:06 +01:00
Jens Pelzetter 6f2f0684b5 Edit page tree properties. 2021-11-23 19:45:36 +01:00
Jens Pelzetter 6820077da3 CMS Pages Admin 2021-11-22 21:01:42 +01:00
Jens Pelzetter fb4c6c6d2d Templates for management of page trees. 2021-11-20 18:40:45 +01:00
Jens Pelzetter 595e306524 Completed controller and models for management of page trees 2021-11-20 18:40:11 +01:00
Jens Pelzetter f717e6d657 Fixed typo 2021-11-20 18:39:48 +01:00
Jens Pelzetter a38dd54c41 Fixed typos in migrations scripts 2021-11-20 18:39:27 +01:00
Jens Pelzetter f998b2e5cf MVC controller and models for managing pages. 2021-11-20 14:52:02 +01:00
Jens Pelzetter 1ac439a428 Started implementation of UI for managing Pages instances and Page instances. 2021-11-18 20:32:49 +01:00
Jens Pelzetter e842cbc9ff Refactored CmsController because the class was becoming too large. 2021-11-18 19:53:05 +01:00
Jens Pelzetter f8ef994da0 Model for page properties. 2021-11-18 19:35:05 +01:00
Jens Pelzetter 2c7208818f Removed PageModel usage from Page entity. 2021-11-16 19:56:06 +01:00
Jens Pelzetter fa8b63c444 Disabled old PagesRouter and activated the PagesController 2021-11-15 18:42:02 +01:00
Jens Pelzetter 36b60b8844 Missing piece of PagesController 2021-11-15 18:41:35 +01:00
Jens Pelzetter 27b18d8888 Pages Application refactoring for MVC 2021-11-13 17:56:44 +01:00
Jens Pelzetter 6383aec674 JavaDoc for PagesController 2021-11-13 11:07:02 +01:00
Jens Pelzetter b44c29bc6c Marked PageRouter as depcreated, will be replaced with PagesController 2021-11-09 20:12:18 +01:00
Jens Pelzetter 25dc4be82f Basic structure for PagesController 2021-11-09 20:11:36 +01:00
Jens Pelzetter 82bddff404 Marked PageModel classes as depcrecated 2021-11-09 19:43:45 +01:00
Jens Pelzetter 5a94beeccf Code cleanup 2021-11-06 17:00:01 +01:00
Jens Pelzetter 020e4effa6 Model for PersonAssets 2021-11-06 16:52:18 +01:00
Jens Pelzetter 6c2c6e60fc Model for Organization asset. 2021-11-06 16:43:11 +01:00
Jens Pelzetter 2b951c981c Model for ContactableEntity asset 2021-11-06 16:39:32 +01:00
Jens Pelzetter 37750c793d Some Code improvements. 2021-11-06 16:03:47 +01:00
Jens Pelzetter b5c4ad89fd Model for ExternalVideoAssets 2021-11-06 16:03:34 +01:00
Jens Pelzetter ccf0fe5819 Model for ExternalAudioAssets 2021-11-06 15:53:39 +01:00
Jens Pelzetter 9ba0610308 Model for Bookmark assets. 2021-11-06 15:53:28 +01:00
Jens Pelzetter 9f515339e5 code formatting 2021-11-06 15:53:09 +01:00
Jens Pelzetter b73eeffa52 Stronger typing 2021-11-06 15:52:52 +01:00
Jens Pelzetter 4066af404f Model for VideoAssets 2021-11-06 14:49:58 +01:00
Jens Pelzetter 478cda35b6 Model for image assets. 2021-11-06 14:42:55 +01:00
Jens Pelzetter 13479343aa Model for FileAssets 2021-11-06 14:37:44 +01:00
Jens Pelzetter 46d343e79e Fixed some typos. 2021-11-06 14:34:52 +01:00
Jens Pelzetter f5d8c55bdf AudioAssetBuilder did not extend BinaryAssetModelBuilder 2021-11-06 14:27:04 +01:00
Jens Pelzetter 011107dd9a Model for AudioAsset. 2021-11-06 14:25:31 +01:00
Jens Pelzetter 1c8300d4d3 Model for BinaryAsset 2021-11-06 14:25:11 +01:00
Jens Pelzetter f46811f59a Call super.addProperties was missing. 2021-11-06 14:24:47 +01:00
Jens Pelzetter c307489d85 Model for RelatedLink asset. 2021-11-06 13:56:19 +01:00
Jens Pelzetter 9e57ec4cd5 Removed unused import. 2021-11-06 13:55:50 +01:00
Jens Pelzetter a9b36bd775 Infrastructure for models of Assets and some models for assets 2021-11-04 19:38:56 +01:00
Jens Pelzetter 2d5da3dc7f Code improvement. 2021-10-30 16:11:56 +02:00
Jens Pelzetter c689ed536c Model for item lists 2021-10-30 16:11:34 +02:00
Jens Pelzetter 8b3f18582f Some more models for the pages app 2021-10-30 11:53:49 +02:00
Jens Pelzetter 7cebc9a2bd Models for content item lists 2021-10-28 19:47:32 +02:00
Jens Pelzetter 4305242079 Some more models for MVC based pages application. 2021-10-27 20:09:53 +02:00
Jens Pelzetter d5cc0370bc MVC models/named beans for the pages application. 2021-10-23 17:40:46 +02:00
Jens Pelzetter 4d069eb109 Some bugfixes for the editor. 2021-10-23 12:51:19 +02:00
Jens Pelzetter 0d77ceb594 Use correct URL for saving. 2021-10-19 20:28:28 +02:00
Jens Pelzetter 773259f89e Audio and Video nodes for Tiptap based editor working 2021-10-19 20:03:34 +02:00
Jens Pelzetter 6c18304cd2 Additional service/endpoint for retrieving file content from a binary asset. 2021-10-18 21:22:59 +02:00
Jens Pelzetter 618893a41f Integrated audio node and video node into editor. 2021-10-16 18:56:12 +02:00
Jens Pelzetter 470cca567a Template and code for video node and audio node of the ccm-editor 2021-10-16 16:25:31 +02:00
Jens Pelzetter 5513dc178e Image Node for Tiptap working 2021-10-09 21:03:26 +02:00
Jens Pelzetter 2169e07ab2 Fixed icons 2021-10-07 19:06:20 +02:00
Jens Pelzetter e36c54b378 Translations for the editor 2021-10-06 20:23:49 +02:00
Jens Pelzetter ebd631c312 Process data from image node settings dialog 2021-10-05 20:49:33 +02:00
Jens Pelzetter d4cb8bb5bb Image Node settings dialog fields 2021-10-04 20:15:23 +02:00
Jens Pelzetter 8da183514e Progress for image node for TipTap: UI and dialog for image settings 2021-10-02 18:15:45 +02:00
Jens Pelzetter d72a740c15 Node View for image node 2021-09-30 20:50:21 +02:00
Jens Pelzetter 842d9e708b Added Remix icon set for use with editor UI. 2021-09-28 21:24:27 +02:00
Jens Pelzetter ebdf9cfe41 Skeleton for Image Node for Tiptap 2021-09-28 20:16:00 +02:00
Jens Pelzetter a28673c8e2 Reverted to Tiptap 2021-09-27 20:25:25 +02:00
Jens Pelzetter 50600de813 Skeleton of image plugin for editor.js 2021-09-25 20:04:56 +02:00
Jens Pelzetter ce1700b2b8 Icons for table editing 2021-09-07 20:20:17 +02:00
Jens Pelzetter 9032adc528 Added icons for some table operations 2021-09-04 19:17:07 +02:00
Jens Pelzetter ce5f4809a2 Integrated wildfly-jar-maven-plugin 2021-09-03 11:43:38 +02:00
Jens Pelzetter 26a62c9d19 Fixed some Javascript/Typescript issues 2021-09-02 17:13:17 +02:00
Jens Pelzetter 4766d88585 Update JavaScript dependencies. 2021-09-01 09:13:13 +02:00
Jens Pelzetter a8d7cb5499 Replaced Parcel bundler with Webpack. 2021-09-01 09:06:49 +02:00
Jens Pelzetter f136f75e11 Buttons for table editing. 2021-08-30 15:15:33 +02:00
Jens Pelzetter 05862f81eb Restructured text editor 2021-08-28 18:58:40 +02:00
Jens Pelzetter 3f8f44e2e7 Prepared improvment of editor code structure (Typescript part) 2021-08-26 20:37:12 +02:00
Jens Pelzetter 61e6d6945c Insert table now working for cms editor 2021-08-25 20:00:15 +02:00
Jens Pelzetter df4cab4b5c Work on the text editor. 2021-08-23 21:29:26 +02:00
Jens Pelzetter 55fd96523d Added Tiptab table plugin 2021-08-21 17:27:38 +02:00
Jens Pelzetter eeeb8a288f Paragraphy styles for text editor. 2021-08-21 11:59:48 +02:00
Jens Pelzetter 508720ca98 Additional functions for the text editor. 2021-08-19 20:30:47 +02:00
Jens Pelzetter c81e2757e7 Display of error messages in publish step. 2021-08-18 19:42:56 +02:00
Jens Pelzetter e81b3fbd4a Republish working 2021-08-18 19:12:56 +02:00
Jens Pelzetter cfe8810666 Bugfixes for unpublish 2021-08-17 20:32:36 +02:00
Jens Pelzetter 9bded5ad64 PublishStep: Publishing works, unpublishing not, republishing not tested yet. Some finetuning is also required. Also not all error messages set by the controller are displayed yet. 2021-08-07 19:49:23 +02:00
Jens Pelzetter eb1f0b1cba Bugfixes for MediaStep 2021-08-07 15:51:05 +02:00
Jens Pelzetter e3970246c3 Highlight current authoring step 2021-08-07 15:50:40 +02:00
Jens Pelzetter c75d718978 Added templates, JavaScript and translations for the media step. Slight renaming for related info step to avoid conflicts. 2021-08-05 20:53:56 +02:00
Jens Pelzetter f4b73670af Java part for the media authoring step. 2021-08-04 20:32:52 +02:00
Jens Pelzetter 90471ca4e3 Cleanup 2021-08-04 20:32:38 +02:00
Jens Pelzetter 89443517c1 Code formatting 2021-08-04 20:32:12 +02:00
Jens Pelzetter a41c032e40 Updated Java version to 11 2021-08-04 20:31:10 +02:00
Jens Pelzetter 30ee6ddd2a CategoryStep finished 2021-08-03 20:52:14 +02:00
Jens Pelzetter 46d21adcea CategorizationStep implementation 2021-08-02 21:24:30 +02:00
Jens Pelzetter 2dc82dff7c Merge branch 'ccm-cms-mvc' of git.libreccm.org:LibreCCM/libreccm into ccm-cms-mvc 2021-07-31 17:49:41 +02:00
Jens Pelzetter 16f8a69131 * Update to Wildfly 24.0.1
* Fixed problem with Themes when not default site is available
2021-07-31 17:59:25 +02:00
Jens Pelzetter 0b2f844e49 RelatedInfo step save sort works now, cleanup 2021-07-31 15:05:56 +02:00
Jens Pelzetter 7eaba5ee31 Info modals for related info 2021-07-31 10:47:38 +02:00
Jens Pelzetter d14e2433da Removal of attachments working 2021-07-29 21:01:21 +02:00
Jens Pelzetter 069592cdbc Deletion of attachment list now works 2021-07-29 19:11:54 +02:00
Jens Pelzetter d58fa954b9 Several small things for the related info step. 2021-07-28 21:19:02 +02:00
Jens Pelzetter 9a9e5dc767 Implemented adding file attachments (not tested yet) 2021-07-27 20:30:48 +02:00
Jens Pelzetter 16bdc50f0e Setting target for related link. 2021-07-26 21:18:04 +02:00
Jens Pelzetter c8f36b9099 ContentItemPicker component and bugfixes for asset picker 2021-07-24 17:40:41 +02:00
Jens Pelzetter 80cf9143ee Bugfixes for RelatedInfoStep 2021-07-22 21:17:26 +02:00
Jens Pelzetter 30320485d4 Related Link step 2021-07-21 21:09:07 +02:00
Jens Pelzetter 33c72859ee Forms for adding and editing internal links (not finished yet) 2021-07-20 21:09:29 +02:00
Jens Pelzetter 69511fe5e7 Edit attachment list properties 2021-07-19 21:40:54 +02:00
Jens Pelzetter 1e552ba569 * RelatedInfo authoring step: Add attachment list working
* updated bootstrap-icons to 1.5.0
2021-07-17 18:58:57 +02:00
Jens Pelzetter 3b3a241ba2 JavaScript functions for ordering attachment lists and attachments 2021-07-17 12:11:20 +02:00
Jens Pelzetter 9b95f72c5c Integrated sortable.js 2021-07-14 20:29:21 +02:00
Jens Pelzetter 719d386410 Audio and Video Asset bugfixes 2021-07-10 17:30:50 +02:00
Jens Pelzetter 0f44e9d70c Image handling and file upload bug fixes. 2021-07-08 20:20:12 +02:00
Jens Pelzetter 204c2ee39d Some bugfixes for the image asset. 2021-07-06 20:40:42 +02:00
Jens Pelzetter c21fc6ec0f XHTML files for create and edit steps of AudioAsset, Image, and VideoAsset. 2021-07-03 17:20:42 +02:00
Jens Pelzetter 4618716d09 Several create and edit steps. 2021-07-01 19:56:29 +02:00
Jens Pelzetter 6d850fb503 Service class for images. 2021-07-01 19:56:13 +02:00
Jens Pelzetter 1bad56eafe More cleanup and JavaDoc. 2021-06-30 20:05:50 +02:00
Jens Pelzetter e18525a2a5 Cleanup 2021-06-30 19:50:43 +02:00
Jens Pelzetter 36c9ec8a61 Uploading works now with Envers. 2021-06-30 19:50:10 +02:00
Jens Pelzetter f022a9540d Moved logic for saving asset data to separate class. 2021-06-29 20:39:57 +02:00
Jens Pelzetter 100f6f45f8 Some optimiziations for file upload code. 2021-06-28 19:39:36 +02:00
Jens Pelzetter e369258c30 Updated Wildfly version 2021-06-28 18:40:14 +02:00
Jens Pelzetter d0bad06c21 Using java.sql.Blob and Hibernate specific classes for handling binary data. 2021-06-26 19:12:10 +02:00
Jens Pelzetter 65425ee88f Improvements for handling binary assets 2021-06-24 21:12:01 +02:00
Jens Pelzetter de65988459 Bugfixes for BinaryAssetDataService 2021-06-23 21:06:20 +02:00
Jens Pelzetter c8382b6660 Abstraction for storing binary asset data, and default implementation using java.sql.Blob and Streams. 2021-06-22 20:49:41 +02:00
Jens Pelzetter 31015b0739 Bugfixes for external video asset. 2021-06-15 20:03:15 +02:00
Jens Pelzetter 6e13dd6019 Bugfixes for the UI of ExternalAudioAsset and ExternalVideoAsset. 2021-06-14 20:27:33 +02:00
Jens Pelzetter 178789690f Create and edit steps for external audio and video assets. 2021-06-12 17:50:56 +02:00
Jens Pelzetter f7ae8f8238 Create and Edit Step for Organization Assets 2021-06-12 14:57:31 +02:00
Jens Pelzetter 11d17341a8 Some bugfixes for editing contactable entities. 2021-06-11 20:15:49 +02:00
Jens Pelzetter e18d5e29c1 Configuration UI for managing the usable contact data entry keys 2021-06-10 20:57:19 +02:00
Jens Pelzetter 00c8cbc5ae Logic for managing contact entry keys. 2021-06-09 20:23:53 +02:00
Jens Pelzetter e72976252a Adding, changing and removing an associated postal address to/from a person now works. 2021-06-09 19:08:05 +02:00
Jens Pelzetter a928902b36 Bugfixes for the asset picker 2021-06-08 20:35:52 +02:00
Jens Pelzetter 95e3e5d073 Some improvements for TypeScript building 2021-06-07 20:32:19 +02:00
Jens Pelzetter 864d3ca94e Bugfixes for asset picker component. 2021-06-05 19:24:00 +02:00
Jens Pelzetter 0bc50c4ca7 JavaScript packages upgrade 2021-06-05 19:23:36 +02:00
Jens Pelzetter b5797f6ad7 Updated Node.js version 2021-06-05 19:23:19 +02:00
Jens Pelzetter 813d5d1136 Some improvments for the person edit step 2021-06-03 20:45:55 +02:00
Jens Pelzetter 025e48aae0 Bugfixes for asset picker 2021-06-02 20:49:41 +02:00
Jens Pelzetter b46634f5ec Bugfixes for create and edit steps of person asset. 2021-06-01 21:14:40 +02:00
Jens Pelzetter 07af86a955 UI for editing Persons and ContactableEntities 2021-05-31 20:50:42 +02:00
Jens Pelzetter 1d0e1e0ec6 package-lock updates 2021-05-29 17:55:48 +02:00
Jens Pelzetter ca081f94df Compoments and resusable classes for subclasses of ContactableEntity, base structure for asset picker component 2021-05-29 17:54:49 +02:00
Jens Pelzetter 1bdddb5243 FileAsset file upload now works 2021-05-27 20:31:57 +02:00
Jens Pelzetter 0619a19ee2 Some bugfixes 2021-05-25 19:49:02 +02:00
Jens Pelzetter 6923f32b76 Added missing CSS class 2021-05-25 19:48:47 +02:00
Jens Pelzetter f38d7d1d02 Latest schema updates for tests 2021-05-25 19:48:27 +02:00
Jens Pelzetter e8c13c6c0a Removed non null constraint for URL field for Bookmark asset. Does not work because assets are first created without any special fields. 2021-05-25 19:47:12 +02:00
Jens Pelzetter 98be2152dd Translations for assets 2021-05-24 18:41:34 +02:00
Jens Pelzetter a11c98614c UI for file assets 2021-05-24 18:41:24 +02:00
Jens Pelzetter c5d3125dcd Bugfixes for SideNote assets 2021-05-24 18:40:48 +02:00
Jens Pelzetter b083446c71 Bugfixes for LegalMetaData assets 2021-05-24 18:40:20 +02:00
Jens Pelzetter c8bf618eb1 UI for bookmark assets 2021-05-24 18:39:48 +02:00
Jens Pelzetter 050beb3efb Code formatting 2021-05-24 18:39:12 +02:00
Jens Pelzetter 81425f9f2d Moved common controls for editing assets to the base template for asset edit steps. 2021-05-22 17:21:58 +02:00
Jens Pelzetter 83e65415de MVC Controllers should be named beans 2021-05-22 16:54:54 +02:00
Jens Pelzetter 8d674ac140 MVC controllers should not be named beans 2021-05-22 14:52:00 +02:00
Jens Pelzetter bf26825663 Some bugfixes for the side notes edit step. 2021-05-19 19:17:20 +02:00
Jens Pelzetter 5711a086ea SideNoteEditStep bugfixes 2021-05-18 20:29:55 +02:00
Jens Pelzetter 0cce876a5b Moved some code to the abstract base classes of the create/edit steps for assets, steps for creating and editing side notes. 2021-05-17 20:54:19 +02:00
Jens Pelzetter 101f802d9c Several improvements for path handling and asset creation and editing. 2021-05-15 17:53:26 +02:00
Jens Pelzetter 6b125c532f Template for create and edit step for postal address assets 2021-05-14 17:52:47 +02:00
Jens Pelzetter c64155af7b Create and edit steps for postal address asset 2021-05-14 14:51:33 +02:00
Jens Pelzetter bf62007391 Some typos fixed, base classes for asset edit steps 2021-05-14 11:39:01 +02:00
Jens Pelzetter cf79f39a7a Infrastructure for assets UI 2021-05-13 17:44:44 +02:00
Jens Pelzetter 59dac810ac Fixed typos in comments 2021-05-13 17:44:33 +02:00
Jens Pelzetter 3c486f7610 Some improvments for the text editor 2021-05-13 12:47:39 +02:00
Jens Pelzetter 4a6478c78b TextBody Step basiclly works now 2021-05-12 20:17:44 +02:00
Jens Pelzetter 62d98af857 ArticleTextBodyStep UI mostly works 2021-05-11 21:04:20 +02:00
Jens Pelzetter b526f9eac2 Current status text step 2021-05-10 21:24:48 +02:00
Jens Pelzetter 5dc98cfe8a Typos in localized text editor 2021-05-10 21:24:32 +02:00
Jens Pelzetter 0d5a74bfb1 Next part of the article text body step 2021-05-08 20:09:41 +02:00
Jens Pelzetter 1abf3d96a1 Some bugfixing 2021-05-04 20:37:32 +02:00
Jens Pelzetter e8b9d5940b Updated JS dependencies in ccm-cms 2021-05-04 20:37:19 +02:00
Jens Pelzetter d6a0874654 Several bugfixes for the workflow widget 2021-05-03 20:40:06 +02:00
Jens Pelzetter 2be640f8d4 Several bugfixes for workflow and task handling 2021-05-01 17:55:30 +02:00
Jens Pelzetter b140923d86 Base class for all authoring steps 2021-05-01 11:38:25 +02:00
Jens Pelzetter 0baaefa543 Editing localized basic properties of an article 2021-04-29 20:52:47 +02:00
Jens Pelzetter e36d9eb924 Some bugfixes for the localizedStringEditor 2021-04-29 20:52:33 +02:00
Jens Pelzetter 12a3d14233 Editing names for articles 2021-04-28 20:44:35 +02:00
Jens Pelzetter e010e5a653 Authoring steps are shown 2021-04-27 21:14:30 +02:00
Jens Pelzetter 68f973cf15 Some bugfixes and typos 2021-04-26 20:27:09 +02:00
Jens Pelzetter 6c9b3748d0 AuthoringSteps are now ordinary MVC controllers 2021-04-24 20:36:47 +02:00
Jens Pelzetter a31e242c48 New annotations for authoring steps 2021-04-20 20:05:48 +02:00
Jens Pelzetter 5239c601a8 Some cleanup 2021-04-20 20:05:34 +02:00
Jens Pelzetter c2aa9ba307 Preparation for Authoring Steps integration 2021-04-19 20:07:39 +02:00
Jens Pelzetter 49c1467777 Get createstep from MvcAuthoringKit annotation 2021-04-19 19:53:28 +02:00
Jens Pelzetter 270316e37a Added missing class 2021-04-19 19:46:16 +02:00
Jens Pelzetter 9dc794a5fb Create steps now working 2021-04-15 21:14:47 +02:00
Jens Pelzetter 2ab4b0c5ed Create step is now found 2021-04-14 20:52:36 +02:00
Jens Pelzetter 7d9193c474 Create Steps basic structure 2021-04-13 21:16:28 +02:00
Jens Pelzetter fa9fab7ad0 Dialog for creating new items 2021-04-07 21:31:24 +02:00
Jens Pelzetter fe0bfd2d31 Fixed several typos 2021-04-06 20:58:35 +02:00
Jens Pelzetter 073d37a3de Translations for the UI for managing content items/documents 2021-04-03 19:20:57 +02:00
Jens Pelzetter 5a75dc41a3 Permission checks for authoring steps 2021-04-03 14:40:33 +02:00
Jens Pelzetter 2381460166 Removed some unused classes and imports 2021-04-03 10:47:49 +02:00
Jens Pelzetter b6b3db46ec JavaDoc for classes in ccm-cms/org.librecms.ui.contenttypes 2021-04-02 15:04:04 +02:00
Jens Pelzetter 892476c905 Fixed license headers 2021-04-02 15:03:43 +02:00
Jens Pelzetter f79b6abe09 Fixed license headers, added JavaDoc 2021-04-02 14:46:10 +02:00
Jens Pelzetter b2b7d8d7b6 JavaDoc for classes in ccm-cms/org.librecms.ui.contentsections.documents 2021-04-01 21:14:44 +02:00
Jens Pelzetter 834070ca4a Fixed license headers and added JavaDoc 2021-03-31 20:56:41 +02:00
Jens Pelzetter 0c7d393afe Removed unused class 2021-03-31 20:56:27 +02:00
Jens Pelzetter a03fb61f0a Fixed JavaDoc config 2021-03-31 20:56:13 +02:00
Jens Pelzetter 88b29d2563 UI for related info including related links 2021-03-30 20:45:52 +02:00
Jens Pelzetter b27b5e5dc5 Template for related info step 2021-03-29 21:05:55 +02:00
Jens Pelzetter 1577130605 Controller for PublishStep, various templates 2021-03-27 17:53:05 +01:00
Jens Pelzetter 8bd923a1d9 Controller for Related Info Step 2021-03-27 14:01:14 +01:00
Jens Pelzetter 6e98817611 Fixed a typo 2021-03-25 20:08:27 +01:00
Jens Pelzetter c2bce08eef First part of authoring step for related info 2021-03-25 20:07:43 +01:00
Jens Pelzetter 1e3c3c3f61 Templates for CategorizationStep 2021-03-24 20:08:36 +01:00
Jens Pelzetter 12b8f59b76 Fixed typos 2021-03-23 21:23:29 +01:00
Jens Pelzetter ca520a11c0 Controller Categorization Authoring Step 2021-03-23 21:23:02 +01:00
Jens Pelzetter 6070c6aae1 Authoring Step for text body 2021-03-22 20:35:29 +01:00
Jens Pelzetter b584b895d6 EE MVC based AuthoringSteps 2021-03-20 17:37:51 +01:00
Jens Pelzetter 4b1a3e8f27 Template Skeletons for editing content items, some refactoring 2021-03-18 21:11:19 +01:00
Jens Pelzetter a6119e09a2 Some refactoring 2021-03-18 19:24:35 +01:00
Jens Pelzetter f9eac9c1c2 JavaDoc 2021-03-17 20:01:38 +01:00
Jens Pelzetter b5e33557a6 Some JavaDoc 2021-03-16 21:28:21 +01:00
Jens Pelzetter 59b4215cd8 DocumentController methods finished 2021-03-16 20:07:00 +01:00
Jens Pelzetter c7a8756c9c Controller methods for workflow and lifecycle management of content items/documents 2021-03-15 21:09:42 +01:00
Jens Pelzetter b5178788c2 Basic structure for EE MVC based create and authoring steps 2021-03-13 17:37:07 +01:00
Jens Pelzetter 5b854d78a1 Removed obsolete import 2021-03-13 17:36:28 +01:00
Jens Pelzetter b97c1f142b Merge branch 'master' of git.libreccm.org:LibreCCM/libreccm
Former-commit-id: fb0ec61409
2021-03-13 08:41:20 +01:00
Jens Pelzetter 7471e031da Some work on the interfaces for create step descriptors and authoring step descriptors
Former-commit-id: e9bf0d26aa796717b9910784503856d55b70a86a
2021-03-10 20:45:31 +01:00
Jens Pelzetter 3925b228bb Some JavaDoc
Former-commit-id: da8f3bb3035715a982cc4ff47b783f1a209e8ce2
2021-03-09 21:08:22 +01:00
Jens Pelzetter faf1ce622a New authoring kit annotiation for MVC based authoring steps
Former-commit-id: 6c76578621c2f384d699f2eb3b7bf476f3db2591
2021-03-09 20:47:07 +01:00
Jens Pelzetter 69f246f8a1 Some bugfixes
Former-commit-id: 95af9a5f45798e949634b352b3a264353012714b
2021-03-08 21:04:36 +01:00
Jens Pelzetter e3df86ca21 UI for managing lifecycles and workflows for content sections
Former-commit-id: 14ed70a7896bec6282388a121345dd4fa35cbabc
2021-03-06 22:01:03 +01:00
Jens Pelzetter d7dd75dfe0 Views for managing lifecycles and workflows for content sections
Former-commit-id: a745419bc0d71c2450982753cf5437813433ba10
2021-03-06 17:37:38 +01:00
Jens Pelzetter 121363f6ee Typo
Former-commit-id: 2f12ee923c55e6e50258f6eade095c7df0b3fe22
2021-03-04 20:36:38 +01:00
Jens Pelzetter bd5b9cf3e4 Controller for managing Workflow templates
Former-commit-id: 03c06e69b6f7d6957c24ad7d7e4d44c20e14d05b
2021-03-04 20:28:34 +01:00
Jens Pelzetter 04c7de59d0 Controller for managing LifecyclesDefinitions
Former-commit-id: bc93d8f5d11b62f33536bd03dcb08f4642d4492d
2021-03-03 21:00:02 +01:00
Jens Pelzetter 71f3c07d41 Refactoring
Former-commit-id: eb0a3e61043e50467f73782c91dde61944c7bfb0
2021-03-03 19:49:04 +01:00
Jens Pelzetter 5c2c27e4aa Some refactoring
Former-commit-id: dfe53097a12da0301837f3d7f1cf72373820efe1
2021-03-02 20:33:16 +01:00
Jens Pelzetter d2ddfac6e8 Some refactoring
Former-commit-id: d24f46e0088ec14a1c887b41f74a629dd968a305
2021-03-01 19:51:24 +01:00
Jens Pelzetter 84949ba099 Skeleton for controller for UI for managing workflow tempates for content sections
Former-commit-id: 07dd21721b89d2caac21b632f4bf581c0e570aa5
2021-02-27 19:47:03 +01:00
Jens Pelzetter 2bf0d0d64b Skeleton of controller of lifecycles management UI
Former-commit-id: ca81a6c8d0dbe685211b38f63fb6836ea001e080
2021-02-27 19:33:10 +01:00
Jens Pelzetter 7824208d36 Content Types Management UI
Former-commit-id: 3f43eab84bcce3087cbe96d4464fc9ea25c74efa
2021-02-27 19:14:31 +01:00
Jens Pelzetter bfb3b972da Managing descriptions of roles for content sections
Former-commit-id: d9a3627a974e140c8f6ad715dbd2730ee63e8905
2021-02-25 07:51:15 +01:00
Jens Pelzetter f22e00b166 Management of roles for Content Sections
Former-commit-id: 7507a3032162f8df0d09cc511afaf873d4785780
2021-02-24 21:45:05 +01:00
Jens Pelzetter 99d13efbde Role Managment for content sections
Former-commit-id: 9d017e313fd80872055bd7f3935215357e149d81
2021-02-23 21:34:30 +01:00
Jens Pelzetter 1e0e5f6f65 UI for managing roles in the CMS Admin UI
Former-commit-id: 84d3752b1f87758fda3226351ad5f4e0ce012019
2021-02-22 20:57:15 +01:00
Jens Pelzetter f687a2c875 Role management for content sections
Former-commit-id: 5cf55c6de7f02399e7680010babdd93961003038
2021-02-20 19:01:45 +01:00
Jens Pelzetter ddcd759c2e Some extra permission checks
Former-commit-id: 17639675976a3150f8d9f10e6d776f1f52b51e1b
2021-02-20 11:42:55 +01:00
Jens Pelzetter 6effd9f73b Manage objects in category for cms admin
Former-commit-id: fe6b3a8e06245e6810662a9ec9e4301bb48e29e8
2021-02-20 11:22:57 +01:00
Jens Pelzetter 086a8622de Some bugfixes for category ordering
Former-commit-id: 9de74d77291d945df502383710a1b5cffbbc86e6
2021-02-19 17:36:08 +01:00
Jens Pelzetter f8d7da1fde Category management for CMS admin
Former-commit-id: b6bf21bc6aeb054c962012ef41c911cc03c35ad2
2021-02-18 21:33:26 +01:00
Jens Pelzetter 32d79121a6 Editing of localized titles and descriptions for categories in cms admin finished
Former-commit-id: 066d873b5c70a49fdd24812f60f92045b8d444ff
2021-02-17 20:01:31 +01:00
Jens Pelzetter 66cdcaf820 Fixed version of Wildfly, some work on categories edit for CMS Admin
Former-commit-id: b45eb95aaab2a53aa2af91ae2b3078786d8403cf
2021-02-16 21:31:21 +01:00
Jens Pelzetter 722f5c210f Progress on the category management for cms admin
Former-commit-id: ec215c08aad419ee672cf71cb50a20be0dcff69c
2021-02-15 21:08:56 +01:00
Jens Pelzetter 10ce888689 Category tree for cms admin ui
Former-commit-id: 081ff7d7c6f9c3814c5a069e42712ed307337464
2021-02-13 19:51:54 +01:00
Jens Pelzetter d0341133b3 Mapped category systems overview
Former-commit-id: 05725feb84de36f9124e0a36109bb70321edd655
2021-02-12 19:33:56 +01:00
Jens Pelzetter 499eff6321 Redirect /@contentsections/{sectionIdentifier}/ to /@contentsections/{sectionIdentifier}/documentfolders
Former-commit-id: d543f7a115d2b3150a5bec2a24f83f152f3a2ab6
2021-02-12 17:50:35 +01:00
Jens Pelzetter 5965e3ca43 Controller for managing categories in category systems assigned to a Content Section
Former-commit-id: 327431ed5e069959e238a69382773d5fd9bc469c
2021-02-11 21:02:56 +01:00
Jens Pelzetter 197eefeeae Fixed a small typo
Former-commit-id: 974136cd7d32fc3cf7ad4129cc4c9bd5ecc40b18
2021-02-11 20:40:41 +01:00
Jens Pelzetter 0f1f0fadd4 Controller for categories view in cms admin UI
Former-commit-id: 2d959e5ced3b027376a18134ad2941966ba0a63b
2021-02-10 20:43:49 +01:00
Jens Pelzetter 7bd424537e AssetFolder view
Former-commit-id: 4489b16195dc7155096c89c61916dc52b9b7a039
2021-02-10 20:43:18 +01:00
Jens Pelzetter 00e1da3141 AssetFolder UI classes (controller, models), some refactoring
Former-commit-id: e564c44c3a
2021-02-08 20:58:33 +01:00
Jens Pelzetter 46058678dd Renaming document folders
Former-commit-id: f3fca55a82
2021-02-07 09:43:13 +01:00
Jens Pelzetter 67168fcbff Content Sections UI: Edit permissions, dialog for renaming folders
Former-commit-id: d23b783607
2021-02-06 20:06:40 +01:00
Jens Pelzetter dd6070384a Permissions table
Former-commit-id: 3562852d18
2021-02-04 21:18:56 +01:00
Jens Pelzetter 8aa371571d Some refactoring, and permissions checks
Former-commit-id: 65ef6af336
2021-02-03 20:26:22 +01:00
Jens Pelzetter af0b0c12a0 Access checks
Former-commit-id: 31d6b6c434
2021-02-03 17:16:34 +01:00
Jens Pelzetter c1bcd77b03 Create subfolders
Former-commit-id: 4b4666ce91
2021-02-02 21:37:57 +01:00
Jens Pelzetter 83cfd6be6c Some layout improvments
Former-commit-id: 48dc471342
2021-02-01 21:29:16 +01:00
Jens Pelzetter 1b2eff61b7 Some renames/reorgnization of classes
Former-commit-id: 8dc28751bc
2021-02-01 20:02:12 +01:00
Jens Pelzetter c9c1025394 Document Folder Tree
Former-commit-id: 8b93880488
2021-01-28 21:13:50 +01:00
Jens Pelzetter 5b7ba6c146 DocumentFolderBrower view for content sections
Former-commit-id: e518759964
2021-01-27 21:20:49 +01:00
Jens Pelzetter 81a6e93ddb DocumentFolder entries listing
Former-commit-id: 2917078e55
2021-01-26 21:08:12 +01:00
Jens Pelzetter 008f57ca16 Fixed typos in query
Former-commit-id: 725b8abc55
2021-01-26 07:42:16 +01:00
Jens Pelzetter e999ac290b Faster (native SQL) queries for folder browsing
Former-commit-id: 40efbfdc6e
2021-01-25 21:50:51 +01:00
Jens Pelzetter 6dcf94069e Model for the folder browser
Former-commit-id: 80b568cc28
2021-01-21 21:31:36 +01:00
Jens Pelzetter 78a0f86864 Layout draft for folder browser
Former-commit-id: 7a97fba95b
2021-01-20 21:28:57 +01:00
Jens Pelzetter 93a8b8dff7 Fixed path for cms administration UI
Former-commit-id: 1c0081c990
2021-01-20 17:43:01 +01:00
Jens Pelzetter 379251371d First part of FolderBrowser for MVC based UI
Former-commit-id: b2842d1c4e
2021-01-19 21:38:13 +01:00
Jens Pelzetter 5adf223121 Deleting content section (if empty) works now
Former-commit-id: 98c00fd677
2021-01-19 20:19:49 +01:00
Jens Pelzetter a63147b480 MVC based UI for Content Section management
Former-commit-id: dd8d8d1aac
2021-01-18 21:38:52 +01:00
Jens Pelzetter 06efe0a055 Fixed Wildfly version for all modules
Former-commit-id: 66c2bf54dc
2021-01-17 09:33:06 +01:00
Jens Pelzetter cf87a905a6 Fix Wildfly version for tests
Former-commit-id: b5b39f5d31
2021-01-16 20:27:33 +01:00
Jens Pelzetter 33ff5755e8 Dialog for adding new content sections
Former-commit-id: 7a630d0258
2021-01-16 20:13:37 +01:00
Jens Pelzetter df2c0357ae Named bean for providing information about the current user
Former-commit-id: df5aef34a0
2021-01-15 09:48:54 +01:00
Jens Pelzetter ec19b3f7e2 List of content sections
Former-commit-id: cf4ec00f5d
2021-01-14 21:09:22 +01:00
Jens Pelzetter 7ba904f3f1 Fixed remaining links in @admin
Former-commit-id: 573af19c5f
2021-01-14 20:14:52 +01:00
Jens Pelzetter 840365ff0e Fixed links in /@admin/configuration
Former-commit-id: fe52bfb1b8
2021-01-14 19:20:27 +01:00
Jens Pelzetter f8838f37b4 Fixed links for users-groups-roles
Former-commit-id: 3fc39d71a8
2021-01-14 18:50:39 +01:00
Jens Pelzetter 86b924b5bc Fixed several links in ccm-admin
Former-commit-id: c2dbc40923
2021-01-12 21:12:51 +01:00
Jens Pelzetter e289b428f5 Removed usage of MvcContext#uri
Former-commit-id: d4b27e04c9
2021-01-12 18:55:21 +01:00
Jens Pelzetter e3b428536f Some small improvements concerning some URLs
Former-commit-id: c5c657c449
2021-01-11 21:30:40 +01:00
Jens Pelzetter 38ecc4df18 Some work on the content sections admin app
Former-commit-id: 6fee82e83b
2021-01-11 20:30:25 +01:00
Jens Pelzetter ee2ba67534 Abstract base class for messages beans
Former-commit-id: f5058a665c
2021-01-11 20:29:21 +01:00
Jens Pelzetter fa0c169f7e Basic setup for EE MVC in ccm-cms
Former-commit-id: 87b688ddf4
2021-01-09 19:02:48 +01:00
jensp 1736d5bcff Merge pull request 'mvc-theme-integration' (#8) from mvc-theme-integration into master
Reviewed-on: #8
2021-01-09 16:16:03 +01:00
jensp 5a380449be Merge pull request 'mvc-theme-integration' (#8) from mvc-theme-integration into master
Reviewed-on: #8

Former-commit-id: 3a33be81bb
2021-01-09 16:16:03 +01:00
Jens Pelzetter b700604399 Use MVC based login for MVC based admin application 2021-01-09 16:14:44 +01:00
Jens Pelzetter 8cd6162ccd Use MVC based login for MVC based admin application
Former-commit-id: 83db8be9f5
2021-01-09 16:14:44 +01:00
Jens Pelzetter d632003bbc Minimales theme für login 2021-01-08 19:53:58 +01:00
Jens Pelzetter 15dc1d0fce Minimales theme für login
Former-commit-id: af4873abfe
2021-01-08 19:53:58 +01:00
Jens Pelzetter 375e5eff65 JavaDoc for the integration of EE MVC and the themeing system 2021-01-07 20:18:19 +01:00
Jens Pelzetter a07301082d JavaDoc for the integration of EE MVC and the themeing system
Former-commit-id: 4f338ad224
2021-01-07 20:18:19 +01:00
Jens Pelzetter 32d5eed14d More user friendly methods for getting template for ThemesMvc 2021-01-06 19:27:44 +01:00
Jens Pelzetter 6da18a1fdc More user friendly methods for getting template for ThemesMvc
Former-commit-id: ae1a3447e3
2021-01-06 19:27:44 +01:00
Jens Pelzetter 4a5b38f42e Logout Application 2021-01-06 17:13:40 +01:00
Jens Pelzetter 510a54921e Logout Application
Former-commit-id: a6b157306e
2021-01-06 17:13:40 +01:00
Jens Pelzetter 8968057d6e Small fixes for login app 2021-01-06 14:46:50 +01:00
Jens Pelzetter 707562de6e Small fixes for login app
Former-commit-id: 1530cd74c8
2021-01-06 14:46:50 +01:00
Jens Pelzetter 5f155a754f Integration of EE MVC and CCM themes 2021-01-05 19:21:23 +01:00
Jens Pelzetter f02721df90 Integration of EE MVC and CCM themes
Former-commit-id: f0e152822d
2021-01-05 19:21:23 +01:00
Jens Pelzetter 5c2c4e583f MVC theme integration 2021-01-04 19:46:13 +01:00
Jens Pelzetter 1f4bb8e2ae MVC theme integration
Former-commit-id: 12d779b5d3
2021-01-04 19:46:13 +01:00
Jens Pelzetter 7378d34e9e Merge branch 'master' into mvc-theme-integration 2020-12-24 12:03:41 +01:00
Jens Pelzetter c8b14b0dbd Merge branch 'master' into mvc-theme-integration
Former-commit-id: 7ca3c0b254
2020-12-24 12:03:41 +01:00
Jens Pelzetter 201a4bf038 Some bugfixes 2020-12-24 12:03:33 +01:00
Jens Pelzetter 6ccae78ab8 Some bugfixes
Former-commit-id: 8d3b72efee
2020-12-24 12:03:33 +01:00
Jens Pelzetter a8a8ac3acf Krazo Theme integration 2020-12-23 21:48:31 +01:00
Jens Pelzetter 3e6ccdb5c5 Krazo Theme integration
Former-commit-id: 7002ed7682
2020-12-23 21:48:31 +01:00
Jens Pelzetter e025bd6108 Fixed test failures 2020-12-23 14:46:19 +01:00
Jens Pelzetter 47a7850de1 Fixed test failures
Former-commit-id: b6be86c5d6
2020-12-23 14:46:19 +01:00
Jens Pelzetter efb5800f4c Fixed dependencies for integration tests 2020-12-22 21:22:31 +01:00
Jens Pelzetter c4db8573f2 Fixed dependencies for integration tests
Former-commit-id: 7565750ac0
2020-12-22 21:22:31 +01:00
Jens Pelzetter 90fa2b26ce Fixed test failures due to missing dependencies 2020-12-21 17:42:55 +01:00
Jens Pelzetter 544a78f395 Fixed test failures due to missing dependencies
Former-commit-id: 17d8b48437
2020-12-21 17:42:55 +01:00
Jens Pelzetter 5c35ffda23 Controller for EE MVC based login app 2020-12-20 11:41:51 +01:00
Jens Pelzetter f13dd4b4ec Controller for EE MVC based login app
Former-commit-id: 8920bbb7c2
2020-12-20 11:41:51 +01:00
Jens Pelzetter 0a26ff3f25 Integration of Themes with MVC 2020-12-19 19:10:12 +01:00
Jens Pelzetter ed15e4d16e Integration of Themes with MVC
Former-commit-id: 9bbab62c8a
2020-12-19 19:10:12 +01:00
jensp 04d06586c5 Merge pull request 'ccm-admin' (#7) from ccm-admin into master
Reviewed-on: #7
2020-12-19 16:56:31 +01:00
jensp dfc66b56a6 Merge pull request 'ccm-admin' (#7) from ccm-admin into master
Reviewed-on: #7

Former-commit-id: ebbf951981
2020-12-19 16:56:31 +01:00
Jens Pelzetter e28f646702 Merge branch 'master' into ccm-admin 2020-12-19 16:53:56 +01:00
Jens Pelzetter 6d187c3434 Merge branch 'master' into ccm-admin
Former-commit-id: 24923b06e3
2020-12-19 16:53:56 +01:00
Jens Pelzetter 209ca41e5e JavaDoc for Admin UI 2020-12-10 15:28:12 +01:00
Jens Pelzetter 4a209582f5 JavaDoc for Admin UI
Former-commit-id: ce299163ab
2020-12-10 15:28:12 +01:00
Jens Pelzetter 36bba3b9dc Code cleanup 2020-12-09 20:26:03 +01:00
Jens Pelzetter ba1cd8c49c Code cleanup
Former-commit-id: 93c300df1d
2020-12-09 20:26:03 +01:00
Jens Pelzetter 0b3d03cae6 UI for Import/Export of entities 2020-12-09 20:19:39 +01:00
Jens Pelzetter e6e6919b92 UI for Import/Export of entities
Former-commit-id: 8bddae0711
2020-12-09 20:19:39 +01:00
Jens Pelzetter 9537554149 Added a reload method to the interface of the AbstractImExporter class 2020-12-08 20:26:13 +01:00
Jens Pelzetter e1137ae2e9 Added a reload method to the interface of the AbstractImExporter class
Former-commit-id: 6fd4e177cf
2020-12-08 20:26:13 +01:00
Jens Pelzetter 210c0e08bb Aktueller Stand ImExport UI 2020-12-05 19:36:39 +01:00
Jens Pelzetter 1ddff7a54a Aktueller Stand ImExport UI
Former-commit-id: 0acc7f17b4
2020-12-05 19:36:39 +01:00
Jens Pelzetter 39358f6c02 Form for configuring export 2020-12-03 21:10:31 +01:00
Jens Pelzetter c3f1c74890 Form for configuring export
Former-commit-id: beef038b62
2020-12-03 21:10:31 +01:00
Jens Pelzetter f9a129cd39 Bugfix 2020-12-03 21:10:14 +01:00
Jens Pelzetter b987fd763d Bugfix
Former-commit-id: a539740f3c
2020-12-03 21:10:14 +01:00
Jens Pelzetter 20ba08580a Constructor of EntityImExporterTreeNode is now protected 2020-12-03 20:31:26 +01:00
Jens Pelzetter b6b7d61b90 Constructor of EntityImExporterTreeNode is now protected
Former-commit-id: ff5d2b1390
2020-12-03 20:31:26 +01:00
Jens Pelzetter 2489599372 EntityImExporterTreeNode.java is now public 2020-12-03 20:30:48 +01:00
Jens Pelzetter ecf238b7a3 EntityImExporterTreeNode.java is now public
Former-commit-id: 73c140894d
2020-12-03 20:30:48 +01:00
Jens Pelzetter 1887deda67 Code formatting 2020-12-03 20:29:06 +01:00
Jens Pelzetter 6eeff4a464 Code formatting
Former-commit-id: 24cc42167b
2020-12-03 20:29:06 +01:00
Jens Pelzetter c363b8cd43 Some bugfixes 2020-12-03 20:27:16 +01:00
Jens Pelzetter 96163f44fc Some bugfixes
Former-commit-id: 5dd6009aef
2020-12-03 20:27:16 +01:00
Jens Pelzetter bd0ccd0ae6 Im/Exporter for ContentSections 2020-12-03 20:26:50 +01:00
Jens Pelzetter 7e760cc9d0 Im/Exporter for ContentSections
Former-commit-id: f9e8311694
2020-12-03 20:26:50 +01:00
Jens Pelzetter 5caacee0e8 Some initial work for im/export ui 2020-12-02 20:06:04 +01:00
Jens Pelzetter d3c0a322b3 Some initial work for im/export ui
Former-commit-id: 6313ef9ab2
2020-12-02 20:06:04 +01:00
Jens Pelzetter dbdc197738 Typo 2020-12-01 20:43:09 +01:00
Jens Pelzetter dacca9c2a5 Typo
Former-commit-id: 943caf71f4
2020-12-01 20:43:09 +01:00
Jens Pelzetter b3e28eade1 Theme Management via Admin UI 2020-12-01 20:42:52 +01:00
Jens Pelzetter e00a9e42b3 Theme Management via Admin UI
Former-commit-id: 228691d540
2020-12-01 20:42:52 +01:00
Jens Pelzetter 2d5f0fc2a1 Admin Dashboard 2020-11-29 12:05:24 +01:00
Jens Pelzetter c8f5c50967 Admin Dashboard
Former-commit-id: 4168bd0f8e
2020-11-29 12:05:24 +01:00
Jens Pelzetter 1b4b6e571b Content Section management for Admin application 2020-11-28 20:26:04 +01:00
Jens Pelzetter fee5cf81a4 Content Section management for Admin application
Former-commit-id: 90d2d2ea51
2020-11-28 20:26:04 +01:00
Jens Pelzetter 9983db5c42 Applications administration, Shortcuts administration 2020-11-28 17:53:01 +01:00
Jens Pelzetter 97dc05d0e4 Applications administration, Shortcuts administration
Former-commit-id: b610f9258c
2020-11-28 17:53:01 +01:00
Jens Pelzetter c7ff731461 Admin UI for Applications 2020-11-26 21:42:35 +01:00
Jens Pelzetter 9deaa8ddb9 Admin UI for Applications
Former-commit-id: 21633451bc
2020-11-26 21:42:35 +01:00
Jens Pelzetter 99f65ecc06 Overview page for Application Admin 2020-11-25 21:32:19 +01:00
Jens Pelzetter 911955e6b8 Overview page for Application Admin
Former-commit-id: a0e9183596
2020-11-25 21:32:19 +01:00
Jens Pelzetter 82974ede3a UI for Sites Management 2020-11-22 15:45:16 +01:00
Jens Pelzetter 54b7b6ec56 UI for Sites Management
Former-commit-id: a10e351676
2020-11-22 15:45:16 +01:00
Jens Pelzetter eff0073437 FileSystemThemeProvider: Catch exception thrown if CcmFiles is not configured, return empty list 2020-11-22 15:44:15 +01:00
Jens Pelzetter 21fd8b34c3 FileSystemThemeProvider: Catch exception thrown if CcmFiles is not configured, return empty list
Former-commit-id: 0156551cae
2020-11-22 15:44:15 +01:00
Jens Pelzetter 6e7b6b8dd8 Finishing UI for category management 2020-11-22 10:46:11 +01:00
Jens Pelzetter d9546b466d Finishing UI for category management
Former-commit-id: 2a59640052
2020-11-22 10:46:11 +01:00
Jens Pelzetter a202973bc6 Set default encoding for FormParams to UTF-8 2020-11-22 10:43:46 +01:00
Jens Pelzetter 3ab4a2d825 Set default encoding for FormParams to UTF-8
Former-commit-id: 26eb775d31
2020-11-22 10:43:46 +01:00
Jens Pelzetter d61090d0fd CategoryManagement 2020-11-21 21:57:44 +01:00
Jens Pelzetter bf70d3fb00 CategoryManagement
Former-commit-id: 8a1effe4bb
2020-11-21 21:57:44 +01:00
Jens Pelzetter b3d870eb57 Fixed a typo 2020-11-21 14:02:06 +01:00
Jens Pelzetter 0ff79dc9fe Fixed a typo
Former-commit-id: 5552ad9342
2020-11-21 14:02:06 +01:00
Jens Pelzetter 0387b14aac Bugfix 2020-11-21 13:58:10 +01:00
Jens Pelzetter e2e23e00bc Bugfix
Former-commit-id: f00486ad89
2020-11-21 13:58:10 +01:00
Jens Pelzetter 6986786f12 Query for finding a domain by its root category 2020-11-21 11:37:19 +01:00
Jens Pelzetter 7ca750b658 Query for finding a domain by its root category
Former-commit-id: 54a2dcffdc
2020-11-21 11:37:19 +01:00
Jens Pelzetter 46bf425f96 Typo in JavaDoc 2020-11-21 11:37:03 +01:00
Jens Pelzetter 93a260c345 Typo in JavaDoc
Former-commit-id: 9dbaa822b4
2020-11-21 11:37:03 +01:00
Jens Pelzetter 4b6346e79a Views for managing categories 2020-11-19 20:39:13 +01:00
Jens Pelzetter 05b73665d7 Views for managing categories
Former-commit-id: 7f02c95307
2020-11-19 20:39:13 +01:00
Jens Pelzetter 854ed35c61 Component for delete dialog 2020-11-19 20:38:57 +01:00
Jens Pelzetter b0e5d45680 Component for delete dialog
Former-commit-id: 1e35130174
2020-11-19 20:38:57 +01:00
Jens Pelzetter 1c1f51ce6a Components for single checkbox, checkbox group and radio group 2020-11-19 15:07:19 +01:00
Jens Pelzetter 92060495ac Components for single checkbox, checkbox group and radio group
Former-commit-id: a45ab318ef
2020-11-19 15:07:19 +01:00
Jens Pelzetter c913118bd1 formGroup for select element 2020-11-19 13:37:34 +01:00
Jens Pelzetter 5a19b15ebf formGroup for select element
Former-commit-id: de89b2c131
2020-11-19 13:37:34 +01:00
Jens Pelzetter 24c02d5874 More form group components 2020-11-18 21:14:29 +01:00
Jens Pelzetter a94bd988ee More form group components
Former-commit-id: f4ee9d96b8
2020-11-18 21:14:29 +01:00
Jens Pelzetter 242ac98043 Component for Bootstrap form group with input of type number 2020-11-18 19:42:41 +01:00
Jens Pelzetter 0a5f82e6f1 Component for Bootstrap form group with input of type number
Former-commit-id: 4a28e8f23a
2020-11-18 19:42:41 +01:00
Jens Pelzetter b23c1f8f25 Base component for Bootstrap form groups 2020-11-18 17:04:59 +01:00
Jens Pelzetter 9cbb19cada Base component for Bootstrap form groups
Former-commit-id: 0b416e49dd
2020-11-18 17:04:59 +01:00
Jens Pelzetter 6a6a9f67f8 JSF Component for the bootstrap form group 2020-11-18 16:48:55 +01:00
Jens Pelzetter 065bf0966d JSF Component for the bootstrap form group
Former-commit-id: f36d3a9603
2020-11-18 16:48:55 +01:00
Jens Pelzetter a9a16311b3 Typos 2020-11-18 16:48:43 +01:00
Jens Pelzetter 2f7f7e7e38 Typos
Former-commit-id: e034429915
2020-11-18 16:48:43 +01:00
Jens Pelzetter 550446b183 Some additional components 2020-11-16 20:32:04 +01:00
Jens Pelzetter cb9a1f049d Some additional components
Former-commit-id: f2455c3160
2020-11-16 20:32:04 +01:00
Jens Pelzetter 08bfb9eb97 Table for Root Categories 2020-11-15 16:11:56 +01:00
Jens Pelzetter d44ad3c5d0 Table for Root Categories
Former-commit-id: 97ace91f7a
2020-11-15 16:11:56 +01:00
Jens Pelzetter 73a0a79454 Missing categories 2020-11-15 14:57:59 +01:00
Jens Pelzetter c693ee6a64 Missing categories
Former-commit-id: 87b563d96a
2020-11-15 14:57:59 +01:00
Jens Pelzetter 5ddfa1686d Fixed a typo 2020-11-15 14:56:53 +01:00
Jens Pelzetter ceaaec5809 Fixed a typo
Former-commit-id: eda934719d
2020-11-15 14:56:53 +01:00
Jens Pelzetter 2cfc1c0208 Cleanup 2020-11-15 14:56:41 +01:00
Jens Pelzetter 204e30c183 Cleanup
Former-commit-id: ca154bf120
2020-11-15 14:56:41 +01:00
Jens Pelzetter 72fd38bef7 Composite components for UI 2020-11-15 14:36:02 +01:00
Jens Pelzetter 99cdc9bd99 Composite components for UI
Former-commit-id: 064a958062
2020-11-15 14:36:02 +01:00
Jens Pelzetter 04d28c1b3f Editing of title, description and owners of a category system 2020-11-14 22:05:23 +01:00
Jens Pelzetter f9dd40289d Editing of title, description and owners of a category system
Former-commit-id: 9376ade5d9
2020-11-14 22:05:23 +01:00
Jens Pelzetter 313951fca2 Category System Edit 2020-11-14 11:46:05 +01:00
Jens Pelzetter e88f99155d Category System Edit
Former-commit-id: ecc0fae017
2020-11-14 11:46:05 +01:00
Jens Pelzetter 98546894c0 Category System Edit form 2020-11-13 10:17:07 +01:00
Jens Pelzetter c2ef4f67a0 Category System Edit form
Former-commit-id: 851f905302
2020-11-13 10:17:07 +01:00
Jens Pelzetter 4454f56387 Use java.time.LocalDate instead of java.util.Date for Domain#released 2020-11-13 07:46:24 +01:00
Jens Pelzetter b435e8f06b Use java.time.LocalDate instead of java.util.Date for Domain#released
Former-commit-id: df9d854b4a
2020-11-13 07:46:24 +01:00
Jens Pelzetter a345920db0 Change column type for category_domains.released to date 2020-11-13 07:45:52 +01:00
Jens Pelzetter c3587221bb Change column type for category_domains.released to date
Former-commit-id: 176f2e52cc
2020-11-13 07:45:52 +01:00
Jens Pelzetter 6c0a262408 CategorySystem edit form 2020-11-12 21:06:43 +01:00
Jens Pelzetter 04d3c3bcc4 CategorySystem edit form
Former-commit-id: a995c66ab3
2020-11-12 21:06:43 +01:00
Jens Pelzetter 2c794cd2ed Edit form for Category Systems 2020-11-11 19:01:03 +01:00
Jens Pelzetter cb0461aadc Edit form for Category Systems
Former-commit-id: edc1de573c
2020-11-11 19:01:03 +01:00
Jens Pelzetter 3e52a0fae2 Details View for category systems 2020-11-11 17:51:21 +01:00
Jens Pelzetter 3f85d5de94 Details View for category systems
Former-commit-id: 5ce0349474
2020-11-11 17:51:21 +01:00
Jens Pelzetter 57f6e90c56 Category Systems create and list 2020-11-11 14:59:52 +01:00
Jens Pelzetter d0c6b6a6bd Category Systems create and list
Former-commit-id: 58dbc70353
2020-11-11 14:59:52 +01:00
Jens Pelzetter 99dfb7949c Some bugfixes 2020-11-11 08:45:08 +01:00
Jens Pelzetter 6f0395d8f1 Some bugfixes
Former-commit-id: 6608e091fb
2020-11-11 08:45:08 +01:00
Jens Pelzetter cbeb1063ee Category Management Admin UI 2020-11-10 19:37:56 +01:00
Jens Pelzetter 5cfc4e1bea Category Management Admin UI
Former-commit-id: d8ccd6585a
2020-11-10 19:37:56 +01:00
Jens Pelzetter 1b7bcfea49 Controllers for the Admin UI for categories 2020-11-08 11:58:45 +01:00
Jens Pelzetter 2930fbae2e Controllers for the Admin UI for categories
Former-commit-id: 65f19b867e
2020-11-08 11:58:45 +01:00
Jens Pelzetter c6a140c3db Renamed CategoriesController to CategorySystemController 2020-11-08 10:38:07 +01:00
Jens Pelzetter d98a6f8292 Renamed CategoriesController to CategorySystemController
Former-commit-id: cc9c09efe7
2020-11-08 10:38:07 +01:00
Jens Pelzetter 16cc7aedcb CCM Admin UI Settings Editor: Resetting to default value 2020-11-07 18:56:07 +01:00
Jens Pelzetter 80dde34f91 CCM Admin UI Settings Editor: Resetting to default value
Former-commit-id: 876e4a399c
2020-11-07 18:56:07 +01:00
Jens Pelzetter 0650e1a073 CCM Admin UI: Edit configuration settings 2020-11-07 17:11:55 +01:00
Jens Pelzetter 94eb7d3c76 CCM Admin UI: Edit configuration settings
Former-commit-id: b514f8d32f
2020-11-07 17:11:55 +01:00
Jens Pelzetter b5a48b71f5 Admin UI for editing configuration settings (not finished yet) 2020-11-05 21:30:42 +01:00
Jens Pelzetter 6b7520f17d Admin UI for editing configuration settings (not finished yet)
Former-commit-id: 9fce8f562f
2020-11-05 21:30:42 +01:00
Jens Pelzetter 8092a5cc35 Settings dialog 2020-11-04 21:05:51 +01:00
Jens Pelzetter 7568bc4839 Settings dialog
Former-commit-id: 6078535716
2020-11-04 21:05:51 +01:00
Jens Pelzetter 3840624403 SettingsController endpoint for updating setting values 2020-11-03 14:39:04 +01:00
Jens Pelzetter 43ab6c13f4 SettingsController endpoint for updating setting values
Former-commit-id: be07d07c98
2020-11-03 14:39:04 +01:00
Jens Pelzetter 5232b55eae Settings dialog basic design 2020-11-02 20:50:19 +01:00
Jens Pelzetter 48824e7249 Settings dialog basic design
Former-commit-id: 03b125d099
2020-11-02 20:50:19 +01:00
Jens Pelzetter 8e1a12e72f Help for settings 2020-11-02 11:36:24 +01:00
Jens Pelzetter 617c5eed91 Help for settings
Former-commit-id: aba8d5bad2
2020-11-02 11:36:24 +01:00
Jens Pelzetter 75a0ff7fbc Labels and descriptions for configuration settings 2020-11-01 13:00:54 +01:00
Jens Pelzetter cd38089a8d Labels and descriptions for configuration settings
Former-commit-id: 6721b0db37
2020-11-01 13:00:54 +01:00
Jens Pelzetter f8607c0fb3 Settings view for configuration 2020-10-31 19:23:36 +01:00
Jens Pelzetter 0496d30458 Settings view for configuration
Former-commit-id: c40e1345bb
2020-10-31 19:23:36 +01:00
Jens Pelzetter d6ba57414c UI for managing settings 2020-10-23 21:38:18 +02:00
Jens Pelzetter f4378bfcdd UI for managing settings
Former-commit-id: 1eb7ed0f0a
2020-10-23 21:38:18 +02:00
Jens Pelzetter 48c2faff70 Configurations list 2020-10-23 18:29:17 +02:00
Jens Pelzetter 0f99e77a6c Configurations list
Former-commit-id: 7798852543
2020-10-23 18:29:17 +02:00
Jens Pelzetter 743ceeb07d Some bugfixes for the users/groups/roles adminstration, JavaDoc 2020-10-23 09:45:23 +02:00
Jens Pelzetter 54858c3ce4 Some bugfixes for the users/groups/roles adminstration, JavaDoc
Former-commit-id: 1b0962bbfb
2020-10-23 09:45:23 +02:00
Jens Pelzetter 540e1bd9e6 Management for users, groups and roles: All necessary functions should now be implemented 2020-10-22 21:07:58 +02:00
Jens Pelzetter acb7b25058 Management for users, groups and roles: All necessary functions should now be implemented
Former-commit-id: 87f1d9a264
2020-10-22 21:07:58 +02:00
Jens Pelzetter f83d4b4833 User and groups management implementaiton completed 2020-10-21 20:11:22 +02:00
Jens Pelzetter 4932c905c0 User and groups management implementaiton completed
Former-commit-id: f9f4507e35
2020-10-21 20:11:22 +02:00
Jens Pelzetter a6b7c7e900 Groups management UI 2020-10-20 20:21:28 +02:00
Jens Pelzetter 89eda23eb8 Groups management UI
Former-commit-id: 39cd08bb28
2020-10-20 20:21:28 +02:00
Jens Pelzetter 9bc6659fb2 Additional forms and controller methods for groups 2020-10-15 19:58:11 +02:00
Jens Pelzetter c97a0ebe33 Additional forms and controller methods for groups
Former-commit-id: 2ba4536968
2020-10-15 19:58:11 +02:00
Jens Pelzetter 9c9742bf7e Forms for group management (not working yet!) 2020-10-12 19:31:38 +02:00
Jens Pelzetter 06fb2c86b0 Forms for group management (not working yet!)
Former-commit-id: 141ce33ee0
2020-10-12 19:31:38 +02:00
Jens Pelzetter 14a1a2eb05 Groups overview 2020-10-06 09:10:50 +02:00
Jens Pelzetter 303acf1bd5 Groups overview
Former-commit-id: 4655a31804
2020-10-06 09:10:50 +02:00
Jens Pelzetter d84245684f JavaDoc for the admin UI (general UI classes, general classes for admin UI, users management) 2020-10-06 08:05:52 +02:00
Jens Pelzetter fed61ecdb6 JavaDoc for the admin UI (general UI classes, general classes for admin UI, users management)
Former-commit-id: 543bfc78fb
2020-10-06 08:05:52 +02:00
Jens Pelzetter 66c491e931 Typo 2020-10-05 21:28:24 +02:00
Jens Pelzetter a9246a4866 Typo
Former-commit-id: 422ad23a21
2020-10-05 21:28:24 +02:00
Jens Pelzetter 2f9cd0d9c1 Bugfixes 2020-10-05 21:26:18 +02:00
Jens Pelzetter c865113bb6 Bugfixes
Former-commit-id: 77086c84c1
2020-10-05 21:26:18 +02:00
Jens Pelzetter 19d4882a6c Bugfixes 2020-10-03 19:00:23 +02:00
Jens Pelzetter 1221e957a2 Bugfixes
Former-commit-id: bd7fa4bbec
2020-10-03 19:00:23 +02:00
Jens Pelzetter 208c4f85b7 Bugfixes for user admin UI 2020-10-02 19:57:28 +02:00
Jens Pelzetter f4cc7db018 Bugfixes for user admin UI
Former-commit-id: 0482a1e7ec
2020-10-02 19:57:28 +02:00
Jens Pelzetter 5b17acd6bf Bugfixes users administration 2020-09-30 21:06:47 +02:00
Jens Pelzetter 06bba15fef Bugfixes users administration
Former-commit-id: 3fc63650cc
2020-09-30 21:06:47 +02:00
Jens Pelzetter 9c28860d3c IMprovements for user management UI 2020-09-28 21:11:37 +02:00
Jens Pelzetter be2e61de81 IMprovements for user management UI
Former-commit-id: 444f59f760
2020-09-28 21:11:37 +02:00
Jens Pelzetter d2c296a84a Forms for managing users (not tested yet!) 2020-09-25 20:03:33 +02:00
Jens Pelzetter db19646e49 Forms for managing users (not tested yet!)
Former-commit-id: 1ecaac58a5
2020-09-25 20:03:33 +02:00
Jens Pelzetter 29a567f448 User Details view and some other enhancements for the Admin UI 2020-09-24 21:13:57 +02:00
Jens Pelzetter d6fbee334b User Details view and some other enhancements for the Admin UI
Former-commit-id: f92a266edd
2020-09-24 21:13:57 +02:00
Jens Pelzetter 6ebb1aed53 Moved controller methods for users administration to separate controller 2020-09-23 21:13:41 +02:00
Jens Pelzetter 1560f14d3b Moved controller methods for users administration to separate controller
Former-commit-id: fd6ea7e38b
2020-09-23 21:13:41 +02:00
Jens Pelzetter aed845570b Changed order of admin pages to get the mosted used one the left most position 2020-09-23 21:13:04 +02:00
Jens Pelzetter d13b49fd43 Changed order of admin pages to get the mosted used one the left most position
Former-commit-id: 6ac24368b0
2020-09-23 21:13:04 +02:00
Jens Pelzetter 917849e622 Table of users 2020-09-23 20:41:00 +02:00
Jens Pelzetter 8679bce75c Table of users
Former-commit-id: defc184de5
2020-09-23 20:41:00 +02:00
Jens Pelzetter 3ea0fb62d3 Localized texts for Admin UI 2020-09-22 20:07:29 +02:00
Jens Pelzetter 09c3762411 Localized texts for Admin UI
Former-commit-id: f8a0079be7
2020-09-22 20:07:29 +02:00
Jens Pelzetter 28e205a89e Placeholder pages for admin 2020-09-21 21:15:18 +02:00
Jens Pelzetter 0c34ab684a Placeholder pages for admin
Former-commit-id: 732295b2fe
2020-09-21 21:15:18 +02:00
Jens Pelzetter 26b7b31d94 Base template for ccm-admin 2020-09-20 13:18:59 +02:00
Jens Pelzetter 6af7d3f173 Base template for ccm-admin
Former-commit-id: fe94a7de50
2020-09-20 13:18:59 +02:00
Jens Pelzetter ee1bc07425 Filter for JAX-RS / EE MVC applications for redirecting unauthenticated users to the login application 2020-09-19 17:41:00 +02:00
Jens Pelzetter ee396c2d56 Filter for JAX-RS / EE MVC applications for redirecting unauthenticated users to the login application
Former-commit-id: db5734f3f7
2020-09-19 17:41:00 +02:00
Jens Pelzetter b5edd0cb6f Optimized Jenkinsfile 2020-09-18 14:17:29 +02:00
Jens Pelzetter 364f415c81 Optimized Jenkinsfile
Former-commit-id: 4bc5ab2fb9
2020-09-18 14:17:29 +02:00
Jens Pelzetter dccf46ec7e Bootstrap integration for ccm-admin 2020-09-17 21:09:57 +02:00
Jens Pelzetter 94ab5124c8 Bootstrap integration for ccm-admin
Former-commit-id: 5685edafb2
2020-09-17 21:09:57 +02:00
Jens Pelzetter 0cb2214dd2 Basic structure for new admin app 2020-09-16 21:23:44 +02:00
Jens Pelzetter e6c98f4aee Basic structure for new admin app
Former-commit-id: 5988005dfd
2020-09-16 21:23:44 +02:00
Jens Pelzetter d1f7d01c76 Fixed typo in faces-config.xml (old class name for resource handler) 2020-09-16 20:02:44 +02:00
Jens Pelzetter 9df709177f Fixed typo in faces-config.xml (old class name for resource handler)
Former-commit-id: 2be90b1700
2020-09-16 20:02:44 +02:00
jensp 1d399a299b Merge pull request 'ee-mvc' (#6) from ee-mvc into master
Support for Jakarta EE MVC
2020-09-16 11:25:18 +02:00
jensp dc61dd17d8 Merge pull request 'ee-mvc' (#6) from ee-mvc into master
Support for Jakarta EE MVC


Former-commit-id: 072b838582
2020-09-16 11:25:18 +02:00
Jens Pelzetter a8ff640861 JavaDoc update 2020-09-16 08:40:53 +02:00
Jens Pelzetter 6c9279590d JavaDoc update
Former-commit-id: eb73092c37
2020-09-16 08:40:53 +02:00
Jens Pelzetter c5eba9dc75 JavaDoc for the integration of Krazos Facelets ViewEngine with LibreCCM and a small bugfix 2020-09-13 18:51:29 +02:00
Jens Pelzetter d72d054efa JavaDoc for the integration of Krazos Facelets ViewEngine with LibreCCM and a small bugfix
Former-commit-id: 48ee764e5f
2020-09-13 18:51:29 +02:00
Jens Pelzetter 1e08edc195 JavaDoc for CcmThemeUrlConnection 2020-09-13 17:59:02 +02:00
Jens Pelzetter 271b17fcc9 JavaDoc for CcmThemeUrlConnection
Former-commit-id: 4de6185588
2020-09-13 17:59:02 +02:00
Jens Pelzetter aa0a21f948 Integrate Krazo Facelets View Engine with LibreCCM themes 2020-09-13 16:51:50 +02:00
Jens Pelzetter a122e89497 Integrate Krazo Facelets View Engine with LibreCCM themes
Former-commit-id: fc4d838bc7
2020-09-13 16:51:50 +02:00
Jens Pelzetter 5fec534c14 Formatting 2020-09-13 16:51:13 +02:00
Jens Pelzetter 05e4e3142c Formatting
Former-commit-id: ef02a6c7a0
2020-09-13 16:51:13 +02:00
Jens Pelzetter 1b71def16d Integration of EE MVC 2020-09-13 16:50:49 +02:00
Jens Pelzetter e6240e458c Integration of EE MVC
Former-commit-id: 8b06dc6cb2
2020-09-13 16:50:49 +02:00
Jens Pelzetter dfde296f83 Integration of CCM themes and EE/MVC Krazo 2020-09-13 12:08:59 +02:00
Jens Pelzetter a21a31f76e Integration of CCM themes and EE/MVC Krazo
Former-commit-id: 402ea5614d
2020-09-13 12:08:59 +02:00
Jens Pelzetter 303ca7e39c Added dependencies for Jakarata EE MVC and Eclipse Krazo 2020-09-10 08:56:13 +02:00
Jens Pelzetter b0f9935685 Added dependencies for Jakarata EE MVC and Eclipse Krazo
Former-commit-id: 9eb51f95a4
2020-09-10 08:56:13 +02:00
Jens Pelzetter 71597cdb00 JavaDoc for CcmCore class 2020-09-08 16:55:05 +02:00
Jens Pelzetter 2362d11533 JavaDoc for CcmCore class
Former-commit-id: 80fa60af9f
2020-09-08 16:55:05 +02:00
Jens Pelzetter 6fdc883f87 Some more JavaDoc 2020-09-08 16:52:14 +02:00
Jens Pelzetter c84ccd49f7 Some more JavaDoc
Former-commit-id: e13f137534
2020-09-08 16:52:14 +02:00
Jens Pelzetter 6800ebf157 Fixed some problems in poms 2020-09-08 16:51:45 +02:00
Jens Pelzetter a4133ad692 Fixed some problems in poms
Former-commit-id: 1c89a53d67
2020-09-08 16:51:45 +02:00
Jens Pelzetter 17a4c98d69 typo 2020-08-16 14:03:48 +02:00
Jens Pelzetter b0ca16a9d0 Typo 2020-08-16 14:01:42 +02:00
Jens Pelzetter 09045e47b5 Typo 2020-08-16 14:00:39 +02:00
Jens Pelzetter 42920ec24a Fixed another Issue in the Jenkinsfile 2020-08-16 13:53:48 +02:00
Jens Pelzetter 64a7593e05 Typo 2020-08-16 12:18:09 +02:00
Jens Pelzetter 756536c5ce Use properties file for configuring Wildfly ports 2020-08-16 11:07:01 +02:00
Jens Pelzetter 4dcd0fca0e typo 2020-08-16 10:42:33 +02:00
Jens Pelzetter 401f4a26b3 Use port 8180 for Wildfly HTTP 2020-08-16 10:42:08 +02:00
Jens Pelzetter 81bb9c4c66 Use port 8180 for Wildfly 2020-08-16 10:38:56 +02:00
Jens Pelzetter b8f68c83af Updated README and Jenkinsfile 2020-08-16 10:10:53 +02:00
jensp a9babd2ceb Merge pull request 'replace-ccmsh-with-wildfly-maven-plugin' (#4) from replace-ccmsh-with-wildfly-maven-plugin into master
Reviewed-on: #4
2020-08-15 10:38:30 +02:00
Jens Pelzetter 265d30ad13 Adjusted Jenkinsfile for use new profile 2020-07-18 19:14:26 +02:00
Jens Pelzetter d703354cb2 Adjusted README.md to new test structure and added instructions for running a bundle using the wildfly-maven-plugin 2020-07-18 19:12:05 +02:00
Jens Pelzetter 38d1468686 Removed obsolete ccm-readme.txt 2020-07-18 18:13:13 +02:00
Jens Pelzetter e317c290e8 Removed obsolete ccm.sh script, refactored build-site.sh to use new profile 2020-07-18 18:11:49 +02:00
Jens Pelzetter 7293c3b189 Removed UnitTest category usage and class 2020-07-18 18:09:47 +02:00
Jens Pelzetter f66a39862c Removed IntegrationTest category, renamed resources, adapted profile for remote wildfly to use the maven-failsafe-plugin 2020-07-18 17:56:34 +02:00
Jens Pelzetter 3a4be67b32 Removed import for IntegrationTest category 2020-07-18 12:50:28 +02:00
Jens Pelzetter d61f453cb7 Typo 2020-07-18 12:09:20 +02:00
Jens Pelzetter d57c567724 Merge branch 'master' into replace-ccmsh-with-wildfly-maven-plugin 2020-07-18 10:01:34 +02:00
Jens Pelzetter 9f6f894929 Fixed test failure in ccm-shortcuts 2020-07-18 09:52:49 +02:00
Jens Pelzetter 377513fed7 Migrated integration tests in shortcuts to failsafe plugin 2020-07-17 20:26:32 +02:00
Jens Pelzetter 42bf75f43e Fixed a test failure 2020-07-17 07:55:04 +02:00
Jens Pelzetter 641ff46c6b Refactored integration tests in ccm-cms to run with maven-failsafe-plugin and Wildfly started by the wildfly-maven-plugin 2020-07-16 21:45:39 +02:00
Jens Pelzetter 0e323368f8 Integrationtests with Wildfly and PostgreSQL for ccm-core 2020-07-16 07:34:29 +02:00
Jens Pelzetter babfd88124 Added the failsafe report to the reports for the ccm-core project site 2020-07-15 12:53:21 +02:00
Jens Pelzetter 2c001b8ad5 All integration test in ccm-core now work with the maven-failsafe-plugin 2020-07-15 11:07:22 +02:00
Jens Pelzetter 7b2c0e3fbc Migrated all integration tests in ccm-core to run with the Maven Failsafe Plugin 2020-07-14 22:04:22 +02:00
Jens Pelzetter a42230f66d Started migration of integration tests to maven-failsafe-plugin 2020-07-13 21:12:45 +02:00
Jens Pelzetter a3b9619327 Profile for starting Wildfly prior to integration tests 2020-07-12 10:22:26 +02:00
jensp 657da74348 Merge pull request 'dependencies-update-2020-06' (#3) from dependencies-update-2020-06 into master 2020-06-25 16:47:32 +02:00
Jens Pelzetter 57bffa3abc Merge branch 'master' into dependencies-update-2020-06 2020-06-25 16:46:48 +02:00
Jens Pelzetter acd3c1314c Removed obsolete FindBugs plugin (superseeded by SpotBugs) 2020-06-25 16:38:08 +02:00
Jens Pelzetter cdc13f4cee Updated com.h2.database.h2 to 1.4.200 2020-06-25 13:52:55 +02:00
Jens Pelzetter 911df0dd21 Updated nl.jqno.equalsverifier.equalsverifier to 3.4 2020-06-25 13:52:04 +02:00
Jens Pelzetter b6300d5ccb Updated Hamcrest to 2.2 2020-06-25 12:26:24 +02:00
Jens Pelzetter 70b74e5b73 Updated Jacoco to 0.8.5 2020-06-25 11:59:32 +02:00
Jens Pelzetter 8f608e33bc Updated TomEE modules for Arquillian to 1.7.5 2020-06-25 11:53:35 +02:00
Jens Pelzetter 4a30ae58ff Updated org.apache.openejb.tomee-jaxrs to 1.7.5 2020-06-25 11:47:30 +02:00
Jens Pelzetter b67c5df92c Updated org.jboss.logmanager.jboss-logmanager to 2.1.16 2020-06-25 11:21:00 +02:00
Jens Pelzetter 5458f456ac Updated Arquillian drivers for TomEE to 1.7.5 2020-06-25 11:11:22 +02:00
Jens Pelzetter e1ce828f39 Updated Arquillian to 1.6.0, and org.jboss.arquillian.extension.arquillian-jacoco to 1.1.0 2020-06-25 11:10:21 +02:00
Jens Pelzetter 5bb61a04ad Updated com.fasterxml.jackson.jackson.jackon-bom to 2.11.0, removed org.codehaus.woodstox.woodstox-core-asl (causes conflicts) 2020-06-25 09:04:00 +02:00
Jens Pelzetter 7c24b5b591 Updated junit 4.13 2020-06-24 21:04:57 +02:00
Jens Pelzetter c74cde20ea Updated org.apache.maven.maven-artifact to 3.6.3 2020-06-24 20:48:24 +02:00
Jens Pelzetter a9df80306d Updated org.jsoup.jsoup to 1.13.1 2020-06-24 20:41:04 +02:00
Jens Pelzetter 2ab56bc847 Updated net.sf.saxon.Saxon-HE to 10.1 2020-06-24 16:21:40 +02:00
Jens Pelzetter 1746e81e11 Updated org.freemarker.freemarker to 2.3.30 2020-06-24 07:52:50 +02:00
Jens Pelzetter 1f56fa2658 Updated org.reflections.reflections to 0.9.12 2020-06-24 07:29:48 +02:00
Jens Pelzetter fd20fd663d Updated commons-io.commons-io to 2.7 2020-06-24 07:23:18 +02:00
Jens Pelzetter ad7fc252eb Updated commons-codec.commons-codec to 1.14 2020-06-24 07:17:48 +02:00
Jens Pelzetter 1eedadf845 Updated commons-beansutils.commons-beanutils to 1.9.4 2020-06-24 07:10:20 +02:00
Jens Pelzetter 82c5226add Updated org.apache.pdfbox.pdfbox to 2.0.20 2020-06-23 18:49:25 +02:00
Jens Pelzetter 9692b92838 Updated lucene-core to 8.5.2 2020-06-23 18:20:25 +02:00
Jens Pelzetter 0012a919cb Updated log4j2 to 2.13.3 2020-06-23 17:45:24 +02:00
Jens Pelzetter 80f61999b8 Updated io.jsonwebtoken libs to 0.11.2 2020-06-23 16:38:47 +02:00
Jens Pelzetter a4ffc36fea Updated Shiro to 1.5.3 2020-06-23 16:32:31 +02:00
Jens Pelzetter 3e5327a080 Updated Flyway to 6.4.4. Some migration was necssary for Java based migrations 2020-06-23 15:23:57 +02:00
Jens Pelzetter 16cc3fb2ea Updated hibernate-search to 5.11.5.Final 2020-06-23 13:35:19 +02:00
Jens Pelzetter e3e17111ff Updated hibernate-validator to 6.1.5.Final, using now correct group id org.hibernate.validator 2020-06-23 12:39:09 +02:00
Jens Pelzetter 790f11606c Updated Hibernate to 5.3.17.Final 2020-06-23 11:19:00 +02:00
Jens Pelzetter 3637a20aa9 Updated io.thorntail.bom to 2.7.0.Final 2020-06-23 07:27:43 +02:00
Jens Pelzetter 26e1bfe74c removed versions from modules. all versions should be managed by the dependencyManagement and pluginManagement sections in the parent POM 2020-06-22 21:29:34 +02:00
Jens Pelzetter 97533b7c04 Fixed typo in module name 2020-06-22 21:17:14 +02:00
Jens Pelzetter be1c41b2d7 Removed version in build/plugins. All plugin versions are managed in build/pluginManagement 2020-06-22 15:20:44 +02:00
Jens Pelzetter 89b074c4fd Updated wildfly-maven-plugin to 2.0.2.FINAL 2020-06-22 15:19:49 +02:00
Jens Pelzetter 38f9105405 Updated jacoco-maven-plugin to 0.8.5 2020-06-22 15:18:59 +02:00
Jens Pelzetter f1db526ac6 Removed findbugs-maven-plugin (replaced with spotbugs-maven-plugin) 2020-06-22 15:09:14 +02:00
Jens Pelzetter 72c1679196 Update build-helper-maven-plugin to 3.1.0 2020-06-22 15:08:42 +02:00
Jens Pelzetter a5cc77e36b Updated thorntail-maven-plugin to 2.7.0 2020-06-22 14:59:00 +02:00
Jens Pelzetter 123b6dc10a Updated spotbugs-maven-plugin to 4.0.0 2020-06-22 14:51:54 +02:00
Jens Pelzetter 82d2038395 Updated frontend-maven-plugin to 1.10.0 2020-06-22 14:18:43 +02:00
Jens Pelzetter 01ce9f37f3 Updated maven-exec-plugin to 3.0.0 2020-06-22 14:10:32 +02:00
Jens Pelzetter 268424323c Updated maven-war-plugin to 3.3.0 2020-06-22 14:02:27 +02:00
Jens Pelzetter a629e933c9 Updated maven-surefire-plugin to 3.0.0-M4 2020-06-22 13:33:34 +02:00
Jens Pelzetter 3b4d77acbb Updated maven-release-plugin to 3.0.0-M1 2020-06-22 12:44:05 +02:00
Jens Pelzetter b0198d284b Updated maven-project-info-reports-plugin to 3.1.0 2020-06-22 12:43:41 +02:00
Jens Pelzetter 7b3bb78077 Updated maven-pmd-plugin to 3.13.0 2020-06-22 10:53:04 +02:00
Jens Pelzetter 2af5a130bf Updated maven-javadoc-plugin to 3.2.0 2020-06-22 10:02:33 +02:00
Jens Pelzetter 347c2f3f33 Updated maven-compiler-plugin to 3.8.1 2020-06-22 08:06:24 +02:00
Jens Pelzetter c4f9ff41bf Updated maven-assembly-plugin to 3.3.0 2020-06-22 07:51:27 +02:00
Jens Pelzetter 8b78a5aff2 Simplified start procedure for Wildfly runtime 2020-06-19 13:02:22 +02:00
Jens Pelzetter de45d2eb93 Removed unused properties 2020-06-19 12:30:10 +02:00
Jens Pelzetter 3d0a9fe202 Better name for bundle 2020-06-19 12:28:46 +02:00
Jens Pelzetter 4d00e4d239 Renamed ccm-bundle-devel-wildfly-web to ccm-bundle-devel-wildfly 2020-06-19 12:28:08 +02:00
Jens Pelzetter 5a6b030d8c Removed ccm-bundle-devel-wildfly. This module was used to generate an EAR which no longer needed. 2020-06-19 12:25:46 +02:00
Jens Pelzetter 2368971ece Wildfly plugin configuration 2020-06-19 12:24:29 +02:00
Jens Pelzetter 7667e0de73 Merge branch 'master' into replace-ccmsh-with-wildfly-maven-plugin 2020-06-18 08:35:13 +02:00
Jens Pelzetter 93d17f231e Keep the staging directory of the project site in parent project. 2020-06-18 08:21:20 +02:00
Jens Pelzetter 414ff53aff Configuration for maven-wildfly-plugin 2020-06-15 21:21:05 +02:00
Jens Pelzetter cff4f5b6d7 Merge branch 'master' into replace-ccmsh-with-wildfly-maven-plugin 2020-06-14 18:50:06 +02:00
Jens Pelzetter cda52b86c4 Added wildfly-maven-plugin to ccm-bundle-devel-wildfly-web 2020-06-14 18:49:08 +02:00
Jens Pelzetter 20f02af852 Added wildfly-maven-plugin to poms 2020-06-14 12:54:43 +02:00
jensp 83e7564894 Merge pull request 'fix-contentsectionsetup-workflow-uuid' (#2) from fix-contentsectionsetup-workflow-uuid into master
Fixes ContentSectionSetup which did not set the required UUID property added to Workflow.
2020-06-14 10:09:05 +02:00
Jens Pelzetter ff4c6811ca Bugfixes 2020-06-13 18:57:40 +02:00
Jens Pelzetter 85893d3f80 DB-Migration for lifecycle UUIDs 2020-06-12 13:37:38 +02:00
Jens Pelzetter 4a11733e9e * Fixed ContentSectionSetup (now sets UUIDs for Workflow and LifecycleDefinition)
* Added UUID to Lifecycle and LifecycleDefinition
* All setUuid method are now public
2020-06-11 17:06:11 +02:00
Jens Pelzetter e0e1069c5b Merge branch 'master' of git.libreccm.org:LibreCCM/libreccm 2020-05-11 20:38:31 +02:00
Jens Pelzetter 0dcfd86819 Started implementation of RESTful API for administrative tasks 2020-05-11 20:33:18 +02:00
Jens Pelzetter b140a1c306 Fixed another potenial lazy init problem. 2020-03-12 12:19:27 +01:00
Jens Pelzetter 68f3351138 Fixed several potential lazy init execeptions in forms for MPA 2020-03-12 12:11:31 +01:00
Jens Pelzetter 280ddbecb7 Fixed another potential lazy init exception 2020-03-12 11:21:27 +01:00
Jens Pelzetter 4c56554e06 Fixed more lazy init exceptions 2020-03-03 20:37:34 +01:00
Jens Pelzetter 72c4172e0a Fixed another Lazy Init Exception 2020-03-01 13:19:10 +01:00
Jens Pelzetter 35ba770a7d Fixed a Lazy Init Exception 2020-03-01 11:39:32 +01:00
Jens Pelzetter 084cd44e31 Fixed more lazy init exceptions 2020-02-24 21:47:42 +01:00
Jens Pelzetter efbd5a6705 Fixed several lazy init exceptions 2020-02-23 18:40:25 +01:00
Jens Pelzetter 20d9065fad Inital ContentSection had no default lifecycle and workflow 2020-02-23 13:53:10 +01:00
Jens Pelzetter f47dd80a39 Fixed another lazy init excpetion 2020-02-23 11:33:27 +01:00
Jens Pelzetter e105fb74fb Fixed another lazy init 2020-02-21 18:44:17 +01:00
Jens Pelzetter eeef5bcb08 Fixed typo in filtering of associated content types 2020-02-21 16:20:59 +01:00
Jens Pelzetter 46d02b28f9 Removed lazy init exception 2020-02-21 14:44:11 +01:00
Jens Pelzetter a9c83b6504 UUIDs for generated entities were not set in several setup classes 2020-02-17 21:31:01 +01:00
Jens Pelzetter e581a34c02 Fixed a type in INSTALL.md 2020-02-17 21:30:40 +01:00
Jens Pelzetter 1e97ad9913 Some bugfixes 2020-02-16 19:59:15 +01:00
Jens Pelzetter 55aac0af7d Use new Flyway API for configuring Flyway 2020-02-15 17:21:50 +01:00
Jens Pelzetter c3be1b3fc9 Installation doc 2020-02-13 08:07:26 +01:00
Jens Pelzetter ed4fff891b Fixed typos 2020-01-26 16:31:09 +01:00
Jens Pelzetter dcd8e2c261 Updated hibernate dependencies to versions included in
wildfly-19.0.Beta.1
2020-01-26 10:43:21 +01:00
Jens Pelzetter 6686374316 Ignore .vscode dir 2020-01-19 19:33:46 +01:00
Jens Pelzetter 10ecd8210a Fixed Typescript imports 2020-01-19 17:00:45 +01:00
Jens Pelzetter 3fa367fc33 Added npm publish 2020-01-19 14:07:22 +01:00
Jens Pelzetter 12d6925f22 Fixed typo 2020-01-19 10:58:53 +01:00
Jens Pelzetter 49f0cf37d3 NPM Deploy is now working 2020-01-12 11:10:29 +01:00
Jens Pelzetter 26d2649a0a Save current version of libreccm.npmrc 2020-01-12 09:42:28 +01:00
Jens Pelzetter d4d5bd62ba Save current version of libreccm.npmrc 2020-01-12 09:34:29 +01:00
Jens Pelzetter 83d661f5e5 npmrc config for LibreCCM 2020-01-09 10:04:22 +01:00
Jens Pelzetter c7b9776cfd JavaScript packages are now scoped 2020-01-09 09:59:56 +01:00
Jens Pelzetter 7a5830035e Enable full debug logging for deploy 2019-12-23 18:48:09 +01:00
Jens Pelzetter 40898d2e54 ImExporters 2019-12-23 16:15:32 +01:00
Jens Pelzetter d10f1718cd Fixed typo in Jenkinfile 2019-12-23 16:15:20 +01:00
Jens Pelzetter a6e381adcd Im/Exporter for MPA 2019-12-23 10:44:34 +01:00
Jens Pelzetter 689cbbb525 Added the ConfileFileProvider plugins to Jenkins pipeline for providing
the credentials for packages.libreccm.org
2019-12-22 16:32:18 +01:00
Jens Pelzetter e099285ff1 Updated pom.xml and Jenkinsfile for deploying to packages.libreccm.org 2019-12-22 16:03:19 +01:00
Jens Pelzetter 9cd8c708b0 Prelimary migration of FTL function lib for news items 2019-12-22 09:24:33 +01:00
Jens Pelzetter 6fc4090bf7 Improved functions for extracting the dates of an event 2019-12-22 09:24:07 +01:00
Jens Pelzetter 447180daff Preliminary migration of various FTL function libs 2019-12-21 19:52:19 +01:00
Jens Pelzetter 7b6fb22a1e Preliminary migration of various FTL function libs for
assets/attachments.
2019-12-21 19:09:36 +01:00
Jens Pelzetter 56ba381833 Migrated FTL function lib for file attachments 2019-12-21 18:56:15 +01:00
Jens Pelzetter 36444b1b04 Migrated item list (ex object list) 2019-12-21 17:32:09 +01:00
Jens Pelzetter adb4506552 Bugfixes for pagem model components and FTL libs 2019-12-21 17:05:37 +01:00
Jens Pelzetter b38cfb0a77 Several bugfixes for Freemarker Libs 2019-12-20 20:25:28 +01:00
Jens Pelzetter c1bdce2f4e Adjustments for Freemarker, especially template laoding 2019-12-20 17:38:39 +01:00
Jens Pelzetter c9a51f2f58 Migration of FTL libraries: navigation.ftl 2019-12-19 14:33:15 +01:00
Jens Pelzetter c7d2da5d7b Ported content-item.ftl 2019-12-07 17:46:44 +01:00
Jens Pelzetter ac8ebc2681 Ported user banner FTL lib 2019-12-03 20:35:16 +01:00
Jens Pelzetter 9f7804339a Moved language.ftl and utils.ftl from ccm-core to ccm-cms. Both
libraries use data from ccm-cms.
2019-12-01 16:48:46 +01:00
Jens Pelzetter 9e1d875457 Ported language.ftl function library 2019-12-01 16:46:02 +01:00
Jens Pelzetter 15514bc078 Added supported languages to output 2019-12-01 16:45:37 +01:00
Jens Pelzetter 4ee3303429 Several bugfixes, some new data for data model for the theme engines,
ported utils.ftl
2019-12-01 13:05:23 +01:00
Jens Pelzetter 742e0de0b7 FTL library file 2019-11-30 18:26:23 +01:00
Jens Pelzetter 7a4ba0f657 Fixed some typos in XSL files 2019-11-30 18:25:57 +01:00
Jens Pelzetter 0db06cdb19 Some bugfixes 2019-11-30 18:25:41 +01:00
Jens Pelzetter 0964ad6f58 Ignore VS Code files 2019-11-28 11:45:36 +01:00
Jens Pelzetter d1942151f7 XML Mapping Informations 2019-11-27 20:31:38 +01:00
Jens Pelzetter 9cb45b2c7d Provide a way to dependencies to the CategorizationImExporter 2019-11-27 20:30:59 +01:00
Jens Pelzetter 90a3c02543 ImExporters for Article, News and Event 2019-11-26 21:40:59 +01:00
Jens Pelzetter c75e53198c Merge branch 'master' of git.libreccm.org:libreccm 2019-11-24 19:56:34 +01:00
Jens Pelzetter 71d252bc1a Initial implementation of Profile Site module (ex Public Personal Profile) 2019-11-24 13:28:06 +01:00
Jens Pelzetter 17cda10fa5 Merge branch 'master' of git.libreccm.org:libreccm 2019-11-23 19:45:21 +01:00
Jens Pelzetter 6968c0c511 Some small things 2019-11-23 19:21:41 +01:00
Jens Pelzetter 4545881b9e ProfileItem 2019-11-23 19:21:16 +01:00
Jens Pelzetter 1289b9f210 Merge branch 'master' of git.libreccm.org:libreccm 2019-10-27 20:02:52 +01:00
Jens Pelzetter 5fce9907ef Foundry support for series-search-widget und publication-search-widget 2019-10-27 10:28:06 +01:00
Jens Pelzetter ec94a9e1f7 Foundry support for journal-search-widget 2019-10-27 10:20:31 +01:00
Jens Pelzetter a2545e9751 JavaScript for search widgets for scipublications 2019-10-27 10:10:39 +01:00
Jens Pelzetter 757c4373b4 Merge branch 'master' of git.libreccm.org:libreccm 2019-10-26 19:43:48 +02:00
Jens Pelzetter ea35801955 First part of support for search widgets from SciPublications 2019-10-26 19:05:37 +02:00
Jens Pelzetter 63bada4c13 Formatting 2019-10-26 16:58:05 +02:00
Jens Pelzetter 3d6deb27a2 Merge branch 'master' of git.libreccm.org:libreccm 2019-09-06 19:57:54 +02:00
Jens Pelzetter f05804d6fd Updated EqualsVerifier dependency 2019-09-06 13:54:50 +02:00
Jens Pelzetter ff647d1ae9 Ported AbstractTextUploadForm from legacy code 2019-08-13 14:25:21 +02:00
Jens Pelzetter 4ae5709fe6 Ported AbstractTextUploadForm from legacy code 2019-08-13 14:25:21 +02:00
Jens Pelzetter 58b3b42862 Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 20:29:38 +02:00
Jens Pelzetter 05252d987b Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 20:29:38 +02:00
Jens Pelzetter 36c23f559d Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 20:06:03 +02:00
Jens Pelzetter 40b54ace59 Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 20:06:03 +02:00
Jens Pelzetter 8ae92c16c5 Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 19:12:20 +02:00
Jens Pelzetter 5014158395 Gitignore 2019-08-03 17:11:59 +00:00
jensp acc5fb9c16 Removed IAW export files from public code
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6164 8810af33-2d31-482b-a856-94f89814c4df
2019-08-03 17:11:39 +00:00
Jens Pelzetter 937ff97c03 Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 14:59:13 +02:00
Jens Pelzetter 66edc45f79 Gitignore 2019-08-03 12:58:56 +00:00
jensp 773524b394 Merged README files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6163 8810af33-2d31-482b-a856-94f89814c4df
2019-08-03 12:58:48 +00:00
jensp 49361fbc4e README for GitHub
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6162 8810af33-2d31-482b-a856-94f89814c4df
2019-08-03 12:53:52 +00:00
Jens Pelzetter 185e70cd25 Merge branch 'master' of git.libreccm.org:libreccm 2019-08-03 14:32:50 +02:00
Jens Pelzetter aa899a705e Gitignore 2019-08-03 12:31:56 +00:00
jensp e2f0ed09e4 LICENSE.txt for ccm_ng
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6160 8810af33-2d31-482b-a856-94f89814c4df
2019-08-03 12:31:11 +00:00
Jens Pelzetter 36f30463d5 Merge branch 'master' of git.libreccm.org:libreccm 2019-07-31 17:36:10 +02:00
Jens Pelzetter e414a2df44 Gitignore 2019-07-31 13:48:22 +02:00
jensp 7e706b4601 CCM NG: CcmObjects helper class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6158 8810af33-2d31-482b-a856-94f89814c4df
2019-07-31 11:44:27 +00:00
jensp a44c882420 CCM NG: Renders for some assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6157 8810af33-2d31-482b-a856-94f89814c4df
2019-07-30 13:07:34 +00:00
jensp 2e7db93658 CCM NG: Dependency version only in parent pom
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6156 8810af33-2d31-482b-a856-94f89814c4df
2019-07-26 18:26:25 +00:00
jensp bb060424c6 CCM NG: Assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6155 8810af33-2d31-482b-a856-94f89814c4df
2019-07-26 15:26:57 +00:00
jensp 33aad81580 CCM NG: Form for Person asset
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6154 8810af33-2d31-482b-a856-94f89814c4df
2019-07-26 07:38:33 +00:00
jensp dc1379a1c3 CCM NG: Form for Person asset
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6153 8810af33-2d31-482b-a856-94f89814c4df
2019-07-25 19:20:56 +00:00
jensp 5e3c334d48 CCM NG: Refactorin of asset forms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6152 8810af33-2d31-482b-a856-94f89814c4df
2019-07-25 13:03:00 +00:00
jensp e84d3283df Refactoring of Assets Forms WARNING: Does not compile!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6151 8810af33-2d31-482b-a856-94f89814c4df
2019-07-25 09:36:14 +00:00
jensp 874c8d9543 CCM NG: Asset editing current status
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6150 8810af33-2d31-482b-a856-94f89814c4df
2019-07-24 11:05:04 +00:00
jensp abc4ec7ab3 ContactableEntity Asset, Organization Asset
* Migrations for ContactEntryKey
* More work on the form for managing assets of these types


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6149 8810af33-2d31-482b-a856-94f89814c4df
2019-07-23 15:42:09 +00:00
jensp ca0589243f Several bugfixes, migrations for Person and Organization assets etc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6148 8810af33-2d31-482b-a856-94f89814c4df
2019-07-22 15:53:22 +00:00
jensp b7bf28abdd CCM NG: First forms for Person/Orga assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6138 8810af33-2d31-482b-a856-94f89814c4df
2019-06-25 17:53:08 +00:00
jensp 6c04942fd5 CcmNG: Assets (entities) and db migrations for Persons and organizations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6137 8810af33-2d31-482b-a856-94f89814c4df
2019-06-23 17:03:58 +00:00
jensp 92db48a706 CCM NG: Enabling integration tests for CI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6028 8810af33-2d31-482b-a856-94f89814c4df
2019-05-09 18:19:16 +00:00
jensp 6557c43c13 CCM NG: Enabled analyse stage and processing JUnit results
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6027 8810af33-2d31-482b-a856-94f89814c4df
2019-05-09 17:46:23 +00:00
jensp d8fba273a9 CCM NG: Package only without explicit test
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6026 8810af33-2d31-482b-a856-94f89814c4df
2019-05-09 17:29:47 +00:00
jensp 7636b4207c CCM NG: Test enabled in JenkinsFile
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6025 8810af33-2d31-482b-a856-94f89814c4df
2019-05-09 17:15:58 +00:00
jensp aaf58bbdc9 Typo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6024 8810af33-2d31-482b-a856-94f89814c4df
2019-05-09 17:05:28 +00:00
jensp 0df060e61e CCM NG: Disabled some things in Jenkinsfile for debugging
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6023 8810af33-2d31-482b-a856-94f89814c4df
2019-05-09 16:59:54 +00:00
jensp 24f2152ae3 CCM NG: Let Jenkins restart Wildfly after tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6016 8810af33-2d31-482b-a856-94f89814c4df
2019-05-06 15:35:09 +00:00
jensp 5ed0ac187d CCM NG: Typo in Jenkinsfile
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6015 8810af33-2d31-482b-a856-94f89814c4df
2019-05-06 15:28:22 +00:00
jensp 58dadec14d CCM NG: Jenkinsfile
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6014 8810af33-2d31-482b-a856-94f89814c4df
2019-05-06 15:22:58 +00:00
jensp 1c22c8efcb CCM NG: Updated Thorntail and Shiro dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6013 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 19:54:26 +00:00
jensp ac381e0dbc CCM NG: Updated Flyway
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6012 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 15:44:15 +00:00
jensp 01440817f1 CCM NG: Updated dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6011 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 13:56:52 +00:00
jensp 0119bfe141 CCM NG: Updated Maven modules
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6010 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 12:41:04 +00:00
jensp 4f2201b896 CCM NG: Updated Hibernate dependencies and hibernate5-ddl-maven-plugin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6009 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 11:42:46 +00:00
jensp 5f40f03979 Changed Wildfly version in ccm.sh to 16.0.0
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6008 8810af33-2d31-482b-a856-94f89814c4df
2019-05-05 10:35:50 +00:00
jensp ec6a62f211 CCM NG: Fixed test failures in FolderManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6007 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 18:25:56 +00:00
jensp 4b10a64d47 CCM NG: Fixed test failures in ContentItemManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6006 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 18:22:38 +00:00
jensp 7b4248c939 CCM NG: Fixed test failures in ItemAttachmentManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6005 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 17:58:10 +00:00
jensp fed5ff35c7 CCM NG: Fixed failures in ContentTypeRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6004 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 17:52:21 +00:00
jensp 5c25236994 CCM NG: Fixed failures in ContentSectionManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6003 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 17:43:05 +00:00
jensp b220ed7266 CCM NG: Fixed test failures in ContentItemL10NManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6002 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 17:26:48 +00:00
jensp 1dfe947944 CCM NG: Fixed test failures in AssetRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6001 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 17:15:37 +00:00
jensp eeae09a07f CCM NG: Fixed test failures in AssetManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@6000 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 16:44:55 +00:00
jensp 37d5ea4b91 CCM NG: Fixed test failures in AttachmentListManagerTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5999 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 16:37:26 +00:00
jensp cad53ef068 CCM NG: Fixed test failures in ContentItemPermissionTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5998 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 15:49:04 +00:00
jensp 2299db635e CCM NG: ccm-shortcuts passes all tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5997 8810af33-2d31-482b-a856-94f89814c4df
2019-05-03 13:18:49 +00:00
jensp dbb8da3b99 CCM NG: ccm-cms datasets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5954 8810af33-2d31-482b-a856-94f89814c4df
2019-04-17 15:40:05 +00:00
jensp 3d8402effe CCM NG: Fixed dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5944 8810af33-2d31-482b-a856-94f89814c4df
2019-04-14 14:56:51 +00:00
jensp f0327757f0 CCM NG: Datasets adapted to new db structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5943 8810af33-2d31-482b-a856-94f89814c4df
2019-04-14 13:44:33 +00:00
jensp 82c330d8d5 CCM NG: Adapted datasets to current data strucuture
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5942 8810af33-2d31-482b-a856-94f89814c4df
2019-04-13 18:00:24 +00:00
jensp 365e43b7a8 CCM NG: Adapted more datassets to current db structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5940 8810af33-2d31-482b-a856-94f89814c4df
2019-04-13 12:01:25 +00:00
jensp 00567264e7 CCM NG: Adjusted several datasets to current db structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5921 8810af33-2d31-482b-a856-94f89814c4df
2019-04-07 11:15:13 +00:00
jensp 276268eb7a CCM NG: Adjusted several datasets to current db structure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5919 8810af33-2d31-482b-a856-94f89814c4df
2019-04-06 18:09:42 +00:00
jensp 8353f72fb4 CCM NG: Use positive IDs in tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5909 8810af33-2d31-482b-a856-94f89814c4df
2019-04-03 18:23:47 +00:00
jensp 8acf9fce53 CCM NG: Split up SQL generation scripts for testing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5908 8810af33-2d31-482b-a856-94f89814c4df
2019-04-03 18:11:48 +00:00
jensp 694708d3e3 CCM NG: Reorganization of SQL scripts for integration tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5896 8810af33-2d31-482b-a856-94f89814c4df
2019-03-31 10:01:05 +00:00
jensp e322ee912d CCM NG: Missing classes for test packages
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5889 8810af33-2d31-482b-a856-94f89814c4df
2019-03-28 19:34:23 +00:00
jensp e001fc88b0 CCM NG: All tests in ccm-core now pass again
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5888 8810af33-2d31-482b-a856-94f89814c4df
2019-03-28 18:05:21 +00:00
jensp b2e0a2892c Fixed several test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5887 8810af33-2d31-482b-a856-94f89814c4df
2019-03-28 14:36:45 +00:00
jensp bd2d92b252 Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5886 8810af33-2d31-482b-a856-94f89814c4df
2019-03-27 20:30:39 +00:00
jensp 9176e2a12a Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5883 8810af33-2d31-482b-a856-94f89814c4df
2019-03-26 20:39:10 +00:00
jensp f6b5583597 CCM NG: Updates for compatibility with Hibernate 5.3 and newer
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5881 8810af33-2d31-482b-a856-94f89814c4df
2019-03-25 20:31:22 +00:00
jensp 1cf6b5f3cf CCM NG: Dependencies for Jaxb (necessary since Java 11)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5873 8810af33-2d31-482b-a856-94f89814c4df
2019-03-20 18:17:51 +00:00
jensp 643fe50d85 - Removed conflicting Arquillina dependencies
- SVN ignore property extended for more files, especially files created Visual Studio Code


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5821 8810af33-2d31-482b-a856-94f89814c4df
2019-02-01 18:55:23 +00:00
jensp 0393f3bc51 CCM NG: Updating dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5820 8810af33-2d31-482b-a856-94f89814c4df
2019-02-01 16:45:33 +00:00
jensp 5437a009a6 CCM NG: Removed experimental UI using Vaadin 8. The code does not work with current Vaadin versions anymore.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5810 8810af33-2d31-482b-a856-94f89814c4df
2019-01-26 13:56:32 +00:00
jensp 48d3a10a60 CCM NG: Removal of JSF/Primefaces experiment for Admin UI and removal or Primefaces dependency
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5809 8810af33-2d31-482b-a856-94f89814c4df
2019-01-26 12:27:44 +00:00
jensp e203921368 CCM NG: Updated more dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5808 8810af33-2d31-482b-a856-94f89814c4df
2019-01-25 18:26:07 +00:00
jensp 9e792f205a CCM NG: Updated some dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5807 8810af33-2d31-482b-a856-94f89814c4df
2019-01-25 16:50:05 +00:00
jensp a9e9e00d08 CCM NG: Updated Maven Modules
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5806 8810af33-2d31-482b-a856-94f89814c4df
2019-01-25 16:14:42 +00:00
jensp 6b5542b5c9 CCM NG: Removed version for plugins in reporting section
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5805 8810af33-2d31-482b-a856-94f89814c4df
2019-01-24 20:36:05 +00:00
jensp e4d8c90461 CCM NG: Fixed some poms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5804 8810af33-2d31-482b-a856-94f89814c4df
2019-01-23 18:56:41 +00:00
jensp 4cd3ff8d00 CCM NG: Replaced Wildfly Swarm with its sucessor Thorntail
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5803 8810af33-2d31-482b-a856-94f89814c4df
2019-01-22 16:55:54 +00:00
jensp 5472a15cce CCM NG: Added missing implementations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5782 8810af33-2d31-482b-a856-94f89814c4df
2018-12-13 13:17:23 +00:00
jensp 915c9a0122 CCM NG: Test for importing GroupMemberships and some fixes for import procdure
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5764 8810af33-2d31-482b-a856-94f89814c4df
2018-12-02 08:21:16 +00:00
jensp a49572da24 CCM NG: Test for importing groups
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5754 8810af33-2d31-482b-a856-94f89814c4df
2018-11-26 19:11:19 +00:00
jensp 8da6bfa79d CCM NG: UserImportTest runs successfully
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5747 8810af33-2d31-482b-a856-94f89814c4df
2018-11-23 18:51:53 +00:00
jensp 52211bba8c CCM NG: Some fixes for the Im/Export system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5744 8810af33-2d31-482b-a856-94f89814c4df
2018-11-21 19:01:58 +00:00
jensp 2f26390a75 CCM NG: Tests and Bugfixes for Im/Export
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5743 8810af33-2d31-482b-a856-94f89814c4df
2018-11-21 18:25:24 +00:00
jensp cd74dcd0c6 CCM NG: Fixed migration scripts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5739 8810af33-2d31-482b-a856-94f89814c4df
2018-11-20 12:25:38 +00:00
jensp c969814115 Fixed wrong naming for migration scripts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5735 8810af33-2d31-482b-a856-94f89814c4df
2018-11-15 18:14:50 +00:00
jensp 69b194b35a CCM NG: Various adjustments for import/export
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5710 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 12:33:14 +00:00
jensp 781e0e551f CCM NG: Deleted obsolete file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5709 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 09:24:07 +00:00
jensp 785b64781a CCM NG: Im/Exporter for CcmApplication
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5708 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 09:23:46 +00:00
jensp 869c46c856 CCM NG: Revised Im/Export system for entities in org.libreccm.categorization
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5707 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 09:19:52 +00:00
jensp 0d1a53b2d9 CCM NG: Revised Im/Export system for entities in org.libreccm-security
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5706 8810af33-2d31-482b-a856-94f89814c4df
2018-10-03 08:08:35 +00:00
jensp ea0ddcfcb1 CCM NG:
- Revised Import/Export system
    - Added UUID to Party entity
    - Changed test data sets


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5705 8810af33-2d31-482b-a856-94f89814c4df
2018-09-28 18:01:42 +00:00
jensp ccad3258b7 CCM NG: Revised Import/Export system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5698 8810af33-2d31-482b-a856-94f89814c4df
2018-09-27 17:28:01 +00:00
jensp 2367bca059 CCM NG: Revised import/export system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5697 8810af33-2d31-482b-a856-94f89814c4df
2018-09-27 13:40:36 +00:00
jensp a926101a29 CcmNG: First part of a revised system for import and export.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5696 8810af33-2d31-482b-a856-94f89814c4df
2018-09-26 17:50:37 +00:00
jensp 3fce92753e CcmNG: Some fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5695 8810af33-2d31-482b-a856-94f89814c4df
2018-09-20 10:25:47 +00:00
jensp c942050ca1 Missing file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5694 8810af33-2d31-482b-a856-94f89814c4df
2018-09-19 18:14:47 +00:00
jensp 2f148d1fed CcmNG: Backend for Theme editing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5693 8810af33-2d31-482b-a856-94f89814c4df
2018-09-19 18:14:14 +00:00
jensp 93938b1a11 CCM NG: Second part of api for theme manager app
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5692 8810af33-2d31-482b-a856-94f89814c4df
2018-09-14 18:01:57 +00:00
jensp ac86ccab91 CcM NG: First part for ThemeManager UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5691 8810af33-2d31-482b-a856-94f89814c4df
2018-09-13 18:15:56 +00:00
jensp d166fa9bf9 CcmNG: Current progress of image plugin for TinyMCE
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5690 8810af33-2d31-482b-a856-94f89814c4df
2018-09-06 14:22:44 +00:00
jensp 2c8394c10f CCM NG: Current progress of the image plugin for TinyMCE
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5689 8810af33-2d31-482b-a856-94f89814c4df
2018-09-06 12:51:18 +00:00
jensp dee3ded657 CcmNG: Current progress on the image plugin for TinyMCE
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5688 8810af33-2d31-482b-a856-94f89814c4df
2018-09-06 10:29:38 +00:00
jensp ac4af778b4 CcmNG: Next part of TinyMCE integration
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5687 8810af33-2d31-482b-a856-94f89814c4df
2018-09-05 18:20:57 +00:00
jensp 0a4cec9557 CcmNG: REST API endpoint for assets now provides more data about images
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5686 8810af33-2d31-482b-a856-94f89814c4df
2018-09-05 07:01:04 +00:00
jensp 93d6c82aaf CcmNG: Some experiments with the TinyMCE API
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5685 8810af33-2d31-482b-a856-94f89814c4df
2018-09-02 16:49:01 +00:00
jensp 963783284d CcmNG: Basic integration for TinyMCE
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5684 8810af33-2d31-482b-a856-94f89814c4df
2018-09-01 17:00:13 +00:00
jensp 41bbd85cbf CcmNG:
- More functions for the CcmFiles service
- FileSystemThemeProvider for serving themes from the file system (using CcmFiles)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5681 8810af33-2d31-482b-a856-94f89814c4df
2018-08-27 15:40:06 +00:00
jensp 6f2284466e CcmNG: ThemeProvider serving themes from the file system using CcmFiles
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5678 8810af33-2d31-482b-a856-94f89814c4df
2018-08-26 15:21:37 +00:00
jensp c5ef45881d Cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5677 8810af33-2d31-482b-a856-94f89814c4df
2018-08-16 18:54:46 +00:00
jensp f80cd6ed85 CCM NG: Restructing JavaScript parts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5676 8810af33-2d31-482b-a856-94f89814c4df
2018-08-16 18:54:18 +00:00
jensp c1389135d2 CCM NG: TinyMCE integration
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5672 8810af33-2d31-482b-a856-94f89814c4df
2018-08-12 10:27:01 +00:00
jensp 8a780e28cd CCM NG: Make tslint happy
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5671 8810af33-2d31-482b-a856-94f89814c4df
2018-08-11 15:02:30 +00:00
jensp f98d87ea49 CCM NG: PageModels Editor Alpha finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5670 8810af33-2d31-482b-a856-94f89814c4df
2018-08-11 14:33:39 +00:00
jensp 1db7d23232 CcmNG: UI for editing the properties of PageModel components from ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5665 8810af33-2d31-482b-a856-94f89814c4df
2018-08-09 17:31:36 +00:00
jensp 997644d119 CcmNG: Fix
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5664 8810af33-2d31-482b-a856-94f89814c4df
2018-08-08 17:18:28 +00:00
jensp 50ccf39227 CcmNG: Custom JSON converters for ComponentModels
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5663 8810af33-2d31-482b-a856-94f89814c4df
2018-08-08 14:55:52 +00:00
jensp a4865fadf3 CCM NG: PageModelsEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5662 8810af33-2d31-482b-a856-94f89814c4df
2018-08-06 17:35:57 +00:00
jensp 58ef5c27c6 CCM NG: Code cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5631 8810af33-2d31-482b-a856-94f89814c4df
2018-08-02 09:19:46 +00:00
jensp 5380ba49e4 CCM NG: Bugfixes for PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5630 8810af33-2d31-482b-a856-94f89814c4df
2018-08-02 08:14:42 +00:00
jensp 5927b6e6f9 CCM NG: Several bugfixes for the PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5625 8810af33-2d31-482b-a856-94f89814c4df
2018-08-01 18:21:24 +00:00
jensp acba347148 CCM NG: Some bug fixes for the PageModels Editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5620 8810af33-2d31-482b-a856-94f89814c4df
2018-07-31 17:58:55 +00:00
jensp 309879690d CCM NG: Some bugfixes for the PageModelsEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5619 8810af33-2d31-482b-a856-94f89814c4df
2018-07-31 14:42:37 +00:00
jensp 835d36c607 CCM NG: ccm-cms-js now uses new structure of ccm-pagemodelseditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5617 8810af33-2d31-482b-a856-94f89814c4df
2018-07-26 18:24:12 +00:00
jensp 81e92939e0 CCM NG: Changed structure for PageModelEditor Components from Inhertience to Composition. Warning: ccm-cms-js is not yet compatible with these changes and fails to build.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5616 8810af33-2d31-482b-a856-94f89814c4df
2018-07-26 13:21:51 +00:00
jensp e4e902ac6a CCM NG: PageModels Editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5615 8810af33-2d31-482b-a856-94f89814c4df
2018-07-23 18:19:15 +00:00
jensp 2e8e4eda54 CCM NG: PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5614 8810af33-2d31-482b-a856-94f89814c4df
2018-07-19 13:36:54 +00:00
jensp 396afbfb91 CCM NG: More work on the PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5613 8810af33-2d31-482b-a856-94f89814c4df
2018-07-19 12:51:54 +00:00
jensp 322955892f CCM NG: PageModelsEditor bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5612 8810af33-2d31-482b-a856-94f89814c4df
2018-07-19 08:50:38 +00:00
jensp a5d7865c67 CCM NG: Some work for the PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5611 8810af33-2d31-482b-a856-94f89814c4df
2018-07-16 18:33:08 +00:00
jensp f5f40a9eee CCM NG: Basic part of PageModelsEditor finished
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5608 8810af33-2d31-482b-a856-94f89814c4df
2018-07-14 16:48:49 +00:00
jensp 275ee6ae2d CCM NG: Progress on the PageModelsEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5607 8810af33-2d31-482b-a856-94f89814c4df
2018-07-12 17:44:03 +00:00
jensp 1d3b11e6e4 CCM NG: Some work on the PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5556 8810af33-2d31-482b-a856-94f89814c4df
2018-06-27 18:41:54 +00:00
jensp 64fc78667d CCM NG: PageModels Editor: Delete container from PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5541 8810af33-2d31-482b-a856-94f89814c4df
2018-06-22 17:27:44 +00:00
jensp 9e22c6aeec CCM NG: PageModelEditor: Adding new containers now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5540 8810af33-2d31-482b-a856-94f89814c4df
2018-06-21 17:54:19 +00:00
jensp e3e72c0b15 CCM NG: Creating new containers from the PageModels Editor (does work completly yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5539 8810af33-2d31-482b-a856-94f89814c4df
2018-06-21 13:11:49 +00:00
jensp 4c217ae9d2 CCM NG: Current status PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5538 8810af33-2d31-482b-a856-94f89814c4df
2018-06-21 10:26:58 +00:00
jensp 790b6c6511 CCM NG: Added FontAwesome to Admin theme, some source formatting
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5537 8810af33-2d31-482b-a856-94f89814c4df
2018-06-20 18:43:28 +00:00
jensp 4d8606f449 CCM NG: PageModelsEditor First parts for UI for managing the containers in a PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5536 8810af33-2d31-482b-a856-94f89814c4df
2018-06-18 18:18:54 +00:00
jensp 3165f4f2a7 CCM NG:
* Ignore IDEA files
* Publishing PageModels from the PageModelEditor


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5535 8810af33-2d31-482b-a856-94f89814c4df
2018-06-17 15:44:07 +00:00
jensp f671bd3e55 CCM NG: Publish button (not yet working) and publish status display for PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5518 8810af33-2d31-482b-a856-94f89814c4df
2018-06-14 18:26:03 +00:00
jensp 63d2730fbf CCM NG: PageModelsEditor: Create new PageModels
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5500 8810af33-2d31-482b-a856-94f89814c4df
2018-06-07 18:26:07 +00:00
jensp bb6ac896d2 CCM NG: Simplification of PageModelEditor code. Removed unnecessary usage of React's Context API
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5499 8810af33-2d31-482b-a856-94f89814c4df
2018-06-07 13:06:24 +00:00
jensp 898482650c CCM NG: Current status of the PageModelsEditor.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5498 8810af33-2d31-482b-a856-94f89814c4df
2018-06-07 11:27:57 +00:00
jensp fc0ebfee23 CCM NG: Some things for the PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5475 8810af33-2d31-482b-a856-94f89814c4df
2018-06-04 18:28:58 +00:00
jensp 363bfcf132 CCM NG: PageModelsEditor progress
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5467 8810af33-2d31-482b-a856-94f89814c4df
2018-06-02 17:27:55 +00:00
jensp 00b957410b CCM NG: PageModelsEditor: Selecting PageModel to edit now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5466 8810af33-2d31-482b-a856-94f89814c4df
2018-06-02 06:57:13 +00:00
jensp 7eebf6aa6b CCM NG: PageModelsEditor progress
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5465 8810af33-2d31-482b-a856-94f89814c4df
2018-06-01 18:11:20 +00:00
jensp e179b120f4 Missing file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5464 8810af33-2d31-482b-a856-94f89814c4df
2018-05-31 16:31:23 +00:00
jensp 8de9959b70 CCM NG:
* List of PageModels for the PageModelEditor
* Implementation of Bebop ContextBar for the PagesAdminPage


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5463 8810af33-2d31-482b-a856-94f89814c4df
2018-05-31 13:13:48 +00:00
jensp f7503ecfab CCM NG: Working integration of NPM modules
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5462 8810af33-2d31-482b-a856-94f89814c4df
2018-05-29 18:34:35 +00:00
jensp 400c442485 CCM NG: Basic integration of NPM modules and Maven build system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5461 8810af33-2d31-482b-a856-94f89814c4df
2018-05-29 12:50:51 +00:00
jensp 3ccda6dda5 CCM NG: Integration of Node/NPM modules into build
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5460 8810af33-2d31-482b-a856-94f89814c4df
2018-05-29 06:25:08 +00:00
jensp 7d84a9fe8a CcmNG: Implementation of the delete method for WebDAV access to theme files.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5452 8810af33-2d31-482b-a856-94f89814c4df
2018-05-25 15:39:29 +00:00
jensp 0e0549335f CcmNG: Implementation of unlock method for WebDAV access to theme files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5451 8810af33-2d31-482b-a856-94f89814c4df
2018-05-25 15:00:50 +00:00
jensp e27bbad3a5 CcmNG: Implementation of the lock method for WebDAV access to theme files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5450 8810af33-2d31-482b-a856-94f89814c4df
2018-05-25 14:38:15 +00:00
jensp 6e1b5e3fd6 CCM NG:
* listThemeFiles implementation for StaticThemeProvider
* profind method for Themes WebDAV service


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5435 8810af33-2d31-482b-a856-94f89814c4df
2018-05-17 13:19:46 +00:00
jensp c615a2124c CCM NG: Part of implementing access to themes via WebDAV
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5434 8810af33-2d31-482b-a856-94f89814c4df
2018-05-16 19:23:54 +00:00
jensp f0533bacf3 CCM NG: Basic structure for PageModelsEditor build with React.js
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5428 8810af33-2d31-482b-a856-94f89814c4df
2018-05-11 17:17:35 +00:00
jensp b5bd7b312a CCM NG: Database migration for changing the type of org.libreccm.pagemodels.styles.Dimension#value from float to double
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5427 8810af33-2d31-482b-a856-94f89814c4df
2018-05-11 17:16:58 +00:00
jensp 90b570cb42 CCM NG: Updated NPM dependencies for the ccm-editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5426 8810af33-2d31-482b-a856-94f89814c4df
2018-05-11 17:14:22 +00:00
jensp 096488d68c CCM NG: Package structure cleanup, some more classes for implementing WebDAV resources
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5425 8810af33-2d31-482b-a856-94f89814c4df
2018-05-09 18:12:28 +00:00
jensp f00e149ebf CCM NG: RESTful endpoints for the PageModel editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5424 8810af33-2d31-482b-a856-94f89814c4df
2018-05-09 17:43:09 +00:00
jensp fe76e79feb CCM NG: RESTful backend for PageModel Editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5418 8810af33-2d31-482b-a856-94f89814c4df
2018-05-07 15:46:01 +00:00
jensp 72b8e5ab01 CCM NG: Some more classes for supporting WebDAV
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5401 8810af33-2d31-482b-a856-94f89814c4df
2018-05-03 17:08:32 +00:00
baka 9b3b056b3c #2746 Changes Asset-Search dialog widget to match Item-Search widget
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5395 8810af33-2d31-482b-a856-94f89814c4df
2018-05-02 13:44:56 +00:00
jensp 96695b5b2d CCM NG: More functions to retrieve PageModel data
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5379 8810af33-2d31-482b-a856-94f89814c4df
2018-04-26 15:17:30 +00:00
jensp c08400bd73 CCM NG: RESTful backend for the PageModelEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5378 8810af33-2d31-482b-a856-94f89814c4df
2018-04-26 12:10:31 +00:00
baka 17ed4620c6 #2745 Better style for the dialog of the item search widget
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5377 8810af33-2d31-482b-a856-94f89814c4df
2018-04-19 08:46:18 +00:00
jensp a8efc382c4 CCM NG: Some classes for representing WebDAV properties
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5376 8810af33-2d31-482b-a856-94f89814c4df
2018-04-17 16:43:00 +00:00
jensp f718b32713 CCM NG: More classes for WebDAV support
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5375 8810af33-2d31-482b-a856-94f89814c4df
2018-04-16 18:12:33 +00:00
jensp 11e89cf555 CCM NG: Next part of WebDAV support
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5374 8810af33-2d31-482b-a856-94f89814c4df
2018-04-16 10:43:22 +00:00
jensp 0c87717bc4 Translations.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5373 8810af33-2d31-482b-a856-94f89814c4df
2018-04-13 12:51:45 +00:00
jensp 7f08a17781 CCM NG: Translations for Content Soon Expired Pane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5372 8810af33-2d31-482b-a856-94f89814c4df
2018-04-13 12:38:54 +00:00
jensp 3e1a19bd33 CCM NG: Some translations and formatting for the Content Soon Expired Pane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5371 8810af33-2d31-482b-a856-94f89814c4df
2018-04-13 12:32:50 +00:00
jensp 2f48deb75e CCM NG: ContentTypeRepositoryTest failed due to changed class dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5370 8810af33-2d31-482b-a856-94f89814c4df
2018-04-07 17:36:10 +00:00
jensp 34368d9f29 CCM NG: Updated SQL create scripts for test to reflect to latest schema changes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5369 8810af33-2d31-482b-a856-94f89814c4df
2018-04-07 14:24:50 +00:00
jensp fb6235b4b1 CCM NG: Database migrations for Page Model Containers
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5365 8810af33-2d31-482b-a856-94f89814c4df
2018-04-06 13:07:54 +00:00
jensp f825d544f1 CCM NG: Styleable containers for PageModel (part 1)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5364 8810af33-2d31-482b-a856-94f89814c4df
2018-04-05 17:04:31 +00:00
jensp 811ecf6a93 CCM NG: Form etc for editing FlexLayoutComponent and some other things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5357 8810af33-2d31-482b-a856-94f89814c4df
2018-03-23 19:19:52 +00:00
jensp dc266c10a0 CCM NG: DB migrations for FlexLayout component
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5356 8810af33-2d31-482b-a856-94f89814c4df
2018-03-23 07:13:14 +00:00
jensp b46446109f CCM NG: First part of Admin UI for FlexLayout component
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5355 8810af33-2d31-482b-a856-94f89814c4df
2018-03-22 14:56:02 +00:00
jensp 1880a27e25 CCM NG: Page Model component FlexBox
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5354 8810af33-2d31-482b-a856-94f89814c4df
2018-03-22 14:19:49 +00:00
jensp 7c4a4f6ff6 CCM NG/ccm-cms: Some bugfixes for the items RESTful service
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5353 8810af33-2d31-482b-a856-94f89814c4df
2018-03-22 14:14:10 +00:00
jensp eb1eda6335 CCM NG: Upgraded dependency for Hibernate to version 5.1.10.Final (which is the version bundled with wildfly-12.0.0.Final)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5346 8810af33-2d31-482b-a856-94f89814c4df
2018-03-10 17:54:15 +00:00
jensp 98078e088f CCM NG: DatabaseThemeProvider serving themes from the database
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5345 8810af33-2d31-482b-a856-94f89814c4df
2018-03-10 17:08:35 +00:00
jensp 50abf43d82 CCM NG: Helper script now uses Wildfly 12.0.0.Final
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5344 8810af33-2d31-482b-a856-94f89814c4df
2018-03-10 15:10:59 +00:00
jensp d530066ac9 CCM NG: Database migration for theme_id field in table ccm_core.theme_files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5343 8810af33-2d31-482b-a856-94f89814c4df
2018-03-10 15:10:34 +00:00
jensp 8a24042abf CCM NG: Next part of DatabaseThemeProvider
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5342 8810af33-2d31-482b-a856-94f89814c4df
2018-03-09 19:01:21 +00:00
jensp 310696a044 CCM NG: Nicer module names
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5341 8810af33-2d31-482b-a856-94f89814c4df
2018-03-09 10:13:21 +00:00
jensp ab6d89c5cd CCM NG: First part of managers for themes stored in the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5338 8810af33-2d31-482b-a856-94f89814c4df
2018-03-08 19:10:08 +00:00
jensp ba717706be CCM NG: Content Section Kategorien Tab nicht aufrufbar wenn kein Kategoriensystem gemappt ist (#2799) behoben
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5336 8810af33-2d31-482b-a856-94f89814c4df
2018-03-08 15:17:22 +00:00
jensp 3e0bcee187 CCM NG: First part of infrastructure for DbThemeProvider
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5331 8810af33-2d31-482b-a856-94f89814c4df
2018-03-07 18:59:50 +00:00
jensp bed824cde7 CCM NG: Removed duplicate line from SQL scripts for tests in ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5330 8810af33-2d31-482b-a856-94f89814c4df
2018-03-07 18:23:53 +00:00
jensp 34c8b6ace8 CCM NG: Updated Arquillian dependencies, SQL schema migration for Theme files in database
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5327 8810af33-2d31-482b-a856-94f89814c4df
2018-03-07 10:14:30 +00:00
jensp 979b8d3eb1 CCM NG: Updated Arquillian dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5326 8810af33-2d31-482b-a856-94f89814c4df
2018-03-07 07:35:51 +00:00
jensp 4cc9f60be5 CCM NG: UI for managing permissions for assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5325 8810af33-2d31-482b-a856-94f89814c4df
2018-03-03 10:41:29 +00:00
jensp e9cc6caa9f CCM NG: Fixed permission check for Assets (#2801)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5324 8810af33-2d31-482b-a856-94f89814c4df
2018-03-02 15:32:44 +00:00
jensp 6e3a25f4c5 CCM NG: PermissionChecking for ItemListComponentRenderer and fixed PartyAddForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5323 8810af33-2d31-482b-a856-94f89814c4df
2018-03-02 13:58:55 +00:00
jensp 3046dc9490 CCM NG: Improvments for permissions management including an authoring step for managing the permissions for a single item
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5322 8810af33-2d31-482b-a856-94f89814c4df
2018-03-02 10:01:17 +00:00
jensp 0deb4a2ab4 CCM NG: Improvments for Permissions Management
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5321 8810af33-2d31-482b-a856-94f89814c4df
2018-03-02 08:31:00 +00:00
jensp 6cfe0ac623 CCM NG: Copy permissions from parent folder to new sub folder
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5320 8810af33-2d31-482b-a856-94f89814c4df
2018-03-01 09:53:28 +00:00
jensp c4d3080aee CCM NG: Missing translation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5319 8810af33-2d31-482b-a856-94f89814c4df
2018-02-27 16:20:20 +00:00
jensp ffdd425748 CCM NG: Weiterleitung zum nächsten EditStep funktioniert nicht (#2743)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5300 8810af33-2d31-482b-a856-94f89814c4df
2018-02-19 13:46:28 +00:00
jensp 3da49c1ff1 CCM NG: Tab Veröffentlichen wirft Exception wenn keine Standard Lifecycle vorhanden ist. (#2797)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5299 8810af33-2d31-482b-a856-94f89814c4df
2018-02-19 12:41:29 +00:00
jensp 6389e763cf CCM NG: Fixed typo in TaskManager (parameters of checkForCirularDependency were swapped)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5298 8810af33-2d31-482b-a856-94f89814c4df
2018-02-19 12:29:26 +00:00
jensp 4ac1364cb4 CCM NG: Tab Suche portieren (#2733)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5295 8810af33-2d31-482b-a856-94f89814c4df
2018-02-19 07:18:28 +00:00
jensp 9adca6c3bb CCM NG: Nach dem Publizieren wird zum Content Center weitergeleitet (#2798): Code für Weiterleitung entfernt/auskommentiert
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5290 8810af33-2d31-482b-a856-94f89814c4df
2018-02-17 10:51:23 +00:00
jensp cb90818262 CCM NG: Implementieren eines ThemeProcessors für Freemarker (#2759)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5289 8810af33-2d31-482b-a856-94f89814c4df
2018-02-16 20:36:10 +00:00
jensp b2da353a36 CCM NG: Lokalisierung Themes über ResourceBundle (#2795)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5262 8810af33-2d31-482b-a856-94f89814c4df
2018-02-08 18:33:05 +00:00
jensp 5455b23d55 CCM NG:
- URIResolver for XSLT Themes now works (and with that xsl:import etc. in the XSL files)
- Fixed ambiguous URL patterns in Images


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5261 8810af33-2d31-482b-a856-94f89814c4df
2018-02-08 13:41:00 +00:00
jensp 60cbb627c1 CCM NG: Reload Methode in AbstractEntityRepository erstellen (#2807) and getIdOfEntity method including implementation in all repositories
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5256 8810af33-2d31-482b-a856-94f89814c4df
2018-02-07 15:49:10 +00:00
jensp b8cbeefd48 CCM NG: JavaDoc for findById method from last commit.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5255 8810af33-2d31-482b-a856-94f89814c4df
2018-02-07 14:07:08 +00:00
jensp 1a11da8b59 CCM NG: Variante der findById Methode für fetchJoins erstellen erstellen (#2805)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5254 8810af33-2d31-482b-a856-94f89814c4df
2018-02-07 14:01:52 +00:00
jensp 2d37c5b2cb CCM NG: Abstrakte Methode getIdAttributeName in AbstractEntityRepository erstellen (#2804)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5253 8810af33-2d31-482b-a856-94f89814c4df
2018-02-07 13:52:57 +00:00
jensp a0ba7d3d33 [maven-release-plugin] prepare for next development iteration
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5240 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 15:46:58 +00:00
jensp 415e0ba122 [maven-release-plugin] prepare release libreccm-7.0.0-alpha.1
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5238 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 15:46:50 +00:00
jensp 18df5e5a43 CCM NG: Some other pom.xml files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5237 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 10:58:58 +00:00
jensp 5837df5c0f CCM NG: Another pom.xml fixed
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5236 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 10:45:11 +00:00
jensp 3deba643bf CCM NG: fixed pom.xml
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5235 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 10:37:49 +00:00
jensp 80ce7eb23d CCM NG: pom cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5234 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 10:20:02 +00:00
jensp c629cef687 CCM NG: Updated svn:ignore property for ccm-bundle-devel-wildfly to exclude Netbeans configuration
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5233 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 09:56:54 +00:00
jensp 3cca929c0e CCM NG: Integrated the maven-release-plugin for easy releases. Attention: The configuration for the maven-release-plugin has not been tested yet. The configuration can be considered stable/tested if you see the commits for a release after this commit.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5232 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 09:51:23 +00:00
jensp 03cd638c24 CCM NG: Added some files to to the wildfly-swarm bundle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5230 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 08:46:04 +00:00
jensp aad361f0d6 CCM NG: InsertMediaAssetCommand for ccm-editor should now work.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5229 8810af33-2d31-482b-a856-94f89814c4df
2018-02-02 08:43:07 +00:00
jensp 3180aebe2d CCM NG: Optimisations and bug fixes for the media assets command for the ccm-editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5228 8810af33-2d31-482b-a856-94f89814c4df
2018-02-01 21:00:21 +00:00
jensp a236e2032e CCM NG: Code cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5227 8810af33-2d31-482b-a856-94f89814c4df
2018-02-01 15:08:42 +00:00
jensp 775dba0c70 CCM NG: InsertMediaCommand for ccm-editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5226 8810af33-2d31-482b-a856-94f89814c4df
2018-01-31 18:31:27 +00:00
jensp fc73e1310a CCM NG: Combined query parameter for Pages application for previewing ContentItems, PageModel and/or themes on a page (even combinations are possible).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5224 8810af33-2d31-482b-a856-94f89814c4df
2018-01-26 18:56:18 +00:00
jensp 3cad4e1d8f CCM NG: Added overlays for ccm-editor to maven-war-plugin configuratiin in ccm-bundle-devel-wildfly-swarm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5223 8810af33-2d31-482b-a856-94f89814c4df
2018-01-26 14:04:05 +00:00
jensp 978aee6088 CCM NG: Load files from a theme from the master theme if the child theme does not have the file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5222 8810af33-2d31-482b-a856-94f89814c4df
2018-01-26 14:01:24 +00:00
jensp 3cfb48f938 CCM NG: Tab Roles in Content Section Admin now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5221 8810af33-2d31-482b-a856-94f89814c4df
2018-01-26 13:48:11 +00:00
jensp ca3c5eacb4 CCM NG: DocumentTypes Tab in the Content Section Admin now works.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5220 8810af33-2d31-482b-a856-94f89814c4df
2018-01-26 10:31:10 +00:00
jensp bd85743abc CCM NG: Some minor fixes for the Workflow tab of the Content Section Admin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5219 8810af33-2d31-482b-a856-94f89814c4df
2018-01-26 07:08:34 +00:00
jensp 488291d174 CCM NG:
- Deliver theme files using JAX-RS
- ACSObjectCategoryForm now works again (#2800)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5218 8810af33-2d31-482b-a856-94f89814c4df
2018-01-25 14:28:24 +00:00
jensp 57fbaacc54 Demo Theme
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5217 8810af33-2d31-482b-a856-94f89814c4df
2018-01-24 19:55:09 +00:00
tosmers 954ffb0c04 [CCM][UPDATE]
- adds all missing serialVersionUIDs to import/export classes
  (e.g. Manager, Repository, Marshaller, IdGenerator, IdResolver)
- marks Marshaller-class (interface import/export to gui) as deprecated, to force review when implementing gui for import/export

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5216 8810af33-2d31-482b-a856-94f89814c4df
2018-01-24 18:10:59 +00:00
tosmers c7a999fe90 [CCM][UPDATE]
- improves the file handling for the import tests using systems temp folder

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5215 8810af33-2d31-482b-a856-94f89814c4df
2018-01-24 17:28:41 +00:00
jensp 4ed90c122f CCM NG: Category Tab in Content Center now basically works (#2731).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5213 8810af33-2d31-482b-a856-94f89814c4df
2018-01-23 11:12:39 +00:00
jensp 8000daa4aa Missing file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5212 8810af33-2d31-482b-a856-94f89814c4df
2018-01-23 08:12:56 +00:00
jensp c3d4e0dee5 CCM NG: More utils for themes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5211 8810af33-2d31-482b-a856-94f89814c4df
2018-01-21 13:57:40 +00:00
jensp c660984f00 CCM NG: First part of Theme Utility functions
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5210 8810af33-2d31-482b-a856-94f89814c4df
2018-01-21 11:52:03 +00:00
jensp ea16316e52 CCM NG:
- Put all files for ccm-editor into one Maven module to avoid problems with TypeScript module resolution
- Internal Links Command for ccm-editor


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5209 8810af33-2d31-482b-a856-94f89814c4df
2018-01-20 16:53:17 +00:00
jensp dfe1e311d8 CCM NG: First part of CMS specific modules for the ccm-editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5206 8810af33-2d31-482b-a856-94f89814c4df
2018-01-19 14:12:43 +00:00
jensp c89ca2e6db CCM NG: Renamed actions to commands in ccm-editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5205 8810af33-2d31-482b-a856-94f89814c4df
2018-01-19 07:27:35 +00:00
jensp 831e4ce400 CCM NG: Integration of ccm-editor with Bebop
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5204 8810af33-2d31-482b-a856-94f89814c4df
2018-01-18 19:20:47 +00:00
jensp f99fbf108d CCM NG: Added dependencies for the WebJars of JavaScript libraries required by the ccm-editor to the devel bundle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5203 8810af33-2d31-482b-a856-94f89814c4df
2018-01-18 16:32:23 +00:00
jensp a9a8c36a13 CCM NG: Documentation for the ccm-editor module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5202 8810af33-2d31-482b-a856-94f89814c4df
2018-01-18 16:01:33 +00:00
jensp 305328eccd CCM NG:
- First version of new HTML editor
- Integration of new HTML editor into build system 


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5201 8810af33-2d31-482b-a856-94f89814c4df
2018-01-18 13:15:54 +00:00
tosmers 426fe92e5c [NG][FEATURE]
- adds import of taskDependencies and taskAssignments
- successfully imports data for all major core classes

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5198 8810af33-2d31-482b-a856-94f89814c4df
2018-01-15 16:48:08 +00:00
jensp 8d3a58cc9b CCM NG: Further optimizations for queries in FolderBrowserController
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5193 8810af33-2d31-482b-a856-94f89814c4df
2018-01-11 16:54:06 +00:00
jensp 4edeccbff0 CCM NG: Reenabled Pagninator in Folder Browser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5192 8810af33-2d31-482b-a856-94f89814c4df
2018-01-11 13:35:39 +00:00
jensp 8b02fff42e CCM NG: Optimized queries for FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5191 8810af33-2d31-482b-a856-94f89814c4df
2018-01-11 13:24:45 +00:00
jensp 6efbbb6ee2 CCM NG: Possible fix for missing items in FolderBrowser (see #2739).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5188 8810af33-2d31-482b-a856-94f89814c4df
2018-01-10 16:56:23 +00:00
jensp f278cef4e9 CCM NG: Init language widget in PageCreateForm with Kernel#defaultLocale
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5186 8810af33-2d31-482b-a856-94f89814c4df
2018-01-10 11:05:23 +00:00
jensp 0a238d06b6 CCM NG: Removed duplicate slash from URL used by ContentSectionServlet (#2751)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5185 8810af33-2d31-482b-a856-94f89814c4df
2018-01-10 10:44:52 +00:00
jensp 3129f29242 CCM NG: Show name of pages instance in the table of pages instances in the Content Center (#2748)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5184 8810af33-2d31-482b-a856-94f89814c4df
2018-01-10 10:23:46 +00:00
jensp 0d5a88cab3 CCM NG: Added OrderBy annotation to several lists
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5172 8810af33-2d31-482b-a856-94f89814c4df
2017-12-14 16:34:03 +00:00
jensp c9de865928 CCM NG: Some fixes for minor things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5171 8810af33-2d31-482b-a856-94f89814c4df
2017-12-14 12:10:07 +00:00
jensp 9546d314e3 CCM NG: Several small fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5170 8810af33-2d31-482b-a856-94f89814c4df
2017-12-13 17:55:36 +00:00
jensp 78fb4d7ac9 CCM NG: Several small bug fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5169 8810af33-2d31-482b-a856-94f89814c4df
2017-12-13 15:06:32 +00:00
jensp a73b951512 CCM NG: Setting index item for a category in the category of the Content Section Editor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5168 8810af33-2d31-482b-a856-94f89814c4df
2017-12-13 15:06:09 +00:00
jensp 85a5ace44a CCM NG: Content Center Category Tab (not finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5167 8810af33-2d31-482b-a856-94f89814c4df
2017-12-12 18:33:09 +00:00
tosmers 439efa2e73 [NG][FEATURE]
- adds capability to import assignable tasks
- adds IdGenerator and Marshaller for TaskDependency
- import of TaskDependencies not working yet

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5166 8810af33-2d31-482b-a856-94f89814c4df
2017-12-12 18:04:27 +00:00
jensp 03effcb3bd CCM NG: Devel Bundle distribution using Wildfly Swarm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5164 8810af33-2d31-482b-a856-94f89814c4df
2017-12-12 13:14:07 +00:00
jensp 8a036eeb72 CCM NG: Devel Bundle using Wildfly Swarm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5163 8810af33-2d31-482b-a856-94f89814c4df
2017-12-11 19:36:54 +00:00
jensp 196d0d8869 CCM NG: Refactored dependencies between tasks from an n:m relation to two 1:n relations using an relation entity (TaskDependency). Also renamed some attributes to make the dependency relations more readable.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5162 8810af33-2d31-482b-a856-94f89814c4df
2017-12-10 20:19:18 +00:00
jensp 8ddfede706 CCM NG: Content Center Category Tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5161 8810af33-2d31-482b-a856-94f89814c4df
2017-12-07 16:49:36 +00:00
jensp 85991a3151 CCM NG: Fixed ItemLifecyclePane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5157 8810af33-2d31-482b-a856-94f89814c4df
2017-12-06 18:28:15 +00:00
jensp 133f39e233 CCM NG: Admin UI for Pages Vaadin variant
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5156 8810af33-2d31-482b-a856-94f89814c4df
2017-12-06 15:25:58 +00:00
jensp 1d2c424e95 CCM NG: PageModel Admin UI for Vaadin Prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5155 8810af33-2d31-482b-a856-94f89814c4df
2017-12-03 18:52:14 +00:00
jensp ddb8664356 CCN NG: Some additional prototyping for Vaadin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5154 8810af33-2d31-482b-a856-94f89814c4df
2017-12-02 18:11:53 +00:00
jensp ae7c52acbf CCM NG: Optimised PageRouter
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5153 8810af33-2d31-482b-a856-94f89814c4df
2017-12-01 18:33:18 +00:00
jensp 6ea8ce3861 CCM NG: Several fixes and improvments
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5152 8810af33-2d31-482b-a856-94f89814c4df
2017-12-01 10:50:47 +00:00
jensp bbf0eb9bdd CCM NG: Several bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5151 8810af33-2d31-482b-a856-94f89814c4df
2017-11-30 17:54:08 +00:00
jensp 8cb19db371 CCM NG: Fixed bug
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5150 8810af33-2d31-482b-a856-94f89814c4df
2017-11-30 09:58:06 +00:00
jensp 27cc51476a CCM NG: Replaced individual Jackson dependencies with Jackson BOM
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5149 8810af33-2d31-482b-a856-94f89814c4df
2017-11-30 08:13:52 +00:00
jensp bdfd454bd5 CCM NG: Several bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5148 8810af33-2d31-482b-a856-94f89814c4df
2017-11-29 16:04:20 +00:00
jensp a7fe648798 CCM NG: Several bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5147 8810af33-2d31-482b-a856-94f89814c4df
2017-11-29 11:59:20 +00:00
jensp 6300b38676 CCM NG: Several small bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5146 8810af33-2d31-482b-a856-94f89814c4df
2017-11-28 19:35:02 +00:00
jensp 69f398cbec CCM NG: JavaDoc for the Pages application and some code cleanup.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5145 8810af33-2d31-482b-a856-94f89814c4df
2017-11-27 13:28:26 +00:00
jensp 5fb3759d97 CCM NG: JavaDoc for Sites and PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5144 8810af33-2d31-482b-a856-94f89814c4df
2017-11-27 13:05:55 +00:00
jensp 22cc0ea222 CCM NG: JavaDoc for the Admin UI for PageModels
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5143 8810af33-2d31-482b-a856-94f89814c4df
2017-11-27 10:54:13 +00:00
jensp f5947051f2 CCM NG: Added SpotBugs to ccm-cms and ccm-shortcuts
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5142 8810af33-2d31-482b-a856-94f89814c4df
2017-11-27 10:28:49 +00:00
jensp 7e8e71d55b CCM NG: Some JavaDoc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5141 8810af33-2d31-482b-a856-94f89814c4df
2017-11-27 10:25:37 +00:00
jensp 5ad336e491 CCM NG: Admin UI for Pages final part
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5140 8810af33-2d31-482b-a856-94f89814c4df
2017-11-26 16:55:53 +00:00
jensp 87c8ac6312 CCM NG: Pages Admin UI Part II
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5139 8810af33-2d31-482b-a856-94f89814c4df
2017-11-25 18:50:47 +00:00
jensp c04a0d4adb CCM NG: Admin UI for Pages Part I
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5138 8810af33-2d31-482b-a856-94f89814c4df
2017-11-25 10:12:12 +00:00
jensp 24d3b49a98 CCM NG: Admin UI for PageModels in the Vaadin Prototype.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5137 8810af33-2d31-482b-a856-94f89814c4df
2017-11-23 18:38:55 +00:00
jensp 65905169ff CCM NG: Changed handling for null values in setValues. If null is provided an empty map is created.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5136 8810af33-2d31-482b-a856-94f89814c4df
2017-11-23 17:54:49 +00:00
jensp c75ae20480 CCM NG: LocalizedString now accepts null for the list of values
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5135 8810af33-2d31-482b-a856-94f89814c4df
2017-11-23 17:32:06 +00:00
tosmers 1408198b19 [NG][UPDATE]
- excludes xml annotations from import
- adds exported data

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5133 8810af33-2d31-482b-a856-94f89814c4df
2017-11-23 15:46:59 +00:00
jensp 53a9d54ced CCM NG: JavaDoc for the classes of the PageModel admin UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5132 8810af33-2d31-482b-a856-94f89814c4df
2017-11-23 07:45:11 +00:00
jensp 5cecc134a4 CCM NG:
- Some minor changes for theming
- Very basic template for static default theme, will be used for first tests


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5131 8810af33-2d31-482b-a856-94f89814c4df
2017-11-22 11:21:15 +00:00
jensp ab058ba86b CCM NG: PageModel AdminUI should now work
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5130 8810af33-2d31-482b-a856-94f89814c4df
2017-11-22 11:07:35 +00:00
jensp 856c8553ec CCM NG: Next part of PageModel Admin UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5129 8810af33-2d31-482b-a856-94f89814c4df
2017-11-21 19:17:42 +00:00
jensp fa29707023 CCM NG: Added SpotBugs (FindBugs successor)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5128 8810af33-2d31-482b-a856-94f89814c4df
2017-11-21 18:45:34 +00:00
jensp 3d7c4b367f CCM NG: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5127 8810af33-2d31-482b-a856-94f89814c4df
2017-11-21 16:28:47 +00:00
jensp 0735255e6e CCM NG: Next part of admin UI for PageModels
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5126 8810af33-2d31-482b-a856-94f89814c4df
2017-11-21 16:27:45 +00:00
jensp 88bf2c1073 CCM NG: First part of the Admin UI for PageModels (replacement for JSP based templates)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5125 8810af33-2d31-482b-a856-94f89814c4df
2017-11-20 18:57:18 +00:00
jensp f75a207c97 CCM NG: SitesAdmin for Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5102 8810af33-2d31-482b-a856-94f89814c4df
2017-11-07 19:46:20 +00:00
jensp 4d36e31f65 CCM NG: Admin UI for Sites
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5099 8810af33-2d31-482b-a856-94f89814c4df
2017-11-02 18:30:42 +00:00
jensp 1c91d25d80 CCM NG: Sites Admin UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5098 8810af33-2d31-482b-a856-94f89814c4df
2017-11-02 06:13:20 +00:00
jensp afa8e24031 CCM NG: Site Admin UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5097 8810af33-2d31-482b-a856-94f89814c4df
2017-11-01 18:53:47 +00:00
jensp 97a2d4b7ac CCM NG: StaticThemeProvider now uses the Reflections library to list the themes embedded into the ear/war/jar. Looks like that is the only reliable way the list resources in an archive...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5096 8810af33-2d31-482b-a856-94f89814c4df
2017-11-01 18:04:05 +00:00
jensp 470ddaa06f Some missing files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5094 8810af33-2d31-482b-a856-94f89814c4df
2017-11-01 09:17:10 +00:00
jensp cacf30cf12 CCM NG: Various things including a new version of the StaticThemeProvider (not finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5093 8810af33-2d31-482b-a856-94f89814c4df
2017-10-31 19:12:26 +00:00
jensp 0fc51a8faf CCM NG: Cleanup of the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5092 8810af33-2d31-482b-a856-94f89814c4df
2017-10-29 18:37:54 +00:00
jensp 1c254327b4 CCM NG: Code cleanup Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5091 8810af33-2d31-482b-a856-94f89814c4df
2017-10-28 15:15:14 +00:00
tosmers cbcc621eba [NG][UPDATE]
- minor modifications in core classes for import
- adds new batch of files with exported objects

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5089 8810af33-2d31-482b-a856-94f89814c4df
2017-10-27 15:51:21 +00:00
jensp dfd2eaa5d1 CCM NG: Admin UI for sites
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5086 8810af33-2d31-482b-a856-94f89814c4df
2017-10-26 15:38:25 +00:00
jensp 9a1587a4f2 CCM NG: Added associations between CcmApplication and Site
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5085 8810af33-2d31-482b-a856-94f89814c4df
2017-10-26 08:10:20 +00:00
jensp 86a7f7394c CCM NG: First part of admin UI for Sites
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5084 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 18:19:44 +00:00
jensp 4308f62df8 CCM NG: Reverted some changes from revision r5078
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5083 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 18:06:38 +00:00
jensp d6d5bcc0d2 CCM NG: Some small things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5082 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 15:51:30 +00:00
jensp 579a8fc869 CCM NG: ThemeProcessor for XSLT based themes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5081 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 14:48:05 +00:00
baka de37d2beeb Replaces the simple calls with no arguments to newInstance()
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5078 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 13:26:01 +00:00
jensp 6b30577bd9 CCM NG: StaticThemeProvider for serving themes from the classpath
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5077 8810af33-2d31-482b-a856-94f89814c4df
2017-10-25 12:36:23 +00:00
jensp aa300b95c2 CCM NG: Themes system part 1
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5076 8810af33-2d31-482b-a856-94f89814c4df
2017-10-24 14:32:10 +00:00
jensp 80479cde9f CCM NG:
- Several bug fixes for potenial bugs found by FindBugs
- Created StaticThemeProvider class


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5075 8810af33-2d31-482b-a856-94f89814c4df
2017-10-23 17:08:52 +00:00
jensp a9a15eb803 CCM NG: JavaDoc for Sites and PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5074 8810af33-2d31-482b-a856-94f89814c4df
2017-10-23 14:35:44 +00:00
jensp a497c0b9fe CCM NG: Database migrations for PageModel components provided by ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5073 8810af33-2d31-482b-a856-94f89814c4df
2017-10-23 08:05:02 +00:00
jensp 7fd2f9d117 CCM NG: ItemListComponent for the PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5072 8810af33-2d31-482b-a856-94f89814c4df
2017-10-23 07:18:38 +00:00
jensp 37bc12afdc CCM NG: Renamed classes ending with "Builder" in in the pagemodel packages to end with "Renderer" to avoid confusion. Classes with a name ending with "Builder" are usually classes which implement the Builder pattern. The classes rendering a page model and its components do not implemement this pattern.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5071 8810af33-2d31-482b-a856-94f89814c4df
2017-10-23 05:57:40 +00:00
jensp 2c5677e8c4 CCM NG: Classes for rendering assets and content items with the new page model
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5063 8810af33-2d31-482b-a856-94f89814c4df
2017-10-19 17:25:02 +00:00
jensp ba6e28df85 CCM NG: Simplified rendering logic for ContentItem component
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5062 8810af33-2d31-482b-a856-94f89814c4df
2017-10-19 13:15:20 +00:00
jensp a7919d9204 CCM NG: More classes for the new page model
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5061 8810af33-2d31-482b-a856-94f89814c4df
2017-10-19 12:59:58 +00:00
jensp 259ab7a5c1 CCM NG: Several components for the page model
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5056 8810af33-2d31-482b-a856-94f89814c4df
2017-10-18 09:32:17 +00:00
jensp f8d8d38f6e CCM NG: Sites/Pages/Themes next part
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5044 8810af33-2d31-482b-a856-94f89814c4df
2017-10-13 15:59:22 +00:00
jensp 128d64570c Missed a file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5043 8810af33-2d31-482b-a856-94f89814c4df
2017-10-12 15:16:53 +00:00
jensp cafb3364ce CCM NG: sites/pages/themes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5042 8810af33-2d31-482b-a856-94f89814c4df
2017-10-12 14:55:11 +00:00
jensp 903b2d5eb6 Next part of the sites/pages/themes complex
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5041 8810af33-2d31-482b-a856-94f89814c4df
2017-10-12 10:25:05 +00:00
jensp 314a451e10 CCM NG: Next part of the sites/pages/themes complex
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5040 8810af33-2d31-482b-a856-94f89814c4df
2017-10-11 17:59:23 +00:00
jensp d71d5de149 CCM NG: Next part of the sites/pages/themes complex
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5038 8810af33-2d31-482b-a856-94f89814c4df
2017-10-11 13:36:54 +00:00
jensp cdc2904a3b CCM NG: Cleanup of PageModel, first part of theming
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5037 8810af33-2d31-482b-a856-94f89814c4df
2017-10-11 10:44:47 +00:00
jensp 99b3e513aa CCM NG: First part of sites/pages application
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5035 8810af33-2d31-482b-a856-94f89814c4df
2017-10-10 17:27:02 +00:00
jensp ffcbfa2a2a CCM NG: A widget for editing localized string properties in the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5031 8810af33-2d31-482b-a856-94f89814c4df
2017-10-08 09:07:29 +00:00
jensp b82cbb38ff CCM NG: First part of getting the ItemLifecycleItemPane working
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5030 8810af33-2d31-482b-a856-94f89814c4df
2017-10-05 17:15:47 +00:00
jensp f1d5fd4a05 CCM NG: Finish task link in Content Item editor is back
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5029 8810af33-2d31-482b-a856-94f89814c4df
2017-10-05 17:15:23 +00:00
jensp 4e651f185a CCM NG: Additional database migration steps for removing WorkflowTemplate
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5028 8810af33-2d31-482b-a856-94f89814c4df
2017-10-05 17:14:37 +00:00
jensp eff01d328c CCM NG: A reusable ConfirmDialog for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5022 8810af33-2d31-482b-a856-94f89814c4df
2017-10-04 16:57:44 +00:00
jensp 7c678b46d3 CCM NG: Fixing test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5020 8810af33-2d31-482b-a856-94f89814c4df
2017-09-28 18:13:40 +00:00
jensp a6b926ca84 CCM NG: Fixing test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5019 8810af33-2d31-482b-a856-94f89814c4df
2017-09-28 13:30:53 +00:00
jensp 77cf456b0d CCM NG: Fixed some compilion failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5016 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 19:57:37 +00:00
jensp 81be5540dc CCM NG:
- Removed class WorkflowTemplate, replaced by property abstractWorkflow in class workflow
- Fixed several test failures



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5015 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 19:45:02 +00:00
tosmers 82c6b50d7c [CCM][FEATURE]
- adds import capabilities for workflow templates, workflows and task comments
- fixes problems in workflow imports

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5014 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 17:48:47 +00:00
jensp edea9cb9a9 CCM NG/ccm-cms: Added missing translations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5012 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 05:58:36 +00:00
jensp 343c708ba1 CCM NG/ccm-core: Cleanup for LocalizedString
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5011 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 05:58:09 +00:00
jensp 45e427b85e CCM NG/ccm-cms: Vaadion prototype of folder browser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5010 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 05:57:38 +00:00
jensp 1c16145dfb CCM NG: Editor component for LocalizedString for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5009 8810af33-2d31-482b-a856-94f89814c4df
2017-09-27 05:56:38 +00:00
jensp 076dd00301 CCM NG: Item Category Step basically works now
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@5000 8810af33-2d31-482b-a856-94f89814c4df
2017-09-14 17:01:00 +00:00
jensp 58b0e07e47 CCM NG: Fixed typo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4998 8810af33-2d31-482b-a856-94f89814c4df
2017-09-13 15:43:37 +00:00
jensp 31cdeeeb7c CCM NG: Next part of migration of ItemCategoryStep
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4997 8810af33-2d31-482b-a856-94f89814c4df
2017-09-13 15:36:54 +00:00
jensp 3f38ed9fb9 CCM NG/ccm-cms: Vaadin Prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4996 8810af33-2d31-482b-a856-94f89814c4df
2017-09-11 16:38:56 +00:00
jensp e86de1eca2 CCM NG:
- ItemCategoryStep (not finished yet)
- Some use functions for localization


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4995 8810af33-2d31-482b-a856-94f89814c4df
2017-09-11 16:38:29 +00:00
jensp 0fbf09396d CCM NG/ccm-cms: RelatedInfoStep bug fixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4991 8810af33-2d31-482b-a856-94f89814c4df
2017-09-07 14:12:57 +00:00
jensp 7f893066d2 CCM NG/ccm-cms: RelatedInfo step now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4990 8810af33-2d31-482b-a856-94f89814c4df
2017-09-07 09:49:33 +00:00
tosmers a7c70290c4 [CCM][UPDATE]
- adds import functionality of Permission and WorkflowTemplate
- import of workflows still buggy...
- optimizes imports

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4989 8810af33-2d31-482b-a856-94f89814c4df
2017-09-07 09:22:08 +00:00
jensp 3d2d2c0353 CCM NG/ccm-cms: Some more experimenets with Vaadin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4988 8810af33-2d31-482b-a856-94f89814c4df
2017-09-06 17:41:02 +00:00
tosmers e3e30cdffe [CCM][FEATURE]
- adds import functionalities for core's ResourceType, CcmApplication, Domain and DomainOwnership
- optimizes imports in some core packages

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4987 8810af33-2d31-482b-a856-94f89814c4df
2017-09-06 13:45:39 +00:00
jensp 15ff6e8f86 CCM NG/ccm-cms: Some bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4985 8810af33-2d31-482b-a856-94f89814c4df
2017-09-06 08:41:30 +00:00
jensp ff57430035 CCM NG: output=xml parameter did not work.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4984 8810af33-2d31-482b-a856-94f89814c4df
2017-09-05 17:29:18 +00:00
jensp ef2a722529 CCM NG: Fixed typos in Foundry
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4983 8810af33-2d31-482b-a856-94f89814c4df
2017-09-05 17:08:42 +00:00
jensp 8e1f51a3b6 CCM NG: Some work on the Vaadin Prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4982 8810af33-2d31-482b-a856-94f89814c4df
2017-09-03 17:47:12 +00:00
jensp 5f26fedf36 CCM NG: Fixed some typos in NamedQueries
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4966 8810af33-2d31-482b-a856-94f89814c4df
2017-08-30 15:25:54 +00:00
jensp 1c8d366271 CCM NG/ccm-cms: Form for adding internal link
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4960 8810af33-2d31-482b-a856-94f89814c4df
2017-08-29 15:18:15 +00:00
jensp 875e7be900 Foundry support for new item search widget
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4959 8810af33-2d31-482b-a856-94f89814c4df
2017-08-29 14:57:11 +00:00
jensp 40ffde4739 CCM NG/ccm-cms: New server side part of the ItemSearchWidget, some other things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4918 8810af33-2d31-482b-a856-94f89814c4df
2017-08-23 17:20:16 +00:00
jensp a5404b6444 CCM NG/ccm-cms: Next part of RelatedInfoStep
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4914 8810af33-2d31-482b-a856-94f89814c4df
2017-08-21 07:49:12 +00:00
jensp 9f6685cc22 CCM NG/ccm-cms: Next part of RelatedInfoStep
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4913 8810af33-2d31-482b-a856-94f89814c4df
2017-08-20 18:10:32 +00:00
jensp 1f1c64f22a CCM NG/ccm-cms: Next part of RelatedInfoStep
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4910 8810af33-2d31-482b-a856-94f89814c4df
2017-08-18 19:26:56 +00:00
jensp eabf9d043c CCM NG/ccm-cms: Form for adding assets to an attachment list
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4907 8810af33-2d31-482b-a856-94f89814c4df
2017-08-17 12:52:57 +00:00
jensp 88b240960d CCM NG:
- First part of RelatedInfoStep
- Some other things


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4905 8810af33-2d31-482b-a856-94f89814c4df
2017-08-16 16:39:32 +00:00
jensp 77bc6c71e3 CCM NG/ccm-core: Some small enhancements for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4903 8810af33-2d31-482b-a856-94f89814c4df
2017-08-10 11:59:57 +00:00
jensp 64b46ae7f4 CCM NG/ccm-core: Some files for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4902 8810af33-2d31-482b-a856-94f89814c4df
2017-08-09 15:19:59 +00:00
jensp 075e94e0ee CCM NG/ccm-cms: Moving attached images works now
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4901 8810af33-2d31-482b-a856-94f89814c4df
2017-08-09 15:19:04 +00:00
jensp ab697c06ac CCM NG/ccm-cms: Adding and removing images
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4900 8810af33-2d31-482b-a856-94f89814c4df
2017-08-09 13:03:14 +00:00
jensp b1ca4f3db6 CCM NG/ccm-cms: Fixed some queries for getting avaiable images.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4899 8810af33-2d31-482b-a856-94f89814c4df
2017-08-08 08:03:19 +00:00
jensp 51419eb055 CCM NG:
- More work on the ImageStep
- Some restructing of the Vaadin Prototype


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4898 8810af33-2d31-482b-a856-94f89814c4df
2017-08-07 17:53:13 +00:00
jensp 7e118d9186 CCM NG: Configuration versions-maven-plugin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4891 8810af33-2d31-482b-a856-94f89814c4df
2017-08-02 15:26:59 +00:00
jensp 328ab48d87 CCM NG/ccm-cms: ImageStep for ContentItems (not tested yet!)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4890 8810af33-2d31-482b-a856-94f89814c4df
2017-08-02 14:23:24 +00:00
jensp f5fd66ee18 CCM NG/ccm-cms: Thumbnails for images in AssetBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4888 8810af33-2d31-482b-a856-94f89814c4df
2017-07-27 10:26:14 +00:00
jensp 486e0a3bc5 CCM NG/ccm-cms: JAX-RS based service for serving images.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4887 8810af33-2d31-482b-a856-94f89814c4df
2017-07-25 19:01:07 +00:00
jensp 1775a3ed21 CCM NG/ccm-cms: Several bug fixes and improvments for assets, especially binary assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4886 8810af33-2d31-482b-a856-94f89814c4df
2017-07-25 14:56:17 +00:00
jensp b93cb70d5b CCM NG/ccm-core: PermissionManager#revokePermission did not work correctly for an inherited permission
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4885 8810af33-2d31-482b-a856-94f89814c4df
2017-07-25 14:55:39 +00:00
jensp dfb2766a85 CCM NG/ccm-core: MimeTypeConverter now works with null values for the MimeType in the database
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4884 8810af33-2d31-482b-a856-94f89814c4df
2017-07-25 14:54:57 +00:00
jensp 1b7b03a481 CCM NG/ccm-cms:
- Privileges from the folder are now applied to new content items 
- Privilieges from the folder are not applied to new assets
- Some improvments for the structure of the asset forms



git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4883 8810af33-2d31-482b-a856-94f89814c4df
2017-07-24 15:22:10 +00:00
jensp 18a361da2c CCM NG/ccm-cms: Some bugfixes for Assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4882 8810af33-2d31-482b-a856-94f89814c4df
2017-07-20 17:13:46 +00:00
jensp eafc473b6d CCM NG/ccm-cms: Infrastructure for adding common authoring steps
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4881 8810af33-2d31-482b-a856-94f89814c4df
2017-07-19 15:06:13 +00:00
jensp a1dae2e9ed CCM NG/ccm-cms: Translations for the labels and descriptions of the asset types provided by ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4880 8810af33-2d31-482b-a856-94f89814c4df
2017-07-18 12:06:30 +00:00
jensp 74c9f273db CCM NG: Some translations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4879 8810af33-2d31-482b-a856-94f89814c4df
2017-07-17 18:01:38 +00:00
jensp 0cf339309b CCM NG: Updated several dependencies in the pom.xml
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4878 8810af33-2d31-482b-a856-94f89814c4df
2017-07-16 16:54:14 +00:00
jensp ef27287b48 CCM NG: Updated dependency for Hibernate Validator (Implementiation of Bean Validation API)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4877 8810af33-2d31-482b-a856-94f89814c4df
2017-07-15 17:00:45 +00:00
jensp 107bbfef3c CCM NG/ccm-cms MultiPartArticle Sections Step now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4876 8810af33-2d31-482b-a856-94f89814c4df
2017-07-15 14:35:44 +00:00
jensp 88daacb23b CCM NG: Ensure that fields of type LocalizedString are never null.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4875 8810af33-2d31-482b-a856-94f89814c4df
2017-07-15 09:26:24 +00:00
jensp 4ddce3a5ff CCM NG: Updated Maven plugins
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4874 8810af33-2d31-482b-a856-94f89814c4df
2017-07-14 18:45:40 +00:00
jensp f18cf8dc99 CCM NG/ccm-cms: Some fixes for the MultiPartArticle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4873 8810af33-2d31-482b-a856-94f89814c4df
2017-07-14 18:24:54 +00:00
jensp 572c03c6a5 Missing files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4872 8810af33-2d31-482b-a856-94f89814c4df
2017-07-14 15:09:34 +00:00
jensp ca0f982fe8 CCM NG/ccm-cms:
- Cleanup of package structure for authoring steps. All classes for authoring content items are now in com.arsdigita.cms.ui.authoring and its subpackages.
    - All parts of the step for managing the sections of a MultiPartArticle have been ported. Everything complies but is not tested yet!


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4871 8810af33-2d31-482b-a856-94f89814c4df
2017-07-14 15:02:38 +00:00
jensp 504f1f40e5 CCM NG/ccm-cms: Fixed several test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4870 8810af33-2d31-482b-a856-94f89814c4df
2017-07-14 14:59:16 +00:00
tosmers 004b03d227 [CCM][UPDATE]
- adds new export data with category objects for use with import tests

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4868 8810af33-2d31-482b-a856-94f89814c4df
2017-07-12 18:14:11 +00:00
jensp 65903e180f CCM NG: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4867 8810af33-2d31-482b-a856-94f89814c4df
2017-07-12 18:09:58 +00:00
jensp 0fa986eb05 CCM NG/ccm-cms: Next part of porting the editing step for managing the sections of a MulitPartArticle
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4866 8810af33-2d31-482b-a856-94f89814c4df
2017-07-12 16:00:09 +00:00
jensp aeb85a95bb CCM NG/ccm-core: Vaadin Prototype Editing roles and their members
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4865 8810af33-2d31-482b-a856-94f89814c4df
2017-07-12 09:08:51 +00:00
jensp 9ff3d68196 CCM NG/ccm-core: Fixed Role#hashCode and Role#equals which were giving inconsitent results due to use of lazily fetched attribute.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4864 8810af33-2d31-482b-a856-94f89814c4df
2017-07-12 07:16:37 +00:00
jensp 245ce9bb5d CCM NG/ccm-cms: First part of authoring step for managing the sections of a multi part article
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4863 8810af33-2d31-482b-a856-94f89814c4df
2017-07-11 15:18:33 +00:00
jensp 47633c259d CCM NG: Some missing files
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4862 8810af33-2d31-482b-a856-94f89814c4df
2017-07-11 15:04:31 +00:00
jensp 0800159764 CCM NG/cc-core: Vaadin Prototype: Editing group and role memberships of a user.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4851 8810af33-2d31-482b-a856-94f89814c4df
2017-07-09 09:35:52 +00:00
jensp cff1eb887a CCM NG/cc-cms: Step for editing the text of an event item
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4848 8810af33-2d31-482b-a856-94f89814c4df
2017-07-06 10:04:44 +00:00
jensp d67d3b1c02 CCM NG/ccm-cms: EditStep for editing the text of a news
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4847 8810af33-2d31-482b-a856-94f89814c4df
2017-07-06 09:52:43 +00:00
jensp 7a6d194526 CCM NG/ccm-cms: Editing step for editing the text of an article works now.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4846 8810af33-2d31-482b-a856-94f89814c4df
2017-07-06 09:24:27 +00:00
jensp 9d8857ac8e Missing file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4845 8810af33-2d31-482b-a856-94f89814c4df
2017-07-06 08:20:26 +00:00
jensp fcea2c3fa1 CCM NG/ccm-core: Some things for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4844 8810af33-2d31-482b-a856-94f89814c4df
2017-07-05 18:03:24 +00:00
tosmers 5b34b3d422 [CCM-NG][UPDATE]
- adds new exported data files for import, again

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4843 8810af33-2d31-482b-a856-94f89814c4df
2017-07-05 17:34:42 +00:00
jensp 55360e8b97 CCM NG/ccm-cms: Creating MPA, editing basic properties of an MPA now works.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4841 8810af33-2d31-482b-a856-94f89814c4df
2017-07-05 09:25:08 +00:00
jensp 8ee4cdd08d CCM NG/ccm-cms:
- Fixed wrong datatype in ccm_cms.events table (was SQL Date, which does not save time, is now SQL Timestamp)
- EventPropertiesStep and EventPropertyForm work now as expected


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4840 8810af33-2d31-482b-a856-94f89814c4df
2017-07-05 07:24:55 +00:00
jensp eb396238e6 CCM NG/ccm-cms: Some improvments for EventPropertiesStep and EventPropertyForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4839 8810af33-2d31-482b-a856-94f89814c4df
2017-07-04 18:19:52 +00:00
jensp 5b0639ba72 CCM NG: Some improvments for the ContentItemRepository#delete method
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4838 8810af33-2d31-482b-a856-94f89814c4df
2017-07-04 16:53:09 +00:00
jensp 4f9e3dfe81 CCM NG/ccm-cms:
- Some missing translations for the NewsItemPropertiesStep and the NewsItemPropertyForm
- Code for deleting a ContentItem improved


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4837 8810af33-2d31-482b-a856-94f89814c4df
2017-07-04 12:47:08 +00:00
jensp 1f56e71496 CCM NG/ccm-core: Some work for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4836 8810af33-2d31-482b-a856-94f89814c4df
2017-07-03 18:13:03 +00:00
jensp d5011afb86 CCM NG/ccm-cms: Language Tab of the ContentItemPage now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4835 8810af33-2d31-482b-a856-94f89814c4df
2017-07-03 17:03:07 +00:00
jensp 2a48d909f3 CCM NG/ccm-cms: ArticlePropertyForm now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4830 8810af33-2d31-482b-a856-94f89814c4df
2017-07-01 15:34:56 +00:00
jensp 79f2ab2460 CCM NG/ccm-core: Some things for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4829 8810af33-2d31-482b-a856-94f89814c4df
2017-07-01 09:54:55 +00:00
jensp 7b9b260ed6 CCM NG/ccm-cms: Resolved some compile errors caused by changes of method signatures in ContentItemManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4827 8810af33-2d31-482b-a856-94f89814c4df
2017-06-30 07:13:29 +00:00
tosmers 7a7af0239d [CCM][UPDATE]
- modifies import test with output message of selected group to check members
- changes RoleMembershipMarshaller's insertIntoDb-method

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4826 8810af33-2d31-482b-a856-94f89814c4df
2017-06-29 18:33:11 +00:00
jensp 9b44b4006e CCM NG/ccm-core: Some work for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4825 8810af33-2d31-482b-a856-94f89814c4df
2017-06-29 15:21:18 +00:00
jensp 4a29a3446a CCM NG/ccm-cms: Several changes, especially to handle the new localisation model for content items
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4824 8810af33-2d31-482b-a856-94f89814c4df
2017-06-29 14:32:00 +00:00
jensp 3b42241dbb CCM NG/ccm-cms: Some progress for editing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4822 8810af33-2d31-482b-a856-94f89814c4df
2017-06-28 19:25:28 +00:00
jensp dee4e3a01e CCM NG/ccm-core: Some work for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4821 8810af33-2d31-482b-a856-94f89814c4df
2017-06-27 19:30:48 +00:00
jensp c3f6caf87a CCM NG/ccm-cms: More work for Content Item edit.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4820 8810af33-2d31-482b-a856-94f89814c4df
2017-06-27 13:42:15 +00:00
jensp f13aa29d44 CCM NG/ccm-cms: Localized texts which were not localized yet in AssignedTaskTable
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4819 8810af33-2d31-482b-a856-94f89814c4df
2017-06-27 12:10:59 +00:00
jensp c9ffce9b96 CCM NG: Fixes for workflow, translations for Workflow widgets in ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4818 8810af33-2d31-482b-a856-94f89814c4df
2017-06-27 09:37:55 +00:00
jensp 0a6c5ae636 CCM NG/ccm-core: Several improvments for Workflow Handling
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4816 8810af33-2d31-482b-a856-94f89814c4df
2017-06-26 17:15:45 +00:00
jensp 6759d1d2e1 CCM NG/ccm-cms: Some bugfixes for the AssignedTaskTable
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4803 8810af33-2d31-482b-a856-94f89814c4df
2017-06-23 16:58:14 +00:00
jensp 339507295d CCM NG/ccm-core: Bugfixes for RoleManagement of users
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4802 8810af33-2d31-482b-a856-94f89814c4df
2017-06-23 16:57:50 +00:00
tosmers 2cefc0c1d2 [CCM][UPDATE]
- adds new import xml files, where roles are not duplicated from export
- corrects idResolver implementation of Group, User, Party, Role, and Category
- adds correct working import of Groups, Users, GroupsMemberships, Roles, RoleMemberships

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4801 8810af33-2d31-482b-a856-94f89814c4df
2017-06-23 16:54:35 +00:00
jensp 7db179f090 CCM NG/ccm-core: WorkflowManager added multiple TaskAssignments for same task and assignee
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4799 8810af33-2d31-482b-a856-94f89814c4df
2017-06-22 16:39:55 +00:00
jensp bb703b3ab6 CCM NG/ccm-core: Fixed several Exceptions when editing Users and Roles
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4798 8810af33-2d31-482b-a856-94f89814c4df
2017-06-22 13:04:32 +00:00
tosmers 95d9ff0b86 [CCM][UPDATE]
- modifies import tests
- adds new xmls for import

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4797 8810af33-2d31-482b-a856-94f89814c4df
2017-06-22 09:26:23 +00:00
jensp 2615141969 CCM NG/ccm-core: Fixed some LazyInitizationExceptions
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4796 8810af33-2d31-482b-a856-94f89814c4df
2017-06-21 18:21:06 +00:00
jensp 4625610126 CCM NG/ccm-cms: More work for the authoring steps
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4795 8810af33-2d31-482b-a856-94f89814c4df
2017-06-21 18:20:41 +00:00
jensp a07b2e378f CCM NG/ccm-cms: Added clearOptions call
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4791 8810af33-2d31-482b-a856-94f89814c4df
2017-06-20 12:39:22 +00:00
jensp be3f1d51d5 CCM NG/ccm-cms: Avoid NPE in ItemWorkflowRequestLocalHelper when no workflow is assigned to a ContentItem.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4790 8810af33-2d31-482b-a856-94f89814c4df
2017-06-20 11:25:05 +00:00
jensp 77ac9d7aaa More bugfixes for ContentItemPage and related classes (ContentItemPage is now displayed)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4787 8810af33-2d31-482b-a856-94f89814c4df
2017-06-19 13:07:23 +00:00
jensp 08a8a03db7 CCM NG/ccm-cms: More bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4786 8810af33-2d31-482b-a856-94f89814c4df
2017-06-16 17:46:48 +00:00
jensp cb64c073d0 CCM NG/ccm-cms: More work for getting ContentItemPage working
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4785 8810af33-2d31-482b-a856-94f89814c4df
2017-06-15 16:44:46 +00:00
jensp 86bcc1192e CCM NG/ccm-cms: Bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4784 8810af33-2d31-482b-a856-94f89814c4df
2017-06-15 12:55:30 +00:00
jensp 48b2d7e441 CCM NG: Several bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4783 8810af33-2d31-482b-a856-94f89814c4df
2017-06-15 08:38:15 +00:00
jensp 424388fba6 CCM NG/ccm-core: Bugfix for ContentSectionSetup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4782 8810af33-2d31-482b-a856-94f89814c4df
2017-06-14 17:17:50 +00:00
jensp 721696ae44 CccNG/ccm-core: Some files for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4781 8810af33-2d31-482b-a856-94f89814c4df
2017-06-14 12:47:28 +00:00
jensp 5fcf5d10fb Fixed typo in pom.xml
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4780 8810af33-2d31-482b-a856-94f89814c4df
2017-06-14 12:46:26 +00:00
jensp b429aa0d1a CCM NG:
- Cleanup pom.xml files
- UI for import/export


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4779 8810af33-2d31-482b-a856-94f89814c4df
2017-06-14 12:35:44 +00:00
jensp 01817731ed CCM NG/ccm-cms: Several changes/fixes for getting the authoring kits working
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4778 8810af33-2d31-482b-a856-94f89814c4df
2017-06-13 12:04:03 +00:00
tosmers 0cdf3a5959 [CCM-NG][UPDATE]
- modifies import tests

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4774 8810af33-2d31-482b-a856-94f89814c4df
2017-06-12 17:30:51 +00:00
jensp d0eec72b0a CCM NG/ccm-cms: MultiPartArticleEdit ported to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4763 8810af33-2d31-482b-a856-94f89814c4df
2017-06-08 12:58:32 +00:00
jensp 763625c2cc CCM NG/ccm-cms: EventPropertiesStep and associated ported to NG.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4762 8810af33-2d31-482b-a856-94f89814c4df
2017-06-08 12:36:39 +00:00
jensp 0b6122c677 CCM NG/ccm-cms: NewsItemPropertiesStep and NewsItemProperty from old system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4757 8810af33-2d31-482b-a856-94f89814c4df
2017-06-06 09:19:09 +00:00
jensp 1daadd865a CCM NG/ccm-core: Creating, editing and deleting roles in the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4753 8810af33-2d31-482b-a856-94f89814c4df
2017-05-22 18:10:19 +00:00
jensp c840580599 CCM NG/ccm-cms: ItemCategoryStep migrated to CCM NG
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4752 8810af33-2d31-482b-a856-94f89814c4df
2017-05-22 13:21:29 +00:00
jensp 3a53cdc6cf CCM NG/ccm-core: Group edit in the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4749 8810af33-2d31-482b-a856-94f89814c4df
2017-05-21 18:32:37 +00:00
jensp fed9df1e6a CCM NG/ccm-cms: GenericArticleBody and associated classes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4745 8810af33-2d31-482b-a856-94f89814c4df
2017-05-20 15:22:14 +00:00
jensp b36dccc3f6 CCM NG/ccm-cms: ArticlePropertiesStep: Added parameter for selected language (for finished yet)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4744 8810af33-2d31-482b-a856-94f89814c4df
2017-05-19 18:11:24 +00:00
jensp b52ce4649a CCM NG/ccm-cms: ArticlePropertiesStep and dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4743 8810af33-2d31-482b-a856-94f89814c4df
2017-05-18 17:39:40 +00:00
jensp e2649e5b64 CCM NG/ccm-cms: Some bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4742 8810af33-2d31-482b-a856-94f89814c4df
2017-05-18 08:42:24 +00:00
jensp 38f2fe7744 CCM NG/ccm-core: GroupsTable for the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4741 8810af33-2d31-482b-a856-94f89814c4df
2017-05-17 17:58:33 +00:00
baka 74bb4ad9f8 Ticket #2684 - Implements the class, adds the resources to the bundles and adds annotations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4740 8810af33-2d31-482b-a856-94f89814c4df
2017-05-17 12:52:38 +00:00
baka 65aefa4d18 Ticket #2685 - Forgot the annotations and resource bundles
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4739 8810af33-2d31-482b-a856-94f89814c4df
2017-05-17 12:17:03 +00:00
baka 0d23831244 Ticket #2683 & #2682 - Fixes minor stuff
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4738 8810af33-2d31-482b-a856-94f89814c4df
2017-05-17 12:02:50 +00:00
baka 19f7e8c62a Ticket #2685 - Implements the form
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4737 8810af33-2d31-482b-a856-94f89814c4df
2017-05-17 12:01:14 +00:00
jensp 1810a77aac CCM NG/ccm-cms: First part of migration of ArticlesPropertiesStep
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4736 8810af33-2d31-482b-a856-94f89814c4df
2017-05-15 17:43:46 +00:00
jensp 3ed69a053a CCM NG/ccm-core: More work on the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4735 8810af33-2d31-482b-a856-94f89814c4df
2017-05-14 17:46:06 +00:00
jensp e823c01fe0 CCM NG/ccm-core: Removed constraints for allowed characters in the name of a party
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4734 8810af33-2d31-482b-a856-94f89814c4df
2017-05-14 17:45:45 +00:00
jensp 31277c9e29 CCM NG/ccm-cms: AssetRepository queries now check permissions
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4733 8810af33-2d31-482b-a856-94f89814c4df
2017-05-13 09:38:30 +00:00
jensp b17295a0bd CCM NG/ccm-cms: Queries used by ContentItemRepository now include permissions.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4732 8810af33-2d31-482b-a856-94f89814c4df
2017-05-12 19:04:13 +00:00
jensp c51932edb6 CCM NG/ccm-cms: Extended named queries for ContentItem to take permissions into account
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4731 8810af33-2d31-482b-a856-94f89814c4df
2017-05-11 18:13:47 +00:00
jensp 24ae8a7747 CCM NG/ccm-cms: Some progress for the ContentItemPage
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4730 8810af33-2d31-482b-a856-94f89814c4df
2017-05-11 18:01:30 +00:00
jensp e4e1783f8b CCM NG/ccm-cms: Several optimisations
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4729 8810af33-2d31-482b-a856-94f89814c4df
2017-05-11 17:11:30 +00:00
tosmers df882a738c [CCM-NG][UPDATE]
- adds new generated export xml files

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4728 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 18:11:00 +00:00
jensp 90087aeee0 CCM NG/ccm-cms: Query for retrieving ContentItems by ID which takes the permissions into account.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4726 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 17:38:24 +00:00
baka 3a8520171f Ticket #2683 - Missed something.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4724 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 15:44:56 +00:00
baka 09b4f63d2a Ticket #2683 - Implements the image form
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4723 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 15:39:25 +00:00
jensp e7f5a9a2ad CCM NG/ccm-cms: Fixed some more test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4722 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 15:33:34 +00:00
tosmers 9734764a45 [UPDATE]
- adds small changes in Users import routine

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4721 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 15:04:58 +00:00
baka 75dfa61dcf Ticket #2683 - Localization for the audio asset form
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4720 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 14:00:47 +00:00
jensp 1d9af63837 CCM NG/ccm-cms: Working on the ContentTypeRepositoryTest
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4719 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 14:00:08 +00:00
baka 6a78dac306 Ticket #2683 - Implements a form for external video assets.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4718 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 13:58:06 +00:00
jensp b4e69c4626 CCM NG/ccm-cms: Fixed test failures in ContentTypeRepositoryTest caused by missing dependencies
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4717 8810af33-2d31-482b-a856-94f89814c4df
2017-05-10 09:01:34 +00:00
jensp 1050a6fc63 CCM NG/ccm-core: Some more work for the Vaadin Prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4715 8810af33-2d31-482b-a856-94f89814c4df
2017-05-08 19:37:28 +00:00
jensp 3778e92584 CCM NG/ccm-core: More work on the Vaadin prototype
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4714 8810af33-2d31-482b-a856-94f89814c4df
2017-05-08 18:04:57 +00:00
jensp 46f43d069c CCM NG/ccm-cms: Fixes more test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4713 8810af33-2d31-482b-a856-94f89814c4df
2017-05-08 18:04:21 +00:00
jensp fd9e846e84 CCM NG/ccm-cms: Some bugfixes for the ContentItemManager fixing test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4712 8810af33-2d31-482b-a856-94f89814c4df
2017-05-08 09:28:20 +00:00
jensp e77fc73b85 CCM NG/ccm-core: Localisation of Vaadin prototype UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4711 8810af33-2d31-482b-a856-94f89814c4df
2017-05-05 19:21:38 +00:00
jensp a6d8836bc4 CCM NG/ccm-core: Extended JavaDoc for CcmObjectRepository
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4710 8810af33-2d31-482b-a856-94f89814c4df
2017-05-05 06:51:45 +00:00
jensp 2d6a4b3266 CCM NG/ccm-core: UserEditor using Vaadin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4708 8810af33-2d31-482b-a856-94f89814c4df
2017-05-04 17:30:56 +00:00
tosmers 35847f5df2 [UPDATE]
- comments export test with block comment

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4707 8810af33-2d31-482b-a856-94f89814c4df
2017-05-04 16:07:33 +00:00
jensp be93af8410 CCM NG/ccm-core: More documentation for the CcmFiles
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4706 8810af33-2d31-482b-a856-94f89814c4df
2017-05-04 07:45:31 +00:00
jensp b24263cf68 CCM NG/ccm-core: Vaadin Example
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4705 8810af33-2d31-482b-a856-94f89814c4df
2017-05-03 18:16:24 +00:00
jensp a8ffa958e6 CCM NG/ccm-cms: Some bugfixes
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4704 8810af33-2d31-482b-a856-94f89814c4df
2017-05-03 18:16:06 +00:00
tosmers d47d36b21e [UPDATE]
- adds implementation to all resolveId-methods of the IdResolver-classes
- modifies generateId-method for PermissionIdGenerator to match the trunk implementation of the idGenerator
- adds missing findBy-methods to repositories

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4703 8810af33-2d31-482b-a856-94f89814c4df
2017-05-03 16:58:35 +00:00
jensp d524e7d9fc CCM NG/ccm-core: Some JavaDoc for CategoryRepository and DomainRepository
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4702 8810af33-2d31-482b-a856-94f89814c4df
2017-05-03 09:12:48 +00:00
jensp be5c0739f3 CCM NG/ccm-cms: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4701 8810af33-2d31-482b-a856-94f89814c4df
2017-05-02 13:16:31 +00:00
jensp 2f1341ddc4 CCM NG/ccm-cms: Fixed some test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4700 8810af33-2d31-482b-a856-94f89814c4df
2017-05-02 09:06:52 +00:00
jensp 04acd6a974 CCM NG/ccm-cms: Extended test for developing query which takes permissions into acccount when retrieving ContentItems from the database.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4699 8810af33-2d31-482b-a856-94f89814c4df
2017-05-02 09:02:36 +00:00
jensp 68ae2e8d44 CCM NG/ccm-cms:
- CreateForm for Event
- Cleanup resources. Some files were accendentily copied to the wrong place.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4698 8810af33-2d31-482b-a856-94f89814c4df
2017-05-01 15:48:28 +00:00
jensp e2af0a59e1 CCM NG/ccm-cms: CreateForm for NewsItem
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4697 8810af33-2d31-482b-a856-94f89814c4df
2017-05-01 15:33:07 +00:00
jensp 367f61312e CCM NG/ccm-cms: Some dependencies were missing from the test archive for ContentItemPermissionTest causing test failures
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4696 8810af33-2d31-482b-a856-94f89814c4df
2017-04-30 11:34:19 +00:00
jensp 816e49859d CCM NG/ccm-cms: Creating content items works now
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4695 8810af33-2d31-482b-a856-94f89814c4df
2017-04-29 14:53:14 +00:00
jensp 0336bbfd24 CCM NG/ccm-core: Fixed several things in Bebop
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4694 8810af33-2d31-482b-a856-94f89814c4df
2017-04-29 14:52:45 +00:00
jensp 6e74f0f3fc CCM NG: Fixed typo in helper script
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4693 8810af33-2d31-482b-a856-94f89814c4df
2017-04-29 14:52:05 +00:00
jensp 0a8416fca1 CCM NG/ccm-cms: Forms for creating items of type Article, Event, MultiPartArticle and News
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4692 8810af33-2d31-482b-a856-94f89814c4df
2017-04-27 14:52:52 +00:00
jensp d848df0500 CCM NG/ccm-cms: Ported forms for creating new items
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4691 8810af33-2d31-482b-a856-94f89814c4df
2017-04-26 17:35:02 +00:00
jensp 861bcb74b8 CCM NG/ccm-core: A JPQL console for testing JPQL queries
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4689 8810af33-2d31-482b-a856-94f89814c4df
2017-04-24 19:30:59 +00:00
baka 94989fd3ee Implements Deleteform Text
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4688 8810af33-2d31-482b-a856-94f89814c4df
2017-04-24 13:16:27 +00:00
baka a54c3e67e5 Edited the admin pane to use the context model again. May still be wrong, needs testing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4687 8810af33-2d31-482b-a856-94f89814c4df
2017-04-24 13:04:21 +00:00
baka d9f755e2f9 Implementes using points discussed during last meeting
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4686 8810af33-2d31-482b-a856-94f89814c4df
2017-04-24 12:39:36 +00:00
jensp 46a94bddf2 CCM NG/ccm-core: Some more testing with Vaadin
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4685 8810af33-2d31-482b-a856-94f89814c4df
2017-04-23 17:30:53 +00:00
jensp d69b9688ea CCM NG/ccm-cms: Changes from todays coding session
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4684 8810af33-2d31-482b-a856-94f89814c4df
2017-04-20 14:51:37 +00:00
jensp b40149f96d CCM NG: Vaadin Prototype for UI
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4683 8810af33-2d31-482b-a856-94f89814c4df
2017-04-19 19:36:44 +00:00
jensp 7798f38c1f CCM NG/ccm-core: Bugfixes for handeling or wrapped ServletRequests and Multipart requests
CCM NG/ccm-cms:  Base form for binary assets now works


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4682 8810af33-2d31-482b-a856-94f89814c4df
2017-04-19 06:18:41 +00:00
jensp 8b308f4fa4 CCM NG/ccm-cms: Some bugfixes and translations for the BinaryAssetForm
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4681 8810af33-2d31-482b-a856-94f89814c4df
2017-04-18 13:38:33 +00:00
jensp 87ede0d337 CCM NG/ccm-cms:
- Form for FileAsset
- Added FileAsset to known asset types


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4680 8810af33-2d31-482b-a856-94f89814c4df
2017-04-18 11:05:41 +00:00
jensp fe1d5f267f CCM NG/ccm-cms:
- Ported FormUploadSection to NG
- BinaryAssetForm as base for all other assets which extend BinaryAsset

CCM NG/ccm-core:
- First part of a JPQL console for testing JPQL queries


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4679 8810af33-2d31-482b-a856-94f89814c4df
2017-04-18 10:57:10 +00:00
jensp e3c9d3c9c9 CCM NG/ccm-cms: Fixed some tests
CCM NG/ccm-core: Vaadin prototype (UI)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4678 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 18:56:03 +00:00
jensp 1969271f95 CCM NG/ccm-cms: Removed obsolete class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4677 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 16:09:58 +00:00
jensp 4b706917cb CCM NG/ccm-core: Cleanup Widget class
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4676 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 16:03:20 +00:00
jensp 2e890bafb9 CCM NG/ccm-cms:
- AssetSearchWidget
- Form für ExternalVideoAsset


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4675 8810af33-2d31-482b-a856-94f89814c4df
2017-04-17 15:36:15 +00:00
baka fba9416f86 Many small changes, now all classes in category package compile. Needs to be checked in detail
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4674 8810af33-2d31-482b-a856-94f89814c4df
2017-04-14 14:23:59 +00:00
jensp ba515675e6 CCM NG/ccm-cms : AssetSearchPage
CCM NG/ccm-core: GlobalizationHelper now provides a method for retrieving the value most suitable for the negioated locale form a LocalizedString 


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4673 8810af33-2d31-482b-a856-94f89814c4df
2017-04-13 12:30:02 +00:00
jensp f26744a575 CCM NG/ccm-cms: Fixed some bugs in the AssetRepository
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4672 8810af33-2d31-482b-a856-94f89814c4df
2017-04-13 09:36:16 +00:00
jensp eda9c92466 CCM NG: Fixed typo in helper script
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4671 8810af33-2d31-482b-a856-94f89814c4df
2017-04-13 07:41:15 +00:00
jensp cf384c629e CCM NG/ccm-cms: AssetSearchService including JAX-RS methods to support assets in RichTextEditor
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4670 8810af33-2d31-482b-a856-94f89814c4df
2017-04-12 18:37:42 +00:00
jensp eb0e24f9fa CCM NG/ccm-cms: Started implementation of an AssetSearchWidget (similar to the ItemSearchWidget)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4668 8810af33-2d31-482b-a856-94f89814c4df
2017-04-11 17:18:18 +00:00
jensp c70c6a830f CCM NG/ccm-cms: AssetForm improvement, Form for SideNote asset
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4667 8810af33-2d31-482b-a856-94f89814c4df
2017-04-11 08:23:07 +00:00
jensp cd8e6c9b19 CCM NG/ccm-cms: AssetForm localisation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4666 8810af33-2d31-482b-a856-94f89814c4df
2017-04-10 17:02:48 +00:00
jensp 8e45bc0744 CCM NG/ccm-cms: AssetForm including localisation for assets
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4663 8810af33-2d31-482b-a856-94f89814c4df
2017-04-07 18:41:40 +00:00
jensp e4dee4c756 CCM NG/ccm-cms: AssetPane, creation of assets.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4662 8810af33-2d31-482b-a856-94f89814c4df
2017-04-06 13:09:58 +00:00
jensp bad95d0fac CCM NG/ccm-cms: AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4661 8810af33-2d31-482b-a856-94f89814c4df
2017-04-05 16:53:44 +00:00
jensp 078a8ff300 CCM NG/ccm-cms: Localisations for AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4659 8810af33-2d31-482b-a856-94f89814c4df
2017-04-05 12:44:28 +00:00
jensp a569e07a4a CCM NG/ccm-cms: Some bugfixes for the AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4658 8810af33-2d31-482b-a856-94f89814c4df
2017-04-04 11:56:30 +00:00
jensp 84437149fd CCM NG/ccm-cms: AssetFolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4657 8810af33-2d31-482b-a856-94f89814c4df
2017-04-03 15:54:12 +00:00
jensp 86c26c4600 CCM NG/ccm-cms: Some work for the AssetFolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4656 8810af33-2d31-482b-a856-94f89814c4df
2017-03-31 16:49:41 +00:00
jensp 4437a273a7 CCM NG/ccm-cms: Fixed some typos in the classes associated with the AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4655 8810af33-2d31-482b-a856-94f89814c4df
2017-03-30 13:23:56 +00:00
jensp 419d8288c7 CCM NG/ccm-cms: Next part of AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4654 8810af33-2d31-482b-a856-94f89814c4df
2017-03-30 10:44:53 +00:00
jensp 6a0e01e6f7 CCM NG/ccm-cms: Next part of AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4652 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 18:21:41 +00:00
jensp f72473954a CCM NG/ccm-cms: First part of new AssetPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4650 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 15:40:58 +00:00
jensp 1cabb2513b CCM NG/ccm-cms: AssetTypesManager for retrieving information about available asset types.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4649 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 08:27:11 +00:00
jensp 131e8f6622 CCM NG/ccm-cms: Typos in JavaDoc etc.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4648 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 08:26:11 +00:00
jensp bad486241c CCM NG/ccm-cms: Typos in JavaDoc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4647 8810af33-2d31-482b-a856-94f89814c4df
2017-03-29 06:28:05 +00:00
jensp 128b9c825a CCM NG/ccm-xafilesystemadapter: Fixed some typos in the doc
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4646 8810af33-2d31-482b-a856-94f89814c4df
2017-03-27 18:45:56 +00:00
jensp e01f088071 CCM NG/ccm-xadiskfilesystemadapter: Documentation
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4645 8810af33-2d31-482b-a856-94f89814c4df
2017-03-27 18:11:31 +00:00
jensp 8cc37779c0 CCM NG: XAFileSystemAdapter
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4644 8810af33-2d31-482b-a856-94f89814c4df
2017-03-27 15:47:08 +00:00
jensp 09a45c90b0 CCM NG/ccm-core: CcmFiles:
- Lookup code for FileSystemAdapter implementations.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4643 8810af33-2d31-482b-a856-94f89814c4df
2017-03-24 13:11:39 +00:00
jensp 3a7cdab822 CCM NG: NIOFileSystemAdapter (Fallback for CcmFiles)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4642 8810af33-2d31-482b-a856-94f89814c4df
2017-03-24 11:00:35 +00:00
jensp 5ef550c2fb CCM NG: Interface for FileSystemAdapter
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4641 8810af33-2d31-482b-a856-94f89814c4df
2017-03-24 09:50:17 +00:00
tosmers 5689c7d239 [UPDATE]
- adds new export content for import to tests resources
- exchanges Jackson back- and managed-reference annotations with identityInfo, ignore and identityReference annotations 
- adds necessary ObjectIdGenerator and ObjectIdResolver implementations
- does not yet implement the generateId-Method of every ObjectIdResolver

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4640 8810af33-2d31-482b-a856-94f89814c4df
2017-03-23 18:48:52 +00:00
jensp 7f94ce6f97 CCM NG: Interface for CcmFiles
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4639 8810af33-2d31-482b-a856-94f89814c4df
2017-03-23 13:48:36 +00:00
baka 6b190c9d4e Missed two files in last commit, now everything is fine
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4637 8810af33-2d31-482b-a856-94f89814c4df
2017-03-22 17:13:11 +00:00
baka e7361c5066 More "Getting Category Stuff Done" Commits
Lots of commented code, but it gets better

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4636 8810af33-2d31-482b-a856-94f89814c4df
2017-03-22 17:11:44 +00:00
jensp 1225c001d2 CCM NG/ccm-cms: Content Types Tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4635 8810af33-2d31-482b-a856-94f89814c4df
2017-03-21 10:49:32 +00:00
jensp 30d36d4bff CCM NG/ccm-cms: Lifecycles tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4634 8810af33-2d31-482b-a856-94f89814c4df
2017-03-17 16:42:06 +00:00
jensp 4fb0dbcb40 CCM NG/ccm-cms: Removing roles from task
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4630 8810af33-2d31-482b-a856-94f89814c4df
2017-03-15 09:10:33 +00:00
jensp 3552c04a1e CCM NG/ccm-cms Tab Workflows
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4629 8810af33-2d31-482b-a856-94f89814c4df
2017-03-14 18:56:16 +00:00
baka c3ef6517d9 Adds more implementations for the category part of the cms frontend 2nd!
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4628 8810af33-2d31-482b-a856-94f89814c4df
2017-03-14 17:38:38 +00:00
baka 06b1d55852 Adds more implementations for the category part of the cms frontend
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4627 8810af33-2d31-482b-a856-94f89814c4df
2017-03-14 17:37:58 +00:00
jensp 66cd43ce3d CCM NG/ccm-cms: Workflow tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4626 8810af33-2d31-482b-a856-94f89814c4df
2017-03-13 19:13:08 +00:00
jensp 863ce1b5e1 CCM NG/ccm-cms: Workflows Tab bug hunting
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4625 8810af33-2d31-482b-a856-94f89814c4df
2017-03-11 18:20:49 +00:00
jensp 1768394437 CCM NG/ccm-cms: Roles tab
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4624 8810af33-2d31-482b-a856-94f89814c4df
2017-03-08 19:18:15 +00:00
jensp 160a947813 CCM NG/ccm-cms: Several bug fixes for RoleAdminPane
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4623 8810af33-2d31-482b-a856-94f89814c4df
2017-03-07 18:17:37 +00:00
jensp 09af5101ec CCM NG/ccm-core: Removed org.libreccm.formbuilder.WidgetLabel.java. In its current implementation it caused strange problems when querying the database.
CCM NG/ccm-cms: Granting/Revoking permissions using the PermissionsPane in the FolderBrowser now works


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4622 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 19:45:54 +00:00
jensp 3383dfd28a CCM NG/ccm-cms: Copying folders (including subfolders and items)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4621 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 18:22:45 +00:00
jensp 059bffac49 CCM NG/ccm-cms: Moving folders
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4620 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 18:05:09 +00:00
jensp ae13e64147 CCM NG/ccm-cms: Moving/Copying items.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4619 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 15:26:33 +00:00
jensp 053cba0183 CCM NG/ccm-cms: Copying items in the FolderBrowser now works
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4618 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 14:02:24 +00:00
jensp 05f26bdd34 CCM NG/ccm-core: Code cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4617 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 14:02:02 +00:00
jensp db2d4d0773 CCM NG: Build helper script: Subcommand 'run' now checks for empty bundle name.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4616 8810af33-2d31-482b-a856-94f89814c4df
2017-03-03 09:04:08 +00:00
jensp a44c98233e CCM NG: Build helper script:
- Runtime for running a bundle is now deduced from the bundle name
- Code cleanup


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4615 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 18:22:25 +00:00
jensp c871e7cd40 CCM NG/ccm-cms: Typo
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4614 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 18:21:47 +00:00
jensp 1b2fafafc5 CCM NG/ccm-cms: Still working on the FolderManipulator
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4613 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 14:13:00 +00:00
jensp 7baea10b61 CCM NG/ccm-cms: Finding invalid targets for copying/moving items/folders.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4612 8810af33-2d31-482b-a856-94f89814c4df
2017-03-02 11:42:46 +00:00
jensp 1a8cb99aa2 CCM NG/ccm-cms: FolderManipulator Copy/Move (not finished yet).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4611 8810af33-2d31-482b-a856-94f89814c4df
2017-03-01 19:48:33 +00:00
jensp 0e692eec0f CCM NG: Build helper script: Application server to use is now deduced from the profile name for test subcommands.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4610 8810af33-2d31-482b-a856-94f89814c4df
2017-03-01 13:59:50 +00:00
jensp a9f003ca51 CCM NG: Profiles wildfly-arquillian-container-managed (starts Wildfly automatically).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4605 8810af33-2d31-482b-a856-94f89814c4df
2017-02-28 20:37:50 +00:00
jensp d89f977162 CCM NG: Shell script has now subcommands for running tests
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4604 8810af33-2d31-482b-a856-94f89814c4df
2017-02-27 20:22:35 +00:00
jensp e8487d2de2 CCM NG/ccm-core: Managed profile which starts Wildfly automatically.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4603 8810af33-2d31-482b-a856-94f89814c4df
2017-02-27 13:31:55 +00:00
jensp af8fa54ed4 CCM NG: Bash script providing shortcuts for some Maven commands.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4602 8810af33-2d31-482b-a856-94f89814c4df
2017-02-27 12:17:51 +00:00
jensp ab9f8323f4 CCM NG: Fixed several JavaDoc warnings.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4601 8810af33-2d31-482b-a856-94f89814c4df
2017-02-25 17:06:13 +00:00
jensp b8dfb27d3c CCM NG/ccm-cms: Creating new folders.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4597 8810af33-2d31-482b-a856-94f89814c4df
2017-02-23 20:49:00 +00:00
jensp f9d498fd60 CCM NG/ccm-cms: FolderPath now shows correct path.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4596 8810af33-2d31-482b-a856-94f89814c4df
2017-02-23 14:14:42 +00:00
jensp 60be422275 CCM NG/ccm-cms: Renaming folders
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4595 8810af33-2d31-482b-a856-94f89814c4df
2017-02-23 09:38:32 +00:00
jensp e525d974bb CCM NG: Fixed several test failures due to recent changes.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4594 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 20:40:07 +00:00
jensp 2b414205ae CCM NG: Schema generation is now using Oracle12c dialect instead of Oracle10g dialect.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4593 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 18:00:25 +00:00
jensp a18601108a CCM NG/ccm-cms: Deleting items from FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4591 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 12:37:17 +00:00
jensp 392131514b CCM NG/ccm-cms FolderBrower: Link deleting non-live items now show up.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4590 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 09:52:16 +00:00
jensp 4e1c732e57 CCM NG/ccm-cms FolderBrowser: Link for deleting empty folders now shows up.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4589 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 09:45:48 +00:00
jensp b2d1eb997f CCM NG/ccm-cms: Sorting for the FolderBrowser.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4588 8810af33-2d31-482b-a856-94f89814c4df
2017-02-22 08:41:06 +00:00
jensp a167019a86 CCM NG/ccm-core: Completed code for CcmRevisionListener
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4587 8810af33-2d31-482b-a856-94f89814c4df
2017-02-21 14:24:01 +00:00
jensp 357eb251b1 CCM NG/ccm-cms: Additional fields for content item to provide easier access to auditing data.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4586 8810af33-2d31-482b-a856-94f89814c4df
2017-02-21 14:20:32 +00:00
jensp e32b7a17c9 CCM NG/ccm-cms: FolderBrowser optimization and cleanup
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4585 8810af33-2d31-482b-a856-94f89814c4df
2017-02-20 17:50:21 +00:00
jensp 0a4d5e5c79 CCM NG: Updated Hibernate dependencies to versions used in Wildfly 10.1
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4584 8810af33-2d31-482b-a856-94f89814c4df
2017-02-18 17:49:15 +00:00
jensp f5fd91780d CCM NG/ccm-core: Improved performance for the configuration (reduced number DB-Queries for loading a configuration).
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4583 8810af33-2d31-482b-a856-94f89814c4df
2017-02-18 13:48:46 +00:00
jensp 56ebb00414 CCM NG/ccm-cms/BrowseTab: Changing the current folder by the links in the item list now works. Also the link for going the edit form of an content item is correct now.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4582 8810af33-2d31-482b-a856-94f89814c4df
2017-02-17 19:50:49 +00:00
jensp 3f59f81984 CCM NG/ccm-cms: BrowsePane: Changing current folder using the folder on the left now works.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4581 8810af33-2d31-482b-a856-94f89814c4df
2017-02-17 16:43:49 +00:00
jensp 502c0e0416 CCM NG/ccm-cms: BrowsePane Expanding/collapsing of the folder on the left.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4580 8810af33-2d31-482b-a856-94f89814c4df
2017-02-17 13:55:21 +00:00
jensp 45fcb1c0f9 CCM NG/ccm-cms: More work for the FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4579 8810af33-2d31-482b-a856-94f89814c4df
2017-02-16 18:07:31 +00:00
jensp 2886d56199 CCM NG:
- Database cleanup scripts for tests now running before test methods and not after. This means that the database is still intact after a test is run. Useful for debugging.
- ContentSectionSetup now add content types to content section
- Some things for the Documents tab in the content centre


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4578 8810af33-2d31-482b-a856-94f89814c4df
2017-02-16 13:17:48 +00:00
jensp 9d506e5460 CCM NG: Removed JPA metamodel generator. The generated classes caused problems (memory issues) when deploying to Wildfly.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4575 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 21:11:19 +00:00
baka d8845c4008 Localization Stuff, the 2nd
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4574 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 16:29:13 +00:00
baka 60423ae059 Implements the use of setIndexObject into IndexItemSelectionForm.
Is the exception handling correct?

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4573 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 16:02:24 +00:00
baka 7acd696e32 Begin of reimplementation of CategoryLocalization
Also adds a lot of key/value pairs to the CmsResources

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4572 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 15:52:01 +00:00
jensp b0a73283fa CCM NG/ccm-core: Improved JavaDoc for some methods of the CategoryManager..
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4571 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:40:40 +00:00
baka e74c25aede Reimplements CategoryAdminContainer to work with ng.
It may be not the correct way how the permisson is passed to the constructor, though.
Must be checked for correctness.

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4570 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:34:39 +00:00
jensp 0b768c2f6f CCM NG: Enabled generation of Criteria Metamodel classes required for completly type safe criteria queries.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4569 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:25:18 +00:00
baka d804ced147 Refactored CategorizedObjectsList, but removed sorting for now
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4568 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 10:18:50 +00:00
jensp 6350bee8e4 CCM NG: Reenabled defaultCleanupPhase=NONE in arquillian.xml. All tests should have @CleanupUsingScript which is executed regardless of the configured cleanup phase. Setting
defaultCleanupPhase=NONE makes it easier to disable the cleanup (just by commenting the annotation on the test class out) for debugging purposes.


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4567 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:33:52 +00:00
jensp 439fd7abef CCM NG/ccm-bundle-devel-wildfly-swarm: Set svn:ignore for target directory.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4566 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:31:39 +00:00
jensp 066dfa1e50 CCM NG/ccm-core: Added methods for setting the index object of a category to the CategoryManager
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4565 8810af33-2d31-482b-a856-94f89814c4df
2017-02-15 09:30:54 +00:00
jensp b6285194d7 CCM NG: First part of Wildfly Swarm module
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4564 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 19:12:45 +00:00
jensp dcd5066fae CCM NG: Dependencies for the Devel Bundle are now collected in a separate module which can be used by the bundling modules for the various application servers.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4563 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 18:28:25 +00:00
jensp 70f8999049 CCM NG/ccm-cms: Missing file
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4562 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 18:27:19 +00:00
jensp 9fcc2dee28 CCM NG/ccm-cms: FolderBrowser now shows up, buts needs more testing
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4561 8810af33-2d31-482b-a856-94f89814c4df
2017-02-14 18:26:07 +00:00
jensp aeca80a4ce CCM NG/ccm-cms: Next part of migration of the FolderBrowser
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4560 8810af33-2d31-482b-a856-94f89814c4df
2017-02-11 18:15:52 +00:00
jensp 1dd30646b3 CCM NG/ccm-cms: Trying to get FolderBrowser working...
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4559 8810af33-2d31-482b-a856-94f89814c4df
2017-02-09 11:20:12 +00:00
baka 6038962f6a Adds some localization strings
Refactored and reimplemented IndexItemSelectionForm

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4558 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 19:21:45 +00:00
jensp 9a71c20b4d CCM NG/ccm-cms: FolderBrowser now shows up. Needs testing.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4557 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 18:07:03 +00:00
jensp 58c279de8f CCM NG: Several small things
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4556 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 15:01:21 +00:00
jensp 6368c3532b CCM NG/ccm-cms: Next part of new CMSPermissionsTable
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4555 8810af33-2d31-482b-a856-94f89814c4df
2017-02-08 08:18:19 +00:00
tosmers aa1b321a0b [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 6ec7ed2ac1 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 21597b23f0 [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 21b149905d 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 7b1d0fd625 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 a4a6cfddc8 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 b262f77bdf 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 b67dc16e2c 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 35f766f050 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 d9329c47db 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 15f5a375b0 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 2c9760e794 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 7d41d5e94e 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 bd963bb48d 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 e07bc33549 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 e274007ef5 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 085c3c5233 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 ead27eef70 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 f3d545f183 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 eb737fcb02 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 997edf8af2 [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 08348b215e 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 c899644e26 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 39b42d1c2d 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 fafba0080d 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 26455a2ae4 [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 4c77ec6e7c 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 8fbedc28f4 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 b7f602370c 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 f93ecf2722 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 982e80e5ee 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 2d277a4111 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 96541ae1c4 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 24942b7a5c 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 24db30a69b 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 303e2c02b6 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 1b26b8f5bc 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 a6db3ffd2f [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 96e90014ce 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 d4733e89e8 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 9928101147 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 a96c61564e 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 8d495f0c07 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 0b90e5b716 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 16b312ed41 [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 58eebf4513 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 c1e471e87d 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 e10ab7704e 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 9ef1169553 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 5cd998df58 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
jensp 64c1de0e72 CCM NG/ccm-cms: Annotations for Hibernate Search
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4490 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 15:35:58 +00:00
jensp b2d05a3a73 CCM NG/ccm-cms : Support for Hibernate Search queries for content items
CCM NG/ccm-core: JavaDoc for the SearchManager 


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4489 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 15:34:11 +00:00
jensp 83be9cfddc CCM NG: Test for handling permissions in JPQL Queries
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4488 8810af33-2d31-482b-a856-94f89814c4df
2016-12-19 10:05:04 +00:00
jensp 11c983ff50 CCM NG: Basic integration for Hibernate Search
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4487 8810af33-2d31-482b-a856-94f89814c4df
2016-12-17 16:39:10 +00:00
jensp b01b9fb35a CCM NG:
- Some preparation for the editor UI for PageModel
- SimpleItemResolver and MultilingualItemResolver ported to new API (still disabled because of circular dependencies in UI classes)


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4486 8810af33-2d31-482b-a856-94f89814c4df
2016-12-16 16:41:16 +00:00
tosmers c762750b6d [UPDATE]
- modifies managed/back references
- adds updated export data for import

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4472 8810af33-2d31-482b-a856-94f89814c4df
2016-12-12 18:43:27 +00:00
jensp eab9004678 CCM NG/ccm-cms:
- Added WorkflowLockedComponentAccess component
- Placeholder for ItemTemplates component


git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4470 8810af33-2d31-482b-a856-94f89814c4df
2016-12-12 18:36:27 +00:00
baka d1e4d27ceb Adds most of the missing files. Still turned off, because they still contain small errors
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4469 8810af33-2d31-482b-a856-94f89814c4df
2016-12-12 15:26:31 +00:00
jensp 11cc119484 CCM NG: JavaDoc for PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4468 8810af33-2d31-482b-a856-94f89814c4df
2016-12-07 18:16:47 +00:00
jensp 2570b5dfc3 CCM NG: More JavaDoc for the page model system
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4467 8810af33-2d31-482b-a856-94f89814c4df
2016-12-06 18:10:29 +00:00
jensp a65c37769e CCM NG: More JavaDoc for PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4466 8810af33-2d31-482b-a856-94f89814c4df
2016-12-06 14:07:44 +00:00
jensp f474444047 CCM NG: JavaDoc and missing files for PageModel
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4465 8810af33-2d31-482b-a856-94f89814c4df
2016-12-06 11:17:36 +00:00
baka b132908fa8 Reverts last commit. Wrong file.
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4464 8810af33-2d31-482b-a856-94f89814c4df
2016-12-05 16:47:11 +00:00
baka 59f799138e Removes Form which seemed to be legacy stuff (this was discussed)
git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4463 8810af33-2d31-482b-a856-94f89814c4df
2016-12-05 16:43:08 +00:00
tosmers 75250e95a0 [FEATURE]
- adds testclass for core import
- adds testdata for core import

git-svn-id: https://svn.libreccm.org/ccm/ccm_ng@4462 8810af33-2d31-482b-a856-94f89814c4df
2016-12-05 15:51:35 +00:00
2604 changed files with 171398 additions and 276756 deletions

5
.gitignore vendored
View File

@ -1,12 +1,17 @@
it-pgsql-datasources.properties
nb-configuration.xml
nbproject
node
node_modules
runtime
target
.cache
.classpath
.factorypath
.parcel-cache
.project
.settings
.tscache
*.vscode
/ccm-core/nbproject/
/ccm-cms/nbproject/

13
Jenkinsfile vendored
View File

@ -1,28 +1,33 @@
pipeline {
agent any
tools {
maven 'apache-maven-3.6.0'
maven 'apache-maven-3.8.4'
}
stages {
stage('Build and Test') {
steps {
dir('') {
sh 'mvn clean verify -Prun-its-with-wildfly-h2mem -Dwildfly.propertiesFile=/srv/libreccm-wildfly.properties'
//sh 'mvn clean package verify -Prun-its-with-wildfly-h2mem -Dwildfly.propertiesFile=/srv/libreccm-wildfly.properties'
sh 'mvn clean package'
}
}
}
stage("Analyse") {
steps {
dir('') {
sh 'mvn pmd:pmd pmd:cpd spotbugs:spotbugs'
sh 'mvn package pmd:pmd pmd:cpd spotbugs:spotbugs'
}
}
}
stage("Deploy") {
environment {
DEPLOY_TOKEN = credentials('gitea_libreccm_ci_packages')
NPM_TOKEN = credentials('gitea_libreccm_ci_packages')
}
steps {
dir('') {
configFileProvider([configFile(fileId: 'libreccm-packages-deploy', variable: 'MAVEN_SETTINGS')]) {
sh 'mvn -U -s "$MAVEN_SETTINGS" -e deploy'
sh 'mvn -U -s "$MAVEN_SETTINGS" -e package deploy'
}
}
}

View File

@ -1,11 +0,0 @@
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/recommended',
],
};

View File

@ -1,3 +0,0 @@
dist
node_modules
target

View File

@ -1,17 +0,0 @@
LibreCCM API Client Commons
===========================
This module provides several usaable parts of building clients for
specific endpoints of the LibreCCM RESTful API.
The `entities` module provides several entities used by various endpoints
of the RESTful API of LibreCCM.
The module also provides an HTTP client specially tailored for
the RESTful API of LibreCCM. The client is provided in several implementations:
For browsers, for node.js and an isomorphic implementation. In most cases
you will want to use the isomorphic implementation.
For most use cases it is recommanded to use the specific client APIs provided
by the LibreCCM modules which provided a more high-level interface to the RESTful
API of LibreCCM.

File diff suppressed because it is too large Load Diff

View File

@ -1,33 +0,0 @@
{
"name": "@libreccm/ccm-apiclient-commons",
"version": "7.0.0",
"main": "target/dist/ccm-apiclient-commons.js",
"types": "dist/ccm-apiclient-commons.d.ts",
"description": "Client for the RESTful API provided by ccm-core.",
"repository": {
"type": "git",
"url": "https://github.com/libreccm/libreccm/ccm-apiclient-commons"
},
"author": "Jens Pelzetter",
"license": "GPL-3.0",
"scripts": {
"build": "tsc",
"check": "eslint",
"doc": "typedoc --out target/docs src/main/typescript"
},
"dependencies": {},
"devDependencies": {
"@types/node": "^12.12.50",
"@typescript-eslint/eslint-plugin": "^3.6.0",
"@typescript-eslint/parser": "^3.6.0",
"eslint": "^7.4.0",
"typedoc": "^0.17.8",
"typescript": "^3.9.6"
},
"prettier": {
"trailingComma": "es5",
"tabWidth": 4,
"semi": true,
"singleQuote": false
}
}

View File

@ -1,105 +0,0 @@
<?xml version="1.0"?>
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.libreccm</groupId>
<artifactId>libreccm-parent</artifactId>
<version>7.0.0-SNAPSHOT</version>
</parent>
<groupId>org.libreccm</groupId>
<artifactId>ccm-apiclient-commons</artifactId>
<version>7.0.0-SNAPSHOT</version>
<name>LibreCCM API Client Commons</name>
<description>Provides basic classes and common datatypes for RESTful API clients</description>
<url>https://www.libreccm.org/ccm-apiclient-commons</url>
<licenses>
<license>
<name>Lesser GPL 2.1</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1</url>
</license>
</licenses>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<build>
<finalName>ccm-apiclient-commons</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/typescript</directory>
</resource>
<resource>
<directory>${project.build.directory}/generated-resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<installDirectory>../node</installDirectory>
</configuration>
<executions>
<execution>
<id>Install node.js and NPM</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${nodeVersion}</nodeVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>
<execution>
<id>build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>npm publish</id>
<goals>
<goal>npm</goal>
</goals>
<phase>deploy</phase>
<configuration>
<arguments>publish --userconfig ../libreccm.npmrc</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
<dependencies>
</dependencies>
</project>

View File

@ -1,895 +0,0 @@
import * as http from "http";
/**
* The interface of a client for the LibreCcm RESTful API.
*/
export interface LibreCcmApiClient {
/**
* Performs a `GET` request for the provided endpoint.
* Implementations should throw an {@link ApiError} if an error
* occurs.
*
* @param endpoint The API endpoint to use.
* @param searchParams Optional search parameters.
*/
get(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse>;
/**
* Performs a `POST` request for the provided endpoint.
* Implementations should throw an {@link ApiError} if an error
* occurs.
*
* @param endpoint The API endpoint to use.
* @param body The request body.
* @param searchParams Optional search parameters.
*/
post(
endpoint: string,
body?: RequestBody,
searchParams?: Record<string, string>
): Promise<ApiResponse>;
/**
* Performs a `PUT` request for the provided endpoint.
* Implementations should throw an {@link ApiError} if an error
* occurs.
*
* @param endpoint The API endpoint to use.
* @param body The request body.
* @param searchParams Optional search parameters.
*/
put(
endpoint: string,
body?: RequestBody,
searchParams?: Record<string, string>
): Promise<ApiResponse>;
/**
* Performs a `DELETE` request for the provided endpoint.
* Implementations should throw an {@link ApiError} if an error
* occurs.
*
* @param endpoint The API endpoint to use.
* @param searchParams Optional search parameters.
*/
delete(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse>;
/**
* Performs a `HEAD` request for the provided endpoint.
* Implementations should throw an {@link ApiError} if an error
* occurs.
*
* @param endpoint The API endpoint to use.
*/
head(endpoint: string): Promise<ApiResponse>;
/**
* Performs a `OPTIONS` request for the provided endpoint.
* Implementations should throw an {@link ApiError} if an error
* occurs.
*
* @param endpoint The API endpoint to use.
*/
options(endpoint: string): Promise<ApiResponse>;
}
export type RequestBody =
| Record<string, unknown>
| ArrayBuffer
| string
| undefined;
/**
* The response from the API.
*/
export interface ApiResponse {
/**
* Indicates that the request was processed successfully.
*/
ok: boolean;
/**
* The HTTP status code returned by the RESTful API.
*/
status: number;
/**
* The status text returned by the RESTful API.
*/
statusText: string;
/**
* Gets the Response Body as JSON.
*/
json(): Promise<unknown>;
/**
* Gets the Response Body as ArrayBuffer.
*/
arrayBuffer(): Promise<ArrayBuffer>;
/**
* Gets the Response Body as `string`.
*/
text(): Promise<string>;
}
export class ApiError extends Error {
/**
* The HTTP status code reported by the API. `-1` if no status is available.
*/
status: number;
/**
* The status text reported by the API.
*/
statusText: string;
/**
* The HTTP method used for the failed request.
*/
method: "get" | "post" | "put" | "delete" | "head" | "options";
/**
* The URL used in the failed request.
*/
url: string;
constructor(
status: number,
statusText: string,
method: "get" | "post" | "put" | "delete" | "head" | "options",
message: string,
url: string
) {
super(message);
this.status = status;
this.statusText = statusText;
this.method = method;
this.url = url;
}
}
/**
* A helper function for building an URL. Because it might be useful for implementing
* clients for specific APIs in the exported from this module.
*
* @param base The base URL pointing the an LibreCCM installation.
* @param endpoint The endpoint to address.
* @param searchParams Optional search parameter to append to the URL.
*/
export function buildUrl(
base: string,
endpoint: string,
searchParams?: Record<string, string>
): string {
const url = new URL(base);
url.pathname = endpoint;
if (searchParams) {
const urlSearchParams: URLSearchParams = new URLSearchParams();
for (const key in searchParams) {
urlSearchParams.append(key, searchParams[key]);
}
url.search = urlSearchParams.toString();
}
return url.href;
}
export function isFetchAvailable(): boolean {
if (!fetch) {
return false;
} else {
return true;
}
}
/**
* An implementation of the {@link ApiResponse} for the Fetch-API supported
* by browsers.
*/
class FetchResponse implements ApiResponse {
readonly ok: boolean;
readonly status: number;
readonly statusText: string;
#response: Response;
constructor(response: Response) {
this.status = response.status;
this.statusText = response.statusText;
this.ok = response.ok;
this.#response = response;
}
json(): Promise<unknown> {
return this.#response.json();
}
arrayBuffer(): Promise<ArrayBuffer> {
return this.#response.arrayBuffer();
}
text(): Promise<string> {
return this.#response.text();
}
}
/**
* An implementation of the {@link LibreCcmApiClient} interface
* using the Fetch-API supported by browsers.
*/
export class ApiClientFetchImpl implements LibreCcmApiClient {
readonly #baseUrl: string;
readonly #fetchOptions: RequestInit;
/**
*
* @param baseUrl The URL of the LibreCCM installation to use.
* @param fetchOptions Basic fetch options for requests.
*/
constructor(baseUrl: string, fetchOptions: RequestInit) {
this.#baseUrl = baseUrl;
this.#fetchOptions = fetchOptions;
}
private buildFetchOptions(
method: "get" | "post" | "put" | "delete" | "head" | "options",
body?: RequestBody
): RequestInit {
const fetchOptions: RequestInit = {
...this.#fetchOptions,
};
fetchOptions.method = method;
if (body) {
if (body instanceof ArrayBuffer) {
fetchOptions.body = body;
} else if (typeof body === "string") {
fetchOptions.body = body;
} else {
fetchOptions.body = JSON.stringify(body);
}
}
return fetchOptions;
}
async get(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
try {
const response = await fetch(url, this.buildFetchOptions("get"));
if (response.ok) {
return new FetchResponse(response);
} else {
throw new ApiError(
response.status,
response.statusText,
"get",
"API responded with an error",
url
);
}
} catch (err) {
throw new ApiError(
-1,
"n/a",
"get",
"`Failed to execute get: ${err}`",
url
);
}
}
async post(
endpoint: string,
body?: RequestBody,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
try {
const response = await fetch(
url,
this.buildFetchOptions("post", body)
);
if (response.ok) {
return new FetchResponse(response);
} else {
throw new ApiError(
response.status,
response.statusText,
"get",
"API responded with an error",
url
);
}
} catch (err) {
throw new ApiError(
-1,
"n/a",
"get",
`Failed to execute get: ${err}`,
url
);
}
}
async put(
endpoint: string,
body?: RequestBody,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
try {
const response = await fetch(
url,
this.buildFetchOptions("put", body)
);
if (response.ok) {
return new FetchResponse(response);
} else {
throw new ApiError(
response.status,
response.statusText,
"get",
"API responded with an error.",
url
);
}
} catch (err) {
throw new ApiError(
-1,
"n/a",
"get",
`Failed to execute get: ${err}`,
url
);
}
}
async delete(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
try {
const response = await fetch(url, this.buildFetchOptions("delete"));
if (response.ok) {
return new FetchResponse(response);
} else {
throw new ApiError(
response.status,
response.statusText,
"get",
"API responded with an error.",
url
);
}
} catch (err) {
throw new ApiError(
-1,
"n/a",
"get",
`Failed to execute get: ${err}`,
url
);
}
}
async head(endpoint: string): Promise<ApiResponse> {
const url = buildUrl(this.#baseUrl, endpoint);
try {
const response = await fetch(url, this.buildFetchOptions("head"));
if (response.ok) {
return new FetchResponse(response);
} else {
throw new ApiError(
response.status,
response.statusText,
"get",
"API responded with an error.",
url
);
}
} catch (err) {
throw new ApiError(
-1,
"n/a",
"get",
`Failed to execute get: ${err}`,
url
);
}
}
async options(endpoint: string): Promise<ApiResponse> {
const url = buildUrl(this.#baseUrl, endpoint);
try {
const response = await fetch(
url,
this.buildFetchOptions("options")
);
if (response.ok) {
return new FetchResponse(response);
} else {
throw new ApiError(
response.status,
response.statusText,
"get",
"API responded with an error.",
url
);
}
} catch (err) {
throw new ApiError(
-1,
"n/a",
"get",
`Failed to execute get: ${err}`,
url
);
}
}
}
/**
* An implementation of the {@link ApiResponse} for the Node.js HTTP API supported
* by browsers.
*/
class NodeResponse implements ApiResponse {
readonly ok: boolean;
readonly status: number;
readonly statusText: string;
#data: Buffer | null;
constructor(
ok: boolean,
status: number,
statusText: string,
data: Buffer | null
) {
this.ok = ok;
this.status = status;
this.statusText = statusText;
this.#data = data;
}
json(): Promise<unknown> {
return new Promise((resolve, reject) => {
try {
if (this.#data) {
resolve(this.#data.toJSON());
} else {
resolve({});
}
} catch (err) {
reject(err);
}
});
}
arrayBuffer(): Promise<ArrayBuffer> {
return new Promise((resolve, reject) => {
try {
if (this.#data) {
const arrayBuf: ArrayBuffer = this.#data.buffer.slice(
this.#data.byteOffset,
this.#data.byteLength + this.#data.byteLength
);
resolve(arrayBuf);
} else {
resolve(new ArrayBuffer(0));
}
} catch (err) {
reject(err);
}
});
}
text(): Promise<string> {
return new Promise((resolve, reject) => {
try {
if (this.#data) {
resolve(this.#data.toString());
} else {
resolve("");
}
} catch (err) {
reject(err);
}
});
}
}
/**
* An implementation of the {@link LibreCcmApiClient} interface using the HTTP API
* provided by node.js.
*/
export class ApiClientNodeImpl implements LibreCcmApiClient {
readonly #baseUrl: string;
readonly #jwt: string;
constructor(baseUrl: string, jwt: string) {
this.#baseUrl = baseUrl;
this.#jwt = jwt;
}
get(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
return new Promise((resolve, reject) => {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
const request: http.ClientRequest = http.request(url, {
headers: {
Authorization: this.#jwt,
},
method: "GET",
});
request.on("response", (response) => {
const status: number = response.statusCode
? response.statusCode
: -1;
const statusText: string = response.statusMessage
? response.statusMessage
: "";
const data: Array<Buffer> = [];
response.on("data", (chunk: Buffer) => {
data.push(chunk);
});
response.on("end", () => {
const buffer: Buffer = Buffer.concat(data);
const apiResponse: ApiResponse = new NodeResponse(
status === 200,
status,
statusText,
buffer
);
resolve(apiResponse);
});
});
request.on("error", (error) =>
reject(
new ApiError(
-1,
"n/a",
"get",
`Failed to do GET: ${error}`,
url
)
)
);
request.end();
});
}
post(
endpoint: string,
body?: ArrayBuffer,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
return new Promise((resolve, reject) => {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
const request: http.ClientRequest = http.request(url, {
headers: {
Authorization: this.#jwt,
},
method: "POST",
});
request.on("response", (response) => {
const status: number = response.statusCode
? response.statusCode
: -1;
const statusText: string = response.statusMessage
? response.statusMessage
: "";
response.on("end", () => {
const apiResponse: ApiResponse = new NodeResponse(
status === 200 || status === 201,
status,
statusText,
null
);
resolve(apiResponse);
});
});
request.on("error", (error) =>
reject(
new ApiError(
-1,
"n/a",
"post",
`Failed to do POST: ${error}`,
url
)
)
);
if (body) {
request.write(body);
}
request.end();
});
}
put(
endpoint: string,
body?: ArrayBuffer,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
return new Promise((resolve, reject) => {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
const request: http.ClientRequest = http.request(url, {
headers: {
Authorization: this.#jwt,
},
method: "PUT",
});
request.on("response", (response) => {
const status: number = response.statusCode
? response.statusCode
: -1;
const statusText: string = response.statusMessage
? response.statusMessage
: "";
response.on("end", () => {
const apiResponse: ApiResponse = new NodeResponse(
status === 200 || status === 201,
status,
statusText,
null
);
resolve(apiResponse);
});
});
request.on("error", (error) =>
reject(
new ApiError(
-1,
"n/a",
"put",
`Failed to do PUT: ${error}`,
url
)
)
);
if (body) {
request.write(body);
}
request.end();
});
}
delete(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
return new Promise((resolve, reject) => {
const url = buildUrl(this.#baseUrl, endpoint, searchParams);
const request: http.ClientRequest = http.request(url, {
headers: {
Authorization: this.#jwt,
},
method: "DELETE",
});
request.on("response", (response) => {
const status: number = response.statusCode
? response.statusCode
: -1;
const statusText: string = response.statusMessage
? response.statusMessage
: "";
response.on("end", () => {
const apiResponse: ApiResponse = new NodeResponse(
status === 200 || status === 204,
status,
statusText,
null
);
resolve(apiResponse);
});
});
request.on("error", (error) =>
reject(
new ApiError(
-1,
"n/a",
"delete",
`Failed to do DELETE: ${error}`,
url
)
)
);
request.end();
});
}
head(endpoint: string): Promise<ApiResponse> {
return new Promise((resolve, reject) => {
const url = buildUrl(this.#baseUrl, endpoint);
const request: http.ClientRequest = http.request(url, {
headers: {
Authorization: this.#jwt,
},
method: "HEAD",
});
request.on("response", (response) => {
const status: number = response.statusCode
? response.statusCode
: -1;
const statusText: string = response.statusMessage
? response.statusMessage
: "";
const data: Array<Buffer> = [];
response.on("data", (chunk: Buffer) => {
data.push(chunk);
});
response.on("end", () => {
const buffer: Buffer = Buffer.concat(data);
const apiResponse: ApiResponse = new NodeResponse(
status === 200,
status,
statusText,
buffer
);
resolve(apiResponse);
});
});
request.on("error", (error) =>
reject(
new ApiError(
-1,
"n/a",
"head",
`Failed to do HEAD: ${error}`,
url
)
)
);
request.end();
});
}
options(endpoint: string): Promise<ApiResponse> {
return new Promise((resolve, reject) => {
const url = buildUrl(this.#baseUrl, endpoint);
const request: http.ClientRequest = http.request(url, {
headers: {
Authorization: this.#jwt,
},
method: "OPTIONS",
});
request.on("response", (response) => {
const status: number = response.statusCode
? response.statusCode
: -1;
const statusText: string = response.statusMessage
? response.statusMessage
: "";
const data: Array<Buffer> = [];
response.on("data", (chunk: Buffer) => {
data.push(chunk);
});
response.on("end", () => {
const buffer: Buffer = Buffer.concat(data);
const apiResponse: ApiResponse = new NodeResponse(
status === 200,
status,
statusText,
buffer
);
resolve(apiResponse);
});
});
request.on("error", (error) =>
reject(
new ApiError(
-1,
"n/a",
"options",
`Failed to do OPTIONS: ${error}`,
url
)
)
);
request.end();
});
}
}
/**
* An isomorphic implementation of the {@link LibreCcmApiClient} interface.
* Under the hood the implementation checks if the the Fetch-API is avaiable
* and used either the {@link ApiClientFetchImpl} or the {@link ApiClientNodeImpl}.
*/
export class IsomorphicClientImpl implements LibreCcmApiClient {
readonly #fetchClient: LibreCcmApiClient;
readonly #nodeClient: LibreCcmApiClient;
constructor(fetchClient: LibreCcmApiClient, nodeClient: LibreCcmApiClient) {
this.#fetchClient = fetchClient;
this.#nodeClient = nodeClient;
}
get(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
if (isFetchAvailable()) {
return this.#fetchClient.get(endpoint, searchParams);
} else {
return this.#nodeClient.get(endpoint, searchParams);
}
}
post(
endpoint: string,
body: ArrayBuffer,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
if (isFetchAvailable()) {
return this.#fetchClient.post(endpoint, body, searchParams);
} else {
return this.#nodeClient.post(endpoint, body, searchParams);
}
}
put(
endpoint: string,
body?: ArrayBuffer,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
if (isFetchAvailable()) {
return this.#fetchClient.put(endpoint, body, searchParams);
} else {
return this.#nodeClient.put(endpoint, body, searchParams);
}
}
delete(
endpoint: string,
searchParams?: Record<string, string>
): Promise<ApiResponse> {
if (isFetchAvailable()) {
return this.#fetchClient.delete(endpoint, searchParams);
} else {
return this.#nodeClient.delete(endpoint, searchParams);
}
}
head(endpoint: string): Promise<ApiResponse> {
if (isFetchAvailable()) {
return this.#fetchClient.head(endpoint);
} else {
return this.#nodeClient.head(endpoint);
}
}
options(endpoint: string): Promise<ApiResponse> {
if (isFetchAvailable()) {
return this.#fetchClient.options(endpoint);
} else {
return this.#nodeClient.options(endpoint);
}
}
}

View File

@ -1,189 +0,0 @@
import {
LibreCcmApiClient,
ApiResponse,
ApiError,
buildUrl,
ApiClientFetchImpl,
ApiClientNodeImpl,
isFetchAvailable,
IsomorphicClientImpl,
} from "./ApiClient";
export * from "./entities";
export { LibreCcmApiClient, ApiResponse, ApiError, buildUrl };
/**
* Build an client for the LibreCCM RESTful API suitable for use in
* clientside code served by the Application Server.
*
* The base URL for accessing the LibreCCM RESTful API is automatically
* determined from the URL of the current document. The API client will
* use the credentials stored in the browser (cookies) to authenticate itself.
*/
export function buildEmbeddedApiClient(): LibreCcmApiClient {
if (!isFetchAvailable()) {
throw new Error(
"Fetch API is not available. Please use buildIsomorpicApiClient."
);
}
const baseUrl = new URL(document.documentURI);
baseUrl.hash = "";
baseUrl.password = "";
baseUrl.pathname = "";
baseUrl.search = "";
baseUrl.username = "";
return new ApiClientFetchImpl(baseUrl.href, {
credentials: "include",
mode: "same-origin",
});
}
/**
* Builds a client for the LibreCCM RESTful API suitable for running in a browser.
*
* @param baseUrl The URL of the LibreCCM installation to access, including the port.
* @param jwt The JSON Web Token to use by the client to authenticate itself.
*/
export function buildRemoteApiClient(
baseUrl: string,
jwt: string
): LibreCcmApiClient {
if (!isFetchAvailable()) {
throw new Error(
"Fetch API is not available. Please use buildIsomorpicApiClient."
);
}
return new ApiClientFetchImpl(baseUrl, {
headers: {
Authorization: jwt,
},
});
}
/**
* Builds a client for the LibreCCM RESTful API suitable for running inside a node.js
* environment.
*
* @param baseUrl The URL of the LibreCCM installation to access, including the port.
* @param jwt The JSON Web Token to use by the client to authenticate itself.
*/
export function buildNodeApiClient(
baseUrl: string,
jwt: string
): LibreCcmApiClient {
return new ApiClientNodeImpl(baseUrl, jwt);
}
/**
* Builds an isomorphic client for the LibreCCM RESTful API which will work in the
* browser and in a node.js environment. Use this function to create an API client
* for JavaScript applications which use Server-Side-Rendering.
*
* @param baseUrl The URL of the LibreCCM installation to access, including the port.
* @param jwt The JSON Web Token to use by the client to authenticate itself.
*/
export function buildIsomorpicApiClient(
baseUrl: string,
jwt: string
): LibreCcmApiClient {
const fetchClient: LibreCcmApiClient = buildRemoteApiClient(baseUrl, jwt);
const nodeClient: LibreCcmApiClient = buildNodeApiClient(baseUrl, jwt);
return new IsomorphicClientImpl(fetchClient, nodeClient);
}
/**
* An utility function for checking if an record has specific properties.
*
* @param record The record to check.
* @param properties The required properties.
*
* @return `true` if all properties are found in the record, `false` otherwise.
*/
export function hasProperties(
record: Record<string, unknown>,
properties: string[]
): boolean {
const keys = Object.keys(record);
return properties.every((property) => keys.includes(property));
}
/**
* An utility function for checking if an record has specific properties. If
* one of the properties is not found, the function will throw an error.
*
* @param record The record to check.
* @param properties The required properties.
*/
export function assertProperties(
record: Record<string, unknown>,
properties: string[]
): void {
const missing = findMissingProperties(record, properties);
if (missing.length > 0) {
throw new MissingPropertiesError(missing);
}
}
export class MissingPropertiesError extends Error {
constructor(missingProperties: string[]) {
super(`record is missing the following required properties:
${missingProperties.join(",")}`);
this.name = "MissingPropertiesError";
}
}
/**
* An utility function which checks which of the given properties the provided
* record is missing.
*
* @param record The record to check.
* @param properties The requird properties.
*
* @return An array with all missing properties.
*/
export function findMissingProperties(
record: Record<string, unknown>,
properties: string[]
): string[] {
const keys = Object.keys(record);
return properties.filter((property) => !keys.includes(property));
}
/**
* Builds an identifier parameter from the the provided parameter. If the
* parameter is a number it is converted to a string and prefixed with `ID-`.
* If the parameter matches the regex for a UUID, the identifier is prefixed
* with `UUID-`. Otherwise the identifier is returned as it is.
*
* @param identifier The identifier to process.
*/
export function buildIdentifierParam(identifier: string | number): string {
if (typeof identifier === "number") {
return `ID-${identifier}`;
} else {
const strIdentifier: string = identifier as string;
if (
strIdentifier.match(
/[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}/g
)
) {
return `UUID-${identifier}`;
} else {
return identifier;
}
}
}
/**
* Error which should be thrown by clients for errors of the client side.
*/
export class ApiClientError extends Error {
constructor(message: string) {
super(message);
this.name = "ApiClientError";
}
}

View File

@ -1,32 +0,0 @@
/**
* A list view contains an array of objects and some data about the list.
*/
export interface ListView<T> {
/**
* The list of objects
*/
list: T[],
/**
* The number of elements for the query.
*/
count: number,
/**
* Items per page
*/
limit: number,
/**
* The first item shown
*/
offset: number,
}
/**
* Properties of the type `LocalizedString` are used in several entities
* returned by various of the endpoints the RESTful API of LibreCCM.
* Each `LocalizedString` consists of various values with the language
* as key.
*/
export interface LocalizedString {
values: Record<string, string>
}

View File

@ -1,14 +0,0 @@
{
"compilerOptions": {
"module": "es6",
"moduleResolution": "node",
"outDir": "dist",
"declaration": true,
"sourceMap": true,
"strict": true,
"target": "es6"
},
"include": [
"src/main/typescript/**/*"
]
}

View File

@ -183,13 +183,8 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<detectLinks>true</detectLinks>
<detectJavaApiLinks>true</detectJavaApiLinks>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
<link>http://docs.jboss.org/hibernate/orm/4.3/javadocs/</link>
</links>
<detectLinks>false</detectLinks>
<detectJavaApiLinks>false</detectJavaApiLinks>
<show>private</show>
<docfilessubdirs>true</docfilessubdirs>
<charset>UTF-8</charset>
@ -200,16 +195,6 @@
<author>true</author>
<keywords>true</keywords>
<failOnError>false</failOnError>
<doclet>org.jboss.apiviz.APIviz</doclet>
<docletArtifact>
<groupId>org.jboss.apiviz</groupId>
<artifactId>apiviz</artifactId>
<version>1.3.2.GA</version>
</docletArtifact>
<useStandardDocletOptions>true</useStandardDocletOptions>
<additionalparam>
-sourceclasspath ${project.build.outputDirectory}
</additionalparam>
</configuration>
</plugin>
@ -236,7 +221,7 @@
<configuration>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<targetJdk>1.8</targetJdk>
<targetJdk>11</targetJdk>
<rulesets>
<ruleset>/rulesets/java/basic.xml</ruleset>
<ruleset>/rulesets/java/braces.xml</ruleset>

View File

@ -1,204 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.libreccm</groupId>
<artifactId>ccm-bundle-devel</artifactId>
<relativePath>../ccm-bundle-devel</relativePath>
<version>7.0.0-SNAPSHOT</version>
</parent>
<groupId>org.libreccm</groupId>
<artifactId>ccm-bundle-devel-thorntail</artifactId>
<packaging>war</packaging>
<name>LibreCCM Devel Bundle for Thorntail</name>
<url>http://www.libreccm.org</url>
<distributionManagement>
<site>
<id>libreccm-site</id>
<name>LibreCCM</name>
<url>http://www.libreccm.org/project-sites/</url>
</site>
</distributionManagement>
<organization>
<name>LibreCCM Foundation</name>
</organization>
<licenses>
<license>
<name>LGPLv2 or newer</name>
<url>http://www.gnu.org/licenses/lgpl-2.0.html</url>
</license>
</licenses>
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<!-- <dependencyManagement>
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>bom</artifactId>
<version>2.4.0.Final</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>-->
<dependencies>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>cdi</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>datasources</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>ejb</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>hibernate-search</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs</artifactId>
</dependency>
<!-- <dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs-cdi</artifactId>
</dependency>-->
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jaxrs-jsonp</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jpa</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jsf</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>jsonp</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>logging</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>mail</artifactId>
</dependency>
<dependency>
<groupId>io.thorntail</groupId>
<artifactId>undertow</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.2.5.jre7</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>font-awesome</artifactId>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>requirejs</artifactId>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>requirejs-domready</artifactId>
</dependency>
</dependencies>
<build>
<finalName>ccm-bundle-devel-wildfly</finalName>
<plugins>
<plugin>
<groupId>io.thorntail</groupId>
<artifactId>thorntail-maven-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-editor</artifactId>
<type>jar</type>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-theme-foundry</artifactId>
<type>jar</type>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>assets/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
<type>jar</type>
<includes>
<include>templates/</include>
</includes>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,215 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<!--<parent>
<groupId>org.libreccm</groupId>
<artifactId>libreccm-parent</artifactId>
<version>7.0.0-SNAPSHOT</version>
</parent>-->
<parent>
<groupId>org.libreccm</groupId>
<artifactId>ccm-bundle-devel</artifactId>
<relativePath>../ccm-bundle-devel</relativePath>
<version>7.0.0-SNAPSHOT</version>
</parent>
<groupId>org.libreccm</groupId>
<artifactId>ccm-bundle-devel-wildfly-swarm</artifactId>
<packaging>war</packaging>
<name>LibreCCM Devel Bundle for Wildfly Swarm</name>
<url>http://www.libreccm.org</url>
<distributionManagement>
<site>
<id>libreccm-site</id>
<name>LibreCCM</name>
<url>http://www.libreccm.org/project-sites/</url>
</site>
</distributionManagement>
<organization>
<name>LibreCCM Foundation</name>
</organization>
<licenses>
<license>
<name>LGPLv2 or newer</name>
<url>http://www.gnu.org/licenses/lgpl-2.0.html</url>
</license>
</licenses>
<properties>
<failOnMissingWebXml>false</failOnMissingWebXml>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>bom-all</artifactId>
<version>2017.11.0</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>cdi</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>container</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>datasources</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>ejb</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>hibernate-search</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>hibernate-validator</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>jaxrs</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>jaxrs-cdi</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>jpa</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>jsf</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>logging</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>mail</artifactId>
</dependency>
<dependency>
<groupId>org.wildfly.swarm</groupId>
<artifactId>undertow</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
</dependency>
<dependency>
<groupId>org.postgresql</groupId>
<artifactId>postgresql</artifactId>
<version>42.1.4.jre7</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>font-awesome</artifactId>
<version>4.7.0</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>requirejs</artifactId>
<version>2.3.5</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>requirejs-domready</artifactId>
<version>2.0.1-2</version>
</dependency>
</dependencies>
<build>
<finalName>ccm-bundle-devel-wildfly</finalName>
<plugins>
<plugin>
<groupId>org.wildfly.swarm</groupId>
<artifactId>wildfly-swarm-plugin</artifactId>
<!--<configuration>
<mainClass>org.libreccm.CcmBundleDevel</mainClass>
</configuration>-->
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-war-plugin</artifactId>
<configuration>
<overlays>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-editor</artifactId>
<type>jar</type>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-theme-foundry</artifactId>
<type>jar</type>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>assets/</include>
<include>VAADIN/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
<type>jar</type>
<includes>
<include>templates/</include>
</includes>
</overlay>
</overlays>
</configuration>
</plugin>
</plugins>
</build>
</project>

View File

@ -1,19 +0,0 @@
package org.libreccm;
import org.wildfly.swarm.Swarm;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class CcmBundleDevel {
public static void main(final String[] args) throws Exception {
final Swarm swarm = new Swarm();
swarm.start();
}
}

View File

@ -1,19 +0,0 @@
package org.libreccm;
import org.wildfly.swarm.Swarm;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class CcmBundleDevel {
public static void main(final String[] args) throws Exception {
final Swarm swarm = new Swarm();
swarm.start();
}
}

View File

@ -1,102 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
<Appenders>
<Console name="Console" target="SYSTEM_OUT">
<PatternLayout pattern="%d{HH:mm:ss.SSS} [%t] %-5level %logger{36} - %msg%n"/>
</Console>
</Appenders>
<Loggers>
<Root level="warn">
<AppenderRef ref="Console"/>
</Root>
<!--<Logger name="org.hibernate"
level="info">
</Logger>
<Logger name="org.hibernate.SQL"
level="debug">
</Logger>
<Logger name="org.hibernate.type"
level="trace">
</Logger>
<Logger name="org.hibernate.type.descriptor.sql"
level="trace">
</Logger>-->
<!--<Logger name="com.arsdigita.bebop.util.Traversal"
level="debug">
</Logger>-->
<Logger name="com.arsdigita.cms.ui.assets.AssetFolderBrowserController"
level="debug">
</Logger>
<Logger name="com.arsdigita.cms.ui.folder.FolderBrowserTableModelBuilder"
level="debug">
</Logger>
<Logger name="com.arsdigita.ui.admin.AdminServlet"
level="debug">
</Logger>
<Logger name="com.arsdigita.ui.admin.configuration.ConfigurationTable"
level="debug">
</Logger>
<Logger name="com.arsdigita.ui.admin.usersgroupsroles.UsersTable"
level="debug">
</Logger>
<Logger name="com.arsdigita.cms.ui.assets.AssetPane"
level="debug">
</Logger>
<Logger name="com.arsdigita.ui.login.UserLoginForm"
level="debug">
</Logger>
<Logger name="com.arsdigita.packaging.Config"
level="debug">
</Logger>
<Logger name="com.arsdigita.templating.PatternStylesheetResolver"
level="info">
</Logger>
<Logger name="com.arsdigita.templating.SimpleURIResolver"
level="warn">
</Logger>
<Logger name="com.arsdigita.web.CCMDispatcherServlet"
level="debug">
</Logger>
<Logger name="org.libreccm.core.AbstractEntityRepository"
level="debug">
</Logger>
<Logger name="org.libreccm.modules.CcmIntegrator"
level="debug">
</Logger>
<Logger name="org.libreccm.pagemodel.PageModelManager"
level="debug">
</Logger>
<Logger name="org.libreccm.security.OneTimeAuthTokenCleaner"
level="debug">
</Logger>
<Logger name="org.libreccm.security.PermissionManager"
level="debug">
</Logger>
<Logger name="org.libreccm.security.Shiro"
level="debug">
</Logger>
<Logger name="org.libreccm.ui.admin.usersgroupsroles.RolesController"
level="debug">
</Logger>
<Logger name="org.librecms.contentsection.AssetRepository"
level="debug">
</Logger>
<Logger name="org.librecms.contentsection.ContentSectionSetup"
level="debug">
</Logger>
<Logger name="org.librecms.contentsection.ContentSectionServlet"
level="debug">
</Logger>
<Logger name="org.librecms.contentsection.rs.Images"
level="debug">
</Logger>
<Logger name="com.arsdigita.web.DefaultApplicationFileResolver"
level="debug">
</Logger>
</Loggers>
</Configuration>

View File

@ -1,5 +0,0 @@
swarm:
deployment:
ccm-bundle-devel-wildfly.war:
jaxrs:
application-path: /jaxrs

View File

@ -1,17 +0,0 @@
[main]
filterChainResolver = org.apache.shiro.web.filter.mgt.PathMatchingFilterChainResolver
passwordMatcher = org.apache.shiro.authc.credential.PasswordMatcher
passwordService = org.apache.shiro.authc.credential.DefaultPasswordService
passwordMatcher.passwordService = $passwordService
ccmRealm = org.libreccm.security.CcmShiroRealm
ccmRealm.credentialsMatcher = $passwordMatcher
securityManager.realms = $ccmRealm
securityManager.rememberMeManager.cipherKey = p5h/Aphy0gfV+XThbEPqSG4iQNh2fTNH9ZEkSBAt/Ok=
cacheManager = org.apache.shiro.cache.MemoryConstrainedCacheManager
securityManager.cacheManager = $cacheManager

View File

@ -1,65 +0,0 @@
# -*- text -*-
# This file locates stylesheets, if you are using the
# "PatternStylesheetResolver". Please read the Javadoc for that file for
# the full story.
# Currently the "resource" part is actually "short-circuited", see
# Templating#transformURL(url). As long as we store and synchronize all theme
# files in each server's local file system, we use the direct file apprach to
# avoid unnecessary http request and traffic between client (user) and server!
# Additionally all modules are installed into one webapp context, so the
# webapp tag is redundant, but sort of required by some part of the code.
# Theme with single entry point (e.g Mandalay) managed by themedirector
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/start.xsl
http://::host::/::webapp::/themes/::themedir::/::theme::/start.xsl
# Theme with single entry point (e.g Mandalay) unmanaged default
#http://::host::/resource/::webapp::/themes/mandalay/start.xsl
#http://::host::/::webapp::/themes/mandalay/start.xsl
# Theme with single entry point (e.g Mandalay) unmanaged default
#http://::host::/resource/::webapp::/themes/mandalay/start.xsl
http://::host::/::webapp::/themes/libreccm-default/start.xsl
# ==============================================================================
# The following is for multi-entry themes, not used in ScientificCMS
# ==============================================================================
# Output type is for things such as text/javascript
# NOT used by ScientificCMS, uses Mandalay only!
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::-::outputtype::-::locale::.xsl
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::-::outputtype::.xsl
# Grabs custom item xsl for CMS
# NOT used by ScientificCMS, uses Mandalay only!
#http://::host::/themes/servlet/content-item/index.xsl?oid=::item_template_oid::&delegated=::item_delegated_url::
# Theme, with optional locale & prefix
# NOT used by ScientificCMS, uses Mandalay only!
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::-::prefix::-::locale::.xsl
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::-::prefix::.xsl
# Theme, with optional locale
# NOT used by ScientificCMS, uses Mandalay only!
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::-::locale::.xsl
#http://::host::/resource/::webapp::/themes/::themedir::/::theme::/::application::-::url::.xsl
# APLAWS generic default, with locale and prefix
# XXX change ROOT -> ccm-ldn-aplaws
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::-::prefix::-::locale::.xsl
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::-::prefix::.xsl
# APLAWS generic default, with locale
# XXX change ROOT -> ccm-ldn-aplaws
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::-::locale::.xsl
# http://::host::/resource/ROOT/themes/static/aplaws-generic/::application::-::url::.xsl
# Global default, from application's own web app
# NOT used by ScientificCMS
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::-::locale::.xsl
#http://::host::/resource/::webapp::/themes/heirloom/apps/::application::/xsl/::url::.xsl

View File

@ -1,3 +0,0 @@
version = 7.0.0-SNAPSHOT
appname = LibreCCM
apphomepage = http://www.libreccm.org

View File

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://xmlns.jcp.org/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/beans_1_1.xsd"
bean-discovery-mode="all">
</beans>

View File

@ -1,54 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
author: Jens Pelzetter
-->
<persistence xmlns="http://xmlns.jcp.org/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence
http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"
version="2.1">
<persistence-unit name="LibreCCM" transaction-type="JTA">
<!--
Enforce JPA provider
Not really necessary here because we don't use any Hibernate
specific features, but makes it easier to manage to database
creation scripts.
-->
<provider>org.hibernate.jpa.HibernatePersistenceProvider</provider>
<jta-data-source>java:jboss/datasources/LibreCCM</jta-data-source>
<!--<jta-data-source>java:/comp/env/jdbc/libreccm/db</jta-data-source>-->
<jar-file>lib/ccm-core-7.0.0-SNAPSHOT.jar</jar-file>
<jar-file>lib/ccm-cms-7.0.0-SNAPSHOT.jar</jar-file>
<jar-file>lib/ccm-shortcuts-7.0.0-SNAPSHOT.jar</jar-file>
<properties>
<!-- Properties for Hibernate -->
<property name="hibernate.hbm2ddl.auto" value="validate" />
<property name="hibernate.connection.autocommit" value="false" />
<property name="hibernate.id.new_generator_mappings" value="true" />
<property name="wildfly.jpa.hibernate.search.module"
value="org.hibernate.search.orm:main" />
<!--<property name="hibernate.show_sql" value="true" />
<property name="format_sql" value="true" />
<property name="use_sql_comments" value="true" />-->
<!--
Properties for Hibernate Envers
We are using the ValidityAuditStrategy here because it is faster
when querying data than the DefaultStrategy
-->
<property name="org.hibernate.envers.audit_strategy"
value="org.hibernate.envers.strategy.ValidityAuditStrategy"/>
</properties>
</persistence-unit>
</persistence>

View File

@ -1 +0,0 @@
waf.config.packages=ccm-core

View File

@ -1,83 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>LibreCCM Devel Bundle for Wildfly</display-name>
<context-param>
<param-name>ccm.develmode</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>ccm.distribution</param-name>
<param-value>libreccm</param-value>
</context-param>
<!-- No JSESSIONID!!! -->
<session-config>
<tracking-mode>COOKIE</tracking-mode>
<!--<tracking-mode>URL</tracking-mode>-->
</session-config>
<filter>
<filter-name>ShiroFilter</filter-name>
<filter-class>org.apache.shiro.web.servlet.ShiroFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>ShiroFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<listener>
<listener-class>org.apache.shiro.web.env.EnvironmentLoaderListener</listener-class>
</listener>
<!-- JAX-RS -->
<!--<servlet>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
</servlet>
<servlet-mapping>
<servlet-name>javax.ws.rs.core.Application</servlet-name>
<url-pattern>/content-sections/*</url-pattern>
</servlet-mapping>-->
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>*.xhtml</url-pattern>
</servlet-mapping>
<context-param>
<param-name>javax.faces.PROJECT_STAGE</param-name>
<param-value>Development</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<servlet>
<servlet-name>vaadin-servlet</servlet-name>
<servlet-class>com.vaadin.cdi.server.VaadinCDIServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>vaadin-servlet</servlet-name>
<url-pattern>/vaadin/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>vaadin-servlet</servlet-name>
<url-pattern>/VAADIN/*</url-pattern>
</servlet-mapping>
</web-app>

View File

@ -1,72 +0,0 @@
requirejs(["./ccm-editor",
"./ccm-cms-editor",
"../webjars/requirejs-domready/2.0.1/domReady!"],
function(editor, cmseditor, doc) {
editor.addEditor(".editor-textarea", {
"commandGroups": [
{
"name": "blocks",
"title": "Format blocks",
"commands": [
editor.FormatBlockCommand
]
},
{
"name": "format-text",
"title": "Format text",
"commands": [
editor.MakeBoldCommand,
editor.MakeItalicCommand,
editor.MakeUnderlineCommand,
editor.StrikeThroughCommand,
editor.SubscriptCommand,
editor.SuperscriptCommand,
editor.RemoveFormatCommand,
editor.InsertExternalLinkCommand,
cmseditor.InsertInternalLinkCommand,
cmseditor.InsertMediaAssetCommand
]
},
{
"name": "insert-list",
"title": "Insert list",
"commands": [
editor.InsertUnorderedListCommand,
editor.InsertOrderedListCommand
]
},
{
"name": "html",
"title": "HTML",
"commands": [editor.ToggleHtmlCommand]
}
],
"settings": {
"ccm-editor-css.path": "/libreccm/ccm-editor/ccm-editor.css",
"font-awesome.path": "/libreccm/webjars/font-awesome/4.7.0/css/font-awesome.min.css",
"formatBlock.blocks": [
{
"element": "h3",
"title": "Heading 3"
},
{
"element": "h4",
"title": "Heading 4"
},
{
"element": "h5",
"title": "Heading 5"
},
{
"element": "h6",
"title": "Heading 6"
},
{
"element": "p",
"title": "Paragraph"
}
]
}
});
});

View File

@ -1,2 +1,3 @@
datasource.properties
runtime.properties
wildfly.properties

View File

@ -0,0 +1,3 @@
libreccm.datasource.connectionUrl=jdbc:postgresql://localhost:5432/ccm-devel
libreccm.datasource.username=ccm
libreccm.datasource.password=ccm47web

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scene Scope="Project" version="2">
<Scope Scope="Faces Configuration Only"/>
<Scope Scope="Project"/>
<Scope Scope="All Faces Configurations"/>
</Scene>

File diff suppressed because it is too large Load Diff

View File

@ -5,11 +5,8 @@
"build": "webpack"
},
"dependencies": {
"@librecms/ccm-cms-pagemodelseditor": "file:../ccm-cms-pagemodelseditor",
"tinymce": "^4.8.2"
},
"devDependencies": {
"@types/tinymce": "^4.5.16",
"@types/webpack-env": "^1.13.6",
"file-loader": "^1.1.11",
"ts-loader": "^4.4.2",

View File

@ -24,6 +24,12 @@
<url>http://www.libreccm.org/modules/web/wildfly</url>
<dependencies>
<dependency>
<groupId>org.libreccm</groupId>
<artifactId>ccm-wildfly</artifactId>
<version>7.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.webjars</groupId>
<artifactId>font-awesome</artifactId>
@ -49,7 +55,7 @@
<artifactId>ccm-cms-js</artifactId>
<version>7.0.0-SNAPSHOT</version>
</dependency> -->
<dependency>
<!-- <dependency>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-pagemodelseditor</artifactId>
<version>${project.parent.version}</version>
@ -58,7 +64,7 @@
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-tinymce</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependency>-->
<!-- <dependency>
<groupId>org.postgresql</groupId>
@ -74,9 +80,9 @@
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<!--<resource>
<directory>${project.build.directory}/generated-resources</directory>
</resource>
</resource>-->
</resources>
<plugins>
@ -84,15 +90,15 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
<optimize>true</optimize>
<debug>true</debug>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<!-- <plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
@ -107,10 +113,10 @@
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${nodeVersion}</nodeVersion>
<nodeVersion>v16.14.2</nodeVersion>
</configuration>
</execution>
<!-- <execution>
<execution>
<id>npm link @libreccm/ccm-pagemodelseditor</id>
<goals>
<goal>npm</goal>
@ -118,7 +124,7 @@
<configuration>
<arguments>link @libreccm/ccm-pagemodelseditor</arguments>
</configuration>
</execution> -->
</execution>
<execution>
<id>npm link @librecms/ccm-cms-pagemodelseditor</id>
<goals>
@ -128,7 +134,7 @@
<arguments>link @librecms/ccm-cms-pagemodelseditor</arguments>
</configuration>
</execution>
<!-- <execution>
<execution>
<id>npm link @librecms/ccm-cms-tinymce</id>
<goals>
<goal>npm</goal>
@ -136,8 +142,8 @@
<configuration>
<arguments>link @librecms/ccm-cms-tinymce</arguments>
</configuration>
</execution>-->
<!--<execution>
</execution>
<execution>
<id>npm link @librecms/ccm-cms-js</id>
<goals>
<goal>npm</goal>
@ -145,7 +151,7 @@
<configuration>
<arguments>link @librecms/ccm-cms-js</arguments>
</configuration>
</execution>-->
</execution>
<execution>
<id>npm install</id>
<goals>
@ -162,7 +168,7 @@
</configuration>
</execution>
</executions>
</plugin>
</plugin>-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@ -173,9 +179,9 @@
<resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<!--<resource>
<directory>${project.build.directory}/generated-resources</directory>
</resource>
</resource>-->
</webResources>
<overlays>
@ -184,11 +190,11 @@
<artifactId>ccm-editor</artifactId>
<type>jar</type>
</overlay>
<overlay>
<!-- <overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-pagemodelseditor</artifactId>
<type>jar</type>
</overlay>
</overlay>-->
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-theme-foundry</artifactId>
@ -200,9 +206,64 @@
<type>jar</type>
<includes>
<include>assets/</include>
<include>_admin/</include>
</includes>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>themes/</include>
</includes>
</overlay>
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>WEB-INF/</include>
</includes>
</overlay>
<!-- <overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-shortcuts</artifactId>
<type>jar</type>
<includes>
<include>WEB-INF/</include>
</includes>
</overlay>-->
<overlay>
<groupId>org.libreccm</groupId>
<artifactId>ccm-core</artifactId>
<type>jar</type>
<includes>
<include>resources/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
<type>jar</type>
<includes>
<include>WEB-INF/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
<type>jar</type>
<includes>
<include>assets/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
<type>jar</type>
<includes>
<include>icons/</include>
</includes>
</overlay>
<overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
@ -211,14 +272,22 @@
<include>templates/</include>
</includes>
</overlay>
<overlay>
<!-- <overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-tinymce</artifactId>
<type>jar</type>
<includes>
<include>scripts/</include>
</includes>
</overlay>
</overlay>-->
<!-- <overlay>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<type>jar</type>
<includes>
<include>themes/librecms/scripts/</include>
</includes>
</overlay> -->
</overlays>
</configuration>
</plugin>
@ -239,6 +308,27 @@
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<executions>
<execution>
<id>read-runtime-properties</id>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>${project.basedir}/runtime.example.properties</file>
<file>${project.basedir}/runtime.properties</file>
</files>
<quiet>true</quiet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-maven-plugin</artifactId>
@ -250,6 +340,58 @@
</java-opts>
</configuration>
</plugin>
<plugin>
<groupId>org.wildfly.plugins</groupId>
<artifactId>wildfly-jar-maven-plugin</artifactId>
<configuration>
<jvmArguments>
<arg>-agentlib:jdwp=transport=dt_socket,server=y,suspend=${libreccm.debug.suspend},address=${libreccm.debug.port}</arg>
</jvmArguments>
<arguments>
-Dorg.wildfly.datasources.postgresql.database=${libreccm.database.name}
-Dorg.wildfly.datasources.postgresql.host=${libreccm.database.host}
-Dorg.wildfly.datasources.postgresql.jndi-name=java:/comp/env/jdbc/libreccm/db
-Dorg.wildfly.datasources.postgresql.password=${libreccm.database.password}
-Dorg.wildfly.datasources.postgresql.port=${libreccm.database.port}
-Dorg.wildfly.datasources.postgresql.user-name=${libreccm.database.user}
</arguments>
<feature-packs>
<feature-pack>
<location>wildfly@maven(org.jboss.universe:community-universe)#24.0.1.Final</location>
</feature-pack>
<feature-pack>
<groupId>org.wildfly</groupId>
<artifactId>wildfly-datasources-galleon-pack</artifactId>
<version>2.0.2.Final</version>
</feature-pack>
</feature-packs>
<layers>
<layer>cdi</layer>
<layer>datasources</layer>
<layer>ejb</layer>
<layer>jaxrs</layer>
<layer>jpa</layer>
<layer>jsf</layer>
<layer>jsonp</layer>
<layer>logging</layer>
<layer>mail</layer>
<layer>management</layer>
<layer>postgresql-datasource</layer>
</layers>
<!-- <excluded-layers>
<layer>deployment-scanner</layer>
</excluded-layers>-->
<skip>false</skip>
</configuration>
<executions>
<execution>
<goals>
<goal>package</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>

View File

@ -0,0 +1,7 @@
libreccm.debug.suspend=n
libreccm.database.host=localhost
libreccm.database.port=5432
libreccm.database.name=ccm-devel
libreccm.database.user=ccm
libreccm.database.password=ccm47web

View File

@ -0,0 +1,10 @@
libreccm.http.port=8080
libreccm.https.port=8180
libreccm.debug.port=8787
libreccm.debug.suspend=n
libreccm.database.host=localhost
libreccm.database.port=5432
libreccm.database.name=libreccm-devel
libreccm.database.user=libreccm
libreccm.database.password=libreccm

View File

@ -80,10 +80,7 @@
<Logger name="org.libreccm.security.Shiro"
level="debug">
</Logger>
<Logger name="org.libreccm.theming.xslt.CcmUriResolver"
level="debug">
</Logger>
<Logger name="org.libreccm.ui.admin.usersgroupsroles.RolesController"
<Logger name="org.libreccm.ui.admin.usersgroupsroles.RolesController"
level="debug">
</Logger>
<Logger name="org.librecms.contentsection.AssetRepository"
@ -101,9 +98,16 @@
<Logger name="com.arsdigita.web.DefaultApplicationFileResolver"
level="debug">
</Logger>
<Logger name="org.libreccm.ui.admin.AdminUi"
<Logger name = "org.libreccm.ui.admin.AdminApplication"
level="debug">
</Logger>
<Logger name="org.libreccm.ui.admin.applications.ApplicationsPage"
level="debug">
</Logger>
<Logger name="org.librecms.ui.ContentSectionController"
level="debug">
</Logger>
<Logger name="org.libreccm.categorization.CategoryManager"
level="debug">
</Logger>
</Loggers>

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

View File

@ -0,0 +1,2 @@
example.setting=Properties from the Freemarker theme.

View File

@ -0,0 +1,73 @@
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
header {
padding: 1em 2em;
}
header img {
display: block;
margin-left: auto;
margin-right: auto;
width: 20vw;
max-width: 1020px;
max-height: 566px;
}
main {
max-width: 55em;
margin-left: auto;
margin-right: auto;
padding: 2em 1em;
}
main h1 {
text-align: center;
}
main form.login {
display: flex;
align-items: center;
flex-direction: column;
margin-top: 1em;
}
main form.login .form-row {
display: flex;
align-items: flex-start;
flex-direction: column;
margin-bottom: 0.5em;
}
main form.login button[type=submit] {
display: block;
margin-top: 0.75em;
margin-left: auto;
margin-right: auto;
padding: 0.25em;
}
footer {
background-color: #71ac52;
color: #fff;
padding: 3em 1em;
width: 100vw;
}
footer p {
text-align: center;
}

View File

@ -0,0 +1,62 @@
<!DOCTYPE html>
<html>
<head>
<title>LibreCCM Devel Theme</title>
</head>
<body>
<h1>LibreCCM Devel</h1>
<h2>Site Info</h2>
<dl>
<dt>host</dt>
<dd>${CmsPagesSiteInfoModel.host}</dd>
<dt>domain</dt>
<dd>${CmsPagesSiteInfoModel.domain}</dd>
<dt>name</dt>
<dd>${CmsPagesSiteInfoModel.name}</dd>
<dt>Current category</dt>
<dd>${CmsPagesCategoryModel.category.name}</dd>
</dl>
<h2>Category Tree</h2>
<ul>
<!--<#list CmsPagesCategoryModel.categoryTree.subCategories as category>
<@categoryTreeNode category />
</#list>-->
<@categoryTreeNode CmsPagesCategoryModel.categoryTree />
</ul>
<h2>(Index) Item</h2>
<#if (CmsPagesCategoryModel.category.hasIndexItem)>
<dl>
<dt>Name</dt>
<dd>${CmsPagesCategorizedItemModel.name}</dd>
<dt>Title</dt>
<dd>${CmsPagesCategorizedItemModel.title}</dd>
<dt>Description</dt>
<dd>${CmsPagesCategorizedItemModel.description}</dd>
</dl>
<#else>
<p>No (Index) Item</p>
</#if>
<h2>Item List</h2>
<ul>
<#list CmsPagesItemListModel.items as item>
<li>
<b>${item.title} (${item.name})</b>
${item.description}
</li>
</#list>
</ul>
</body>
</html>
<#macro categoryTreeNode category>
<li>
${category.name}
<#if (category.subCategories?size > 0)>
<ul>
<#list category.subCategories as subCategory>
<@categoryTreeNode subCategory />
</#list>
</ul>
</#if>
</li>
</#macro>

View File

@ -0,0 +1,19 @@
<footer>
<ul>
<li>
<a href="/impressum">
<!--Impressum-->
${localize("footer.impressum")}
</a>
</li>
<li>
<a href="/privacy">
<!--Privacy-->
${localize("footer.privacy")}
</a>
</li>
<li>
<code>imported</code>
</li>
</ul>
</footer>

View File

@ -0,0 +1,35 @@
<#import "../main.html.ftl" as main>
<@main.ccm_main>
<h1>${LoginMessages['login.title']}</h1>
<#if (loginFailed)>
<div class="alert-error">
${LoginMessages['login.errors.failed']}
</div>
</#if>
<form action="${mvc.uri('LoginController#processLogin')}"
class="login"
method="post">
<div class="form-row">
<label for="login">${LoginMessages['login.screenname.label']}</label>
<input id="login" name="login" required="true" type="text" />
</div>
<div class="form-row">
<label for="password">
${LoginMessages['login.password.label']}
</label>
<input id="password"
name="password"
required="true"
type="password" />
</div>
<input type="hidden"
name="returnUrl"
value="${returnUrl}" />
<button type="submit">
${LoginMessages['login.submit']}
</button>
</form>
</@main.ccm_main>

View File

@ -0,0 +1,15 @@
<!DOCTYPE html>
<html>
<head>
<title>Category page</title>
<link rel="stylesheet" href="${getContextPath()}/theming/ccm/style.css" />
</head>
<body>
<main>
<h1>${LoginMessages['login.password_recovered.title']}</h1>
<p>${LoginMessages['login.password_recovered.message']}</p>
</main>
<#include "footer.html.ftl">
</body>
</html>

View File

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html>
<head>
<title>Category page</title>
<link rel="stylesheet" href="${getContextPath()}/theming/ccm/style.css" />
</head>
<body>
<main>
<h1>${LoginMessages['login.recover_password.title']}</h1>
<# if (failedToSendRecoverMessage)>
<div class="alert-error">
${LoginMessages['login.errors.failedToSendRecoverMessage']}
</div>
</#if>
<form action="${mvc.url('LoginController#recoverPassword')}"
method="post">
<label for="email">${LoginMessages['login.email.label']}</label>
<input id="email" name="email" required="true" type="text" />
<button type="submit">
${LoginMessages['login.recover_password.submit']}
</button>
</form>
</main>
<#include "footer.html.ftl">
</body>
</html>

View File

@ -0,0 +1,13 @@
<!DOCTYPE html>
<html>
<head>
<title>Category page</title>
<link rel="stylesheet" href="${themeUrl}/style.css" />
</head>
<body>
<main>
<h1>Logout successful</h1>
<p>Logout successful</p>
</main>
</body>
</html>

View File

@ -0,0 +1,25 @@
<#macro ccm_main scripts=[]>
<html>
<head>
<title>Category page</title>
<link rel="stylesheet" href="${themeUrl}/styles/style.css" />
<#list scripts as script>
<script src="${themeUrl}/${script}" />
</#list>
</head>
<body>
<header>
<a href="https://www.libreccm.org">
<img alt="LibreCCM Logo"
src="${themeUrl}/images/libreccm.png" />
</a>
</header>
<main>
<#nested>
</main>
<footer>
<p>LibreCCM basic theme. The customize create your own theme.</p>
</footer>
</body>
</html>
</#macro>

View File

@ -0,0 +1,5 @@
label.critical=Critical
label.error=Error
label.ok=OK
label.warning=Warning

View File

@ -0,0 +1,3 @@
footer.impressum=Impressum
footer.privacy=Privacy

View File

@ -0,0 +1,95 @@
{
"files": [
{
"name": "images",
"isDirectory": true,
"files": [
{
"name": "libreccm.png",
"isDirectory": false,
"mimeType": "image/png"
}
]
},
{
"name": "settings.properties",
"isDirectory": false,
"mimeType": "text/plain"
},
{
"name": "styles",
"isDirectory": true,
"files": [
{
"name": "style.css",
"isDirectory": false,
"mimeType": "text/css"
}
]
},
{
"name": "templates",
"isDirectory": true,
"files": [
{
"name": "login",
"isDirectory": true,
"files": [
{
"name": "login-form.html.ftl",
"isDirectory": false,
"mimeType": "text/plain"
},
{
"name": "login-password-recovered.html.ftl",
"isDirectory": false,
"mimeType": "text/plain"
}, {
"name": "login-recover-password.html.ftl",
"isDirectory": false,
"mimeType": "text/plain"
}
]
},
{
"name": "logout",
"isDirectory": true,
"files": [
{
"name": "loggedout.html.ftl",
"isDirectory": false,
"mimeText": "text/plain"
}
]
}
]
},
{
"name": "texts",
"isDirectory": true,
"files": [
{
"name": "labels.properties",
"isDirectory": false,
"mimeType": "text/plain"
}
]
},
{
"name": "theme-bundle.properties",
"isDirectory": false,
"mimeType": "text/plain"
},
{
"name": "theme-index.json",
"isDirectory": false,
"mimeType": "application/json"
},
{
"name": "theme.json",
"isDirectory": false,
"mimeType": "application/json"
}
]
}

View File

@ -0,0 +1,144 @@
{
"name": "librecms-devel",
"type": "freemarker",
"default-template": "templates/default.html.ftl",
"mvc-templates": {
"default": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Default Template"
}
]
}
},
"name": "Default Template",
"path": "templates/default.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Default Template"
}
]
}
}
},
"login-form": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Login Form"
}
]
}
},
"name": "Login Form",
"path": "templates/login/login-form.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Login Form"
}
]
}
}
},
"login-recover-password": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Recover lost passwords"
}
]
}
},
"name": "login-recover-password",
"path": "templates/login/login-recover-password.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Recover password"
}
]
}
}
},
"login-password-recovered": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Password recovered"
}
]
}
},
"name": "login-password-recovered",
"path": "templates/login/login-password-recovered.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Password recovered"
}
]
}
}
},
"loggedout": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Logout successful"
}
]
}
},
"name": "loggedout",
"path": "templates/logout/loggedout.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Logout succesful"
}
]
}
}
}
},
"views": {
"default": {
"default": "default",
"@default": "default"
},
"login": {
"loginForm": "login-form",
"passwordRecovered": "login-password-recovered",
"recoverPassword": "login-recover-password"
},
"logout": {
"loggedout": "loggedout"
}
}
}

View File

@ -25,7 +25,6 @@
<jar-file>lib/ccm-cms-7.0.0-SNAPSHOT.jar</jar-file>
<jar-file>lib/ccm-shortcuts-7.0.0-SNAPSHOT.jar</jar-file>
<properties>
<!-- Properties for Hibernate -->
<property name="hibernate.hbm2ddl.auto" value="validate" />
@ -34,7 +33,7 @@
<property name="wildfly.jpa.hibernate.search.module"
value="org.hibernate.search.orm:main" />
<!--<property name="hibernate.show_sql" value="true" />
<!-- <property name="hibernate.show_sql" value="true" />
<property name="format_sql" value="true" />
<property name="use_sql_comments" value="true" />-->

View File

@ -4,4 +4,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee
http://xmlns.jcp.org/xml/ns/javaee/web-facesconfig_2_2.xsd">
<application>
<resource-handler>org.libreccm.mvc.facelets.CcmViewResourceHandler</resource-handler>
</application>
</faces-config>

View File

@ -1,4 +1,5 @@
<?xml version="1.0" ?>
<jboss-web>
<context-root>/libreccm</context-root>
<default-encoding>UTF-8</default-encoding>
</jboss-web>

View File

@ -15,6 +15,10 @@
<param-name>ccm.distribution</param-name>
<param-value>libreccm</param-value>
</context-param>
<context-param>
<param-name>resteasy.resources</param-name>
<param-value>org.jboss.resteasy.plugins.stats.RegistryStatsResource</param-value>
</context-param>
<!-- No JSESSIONID!!! -->
<session-config>
@ -65,8 +69,12 @@
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>PARAMETER_ENCODING</param-name>
<param-value>UTF-8</param-value>
</context-param>
<!-- <servlet>
<!-- <servlet>
<servlet-name>vaadin-servlet</servlet-name>
<servlet-class>com.vaadin.cdi.server.VaadinCDIServlet</servlet-class>
</servlet>

View File

@ -5,7 +5,7 @@ module.exports = {
devtool: "source-map",
entry: {
"ccm-cms-pagemodelseditor": "./src/main/typescript/ccm-cms-pagemodelseditor.ts",
// "ccm-cms-pagemodelseditor": "./src/main/typescript/ccm-cms-pagemodelseditor.ts",
// "ccm-cms-tinymce-loader": "./src/main/typescript/tinymce/ccm-cms-tinymce-loader.ts",
},

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@ -12,7 +13,7 @@
<groupId>org.libreccm</groupId>
<artifactId>ccm-bundle-devel</artifactId>
<packaging>pom</packaging>
<name>LibreCCM Devel Bundle</name>
<url>http://www.libreccm.org/bundles/devel</url>
@ -22,7 +23,7 @@
<artifactId>ccm-core</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.libreccm</groupId>
<artifactId>ccm-editor</artifactId>
@ -38,40 +39,37 @@
<artifactId>ccm-theme-foundry</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<dependency>
<groupId>org.librecms</groupId>
<artifactId>ccm-theme-ftllibs-devel</artifactId>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>Saxon-HE</artifactId>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- CCM modules -->
<dependency>
<!-- <dependency>
<groupId>org.libreccm</groupId>
<artifactId>ccm-shortcuts</artifactId>
<version>${project.parent.version}</version>
</dependency>
</dependency>-->
<dependency>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms</artifactId>
<version>${project.parent.version}</version>
</dependency>
<!-- CCM Modules end -->
<!-- CCM Modules end -->
<!-- Dependencies for log4j 2 including adapter for the log4j 1.2 API -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<reporting>

View File

@ -113,8 +113,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.3</version>
<configuration>
<source>1.7</source>
<target>1.7</target>
<source>11</source>
<target>11</target>
<optimize>true</optimize>
<debug>true</debug>
<encoding>${project.build.sourceEncoding}</encoding>
@ -191,13 +191,8 @@
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.3</version>
<configuration>
<detectLinks>true</detectLinks>
<detectJavaApiLinks>true</detectJavaApiLinks>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
<link>http://docs.jboss.org/hibernate/orm/4.3/javadocs/</link>
</links>
<detectLinks>false</detectLinks>
<detectJavaApiLinks>false</detectJavaApiLinks>
<show>private</show>
<docfilessubdirs>true</docfilessubdirs>
<charset>UTF-8</charset>
@ -208,16 +203,6 @@
<author>true</author>
<keywords>true</keywords>
<failOnError>false</failOnError>
<doclet>org.jboss.apiviz.APIviz</doclet>
<docletArtifact>
<groupId>org.jboss.apiviz</groupId>
<artifactId>apiviz</artifactId>
<version>1.3.2.GA</version>
</docletArtifact>
<useStandardDocletOptions>true</useStandardDocletOptions>
<additionalparam>
-sourceclasspath ${project.build.outputDirectory}
</additionalparam>
</configuration>
</plugin>
@ -244,7 +229,7 @@
<configuration>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<targetJdk>1.8</targetJdk>
<targetJdk>11</targetJdk>
<rulesets>
<ruleset>/rulesets/java/basic.xml</ruleset>
<ruleset>/rulesets/java/braces.xml</ruleset>

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,30 @@
{
"name": "@librecms/default-theme",
"version": "7.0.0",
"scripts": {
"build": "npm-run-all build:*",
"build:mkdir": "shx mkdir -p target/generated-resources/themes/librecms",
"build:theme": "shx cp -r src/main/resources/themes/librecms/* target/generated-resources/themes/librecms",
"build:icons": "shx cp node_modules/bootstrap-icons/bootstrap-icons.svg target/generated-resources/themes/librecms/images/",
"build:js": "webpack",
"build:css": "npm-run-all build:css:*",
"build:css:librecms": "sass src/main/scss/librecms.scss target/generated-resources/themes/librecms/styles/librecms.css",
"build:index": "theme-index-builder target/generated-resources/themes/librecms"
},
"author": "Jens Pelzetter",
"license": "LGPL-3.0-or-later",
"devDependencies": {
"@types/bootstrap": "^5.1.8",
"npm-run-all": "^4.1.5",
"sass": "^1.48.0",
"shx": "^0.3.4",
"ts-loader": "^9.2.6",
"typescript": "^4.5.4",
"webpack": "^5.66.0",
"webpack-cli": "^4.9.1"
},
"dependencies": {
"bootstrap": "^5.1.3",
"bootstrap-icons": "^1.7.2"
}
}

View File

@ -0,0 +1,113 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'Z</maven.build.timestamp.format>
</properties>
<parent>
<groupId>org.libreccm</groupId>
<artifactId>libreccm-parent</artifactId>
<version>7.0.0-SNAPSHOT</version>
</parent>
<groupId>org.librecms</groupId>
<artifactId>ccm-cms-default-theme</artifactId>
<version>7.0.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>LibreCMS Default Theme</name>
<licenses>
<license>
<name>Lesser GPL 2.1</name>
<url>http://www.gnu.org/licenses/old-licenses/lgpl-2.1</url>
</license>
</licenses>
<dependencies>
<dependency>
<groupId>org.libreccm</groupId>
<artifactId>ccm-static-theme-index-builder</artifactId>
<version>7.0.0-SNAPSHOT</version>
</dependency>
</dependencies>
<build>
<finalName>ccm-cms-default-theme</finalName>
<resources>
<!-- <resource>
<directory>src/main/resources</directory>
</resource>
<resource>
<directory>src/main/typescript</directory>
</resource> -->
<resource>
<directory>${project.build.directory}/generated-resources</directory>
</resource>
</resources>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<configuration>
<installDirectory>../node</installDirectory>
</configuration>
<executions>
<execution>
<id>Install node.js and NPM</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>v16.14.2</nodeVersion>
</configuration>
</execution>
<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
</execution>
<execution>
<id>npm link @libreccm/ccm-static-theme-index-builder</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>link @libreccm/ccm-static-theme-index-builder</arguments>
</configuration>
</execution>
<execution>
<id>build</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>npm link</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>link</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

View File

@ -0,0 +1 @@
import "bootstrap";

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 175 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 174 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 180 KiB

View File

@ -0,0 +1,63 @@
<#macro "org.librecms.assets.AudioAsset" asset>
<figure>
<audio controls
src="/content-sections/${asset.contentSection}/audiomedia${asset.assetPath}"
width="240"></audio>
<figcaption>${asset.description}</figcaption>
</figure>
</#macro>
<#macro "org.librecms.assets.ExternalAudioAsset" asset>
<figure>
<audio controls src="${asset.url}" width="240"></audio>
<figcaption>${asset.description}</figcaption>
</figure>
</#macro>
<#macro "org.librecms.assets.ExternalVideoAsset" asset>
<figure>
<video controls src="${asset.url}" width="240"></video>
<figcaption>${asset.description}</figcaption>
</figure>
</#macro>
<#macro "org.librecms.assets.FileAsset" asset>
<h3><a href="/content-sections/${asset.contentSection}/files${asset.assetPath}">${asset.title}</a></h3>
<p>${asset.description}</p>
<small>${asset.mimeType} ${asset.size} Bytes</small>
</#macro>
<#macro "org.librecms.assets.Image" asset>
<figure>
<img src="/content-sections/${asset.contentSection}/images${asset.assetPath}"
width="240" />
<figcaption>${asset.description}</figcaption>
</figure>
</#macro>
<#macro "org.librecms.assets.RelatedLink" asset>
<#if asset.externalLink>
<div>
<a href="${asset.targetUrl}">${asset.title}</a>
<svg class="bi"
fill="current-color"
height="1em"
width="1em">
<use xlink:href="${themeUrl}/images/bootstrap-icons.svg#globe" />
</svg>
<span class="visually-hidden">External link</span>
</div>
<#else>
<a href="${asset.targetItemPath}">${asset.title}</a>
</#if>
</#macro>
<#macro "org.librecms.assets.VideoAsset" asset>
<figure>
<video controls
src="/content-sections/${asset.contentSection}/videos${asset.assetPath}"
width="240"></video>
<figcaption>${asset.description}</figcaption>
</figure>
</#macro>

View File

@ -0,0 +1,51 @@
<#import "./main.html.ftl" as main>
<#import "./assets.html.ftl" as assets>
<@main.librecms>
<div class="container">
<div class="row align-items-start justify-content-center">
<div class="col-lg-8">
<#if CmsPagesContentItemTypeModel.itemClass != "">
<#assign itemTemplate = .getOptionalTemplate("./contentitems/${CmsPagesContentItemTypeModel.itemClass}.html.ftl")>
<#if itemTemplate.exists>
<#import "./contentitems/${CmsPagesContentItemTypeModel.itemClass}.html.ftl" as contentitem>
<#else>
<#import "./contentitems/default.html.ftl" as contentitem>
</#if>
<@contentitem.details />
</#if>
</div>
<div class="col-lg-4">
<#list CmsPagesCategorizedItemModel.attachmentLists as attachmentList>
<h2>${attachmentList.title}</h2>
<p class="item-description">${attachmentList.description}</p>
<#list attachmentList.attachments>
<ul class="list-group">
<#items as attachment>
<li class="list-group-item">
<@.vars["assets"][attachment.asset.type] attachment.asset />
</li>
</#items>
</ul>
</#list>
</#list>
</div>
</div>
<#list CmsPagesItemListModel.getItems()>
<div class="row align-items-start">
<div class="col-12">
<ul class="list-group">
<#items as item>
<li class="list-group-item">
<h2>
<a href="/pages/${CmsPagesCategoryModel.category.path}${item.name}.${negotiatedLocale}.html${CmsPagesPageUrlModel.queryString}">${item.title}</a>
</h2>
<p class="item-description">${item.description}</p>
</li>
</#items>
</ul>
</div>
</div>
</div>
</#list>
</@main.librecms>

View File

@ -0,0 +1,7 @@
<#macro details>
<h1>${CmsPagesCategorizedItemModel.title}</h1>
<p class="item-description">${CmsPagesCategorizedItemModel.description}</p>
<div class="alert alert-warning">
No template for ${CmsPagesContentItemTypeModel.itemClass} available
</div>
</#macro>

View File

@ -0,0 +1,17 @@
<#import "../assets.html.ftl" as assets>
<#macro details>
<h1>${CmsPagesCategorizedItemModel.title}</h1>
<p class="item-description">${CmsPagesCategorizedItemModel.description}</p>
<div class="float-end">
<#list CmsPagesCategorizedItemModel.mediaLists as mediaList>
<#list mediaList.attachments as media>
<@.vars["assets"][media.asset.type] media.asset />
</#list>
</#list>
</div>
<div>
${CmsPagesArticleModel.text}
</div>
</#macro>

View File

@ -0,0 +1,25 @@
<#macro details>
<div class="d-flex">
<h1>
${CmsPagesCategorizedItemModel.title}
<span class="badge bg-secondary rounded-pill">
${CmsPagesEventModel.getStartDateTime('yyyy-MM-dd')}
<#if CmsPagesEventModel.getEndDateTime()??>
- ${CmsPagesEventModel.getEndDateTime('yyyy-MM-dd')}
</#if>
</span>
</h1>
</div>
<p class="item-description">${CmsPagesCategorizedItemModel.description}</p>
<div>
${CmsPagesEventModel.text}
</div>
<#if CmsPagesEventModel.location??>
<h2>Location</h2>
<div>
${CmsPagesEventModel.location}
</div>
</#if>
</#macro>

View File

@ -0,0 +1,61 @@
<#macro details>
<h1>${CmsPagesCategorizedItemModel.title}</h1>
<p class="item-description">${CmsPagesCategorizedItemModel.description}</p>
<h2>${CmsPagesMultiPartArticleModel.currentSectionTitle}</h2>
<div>
<nav>
<ul class="flex-column float-end nav">
<#list CmsPagesMultiPartArticleModel.sectionTitles as section>
<li class="nav-item">
<#if section?index == CmsPagesMultiPartArticleModel.currentSection>
<a aria-current="page"
class="active nav-link"
href="${CmsPagesMultiPartArticleModel.sectionLinks[section?index]}">
${section}
</a>
<#else>
<a class="nav-link"
href="${CmsPagesMultiPartArticleModel.sectionLinks[section?index]}">
${section}
</a>
</#if>
</li>
</#list>
</ul>
</nav>
${CmsPagesMultiPartArticleModel.currentSectionText}
<nav>
<ul class="pagination">
<#if CmsPagesMultiPartArticleModel.prevSectionLink != "">
<li class="list-item">
<a class="page-link"
href="${CmsPagesMultiPartArticleModel.prevSectionLink}">
<svg class="bi"
fill="current-color"
height="1em"
width="1em">
<use xlink:href="${themeUrl}/images/bootstrap-icons.svg#caret-left-fill" />
</svg>
<span class="visually-hidden">Previous</span>
</a>
</li>
</#if>
<#if CmsPagesMultiPartArticleModel.nextSectionLink != "">
<li class="list-item">
<a class="page-link"
href="${CmsPagesMultiPartArticleModel.nextSectionLink}">
<svg class="bi"
fill="current-color"
height="1em"
width="1em">
<use xlink:href="${themeUrl}/images/bootstrap-icons.svg#caret-right-fill" />
</svg>
<span class="visually-hidden">Next</span>
</a>
</li>
</#if>
</ul>
</nav>
</div>
</#macro>

View File

@ -0,0 +1,15 @@
<#macro details>
<div class="d-flex">
<h1>
${CmsPagesCategorizedItemModel.title}
<span class="badge bg-secondary rounded-pill">
${CmsPagesNewsModel.getReleaseDate('yyyy-MM-dd')}
</span>
</h1>
</div>
<p class="item-description">${CmsPagesCategorizedItemModel.description}</p>
<div>
${CmsPagesNewsModel.text}
</div>
</#macro>

View File

@ -0,0 +1,21 @@
<!DOCTYPE html>
<html>
<head>
<link href="${themeUrl}/styles/librecms.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Default Template</title>
</head>
<body>
<div class="container">
<p>This theme works.</p>
<dl>
<dt>application</dt>
<dd>${application}</dd>
<dt>themeUrl</dt>
<dd>${themeUrl}</dd>
<dt>view</dt>
<dd>${view!""}</dd>
</dl>
</div>
</body>
</html>

View File

@ -0,0 +1,48 @@
<#import "./main.html.ftl" as main>
<#-- <#import "./contentitems/${CmsPagesContentItemTypeModel.itemClass}.html.ftl" as contentitem> -->
<@main.librecms>
<div class="container">
<div class="row align-items-start justify-content-center">
<div class="col-lg-8">
<#if CmsPagesContentItemTypeModel.itemClass != "">
<#assign itemTemplate = .getOptionalTemplate("./contentitems/${CmsPagesContentItemTypeModel.itemClass}.html.ftl")>
<#if itemTemplate.exists>
<#import "./contentitems/${CmsPagesContentItemTypeModel.itemClass}.html.ftl" as contentitem>
<#else>
<#import "./contentitems/default.html.ftl" as contentitem>
</#if>
<@contentitem.details />
</#if>
</div>
<div class="col-lg-4">
<!-- Attachments -->
<h2>Notes</h2>
<ul class="list-group mb-4">
<li class="list-group-item">
<p>
A side note with some text
</p>
<p>
Occaecat sit eu ipsum irure. Enim consectetur aute anim proident sint dolor sint ea ex eu adipisicing et. Veniam laborum mollit velit incididunt aliquip do esse officia eu ea nostrud nulla.
</p>
</li>
</ul>
<h2>More information</h2>
<p>
Consequat occaecat eu ullamco amet id tempor.
</p>
<ul class="list-group mb-4">
<li class="list-group-item">
<p>Anim ex ut reprehenderit in enim id proident duis pariatur est anim do.</p>
<a href="https://example.com">A related link</a>
</li>
<li class="list-group-item">
<p>Quis minim deserunt incididunt ea voluptate laboris fugiat elit nulla.</p>
<a href="https://example.com">Some download link</a>
</li>
</ul>
</div>
</div>
</div>
</@main.librecms>

View File

@ -0,0 +1,173 @@
<#import "./main.html.ftl" as main>
<@main.librecms>
<div class="container">
<div class="row align-items-center">
<div class="col">
<div class="bg-light mb-4 rounded-3">
<div class="container-fluid py-5">
<#if CmsPagesCategorizedItemModel.itemAvailable>
<h1 class="display-5 fw-bold">
${CmsPagesCategorizedItemModel.title}
</h1>
<p>
${CmsPagesCategorizedItemModel.description}
</p>
<a class="btn btn-primary btn-lg"
href="#">
Find out more
</a>
<#else>
<h1 class="display-5 fw-bold">
LibreCMS
</h1>
<p>
No index item has been defined.
</p>
<a class="btn btn-primary btn-lg"
href="https://www.libreccm.org">
Find out more
</a>
</#if>
</div>
</div>
<#-- <#if CmsPagesCategorizedItemModel.itemAvailable>
Category has an index item
<#else>
Category has no index item
</#if>
<h2>Index page</h2>
<p>This theme works.</p>
<dl>
<dt>application</dt>
<dd>${application}</dd>
<dt>themeUrl</dt>
<dd>${themeUrl}</dd>
<dt>view</dt>
<dd>${view!""}</dd>
</dl>
<h2>From <code>ArticleModel</code></h2>
<dl>
<dt>Title</dt>
<dd>${CmsPagesArticleModel.title}</dd>
<dt>Description</dt>
<dd>${CmsPagesArticleModel.description}</dd>
<dt>Text</dt>
<dd>${CmsPagesArticleModel.text}</dd>
</dl>
</div> -->
</div>
<div class="row align-items-start justify-content-center">
<#list CmsPagesItemListModel.getItems("newslist")>
<div class="col">
<h2>News</h2>
<ul class="list-group">
<#items as news>
<li class="list-group-item">
<h3 class="d-flex w-100 justify-content-between">
<div>
<a href="/pages${CmsPagesCategoryModel.category.path}${news.name}.${negotiatedLocale}.html${CmsPagesPageUrlModel.queryString}">${news.title}</a>
</div>
<#-- <div>${news.getReleaseDate('yyyy-MM-dd')}</div> -->
<div>${news.getReleaseDate('dd. MMM yyyy')}</div>
</h3>
<p class="item-description">${news.description}</p>
</li>
</#items>
</ul>
</div>
</#list>
<#list CmsPagesItemListModel.getItems("eventlist")>
<div class="col">
<h2>Upcoming events</h2>
<ul class="list-group">
<#items as event>
<li class="list-group-item">
<h3 class="d-flex w-100 justify-content-between">
<div>
<a href="/pages${CmsPagesCategoryModel.category.path}${event.name}.${negotiatedLocale}.html${CmsPagesPageUrlModel.queryString}">${event.title}</a>
</div>
<div>${event.getStartDate('dd. MMM yyyy HH:mm')}</div>
</h3>
<p class="item-description">${event.description}</p>
</li>
</#items>
</ul>
</div>
</#list>
</div>
<#-- <h2>Item List</h2>
<p>Item List size: ${CmsPagesItemListModel.listSize}</p>
<dl>
<dt>Item List size:</dt>
<dd>${CmsPagesItemListModel.listSize}</dd>
<dt>Page size</dt>
<dd>${CmsPagesItemListModel.pageSize}</dd>
<dt>Page</dt>
<dd>${CmsPagesItemListModel.page}</dd>
<dt>Offset</dt>
<dd>${CmsPagesItemListModel.offset}</dd>
</dl>
<ul>
<#list CmsPagesItemListModel.items as item>
<li>
<dl>
<dt>UUID</dt>
<dd>${item.uuid}</dd>
<dt>displayName</dt>
<dd>${item.displayName}</dd>
<dt>Name</dt>
<dd>${item.name}</dd>
<dt>Title</dt>
<dd>${item.title}</dd>
<dt>description</dt>
<dd>${item.description}</dd>
<dt>Type</dt>
<dd>${item.type}</dd>
</dl>
</li>
</#list>
</ul>
</div>
<h2>News List</h2>
<p>News List size: ${CmsPagesItemListModel.getListSize("newslist")}</p>
<dl>
<dt>Item List size:</dt>
<dd>${CmsPagesItemListModel.getListSize("newslist")}</dd>
<dt>Page size</dt>
<dd>${CmsPagesItemListModel.getPageSize("newslist")}</dd>
<dt>Page</dt>
<dd>${CmsPagesItemListModel.getPage("newslist")}</dd>
<dt>Offset</dt>
<dd>${CmsPagesItemListModel.getOffset("newslist")}</dd>
</dl>
<ul>
<#list CmsPagesItemListModel.getItems("newslist") as item>
<li>
<dl>
<dt>UUID</dt>
<dd>${item.uuid}</dd>
<dt>displayName</dt>
<dd>${item.displayName}</dd>
<dt>Name</dt>
<dd>${item.name}</dd>
<dt>Title</dt>
<dd>${item.title}</dd>
<dt>description</dt>
<dd>${item.description}</dd>
<dt>Type</dt>
<dd>${item.type}</dd>
</dl>
</li>
</#list>
</ul>
</div> -->
</@main.librecms>

View File

@ -0,0 +1,50 @@
<#macro librecms scripts=[]>
<!DOCTYPE html>
<html>
<head>
<link href="${themeUrl}/styles/librecms.css" rel="stylesheet" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Default Template</title>
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg navbar-expand navbar-light bg-light">
<div class="container-fluid">
<a class="navbar-brand"
href="/pages">
<img class="theme-logo img-fluid"
src="${themeUrl}/images/librecms.svg" />
</a>
<button aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
class="navbar-toggler"
data-bs-toggle="collapse"
data-bs-target="#navbar-items"
type="button">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse"
id="navbar-items">
<ul class="navbar-nav me-auto mb-2 mb-lg-0">
<#list CmsPagesCategoryModel.categoryTree.subCategories as category>
<li ${category.selected?then("aria-selected=\"page\"","")}
class="nav-item ${category.selected?then( "active","")}">
<a class="nav-link"
href="/pages${category.categoryPath}/index.${negotiatedLocale}.html${CmsPagesPageUrlModel.queryString}">
${category.title}
</a>
</li>
</#list>
</ul>
</div>
</div>
</nav>
</header>
<main>
<#nested>
</main>
<script src="${themeUrl}/scripts/librecms.js"></script>
</body>
</html>
</#macro>

View File

@ -0,0 +1,121 @@
{
"name": "librecms",
"type": "freemarker",
"master-theme": null,
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "LibreCMS Default Theme"
},
{
"lang": "de",
"value": "LibreCMS Standard Theme"
}
]
}
},
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "The LibreCMS default theme"
},
{
"lang": "de",
"value": "Das LibreCMS Standard Theme"
}
]
}
},
"mvc-templates": {
"category-page": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Template for category pages."
}
]
}
},
"name": "Category Page Template",
"path": "templates/category-page.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Category Page Template"
}
]
}
}
},
"default": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Default Template used if no other template fits."
}
]
}
},
"name": "Default Template",
"path": "templates/default.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Default Template"
}
]
}
}
},
"index-page": {
"description": {
"values": {
"value": [
{
"lang": "en",
"value": "Template for the index page of a site."
}
]
}
},
"name": "index-page",
"path": "templates/index-page.html.ftl",
"title": {
"values": {
"value": [
{
"lang": "en",
"value": "Index Page"
}
]
}
}
}
},
"views": {
"default": {
"default": "default",
"@default": "default"
},
"pages": {
"category-page": "category-page",
"index": "index-page",
"default": "default",
"@default": "default"
}
}
}

View File

@ -0,0 +1,15 @@
$primary: #0A9793;
a.navbar-brand {
max-width: 15%;
}
.imgbox-button {
background-color: transparent;
border: none;
padding: 0;
}
.item-description {
white-space: pre-wrap;
}

View File

@ -0,0 +1,2 @@
@import "custom";
@import "../../../node_modules/bootstrap/scss/bootstrap"

View File

@ -0,0 +1 @@
import "bootstrap";

View File

@ -0,0 +1,14 @@
{
"compilerOptions": {
"allowSyntheticDefaultImports": true,
"declaration": true,
"lib": ["DOM", "ES2016"],
"module": "commonjs",
"moduleResolution": "node",
"outDir": "scripts",
"sourceMap": true,
"strict": true,
"target": "ES6"
},
"include": ["src/main/typescript/**/*"]
}

View File

@ -0,0 +1,25 @@
module.exports = {
mode: "development",
devtool: "source-map",
optimization: {
chunkIds: false
},
entry: {
librecms: "./src/main/typescript/librecms.ts"
},
output: {
filename: "[name].js",
path: __dirname + "/target/generated-resources/themes/librecms/scripts"
},
resolve: {
extensions: [".tsx", ".ts", ".js", ".jsx"],
},
module: {
rules: [
// all files with a '.ts' or '.tsx' extension will be handled by 'ts-loader'
{ test: /\.tsx?$/, use: ["ts-loader"], exclude: /node_modules/ },
],
}
}

View File

@ -75,16 +75,16 @@
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${nodeVersion}</nodeVersion>
<nodeVersion>v16.14.2</nodeVersion>
</configuration>
</execution>
<execution>
<id>install ccm-pagemodelseditor</id>
<id>npm link @libreccm/ccm-pagemodelseditor</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install ../ccm-pagemodelseditor</arguments>
<arguments>link @libreccm/ccm-pagemodelseditor</arguments>
</configuration>
</execution>
<execution>
@ -93,6 +93,16 @@
<goal>npm</goal>
</goals>
</execution>
<!-- Sync Maven module version and NPM module version -->
<execution>
<id>npm version</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>version --allow-same-version=true ${project.version}</arguments>
</configuration>
</execution>
<execution>
<id>build</id>
<goals>
@ -102,6 +112,15 @@
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>npm link</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>link</arguments>
</configuration>
</execution>
</executions>
</plugin>

View File

@ -5,7 +5,7 @@
"requires": true,
"dependencies": {
"@libreccm/ccm-pagemodelseditor": {
"version": "file:../ccm-pagemodelseditor",
"version": "7.0.0",
"requires": {
"react": "^16.4.2",
"react-dom": "^16.4.2",

View File

@ -15,7 +15,7 @@
"tslint": "tslint --project ."
},
"dependencies": {
"@libreccm/ccm-pagemodelseditor": "file:../ccm-pagemodelseditor",
"@libreccm/ccm-pagemodelseditor": "7.0.0",
"react": "^16.4.2",
"react-dom": "^16.4.2"
},

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
@ -7,6 +8,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<timestamp>${maven.build.timestamp}</timestamp>
<maven.build.timestamp.format>yyyy-MM-dd'T'HH:mm:ss'Z'Z</maven.build.timestamp.format>
<buildNumber></buildNumber>
</properties>
<parent>
@ -57,6 +59,71 @@
<plugins>
<!-- <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-remote-resources-plugin</artifactId> <version>1.5</version> <configuration> <resourceBundles>
<resourceBundle>org.libreccm:ccm-pagemodelseditor:${project.version}</resourceBundle> </resourceBundles> </configuration> <executions> <execution> <goals> <goal>process</goal> </goals> </execution> </executions> </plugin> -->
<!--<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<executions>
<execution>
<id>npm install</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>npm</executable>
<arguments>
<argument>install</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npm link @libreccm/ccm-pagemodelseditor</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>npm</executable>
<arguments>
<argument>link</argument>
<argument>@libreccm/ccm-pagemodelseditor</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npm run build</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>npm</executable>
<arguments>
<argument>run</argument>
<argument>build</argument>
</arguments>
</configuration>
</execution>
<execution>
<id>npm link</id>
<phase>package</phase>
<goals>
<goal>exec</goal>
</goals>
<configuration>
<executable>npm</executable>
<arguments>
<argument>link</argument>
</arguments>
</configuration>
</execution>
</executions>
</plugin>-->
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
@ -72,16 +139,16 @@
<goal>install-node-and-npm</goal>
</goals>
<configuration>
<nodeVersion>${nodeVersion}</nodeVersion>
<nodeVersion>v16.14.2</nodeVersion>
</configuration>
</execution>
<execution>
<id>install ccm-pagemodelseditor</id>
<id>npm link @libreccm/ccm-pagemodelseditor</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>install ../ccm-pagemodelseditor</arguments>
<arguments>link @libreccm/ccm-pagemodelseditor</arguments>
</configuration>
</execution>
<execution>
@ -90,6 +157,16 @@
<goal>npm</goal>
</goals>
</execution>
<!-- Sync Maven module version and NPM module version -->
<execution>
<id>npm version</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>version --allow-same-version=true ${project.version}${buildNumber}</arguments>
</configuration>
</execution>
<execution>
<id>build</id>
<goals>
@ -99,17 +176,26 @@
<arguments>run build</arguments>
</configuration>
</execution>
<execution>
<id>npm link</id>
<goals>
<goal>npm</goal>
</goals>
<configuration>
<arguments>link</arguments>
</configuration>
</execution>
<execution>
<id>npm publish</id>
<goals>
<goal>npm</goal>
</goals>
<phase>deploy</phase>
<configuration>
<arguments>publish --userconfig ../libreccm.npmrc</arguments>
<arguments>publish -userconfig ../libreccm.npmrc</arguments>
</configuration>
</execution>
</executions>
@ -117,4 +203,18 @@
</plugins>
</build>
<profiles>
<profile>
<id>with-buildnumber</id>
<activation>
<property>
<name>env.BUILD_NUMBER</name>
</property>
</activation>
<properties>
<buildNumber>.${env.BUILD_NUMBER}</buildNumber>
</properties>
</profile>
</profiles>
</project>

View File

@ -74,6 +74,12 @@
<scope>provided</scope>
</dependency>
<!-- Dependencies for log4j 2 -->
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-api</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
@ -138,8 +144,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<source>11</source>
<target>11</target>
<optimize>true</optimize>
<debug>true</debug>
<encoding>${project.build.sourceEncoding}</encoding>
@ -215,13 +221,8 @@
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<detectLinks>true</detectLinks>
<detectJavaApiLinks>true</detectJavaApiLinks>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
<link>http://docs.oracle.com/javaee/7/api/</link>
<link>http://docs.jboss.org/hibernate/orm/4.3/javadocs/</link>
</links>
<detectLinks>false</detectLinks>
<detectJavaApiLinks>false</detectJavaApiLinks>
<show>private</show>
<docfilessubdirs>true</docfilessubdirs>
<charset>UTF-8</charset>
@ -232,14 +233,6 @@
<author>true</author>
<keywords>true</keywords>
<failOnError>false</failOnError>
<doclet>org.jboss.apiviz.APIviz</doclet>
<docletArtifact>
<groupId>org.jboss.apiviz</groupId>
<artifactId>apiviz</artifactId>
<version>1.3.2.GA</version>
</docletArtifact>
<useStandardDocletOptions>true</useStandardDocletOptions>
<additionalparam>-sourceclasspath ${project.build.outputDirectory}</additionalparam>
</configuration>
</plugin>
@ -262,7 +255,7 @@
<configuration>
<linkXref>true</linkXref>
<sourceEncoding>utf-8</sourceEncoding>
<targetJdk>1.8</targetJdk>
<targetJdk>11</targetJdk>
<!-- <rulesets>
<ruleset>/rulesets/java/basic.xml</ruleset>
<ruleset>/rulesets/java/braces.xml</ruleset>

View File

@ -1,117 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import org.librecms.assets.Person;
import org.librecms.contentsection.AssetRepository;
import org.librecms.contentsection.ContentItemRepository;
import org.librecms.profilesite.ProfileSiteItem;
import java.util.Locale;
import javax.enterprise.context.RequestScoped;
import javax.inject.Inject;
import javax.transaction.Transactional;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
@RequestScoped
class ProfileSiteItemController {
public static final String OWNER = "owner";
public static final String POSITION = "position";
public static final String INTERSETS = "interests";
public static final String MISC = "misc";
@Inject
private AssetRepository assetRepository;
@Inject
private ContentItemRepository itemRepository;
@Transactional(Transactional.TxType.REQUIRED)
public void setOwner(final long profileSiteItemId, final long ownerId) {
final ProfileSiteItem profileSiteItem = itemRepository
.findById(profileSiteItemId, ProfileSiteItem.class)
.orElseThrow(
() -> new IllegalArgumentException(
String.format(
"No ProfileSiteItem with ID %d found.",
profileSiteItemId
)
)
);
final Person owner = assetRepository
.findById(ownerId, Person.class)
.orElseThrow(
() -> new IllegalArgumentException(
String.format(
"No Person with ID %d found.", ownerId
)
)
);
profileSiteItem.setOwner(owner);
itemRepository.save(profileSiteItem);
}
public void setPosition(
final long profileSiteItemId, final String position, final Locale locale
) {
final ProfileSiteItem profileSiteItem = itemRepository
.findById(profileSiteItemId, ProfileSiteItem.class)
.orElseThrow(
() -> new IllegalArgumentException(
String.format(
"No ProfileSiteItem with ID %d found.",
profileSiteItemId
)
)
);
profileSiteItem.getPosition().addValue(locale, position);
}
public void setInterests(
final long profileSiteItemId,
final String interests,
final Locale locale
) {
final ProfileSiteItem profileSiteItem = itemRepository
.findById(profileSiteItemId, ProfileSiteItem.class)
.orElseThrow(
() -> new IllegalArgumentException(
String.format(
"No ProfileSiteItem with ID %d found.",
profileSiteItemId
)
)
);
profileSiteItem.getInterests().addValue(locale, interests);
}
public void setMisc(
final long profileSiteItemId, final String misc, final Locale locale
) {
final ProfileSiteItem profileSiteItem = itemRepository
.findById(profileSiteItemId, ProfileSiteItem.class)
.orElseThrow(
() -> new IllegalArgumentException(
String.format(
"No ProfileSiteItem with ID %d found.",
profileSiteItemId
)
)
);
profileSiteItem.getMisc().addValue(locale, misc);
}
}

View File

@ -1,80 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.FormData;
import com.arsdigita.bebop.FormProcessException;
import com.arsdigita.bebop.PageState;
import com.arsdigita.bebop.event.FormSectionEvent;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.assets.AssetSearchWidget;
import com.arsdigita.cms.ui.authoring.CreationSelector;
import com.arsdigita.cms.ui.authoring.PageCreateForm;
import com.arsdigita.globalization.GlobalizedMessage;
import org.librecms.assets.Person;
import org.librecms.contentsection.ContentItemInitializer;
import org.librecms.profilesite.ProfileSiteConstants;
import org.librecms.profilesite.ProfileSiteItem;
import java.util.Locale;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemCreate extends PageCreateForm {
private final static String OWNER_SEARCH = "owner";
private AssetSearchWidget ownerSearch;
public ProfileSiteItemCreate(
final ItemSelectionModel itemModel,
final CreationSelector creationSelector,
final StringParameter selectedLanguageParam
) {
super(itemModel, creationSelector, selectedLanguageParam);
}
@Override
public void addWidgets() {
ownerSearch = new AssetSearchWidget(OWNER_SEARCH, Person.class);
ownerSearch.setLabel(
new GlobalizedMessage(
"profile_site.owner.label", ProfileSiteConstants.BUNDLE
)
);
add(ownerSearch);
}
@Override
public void validate(final FormSectionEvent event)
throws FormProcessException {
super.validate(event);
final FormData formData = event.getFormData();
if (!formData.containsKey(OWNER_SEARCH)
|| formData.get(OWNER_SEARCH) == null) {
formData.addError(
new GlobalizedMessage(
"profile_site.owner.not_selected",
ProfileSiteConstants.BUNDLE
)
);
}
}
@Override
protected ContentItemInitializer<ProfileSiteItem> getItemInitializer(
final FormData formData, final PageState state
) {
return (item) -> item.setOwner((Person) formData.get(OWNER_SEARCH));
}
}

View File

@ -1,108 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.FormData;
import com.arsdigita.bebop.FormProcessException;
import com.arsdigita.bebop.Label;
import com.arsdigita.bebop.PageState;
import com.arsdigita.bebop.event.FormInitListener;
import com.arsdigita.bebop.event.FormProcessListener;
import com.arsdigita.bebop.event.FormSectionEvent;
import com.arsdigita.bebop.form.TextArea;
import com.arsdigita.bebop.parameters.ParameterModel;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.BasicItemForm;
import com.arsdigita.cms.ui.authoring.SelectedLanguageUtil;
import com.arsdigita.globalization.GlobalizedMessage;
import org.libreccm.cdi.utils.CdiUtil;
import org.librecms.profilesite.ProfileSiteConstants;
import org.librecms.profilesite.ProfileSiteItem;
import java.util.Locale;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemInterestsForm
extends BasicItemForm
implements FormProcessListener, FormInitListener {
private final StringParameter selectedLangParam;
public ProfileSiteItemInterestsForm(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
super("ProfileSiteItemEditInterests", itemModel, selectedLangParam);
this.selectedLangParam = selectedLangParam;
}
@Override
public void addWidgets() {
add(
new Label(
new GlobalizedMessage(
"profile_site_item.ui.interests",
ProfileSiteConstants.BUNDLE
)
)
);
final ParameterModel interestsParam = new StringParameter(
ProfileSiteItemController.POSITION);
final TextArea interests = new TextArea(interestsParam);
interests.setCols(80);
interests.setRows(8);
add(interests);
}
@Override
public void init(final FormSectionEvent event) throws FormProcessException {
final PageState state = event.getPageState();
final FormData data = event.getFormData();
final ProfileSiteItem profile
= (ProfileSiteItem) getItemSelectionModel()
.getSelectedItem(state);
data.put(ProfileSiteItemController.POSITION, profile.getInterests());
setVisible(state, true);
}
@Override
public void process(final FormSectionEvent event)
throws FormProcessException {
final PageState state = event.getPageState();
final FormData data = event.getFormData();
final ProfileSiteItem profile
= (ProfileSiteItem) getItemSelectionModel()
.getSelectedItem(state);
if ((profile != null)
&& getSaveCancelSection().getSaveButton().isSelected(state)) {
final ProfileSiteItemController controller = CdiUtil
.createCdiUtil()
.findBean(ProfileSiteItemController.class);
final Locale selectedLocale = SelectedLanguageUtil.selectedLocale(
state, selectedLangParam
);
controller.setInterests(
profile.getObjectId(),
(String) data.get(ProfileSiteItemController.POSITION),
selectedLocale
);
}
init(event);
}
}

View File

@ -1,81 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.Component;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
import com.arsdigita.cms.ui.authoring.BasicItemForm;
import com.arsdigita.cms.ui.authoring.SimpleEditStep;
import com.arsdigita.cms.ui.workflow.WorkflowLockedComponentAccess;
import com.arsdigita.globalization.GlobalizedMessage;
import com.arsdigita.toolbox.ui.DomainObjectPropertySheet;
import org.librecms.profilesite.ProfileSiteConstants;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemInterestsStep extends SimpleEditStep {
private String EDIT_POSITION_SHEET_NAME = "editInterests";
public ProfileSiteItemInterestsStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam
) {
this(itemModel, parent, selectedLangParam, null);
}
public ProfileSiteItemInterestsStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam,
final String prefix
) {
super(itemModel, parent, selectedLangParam, prefix);
final BasicItemForm editInterestsForm = new ProfileSiteItemInterestsForm(
itemModel, selectedLangParam
);
add(
EDIT_POSITION_SHEET_NAME,
new GlobalizedMessage(
"profile_site_site.ui.interests.edit",
ProfileSiteConstants.BUNDLE
),
new WorkflowLockedComponentAccess(parent, itemModel),
editInterestsForm.getSaveCancelSection().getCancelButton()
);
setDisplayComponent(getProfileSiteItemInterestsSheet(
itemModel, selectedLangParam)
);
}
public static final Component getProfileSiteItemInterestsSheet(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
final DomainObjectPropertySheet sheet = new DomainObjectPropertySheet(
itemModel, false, selectedLangParam
);
sheet.add(
new GlobalizedMessage(
"profile_site_item.ui.interests",
ProfileSiteConstants.BUNDLE
),
ProfileSiteItemController.POSITION
);
return sheet;
}
}

View File

@ -1,108 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.FormData;
import com.arsdigita.bebop.FormProcessException;
import com.arsdigita.bebop.Label;
import com.arsdigita.bebop.PageState;
import com.arsdigita.bebop.event.FormInitListener;
import com.arsdigita.bebop.event.FormProcessListener;
import com.arsdigita.bebop.event.FormSectionEvent;
import com.arsdigita.bebop.form.TextArea;
import com.arsdigita.bebop.parameters.ParameterModel;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.BasicItemForm;
import com.arsdigita.cms.ui.authoring.SelectedLanguageUtil;
import com.arsdigita.globalization.GlobalizedMessage;
import org.libreccm.cdi.utils.CdiUtil;
import org.librecms.profilesite.ProfileSiteConstants;
import org.librecms.profilesite.ProfileSiteItem;
import java.util.Locale;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemMiscForm
extends BasicItemForm
implements FormProcessListener, FormInitListener {
private final StringParameter selectedLangParam;
public ProfileSiteItemMiscForm(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
super("ProfileSiteItemEditMisc", itemModel, selectedLangParam);
this.selectedLangParam = selectedLangParam;
}
@Override
public void addWidgets() {
add(
new Label(
new GlobalizedMessage(
"profile_site_item.ui.misc",
ProfileSiteConstants.BUNDLE
)
)
);
final ParameterModel miscParam = new StringParameter(
ProfileSiteItemController.POSITION);
final TextArea misc = new TextArea(miscParam);
misc.setCols(80);
misc.setRows(8);
add(misc);
}
@Override
public void init(final FormSectionEvent event) throws FormProcessException {
final PageState state = event.getPageState();
final FormData data = event.getFormData();
final ProfileSiteItem profile
= (ProfileSiteItem) getItemSelectionModel()
.getSelectedItem(state);
data.put(ProfileSiteItemController.POSITION, profile.getMisc());
setVisible(state, true);
}
@Override
public void process(final FormSectionEvent event)
throws FormProcessException {
final PageState state = event.getPageState();
final FormData data = event.getFormData();
final ProfileSiteItem profile
= (ProfileSiteItem) getItemSelectionModel()
.getSelectedItem(state);
if ((profile != null)
&& getSaveCancelSection().getSaveButton().isSelected(state)) {
final ProfileSiteItemController controller = CdiUtil
.createCdiUtil()
.findBean(ProfileSiteItemController.class);
final Locale selectedLocale = SelectedLanguageUtil.selectedLocale(
state, selectedLangParam
);
controller.setMisc(
profile.getObjectId(),
(String) data.get(ProfileSiteItemController.POSITION),
selectedLocale
);
}
init(event);
}
}

View File

@ -1,81 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.Component;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
import com.arsdigita.cms.ui.authoring.BasicItemForm;
import com.arsdigita.cms.ui.authoring.SimpleEditStep;
import com.arsdigita.cms.ui.workflow.WorkflowLockedComponentAccess;
import com.arsdigita.globalization.GlobalizedMessage;
import com.arsdigita.toolbox.ui.DomainObjectPropertySheet;
import org.librecms.profilesite.ProfileSiteConstants;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemMiscStep extends SimpleEditStep {
private String EDIT_POSITION_SHEET_NAME = "editMisc";
public ProfileSiteItemMiscStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam
) {
this(itemModel, parent, selectedLangParam, null);
}
public ProfileSiteItemMiscStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam,
final String prefix
) {
super(itemModel, parent, selectedLangParam, prefix);
final BasicItemForm editMiscForm = new ProfileSiteItemMiscForm(
itemModel, selectedLangParam
);
add(
EDIT_POSITION_SHEET_NAME,
new GlobalizedMessage(
"profile_site_site.ui.misc.edit",
ProfileSiteConstants.BUNDLE
),
new WorkflowLockedComponentAccess(parent, itemModel),
editMiscForm.getSaveCancelSection().getCancelButton()
);
setDisplayComponent(getProfileSiteItemMiscSheet(
itemModel, selectedLangParam)
);
}
public static final Component getProfileSiteItemMiscSheet(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
final DomainObjectPropertySheet sheet = new DomainObjectPropertySheet(
itemModel, false, selectedLangParam
);
sheet.add(
new GlobalizedMessage(
"profile_site_item.ui.misc",
ProfileSiteConstants.BUNDLE
),
ProfileSiteItemController.POSITION
);
return sheet;
}
}

View File

@ -1,108 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.FormData;
import com.arsdigita.bebop.FormProcessException;
import com.arsdigita.bebop.Label;
import com.arsdigita.bebop.PageState;
import com.arsdigita.bebop.event.FormInitListener;
import com.arsdigita.bebop.event.FormProcessListener;
import com.arsdigita.bebop.event.FormSectionEvent;
import com.arsdigita.bebop.form.TextArea;
import com.arsdigita.bebop.parameters.ParameterModel;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.BasicItemForm;
import com.arsdigita.cms.ui.authoring.SelectedLanguageUtil;
import com.arsdigita.globalization.GlobalizedMessage;
import org.libreccm.cdi.utils.CdiUtil;
import org.librecms.profilesite.ProfileSiteConstants;
import org.librecms.profilesite.ProfileSiteItem;
import java.util.Locale;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemPositionForm
extends BasicItemForm
implements FormProcessListener, FormInitListener {
private final StringParameter selectedLangParam;
public ProfileSiteItemPositionForm(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
super("ProfileSiteItemEditPosition", itemModel, selectedLangParam);
this.selectedLangParam = selectedLangParam;
}
@Override
public void addWidgets() {
add(
new Label(
new GlobalizedMessage(
"profile_site_item.ui.position",
ProfileSiteConstants.BUNDLE
)
)
);
final ParameterModel positionParam = new StringParameter(
ProfileSiteItemController.POSITION);
final TextArea position = new TextArea(positionParam);
position.setCols(80);
position.setRows(8);
add(position);
}
@Override
public void init(final FormSectionEvent event) throws FormProcessException {
final PageState state = event.getPageState();
final FormData data = event.getFormData();
final ProfileSiteItem profile
= (ProfileSiteItem) getItemSelectionModel()
.getSelectedItem(state);
data.put(ProfileSiteItemController.POSITION, profile.getPosition());
setVisible(state, true);
}
@Override
public void process(final FormSectionEvent event)
throws FormProcessException {
final PageState state = event.getPageState();
final FormData data = event.getFormData();
final ProfileSiteItem profile
= (ProfileSiteItem) getItemSelectionModel()
.getSelectedItem(state);
if ((profile != null)
&& getSaveCancelSection().getSaveButton().isSelected(state)) {
final ProfileSiteItemController controller = CdiUtil
.createCdiUtil()
.findBean(ProfileSiteItemController.class);
final Locale selectedLocale = SelectedLanguageUtil.selectedLocale(
state, selectedLangParam
);
controller.setPosition(
profile.getObjectId(),
(String) data.get(ProfileSiteItemController.POSITION),
selectedLocale
);
}
init(event);
}
}

View File

@ -1,81 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.Component;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
import com.arsdigita.cms.ui.authoring.BasicItemForm;
import com.arsdigita.cms.ui.authoring.SimpleEditStep;
import com.arsdigita.cms.ui.workflow.WorkflowLockedComponentAccess;
import com.arsdigita.globalization.GlobalizedMessage;
import com.arsdigita.toolbox.ui.DomainObjectPropertySheet;
import org.librecms.profilesite.ProfileSiteConstants;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemPositionStep extends SimpleEditStep {
private String EDIT_POSITION_SHEET_NAME = "editPosition";
public ProfileSiteItemPositionStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam
) {
this(itemModel, parent, selectedLangParam, null);
}
public ProfileSiteItemPositionStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam,
final String prefix
) {
super(itemModel, parent, selectedLangParam, prefix);
final BasicItemForm editPositionForm = new ProfileSiteItemPositionForm(
itemModel, selectedLangParam
);
add(
EDIT_POSITION_SHEET_NAME,
new GlobalizedMessage(
"profile_site_site.ui.position.edit",
ProfileSiteConstants.BUNDLE
),
new WorkflowLockedComponentAccess(parent, itemModel),
editPositionForm.getSaveCancelSection().getCancelButton()
);
setDisplayComponent(getProfileSiteItemPositionSheet(
itemModel, selectedLangParam)
);
}
public static final Component getProfileSiteItemPositionSheet(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
final DomainObjectPropertySheet sheet = new DomainObjectPropertySheet(
itemModel, false, selectedLangParam
);
sheet.add(
new GlobalizedMessage(
"profile_site_item.ui.position",
ProfileSiteConstants.BUNDLE
),
ProfileSiteItemController.POSITION
);
return sheet;
}
}

View File

@ -1,116 +0,0 @@
/*
* To change this license header, choose License Headers in Project Properties.
* To change this template file, choose Tools | Templates
* and open the template in the editor.
*/
package com.arsdigita.cms.contenttypes.ui;
import com.arsdigita.bebop.Component;
import com.arsdigita.bebop.Label;
import com.arsdigita.bebop.PageState;
import com.arsdigita.bebop.SegmentedPanel;
import com.arsdigita.bebop.parameters.StringParameter;
import com.arsdigita.cms.ItemSelectionModel;
import com.arsdigita.cms.ui.authoring.AuthoringKitWizard;
import com.arsdigita.cms.ui.authoring.BasicPageForm;
import com.arsdigita.cms.ui.authoring.SimpleEditStep;
import com.arsdigita.cms.ui.workflow.WorkflowLockedComponentAccess;
import com.arsdigita.globalization.GlobalizedMessage;
import com.arsdigita.toolbox.ui.DomainObjectPropertySheet;
import org.librecms.assets.Person;
import org.librecms.profilesite.ProfileSiteConstants;
import org.librecms.profilesite.ProfileSiteItem;
/**
*
* @author <a href="mailto:jens.pelzetter@googlemail.com">Jens Pelzetter</a>
*/
public class ProfileSiteItemPropertiesStep extends SimpleEditStep {
public static final String EDIT_SHEET_NAME = "editProfileSiteItem";
public ProfileSiteItemPropertiesStep(
final ItemSelectionModel itemModel,
final AuthoringKitWizard parent,
final StringParameter selectedLangParam
) {
super(itemModel, parent, selectedLangParam);
setDefaultEditKey(EDIT_SHEET_NAME);
final SimpleEditStep basicProperties = new SimpleEditStep(
itemModel, parent, selectedLangParam, EDIT_SHEET_NAME
);
final BasicPageForm editBasicSheet = new ProfileSiteItemPropertyForm(
itemModel, this, selectedLangParam
);
basicProperties.add(
EDIT_SHEET_NAME,
new GlobalizedMessage(
ProfileSiteConstants.BUNDLE,
"profile_site.ui.edit_basic_properties"
),
new WorkflowLockedComponentAccess(editBasicSheet, itemModel),
editBasicSheet.getSaveCancelSection().getCancelButton()
);
basicProperties.setDisplayComponent(
getProfileSiteItemPropertiesSheet(itemModel, selectedLangParam)
);
final SegmentedPanel segmentedPanel = new SegmentedPanel();
segmentedPanel.addSegment(
new Label(
new GlobalizedMessage(
ProfileSiteConstants.BUNDLE,
"profile_site.ui.basic_properties"
)
),
basicProperties
);
setDisplayComponent(segmentedPanel);
}
public static Component getProfileSiteItemPropertiesSheet(
final ItemSelectionModel itemModel,
final StringParameter selectedLangParam
) {
final DomainObjectPropertySheet sheet = new DomainObjectPropertySheet(
itemModel, false, selectedLangParam
);
sheet.add(
new GlobalizedMessage(
ProfileSiteConstants.BUNDLE, "profile_site.ui.OWNER"
),
ProfileSiteItemController.OWNER,
new OwnerFormatter()
);
return sheet;
}
private static class OwnerFormatter
implements DomainObjectPropertySheet.AttributeFormatter {
@Override
public String format(
final Object obj, final String attribute, final PageState state
) {
final ProfileSiteItem profileSiteItem = (ProfileSiteItem) obj;
final Person owner = profileSiteItem.getOwner();
if (owner == null) {
return "";
} else {
return owner.getDisplayName();
}
}
}
}

Some files were not shown because too many files have changed in this diff Show More