Commit Graph

761 Commits (f55df351b51c8de475d9204eafa8852884d17c4f)

Author SHA1 Message Date
jensp f55df351b5 Fixed several upgrade scripts to make them compatible with Oracle. Oracle does not understand ALTER TABLE ADD COLUMN, for PostgreSQL the "COLUMN" is optional. Therefore we removed the "COLUMN" from all these statements.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3028 8810af33-2d31-482b-a856-94f89814c4df
2014-12-10 10:12:12 +00:00
jensp e03744cdd4 Made upgrade ccm-cms-6.6.9-6.6.10 compatiable with Oracle
git-svn-id: https://svn.libreccm.org/ccm/trunk@3023 8810af33-2d31-482b-a856-94f89814c4df
2014-12-10 07:34:03 +00:00
jensp 62a2c48db7 Some more changes for the ccm-cms-6.6.6-6.6.7 upgrade for Oracle
git-svn-id: https://svn.libreccm.org/ccm/trunk@3020 8810af33-2d31-482b-a856-94f89814c4df
2014-12-09 19:06:02 +00:00
jensp f7c13c00c6 Modified upgrade ccm-cms-6.6.6-6.6.7. The definition of the column is_default which is added to the table section_workflow_template_map by this upgrade differs between PostgreSQL and Oracle (see generated DDL files). Created distict SQL files for PostgreSQL and Oracle which are creating the table with same definitions as in the generated DDL files.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3019 8810af33-2d31-482b-a856-94f89814c4df
2014-12-09 16:11:04 +00:00
jensp e86d5162f5 Removed several unnecessary options on SQL commands in the upgrades which were also causing problems because Syntax for these differs between PostgreSQL and Oracle.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3018 8810af33-2d31-482b-a856-94f89814c4df
2014-12-09 10:57:47 +00:00
jensp 26c046958a Changed various ALTER TABLE ONLY statements to ALTER TABLE in the default upgrade scripts. ALTER TABLE ONLY isn't supported by Oracle, therefore these scripts did not work with an Oracle DB. Also, ALTER TABLE ONLY has only an effect when using table inheritance which is an feature we are not using.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3017 8810af33-2d31-482b-a856-94f89814c4df
2014-12-08 15:20:32 +00:00
pb 53f30aea0a Fixed various table and column names to adhere to Oracle restrinctions.
Update for Postgres provided, but NOT tested yet. 
(Micro) version elevated nevertheless.
(Backport of fedorahosted:2861)


git-svn-id: https://svn.libreccm.org/ccm/trunk@3011 8810af33-2d31-482b-a856-94f89814c4df
2014-12-07 10:41:34 +00:00
jensp 86236f5e5b - Changed the default of the config options
com.arsdigita.cms.allow_content_create_in_section_listing and com.arsdigita.cms.delete_workflow_after_publication from
    true to false. In our bundles they are set to false since a long time.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2955 8810af33-2d31-482b-a856-94f89814c4df
