0.00%
Search · Index

Weblog Page

Showing 201 - 210 of 230 Postings (summary)

Tcl for Web Use

Created by Malte Sussdorff, last modified by Malte Sussdorff 05 Jul 2007, at 06:33 PM

In most cases, rather than typing Tcl expressions at the interpreter you'll be using Tcl to generate dynamic Web pages. AOLserver provides two mechanisms for doing this:
  1. .tcl pages are Tcl programs that are executed by the webserver (in this case AOLServer). They typically generate character strings that are sent to the client browser with ns_write.
  2. .adp pages are like ordinary HTML pages, but they contain escapes to Tcl commands that are evaluated by the server.

Which option you choose depends largely on whether static HTML or Tcl constitutes the majority of the page you are creating. If you're printing fixed character strings with Tcl, you'll need to "quote" any embedded quotes by preceding them with backslash. E.g., to print to a Web page the string <a href="goodies.html"> you would use the Tcl command

ns_write "<a href=\"goodies.html\">"

 or simply

ns_write "<a href='goodies.html'>"

So if the majority of your Tcl expressions are simply printing strings, you'll find it more convenient to avoid the hassles of quoting by using .adp pages rather than complete .tcl programs.

Why the use of ns_write instead of puts? The puts command writes to a program's standard output stream. If you were writing a Tcl CGI script, standard output would be linked through the Web server to the Web client and you could indeed use puts. This idea doesn't make sense with AOLserver, where all the Tcl scripts are running inside the Web server process. If the Web server is serving 100 clients simultaneously, to which client should bytes written with puts be sent?

Anyway, if you want to have some fun one night, try redefining puts to forward its argument to ns_write and see what happens.

Collaboration Graph

Created by Gustaf Neumann, last modified by Gustaf Neumann 04 Jul 2007, at 07:42 PM

You must login to see the collab-graph

Activity Graph

Created by Gustaf Neumann, last modified by Gustaf Neumann 04 Jul 2007, at 07:40 PM

You must login to see the activity-graph

OpenACS Release Notes

Created by Gustaf Neumann, last modified by Gustaf Neumann 22 Jan 2007, at 01:19 AM

The ChangeLogs include an annotated list of changes (the section called “Changelog (most recent release only)”) since the last release and in the entire 5.2 release sequence the section called “Changelog for oacs-5-2”.

  • Bug fixes.

    New TIPs implemented.

    This release does not include new translations.

  • Bug fixes.

    The missing CR TCL API has been filled in, thanks to Rocael and his team and Dave Bauer.

    This release does not include new translations.

  • Bug fixes, primarily for .LRN compatibility in support of upcoming .LRN 2.1.0 releases. This release does not include new translations since 5.1.2.

  • This is the first release using the newest adjustment to the versioning convention. The OpenACS 5.1.1 tag will apply to OpenACS core as well as to the most recent released version of every package, including .LRN.

  • Translations syncronized with the translation server.

  • Bug 1519 fixed. This involved renaming all catalog files for ch_ZH, TH_TH, AR_EG, AR_LB, ms_my, RO_RO, FA_IR, and HR_HR. If you work with any of those locales, you should do a full catalog export and then import (via /acs-lang/admin) after upgrading acs-lang. (And, of course, make a backup of both the files and database before upgrading.)

  • Other bug fixes since 5.1.0: 1785, 1793, and over a dozen additional bug fixes.

  • For a complete change list, see the Change list since 5.0.0 in the section called “Changelog for oacs-5-2”.

  • Lots of little tweaks and fixes

  • Complete Change list since 5.0.0 in Changelog

  • Many Bug fixes

  • New translations, including for .LRN 2.0.2.

  • All work on the translation server from 7 Nov 2003 to 7 Feb 2004 is now included in catalogs.

  • One new function in acs-tcl, util::age_pretty

  • Complete Change list since 5.0.0 in Changelog

  • Many documentation updates and doc bug fixes

This is OpenACS 5.0.0. This version contains no known security, data loss, or crashing bugs, nor any bugs judged release blockers. This version has received manual testing. It has passed current automated testing, which is not comprehensive. This release contains work done on the translation server http://translate.openacs.org through 7 Nov 2003.

Please report bugs using our Bug Tracker at the OpenACS website.

You may want to begin by reading our installation documentation for the section called “a Unix-like system”. Note that the Windows documentation is not current for OpenACS 5.2.3rc1, but an alternative is to use John Sequeira's Oasis VM project.

After installation, the full documentation set can be found by visiting http://yourserver/doc.

New features in this release:

  • Internationalization support. A message catalog to store translated text, localization of dates, number formatting, timezone conversion, etc. Allows you to serve your users in their language.

  • External authenticaiton. Integrate with outside user databases through e.g. LDAP, RADIUS, Kerberos, MS Active Directory. Imports user information through IMS Enterprise 1.1 format. Easily extended to support other authentication, password management, account creation, and account import mechanisms. This includes improvements to the basic cookie handling, so logins can be expired without the user's identity being completely lost. You can set login to expire after a certain period (e.g. 8 hours, then password must be refreshed), or you can have all issues login cookies expired at once, e.g. if you have left a permanent login cookie on a public machine somewhere.

  • User interface enhancements. All pages, including site-wide and subsite admin pages, will be templated, so they can be styled using master template and site-wide stylesheets. We have a new default-master template, which includes links to administration, your workspace, and login/logout, and is rendered using CSS. And there's a new community template (/packages/acs-subsite/www/group-master), which provides useful navigation to the applications and administrative UI in a subsite. In addition, there's new, simpler UI for managing members of a subsite, instantiating and mounting applications, setting permissions, parameters, etc. Site-wide admin as also seen the addition of a new simpler software install UI to replace the APM for non-developer users, and improved access to parameters, internationalization, automated testing, service contracts, etc. The list builder has been added for easily generating templated tables and lists, with features such as filtering, sorting, actions on multiple rows with checkboxes, etc. Most of all, it's fast to use, and results in consistently-looking, consistently-behaving, templated tables.

  • Automated testing. The automated testing framework has been improved significantly, and there are automated tests for a number of packages.

  • Security enhancements. HTML quoting now happens in the templating system, greatly minimizing the chance that users can sneak malicious HTML into the pages of other users.

  • Oracle 9i support.

  • Who's online feature.

  • Spell checking.

