• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- replace deprecated "export_url_vars" by "export_vars -url"

- fix bracing in "export_vars -form"

  1. … 107 more files in changeset.
- replace deprecated "export_form_vars" by "export_vars -form"

- replace deprecated "ad_export_vars" by "export_vars"

  1. … 65 more files in changeset.
- revert form_vars update

  1. … 75 more files in changeset.
- replace deprecated "export_form_vars" by "form_vars"

  1. … 24 more files in changeset.
- wipe out ad_get_user_id from oacs-5-8 branch

  1. … 1 more file in changeset.
- replace deprecated "ad_get_user_id" by "ad_conn user_id"

  1. … 8 more files in changeset.
- add release date to package info

- no need for separate code for AOLServer/NaviServer

update acs-admin cache page to work with both naviserver and aolserver

Getting rid of last calls to deprecated ad_table. Instead using the list-builder. There is still one call to ad_table within acs-subsite but this page is not linked from anywhere anymore ( probably we remove it later ).

  1. … 1 more file in changeset.
- make use of byte-compiled functions

  1. … 2 more files in changeset.
- abstract in check for existance of a command whether this is scripted or not

- use a more modern tcl command set

  1. … 11 more files in changeset.
Noquote the return URL since it is not displayed to the browser and its quoted in the form under display mode, causing a double quoting.

more PG 9.0 compatibility. Avoiding the usage of OIDs in postgresql.

    • -2
    • +1
    ./users/member-state-change-oracle.xql
    • -1
    • +1
    ./users/member-state-change-postgresql.xql
  1. … 3 more files in changeset.
Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

    • -10
    • +9
    ./apm/version-dependency-remove.tcl
    • -16
    • +0
    ./apm/version-parameters-oracle.xql
    • -18
    • +0
    ./apm/version-parameters-postgresql.xql
  1. … 204 more files in changeset.
Changes for supporting postgresql 9.0:

- Avoiding usage of SQL reserved keywords on plpsql functions (plpsql lexer and parser were reworked).

- Fixing all those places on which FROM clause was automatically added by PG ( PG Config add_missing_from parameter was removed for this release of PG ).

Many thanks to Tracy Adams and Jeff Lu for providing first version of the patches.

  1. … 15 more files in changeset.
Made the index page work even if the new "scope" column doesn't exist in

"apm_parameters" (for instance, as when one is updating to openacs 5.6.

- 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
    ./apm/version-dependency-remove.tcl
    • -16
    • +0
    ./apm/version-parameters-oracle.xql
    • -18
    • +0
    ./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.

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.

  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.

    • -2
    • +3
    ./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)

  1. … 28 more files in changeset.
Had to move a db_transaction because it was causing some sort of lock

contention deadlock in PG.

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).

    • -5
    • +7
    ./apm/version-dependency-add-oracle.xql
    • -6
    • +8
    ./apm/version-dependency-add-postgresql.xql
    • -47
    • +10
    ./apm/version-dependency-add.tcl