• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup of acs_object_context_index' and friends in creation scripts

This change completes the commit [1] from 2019, where the cleanup was performed

acs_object_context_index and its maintenance functions just as an update script.

This change addresses this also in the creation scripts and in packages, still

depending on the old functions.

[1] https://fisheye.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Ahectorr%3A20190708160122

    • -43
    • +44
    ./postgresql/custom-permissions.sql
  1. … 9 more files in changeset.
add explicit cast to all max_n_rels with value null to increase readability and to ease function disambiguation

    • -5
    • +5
    ./postgresql/class-memberships-create.sql
  1. … 3 more files in changeset.
improve spelling

    • -1
    • +1
    ./postgresql/upgrade/upgrade-2.10.0d2-2.10.0d3.sql
  1. … 2 more files in changeset.
Removed obsolete @arch-tag

    • -2
    • +1
    ./postgresql/site-templates-create.sql
  1. … 24 more files in changeset.
Fix reference to acs_object_type.table_name so that it points to real tables (fixes automated tests)

    • -0
    • +29
    ./oracle/upgrade/upgrade-2.10.0d2-2.10.0d3.sql
    • -0
    • +31
    ./postgresql/upgrade/upgrade-2.10.0d2-2.10.0d3.sql
  1. … 1 more file in changeset.
Remove leftover acs_attribute without a database table counterpart (fixes regression test)

  1. … 2 more files in changeset.
Fix duplicate 'the'

  1. … 22 more files in changeset.
Fix typos

  1. … 68 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

    • -13
    • +13
    ./postgresql/class-memberships-create.sql
    • -24
    • +11
    ./postgresql/communities-package-create.sql
  1. … 7820 more files in changeset.
Fix spelling errors

    • -3
    • +3
    ./postgresql/class-memberships-create.sql
  1. … 43 more files in changeset.
fix drop script

Add missing upgrade scripts

file upgrade-2.9.1b1-2.9.1b2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-2.9.1b1-2.9.1b2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-2.9.1b1-2.9.1b2.sql
Add foreign key constraints for package_id in dotlrn_community_applets to avoid invalid data

  1. … 1 more file in changeset.
- composition-rel reform: add one more type-cast

composition-rel reform:

- apply changes developed by Michael Steigman for making rel-types

configurable whether these should be composable or not

(default is: these are composable, which was up to now the only

choice)

- improved documentation of log argument lists of SQL functions

- Background:

http://openacs.org/forums/message-view?message_id=5330734

http://openacs.org/forums/message-view?message_id=4031049

- bump version number of acs-kernel to 5.9.1d16

    • -11
    • +11
    ./postgresql/class-memberships-create.sql
  1. … 28 more files in changeset.
- turn char(1) with 't'/'f' into boolean

- bump version number to 2.9.1d4

    • -21
    • +10
    ./postgresql/communities-package-create.sql
    • -2
    • +2
    ./postgresql/privacy-package-create.sql
    • -0
    • +104
    ./postgresql/upgrade/upgrade-2.9.1d3-2.9.1d4.sql
  1. … 1 more file in changeset.
file upgrade-2.9.1d3-2.9.1d4.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-2.9.1d3-2.9.1d4.sql
- get_community_id: pass current url to closest_ancestor_package if no

package_id is given

- use list for argument of util_memoize to avoid surprises

- don't write HTML tags to error.log

    • -71
    • +0
    ./postgresql/custom-permissions.sql
  1. … 1 more file in changeset.
- redefine dotlrn_community__new with p_archived_p defined as boolean

- www/admin/term.tcl: allow negative values for term_id

    • -4
    • +2
    ./postgresql/communities-package-create.sql
    • -0
    • +83
    ./postgresql/upgrade/upgrade-2.9.1d2-2.9.1d3.sql
  1. … 2 more files in changeset.
file upgrade-2.9.1d2-2.9.1d3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-2.9.1d2-2.9.1d3.sql
file upgrade-2.9.0-2.9.1d1.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-2.9.0-2.9.1d1.sql
- Alter caveman style booleans (type character(1)) to real SQL boolean types.

- bump version number to 2.9.1d1

    • -0
    • +134
    ./postgresql/upgrade/upgrade-2.9.0-2.9.1d1.sql
  1. … 1 more file in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- improve dollar-quoting

- 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

    • -25
    • +25
    ./postgresql/admin-profile-provider-create.sql
    • -20
    • +27
    ./postgresql/admin-profile-provider-drop.sql
    • -18
    • +31
    ./postgresql/admins-package-create.sql
    • -20
    • +34
    ./postgresql/admins-sanitize.sql
    • -140
    • +140
    ./postgresql/applet-sc-create.sql
    • -15
    • +15
    ./postgresql/class-membership-drop.sql
    • -55
    • +55
    ./postgresql/class-memberships-create.sql
    • -94
    • +174
    ./postgresql/communities-package-create.sql
    • -14
    • +28
    ./postgresql/communities-tree-create.sql
    • -105
    • +196
    ./postgresql/community-memberships-packages-create.sql
    • -12
    • +21
    ./postgresql/custom-permissions.sql
  1. … 132 more files in changeset.
PG 9.0 compatibility. Changes regarding the usage of sequences in order to avoid errors of 'missing FROM-clause message' on queries.

    • -2
    • +2
    ./postgresql/communities-package-create.sql
    • -2
    • +2
    ./postgresql/site-templates-create.sql
    • -0
    • +73
    ./postgresql/upgrade/upgrade-2.6.0d1-2.6.0d2.sql
  1. … 6 more files in changeset.
Upgrade scripts for application groups added to .lrn

    • -3
    • +4
    ./oracle/communities-package-create.sql
    • -0
    • +263
    ./oracle/upgrade/upgrade-2.5.0d2-2.5.0d3.sql
    • -11
    • +11
    ./postgresql/communities-package-create.sql
    • -0
    • +192
    ./postgresql/upgrade/upgrade-2.5.0d2-2.5.0d3.sql
Reverted all changes from Mannheim

  1. … 219 more files in changeset.
Mannheim update, fix and merge bugbash

  1. … 194 more files in changeset.