Forum OpenACS Development: Planning for OpenACS 5.1.1

Collapse
Posted by Joel Aufrecht on
I think it's about time to test and release OpenACS 5.1.1. Here are the changes I'm aware of. Let me know if there are others already in or pending, and if you have time to do some testing.
  • Will be 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 (Janine has a few more keys to put in)
  • Lots of catalog files modified to fix bug 1519
  • Other bug fixes since 5.1.0: 1785, 1793
  • 57 other files (not help, not catalogs) have changed in core since OpenACS 5.1.0:
    2004-06-25 02:16  andrewg
    
    	* packages/acs-kernel/sql/oracle/apm-create.sql: Simplifying the
    	  cursor in apm.register_parameter to fix a bug, and make it
    	  simpler.  Don's doing the PG version.
    
    2004-06-23 20:37  olah
    
    	* www/site-master.tcl: Using site_node::get_package_url to check
    	  for mounted curriculum instances, now that it is implemented with
    	  an nsv of url keyed by package key. Lars added this back in mars
    	  and I hadn't noticed ...
    
    2004-06-21 21:17  janine
    
    	* packages/acs-lang/www/admin/message-list.tcl: query didn't work
    	  in oracle (should be in an xql file but at least this will make
    	  it work)
    
    2004-06-21 15:18  maltes
    
    	* etc/keepalive/: keepalive-config.tcl, keepalive-cron.sh,
    	  keepalive.sh: Added cron support for keepalive
    
    2004-06-19 23:06  janine
    
    	* packages/: acs-kernel/acs-kernel.info,
    	  acs-subsite/acs-subsite.info, acs-tcl/tcl/admin-init.tcl: fix
    	  from Sloan: allow admin to restrict to registered users on a
    	  per-subsite basis
    
    2004-06-19 22:54  janine
    
    	* packages/acs-subsite/www/user/portrait/index.adp: fix from Sloan:
    	  only show 'this is what we show other users' message to admins,
    	  which includes the user looking at their own portrait
    
    2004-06-16 10:53  maltes
    
    	* packages/acs-service-contract/www/index.tcl: Page broken due to
    	  Orphans not having an owner. I took the owner out, if someone
    	  disagrees, please fix ...
    
    2004-06-15 17:52  andrewg
    
    	* packages/acs-tcl/tcl/site-nodes-procs.tcl: Fixed a scalability
    	  problem in site_node::update_cache
    
    2004-06-15 17:48  andrewg
    
    	*
    	  packages/acs-kernel/sql/oracle/upgrade/upgrade-5.0.0b4-5.0.0b5.sql:
    	  Applied Dave's bugfix for \#1419 here to fix the same bug
    
    2004-06-14 19:55  janine
    
    	* packages/acs-tcl/tcl/text-html-procs.tcl: fix from Sloan - 100
    	  iterations was not enough in some cases
    
    2004-06-14 19:49  janine
    
    	* packages/acs-tcl/tcl/: rollout-email-init.tcl,
    	  rollout-email-procs.tcl: update from Sloan
    
    2004-06-12 16:27  maltes
    
    	* etc/keepalive/keepalive-cron.sh: Added keepalive-cron.sh to be
    	  used in a cron environment, where root does not get an email
    	  every two minutes
    
    2004-06-12 13:00  maltes
    
    	* packages/acs-core-docs/www/: xml/install-guide/aolserver4.xml,
    	  aolserver4.html: Changed to use latest AOLserver (40r5). Fixed
    	  small inconsistency.
    
    2004-06-11 22:43  janine
    
    	*
    	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-4.6.2-4.6.3.sql:
    	  list columns to insert into (fix from Sloan)
    
    2004-06-11 22:42  janine
    
    	*
    	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-4.6.1-4.6.2.sql:
    	  merge fix from head
    
    2004-06-10 08:41  maltes
    
    	* etc/config.tcl: Changed the maxinput to 5MB with 1024*1024
    	  syntax. Added recvwait parameter.
    
    2004-06-08 10:52  maltes
    
    	* etc/config.tcl: Added maxinput parameter. Set it to 5MB, which
    	  allows OpenACS parameter to kick in more effectively. See
    	  https://openacs.org/forums/message-view?message_id=161698
    
    2004-06-07 18:56  jeffd
    
    	*
    	  packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.0d2-5.0d3.sql:
    	  do not create the cc_users_of_package_id view since we dont
    	  create application_users view anymore so its not used
    
    2004-06-02 18:26  lars
    
    	* packages/acs-tcl/tcl/: acs-permissions-procs.tcl,
    	  security-procs.tcl: Fixed bug when bumping to login page from
    	  within permission_p, but permission_p was called form within
    	  ad_get_login_url, which is the proc that determines which login
    	  page to use
    
    2004-06-02 01:24  donb
    
    	* packages/acs-content-repository/: acs-content-repository.info,
    	  sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql,
    	  sql/oracle/upgrade/upgrade-5.1.0-5.1.1.sql,
    	  sql/oracle/upgrade/upgrade-5.1.1-5.1.2.sql,
    	  sql/postgresql/upgrade/upgrade-5.1.1-5.1.2.sql: I'd accidently
    	  changed some old upgrade files to use edit_name rather than
    	  rename (for Oracle 9.2) and had not added the needed upgrade
    	  files for 5.1.
    
    2004-06-01 17:35  peterm
    
    	* packages/acs-subsite/www/admin/: parties/new.tcl, users/new.tcl:
    	  Making call to relation_add (on pages parties/new and users/new)
    	  not use the form_id and variable_prefix switches as doing so
    	  would make package_instantiate_object look for a rel_id in the
    	  form which wasn't there. This is analogous to fix in version 1.5
    	  of groups/new.
    
    2004-05-31 20:51  gabrielb
    
    	* packages/acs-lang/tcl/: lang-util-procs-oracle.xql,
    	  lang-util-procs-postgresql.xql, locale-procs.tcl: - There's no
    	  consistent use of upper/lower case in the locale and language
    	  columns of the ad_locales table so we need to do case insensitive
    	  searches.  - ad_locales defines the language column as char(3).
    	  Searches for 2-letter   language codes fail because (at least on
    	  PG) all 2-letter entries have a   trailing space in the database.
    
    2004-05-31 19:28  gabrielb
    
    	* packages/acs-templating/tcl/spellcheck-init.tcl: Handle instances
    	  where ad_locales does not contain the 2-letter language being
    	  sought.
    
    2004-05-28 19:08  jader
    
    	* packages/acs-kernel/acs-kernel.info: Removed a security hole in
    	  new installations: see:
    	  https://openacs.org/forums/message-view?message_id=187394
    
    2004-05-26 22:51  tils
    
    	* packages/acs-lang/www/admin/message-usage-include.tcl: The 'Show
    	  files that use this message' functionality used to also find keys
    	  like acs-kernel.foo_bar when searching for acs-kernel.foo, fixed.
    	  Not touching the acs-lang.localization-* lookups because I don't
    	  know how to test this.
    
    2004-05-26 21:10  donb
    
    	* packages/acs-content-repository/sql/postgresql/:
    	  content-folder.sql, content-item.sql: Minor cosmetic change vs.
    	  1858
    
    2004-05-26 21:01  daveb
    
    	* packages/acs-content-repository/tcl/revision-procs.tcl: Return
    	  content as string when string_p is true for file storage type.
    	  Fixed bug#1823
    
    2004-05-26 20:50  donb
    
    	* packages/acs-content-repository/sql/oracle/: content-folder.sql,
    	  content-item.sql, packages-create.sql,
    	  upgrade/upgrade-5.1.0-5.1.1.sql: Further fixing of bug #1858
    
    2004-05-26 20:43  daveb
    
    	* packages/acs-content-repository/tcl/filter-procs.tcl:
    	  Check for html before processing content through
    	  ad_html_text_convert.
    
    2004-05-26 20:12  donb
    
    	* packages/acs-content-repository/: sql/oracle/content-folder.sql,
    	  sql/oracle/content-test.sql,
    	  sql/oracle/upgrade/upgrade-4.7d6-5.0d1.sql,
    	  sql/postgresql/content-folder.sql,
    	  sql/postgresql/content-item.sql, sql/postgresql/content-test.sql,
    	  www/doc/api/folder.html, www/doc/api/item.html: Fixed Bug #1858:
    	  qualifying "rename" works in 8i bug chokes in 9i causing the
    	  reported error on installation.   Fixed by changing the name to
    	  "edit_name" and implemented it for PG as well (to keep names
    	  similar)
    
    2004-05-26 18:05  eduardop
    
    	* packages/acs-lang/acs-lang.info: Fix for Bug #1834: set
    	  SystemTimezone default="UTC"
    
    2004-05-22 01:15  lars
    
    	* packages/acs-subsite/tcl/subsite-procs.tcl: Do not require
    	  subsite_id to subsite::get_element
    
    2004-05-22 01:11  lars
    
    	* packages/acs-lang/www/admin/message-list.adp: Clearer explanation
    	  on the import/export links
    
    2004-05-20 19:50  lars
    
    	* packages/acs-tcl/tcl/acs-permissions-procs.tcl: Formatting
    	  change: && at beginning of lines, instead of end
    
    2004-05-20 19:31  lars
    
    	* packages/acs-tcl/tcl/acs-permissions-procs.tcl: Make the
    	  automatic detection of expired logins work when you explicitly
    	  supply party_id 0 as well
    
    2004-05-20 18:38  tilmanns
    
    	* packages/acs-templating/tcl/date-procs.tcl: Trim leading zeros
    	  since month_data is keyed by month number without leading zero,
    	  and I have seen at least once getting it a month value with
    	  leading zero from somewhere.
    
    2004-05-18 18:23  rocaelh
    
    	* packages/acs-tcl/tcl/utilities-procs.tcl: attribute of a child
    	  node function
    
    2004-05-18 18:15  rocaelh
    
    	* packages/acs-tcl/tcl/30-xml-utils-procs.tcl: xpath wrapper
    	  function
    
    2004-05-14 15:12  jeffd
    
    	* packages/acs-templating/: resources/lists/list.adp,
    	  resources/lists/table.adp, tcl/list-procs.tcl: parameterize the
    	  method for bulk actions, default is get since that used to be the
    	  hard coded value
    
    2004-05-13 18:43  lars
    
    	* packages/acs-subsite/www/resources/http.png: Added http link icon
    
    2004-05-13 17:16  lars
    
    	* packages/acs-subsite/catalog/acs-subsite.en_US.ISO-8859-1.xml:
    	  Show bio/portrait icon for members portlet
    
    2004-05-13 17:05  lars
    
    	* packages/acs-subsite/www/shared/community-member.adp: Fixed
    	  missing @ sign in the inline_portrait_state if statement
    
    2004-05-13 15:29  lars
    
    	* packages/acs-subsite/www/resources/profile-16.png: Added profile
    	  icon
    
    2004-05-06 23:25  daveb
    
    	* packages/acs-content-repository/tcl/revision-procs.tcl: Make sure
    	  content_length is returned as 0 if its set to NULL in
    	  cr_revisions.
    
    2004-05-06 02:35  daveb
    
    	* packages/acs-content-repository/sql/postgresql/:
    	  content-item.sql, upgrade/upgrade-5.1.1d1-5.1.1d2.sql: Fix typo
    	  in parameter name, reference to non-existant parameter.  Fixes
    	  bug#1793
    
    2004-05-06 02:24  daveb
    
    	* packages/acs-content-repository/acs-content-repository.info: Bump
    	  up version number to match upgrade script.
    
    2004-05-06 02:12  daveb
    
    	* packages/acs-content-repository/sql/postgresql/:
    	  content-create.sql, upgrade/upgrade-5.1.1d1-5.1.1d2.sql: Fix
    	  reference to chid instead of child in cr_items_update_tr. Upgrade
    	  script included. Fixes bug#1791
    
    2004-05-05 11:40  maltes
    
    	* packages/acs-subsite/www/members/user-batch-add-2.tcl: Adding
    	  users in a subsite per batch did not add them to the subsite as
    	  members.
    
    2004-05-04 14:11  jeffd
    
    	* packages/acs-subsite/www/user/portrait/upload-2-oracle.xql: set
    	  content_length field in cr_revisions for uploaded portrait
    
    2004-05-04 14:06  jeffd
    
    	* packages/acs-subsite/www/user/portrait/upload-2-postgresql.xql:
    	  set content_length field in cr_revisions for uploaded portrait
    
    2004-05-02 21:13  daveb
    
    	*
    	  packages/acs-content-repository/sql/oracle/upgrade/upgrade-5.1.0-5.1.1.sql:
    	  Fix content_folder.rename.
    
    2004-05-01 10:32  jeffd
    
    	* packages/acs-content-repository/sql/postgresql/content-type.sql:
    	  content_type__drop_type doesn't work on OS X (7.2 was matching
    	  sp[uriously) bug 1738 patch 498 Jarkko Laine
    
    2004-04-30 10:59  lars
    
    	* packages/acs-lang/www/admin/edit-localized-message.tcl:
    	  export_vars -base instead of ?[export_vars]
    
    2004-04-30 04:49  daveb
    
    	* packages/acs-content-repository/sql/oracle/content-folder.sql:
    	  Fix content_folder.rename to actually change the label or
    	  description if that parameter is specified.
    
