Commit Graph

82 Commits (55bb4dfc75c7ec34ff795ad4480af475e40e2e5e)
 

Author SHA1 Message Date
pb 55bb4dfc75 Activate module specific globalization support
git-svn-id: https://svn.libreccm.org/ccm/trunk@82 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 13:34:32 +00:00
pb 134939fb65 Einchecken ccm-zes-aplaws (ZeS Integrationsschicht)
git-svn-id: https://svn.libreccm.org/ccm/trunk@81 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 12:37:05 +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 d53b382494 Kleinere Aenderungen an project.xml u.a.
git-svn-id: https://svn.libreccm.org/ccm/trunk@78 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 09:01:54 +00:00
pb e72012a5a5 Ergaenzung zu r81 (uebersehen)
git-svn-id: https://svn.libreccm.org/ccm/trunk@77 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 09:00:25 +00:00
pb a94eed0de3 2. Teil Synchronisieren von ccm-ldn-atoz (patches 1742,1743,1744,1759,1751 von clasohm), neue Datein des patches, ein Hoch auf svn add
git-svn-id: https://svn.libreccm.org/ccm/trunk@76 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 08:54:37 +00:00
pb 52afa2443e some minor comments, formating, svn tags
git-svn-id: https://svn.libreccm.org/ccm/trunk@75 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 08:33:18 +00:00
quasi bbc371a738 Xinha hinzugefügt
git-svn-id: https://svn.libreccm.org/ccm/trunk@74 8810af33-2d31-482b-a856-94f89814c4df
2009-02-08 07:30: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
pb 743ff9b5d4 Upstream r1794: Yet another Replacement of some deprecated classes and method invocations by supported API
git-svn-id: https://svn.libreccm.org/ccm/trunk@72 8810af33-2d31-482b-a856-94f89814c4df
2009-02-07 08:55:51 +00:00
pb c88891c8ba Upstream r1793: Replaced some deprecated classes and method invocations by supported API
git-svn-id: https://svn.libreccm.org/ccm/trunk@71 8810af33-2d31-482b-a856-94f89814c4df
2009-02-07 08:53:02 +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 2b99335f5c Replaced usage of deprecated methods by supported API. We are now in sync with upstream r1763
git-svn-id: https://svn.libreccm.org/ccm/trunk@69 8810af33-2d31-482b-a856-94f89814c4df
2009-01-22 20:03:32 +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 d7d2845e5d Replaced some deprecated classes and methods by supported API
git-svn-id: https://svn.libreccm.org/ccm/trunk@67 8810af33-2d31-482b-a856-94f89814c4df
2009-01-22 01:24:19 +00:00
pb a9e6b82350 Patch to make APLAWS/CCM work with PostgreSQL 8.3, does not affect Oracle.
PostgreSQL 8.3 does no longer accept a mixture of integer and numeric fields in references/constrains. The modification 
eliminates a long standing performance complain by the analyze utility as well.

Update script provided, the Oracle version doesn't do anything at all. Postgres 8.x required for the update script to
work. If you use a 7.x version the upgrade isn't requirred and can savely be omitted.  


git-svn-id: https://svn.libreccm.org/ccm/trunk@66 8810af33-2d31-482b-a856-94f89814c4df
2008-12-25 23:39:20 +00:00
pb 712e43d266 incorporate several APLAWS patches for ccm-ldn-atoz:
r1741:	Changed AtoZ to not hide a category when an alias has been defined for it; 
	changed AtoZ to allow more than one alias to be defined for a category
r1742:	Added Category name in CategoryProviderAliasList.generateXML() 
r1743:	Fixed AtoZCategoryAlias.getCategory()
r1744:	Changed CategoryProviderAliasForm to use the Ajax category tree
r1747:	Relaxed version requirements for ccm-ldn-aplaws
r1750:	Added AtoZCategoryProvider.excludeBlackListTypes() 
1751:	Bumped version (release) number


git-svn-id: https://svn.libreccm.org/ccm/trunk@65 8810af33-2d31-482b-a856-94f89814c4df
2008-12-21 11:49:37 +00:00
pb 08ebde26fe incorporate several APLAWS patches for ccm-ldn-navigation:
r1727:	Fixed NPE when Content Item List portlet had no category selected.
r1748:	Added DataCollectionDefinition.setBlackListTypes() to filter for
	for content types which are blacklisted in the AtoZ module
