Commit Graph

417 Commits (43c87f5a6c0138ab2d496a06471abfa9b0ebd76d)

Author SHA1 Message Date
pb 659d0dfa39 Modifications in ccm-bundle to reflect the latest code changes und to ensure compatibility to run the old aplaws theme and heirloom theme.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2782 8810af33-2d31-482b-a856-94f89814c4df
2014-07-31 07:59:00 +00:00
pb 4710d07c4e Last part of globalization of content types selection box.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2779 8810af33-2d31-482b-a856-94f89814c4df
2014-07-24 11:49:43 +00:00
jensp 9b70cf8018 - The list of content types on the NewItemForm is now sorted by the localised
names of the content types
- The length of the description of (releated) link is now limited. The limit 
  can be configured using the com.arsdigita.cms.link_description_max_length 
  property in CMSConfig. The default value are 400 characters.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2769 8810af33-2d31-482b-a856-94f89814c4df
2014-07-22 08:46:01 +00:00
pb 4cdc5b3cd5 Another part of globalization of content types: Labels for publications module.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2762 8810af33-2d31-482b-a856-94f89814c4df
2014-07-17 13:29:06 +00:00
jensp 4819a40a65 Several things for 2.2.1
git-svn-id: https://svn.libreccm.org/ccm/trunk@2759 8810af33-2d31-482b-a856-94f89814c4df
2014-07-16 13:29:59 +00:00
jensp c510e1566a Several enhancements for the handling of the new labels and hints:
- Hints are now shown for ControlLinks
- The standard theme uses an better symbol
- Hints and new style labels now work for DHTMLEditors, and widgets Date, Time and DateTime


git-svn-id: https://svn.libreccm.org/ccm/trunk@2755 8810af33-2d31-482b-a856-94f89814c4df
2014-07-11 18:38:38 +00:00
jensp a63b3df832 Some ajustments to the content center theme:
- Moved the breadcrumbs to the top
- Moved the tab bar outside the header
- Minimized height of the header and outer paddings and margins


git-svn-id: https://svn.libreccm.org/ccm/trunk@2749 8810af33-2d31-482b-a856-94f89814c4df
2014-07-11 07:44:19 +00:00
jensp fad219c1fe - Extended GlobalizedMessage: It is now possible to pass a custom ResourceBundle.Control instance to a
GlobalizedMessage for controlling the loading of responsible ResourceBundle
- Created RelationAttributeResourceBundle: A custom ResourceBundle.Control implementation which uses 
  a RelationAttributeCollection as data source for creating a ListResourceBundle. This allows it to
  This allows it to use GlobalizedMessage when showing RelationAttribute values in Bebop Controls
- Altered GenericOrganizationalUnitPersonAddForm to use GlobalizedMessage and RelationAttributeResourceControl


