Commit Graph

371 Commits (f60a1836d916e8b671c298059b51aba8849e903a)

Author SHA1 Message Date
pb 256c92fe42 Next part of the conversion of CCM / APLAWS to be deployed in a standard way
by a *.war file and executable in a standard servlet container.

All CCM modules will install into the main application context now. 
Backwards compatibilty preserved, ccm scripts can be used as used to. 

No update script required for this part.

Modifications:

-   application.xml added ROOT as installation target
-   base class <module> methods getContextPath() removed, getServletPath() modified
-   web.xml-<module>.in created
-   import statements in xsl adjusted
-   no API change


git-svn-id: https://svn.libreccm.org/ccm/trunk@83 8810af33-2d31-482b-a856-94f89814c4df
2009-02-21 19:13:04 +00:00
pb 43ab4f38c0 Release number bumped, in sync with TUV r1798
git-svn-id: https://svn.libreccm.org/ccm/trunk@80 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 11:02:57 +00:00
pb 0ac3d69922 Ergaenzung zu r81 (uebersehen)
git-svn-id: https://svn.libreccm.org/ccm/trunk@79 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 09:31:52 +00:00
pb 4ab614055a Integrate vendor release
r1795: First part of the conversion of CCM to be deployed in a standard way
  r1796: Multilanguage categorization (already local, but upgrade script
         added, comments and translation added)


First part of the conversion of CCM / APLAWS to be deployed in a standard way 
by a *.war file.

Backwards compatible to the procedures so far. The ccm scripts can be used
as used to. Only difference is the location of some files (see below).

As an alternative the webapps directory created by the ccm scripts can be
moved into a standard tomcat container or can be added as a virtual host.
APLAWS no longer depends on all the environment variables. For detailed 
instructions see documentation on the WIKI. This is a temporary solution,
further enhancements are on the way!

No update script required for this part.

Modifications:

-   Creation of a c.ad.runtime.CCMResourceManager class, which currently
handles just the file locations. It replaces the dependency from the
CCM_HOME environment variable. It is initialized during startup of the
servlet container or by the entry point of the installation tools (i.e.
c.ad.packaging.mastertool). It replaces the c.ad.packaging.CCM class
as well. Currently contains backwards compatibility code to check the 
runtime environment just in case the initialization is missing (will be 
removed later).

-   Creation of c.ad.web.CCMApplicationContextListener class which is
notified by the servlet container at the beginning of the startup procedure.
Initialises CCMResourceManager. Must be configured by web.xml (if a contributed
package overwrites the trunk values)!

-   File location changes:
    -   Configuration registry moved to [appbase]/WEB-INF/conf/registry
    -   ps2fs files moved to [appbase]/ps2fs
        (can be modified by configuration parameter)
    -   lucene index files moved to [appbase]/WEB-INF/work/lucene
        (can be modified by configuration parameter)
Developers watch out! ant clean now removes these files, too (esp. registry)!

-   XML factory classes are now determined by configuration parameters
    - waf.xml.xsl_transformer=[saxon (default)|jd.xslt|resin|xalan|xsltc]
    - waf.xml.dom_builder=[xerces (default) | resin]
    - waf.xml.sax_parser=[xerces (default) | resin] 

-   Package c.ad.packaging reorganized so it contains just installation
related code. Runtime configuration related code moved to c.ad.runtime.
Code is not part of the API.

-   log4j configuration file is still at the old location, but is not used
anymore! It will be moved to [appbase]/WEB-INF/conf/ in the future.
Developers, modify the file ~/webapps/WEB-INF//classes/log4j.properties 
in the meantime.

-   While working on the code some deprecated classes and method invocations 
replaced by supported API. If a class is no longer used by any module in
trunk, the class has been removed by appending "nolongerInUse" to the file 
name. If any of the contributed modules is still depending on deprecated code
it is easy to find and to follow the recommended replacement instructions. Do
not re-incorporate deprecated code! We have to clean up the code base!


Second part: Multilanguage categories
Added update script
Translation of some comments, added comments
version number bumped to reflect the major changes




