Commit Graph

60 Commits (db34e3a98beb167d30dec60b6bab036b89a79445)

Author SHA1 Message Date
quasi 083bb6d34e Verbesserungen an der Mehrsprachenfähigkeit
* Die Konfigurations-Parameter waf.categorization.supported_languages und com.arsdigita.cms.languages zu waf.kernel.supported_languages zusammengefasst
 * In DispatcherHelper eine Methode getNegotiatedLocale eingeführt, die beim Aushandeln der Locale zwischen Browser und CCM auch dem Konfigurations-Parameter waf.kernel.supported_languages respektiert
 * Alle Aufrufe von DispatcherHelper.getRequest().getLocale() auf die neue Methode DispatcherHelper.getNegotiatedLocale() geändert.
 * Konfiguration von Categorization geändert. Verwendet jetzt keinen eigenen Eintrag für die unterstützten Sprachen mehr. Stattdessen wird die Konfiguration von Kernel verwendet.
 * ContentSectionInitializer geändert, so daß er nun Kernel.getConfig().getSupportedLanguages() verwendet.


Außerdem diverse Aufräumarbeiten (Unnötige Imports entfernt, Reformat, Annotationen hinzugefügt, Klammern bei If-Anweisungen) in den Sourcen, wo immer sie mir in die Händegefallen sind.

git-svn-id: https://svn.libreccm.org/ccm/trunk@419 8810af33-2d31-482b-a856-94f89814c4df
2010-05-14 10:18:30 +00:00
pb e5b503780f Übriggebliebene SVN Konfliktmeldungen beseitigt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@402 8810af33-2d31-482b-a856-94f89814c4df
2010-04-30 08:03:44 +00:00
pb b645b42849 Formatierung.
git-svn-id: https://svn.libreccm.org/ccm/trunk@390 8810af33-2d31-482b-a856-94f89814c4df
2010-04-24 21:31:22 +00:00
pb e20f3426b0 Verschiedene deprecated Klassen und Methoden entfernt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@370 8810af33-2d31-482b-a856-94f89814c4df
2010-04-17 07:44:02 +00:00
pb 93d082caa6 ccm-cms enterprise.init Left over von Experimenten mit content-section entfernt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@363 8810af33-2d31-482b-a856-94f89814c4df
2010-03-24 00:26:25 +00:00
pb c0422a394b Entfernen deprecated methods, Formatierungen, Dokumentation.
git-svn-id: https://svn.libreccm.org/ccm/trunk@362 8810af33-2d31-482b-a856-94f89814c4df
2010-03-13 00:32:17 +00:00
pb 3d0cf2aee4 Abhaengigkeit von Legacy Init fuer alle Content Typen entfernt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@356 8810af33-2d31-482b-a856-94f89814c4df
2010-02-20 19:03:45 +00:00
pb 8a795c63c5 Nicht mehr benötigte Klassen umbenannt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@347 8810af33-2d31-482b-a856-94f89814c4df
2010-02-17 14:28:52 +00:00
quasi a66e71d2a0 UDCT
2. Versuch. Warum hat er das letzte Mal nicht eingecheckt?

* Angepaßte CreatePage, so daß die neuen Elemente nicht direkt bei der Erstellung abgefragt werden
* AddElement wurde so angepaßt, daß man nur optionale Elemente anlegen kann
* Mist.remove funktionsfähig gemacht
* ObjectType um remove-Methode erweiterert


Jetzt sollte der UDCT soweit funktionsfähig sein, daß er verwendbar wird. Es lassen sich neue Elemente ablegen und löschen. Es lassen sich neue CT anlegen und löschen.

git-svn-id: https://svn.libreccm.org/ccm/trunk@346 8810af33-2d31-482b-a856-94f89814c4df
2010-02-14 07:24:23 +00:00
pb 9286b5bbe0 cms.publishToFile nutzt nicht mehr das alte Initializer System.
git-svn-id: https://svn.libreccm.org/ccm/trunk@342 8810af33-2d31-482b-a856-94f89814c4df
2010-02-13 18:23:00 +00:00
quasi c71e62572e UDCT
* Angepaßte CreatePage, so daß die neuen Elemente nicht direkt bei der Erstellung abgefragt werden
* AddElement wurde so angepaßt, daß man nur optionale Elemente anlegen kann
* Mist.remove funktionsfähig gemacht
* ObjectType um remove-Methode erweiterert


Jetzt sollte der UDCT soweit funktionsfähig sein, daß er verwendbar wird. Es lassen sich neue Elemente ablegen und löschen. Es lassen sich neue CT anlegen und löschen.

