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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
r1681 | chrisg23 | 2007-10-03 17:04:55 +0200 (Mi, 03 Okt 2007)
Parameter example wasn't a good example as it had content type names wrong
git-svn-id: https://svn.libreccm.org/ccm/trunk@32 8810af33-2d31-482b-a856-94f89814c4df
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
r1669 | chrisg23 | 2007-09-19 15:10:46 +0200 (Mi, 19 Sep 2007)
Sourceforge patch 1797770 - put all those portal workspaces into one tidy group instead of having them clutter up the top level of the group admin tree. execute ccm upgrade --from-version 6.5.0 --to-version 6.5.1 in order to create top level group and move existing groups
------------------------------------------------------------------------
r1670 | chrisg23 | 2007-09-19 15:21:20 +0200 (Mi, 19 Sep 2007)
Sourceforge patch 1569884 - option to use your selected html editor for the freeform html portlet - switch it on with ccm set com.arsdigita.london.portal.portlet.freeform_html.wysiwyg_editor=true - by default there is no change. If you use fckeditor, the included config prevents access to back end file system or content centre via the link dialog (on our site non-authors customise their homepages).
------------------------------------------------------------------------
r1671 | chrisg23 | 2007-09-19 15:48:47 +0200 (Mi, 19 Sep 2007)
Sourceforge patch 1797923 - move individual application details above application list at ccm/portal/admin/sitemap.jsp
git-svn-id: https://svn.libreccm.org/ccm/trunk@29 8810af33-2d31-482b-a856-94f89814c4df
r1666 | chrisg23 | 2007-09-19 12:40:53 +0200 (Mi, 19 Sep 2007)
Currently date order categories work fine unless you have more than one page of objects - as the ordering is only done in xsl, when you have pagination, the java side returns a subset of objects ordered according to order set in jsp page (eg alphabetical) and then that subset is date ordered, but that means that as you page back and forth the date ordering is completely wrong. This change fixes that by enforcing date ordering in the java code if the current category is date ordered. Different object types have different attribute names for date - and only the renderer knows which attributes are available. I have added a method to the definition that gives the definition a reference to the renderer - the renderer now returns a list of attributes which the definition looks through and finds the first attribute that is of type date and uses that as the basis for date ordering if the current category is date ordered.If there is more than one date ordered attribute output in the list, then ensure the one used for ordering in xsl is the first one specified in jsp. I could have just made a setDateOrderAttribute method that takes a string attribute name argument and called that from the jsp page - it would have made the code quite a bit simpler. I chose this route to ensure that the date attribute specified for ordering in java was present in the datacollection, and so that there is no need to edit existing jsp pages. That is probably being overcautious though. Never mind, this works fine anyway - maybe one day I will refactor it to use the simpler approach
------------------------------------------------------------------------
r1667 | chrisg23 | 2007-09-19 12:48:36 +0200 (Mi, 19 Sep 2007)
Continuation of changes in r1651 - output publisher flag on index pages too
------------------------------------------------------------------------
r1668 | chrisg23 | 2007-09-19 12:53:08 +0200 (Mi, 19 Sep 2007)
See r1661 - ensure that this version of object-list.xsl caters for all listed objects, not just content pages, by referring to displayName (defined in ACSObject and now output on all object lists in default navigation jsp page
git-svn-id: https://svn.libreccm.org/ccm/trunk@28 8810af33-2d31-482b-a856-94f89814c4df
r1663 | chrisg23 | 2007-09-19 10:23:54 +0200 (Mi, 19 Sep 2007)
Add association between image and link. Changes have no effect by themselves, but if the ccm-wsx-image-link-step module in contrib is loaded then the default image step is replaced with an asset step UI for associating the article image with one of the related links defined for the article. This change requires upgrade script to be run: ccm upgrade ccm-ldn-image-step --from-version 6.5.0 --to-version 6.5.1
git-svn-id: https://svn.libreccm.org/ccm/trunk@27 8810af33-2d31-482b-a856-94f89814c4df
r1661 | chrisg23 | 2007-09-19 09:33:20 +0200 (Mi, 19 Sep 2007)
Include applications on navigation pages where they have been assigned to navigation categories
(currently possible for forums if the optional ccm-categorised-forum module in contrib/wsx is loaded).
git-svn-id: https://svn.libreccm.org/ccm/trunk@26 8810af33-2d31-482b-a856-94f89814c4df