• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- Make sure that patch

http://cvs.openacs.org/browse/OpenACS/openacs-4/packages/acs-kernel/sql/postgresql/apm-create.sql?r2=1.74&r1=1.73

is applied for sites upgrading (use v_parameter_id and not get_value__parameter_id)

file upgrade-5.8.1d3-5.8.1d4.sql was initially added on branch oacs-5-8.

- brace expressions

- favor tcl-compilable string comparisons

- replace deprecated "ad_get_user_id" by "ad_conn user_id"

- replace deprecated "export_url_vars" by "export_vars"

- replace deprecated "export_form_vars" by "export_vars"

- replace deprecated "philg_quote_double_quotes" "by ad_quotehtml"

- replace deprecated "ad_parameter" by "parameter::get"

- replace deprecated "ad_require_permission" by "permission::require_permission"

- use $$ quoting in postgres SQL

- use named parameters for SQL functions

- provide compatility with pg9

- fix/complete define_function_args

- bumped version number to 5.8.0

    • -2
    • +2
    /openacs-4/packages/survey/survey.info
    • -31
    • +31
    /openacs-4/packages/survey/tcl/survey-procs.tcl
    • -2
    • +2
    /openacs-4/packages/survey/www/index.tcl
  1. … 36 more files in changeset.
- change exception to a warning to get rid of error message when xotcl-core or dependent packages are installed the frist time from repository or local

- move initialization of nsv_arrays for apm

from -proc file of bootstapper to -init file in acs-tcl

(as suggested by Peter Marklund, but never implemented)

- protect rename of "exec" against multiple renamings

- bump version number to 5.8.1d3

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
file apm-init.tcl was initially added on branch oacs-5-8.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/apm-init.tcl
- allow to upgrade basic startup files (openacs-4/tcl/*tcl)

to be upgraded via "install from repository" by adding

and after-upgrade callback to bootstrap-installer and

copying the files from there.

- move initialization of nsv_arrays for apm to -init file in acs-tcl

(as suggested by Peter Marklund, but never implemented)

- use double colon prefix rather than "global" statement

to denote global variables

- bump version number to 5.8.1d3

file 0-acs-init.tcl was initially added on branch oacs-5-8.

file zz-postload.tcl was initially added on branch oacs-5-8.

- use $$ quoting in postgres SQL

- use named parameters for SQL functions

- fix/complete define_function_args

- fix return type of trigger

- brace expressions

- favor tcl-compilable string comparisons

- bump version number

    • -2
    • +2
    /openacs-4/packages/views/lib/views-chunk.tcl
    • -10
    • +10
    /openacs-4/packages/views/tcl/test/views-procs.tcl
- use $$ quoting in postgres SQL

- use named parameters for SQL functions

- fix/complete define_function_args

- get rid of some more empty_string_p

- use common parameter definition conventions (get rid of old-style nonpos args)

- do not raise error on duplicate dependencies

- follow formatting conventions

- remove some more "empty_string_p" occurances

    • -1
    • +1
    /openacs-4/packages/dotlrn/tcl/applets-procs.tcl
    • -2
    • +2
    /openacs-4/packages/dotlrn/www/dotlrn-master.tcl
- use $$ quoting in postgres SQL

- use name parameter for SQL functions

- favor tcl-compilable string comparisons

- brace expressions

- replace deprecated "acs_sc_call" by "acs_sc::invoke"

- bump version number to indicate compatibility with 5.8.1

  1. … 5 more files in changeset.
- use $$ quoting in postgres SQL

- use name parameter for SQL functions

- provide compatility with pg9

- replace deprecated "acs_sc_call" by "acs_sc::invoke"

- replace deprecated "ad_maybe_redirect_for_registration" by "auth::require_login"

- brace expressions

- favor tcl-compilable string comparisons

- don't use numeric comparison operator for non-numeric arguments

- use numeric comparison operator for truth value comparisons

- use "in" or "ni" expression instead of "lsearch"

- bump version number to indicate compatibility with 5.8.1

    • -10
    • +11
    /openacs-4/packages/dotlrn/dotlrn.info
    • -13
    • +16
    /openacs-4/packages/dotlrn/install.xml
    • -3
    • +3
    /openacs-4/packages/dotlrn/lib/member-email.tcl
  1. … 132 more files in changeset.
- fix partial SQL edit

- use "lassign" instead of multiple "lindex" operations

- replace 3 further depreacted "ad_parameter" by parameter::get

- don't return "internal server error" in case the user id is missing

overhaul of package:

- favor tcl-compilable string comparisons

- don't use numeric comparison operator for non-numeric arguments

- brace expressions

- replace depreacted "ad_parameter" by parameter::get

- use "in" or "ni" expression instead of "lsearch"

- use tcl 8.5 extended index format for "string range"

  1. … 6 more files in changeset.
- make function more robust against invalid input

- add missing dollar symbols, otherwise api-code browser shows incomplete results for xotcl methods

- replace mulitple "lindex" operations by "lassign"

- don't call fings pairs, which have more than two elements

- use "lassign" instead of mulitple "set ... [lindex ...]" command

- remove needless quotes from numeric comparisons

- quote pattern

- use numeric comparison operator for truth value comparisons

- use "lassign" instead of "foreach ... break" idiom