git-svn-id: https://svn.libreccm.org/ccm/trunk@73 8810af33-2d31-482b-a856-94f89814c4df
2009-02-07 22:44:11 +00:00
quasi f9287812a2 Unterstützung für Xinha eingebaut. Läßt sich nun über waf.bebop.dhtml_editor="Xinha" aktivieren. Desweitern muß waf.bebop.dhtml_editor_src="/assets/xinha/XinhaLoader.js", gesetzt werden und Mandalay >= v0.8 RC3 (Rev. 77) benutzt werden.
git-svn-id: https://svn.libreccm.org/ccm/trunk@70 8810af33-2d31-482b-a856-94f89814c4df
2009-01-23 19:27:04 +00:00
pb ebeb59104d Removed style tag that wasn't closed, synchronizing with upstream r1761
git-svn-id: https://svn.libreccm.org/ccm/trunk@68 8810af33-2d31-482b-a856-94f89814c4df
2009-01-22 19:40:59 +00:00
pb 76c1523cf7 ccm-core, addition to 68, forgot a svn add
git-svn-id: https://svn.libreccm.org/ccm/trunk@63 8810af33-2d31-482b-a856-94f89814c4df
2008-12-21 10:58:15 +00:00
pb 3521640c08 incorporate several APLAWS patches for ccm-core:
r1708:	Changed sync() to run() so unit tests now compile (LuceneTest.java, SearchTest.java).
r1709:	Created java equivalent of manipulate-input.js to convert titles to url form. 
r1720:	Converted formatting of code examples to <pre> tags (PackageTestSuite.java).
r1723:	NodeGenerator now has more context (parent object and property parameters)
	(SimpleDomainObjectXMLFormatter.java , NodeGenerator.java )
r1740:	Validates a value is a valid HTML hex code for a colour. 


git-svn-id: https://svn.libreccm.org/ccm/trunk@60 8810af33-2d31-482b-a856-94f89814c4df
2008-12-20 20:47:04 +00:00
pb 6b98a97dab Integrating vendor r1706: deleting apostrophes in properties file causing failure in folder permission setting.
git-svn-id: https://svn.libreccm.org/ccm/trunk@56 8810af33-2d31-482b-a856-94f89814c4df
2008-06-16 12:52:53 +00:00
pb c14e3fd524 Integration of vendor r1693 (various German localizations) and
r1704 (fixed sql update scripts)

Adding update scripts for category localization (r49, r53, r54) 
which are currently not added to vendor trunk.



git-svn-id: https://svn.libreccm.org/ccm/trunk@49 8810af33-2d31-482b-a856-94f89814c4df
2008-06-08 20:39:27 +00:00
quasi 87563b9091 Registrierung der Config-Parameter für Categorization hinzufügen. Sonst gibt es Bruch beim Starten des Systems.
git-svn-id: https://svn.libreccm.org/ccm/trunk@46 8810af33-2d31-482b-a856-94f89814c4df
2008-06-05 14:23:38 +00:00
quasi 42b45983b8 Dies ist die erste Version der lokalisierten Kategorien.
Folgendes funktioniert:

- Anlegen und Löschen von Sprachversionen per Adminoberfläche
- Config-Parameter für Fallback-Modus, unterstützte Sprachen und 
  Standard-Sprache
- Lokalisierte URLs in navigation
- Dekativieren von Sprachversionen

Folgendes funktioniert noch nicht:
- Bearbeiten von Sprachversionen per Adminoberfläche
- evt. ist die Untersützung von lokalisierten URLs noch nicht vollständig
  d.h. in anderen Anwendungen als navigation

Quasimodo