git-svn-id: https://svn.libreccm.org/ccm/trunk@332 8810af33-2d31-482b-a856-94f89814c4df
2010-01-19 09:58:49 +00:00
pb 4366671f9c Nachtrag zu 324: Beim Runterfahren eine Pause eingeführt, um das Beendet von Hintergrundprozessen abzuwarten.
git-svn-id: https://svn.libreccm.org/ccm/trunk@325 8810af33-2d31-482b-a856-94f89814c4df
2010-01-15 06:08:45 +00:00
pb 3342f0dd18 Ziemlich umfangreicher Patch, der das Initializer System so modifiziert, dass alle Hintergrundprozesse beim Herunterfahren gestoppt werden und der Servlet Container sich ordnungsgemaess beenden kann. Damit ist es auch möglich, eine CCM Applikation über die Tomcat Management Applikation hoch- und runterzufahren. Das Interface initialize wurde um 2 Methoden erweitert: init(ContextInitEvent) beim Start in einem Servlet Container und close(ContextCloseIvent).
git-svn-id: https://svn.libreccm.org/ccm/trunk@324 8810af33-2d31-482b-a856-94f89814c4df
2010-01-14 11:49:16 +00:00
quasi f36bcfd0b6 Kommentare hinzugefügt
git-svn-id: https://svn.libreccm.org/ccm/trunk@323 8810af33-2d31-482b-a856-94f89814c4df
2010-01-07 10:07:49 +00:00
quasi c00933d9bf Änderung der Verabeitung von ContentBundles in RelatedLinks
Durch Einführung und Verwendung von ContentItemXMLRenderer weerden ContentBundles bei der Erzeugung der XML-Ausgabe zur ausgehandelten Sprache aufgelöst und statt des ContentBundles dieses neue Objekt ausgeben.

Es ist eine API-Änderung nötig gewesen: in DomainObjectTraversal.java mußte die walk()-Methode protected markiert werden.

(Dateien vergessen hinzuzufügen.)

git-svn-id: https://svn.libreccm.org/ccm/trunk@321 8810af33-2d31-482b-a856-94f89814c4df
2010-01-07 09:48:33 +00:00
quasi 69b61307a4 Änderung der Verabeitung von ContentBundles in RelatedLinks
Durch Einführung und Verwendung von ContentItemXMLRenderer weerden ContentBundles bei der Erzeugung der XML-Ausgabe zur ausgehandelten Sprache aufgelöst und statt des ContentBundles dieses neue Objekt ausgeben.

Es ist eine API-Änderung nötig gewesen: in DomainObjectTraversal.java mußte die walk()-Methode protected markiert werden.

(Dateien vergessen hinzuzufügen.)

git-svn-id: https://svn.libreccm.org/ccm/trunk@320 8810af33-2d31-482b-a856-94f89814c4df
2010-01-07 09:43:30 +00:00
quasi 2bb0b8e1e4 Änderung der Verabeitung von ContentBundles in RelatedLinks
Durch Einführung und Verwendung von ContentItemXMLRenderer weerden ContentBundles bei der Erzeugung der XML-Ausgabe zur ausgehandelten Sprache aufgelöst und statt des ContentBundles dieses neue Objekt ausgeben.

Es ist eine API-Änderung nötig gewesen: in DomainObjectTraversal.java mußte die walk()-Methode protected markiert werden.

git-svn-id: https://svn.libreccm.org/ccm/trunk@319 8810af33-2d31-482b-a856-94f89814c4df
2010-01-07 09:42:00 +00:00
pb 037b0b4675 Reaktivieren des background tasks in p2fs, der in r273 versehentlich deaktiviert wurde.
git-svn-id: https://svn.libreccm.org/ccm/trunk@303 8810af33-2d31-482b-a856-94f89814c4df
2009-11-15 10:23:23 +00:00
pb b1dc386328 Verschiedenes an Dokumentation
git-svn-id: https://svn.libreccm.org/ccm/trunk@280 8810af33-2d31-482b-a856-94f89814c4df
2009-10-17 19:54:25 +00:00
pb 3a54653bb7 Integrated r1968, r1973, r1974: Postgresql 8.3 compatibility; various formatting and documentation.
git-svn-id: https://svn.libreccm.org/ccm/trunk@273 8810af33-2d31-482b-a856-94f89814c4df
2009-10-04 16:54:54 +00:00
quasi 36e5dd7b66 Überprüfung von allen Aufrufen von getPrimaryInstance() außer in Navigation abgeschlossen. Sollte jetzt, soweit ich das erkennen konnte, korrekt sein.
git-svn-id: https://svn.libreccm.org/ccm/trunk@269 8810af33-2d31-482b-a856-94f89814c4df
2009-09-29 07:00:18 +00:00
quasi 59abb7db2e Multilanguage Korrektur für RelatedLinks (und Links). Nun wird nicht mehr die Sprachversion des ContentItems gespeichert, sondern das dazugehörige ContentBundle. Bei der Anzeige wird dieses mit Hilfe von negotiate() in die gewünschte Sprachversion gewandelt, falls diese vorhanden ist.
Es sollte ebenfalls noch mit den alten Inhalten in der DB funktionieren, allerdings wird dann keine Sprachvariante ermittelt (altes Verhalten).

