• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Bumped to beta 3 so I could put in this important upgrade script, fixing

a problem with using package_instantiate_object to instantiate a base

(acs_object) object. Never done in core or .lrn code apparently because typically

you instantiate subtypes, but it is important to get right.

  1. … 26 more files in changeset.
Bumped remaining packages to 5.6.0b2

  1. … 24 more files in changeset.
Bumped info files for 5.6.0b1

  1. … 22 more files in changeset.
- fixed 2 missed changes in the interface of pkg_info_new for "embeds"

Cleaned up APM handling of inherited parameters so that deletion of

a dependency works well now, the parameters page with the APM only shows

parameters specified in the package (rather than include inherited ones),

and the XML file is correclty written.

    • -10
    • +9
    ./www/apm/version-dependency-remove.tcl
    • -16
    • +0
    ./www/apm/version-parameters-oracle.xql
    • -18
    • +0
    ./www/apm/version-parameters-postgresql.xql
  1. … 2 more files in changeset.
1. nsv for package inheritance etc wasn't being set up when an admin

interactively created a new package using the APM UI. Changes for

5.6 for parameter inheritance caused that nsv to be referenced in this

case, while it wasn't for 5.5. This caused an error message in a couple

of instances.

2. Modified the package xml generator to only output parameters defined

for the package itself (rather than all, including inherited ones).

  1. … 2 more files in changeset.
Applied patch supplied by RyanG, apparently I'd managed to overwrite part

of this install code.

removing the instruction to restart server after package creation per http://openacs.org/forums/message-view?message_id=3340774

reducing UI ambiguity for install_p per http://openacs.org/forums/message-view?message_id=3340774 and my own experience with this feature.

Bumped version number for 5.6.0a1

  1. … 22 more files in changeset.
1. First shot at sitewide admin ui for global parameters. You can edit them

from the sitewide admin page list that was previously built for packages

that have a sitewide-admin subdirectory. Package is now displayed for

either the existence of sitewide-admin or global parameters.

2. Did something I'd wanted to do for some time. When Nima added the

parameter_changed callback in acs subsite, he actually *moved* the

set_value call there. I've changed it so it more rationally sets the

value in the parameters page, then calls the parameter_changed callback.

3. Invented a global_parameter_changed callback that works as the regular

parameter_changed callback. This was necessary to avoid breaking existing

uses of parameter_changed.

More testing is required before release (which will hopefully happen

tomorrow, Sunday Apr 4).

  1. … 3 more files in changeset.
Ugh ... finally got inherited parameters right.

    • -3
    • +3
    ./www/apm/version-dependency-add-2.tcl
  1. … 1 more file in changeset.
Add UI to create global parameters from within the APM package builder.

Display "scope" of parameters on the version parameters page.

    • -1
    • +2
    ./www/apm/version-parameters-oracle.xql
    • -2
    • +3
    ./www/apm/version-parameters-postgresql.xql
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

    • -2
    • +8
    ./www/apm/version-dependency-add-2.tcl
  1. … 28 more files in changeset.
Had to move a db_transaction because it was causing some sort of lock

contention deadlock in PG.

    • -2
    • +3
    ./www/apm/version-dependency-add-2.tcl
1. Disallow the addition of multiple "provides" dependencies to a package (enforce the

"one package/one service" paradigm).

2. Only allow "requires" and "extends" of installed and enabled packages - when you build a

package interactively in the APM, it installs it, and would allow you to require packages

that aren't installed, which of course would make your package fail heavily if you

mounted or otherwise tried to use it.

3. Make adding "extends" properly copy parameters of its parent package.

4. When adding a package, rebuild the cached package dependency information (added by

me in 5.5.0, I'd missed the need to rebuild the cache in the APM interactive package

builder).

    • -9
    • +15
    ./www/apm/version-dependency-add-2.tcl
    • -5
    • +7
    ./www/apm/version-dependency-add-oracle.xql
    • -6
    • +8
    ./www/apm/version-dependency-add-postgresql.xql
    • -47
    • +10
    ./www/apm/version-dependency-add.tcl
    • -1
    • +5
    ./www/apm/version-dependency-remove.tcl
Somehow managed to forget committing the version bump to 5.5.1 to CVS

  1. … 22 more files in changeset.
Bumped version number to 5.5.1b1 in preparation for release.

  1. … 22 more files in changeset.
Bumped version to 5.5.1d1

  1. … 22 more files in changeset.
Non-info file merge results, with conflicts resolved.

  1. … 200 more files in changeset.
Merged info files from 5.5.0

  1. … 22 more files in changeset.
Bumped info files in preparation for final release.

  1. … 22 more files in changeset.
Bumped version number and release date in anticipation of releasing beta1

after tomorrow's OCT meeting.

  1. … 22 more files in changeset.
Bumped HEAD to 5.6.0d1.

  1. … 22 more files in changeset.
Bumped release date as I'll be releasing today.

  1. … 22 more files in changeset.
Add mail-lite dependency

Substitute ns_sendmail calls for acs_mail_lite::send one

Bumped version numbers

  1. … 22 more files in changeset.
Rolling back previos commit for 2 reasons: 1. this branch is closed; 2. the change not needed.