Commit Graph

42 Commits (7c5592f047b681be489e8abe06000df7f1af2ba9)

Author SHA1 Message Date
jensp c9bbe9a66d Another typo in ccm-core-6.6.3-6.6.4
git-svn-id: https://svn.libreccm.org/ccm/trunk@3059 8810af33-2d31-482b-a856-94f89814c4df
2014-12-16 13:56:02 +00:00
jensp efa245ce3f Fix typo for ccm-core-6.6.3-6.6.4
git-svn-id: https://svn.libreccm.org/ccm/trunk@3058 8810af33-2d31-482b-a856-94f89814c4df
2014-12-16 13:51:46 +00:00
jensp fb3a141343 Some refinements for upgrades, especially for Oracle and upgrading old APLAWS installations (1.0.4) to current versions
git-svn-id: https://svn.libreccm.org/ccm/trunk@3056 8810af33-2d31-482b-a856-94f89814c4df
2014-12-16 09:37:39 +00:00
jensp f3d6999d2e Fixed ccm-core-6.6.4-6.6.5 for Oracle
git-svn-id: https://svn.libreccm.org/ccm/trunk@3052 8810af33-2d31-482b-a856-94f89814c4df
2014-12-14 14:25:24 +00:00
jensp 3d4be10ca0 Small refinement, Oracle or CCM seams to include SQL files for Oracle even if the line with the include is commented out.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3050 8810af33-2d31-482b-a856-94f89814c4df
2014-12-14 09:26:50 +00:00
pb ef3645d98d Added documentation
git-svn-id: https://svn.libreccm.org/ccm/trunk@3049 8810af33-2d31-482b-a856-94f89814c4df
2014-12-13 19:44:13 +00:00
jensp 3c7f2061ae Adapated upgrade ccm-core-6.6.4-6.6.5 for Oracle syntax
git-svn-id: https://svn.libreccm.org/ccm/trunk@3046 8810af33-2d31-482b-a856-94f89814c4df
2014-12-13 10:08:40 +00:00
jensp 224902b916 Fixed various potiential, Oracle related problems in upgrade scripts.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3037 8810af33-2d31-482b-a856-94f89814c4df
2014-12-11 19:25:17 +00:00
jensp e21a158931 Various modifications on upgrade script to make them work with Oracle. In some cases there now distict scripts for Oracle and PostgreSQL.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3030 8810af33-2d31-482b-a856-94f89814c4df
2014-12-10 18:56:40 +00:00
jensp 191e09f3e1 Fixed upgrade ccm-core-6.6.0-6.6.1 to make upgrade compatible with Oracle. Upgrade has now a variant for PostgreSQL and one for Oracle.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3029 8810af33-2d31-482b-a856-94f89814c4df
2014-12-10 11:14:55 +00:00
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 d6faefdf6f Added missing line to upgrade script ccm-core-6.6.5-6.6.6 for Oracle
git-svn-id: https://svn.libreccm.org/ccm/trunk@3022 8810af33-2d31-482b-a856-94f89814c4df
2014-12-10 07:13:16 +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
jensp 5e7cb4eb4a Merged changes to SQL scripts by PB from fedorahosted. Goal is compatibility for Oracle.
git-svn-id: https://svn.libreccm.org/ccm/trunk@3016 8810af33-2d31-482b-a856-94f89814c4df
2014-12-08 14:54:09 +00:00
jensp 9bf0761ce5 Fixed a bug in the upgrade script for ccm-core version 6.5.2-6.5.3. This SQL
command did not work: 

ALTER TABLE messages ADD large_body text NOT NULL;

because this would add a column with null values if there are exitings rows. 
Changing the SQL command to

ALTER TABLE messages ADD large_body text NOT NULL DEFAULT ' ';

solved the problem.



git-svn-id: https://svn.libreccm.org/ccm/trunk@2408 8810af33-2d31-482b-a856-94f89814c4df
2013-10-31 21:06:45 +00:00
jensp 00d4066e53 Another try to fix the wrong paths in the upgrade scripts of ccm-core
git-svn-id: https://svn.libreccm.org/ccm/trunk@2407 8810af33-2d31-482b-a856-94f89814c4df
2013-10-31 20:24:15 +00:00
jensp 094359b881 - Fixed wrong paths in upgrade scripts of ccm-core
- Some minor things (formating etc)