2014-11-07 07:18:04 +00:00
jensp c2ce52d27f BugFix for translations in the contact type select box.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2942 8810af33-2d31-482b-a856-94f89814c4df
2014-10-31 13:59:23 +00:00
jensp bf5f36e526 Fixed to possible NPE in the BasicItemForm.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2939 8810af33-2d31-482b-a856-94f89814c4df
2014-10-31 10:06:19 +00:00
jensp f2877c74c9 Fixed a bug in the GenericOrganizationalUnitAddForm class. The wrong variable was used in one PrintListener causing an "Widget is locked exception".
git-svn-id: https://svn.libreccm.org/ccm/trunk@2933 8810af33-2d31-482b-a856-94f89814c4df
2014-10-31 07:27:58 +00:00
jensp 5f18223b0f Some additional translations
git-svn-id: https://svn.libreccm.org/ccm/trunk@2929 8810af33-2d31-482b-a856-94f89814c4df
2014-10-29 15:53:57 +00:00
jensp eee5011070 Fixed another PrintListener occurences. Hopefully this was the last one...
git-svn-id: https://svn.libreccm.org/ccm/trunk@2913 8810af33-2d31-482b-a856-94f89814c4df
2014-10-16 08:33:24 +00:00
jensp 7e646e8be6 Fixed URL generation for object lists and Content Item Summary. The WebContextPath was not used there therefore the URLs were incorrect if CCM is installed not in the root context.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2878 8810af33-2d31-482b-a856-94f89814c4df
2014-09-26 07:20:40 +00:00
jensp fc7ce33b0a Language switching now works for the list of countries in the Address content type (#1764)
git-svn-id: https://svn.libreccm.org/ccm/trunk@2876 8810af33-2d31-482b-a856-94f89814c4df
2014-09-25 13:15:45 +00:00
jensp 205eedab73 Fixes for the OpenCCM Xinha plugin (the links part did not work, probably because since the last Xinha update). Also fixed the
parts of the item search popup. Clicking on an item now closes the the window when using it Editor (did not work since a very long
time). Also the FlatBrowsePane introducted some time ago did not work when the ItemSearchPopup was used from the Xinha editor.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2871 8810af33-2d31-482b-a856-94f89814c4df
2014-09-23 08:29:04 +00:00
jensp d5deb7c8fe Fixed two other issues caused by wrong PrintListener usage.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2864 8810af33-2d31-482b-a856-94f89814c4df
2014-09-17 05:59:03 +00:00
jensp 781c6d6876 Removed URL field from CategoryLocalizationForm (Issue #2182)
git-svn-id: https://svn.libreccm.org/ccm/trunk@2858 8810af33-2d31-482b-a856-94f89814c4df
2014-09-16 12:25:38 +00:00
pb c235738e2e Verschiedene kleine Korrekturen
git-svn-id: https://svn.libreccm.org/ccm/trunk@2850 8810af33-2d31-482b-a856-94f89814c4df
2014-09-12 10:32:04 +00:00
jensp cf9ed68bfb All usages of SingleSelect/OptionGroup and PrintListener fixed by adding a clearOptions() in the PrintListener. Issue #2171.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2837 8810af33-2d31-482b-a856-94f89814c4df
2014-09-04 11:52:51 +00:00
jensp 31d94afaad The PrintListener for CategoryTemplates select box did not clear the options of the select box. The result was that the list of options in the box became longer which each request. Additionally this caused a massive amount of cpu load and memory consumption (resulting in an out of memory error) when the category form was requested multiple time, for example when creating some categories.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2835 8810af33-2d31-482b-a856-94f89814c4df
2014-09-04 09:18:47 +00:00
pb b7ba322576 Various minor documentation and formatting.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2833 8810af33-2d31-482b-a856-94f89814c4df
2014-09-03 14:14:35 +00:00
jensp 3836b0bb83 Added a class attribute to the restart workflow link to make the link distinguishable for CSS formatting.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2813 8810af33-2d31-482b-a856-94f89814c4df
2014-08-15 08:07:04 +00:00
jensp 8598ee25b5 - Renamed Report-queries.pdl to Report-queries.ora.pdl because the queries definied in this work only with an Oracle DB.
- Reports Tab is not shown in the content center when using a PostgreSQL database. The queries used for this tab work
  only for Oracle DB. Also the reports are not helpful.


git-svn-id: https://svn.libreccm.org/ccm/trunk@2791 8810af33-2d31-482b-a856-94f89814c4df
2014-08-08 12:08:51 +00:00
jensp ef8b3793ba - Fixed multiplication of entries in the content item list when creating content items
git-svn-id: https://svn.libreccm.org/ccm/trunk@2786 8810af33-2d31-482b-a856-94f89814c4df
2014-08-03 18:00:25 +00:00
pb 56bb254278 Various adjustment to the heirloom and traditional APLAWS theme, now works in any web context.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2785 8810af33-2d31-482b-a856-94f89814c4df
2014-08-03 13:21:11 +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
jensp 738ce745d9 Loading label bundle from XML file for translating the names of ContentTypes.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2764 8810af33-2d31-482b-a856-94f89814c4df
2014-07-17 17:26:50 +00:00
jensp bca01fc9ee Enhancements for localisation in several authoring step
git-svn-id: https://svn.libreccm.org/ccm/trunk@2763 8810af33-2d31-482b-a856-94f89814c4df
2014-07-17 13:47:03 +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 9358238257 Fixing width of Xinha editor in content-center
git-svn-id: https://svn.libreccm.org/ccm/trunk@2758 8810af33-2d31-482b-a856-94f89814c4df
2014-07-15 11:25:31 +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 96770a673d Enhanced globalization for the options of several SingleSelect fields using RelationAttributes (Database driven enums).
git-svn-id: https://svn.libreccm.org/ccm/trunk@2748 8810af33-2d31-482b-a856-94f89814c4df
2014-07-10 17:55:53 +00:00
jensp 52d8a5285e Some JavaDoc for RelationAttributeResourceBundleControl.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2747 8810af33-2d31-482b-a856-94f89814c4df
2014-07-10 10:41:32 +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
jensp 1af42506ca Enhancments for the localisation of the content center.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2745 8810af33-2d31-482b-a856-94f89814c4df
2014-07-09 17:14:07 +00:00
pb a2d02f8a0a Last part of adaptation to setLabel attribute in widgets.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2744 8810af33-2d31-482b-a856-94f89814c4df
2014-07-09 09:09:20 +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
jensp 435f024233 Prototypes implementation of the JSR286 compatible portlet for serving content items
git-svn-id: https://svn.libreccm.org/ccm/trunk@2739 8810af33-2d31-482b-a856-94f89814c4df
2014-07-07 10:01:19 +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 740f9b208a Slightly enhanced implementation to determine a content types' Label: if the associated ressource file can be found, use the globalized name, otherwise use the not globalized name from database.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2734 8810af33-2d31-482b-a856-94f89814c4df
2014-07-02 10:06:10 +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
jensp 34af914def Removed control link in the ContactEntriesTable. The link does notthing (at the moment) and only confuses the users.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2731 8810af33-2d31-482b-a856-94f89814c4df
2014-07-01 12:16:04 +00:00
jensp c8061b1659 Current status of the ContentItemJSRPortlet:
- Searching for content items works
- Select link there
- Storing the selection will be the next step


git-svn-id: https://svn.libreccm.org/ccm/trunk@2730 8810af33-2d31-482b-a856-94f89814c4df
2014-07-01 12:05:22 +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