git-svn-id: https://svn.libreccm.org/ccm/trunk@41 8810af33-2d31-482b-a856-94f89814c4df
2008-05-08 18:35:32 +00:00
pb 8138d560a3 incporporating APLAWS patches 1686 & 1687:
r1686 | chrisg23 | 2007-10-23 16:11:16 +0200 (Di, 23 Okt 2007) 
Change sql to a version that both Oracle and Postgres understand
------------------------------------------------------------------------
r1687 | chrisg23 | 2007-10-23 16:16:50 +0200 (Di, 23 Okt 2007) 
sourceforge patch [1803373] - don't stream out blob data until it's actually needed. Note this is configurable so that by default there is no behaviour change, but really it would be unusual to actively want the overhead of the additional streamout. Credit to matt at magpie for this one


git-svn-id: https://svn.libreccm.org/ccm/trunk@35 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 21:06:03 +00:00
pb 8dc90db636 incorporating APLAWS patch
r1682 | chrisg23 | 2007-10-04 14:06:20 +0200 (Do, 04 Okt 2007) 
the previous sql only works in Postgres 8.x - this version is ok for 7,x too


git-svn-id: https://svn.libreccm.org/ccm/trunk@33 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 20:55:25 +00:00
pb 7ec05e633f incorporating APLAWS patch
r1672 | chrisg23 | 2007-09-19 16:52:52 +0200 (Mi, 19 Sep 2007) 

Sourceforge patch 1797953 - remote search changes. No effect by default
(though I think we are the only people using remote search anyway)


git-svn-id: https://svn.libreccm.org/ccm/trunk@30 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 20:42:07 +00:00
pb e1cf71ad56 incoroirating APLAWS patches:
r1655 | chrisg23 | 2007-09-18 13:16:54 +0200 (Di, 18 Sep 2007) 
Sourceforge patch 1793047 - prevent attempt to transform xml if we java code has put an error in the response before generating any xml
------------------------------------------------------------------------
r1656 | chrisg23 | 2007-09-18 14:40:39 +0200 (Di, 18 Sep 2007) 
Undo change in r1370 - BaseDocument doesn't need to implement comparable as it is implemented in SearchResult (part of ccm-ldn-search) to enable merged results to be sorted
------------------------------------------------------------------------
r1657 | chrisg23 | 2007-09-18 14:43:10 +0200 (Di, 18 Sep 2007)
Make the static prepare utility method public
------------------------------------------------------------------------
r1658 | chrisg23 | 2007-09-18 14:46:04 +0200 (Di, 18 Sep 2007) 
Sourceforge patch 1793018 - utility to get stable urls programatically
------------------------------------------------------------------------
r1659 | chrisg23 | 2007-09-18 14:52:36 +0200 (Di, 18 Sep 2007) 
Make pdl attribute name constants public so they may be referenced elsewhere in persistence API calls
------------------------------------------------------------------------
r1660 | chrisg23 | 2007-09-18 15:05:43 +0200 (Di, 18 Sep 2007) 
Sourceforge patch 1793021 - output id attribute on bebop selects if it has been set in the java code
------------------------------------------------------------------------


git-svn-id: https://svn.libreccm.org/ccm/trunk@25 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 18:29:37 +00:00
pb b4846550c0 incorporating:
r1649 | chrisg23 | 2007-09-18 11:57:51 +0200 (Di, 18 Sep 2007)
Sourceforge patch 1793030 - small fix to prevent possibility of creating infinite group hierarchy

------------------------------------------------------------------------

r1650 | chrisg23 | 2007-09-18 12:01:35 +0200 (Di, 18 Sep 2007)
Sourceforge patch 1793009 - allow requests to switch back from https to http (eg when user logs out)


git-svn-id: https://svn.libreccm.org/ccm/trunk@22 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 16:59:50 +00:00
pb 5dcbb5e070 ccm-core & ccm-cms incorporating
r1637 | chrisg23 | 2007-09-17 12:14:27 +0200 (Mo, 17 Sep 2007)

Sourceforge patch 1796099 - allow URL Generators to be registered for specific content types. 

Requires upgrade script to be run: ccm-run ccm-cms --from-version 6.5.2 --to-version 6.5.3!

------------------------------------------------------------------------

r1638 | chrisg23 | 2007-09-17 13:48:34 +0200 (Mo, 17 Sep 2007)