Collapse
Posted by Torben Brosten on
"Will be 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."

To reduce ambiguity..

cvs -z3 -d :pserver:anonymous@openacs.org:/cvsroot co -r oacs-5-1 openacs-4

pulls the versions you refer to?

Collapse
Posted by Joel Aufrecht on
Sorry, I have to write a long answer to this and then I can try to write a short answer.  watch this space ...
Collapse
Posted by Jade Rubick on
Torben, I also wouldn't use openacs-4 as your checkout module, unless you really do want everything.

The upgrade docs are pretty good about this now. But I also look forward to Joel's answer.

Collapse
Posted by Joel Aufrecht on
Two items are currently blocking OpenACS 5.1.1. First, acs-content-repository is already at 5.1.2. This is not supposed to happen, because acs-core is supposed to be released monolithically. One solution would be to bump everything else in core up to 5.1.2 and skip 5.1.1. The other solution is to move acs-content-repository back to 5.1.1 and change the one relevant upgrade file from upgrade-5.1.1-5.1.2.sql to upgrade-5.1.1d2-5.1.1d3.sql. Anybody have a problem with this? I think it means that people who are keeping current with oacs-5-1 will end up running this script twice, but it's a create-or-replace so that shouldn't be a problem.

The second thing is that I ran into a problem testing upgrade, which I have filed as bug 1951. It can be worked around by restarting the server, if necessary.