r1749:	Bumped version number from 6.5.1 to 6.5.2



git-svn-id: https://svn.libreccm.org/ccm/trunk@64 8810af33-2d31-482b-a856-94f89814c4df
2008-12-21 11:38:09 +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 74e5c975a0 incorporate several APLAWS patches for ccm-ldn-portal:
r1718:	Adds a NavigationDirectoryPortlet (update provided)
r1739:	Adds a portlet for playing a Flash movie using SWFObject 1.5 (update provided)
r1745:	Fixed compilation error (StringReader cannot be converted to InputStream) 
r1746:	Fixed invalid characters in comments




git-svn-id: https://svn.libreccm.org/ccm/trunk@62 8810af33-2d31-482b-a856-94f89814c4df
2008-12-21 10:56:08 +00:00
pb 830a4cc875 incorporate several APLAWS patches for ccm-cms:
r1710:	CONTENT_ITEM constant is now public, so ajax components can set up the context.
r1711:	Upgraded web/assets/prototype.js to 1.6.0 from http://www.prototypejs.org/ 
r1729:	Added canPublish and canEdit attributes similar to normal content output.
r1731:	Content item portlet now checks read permissions.



git-svn-id: https://svn.libreccm.org/ccm/trunk@61 8810af33-2d31-482b-a856-94f89814c4df
2008-12-20 21:02:43 +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
quasi 6754f1cf85 AbstractObjectList geändert, so daß sie nur Objecte in der aktuellen (ausgehandelten) Sprache anzeigt.
Bitte AUSGIEBIG testen.



git-svn-id: https://svn.libreccm.org/ccm/trunk@59 8810af33-2d31-482b-a856-94f89814c4df
2008-11-29 18:49:13 +00:00
pb a6c0d33529 add fckeditor configuration
git-svn-id: https://svn.libreccm.org/ccm/trunk@58 8810af33-2d31-482b-a856-94f89814c4df
2008-06-22 13:53:36 +00:00
pb 02b52f11ac small bugfix for r56 sql upgrade script (vendor r1707)
git-svn-id: https://svn.libreccm.org/ccm/trunk@57 8810af33-2d31-482b-a856-94f89814c4df
2008-06-22 13:28:30 +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 8dfe898a26 remove unnecessary jsp's, new welcome.jsp with configurable events and news
git-svn-id: https://svn.libreccm.org/ccm/trunk@55 8810af33-2d31-482b-a856-94f89814c4df
2008-06-11 19:22:27 +00:00
quasi 67e8559995 Kleine Fehlerkorrektur für lokaliserte Kategorien. Es war nicht möglich, lokalisierte Root-Kategorien anzulegen, weil das CategoryLocalizationAddForm bei Root-Kategorien ausgeblendet wurde.
git-svn-id: https://svn.libreccm.org/ccm/trunk@54 8810af33-2d31-482b-a856-94f89814c4df
2008-06-10 09:31:53 +00:00
pb e86029d00c Integration of vendor r1694: minor bugfix in globalization support
git-svn-id: https://svn.libreccm.org/ccm/trunk@53 8810af33-2d31-482b-a856-94f89814c4df
2008-06-09 13:36:22 +00:00
pb a8cafb0051 reformatting, nothing substantial
git-svn-id: https://svn.libreccm.org/ccm/trunk@52 8810af33-2d31-482b-a856-94f89814c4df
2008-06-09 13:33:57 +00:00
pb e5c5452255 Some reformatting and minor synchronization with vendor trunk (not substantial)
git-svn-id: https://svn.libreccm.org/ccm/trunk@51 8810af33-2d31-482b-a856-94f89814c4df
2008-06-09 13:26:22 +00:00
pb 03a4f6bb05 remove nbproject, it is too installation specific
git-svn-id: https://svn.libreccm.org/ccm/trunk@50 8810af33-2d31-482b-a856-94f89814c4df
2008-06-09 12:14:20 +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
pb 7ad23d2d04 Integrating vendor r1699 and r1705
both are an addendum to vendor r1628 and make the update script as well
as the main patch work in postgresql