Problematisch kann sein, daß Links nun automatisch in eine andere Sprachversion wechseln, falls die gewünschte Variante nicht vorhanden ist. Ich bin mir noch nicht sicher, ob die Standardversion des ContentItems zurückgegeben wird, wenn keine Übereinstimmung gefunden werden kann, oder ob der Link dann entfällt.

git-svn-id: https://svn.libreccm.org/ccm/trunk@265 8810af33-2d31-482b-a856-94f89814c4df
2009-09-22 06:32:02 +00:00
pb 38eb28fca4 Tippfehler, der verhinderte, dass im Content-Center bei der Zuweisung von Kategorien die 2. und tiefere Ebenen erreichbar sind.
git-svn-id: https://svn.libreccm.org/ccm/trunk@261 8810af33-2d31-482b-a856-94f89814c4df
2009-09-11 17:53:28 +00:00
pb ab16357718 Added update 6.5.3-6.5.4 to update.xml which I forgot in r1796 or so.
git-svn-id: https://svn.libreccm.org/ccm/trunk@259 8810af33-2d31-482b-a856-94f89814c4df
2009-08-29 21:03:52 +00:00
pb e630423c0a Typo korrigiert
git-svn-id: https://svn.libreccm.org/ccm/trunk@257 8810af33-2d31-482b-a856-94f89814c4df
2009-08-29 10:19:58 +00:00
pb dec240bf3b Integrated r1948,r1949,r1950,r1951 (ccm-cms)
- Display of information about index items is now more informative and accurate 
- Upload option can now be turned off for text assets 
  using com.arsdigita.cms.hide_text_asset_upload_file configuration property
- Can hide the action for creating a content item from the content sections list 
- Users were adding brackets () to the Name field of a content item in basic 
  properties resulting in "page not found" error when you try to open the 
  published item


git-svn-id: https://svn.libreccm.org/ccm/trunk@254 8810af33-2d31-482b-a856-94f89814c4df
2009-08-28 19:17:42 +00:00
pb 1815a1f7f6 Integrating r1936 - ccm-cms: Added new Reports tab to the content center, initially with 'Content Section Summar' report.
git-svn-id: https://svn.libreccm.org/ccm/trunk@248 8810af33-2d31-482b-a856-94f89814c4df
2009-08-28 16:32:01 +00:00
pb d0e8e0cb2d fix ccm-cms: Upgrade 6.5.3 -> 6.5.4 nicht in upgrade.xml enthalten
git-svn-id: https://svn.libreccm.org/ccm/trunk@245 8810af33-2d31-482b-a856-94f89814c4df
2009-08-28 14:18:53 +00:00
pb 13511b49db Integration der patchens r1877 - 1902:
Beitrag von Terry:
- Neues Import Format fuer terms: SKOS
- Keyphrase extraction utility, nutzbar um Kategorien vorschlagen zu lassen,
  die zu einem content item passen.

Update Script: 
ccm upgrade ccm-ldn-terms --from-version 6.5.0 --to-version 6.5.1

Es sind Änderungen am theme erforderlich, um die Funktionen nutzen zu können:
siehe:
ccm-ldn-aplaws/src/com/arsdigita/aplaws/ui/TermWidget.java
ccm-ldn-aplaws/web/__ccm__/themes/aplaws/types/ContentTypes.xsl
ccm-cms/web/__ccm__/static/cms/admin/category-step/category-step.xsl
ccm-ldn-navigation/src/com/arsdigita/london/navigation/cms/CategoryDataCollectionDefinition.java