Collapse
Posted by Joel Aufrecht on
Torben:

"To reduce ambiguity..

cvs -z3 -d :pserver:mailto:anonymous@openacs.org:/cvsroot co -r oacs-5-1 openacs-4

pulls the versions you refer to?"

Yes.  If you are developing, you must work from a branch checkout, not a tag.  So you should be working from oacs-5-1 because, since it is a release branch for core, shouldn't be broken (much).  If there is a blocking bug in core, you can simply pin the core modules to the last release (with cvs up -r openacs-5-1-0-final acs-kernel etc, for example).

The point about the OpenACS 5.1.1 tag applying across all packages is only meaningful for developers who are forking from OpenACS.  For the last year or two, there hasn't been a single tag that applies across all OpenACS packages.  This kind of tag is useful for 1) getting freestanding sites into source control and 2) making patches for your forked system.  We had a tag for core, and a tag for .lrn, but no tag for standard packages which are required for .lrn but not in core, or for any non-core, not-.lrn packages.  The OpenACS 5.1.1 tag will be applied to the most recent released version of everything on the oacs-5-1 branch (ie, I'll release 5.1.1 core, tag it oacs-5-1-compat, then check out oacs-5-1-compat, and then tag everything openacs-5-1-1-final).  The point of jumping through the compat hoop, instead of just tagging the HEAD of oacs-5-1 as openacs-5-1-1-final, is that anybody who gets this tag or a tarball from it will be getting only released packages, not in-development packages.

Collapse
Posted by Don Baccus on
Sure, back the upgrade script ...
Collapse
Posted by Torben Brosten on
Joel, thanks for the clarification.