git-svn-id: https://svn.libreccm.org/ccm/trunk@48 8810af33-2d31-482b-a856-94f89814c4df
2008-06-08 19:27:55 +00:00
pb 78965b7743 Integration of patch r1700 of vendor trunk:
Addendum for r1633 to make the update script work for postgres:
Split of the common update script in ~/sql/ccm-ldn-image-script/default/upgrade/
into separate scripts for Oracle and Postgresql to reflect syntax differences.

(patch makes a contact item capable to be associated with any other content item)



git-svn-id: https://svn.libreccm.org/ccm/trunk@47 8810af33-2d31-482b-a856-94f89814c4df
2008-06-08 17:11:01 +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 46e9e6559d Diese Dateien gehören noch zum CategoryLocalization Patch. Hatte ich vergessen hinzuzufügen.
git-svn-id: https://svn.libreccm.org/ccm/trunk@45 8810af33-2d31-482b-a856-94f89814c4df
2008-06-05 10:55:22 +00:00
pb a0ca3baa10 Reformatierung und Vereinheitlichung
git-svn-id: https://svn.libreccm.org/ccm/trunk@44 8810af33-2d31-482b-a856-94f89814c4df
2008-06-05 09:37:28 +00:00
quasi 78f4b6acc9 Navigation in die Suchseiten eingefügt. Offenbar verwenden wir doch ccm-ldn-search.
Quasi


git-svn-id: https://svn.libreccm.org/ccm/trunk@43 8810af33-2d31-482b-a856-94f89814c4df
2008-05-20 14:35:16 +00:00
quasi a8fc9eae95 Traversal-Adapter für Notes angepaßt. Offenbar werden in der neuen Version primitive Objectdaten nicht mehr automatisch ausgegeben. Dadurch wurde nur die ObjectID ausgegeben, was ziemlich sinnlos ist.
Quasi


git-svn-id: https://svn.libreccm.org/ccm/trunk@42 8810af33-2d31-482b-a856-94f89814c4df
2008-05-20 13:51:49 +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 606b7d90d9 Nachtrag zu r46: Auch das www Verzeichnis ist überflüssig
git-svn-id: https://svn.libreccm.org/ccm/trunk@40 8810af33-2d31-482b-a856-94f89814c4df
2008-02-16 13:26:58 +00:00
pb f28d08c51b Verschieben der Projektdateien in root in ein eigenes Verzeichnis (infrastructure), da es sonst beim update die Dateien im lokalen trunk überschreibt
git-svn-id: https://svn.libreccm.org/ccm/trunk@39 8810af33-2d31-482b-a856-94f89814c4df
2008-02-16 13:24:16 +00:00
pb 18816ea682 incorporating APLAWS patch:
r1690 | chrisg23 | 2007-10-26 15:11:10 +0200 (Fr, 26 Okt 2007) 
Bugfix - make sure search result links for multipart article sections work in Postgres


git-svn-id: https://svn.libreccm.org/ccm/trunk@38 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 21:32:06 +00:00
pb 5c56527e40 incorporate APLAWS patch
r1689 | chrisg23 | 2007-10-26 13:06:23 +0200 (Fr, 26 Okt 2007) 
Sourceforge Patch [1820586] - allow contact content items to be added as an asset to other content items


git-svn-id: https://svn.libreccm.org/ccm/trunk@37 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 21:28:46 +00:00
pb fbaf37a9ca incorporating APLAWS patch:
r1688 | chrisg23 | 2007-10-26 11:28:41 +0200 (Fr, 26 Okt 2007) 
Bugfix - need to set the application type's group during load


git-svn-id: https://svn.libreccm.org/ccm/trunk@36 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 21:24:05 +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 9428bd1ffc incorporating APLAWS patch
r1685 | francois | 2007-10-15 09:57:47 +0200 (Mo, 15 Okt 2007) 

Add pdl quieries to return a category list containing only category with published content. Preserve default behaviour of a list containing all categories with an optional boolean ccm configuration parameter "com.arsdigita.london.atoz.filterCategoryProviders".
Set to TRUE will return the filtered list.


git-svn-id: https://svn.libreccm.org/ccm/trunk@34 8810af33-2d31-482b-a856-94f89814c4df
2008-02-15 20:58:45 +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