Potential incompatibilities:

  • With the release of OpenACS 5, PostgreSQL 7.2 is no longer supported. Upgrades are supported from OpenACS 4.6.3 under Oracle or PostgreSQL 7.3.

  • The undocumented special handling of ~ and +variable+ in formtemplates, found in packages/acs-templating/resources/*, has been removed in favor of using <noparse> and @variable@ (the standard templating mechanisms). Locally provided formtemplate styles still using these mechanisms will break.

  • Serving backup files and files from the CVS directories is turned off by default via the acs-kernel parameter ExcludedFiles in section request-processor (The variable provides a string match glob list of files and is defaulted to "*/CVS/* *~")

2004-11-24 23:16  torbenb

	* packages/acs-core-docs/www/xml/install-guide/aolserver.xml:
	  adding test page for aolserver4, suggested by Aldert Nooitgedagt

2004-11-24 04:01  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  added documentation strategy section

2004-11-24 02:13  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  added marketing perspective to end-users docs, corrected spelling
	  mistakes

2004-11-23 23:53  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  added developer documentation requirements

2004-11-23 20:28  joel

	* packages/acs-core-docs/www/: xml/releasing-openacs.xml,
	  releasing-openacs-core.html: fixed typo

2004-11-23 12:41  andrewg

	* www/site-master.adp: Adding a span around the Site Wide Admin
	  link so that .LRN can hide it via dotlrn-master.css.

2004-11-23 12:09  vivianh

	*
	  packages/acs-subsite/sql/postgresql/upgrade/upgrade-5.1.2-5.1.3.sql:
	  add support for upgrade

2004-11-23 12:07  vivianh

	* packages/acs-subsite/sql/postgresql/: acs-subsite-create.sql,
	  acs-subsite-drop.sql, site-node-selection-drop.sql,
	  site-node-selection.sql: add suppor table for site-map creation

2004-11-23 12:05  vivianh

	* packages/acs-subsite/sql/oracle/upgrade/upgrade-5.1.2-5.1.3.sql:
	  upgrade support

2004-11-23 12:04  vivianh

	* packages/acs-subsite/sql/oracle/: acs-subsite-drop.sql,
	  site-node-selection-drop.sql: drop support

2004-11-23 12:01  vivianh

	* packages/acs-subsite/sql/oracle/: acs-subsite-create.sql,
	  site-node-selection.sql: add table to support site-map creation

2004-11-23 10:49  vivianh

	* packages/acs-subsite/www/admin/site-map/: allow-for-view.tcl,
	  allow-for-view.xql, site-map-oracle.xql, site-map-postgresql.xql,
	  site-map.adp, site-map.tcl: add files to support site-map
	  creation

2004-11-23 10:46  vivianh

	* packages/acs-subsite/www/admin/site-map/index.adp: add link for
	  build site-map

2004-11-23 10:28  vivianh

	* packages/acs-subsite/www/resources/default-master.css: add css
	  for new calendar widget

2004-11-23 10:28  vivianh

	* packages/acs-subsite/www/resources/core.js: add Javascript for
	  new calendar widget

2004-11-22 16:29  enriquec

	* www/blank-master.tcl: Adding the option Hide/Show toolbar in
	  /dotlrn/admin. Fixing the "Error include" message when the
	  installation of .lrn is done.

2004-11-22 14:14  enriquec

	* www/: blank-master.adp, blank-master.tcl: Adding include and link
	  html tags if dotlrn is installed and if the dotlrn toolbar is
	  enabled. I followed the same way as acs developper support
	  toolbar.

2004-11-21 11:32  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  added developer tutorial documentation requirements

2004-11-20 12:07  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  added installation documenation requirements

2004-11-19 21:08  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  added administration documenation requirements

2004-11-19 13:46  jader

	* packages/acs-subsite/www/user/portrait/upload-2.tcl: Applying
	  patch 617 for bug 2161, courtesy of Carsten Clasohm.

2004-11-18 13:48  jader

	* packages/acs-admin/www/server-restart.adp: Fix link to APM

2004-11-18 13:46  jader

	* packages/acs-admin/www/server-restart.adp: Add link to APM

2004-11-18 12:27  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  changing package status url to most recent version

2004-11-18 11:01  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  fixing typos

2004-11-18 10:53  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  adding end-user requirements section

2004-11-18 08:17  gerardom

	* packages/acs-tcl/tcl/security-procs.tcl: fixing bugs in procs to
	  redirect to insecure url

2004-11-18 01:00  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  corrected error, converted lt,gt signs to entities within
	  programlisting tag

2004-11-17 12:32  torbenb

	*
	  packages/acs-core-docs/www/xml/engineering-standards/docbook-primer.xml:
	  adding some docs about documentation development into existing
	  meta docs

2004-11-16 09:09  jader

	* packages/acs-core-docs/www/xml/:
	  developers-guide/permissions.xml,
	  developers-guide/submissions.xml, engineering-standards/cvs.xml,
	  install-guide/openacs.xml, install-guide/other-software.xml,
	  install-guide/upgrade.xml: Updating the CVS references from
	  openacs.org to cvs.openacs.org

2004-11-15 10:29  jader

	* packages/acs-api-browser/lib/search.adp: Add link to core and
	  package documentation.

2004-11-15 05:25  torbenb

	* packages/acs-core-docs/www/xml/install-guide/other-software.xml:
	  added FreeBSD variant notes for daemontools and nsopenssl

2004-11-15 04:55  torbenb

	* packages/acs-core-docs/www/xml/install-guide/openacs.xml: added
	  FreeBSD variant notes.  changed a typo chgrp in action tag to
	  match chown in userinput section

2004-11-15 04:21  torbenb

	* packages/acs-core-docs/www/xml/install-guide/: os.xml,
	  software.xml: Added note to use fetch instead of wget when
	  installing on freebsd

2004-11-15 04:19  torbenb

	* packages/acs-core-docs/www/xml/install-guide/aolserver4.xml:
	  Added FreeBSD variant, and a brief section on howto check if an
	  existing tcl meets requirements

2004-11-15 03:06  torbenb

	* packages/acs-core-docs/www/xml/install-guide/postgres.xml:
	  correcting my earlier use of computeroutput tags to userinput
	  tags in tuning section

2004-11-15 01:50  torbenb

	* packages/acs-core-docs/www/xml/install-guide/postgres.xml:
	  Freebsd variant additions

2004-11-15 00:00  torbenb

	* packages/acs-core-docs/www/xml/install-guide/os.xml: clarifying
	  statements

2004-11-14 22:04  torbenb

	* packages/acs-core-docs/www/xml/install-guide/overview.xml: added
	  FreeBSD variant for copy paste convenience

2004-11-14 13:48  torbenb

	* packages/acs-core-docs/www/xml/install-guide/software.xml:
	  clarifications to page info

2004-11-14 12:55  torbenb

	* packages/acs-core-docs/www/xml/install-guide/overview.xml:
	  language clarifications

2004-11-11 14:40  jader

	* packages/acs-templating/tcl/date-procs.tcl: Improve robustness of
	  template::util::date::set_property proc for dealing with hours
	  that begin with a zero.

2004-11-11 14:06  jader

	* packages/acs-subsite/: lib/login.adp, lib/login.tcl,
	  www/register/recover-password.tcl: The registration/login pages
	  were not honoring the EmailForgottenPasswordP parameter. This
	  enforces that parameter, allowing admins to disable emailing out
	  passwords.

2004-11-08 11:58  joel

	* packages/acs-core-docs/www/: acs-package-dev.html,
	  acs-plat-dev.html, aolserver.html, aolserver4.html,
	  apm-design.html, apm-requirements.html,
	  automated-testing-best-practices.html, backup-recovery.html,
	  bootstrap-acs.html, contributing-code.html, credits.html,
	  cvs-guidelines.html, cvs-tips.html, db-api-detailed.html,
	  db-api.html, doc-standards.html, docbook-primer.html,
	  eng-standards-constraint-naming.html,
	  eng-standards-filenaming.html, eng-standards-plsql.html,
	  eng-standards-versioning.html, eng-standards.html,
	  ext-auth-requirements.html, filename.html, form-builder.html,
	  groups-design.html, groups-requirements.html, high-avail.html,
	  how-do-I.html, i18n-convert.html, i18n-design.html,
	  i18n-introduction.html, i18n-overview.html,
	  i18n-requirements.html, i18n-translators.html, i18n.html,
	  index.html, install-cvs.html, install-daemontools.html,
	  install-full-text-search.html, install-next-nightly-vacuum.html,
	  install-openacs-keepalive.html, install-qmail.html,
	  install-redhat.html, install-steps.html, ix01.html,
	  kernel-doc.html, kernel-overview.html, mac-installation.html,
	  maint-performance.html, maintenance-deploy.html,
	  maintenance-web.html, nxml-mode.html, object-identity.html,
	  object-system-design.html, object-system-requirements.html,
	  objects.html, openacs-cvs-concepts.html, openacs.html,
	  oracle.html, packages.html, parties.html,
	  permissions-design.html, permissions-requirements.html,
	  permissions-tediously-explained.html, permissions.html,
	  postgres.html, programming-with-aolserver.html,
	  psgml-for-emacs.html, psgml-mode.html, release-notes-4-5.html,
	  release-notes-4-6-2.html, release-notes-4-6-3.html,
	  release-notes-4-6.html, release-notes.html,
	  releasing-openacs-core.html, releasing-openacs.html,
	  releasing-package.html, request-processor.html,
	  requirements-template.html, rp-design.html, rp-requirements.html,
	  security-design.html, security-notes.html,
	  security-requirements.html, style-guide.html,
	  subsites-design.html, subsites-requirements.html, subsites.html,
	  tcl-doc.html, templates.html, tutorial-css-layout.html,
	  tutorial-cvs.html, tutorial-database.html, tutorial-debug.html,
	  tutorial-distribute.html, tutorial-newpackage.html,
	  tutorial-pages.html, unix-installation.html,
	  update-repository.html, update-translations.html,
	  upgrade-4.5-to-4.6.html, upgrade-openacs-files.html,
	  upgrade-overview.html, using-cvs-with-openacs.html,
	  variables.html, win2k-installation.html,
	  xml/releasing-openacs.xml, xml/engineering-standards/cvs.xml:
	  fixes to cvs, releasing openacs

2004-11-04 16:19  jader

	* packages/acs-subsite/lib/login.adp: Add a paragraph break to make
	  it easier to see how to register.

2004-11-04 15:33  jader

	* etc/analog.cfg: Fix path in analog configuration file.

2004-11-03 08:37  joel

	* packages/acs-core-docs/www/: contributing-code.html,
	  cvs-resources.html, index.html, openacs-cvs-concepts.html,
	  using-cvs-with-openacs.html, xml/engineering-standards/cvs.xml,
	  xml/index.xml: changed layout of CVS section

2004-11-02 15:16  giancarlol

	* packages/: acs-kernel/catalog/acs-kernel.it_IT.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.it_IT.ISO-8859-1.xml: Replaced
	  HTML entities for special characters (Latin-1 supplement) with
	  ISO-8859-1 encoding.

2004-11-01 15:44  joel

	* packages/acs-core-docs/www/cvs-guidelines.html: added section on
	  using cvs

2004-11-01 15:39  joel

	* packages/acs-core-docs/www/: acs-admin.html,
	  acs-package-dev.html, acs-plat-dev.html, analog-install.html,
	  analog-setup.html, aolserver.html, aolserver4.html,
	  apm-design.html, apm-requirements.html, automated-backup.html,
	  automated-testing-best-practices.html, backup-recovery.html,
	  backups-with-cvs.html, bootstrap-acs.html, complete-install.html,
	  configuring-new-site.html, credits.html, cvs-tips.html,
	  database-management.html, db-api-detailed.html, db-api.html,
	  dev-guide.html, doc-standards.html, docbook-primer.html,
	  eng-standards-constraint-naming.html,
	  eng-standards-filenaming.html, eng-standards-plsql.html,
	  eng-standards-versioning.html, eng-standards.html,
	  ext-auth-requirements.html, filename.html, for-everyone.html,
	  form-builder.html, general-documents.html, groups-design.html,
	  groups-requirements.html, high-avail.html, how-do-I.html,
	  i18n-convert.html, i18n-design.html, i18n-introduction.html,
	  i18n-overview.html, i18n-requirements.html,
	  i18n-translators.html, i18n.html, index.html,
	  individual-programs.html, install-cvs.html,
	  install-daemontools.html, install-full-text-search.html,
	  install-more-software.html, install-next-add-server.html,
	  install-next-backups.html, install-next-nightly-vacuum.html,
	  install-nsopenssl.html, install-nspam.html,
	  install-openacs-delete-tablespace.html,
	  install-openacs-inittab.html, install-openacs-keepalive.html,
	  install-origins.html, install-overview.html,
	  install-pam-radius.html, install-php.html, install-qmail.html,
	  install-redhat.html, install-resources.html,
	  install-squirrelmail.html, install-ssl.html, install-steps.html,
	  install-tclwebtest.html, ix01.html, kernel-doc.html,
	  kernel-overview.html, mac-installation.html,
	  maint-performance.html, maintenance-deploy.html,
	  maintenance-web.html, nxml-mode.html, object-identity.html,
	  object-system-design.html, object-system-requirements.html,
	  objects.html, openacs-overview.html, openacs-unpack.html,
	  openacs.html, oracle.html, os-install.html, os-security.html,
	  packages.html, parties.html, permissions-design.html,
	  permissions-requirements.html,
	  permissions-tediously-explained.html, permissions.html,
	  postgres.html, profile-code.html,
	  programming-with-aolserver.html, psgml-for-emacs.html,
	  psgml-mode.html, release-notes-4-5.html,
	  release-notes-4-6-2.html, release-notes-4-6-3.html,
	  release-notes-4-6.html, release-notes.html,
	  releasing-openacs-core.html, releasing-openacs.html,
	  releasing-package.html, remote-postgres.html,
	  request-processor.html, requirements-template.html,
	  rp-design.html, rp-requirements.html, security-design.html,
	  security-notes.html, security-requirements.html,
	  snapshot-backup.html, style-guide.html, subsites-design.html,
	  subsites-requirements.html, subsites.html, tcl-doc.html,
	  templates.html, tutorial-admin-pages.html,
	  tutorial-advanced.html, tutorial-caching.html,
	  tutorial-categories.html, tutorial-comments.html,
	  tutorial-css-layout.html, tutorial-cvs.html,
	  tutorial-database.html, tutorial-debug.html,
	  tutorial-distribute.html, tutorial-future-topics.html,
	  tutorial-hierarchical.html, tutorial-html-email.html,
	  tutorial-newpackage.html, tutorial-notifications.html,
	  tutorial-pages.html, tutorial-schedule-procs.html,
	  tutorial-specs.html, tutorial-vuh.html, tutorial.html,
	  unix-installation.html, update-repository.html,
	  update-translations.html, upgrade-4.5-to-4.6.html,
	  upgrade-4.6.3-to-5.html, upgrade-5-0-dot.html,
	  upgrade-openacs-files.html, upgrade-overview.html,
	  upgrade-supporting.html, upgrade.html, uptime.html,
	  variables.html, win2k-installation.html, xml/index.xml,
	  xml/variables.ent, xml/engineering-standards/cvs.xml,
	  xml/install-guide/other-software.xml: added section on using cvs

2004-10-30 13:07  jader

	* etc/config.tcl: The ssl contexts were missing from the config.tcl
	  file, which will prevent anyone from using ssl on their sites.

2004-10-29 14:49  jader

	* packages/acs-core-docs/www/files/nsd-postgres.txt: Added a
	  comment in the file that the LD_LIBRARY_PATH may need
	  /usr/local/aolserver/lib. Comment only, so no functionality
	  changed.

2004-10-28 17:57  rocaelh

	* packages/acs-subsite/www/admin/site-map/index.tcl: fix of the
	  direct mounting package, clean up of the new site-map
	  w/list-builder must be done

2004-10-28 11:40  josee

	* packages/acs-subsite/www/admin/site-map/index.tcl: fixing bug
	  #2139 (link causing problems)

2004-10-28 10:35  enriquec

	* packages/acs-authentication/tcl/authentication-procs.tcl: fixing
	  typo (ref.bug#2088): datta_error -> data_error

2004-10-28 08:39  nimam

	* packages/acs-subsite/: www/permissions/grant.tcl,
	  www/permissions/perm-include.adp,
	  www/permissions/perm-include.tcl,
	  catalog/acs-subsite.de_DE.ISO-8859-1.xml,
	  catalog/acs-subsite.en_US.ISO-8859-1.xml: Added the grant
	  permission action to acs-subsite/www/permissions/perm-include.
	  The existing action returns a list of all users in OpenACS which
	  can take ages to render. With grant permissions the admin can set
	  permissions for a single user that he can search for. To use
	  acs-subsite/www/permissions/grant from any other page I added the
	  optional return_url parameter that redirects back to that page
	  where grant was called

2004-10-22 06:44  nimam

	* packages/acs-admin/www/auth/: authority-oracle.xql,
	  authority-postgresql.xql: Batch jobs are now ordered by start
	  time

2006-05-01 15:18  victorg

	* packages/search/: search.info,
	  catalog/search.de_DE.ISO-8859-1.xml,
	  catalog/search.en_US.ISO-8859-1.xml,
	  catalog/search.es_ES.ISO-8859-1.xml,
	  catalog/search.nl_NL.ISO-8859-1.xml: Updating translations from
	  translate.openacs.org taking up version to 5.2.3b2

2006-05-01 15:14  victorg

	* packages/: acs-tcl/catalog/acs-tcl.ar_EG.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.ar_LB.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.ast_ES.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.ca_ES.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.da_DK.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.de_DE.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.en_AU.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.en_US.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.es_CO.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.es_ES.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.es_GT.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.eu_ES.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.fa_IR.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.fi_FI.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.fr_FR.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.gl_ES.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.hi_IN.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.hu_HU.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.ind_ID.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.it_IT.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.ja_JP.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.ko_KR.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.ms_MY.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.nl_NL.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.nn_NO.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.no_NO.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.pl_PL.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.pt_BR.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.pt_PT.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.ro_RO.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.ru_RU.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.sh_HR.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.sv_SE.ISO-8859-1.xml,
	  acs-tcl/catalog/acs-tcl.tr_TR.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.zh_CN.utf-8.xml,
	  acs-tcl/catalog/acs-tcl.zh_TW.utf-8.xml,
	  acs-templating/acs-templating.info,
	  acs-templating/catalog/acs-templating.ar_LB.utf-8.xml,
	  acs-templating/catalog/acs-templating.ca_ES.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.da_DK.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.de_DE.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.en_AU.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.en_US.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.es_CO.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.es_ES.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.es_GT.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.eu_ES.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.fi_FI.utf-8.xml,
	  acs-templating/catalog/acs-templating.fr_FR.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.hi_IN.utf-8.xml,
	  acs-templating/catalog/acs-templating.hu_HU.utf-8.xml,
	  acs-templating/catalog/acs-templating.it_IT.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.ko_KR.utf-8.xml,
	  acs-templating/catalog/acs-templating.ms_MY.utf-8.xml,
	  acs-templating/catalog/acs-templating.nl_NL.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.nn_NO.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.no_NO.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.pa_IN.utf-8.xml,
	  acs-templating/catalog/acs-templating.pt_BR.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.pt_PT.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.ro_RO.utf-8.xml,
	  acs-templating/catalog/acs-templating.ru_RU.utf-8.xml,
	  acs-templating/catalog/acs-templating.sh_HR.utf-8.xml,
	  acs-templating/catalog/acs-templating.sv_SE.ISO-8859-1.xml,
	  acs-templating/catalog/acs-templating.tr_TR.utf-8.xml,
	  acs-templating/catalog/acs-templating.zh_CN.utf-8.xml,
	  acs-templating/catalog/acs-templating.zh_TW.utf-8.xml: Updating
	  translations from translate.openacs.org taking up version to
	  5.2.3b2

2006-05-01 15:10  victorg

	* packages/: acs-lang/acs-lang.info,
	  acs-lang/catalog/acs-lang.ar_EG.utf-8.xml,
	  acs-lang/catalog/acs-lang.ar_LB.utf-8.xml,
	  acs-lang/catalog/acs-lang.ast_ES.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.ca_ES.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.da_DK.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.de_DE.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.el_GR.utf-8.xml,
	  acs-lang/catalog/acs-lang.en_AU.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.en_GB.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.en_US.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.es_CO.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.es_ES.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.es_GT.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.eu_ES.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.fa_IR.utf-8.xml,
	  acs-lang/catalog/acs-lang.fi_FI.utf-8.xml,
	  acs-lang/catalog/acs-lang.fr_FR.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.gl_ES.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.hi_IN.utf-8.xml,
	  acs-lang/catalog/acs-lang.hu_HU.utf-8.xml,
	  acs-lang/catalog/acs-lang.it_IT.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.ja_JP.utf-8.xml,
	  acs-lang/catalog/acs-lang.ko_KR.utf-8.xml,
	  acs-lang/catalog/acs-lang.ms_MY.utf-8.xml,
	  acs-lang/catalog/acs-lang.nl_NL.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.nn_NO.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.no_NO.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.pa_IN.utf-8.xml,
	  acs-lang/catalog/acs-lang.pl_PL.utf-8.xml,
	  acs-lang/catalog/acs-lang.pt_BR.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.pt_PT.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.ro_RO.utf-8.xml,
	  acs-lang/catalog/acs-lang.ru_RU.utf-8.xml,
	  acs-lang/catalog/acs-lang.sh_HR.utf-8.xml,
	  acs-lang/catalog/acs-lang.sv_SE.ISO-8859-1.xml,
	  acs-lang/catalog/acs-lang.th_TH.utf-8.xml,
	  acs-lang/catalog/acs-lang.tr_TR.utf-8.xml,
	  acs-lang/catalog/acs-lang.zh_CN.utf-8.xml,
	  acs-lang/catalog/acs-lang.zh_TW.utf-8.xml,
	  acs-subsite/acs-subsite.info,
	  acs-subsite/catalog/acs-subsite.ar_EG.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.ar_LB.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.ast_ES.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.ca_ES.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.da_DK.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.de_DE.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.el_GR.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.en_AU.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.en_US.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.es_CO.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.es_ES.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.es_GT.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.eu_ES.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.fi_FI.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.fr_FR.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.gl_ES.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.hi_IN.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.hu_HU.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.it_IT.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.ja_JP.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.ko_KR.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.ms_MY.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.nl_NL.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.nn_NO.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.no_NO.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.pa_IN.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.pl_PL.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.pt_BR.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.pt_PT.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.ro_RO.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.ru_RU.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.sh_HR.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.sv_SE.ISO-8859-1.xml,
	  acs-subsite/catalog/acs-subsite.th_TH.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.tr_TR.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.zh_CN.utf-8.xml,
	  acs-subsite/catalog/acs-subsite.zh_TW.utf-8.xml: Updating
	  translations from translate.openacs.org taking up version to
	  5.2.3b2

2006-05-01 15:06  victorg

	* packages/: acs-authentication/acs-authentication.info,
	  acs-authentication/catalog/acs-authentication.ar_LB.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.ca_ES.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.da_DK.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.de_DE.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.el_GR.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.en_AU.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.en_US.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.es_CO.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.es_ES.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.es_GT.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.eu_ES.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.fa_IR.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.fr_FR.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.hi_IN.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.hu_HU.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.ind_ID.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.it_IT.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.ms_MY.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.nl_NL.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.nn_NO.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.no_NO.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.pa_IN.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.pl_PL.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.pt_BR.ISO-8859-1.xml,
	  acs-authentication/catalog/acs-authentication.ro_RO.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.ru_RU.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.tr_TR.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.zh_CN.utf-8.xml,
	  acs-authentication/catalog/acs-authentication.zh_TW.utf-8.xml,
	  acs-kernel/acs-kernel.info,
	  acs-kernel/catalog/acs-kernel.ar_EG.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.ar_LB.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.ast_ES.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.ca_ES.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.da_DK.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.de_DE.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.en_AU.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.en_US.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.es_CO.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.es_ES.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.es_GT.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.eu_ES.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.fi_FI.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.fr_FR.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.gl_ES.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.hi_IN.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.hu_HU.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.it_IT.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.ja_JP.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.ko_KR.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.ms_MY.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.nl_NL.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.nn_NO.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.no_NO.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.pa_IN.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.pl_PL.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.pt_BR.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.pt_PT.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.ro_RO.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.ru_RU.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.sv_SE.ISO-8859-1.xml,
	  acs-kernel/catalog/acs-kernel.tr_TR.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.zh_CN.utf-8.xml,
	  acs-kernel/catalog/acs-kernel.zh_TW.utf-8.xml: Updating
	  translations from translate.openacs.org taking up version to
	  5.2.3b2

2006-04-26 20:55  matthewg

	* packages/acs-subsite/www/resources/core.js: adding
	  showCalendarWithDefault javascript proc so that a default date
	  can be set when the calendar first pops up

2006-04-26 20:51  matthewg

	* packages/acs-templating/tcl/date-procs.tcl: changing textdate
	  showCalendar javascript proc to showCalendarWithDefault and
	  setting the default date the calendar should go to

2006-04-26 19:23  matthewg

	* packages/acs-templating/:
	  catalog/acs-templating.en_US.ISO-8859-1.xml, tcl/date-procs.tcl:
	  localizing validation errors for date and textdate widgets

2006-04-26 17:17  matthewg

	* packages/acs-templating/tcl/date-procs.tcl: adding textdate
	  widget and associated transform, validate and util procs

2006-04-25 08:31  hamiltonc

	* packages/acs-subsite/www/resources/core.js: apply fixes to get
	  the mini calendar dhtml popup to work

2006-04-21 11:04  emmar

	* packages/acs-templating/tcl/richtext-procs.tcl: substitute
	  single-quote to double-quote for quoting atribute value of
	  richtext element (#2882)

2006-04-19 05:10  roelc

	*
	  packages/acs-content-repository/sql/postgresql/content-extlink.sql:
	  content_name should be content__name

2006-04-18 06:00  eduardop

	* packages/acs-subsite/tcl/email-image-procs.tcl: remove faulty
	  email_image::check_image_magick function and just test for it
	  when exec

2006-04-13 17:11  donb

	* packages/acs-content-repository/tcl/content-folder-procs.tcl:
	  Fixed bug #2768 by backporting the fix from HEAD to 5.2

2006-04-10 12:31  donb

	* packages/acs-content-repository/sql/postgresql/content-type.sql:
	  Applied patch supplied by Jeff Davis.

2006-04-10 02:59  emmar

	*
	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.3d1-5.2.3d2.sql:
	  replacing content_template for package_id param

2006-04-09 15:26  donb

	* packages/acs-core-docs/www/: acs-admin.html,
	  acs-package-dev.html, acs-plat-dev.html, analog-install.html,
	  analog-setup.html, aolserver.html, aolserver4.html,
	  apm-design.html, apm-requirements.html, automated-backup.html,
	  automated-testing-best-practices.html, backup-recovery.html,
	  backups-with-cvs.html, bootstrap-acs.html, complete-install.html,
	  configuring-configuring-packages.html,
	  configuring-configuring-permissions.html,
	  configuring-install-packages.html,
	  configuring-mounting-packages.html, configuring-new-site.html,
	  contributing-code.html, credits.html, cvs-guidelines.html,
	  cvs-resources.html, cvs-tips.html, database-management.html,
	  db-api-detailed.html, db-api.html, dev-guide.html,
	  doc-standards.html, docbook-primer.html,
	  eng-standards-constraint-naming.html,
	  eng-standards-filenaming.html, eng-standards-plsql.html,
	  eng-standards-versioning.html, eng-standards.html,
	  ext-auth-requirements.html, filename.html, for-everyone.html,
	  form-builder.html, general-documents.html, groups-design.html,
	  groups-requirements.html, high-avail.html, how-do-I.html,
	  i18n-convert.html, i18n-design.html, i18n-introduction.html,
	  i18n-overview.html, i18n-requirements.html,
	  i18n-translators.html, i18n.html, index.html,
	  individual-programs.html, install-cvs.html,
	  install-daemontools.html, install-full-text-search-openfts.html,
	  install-full-text-search-tsearch2.html, install-ldap-radius.html,
	  install-more-software.html, install-next-add-server.html,
	  install-next-backups.html, install-next-nightly-vacuum.html,
	  install-nsopenssl.html, install-nspam.html,
	  install-openacs-delete-tablespace.html,
	  install-openacs-inittab.html, install-openacs-keepalive.html,
	  install-origins.html, install-overview.html,
	  install-pam-radius.html, install-php.html, install-qmail.html,
	  install-redhat.html, install-resources.html,
	  install-squirrelmail.html, install-ssl.html, install-steps.html,
	  install-tclwebtest.html, ix01.html, kernel-doc.html,
	  kernel-overview.html, mac-installation.html,
	  maint-performance.html, maintenance-deploy.html,
	  maintenance-web.html, nxml-mode.html, object-identity.html,
	  object-system-design.html, object-system-requirements.html,
	  objects.html, openacs-cvs-concepts.html, openacs-overview.html,
	  openacs-unpack.html, openacs.html, oracle.html, os-install.html,
	  os-security.html, packages.html, parties.html,
	  permissions-design.html, permissions-requirements.html,
	  permissions-tediously-explained.html, permissions.html,
	  postgres.html, profile-code.html,
	  programming-with-aolserver.html, psgml-for-emacs.html,
	  psgml-mode.html, release-notes-4-5.html,
	  release-notes-4-6-2.html, release-notes-4-6-3.html,
	  release-notes-4-6.html, release-notes.html,
	  releasing-openacs-core.html, releasing-openacs.html,
	  releasing-package.html, remote-postgres.html,
	  request-processor.html, requirements-template.html,
	  rp-design.html, rp-requirements.html, security-design.html,
	  security-notes.html, security-requirements.html,
	  snapshot-backup.html, style-guide.html, subsites-design.html,
	  subsites-requirements.html, subsites.html, tcl-doc.html,
	  templates.html, tutorial-admin-pages.html,
	  tutorial-advanced.html, tutorial-caching.html,
	  tutorial-categories.html, tutorial-comments.html,
	  tutorial-css-layout.html, tutorial-cvs.html,
	  tutorial-database.html, tutorial-debug.html,
	  tutorial-distribute.html, tutorial-etp-templates.html,
	  tutorial-future-topics.html, tutorial-hierarchical.html,
	  tutorial-html-email.html, tutorial-newpackage.html,
	  tutorial-notifications.html, tutorial-pages.html,
	  tutorial-parameters.html, tutorial-schedule-procs.html,
	  tutorial-second-database.html, tutorial-specs.html,
	  tutorial-upgrade-scripts.html, tutorial-upgrades.html,
	  tutorial-vuh.html, tutorial-wysiwyg-editor.html, tutorial.html,
	  unix-installation.html, update-repository.html,
	  update-translations.html, upgrade-4.5-to-4.6.html,
	  upgrade-4.6.3-to-5.html, upgrade-5-0-dot.html,
	  upgrade-openacs-files.html, upgrade-overview.html,
	  upgrade-supporting.html, upgrade.html, uptime.html,
	  using-cvs-with-openacs.html, variables.html,
	  win2k-installation.html: Generated HTML files for 5.2.3b1

2006-04-09 15:22  donb

	* packages/acs-core-docs/www/xml/variables.ent: Version bump to
	  5.2.3b1

2006-04-09 15:11  donb

	* packages/: acs-admin/acs-admin.info,
	  acs-api-browser/acs-api-browser.info,
	  acs-authentication/acs-authentication.info,
	  acs-automated-testing/acs-automated-testing.info,
	  acs-bootstrap-installer/acs-bootstrap-installer.info,
	  acs-content-repository/acs-content-repository.info,
	  acs-core-docs/acs-core-docs.info, acs-kernel/acs-kernel.info,
	  acs-lang/acs-lang.info, acs-mail/acs-mail.info,
	  acs-messaging/acs-messaging.info,
	  acs-reference/acs-reference.info,
	  acs-service-contract/acs-service-contract.info,
	  acs-tcl/acs-tcl.info, acs-templating/acs-templating.info,
	  ref-timezones/ref-timezones.info, search/search.info: Bumped
	  version to 5.2.3b1

2006-04-08 18:51  donb

	* packages/acs-bootstrap-installer/bootstrap.tcl: Added check to
	  make certain that xotcl-core is not sourced unless the xotcl
	  aolserver module has been loaded.

2006-04-08 17:44  donb

	* packages/acs-subsite/acs-subsite.info: 1. Bumped version to
	  5.2.3b1 2. Removed dependency made by Malte on acs-translations,
	  a package that    has not been added to acs-core, and which is
	  currently empty on HEAD    as well as the 5.2 branch.  When it
	  does something, restore the dependency    and add the package to
	  acs-core.

2006-04-07 12:58  donb

	* packages/acs-bootstrap-installer/bootstrap.tcl: Added patch to
	  load xotcl-core packages if xotcl-core exists

2006-04-06 18:25  donb

	*
	  packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.2.2-5.2.3b1.sql:
	  Forgot to cvs add my upgrade file ...

2006-04-06 18:24  donb

	* packages/acs-kernel/: acs-kernel.info,
	  sql/postgresql/apm-create.sql: Fixed bug #2745

2006-04-06 18:09  donb

	*
	  packages/acs-content-repository/sql/postgresql/content-update.sql:
	  Fixed "bug" #2646.  This code wasn't actually executed since the
	  relevant table's created explicitly in another script ...

2006-04-06 17:48  donb

	*
	  packages/acs-content-repository/sql/postgresql/content-schedule.sql:
	  Fixed "bug" #2747.  The code was never called and was just a stub
	  that hadn't been ported to PG, but I removed it so future people
	  with sharp eyes don't look at it and report the "bug" again.

2006-04-06 17:17  donb

	* packages/ref-timezones/sql/postgresql/: ref-timezones-create.sql,
	  upgrade/upgrade-5.2.2-5.2.3b1.sql: Fixed bug #2748

2006-04-06 17:09  donb

	* packages/ref-timezones/: ref-timezones.info,
	  sql/postgresql/ref-timezones-create.sql,
	  sql/postgresql/upgrade/upgrade-5.2.2-5.2.3b1.sql: Fixed bug
	  #2749.

2006-04-04 05:38  maltes

	* packages/acs-content-repository/tcl/content-item-procs.tcl:
	  Fixing file upload, storing the full filename as the title,
	  getting rid of the problem of the regsub killing some characters

2006-03-31 09:59  hamiltonc

	* packages/acs-bootstrap-installer/tcl/00-proc-procs.tcl: fix for
	  bug 2843, this bug causes problems when trying to change
	  authentication parameters

2006-03-30 02:41  emmar

	* packages/acs-lang/catalog/acs-lang.gl_ES.ISO-8859-1.xml: fix
	  #2829: galician-portugese lang

2006-03-30 01:41  dedsc

	* packages/acs-subsite/lib/login.tcl: fix misnamed parameter

2006-03-29 20:51  maltes

	* etc/backup.sh: Added vaccumdb to backup

2006-03-29 03:22  emmar

	*
	  packages/acs-content-repository/tcl/content-revision-procs-oracle.xql:
	  Added missing query item_id

2006-03-29 02:54  emmar

	*
	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql:
	  fix content_item.new call in content_folder.new

2006-03-29 02:53  emmar

	*
	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0b6-5.2.0b7.sql:
	  fix #2870, #2868: upgrade script for image and content_extlink
	  packages

2006-03-29 02:47  emmar

	*
	  packages/acs-kernel/sql/oracle/upgrade/upgrade-5.2.0b9-5.2.0b10.sql:
	  fix #2869: upgrade script for acs-data-link

2006-03-28 09:32  victorg

	* packages/acs-tcl/tcl/server-cluster-procs.tcl: Scheduling
	  server_cluster_do_httpget in all servers in order to get
	  clustering working well. Setting to true all_servers switch when
	  scheduling server_cluster_do_httpget.

2006-03-27 15:58  donb

	* packages/acs-kernel/sql/postgresql/acs-metadata-create.sql: 1.
	  Copy site template when cloning a community 2. Updated a bunch of
	  dependency files

2006-03-12 14:16  victorg

	* packages/acs-lang/tcl/lang-message-procs.tcl: typo in error
	  message.

2006-03-09 09:56  roelc

	* packages/acs-kernel/catalog/acs-kernel.en_US.ISO-8859-1.xml:
	  Added 'common_Last' and 'common_last' keys

2006-03-09 04:14  eduardop

	* packages/acs-subsite/acs-subsite.info: add dependency to
	  acs-translations from acs-subsite

2006-03-03 01:51  matthewg

	* packages/acs-tcl/tcl/application-data-link-procs.xql: fixing
	  typo, application_data_link::get.linked_objects was supposed to
	  look for object_id not package_id

2006-03-02 17:05  donb

	* packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl: Conditionalized
	  tests of bindvar emulation so they're not run for Oracle.  Two of
	  them don't work for Oracle (tries to do a "select" in
	  db_exec_plsql) and since Oracle's definition of bindvar semantics
	  defines the emulation semantics it seems silly to test if Oracle
	  adheres to them or not :)

2006-03-01 15:17  donb

	* packages/acs-tcl/tcl/install-procs.tcl: The set-parameter
	  procedure calls parameter::set_value, which returns the newly set
	  value.  When a Tcl proc has no explicit return statement, as was
	  true of set-parameter, the value of the last expression is
	  returned.  In other words, the value of the parameter.  Which
	  messed up the HTML sent up the pipe to the browser being used to
	  install OpenACS.

2006-02-26 20:18  michaels

	* etc/backup.sh: quote vars to ensure there are at least empty
	  strings present when testing; use single = for string comparisons

2006-02-26 09:41  michaels

	* etc/backup.sh: add some logic to gather free disk space when the
	  backup partition string is so long it forces df output to wrap

2006-02-24 07:13  daveb

	* packages/acs-admin/www/install/install.tcl: Fix check for
	  maturity procedure so maturity is shown in Installer.

2006-02-20 12:03  michaels

	* etc/config.tcl: backout accidental commit of my config.tcl

2006-02-20 11:39  michaels

	* etc/: backup.sh, config.tcl: change order of arguments to tar;
	  add comment to script about getting free space from partitions
	  with long names (i.e. logical volumes)

2006-02-20 04:36  roelc

	* packages/acs-templating/resources/lists/table.adp: Don't display
	  group by label if empty

2006-02-19 23:36  matthewg

	* packages/acs-subsite/tcl/party-procs.tcl: removing typo
	  dependence on contacts package in party::email

2006-02-19 20:19  michaels

	* etc/backup.sh: variable misnamed in default backup script

2006-02-18 17:15  michaels

	* etc/keepalive/: keepalive-config.tcl, keepalive-cron.sh,
	  keepalive.sh: remove duplicate keepalive script and make the one
	  that stays a little more robust (and less chatty)

2006-02-17 13:19  gustafn

	* packages/acs-templating/www/resources/xinha-nightly/: dialog.js,
	  htmlarea.css, htmlarea.js, images/fr/bold.gif,
	  images/fr/strikethrough.gif, images/fr/underline.gif, lang/fr.js,
	  plugins/CSS/css.js, plugins/CharacterMap/lang/ru.js,
	  plugins/ContextMenu/context-menu.js,
	  plugins/Equation/equation.js, plugins/FindReplace/lang/ru.js,
	  plugins/FullPage/full-page.js, plugins/FullScreen/lang/ru.js,
	  plugins/GetHtml/get-html.js, plugins/ImageManager/config.inc.php,
	  plugins/ImageManager/editor.php,
	  plugins/ImageManager/editorFrame.php,
	  plugins/ImageManager/image-manager.js,
	  plugins/ImageManager/images.php,
	  plugins/ImageManager/manager.php,
	  plugins/ImageManager/resizer.php,
	  plugins/ImageManager/thumbs.php,
	  plugins/ImageManager/Classes/Files.php,
	  plugins/ImageManager/Classes/GD.php,
	  plugins/ImageManager/Classes/IM.php,
	  plugins/ImageManager/Classes/ImageEditor.php,
	  plugins/ImageManager/Classes/ImageManager.php,
	  plugins/ImageManager/Classes/NetPBM.php,
	  plugins/ImageManager/Classes/Thumbnail.php,
	  plugins/ImageManager/Classes/Transform.php,
	  plugins/ImageManager/assets/dialog.js,
	  plugins/ImageManager/assets/editor.js,
	  plugins/ImageManager/assets/editorFrame.js,
	  plugins/ImageManager/assets/imagelist.css,
	  plugins/ImageManager/assets/images.js,
	  plugins/ImageManager/assets/manager.js,
	  plugins/ImageManager/assets/popup.js,
	  plugins/ImageManager/lang/ru.js, plugins/ListType/lang/ru.js,
	  plugins/OacsFs/lang/empty,
	  plugins/OacsFs/popups/file-selector.tcl,
	  plugins/PasteText/popups/paste_text.html,
	  plugins/SpellChecker/spell-check-logic.cgi,
	  plugins/SpellChecker/spell-check-ui.html,
	  plugins/SpellChecker/spell-check-ui.js,
	  plugins/SpellChecker/spell-checker.js,
	  plugins/TableOperations/table-operations.js,
	  plugins/TableOperations/lang/fr.js,
	  plugins/TableOperations/lang/ru.js, popups/popup.js: upgrading
	  xinha to the current snapshot

2006-02-11 07:27  victorg

	* packages/acs-lang/: acs-lang.info,
	  sql/oracle/upgrade/upgrade-5.2.2d1-5.2.2d2.sql,
	  sql/oracle/upgrade/upgrade-5.2.3d1-5.2.3d2.sql,
	  sql/postgresql/upgrade/upgrade-5.2.2d1-5.2.2d2.sql,
	  sql/postgresql/upgrade/upgrade-5.2.3d1-5.2.3d2.sql: Fixing
	  version from 5.2.2d2 to 5.2.3d2 ( We are releasing 5.2.3, not
	  5.2.2 :) ). Adding correct upgrade files.

2006-02-09 14:33  gustafn

	* packages/acs-tcl/tcl/request-processor-procs.tcl: compatibility
	  update for naviserver 4.99.1 or newer

2006-02-09 12:45  maltes

	* packages/acs-lang/tcl/lang-util-procs.tcl: Added procedure to
	  create edit url for message keys

2006-02-06 08:12  victorg

	* packages/acs-tcl/tcl/: 20-memoize-init.tcl, memoize-procs.tcl:
	  Moving definition of util_memoize_flush from memoize-procs.tcl to
	  20-memoize-init.tcl. server_cluster_httpget_from_peers proc was
	  not defined when loading memoize procs. This issue is related to
	  bug #2396.

2006-02-04 09:42  daveb

	* packages/acs-content-repository/tcl/revision-procs.tcl: Allow png
	  to be uploaded as images

2006-02-01 13:32  victorg

	* packages/acs-lang/: acs-lang.info, sql/oracle/ad-locales.sql,
	  sql/oracle/upgrade/upgrade-5.2.2d1-5.2.2d2.sql,
	  sql/postgresql/ad-locales.sql,
	  sql/postgresql/upgrade/upgrade-5.2.2d1-5.2.2d2.sql: Adding
	  locales: es_CO, ind_ID, bg_BG, pa_IN

2006-01-30 15:48  hughb

	* packages/acs-service-contract/www/binding-uninstall-oracle.xql:
	  Fix Oracle bug -- oracle sql was calling a function where the
	  only API is a procedure. Could never have worked.

2006-01-27 08:53  maltes

	* packages/acs-tcl/: catalog/acs-tcl.de_DE.ISO-8859-1.xml,
	  catalog/acs-tcl.en_US.ISO-8859-1.xml,
	  tcl/community-core-procs.tcl, tcl/community-core-procs.xql:
	  reverting. not because I think I have to but because I'm just
	  sick of discussing this minor change for ages

2006-01-26 14:19  gustafn

	* packages/acs-templating/tcl/richtext-procs.tcl: fixed format menu
	  and tested to following cases: with/without javascript,
	  with/without UseHtmlAreaForRichtextP, with rte and xinha

2006-01-26 07:44  gustafn

	* packages/acs-templating/tcl/richtext-procs.tcl: make xinha branch
	  working, when javascript is turned off

2006-01-25 17:10  gustafn

	* packages/acs-templating/tcl/richtext-procs.tcl: fixing a typo (in
	  depreciatged code), removing the text format box for richtext,
	  when htmlarea_p is set (this will easily lead to a content type
	  text/enhanced, where the real content generated from the rich
	  text widget is in HTML;  this can lead to errors in xowiki).

2006-01-25 06:04  maltes

	* packages/acs-tcl/tcl/application-data-link-procs.xql: Added
	  orderby

2006-01-25 06:04  maltes

	* packages/acs-tcl/tcl/: community-core-procs.tcl,
	  community-core-procs.xql: Allow usage of an email with multiple
	  party_ids. Should not break existing sites (as they would have
	  broken if you have an e-mail twice in the system

2006-01-25 06:03  maltes

	* packages/acs-tcl/tcl/memoize-procs.tcl: changed notice to debug

2006-01-23 08:50  roelc

	* packages/acs-subsite/www/resources/site-master.css: Added
	  admin-button classes

2006-01-18 09:03  hughb

	* packages/acs-content-repository/: sql/oracle/content-image.sql,
	  sql/oracle/upgrade/upgrade-5.2.2-5.2.3d1.sql,
	  tcl/test/content-image-test-procs.tcl: fix non-nullable package
	  id on image (package id should be nullable and it now is)

2006-01-17 16:29  donb

	* packages/acs-subsite/www/admin/site-map/application-new.tcl:
	  Fixed a bug in the code to add an application, this has been here
	  a long time, presumably most people are adding apps from the main
	  page.

2006-01-16 19:46  daveb

	* packages/: acs-admin/acs-admin.info,
	  acs-api-browser/acs-api-browser.info,
	  acs-authentication/acs-authentication.info,
	  acs-automated-testing/acs-automated-testing.info,
	  acs-bootstrap-installer/acs-bootstrap-installer.info,
	  acs-content-repository/acs-content-repository.info,
	  acs-core-docs/acs-core-docs.info, acs-kernel/acs-kernel.info,
	  acs-lang/acs-lang.info, acs-mail/acs-mail.info,
	  acs-messaging/acs-messaging.info,
	  acs-reference/acs-reference.info,
	  acs-service-contract/acs-service-contract.info,
	  acs-subsite/acs-subsite.info, acs-tcl/acs-tcl.info,
	  acs-templating/acs-templating.info,
	  ref-timezones/ref-timezones.info, search/search.info: Updating
	  info files for 5.2.2

2006-01-16 19:44  daveb

	* packages/acs-core-docs/www/: acs-admin.html, aolserver.html,
	  aolserver4.html, automated-testing-best-practices.html,
	  backup-recovery.html, bootstrap-acs.html, complete-install.html,
	  credits.html, cvs-guidelines.html, db-api-detailed.html,
	  db-api.html, eng-standards-constraint-naming.html,
	  eng-standards-filenaming.html, eng-standards-plsql.html,
	  eng-standards-versioning.html, filename.html, form-builder.html,
	  index.html, individual-programs.html, install-daemontools.html,
	  install-next-add-server.html, install-next-nightly-vacuum.html,
	  install-qmail.html, install-steps.html, mac-installation.html,
	  maintenance-web.html, object-identity.html, objects.html,
	  openacs-unpack.html, openacs.html, oracle.html, packages.html,
	  parties.html, permissions.html, postgres.html,
	  programming-with-aolserver.html, psgml-for-emacs.html,
	  psgml-mode.html, release-notes-4-5.html,
	  release-notes-4-6-2.html, release-notes-4-6-3.html,
	  release-notes-4-6.html, release-notes.html,
	  releasing-openacs-core.html, request-processor.html,
	  requirements-template.html, security-notes.html,
	  style-guide.html, subsites.html, tcl-doc.html, templates.html,
	  tutorial-database.html, tutorial-etp-templates.html,
	  tutorial-newpackage.html, tutorial-pages.html,
	  unix-installation.html, upgrade-4.5-to-4.6.html, variables.html,
	  win2k-installation.html, xml/variables.ent: Updateing
	  documentation for 5.2.2

2006-01-16 19:41  daveb

	* ChangeLog: Update ChangeLog for 5.2.2

2006-01-16 18:42  daveb

	* packages/acs-templating/tcl/richtext-procs.tcl: Fix richtext to
	  show Format widget on no RTE or no javascript.

2006-01-16 10:59  daveb

	* packages/acs-core-docs/www/: aolserver.html, aolserver4.html,
	  automated-testing-best-practices.html, backup-recovery.html,
	  bootstrap-acs.html, credits.html, cvs-guidelines.html,
	  db-api-detailed.html, db-api.html,
	  eng-standards-constraint-naming.html,
	  eng-standards-filenaming.html, eng-standards-plsql.html,
	  eng-standards-versioning.html, filename.html, form-builder.html,
	  individual-programs.html, install-next-nightly-vacuum.html,
	  install-steps.html, mac-installation.html, maintenance-web.html,
	  object-identity.html, objects.html, openacs.html, oracle.html,
	  packages.html, parties.html, permissions.html, postgres.html,
	  programming-with-aolserver.html, psgml-mode.html,
	  release-notes-4-5.html, release-notes-4-6-2.html,
	  release-notes-4-6-3.html, release-notes-4-6.html,
	  release-notes.html, releasing-openacs-core.html,
	  request-processor.html, requirements-template.html,
	  security-notes.html, style-guide.html, subsites.html,
	  tcl-doc.html, templates.html, tutorial-database.html,
	  tutorial-etp-templates.html, tutorial-pages.html,
	  unix-installation.html, variables.html, win2k-installation.html,
	  xml/releasing-openacs.xml: Update documentation

2006-01-16 10:47  daveb

	* packages/: acs-admin/acs-admin.info,
	  acs-api-browser/acs-api-browser.info,
	  acs-authentication/acs-authentication.info,
	  acs-automated-testing/acs-automated-testing.info,
	  acs-bootstrap-installer/acs-bootstrap-installer.info,
	  acs-content-repository/acs-content-repository.info,
	  acs-core-docs/acs-core-docs.info, acs-kernel/acs-kernel.info,
	  acs-lang/acs-lang.info, acs-mail/acs-mail.info,
	  acs-messaging/acs-messaging.info,
	  acs-reference/acs-reference.info,
	  acs-service-contract/acs-service-contract.info,
	  acs-subsite/acs-subsite.info, acs-tcl/acs-tcl.info,
	  acs-templating/acs-templating.info,
	  ref-timezones/ref-timezones.info, search/search.info: Update
	  release date

2006-01-16 10:45  daveb

	* readme.txt: Update version number

2006-01-16 10:41  daveb

	* ChangeLog: New changelog

2006-01-16 10:24  daveb

	* packages/acs-core-docs/www/files/update-info.sh: Add example
	  script to update info files for release.

2006-01-16 00:44  maltes

	* packages/acs-tcl/lib/page-error.tcl: Uncommented the whole line
	  as it caused errors. We should not log the error messages if we
	  are not sending emails anyway...

2006-01-15 16:17  donb

	* packages/: acs-content-repository/sql/oracle/content-keyword.sql,
	  acs-content-repository/sql/oracle/packages-create.sql,
	  acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0a1-5.2.0a2.sql,
	  acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0d16-5.2.0d17.sql,
	  acs-content-repository/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql,
	  acs-kernel/sql/oracle/upgrade/upgrade-5.2.0d1-5.2.0d2.sql,
	  acs-kernel/sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Fixed
	  5.1->5.2 upgrade, all content repository tests now pass.

2006-01-12 10:25  daveb

	* packages/acs-content-repository/sql/oracle/: content-folder.sql,
	  content-item.sql, upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Remove
	  code that guesses package_id based on parent_id

2006-01-12 10:23  daveb

	* packages/acs-content-repository/sql/postgresql/:
	  content-folder.sql, content-item.sql,
	  upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Remove code that guesses
	  package_id based on parent_id. In almost all cases this will
	  return null anyway.

2006-01-11 19:20  dedsc

	* packages/acs-content-repository/sql/postgresql/content-type.sql:
	  fix content_type__refresh_view to do a lowercase when selecting
	  table_name. this was in the upgrade script for 5.2.0a1 to 5.2.0a2
	  but didn't find it's way here

2006-01-08 22:32  carlb

	* packages/acs-authentication/www/doc/: ext-auth-install.html,
	  ext-auth-ldap-install.html, ext-auth-pam-install.html,
	  index.html, xml/install.xml: initial add of LDAP/Active Directory
	  authN documentation

2006-01-08 18:52  daveb

	* packages/: acs-admin/acs-admin.info,
	  acs-api-browser/acs-api-browser.info,
	  acs-authentication/acs-authentication.info,
	  acs-automated-testing/acs-automated-testing.info,
	  acs-bootstrap-installer/acs-bootstrap-installer.info,
	  acs-content-repository/acs-content-repository.info,
	  acs-core-docs/acs-core-docs.info, acs-kernel/acs-kernel.info,
	  acs-lang/acs-lang.info, acs-mail/acs-mail.info,
	  acs-messaging/acs-messaging.info,
	  acs-reference/acs-reference.info,
	  acs-service-contract/acs-service-contract.info,
	  acs-subsite/acs-subsite.info, acs-tcl/acs-tcl.info,
	  acs-templating/acs-templating.info,
	  ref-timezones/ref-timezones.info, search/search.info: Update
	  docs, bump info files for 5.2.1

2006-01-08 17:28  daveb

	* packages/acs-core-docs/: acs-core-docs.info, www/aolserver.html,
	  www/aolserver4.html, www/automated-testing-best-practices.html,
	  www/backup-recovery.html, www/bootstrap-acs.html,
	  www/configuring-configuring-packages.html,
	  www/configuring-configuring-permissions.html,
	  www/configuring-install-packages.html,
	  www/configuring-mounting-packages.html,
	  www/contributing-code.html, www/credits.html,
	  www/cvs-guidelines.html, www/cvs-tips.html,
	  www/db-api-detailed.html, www/db-api.html,
	  www/docbook-primer.html,
	  www/eng-standards-constraint-naming.html,
	  www/eng-standards-filenaming.html, www/eng-standards-plsql.html,
	  www/eng-standards-versioning.html,
	  www/ext-auth-requirements.html, www/filename.html,
	  www/form-builder.html, www/high-avail.html, www/how-do-I.html,
	  www/i18n-convert.html, www/index.html,
	  www/individual-programs.html, www/install-cvs.html,
	  www/install-daemontools.html,
	  www/install-full-text-search-openfts.html,
	  www/install-full-text-search-tsearch2.html,
	  www/install-next-nightly-vacuum.html,
	  www/install-openacs-keepalive.html, www/install-qmail.html,
	  www/install-redhat.html, www/install-steps.html, www/ix01.html,
	  www/mac-installation.html, www/maint-performance.html,
	  www/maintenance-deploy.html, www/maintenance-web.html,
	  www/object-identity.html, www/objects.html,
	  www/openacs-cvs-concepts.html, www/openacs.html, www/oracle.html,
	  www/packages.html, www/parties.html,
	  www/permissions-tediously-explained.html, www/permissions.html,
	  www/postgres.html, www/programming-with-aolserver.html,
	  www/psgml-for-emacs.html, www/psgml-mode.html,
	  www/release-notes-4-5.html, www/release-notes-4-6-2.html,
	  www/release-notes-4-6-3.html, www/release-notes-4-6.html,
	  www/release-notes.html, www/releasing-openacs-core.html,
	  www/request-processor.html, www/requirements-template.html,
	  www/security-notes.html, www/style-guide.html, www/subsites.html,
	  www/tcl-doc.html, www/templates.html,
	  www/tutorial-css-layout.html, www/tutorial-cvs.html,
	  www/tutorial-database.html, www/tutorial-debug.html,
	  www/tutorial-distribute.html, www/tutorial-etp-templates.html,
	  www/tutorial-newpackage.html, www/tutorial-pages.html,
	  www/unix-installation.html, www/upgrade-4.5-to-4.6.html,
	  www/upgrade-openacs-files.html, www/upgrade-overview.html,
	  www/using-cvs-with-openacs.html, www/variables.html,
	  www/win2k-installation.html: Regenerate docs for 5.2.1

2006-01-08 15:15  carlb

	* packages/acs-core-docs/www/xml/install-guide/postgres.xml: added
	  a note about default system path in a section that was confusing
	  new users

2006-01-08 06:52  daveb

	* packages/acs-content-repository/tcl/content-item-procs.tcl:
	  Remove dependency on ad_conn.

2006-01-06 23:59  maltes

	* packages/acs-content-repository/tcl/content-item-procs.tcl: Fixes
	  #2771. Made sure creation_* parameters are passed on to
	  content::revision::new

2006-01-05 11:40  daveb

	* packages/acs-tcl/lib/page-error.tcl: Turn off emailing page
	  errors.  Whoever added this, please, please,please! add the
	  paramtere for this and make it off by default.

2006-01-05 09:43  daveb

	* packages/acs-kernel/acs-kernel.info: Bump version number

2006-01-04 16:25  donb

	*
	  packages/acs-kernel/sql/oracle/upgrade/upgrade-5.2.0d9-5.2.0d10.sql:
	  Added create or replace of apm_package to the 5.2.0 version since
	  we've not actually bumped acs-kernel.info yet ...

2006-01-04 12:28  daveb

	* packages/acs-messaging/: acs-messaging.info,
	  sql/oracle/acs-messaging-packages.sql,
	  sql/oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Support root
	  parent_id as -4 instead of 0. Postgresql doesn't have a default
	  for parent_id so it doesn't get an upgrade script.

2006-01-04 07:51  daveb

	*
	  packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql:
	  Refresh content_revision view also, not just child types.

2006-01-03 17:42  daveb

	* packages/acs-kernel/sql/:
	  postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql,
	  oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Recreate apm package
	  to match create scripts.

2006-01-03 17:29  daveb

	* packages/acs-content-repository/sql/:
	  oracle/upgrade/upgrade-5.2.0b11-5.2.0b12.sql,
	  oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql,
	  postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql,
	  postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Fix upgrade. Move
	  5.2.0 stuff to 5.2.1

2006-01-03 16:48  donb

	* packages/acs-kernel/sql/oracle/acs-relationships-create.sql:
	  Fixed malte/timo typo that broke oracle

2006-01-03 16:38  donb

	* packages/acs-content-repository/sql/oracle/: content-folder.sql,
	  upgrade/upgrade-5.2.0b5-5.2.0b6.sql: More 5.2 fixes for Oracle
	  ...

2006-01-03 15:10  donb

	* packages/acs-bootstrap-installer/db-init-checks-oracle.tcl:
	  Janine's addition of a real version check for Oracle was
	  allocating a db handle from the default pool, which we don't
	  require in OpenACS.  I changed the test to grab a handle from the
	  first available pool.

2006-01-03 07:05  daveb

	*
	  packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql:
	  Recreate content_keyword__new to support package_id.	Refresh
	  views and triggers.

2006-01-03 07:04  daveb

	*
	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.2.0b11-5.2.0b12.sql:
	  Refresh views and triggers.  Recreate content keyword to support
	  package_id parameter

2006-01-03 05:45  daveb

	*
	  packages/acs-content-repository/sql/postgresql/upgrade/upgrade-5.2.0b11-5.2.0b12.sql:
	  Refresh insert views on upgrade since the definition has changed.

2006-01-02 10:02  daveb

	*
	  packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.2.0b10-5.2.0b11.sql:
	  Make sure beta testers also get fixed apm_package__new

2006-01-02 10:00  daveb

	*
	  packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.2.0d1-5.2.0d2.sql:
	  Fix apm_package__new on upgrade to match new install

2006-01-02 05:59  daveb

	* packages/acs-content-repository/acs-content-repository.info: Bump
	  to corect version number.

2006-01-01 15:37  gustafn

	* packages/acs-templating/www/resources/xinha-nightly/: lang/sh.js,
	  lang/sr.js, plugins/InsertSnippet/InsertSnippet.css,
	  plugins/InsertSnippet/insert-snippet.js,
	  plugins/InsertSnippet/snippets.html,
	  plugins/InsertSnippet/snippets.js,
	  plugins/InsertSnippet/snippets.php,
	  plugins/InsertSnippet/img/ed_snippet.gif,
	  plugins/InsertSnippet/lang/de.js,
	  plugins/InsertSnippet/popups/insertsnippet.html: adding new files
	  of xinha nightly (new plugin InsertSnippet)

2006-01-01 15:28  gustafn

	* packages/acs-templating/www/resources/xinha-nightly/: dialog.js,
	  examples/Extended.html, examples/ext_example-body.html,
	  examples/ext_example-menu.php, examples/ext_example.html,
	  plugins/CSS/css.js, plugins/CharCounter/char-counter.js,
	  plugins/CharacterMap/character-map.js,
	  plugins/ContextMenu/context-menu.js,
	  plugins/ContextMenu/lang/no.js, plugins/Equation/equation.js,
	  plugins/Equation/lang/no.js, plugins/FullPage/full-page.js,
	  plugins/GetHtml/get-html.js, plugins/HtmlTidy/lang/no.js,
	  plugins/ImageManager/config.inc.php,
	  plugins/ImageManager/editor.php,
	  plugins/ImageManager/editorFrame.php,
	  plugins/ImageManager/image-manager.js,
	  plugins/ImageManager/images.php,
	  plugins/ImageManager/manager.php,
	  plugins/ImageManager/resizer.php,
	  plugins/ImageManager/thumbs.php,
	  plugins/ImageManager/Classes/Files.php,
	  plugins/ImageManager/Classes/GD.php,
	  plugins/ImageManager/Classes/IM.php,
	  plugins/ImageManager/Classes/ImageEditor.php,
	  plugins/ImageManager/Classes/ImageManager.php,
	  plugins/ImageManager/Classes/NetPBM.php,
	  plugins/ImageManager/Classes/Thumbnail.php,
	  plugins/ImageManager/Classes/Transform.php,
	  plugins/ImageManager/assets/dialog.js,
	  plugins/ImageManager/assets/editor.js,
	  plugins/ImageManager/assets/editorFrame.js,
	  plugins/ImageManager/assets/images.js,
	  plugins/ImageManager/assets/manager.js,
	  plugins/ImageManager/assets/popup.js,
	  plugins/InsertAnchor/lang/no.js,
	  plugins/InsertPicture/InsertPicture.php,
	  plugins/InsertPicture/insert-picture.js,
	  plugins/InsertPicture/lang/de.js,
	  plugins/InsertPicture/lang/no.js, plugins/Linker/linker.js,
	  plugins/ListType/list-type.js, plugins/ListType/lang/no.js,
	  plugins/NoteServer/lang/no.js,
	  plugins/OacsFs/popups/file-selector.tcl,
	  plugins/QuickTag/lang/no.js,
	  plugins/SpellChecker/aspell_setup.php,
	  plugins/SpellChecker/spell-check-logic.cgi,
	  plugins/SpellChecker/spell-check-ui.html,
	  plugins/SpellChecker/spell-check-ui.js,
	  plugins/SpellChecker/spell-checker.js,
	  plugins/SpellChecker/lang/no.js, plugins/SuperClean/lang/no.js,
	  plugins/TableOperations/table-operations.js, popups/about.html,
	  popups/popup.js, skins/blue-metallic/skin.css: upgrade to the
	  current xinha-nightly version

2005-12-29 03:57  maltes

	* packages/acs-kernel/catalog/: acs-kernel.ar_LB.utf-8.xml,
	  acs-kernel.da_DK.ISO-8859-1.xml, acs-kernel.de_DE.ISO-8859-1.xml,
	  acs-kernel.en_US.ISO-8859-1.xml, acs-kernel.fr_FR.ISO-8859-1.xml:
	  Updated translations and fixed two strings in English

2005-12-29 03:46  maltes

	* packages/acs-content-repository/acs-content-repository.info:
	  Error in the requires section

2005-12-29 02:07  maltes

	* etc/config.tcl: Added check for libthread library

2005-12-28 17:27  daveb

	* packages/acs-content-repository/acs-content-repository.info:
	  Update info file so new upgrade script will run.

2005-12-28 17:24  daveb

	* packages/acs-content-repository/sql/: oracle/content-create.sql,
	  oracle/content-folder.sql, oracle/content-item.sql,
	  postgresql/content-create.sql, postgresql/content-folder.sql,
	  postgresql/content-item.sql,
	  postgresql/upgrade/upgrade-5.2.1d1-5.2.1d2.sql,
	  oracle/upgrade/upgrade-5.2.1d1-5.2.1d2.sql: Changes to make the
	  root of parentless items = -4 (security context root) instead of
	  0 (unregistered visitor) Sites upgradeed from 4.6-4.6.1 have been
	  operating with -4 as the parent_id for years (for example
	  openacs.org) while new installs had parent_id = 0. This caused
	  problems with the new package_id code that calls
	  content_item__get_root_folder which was assuming the root = 0. It
	  looks like the new install code did not accomodate parent_id=-4
	  and that is now fixed.  Needs testing on Oracle.

2005-12-28 15:29  gustafn

	* packages/acs-tcl/tcl/: request-processor-procs.tcl,
	  utilities-procs.tcl: Basic compatibility with naviserver 4.99.0
	  (some packages with filters will need similar fixes)

2005-12-27 00:55  maltes

	* packages/acs-tcl/tcl/utilities-procs.tcl: Added
	  util::find_all_files

2005-12-23 00:26  maltes

	* packages/acs-kernel/catalog/: acs-kernel.de_DE.ISO-8859-1.xml,
	  acs-kernel.en_US.ISO-8859-1.xml: Fix #2751

2005-12-19 12:20  maltes

	* packages/acs-lang/tcl/lang-catalog-procs.tcl: It does not make
	  sense to export acs-translations at all because the object_ids
	  are different from site tot site

2005-12-19 12:09  maltes

	* packages/acs-lang/sql/postgresql/ad-locales.sql: Added swiss
	  locale

2005-12-19 10:42  maltes

	* packages/acs-lang/sql/postgresql/ad-locales.sql: Removed swiss
	  locale. Will recommit once the release has been made

2005-12-18 03:17  maltes

	* packages/acs-content-repository/tcl/content-symlink-procs.tcl: A
	  little tiny bit of documentation for the symlink procedures

2005-12-16 09:00  daveb

	* packages/acs-subsite/lib/user-new.tcl: Fix bug#2715 url varibale
	  name overwriting value of form element

2005-12-15 14:48  maltes

	* packages/acs-subsite/catalog/: acs-subsite.de_DE.ISO-8859-1.xml,
	  acs-subsite.en_US.ISO-8859-1.xml: New I18N


High level information: What is OpenACS?

Created by Gustaf Neumann, last modified by Gustaf Neumann 22 Jan 2007, at 01:18 AM

Table of Contents

Overview
OpenACS Release Notes

OpenACS For Everyone

Created by Gustaf Neumann, last modified by Gustaf Neumann 22 Jan 2007, at 01:18 AM

Using CVS with an OpenACS Site

Created by Gustaf Neumann, last modified by Gustaf Neumann 22 Jan 2007, at 01:14 AM

By Joel Aufrecht

OpenACS docs are written by the named authors, and may be edited by OpenACS documentation staff.

Add the Service to CVS - OPTIONAL.These steps take an existing OpenACS directory and add it to a CVS repository.

  1. Create and set permissions on a subdirectory in the local cvs repository.

    [root root]# mkdir /cvsroot/$OPENACS_SERVICE_NAME
    
    [root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /cvsroot/$OPENACS_SERVICE_NAME
    
    [root root]#
    mkdir /cvsroot/$OPENACS_SERVICE_NAME
    chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /cvsroot/$OPENACS_SERVICE_NAME
    
    
  2. Add the repository location to the user environment. On some systems, you may get better results with .bash_profile instead of .bashrc.

    [root root]# su - $OPENACS_SERVICE_NAME
    
    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ emacs .bashrc
    

    Put this string into /home/$OPENACS_SERVICE_NAME/.bashrc:

    export CVSROOT=/cvsroot
    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ exit
    logout
    
    [root root]#
  3. Import all files into cvs. In order to work on files with source control, the files must be checked out from cvs. So we will import, move aside, and then check out all of the files. In the cvs import command, $OPENACS_SERVICE_NAME refers to the cvs repository to use; it uses the CVSROOT plus this string, i.e. /cvsroot/$OPENACS_SERVICE_NAME . "OpenACS" is the vendor tag, and "oacs-5-2-3rc1" is the release tag. These tags will be useful in upgrading and branching. -m sets the version comment.

    [root root]# su - $OPENACS_SERVICE_NAME
    
    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
    
    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS oacs-5-2-3rc1
    N $OPENACS_SERVICE_NAME/license.txt
    N $OPENACS_SERVICE_NAME/readme.txt
    (many lines omitted)
    N $OPENACS_SERVICE_NAME/www/SYSTEM/flush-memoized-statement.tcl
    
    No conflicts created by this import
    
    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ exit
    [root root]#
    su - $OPENACS_SERVICE_NAME
    cd /var/lib/aolserver/$OPENACS_SERVICE_NAME
    cvs import -m "initial install" $OPENACS_SERVICE_NAME OpenACS oacs-5-2-3rc1
    exit
    

    Move the original directory to a temporary location, and check out the cvs repository in its place.

    [root root]# mv /var/lib/aolserver/$OPENACS_SERVICE_NAME /var/tmp
    [root root]# mkdir /var/lib/aolserver/$OPENACS_SERVICE_NAME
    
    [root root]# chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /var/lib/aolserver/$OPENACS_SERVICE_NAME
    
    [root root]# su - $OPENACS_SERVICE_NAME
    
    [$OPENACS_SERVICE_NAME $OPENACS_SERVICE_NAME]$ cd /var/lib/aolserver
    [$OPENACS_SERVICE_NAME aolserver]$ cvs checkout $OPENACS_SERVICE_NAME
    
    cvs checkout: Updating $OPENACS_SERVICE_NAME
    U $OPENACS_SERVICE_NAME/license.txt
    (many lines omitted)
    U $OPENACS_SERVICE_NAME/www/SYSTEM/dbtest.tcl
    U $OPENACS_SERVICE_NAME/www/SYSTEM/flush-memoized-statement.tcl
    [$OPENACS_SERVICE_NAME aolserver]$ exit
    logout
    
    [root root]#
    
    mv /var/lib/aolserver/$OPENACS_SERVICE_NAME /var/tmp
    mkdir /var/lib/aolserver/$OPENACS_SERVICE_NAME
    chown $OPENACS_SERVICE_NAME.$OPENACS_SERVICE_NAME /var/lib/aolserver/$OPENACS_SERVICE_NAME
    su - $OPENACS_SERVICE_NAME
    cd /var/lib/aolserver
    cvs checkout $OPENACS_SERVICE_NAME
    exit
    
  4. If the service starts correctly, come back and remove the temporary copy of the uploaded files.

Debugging and Automated Testing

Created by Joel Aufrecht, last modified by Gustaf Neumann 22 Jan 2007, at 01:06 AM

Developer Support.The Developer Support package adds several goodies: debug information for every page; the ability to log comments to the page instead of the error log, and fast user switching so that you can test pages as anonymous and as dummy users without logging in and out.

PostgreSQL.You can work directly with the database to do debugging steps like looking directly at tables and testing stored procedures. Start emacs. Type M-x sql-postgres. Press enter for server name and use $OPENACS_SERVICE_NAME for database name. You can use C-(up arrow) and C-(down arrow) for command history.

Hint: "Parse error near *" usually means that an xql file wasn't recognized, because the tcl file is choking on the *SQL* placeholder that it falls back on.

Watching the server log.

To set up real-time monitoring of the AOLserver error log, type

less /var/lib/aolserver/$OPENACS_SERVICE_NAME/log/openacs-dev-error.log

 

Ftoshownewlogentriesinrealtime(liketail-f)
C-ctostopandFtostartitupagain.
Ggoestotheend.
?searchesbackward
/searchesforward.

 

Make a list of basic tests to make sure it works

Test NumActionExpected Result
001Browse to the index page while not logged in and while one or more notes exist.No edit or delete or add links should appear.
002Browse to the index page while logged in. An Edit link should appear. Click on it. Fill out the form and click Submit.The text added in the form should be visible on the index page.
API-001Invoke mfp::note::create with a specific word as the title.Proc should return an object id.
API-002Given an object id from API-001, invoke mfp::note::get.Proc should return the specific word in the title.
API-003Given the object id from API-001, invoke mfp::note::delete.Proc should return 0 for success.

Other things to test: try to delete someone else's note. Try to delete your own note. Edit your own note. Search for a note.

It seems to me that a lot of people have been asking for some guidelines on how to write automated tests. I've done several tests by now and have found the process to be extremely easy and useful. It's a joy to work with automated testing once you get the hang of it.

Create the directory that will contain the test script and edit the script file. The directory location and file name are standards which are recognized by the automated testing package:

[$OPENACS_SERVICE_NAME www]$ mkdir /var/lib/aolserver/$OPENACS_SERVICE_NAME/packages/myfirstpackage/tcl/test
[$OPENACS_SERVICE_NAME www]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME/packages/myfirstpackage/tcl/test
[$OPENACS_SERVICE_NAME test]$ emacs myfirstpackages-procs.tcl

Write the tests. This is obviously the big step :) The script should first call ad_library like any normal -procs.tcl file:

ad_library {
...
}

To create a test case you call aa_register_case test_case_name.. Once you've created the test case you start writing the needed logic. We'll use the tutorial package, "myfirstpackage," as an example. Let's say you just wrote an API for adding and deleting notes in the notes packages and wanted to test that. You'd probably want to write a test that first creates a note, then verifies that it was inserted, then perhaps deletes it again, and finally verifies that it is gone.

Naturally this means you'll be adding a lot of bogus data to the database, which you're not really interested in having there. To avoid this I usually do two things. I always put all my test code inside a call to aa_run_with_teardown which basically means that all the inserts, deletes, and updates will be rolled back once the test has been executed. A very useful feature. Instead of inserting bogus data like: set name "Simon", I tend to generate a random script in order avoid inserting a value that's already in the database:

set name [ad_generate_random_string]

Here's how the test case looks so far:

aa_register_case mfp_basic_test {
My test
} {
aa_run_with_teardown \
-rollback \
-test_code {

}
}

Now let's look at the actual test code. That's the code that goes inside -test_code {}. We want to implement test case API-001, "Given an object id from API-001, invoke mfp::note::get. Proc should return the specific word in the title."

      set name [ad_generate_random_string]
set new_id [mfp::note::add -title $name]
aa_true "Note add succeeded" [exists_and_not_null new_id]

To test our simple case, we must load the test file into the system (just as with the /tcl file in the basic tutorial, since the file didn't exist when the system started, the system doesn't know about it.) To make this file take effect, go to the APM and choose "Reload changed" for "MyFirstPackage". Since we'll be changing it frequently, select "watch this file" on the next page. This will cause the system to check this file every time any page is requested, which is bad for production systems but convenient for developing. We can also add some aa_register_case flags to make it easier to run the test. The -procs flag, which indicates which procs are tested by this test case, makes it easier to find procs in your package that aren't tested at all. The -cats flag, setting categories, makes it easier to control which tests to run. The smoke test setting means that this is a basic test case that can and should be run any time you are doing any test. (a definition of "smoke test")

Once the file is loaded, go to ACS Automated Testing and click on myfirstpackage. You should see your test case. Run it and examine the results.

API testing can only test part of our package - it doesn't test the code in our adp/tcl pairs. For this, we can use TCLwebtest. TCLwebtest must be installed for this test to work. This provides a library of functions that make it easy to call a page through HTTP, examine the results, and drive forms. TCLwebtest's functions overlap slightly with acs-automated-testing; see the example provided for one approach on integrating them.

Now we can add the rest of the API tests, including a test with deliberately bad data. The complete test looks like:

ad_library {
Test cases for my first package.
}

aa_register_case \
-cats {smoke api} \
-procs {mfp::note::add mfp::note::get mfp::note::delete} \
mfp_basic_test \
{
A simple test that adds, retrieves, and deletes a record.
} {
aa_run_with_teardown \
-rollback \
-test_code {
set name [ad_generate_random_string]
set new_id [mfp::note::add -title $name]
aa_true "Note add succeeded" [exists_and_not_null new_id]

mfp::note::get -item_id $new_id -array note_array
aa_true "Note contains correct title" [string equal $note_array(title) $name]

mfp::note::delete -item_id $new_id

set get_again [catch {mfp::note::get -item_id $new_id -array note_array}]
aa_false "After deleting a note, retrieving it fails" [expr $get_again == 0]
}
}

aa_register_case \
-cats {api} \
-procs {mfp::note::add mfp::note::get mfp::note::delete} \
mfp_bad_data_test \
{
A simple test that adds, retrieves, and deletes a record, using some tricky data.
} {
aa_run_with_teardown \
-rollback \
-test_code {
set name {-Bad [BAD] \077 { $Bad}}
append name [ad_generate_random_string]
set new_id [mfp::note::add -title $name]
aa_true "Note add succeeded" [exists_and_not_null new_id]

mfp::note::get -item_id $new_id -array note_array
aa_true "Note contains correct title" [string equal $note_array(title) $name]
aa_log "Title is $name"
mfp::note::delete -item_id $new_id

set get_again [catch {mfp::note::get -item_id $new_id -array note_array}]
aa_false "After deleting a note, retrieving it fails" [expr $get_again == 0]
}
}


aa_register_case \
-cats {web smoke} \
-libraries tclwebtest \
mfp_web_basic_test \
{
A simple tclwebtest test case for the tutorial demo package.

@author Peter Marklund
} {
# we need to get a user_id here so that it's available throughout
# this proc
set user_id [db_nextval acs_object_id_seq]

set note_title [ad_generate_random_string]

# NOTE: Never use the aa_run_with_teardown with the rollback switch
# when running Tclwebtest tests since this will put the test code in
# a transaction and changes won't be visible across HTTP requests.

aa_run_with_teardown -test_code {

#-------------------------------------------------------------
# Login
#-------------------------------------------------------------

# Make a site-wide admin user for this test
# We use an admin to avoid permission issues
array set user_info [twt::user::create -admin -user_id $user_id]

# Login the user
twt::user::login $user_info(email) $user_info(password)

#-------------------------------------------------------------
# New Note
#-------------------------------------------------------------

# Request note-edit page
set package_uri [apm_package_url_from_key myfirstpackage]
set edit_uri "${package_uri}note-edit"
aa_log "[twt::server_url]$edit_uri"
twt::do_request "[twt::server_url]$edit_uri"

# Submit a new note

tclwebtest::form find ~n note
tclwebtest::field find ~n title
tclwebtest::field fill $note_title
tclwebtest::form submit

#-------------------------------------------------------------
# Retrieve note
#-------------------------------------------------------------

# Request index page and verify that note is in listing
tclwebtest::do_request $package_uri
aa_true "New note with title \"$note_title\" is found in index page" \
[string match "*${note_title}*" [tclwebtest::response body]]

#-------------------------------------------------------------
# Delete Note
#-------------------------------------------------------------
# Delete all notes

# Three options to delete the note
# 1) go directly to the database to get the id
# 2) require an API function that takes name and returns ID
# 3) screen-scrape for the ID
# all options are problematic. We'll do #1 in this example:

set note_id [db_string get_note_id_from_name "
select item_id
from cr_items
where name = :note_title
and content_type = 'mfp_note'
" -default 0]

aa_log "Deleting note with id $note_id"

set delete_uri "${package_uri}note-delete?item_id=${note_id}"
twt::do_request $delete_uri

# Request index page and verify that note is in listing
tclwebtest::do_request $package_uri
aa_true "Note with title \"$note_title\" is not found in index page after deletion." \
![string match "*${note_title}*" [tclwebtest::response body]]

} -teardown_code {

twt::user::delete -user_id $user_id
}
}

See also the section called “Automated Testing”.

Setting Up Database Objects

Created by Joel Aufrecht, last modified by Gustaf Neumann 22 Jan 2007, at 01:05 AM

We create all database objects with scripts in the myfirstpackage/sql/ directory. All database scripts are database-specific and are thus in either the myfirstpackage/sql/oracle or myfirstpackage/sql/postgresql directory. Packages can support Oracle, PostgreSQL, or both. In this tutorial, we will be working with PostgreSQL

The first file will be myfirstpackage-create.sql. The package manager requires a file with the name packagekey-create.sql, which it will run automatically when the package in installed. This file should create all tables and views.

Our package is going to store all of its information in one table. It takes more than just a CREATE TABLE command, however, because we want to integrate our table with the OpenACS system. By making each record in our table an OpenACS object, we gain access to the permissions system and to services that integrate with OpenACS objects, such as general-comments and notification. The cost is that our table creation code must include several functions, stored procedures, and is complicated (even for simple tables).

There are many kinds of OpenACS objects in the system. (You can see them with the psql code: select object_type from acs_object_types;.) One such object is the content_item, which is part of the content repository system. To use it, we will make our data objects children of the content_revision object, which is a child of content_item. Not only will we gain the benefits of both OpenACS Objects and content objects, we can also use some content repository functions to simplify our database creation. (More information about ACS Objects. More information about the Content Repository.)

Figure9.2.Tutorial Data Model

Tutorial Data Model

The top of each sql file has some standard comments, including doc tags such as @author which will be picked up by the API browser. The string $Id: tutorial-database.html,v 1.37 2006/07/17 05:38:32 torbenb Exp $ will automatically be expanded when the file is checked in to cvs.

[$OPENACS_SERVICE_NAME ~]$ cd /var/lib/aolserver/$OPENACS_SERVICE_NAME/packages/myfirstpackage/sql/postgresql
[$OPENACS_SERVICE_NAME postgresql]$ emacs myfirstpackage-create.sql

Paste the text below into the file, save, and close.

Figure9.3.The Database Creation Script

-- creation script
--
-- @author joel@aufrecht.org
-- @cvs-id &Id:$
--

select content_type__create_type(
'mfp_note', -- content_type
'content_revision', -- supertype
'MFP Note', -- pretty_name,
'MFP Notes', -- pretty_plural
'mfp_notes', -- table_name
'note_id', -- id_column
null -- name_method
);

-- necessary to work around limitation of content repository:
select content_folder__register_content_type(-100,'mfp_note','t');

The creation script calls a function in PL/pgSQL (PL/pgSQL is a procedural language extention to sql), content_type__create_type, which in turn creates the necessary database changes to support our data object. Notice the use of "mfp." This is derived from "My First Package" and ensures that our object is unlikely to conflict with objects from other packages.

Create a database file to drop everything if the package is uninstalled.

[$OPENACS_SERVICE_NAME postgresql]$ emacs myfirstpackage-drop.sql

Figure9.4.Database Deletion Script

-- drop script
--
-- @author joel@aufrecht.org
-- @cvs-id &Id:$
--
select content_folder__unregister_content_type(-100,'mfp_note','t');

select content_type__drop_type(
'mfp_note',
't',
't'
);

(like the creation script the drop script calls a PL/pgSQL function: content_type__drop_type

Run the create script manually to add your tables and functions.

[$OPENACS_SERVICE_NAME postgresql]$ psql -f myfirstpackage-create.sql
psql:myfirstpackage-create.sql:15: NOTICE:  CREATE TABLE / PRIMARY KEY will create implicit index 'mfp_notes_pkey' for table 'mfp_notes'
psql:myfirstpackage-create.sql:15: NOTICE:  CREATE TABLE will create implicit trigger(s) for FOREIGN KEY check(s)
 content_type__create_type
---------------------------
                         0
(1 row)

[$OPENACS_SERVICE_NAME postgresql]$

If there are errors, use them to debug the sql file and try again. If there are errors in the database table creation, you may need to run the drop script to drop the table so that you can recreate it. The drop script will probably have errors since some of the things it's trying to drop may be missing. They can be ignored.

Once you get the same output as shown above, test the drop script:

[$OPENACS_SERVICE_NAME postgresql]$ psql -f myfirstpackage-drop.sql

 content_type__drop_type
-------------------------
                       0
(1 row)

[$OPENACS_SERVICE_NAME postgresql]$

Once both scripts are working without errors, run the create script one last time and proceed.

[$OPENACS_SERVICE_NAME postgresql]$ psql -f myfirstpackage-create.sql

Development Tutorial

Created by Gustaf Neumann, last modified by Gustaf Neumann 22 Jan 2007, at 01:05 AM

Next Page