git-svn-id: https://svn.libreccm.org/ccm/trunk@2746 8810af33-2d31-482b-a856-94f89814c4df
2014-07-10 10:35:33 +00:00
pb 6e85fa1b33 Yet another part adopting sci modules to setLabel attribute.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2742 8810af33-2d31-482b-a856-94f89814c4df
2014-07-08 09:15:01 +00:00
jensp cde2e962a2 Some formating and cleanup
git-svn-id: https://svn.libreccm.org/ccm/trunk@2741 8810af33-2d31-482b-a856-94f89814c4df
2014-07-08 08:56:10 +00:00
pb 550c37569b Modified various forms to use the label attribute instead of Label widget to name an input field.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2737 8810af33-2d31-482b-a856-94f89814c4df
2014-07-06 07:22:13 +00:00
jensp 40f71ce13f Finished admin UI for the ContentItemJSRPortlet
git-svn-id: https://svn.libreccm.org/ccm/trunk@2736 8810af33-2d31-482b-a856-94f89814c4df
2014-07-03 09:41:28 +00:00
pb 7cdf763aff Replaced Label widget by setLabel / setHint for CT Event, some reformatting and documentation added.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2735 8810af33-2d31-482b-a856-94f89814c4df
2014-07-02 20:42:52 +00:00
pb a4e194fadf Enhanced globlization: Selection of content types, part 1. It works, but not all content types adopted yet (showing the globaization key at the moment).
git-svn-id: https://svn.libreccm.org/ccm/trunk@2733 8810af33-2d31-482b-a856-94f89814c4df
2014-07-01 17:36:59 +00:00
pb 47ddc1cebe Added various documentation, enhanced formattings.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2729 8810af33-2d31-482b-a856-94f89814c4df
2014-06-30 20:51:46 +00:00
pb 701f905998 Unfortunately, a rather complex update:
* new class DescriptiveComponent, provides setLabel and setHint
* classes Label, BaseLink and Widgets inherit from DescriptiveComponent and are ready to use setLabel and setHint
* classes TextStylable and Blockstylable removed, both provide direct html which the responsibility of the theme
* created Interface bebop/util/Panelcontraints to provide positional information for blocks fpr backwards compatibility. We have to decide whether to discard/replace or retain them.
* created cass Embedded as a kind of spinn-off from Label to handle arbitrary String data, specifically JavaScript. It's part of a strategy to remove Strings from Label to prevent developers just to hack fixed strings and make a mess of the User Interface.
* various reformatting and documentation added.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2728 8810af33-2d31-482b-a856-94f89814c4df
2014-06-29 14:01:10 +00:00
pb ec5bd01f51 Improved localization, improved some formatting and documentation, updated APLAWS bundle, added Tomcat 7 rpm SPEC and SOURCE files to create a rpm.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2723 8810af33-2d31-482b-a856-94f89814c4df
2014-06-25 21:02:41 +00:00
jensp 06bfe7c709 - Added new style labels to the forms of the generic contenttypes in ccm-cms
- Added PrintListeners to various select fields ins these forms. For the database driven fields this means that a restart is not 
  longer required to see new values (for example for contact types)