Damit ist trunk hb auf Stand r1902 aplaws trunk
(1871 bis 1876 waren eigene patches, die bereits enthalten sind, ebenso 1894)
Patch 1879 uebersprungen, fuegt dictionary fuer eclipse in das root Verzeichnis 
von trunk ein. Da gehoert aber nichts hin, ausserdem Eclipse im Moment nicht
in Benutzung hier.


git-svn-id: https://svn.libreccm.org/ccm/trunk@235 8810af33-2d31-482b-a856-94f89814c4df
2009-08-16 09:40:15 +00:00
jensp c4d1d91d5d Traversal Adapter für Personenmodul Contenttypen, noch nicht abschließend getestet
git-svn-id: https://svn.libreccm.org/ccm/trunk@230 8810af33-2d31-482b-a856-94f89814c4df
2009-08-12 15:43:45 +00:00
jensp c084e9a837 Hinzufügen von Mitgliedern zu einer Organizationseinheit. UI funktioniert noch nicht!
git-svn-id: https://svn.libreccm.org/ccm/trunk@206 8810af33-2d31-482b-a856-94f89814c4df
2009-07-03 12:52:53 +00:00
jensp d44f00ff43 Aktueller Stand GenericOrganization mit Verküpfung zu Person. Funktioniert noch nicht 100%
git-svn-id: https://svn.libreccm.org/ccm/trunk@192 8810af33-2d31-482b-a856-94f89814c4df
2009-06-11 15:51:06 +00:00
jensp 4f1a80d506 JavaDoc for GenericOrganization
git-svn-id: https://svn.libreccm.org/ccm/trunk@189 8810af33-2d31-482b-a856-94f89814c4df
2009-06-02 13:47:44 +00:00
jensp e2b5a3d64e Debug log ausgaben wieder entfernt
git-svn-id: https://svn.libreccm.org/ccm/trunk@182 8810af33-2d31-482b-a856-94f89814c4df
2009-05-27 12:32:31 +00:00
jensp dc83059114 Aktueller Code von GenericOrganization. Einfügen von Funktionen (Rollen) funktoniert nicht. Der Code hierfür basiert derzeit auf ccm-cms-types-contact (phones).
Dieser Code ist jedoch ein wenig seltsam. Ich werde jetzt Multipartarticle analysieren und GenericOrganization auf dieser Basis anpassen. Auf den ersten Blick 
schein der Code für die Verknüpfung zwischen dem Multipartarticle und seinen Sections einfacher zu verstehen zu sein (und wahrscheinlich auch sauberer...)



git-svn-id: https://svn.libreccm.org/ccm/trunk@181 8810af33-2d31-482b-a856-94f89814c4df
2009-05-27 12:28:57 +00:00
pb 7b1ffd0422 Trunk auf Version 6.6 angehoben.
git-svn-id: https://svn.libreccm.org/ccm/trunk@176 8810af33-2d31-482b-a856-94f89814c4df
2009-05-24 11:19:24 +00:00
pb 7a2aa8dd32 Relativ grosser Patch, ersetzt URL resource: Protokollerweiterung durch Klasse ResourceParameter. Deployment von ccm-core-x.a.z-system.jar ist entfernt, der Handler code aber noch vorhanden.
git-svn-id: https://svn.libreccm.org/ccm/trunk@175 8810af33-2d31-482b-a856-94f89814c4df
2009-05-24 10:03:53 +00:00
quasi 680a8fc59d Xinha an die korrekte Stelle verschoben (ccm-cms -> ccm-core)
git-svn-id: https://svn.libreccm.org/ccm/trunk@163 8810af33-2d31-482b-a856-94f89814c4df
2009-05-11 11:25:18 +00:00
pb 7d1f598d2c Loeschen debian in ccm-cms
git-svn-id: https://svn.libreccm.org/ccm/trunk@154 8810af33-2d31-482b-a856-94f89814c4df
2009-05-07 21:20:13 +00:00
pb 9f0bef59b8 Bereinigen Dateiverzeichnisse
git-svn-id: https://svn.libreccm.org/ccm/trunk@138 8810af33-2d31-482b-a856-94f89814c4df
2009-04-16 11:12:05 +00:00
pb 9434792c52 Incorporating TUV r1847/1848 - add PathInfo
git-svn-id: https://svn.libreccm.org/ccm/trunk@96 8810af33-2d31-482b-a856-94f89814c4df
2009-03-15 14:52:33 +00:00
pb 584e543e08 Incorporating TUV r1845/1846 - update lucene
git-svn-id: https://svn.libreccm.org/ccm/trunk@95 8810af33-2d31-482b-a856-94f89814c4df
2009-03-15 14:51:02 +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
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
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 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 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
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 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