Sourceforge patch 1796156 - allow notes to be shown on basic properties authoring step

------------------------------------------------------------------------

r1639 | chrisg23 | 2007-09-17 15:20:13 +0200 (Mo, 17 Sep 2007)

Sourceforge patch 1781131 - workaround to bypass query filtering bug if permission filtering folder contents

------------------------------------------------------------------------
r1641 | chrisg23 | 2007-09-17 15:46:27 +0200 (Mo, 17 Sep 2007) | 1 line
Geänderte Pfade:
   M /trunk/ccm-core/src/com/arsdigita/notification/Notification.java

Sourceforge patch 1714842 - if message delete has been specified for a notification, only delete it when the last 
referring notification is deleted (several notification records may refer to the same message)

------------------------------------------------------------------------

r1642 | chrisg23 | 2007-09-17 16:05:26 +0200 (Mo, 17 Sep 2007) | 1 line

Sourceforge patch 1727634 - retain specified ordering when paging through folder contents (previously every time you changed to a new page it reverted to default name ordering)

------------------------------------------------------------------------

r1643 | chrisg23 | 2007-09-17 16:19:06 +0200 (Mo, 17 Sep 2007) | 1 line

Sourceforge patch 1783195 - IMPORTANT BUGFIX - if you use fixed length lifecycles with expiry notifications then you are probably affected by this - notifications are not created and  sent if you have relied on the default end date set by the lifecycle, only if you explicitly entered a date on the publish form. To fix the timebomb of items that are due to expire without notification, there is a command line program in package uk.gov.westsussex.wsgfl.jobs called CreateMissingNotificationPhases. Package is in ccm-wsx-wsgfl-custom module in contrib area of the repository. To use this, it is best to copy the job class and the accompanying pdl file query-missing-notification-phases to your own custom application, or else install ccm-wsx-wsgfl-custom but strip away everything except those 2 files and the initialiser - removing all bits of the initialiser except the data init. Do not add ccm-wsx-wsgfl-custom to your instance as it is, at it overrides some files in the default Aplaws installation



git-svn-id: https://svn.libreccm.org/ccm/trunk@13 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 16:04:19 +00:00
pb 3e36ba6eea ccm-forum, incorporating:
r1630 | chrisg23 | 2007-09-17 10:28:18 +0200 (Mo, 17 Sep 2007) | 1 line

Added:
   A /trunk/ccm-core/web/assets/fckeditor/config/fckconfig_forum.js

FCK Config for forum application - disables browsing of server file system or aplaws content centre when addign a link as this may be used by public - to use this, need to specify com.arsdigita.forum.use_wysiwyg_editor=true. If HTML Area is set as your editor, then browsing is already disabled for forum in the foorum code. If you have set FCK as your editor then this config will be used.


git-svn-id: https://svn.libreccm.org/ccm/trunk@11 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 12:20:10 +00:00
pb 47a9f0a0dc ------------------------------------------------------------------------
r1616 | chrisg23 | 2007-09-13 12:45:39 +0200 (Do, 13 Sep 2007) | 1 line

Sourceforge patch 1793122 - enable forum subscription notifications to be deleted if successfully sent, in order to prevent the nt_requests table getting too big. No effect until the new version of forum, which includes a config parameter to enable deletion of notifications,  makes it into trunk (shortly)
------------------------------------------------------------------------


git-svn-id: https://svn.libreccm.org/ccm/trunk@2 8810af33-2d31-482b-a856-94f89814c4df
2008-02-14 23:57:34 +00:00
quasi 8865d45011 Initiale Version
SVN-Version 1.0.5 Rev 1603 + alle meine Änderungen

- Navigation (Adaptive Mode)
- Paginator angeglichen
- Paginator <NoContent> -Tag eingeführt
- manipulate-input.js erweitert für deutsche Umlaute (erste Version)

und vielleicht noch ein paar andere Dinge...



git-svn-id: https://svn.libreccm.org/ccm/trunk@1 8810af33-2d31-482b-a856-94f89814c4df
2008-02-04 11:59:05 +00:00