git-svn-id: https://svn.libreccm.org/ccm/trunk@2716 8810af33-2d31-482b-a856-94f89814c4df
2014-06-24 08:44:08 +00:00
jensp f09f59b750 Several references to JavaScript files (e.g. manipulate-input.js used in the ContentCenter to urlize the name of ContentItem) did not work when CCM is not running in the ROOT context. This is now fixed.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2712 8810af33-2d31-482b-a856-94f89814c4df
2014-06-21 16:58:42 +00:00
pb 8c3b2a4ab4 Removed separate labels in ThemeForm and BasicItemForm. Labels are now part of the widget.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2698 8810af33-2d31-482b-a856-94f89814c4df
2014-06-13 07:35:37 +00:00
pb 88b61faeb6 Fixed: missing globalization in content-center (#1763), fixed layout of error message (part of #2090).
git-svn-id: https://svn.libreccm.org/ccm/trunk@2697 8810af33-2d31-482b-a856-94f89814c4df
2014-06-13 06:32:36 +00:00
pb a7119bb541 Last part of ThemeDirector code fix. Errors in validation of input fields is now displayed along the respective input field. Fixed uncought exception, unclosed result set, various missing globalization.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2682 8810af33-2d31-482b-a856-94f89814c4df
2014-06-09 22:25:17 +00:00
pb 6c272debdd Fixed problem with copying default theme to new theme's directory. Added Label as Widget attribute (but not evaluated by Mandalay theme engine). Still a NPE if theme evaluation detects an error, e.g. duplicate theme url.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2681 8810af33-2d31-482b-a856-94f89814c4df
2014-06-07 14:44:09 +00:00
jensp f6ae155a06 Load systeminformation from easy to change source.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2673 8810af33-2d31-482b-a856-94f89814c4df
2014-06-06 11:59:22 +00:00
pb 59252132a4 First part of Enhancing globalization of content-center (#1763). Text output is localized, but badly placed on the page. Needs further reworking of several classes.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2670 8810af33-2d31-482b-a856-94f89814c4df
2014-06-05 10:00:07 +00:00
jensp acd0b15c62 Finished testing of the new publication types for dramatic artsFinished testing of the new publication types for dramatic arts.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2661 8810af33-2d31-482b-a856-94f89814c4df
2014-05-31 14:55:58 +00:00
pb fca3bbaf8a Removed deprecated classes CategoryPurpose, part 1.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2654 8810af33-2d31-482b-a856-94f89814c4df
2014-05-26 15:51:14 +00:00
pb aa06c3e866 Enhanced build system to handle WEB-INF/portlet.xml files. File is copied from bundel's cfg directory or merged from stub files (not implemented yet). Various housekeeping done.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2653 8810af33-2d31-482b-a856-94f89814c4df
2014-05-26 09:24:06 +00:00
pb d5499cd6eb Added first very minimalistic support for JSR286 compliant portlet support installable in Apache Pluto portlet server. i
Modify local.runtime.properties to use Pluto (uncomment the Pluto lines) and use 'ant install-runtime' to install Pluto as test environment. 
Modify project.xml to install ccm into an other context as ROOT! libreccm may be a nice choice. 
Deploy and load-bundle as usual. 
Invoke http://localhost:8080/libreccm to operate CCM as usual. 
Invoke http://localhost:8080/pluto to operate Pluto, login as admin and use Pluto admin tool to add ContentItemJSRPortlet to the Pluto Portal page (displays currently a simple HelloWorld Text).





git-svn-id: https://svn.libreccm.org/ccm/trunk@2652 8810af33-2d31-482b-a856-94f89814c4df
2014-05-25 20:24:49 +00:00
pb 6b0caaff4e Updated versions of Apache xml processors xerces (2.11.0) and xalan/xltc (2.7.2), release date April 2014,
git-svn-id: https://svn.libreccm.org/ccm/trunk@2646 8810af33-2d31-482b-a856-94f89814c4df
2014-05-23 06:12:58 +00:00
pb 7dd986442b First part of Tomcat 7 compatibility.
* Added Juli to classpath for ecdc Tomcat start script. "ant start" works.
* Fixed error in web-sci.xml, added surrounding <jsp-config> tags tp taglib tags.
* Removed jd.sclt transformer (no longer maintained, latest release from 2003
* Removed XML factory implementation configuration using system wide environment variables (affecting and probably conflicting with other webapps in the container). Alternative configuration facility not yet implemented, using container fallback (which is saxon at the moment for xslt processor).

CCM is currently execting in TC 7 for the public site, content-center doesn't work in TC 7 for now (but in TC6 as previously).
 


git-svn-id: https://svn.libreccm.org/ccm/trunk@2644 8810af33-2d31-482b-a856-94f89814c4df
2014-05-22 22:03:53 +00:00
jensp 18be8f11c6 - Refactored the FolderManipulator, removing potential NPE etc.
- Texts in the select boxes of the subsite admin form are now localised (Ticket #2032).


git-svn-id: https://svn.libreccm.org/ccm/trunk@2636 8810af33-2d31-482b-a856-94f89814c4df
2014-05-20 09:56:53 +00:00
jensp 6382af5c68 - Change password link: Added URL and title to CMSGlobalNavigation and
UserBanner (like logout link) and added support to Mandalay
- Some formatting


git-svn-id: https://svn.libreccm.org/ccm/trunk@2629 8810af33-2d31-482b-a856-94f89814c4df
2014-04-29 17:52:26 +00:00
jensp e62f9c1727 Modified the RuntimeConfig#getJDBCURL() method. The method now first tries to lookup an JNDI datasource identified by
'java:/comp/env/jdbc/ccm-ds '. Then the method determines the URL from this datasource. Attention: This will only work if the JDBC-URL provided for the datasource is complete (the URL must contain username and password for the connection). 
If the datasource can't be aquired, the value from the runtime.properties files is used.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2611 8810af33-2d31-482b-a856-94f89814c4df
2014-04-14 15:48:58 +00:00
jensp d1057f7475 - Formatting
- Added more entities to the PDLEntities UML diagram


git-svn-id: https://svn.libreccm.org/ccm/trunk@2584 8810af33-2d31-482b-a856-94f89814c4df
2014-03-24 18:04:10 +00:00
jensp 8f786439e6 Some small improvments.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2582 8810af33-2d31-482b-a856-94f89814c4df
2014-03-24 06:03:30 +00:00
pb 38313c1e5f Added documentation, enhanced formatting.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2581 8810af33-2d31-482b-a856-94f89814c4df
2014-03-24 01:59:58 +00:00
pb 9c63398588 Fixed bug in findResource and Dispatcher.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2577 8810af33-2d31-482b-a856-94f89814c4df
2014-03-21 00:15:30 +00:00
jensp 0702b6ac53 New content type for historic dates.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2573 8810af33-2d31-482b-a856-94f89814c4df
2014-03-19 15:43:38 +00:00
pb 98ac8c9f44 Some minor formatting
git-svn-id: https://svn.libreccm.org/ccm/trunk@2565 8810af33-2d31-482b-a856-94f89814c4df
2014-03-14 05:59:57 +00:00
pb 549e3e3723 Fixed various bugs in methods enabling CCM installed into any arbitrary context. Still needs testing!
git-svn-id: https://svn.libreccm.org/ccm/trunk@2564 8810af33-2d31-482b-a856-94f89814c4df
2014-03-11 09:09:20 +00:00
jensp 6fac837678 Missing file
git-svn-id: https://svn.libreccm.org/ccm/trunk@2563 8810af33-2d31-482b-a856-94f89814c4df
2014-03-10 20:18:44 +00:00
pb cfc3064fc6 "Another part of cleaning up dispatcher code and enable installation of CCM into any arbitrary application context."
git-svn-id: https://svn.libreccm.org/ccm/trunk@2560 8810af33-2d31-482b-a856-94f89814c4df
2014-03-07 08:20:15 +00:00
jensp b396010920 Changed the column type for the abstract and misc properties of Publications from varchar(4096) to text. It also now possible to enable the HTML editor for the abstract and misc fields of publications. The default is still no HTML editor.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2558 8810af33-2d31-482b-a856-94f89814c4df
2014-03-07 06:52:42 +00:00
pb 13b7c7cf2e Unfortunately quite a large update, combined BaseDispatcher and DispatcherServlet into a modern, standard compliant CCMDispatcherServlet, modified various classes to enable CCM installed in any arbitrary context, not just ROOT. Part 1. Currently it works for ScientificCMS only, for other bundles StylesheetPaths.txt has to be modified.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2557 8810af33-2d31-482b-a856-94f89814c4df
2014-03-06 12:53:03 +00:00
jensp c21769dfc8 - Localisation for Search (ResultsPane), Ticket #1762
- Some formating


git-svn-id: https://svn.libreccm.org/ccm/trunk@2553 8810af33-2d31-482b-a856-94f89814c4df
2014-03-04 18:35:21 +00:00
jensp 8aa2a7ea21 Avoiding NPE if there is no pane for managing instances of an application type yet (Ticket #2031)
git-svn-id: https://svn.libreccm.org/ccm/trunk@2528 8810af33-2d31-482b-a856-94f89814c4df
2014-02-19 12:25:23 +00:00
jensp 7d84a5dbfe Some ajustments for the admin.css.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2515 8810af33-2d31-482b-a856-94f89814c4df
2014-02-11 11:00:44 +00:00
pb e87d1fb2dc * Changed name of default content section from "main" to "info" (ticket #1606)
* Removed class StackTraces from developer support (not useful anymore but causes probs in production)



git-svn-id: https://svn.libreccm.org/ccm/trunk@2514 8810af33-2d31-482b-a856-94f89814c4df
2014-02-09 09:42:17 +00:00
jensp f23dfe7b10 Corrections of the JavaDoc comments of various classes which were causing warnings when creating the JavaDoc.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2507 8810af33-2d31-482b-a856-94f89814c4df
2014-02-05 09:16:48 +00:00