git-svn-id: https://svn.libreccm.org/ccm/trunk@2406 8810af33-2d31-482b-a856-94f89814c4df
2013-10-31 19:52:22 +00:00
jensp 4edddb7faa Weitere Einstellung "Sichtbar" für Kategorien (Ticket #1634). Dafür wird eine weitere Spalte in cat_categories benötigt. Upgrade-Skript enthalten.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2172 8810af33-2d31-482b-a856-94f89814c4df
2013-06-05 15:07:46 +00:00
jensp ad8bb933ab Singleton Property für Applications wird jetzt wieder korrekt gesetzt (Ticket #1717). Upgrade-Scripts enthalten.
git-svn-id: https://svn.libreccm.org/ccm/trunk@2158 8810af33-2d31-482b-a856-94f89814c4df
2013-05-31 18:39:53 +00:00
jensp 49f2735ec5 Typos in Dateinname korrigiert
git-svn-id: https://svn.libreccm.org/ccm/trunk@2126 8810af33-2d31-482b-a856-94f89814c4df
2013-04-16 12:40:48 +00:00
pb 3060534ea9 Removed old style application classes:
* kernel/SiteNode
* kernel/SiteNodeCollection
* kernel/Packages
* kernel/PackageTypes
* kernel/PackageInstanceCollection
* kernel/PackageEventListener
* kernel/PackageInstanceCollection
* kernel/PackageTypeCollection
* kernel/PackageInstance



git-svn-id: https://svn.libreccm.org/ccm/trunk@2056 8810af33-2d31-482b-a856-94f89814c4df
2013-01-30 21:16:59 +00:00
jensp 5f588035da Upgrade Script für ccm-core 6.6.3 auf 6.6.4 erweitert um Entfernung SiteMap Application
git-svn-id: https://svn.libreccm.org/ccm/trunk@1917 8810af33-2d31-482b-a856-94f89814c4df
2012-11-10 12:18:17 +00:00
jensp b6492ca9be Diverser Kleinkram (unter anderem Abgleich ccm-bundle, einige Ergänzungen an Upgrades etc.)
git-svn-id: https://svn.libreccm.org/ccm/trunk@1646 8810af33-2d31-482b-a856-94f89814c4df
2012-05-08 08:46:31 +00:00
pb bd190c911c Kleinere Anpassungen durch Abgleich mit APLAWS svn.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1645 8810af33-2d31-482b-a856-94f89814c4df
2012-05-05 10:48:29 +00:00
pb 8b4b7cb929 Update Skript für ccm-core (Umstellung auf legacy free) komplettiert. admin/sitemap entfernt, da nicht mehr sinnvoll. Einen Teil der Klassen vorerst noch im Code belassen, dient im Moment als Experimentierbases für Erweiterung admin um einen 3. Tab Applications.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1552 8810af33-2d31-482b-a856-94f89814c4df
2012-03-26 19:19:52 +00:00
pb 280e924978 Alle applications aus core werden jetzt als new style legacy free apps initialisiert. sitemap ist demnächst komplett überflüssig, da die Routine nur Anwendungen aus sitenode listet. Permissions funktioniert wieder. Update Skript ccm-core 6.6.3 -> 6.6.4 inkludiert.
git-svn-id: https://svn.libreccm.org/ccm/trunk@1516 8810af33-2d31-482b-a856-94f89814c4df
2012-02-19 12:54:52 +00:00
pb f9e93351e6 Letzte Reste des old initializers entfernt. Erstaunlicherweise läuft das System bei mir noch :-)
git-svn-id: https://svn.libreccm.org/ccm/trunk@931 8810af33-2d31-482b-a856-94f89814c4df
2011-05-22 23:50:03 +00:00
pb cb5e7b8130 Umstellung core portal auf legacy free application type. Update script enthalten!
git-svn-id: https://svn.libreccm.org/ccm/trunk@894 8810af33-2d31-482b-a856-94f89814c4df
2011-05-04 14:53:25 +00:00
pb c175af4662 Noch kleinere Korrekturen an Update Scripten sowie ZeS Bundle.
git-svn-id: https://svn.libreccm.org/ccm/trunk@836 8810af33-2d31-482b-a856-94f89814c4df
2011-04-06 10:24:50 +00:00
pb c9638bbb60 Provides ccm-core UPDATE script: 6.6.0->6.6.1
git-svn-id: https://svn.libreccm.org/ccm/trunk@694 8810af33-2d31-482b-a856-94f89814c4df
2011-01-19 02:15:59 +00:00
pb c2a22ad67e Deprecated and unused classes for handling style sheets removed.
git-svn-id: https://svn.libreccm.org/ccm/trunk@683 8810af33-2d31-482b-a856-94f89814c4df
2011-01-16 09:25:48 +00:00
pb da4084cf66 Integrating upstream r2113: Various Oracle specific corrections.
git-svn-id: https://svn.libreccm.org/ccm/trunk@681 8810af33-2d31-482b-a856-94f89814c4df
2011-01-13 07:49:02 +00:00
pb b1e12b9e7f Verschiedene depreacted Klassen und Methoden entfernt.
git-svn-id: https://svn.libreccm.org/ccm/trunk@369 8810af33-2d31-482b-a856-94f89814c4df
2010-04-17 07:41:40 +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
pb eb111dd6db Integrated r2043: By default, Oracle Intermedia search and Oracle INSO filter are now disabled. Lucene is the default (and single activated) search engine.
git-svn-id: https://svn.libreccm.org/ccm/trunk@314 8810af33-2d31-482b-a856-94f89814c4df
2009-12-16 08:38:57 +00:00
pb dcc4670518 Integrated r1954,r1956-r1961,r1964 ccm-core:
- Upgrade Saxon from 6.5.2 to 6.5.5
- Fixed version of junit in ccm-core/application.xml so that unit tests compile 
- Minor cleanup of validation for administration of users
- Now uses reflection for Oracle-specific code so system builds without the 
  Oracle libraries
- Fixed SQL loading problems on Windoze due to back-slash problems 
- Created index on lower(screen_name) to stop full table scan when there is 
  a large number of users in the database

Trunk hb is now fuly in sync with fedorahosted up to r1965.
We left off:
- r1965: Prototye JSR portlet implementation as it does not access CCM
  content
- r1940-r1942: Removal of $Id: from code, we should retain information about
  time and developer who recently changed the code
- r1879 introducing eclipce configuration in trunk root (wrong location and
  we don't use eclipse for now)
- r??? (ccm-sample) as it does not provide usefull functionality for now



git-svn-id: https://svn.libreccm.org/ccm/trunk@255 8810af33-2d31-482b-a856-94f89814c4df
2009-08-29 08:01:39 +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 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 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
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