• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- don't change names of arguments unless necessary, since such cases require a DROP FUNCTION

    • -11
    • +15
    ./postgresql/upgrade/upgrade-5.9.0d5-5.9.0d6.sql
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

    • -2
    • +4
    ./oracle/test/rel-segments-test-types-create.sql
    • -0
    • +344
    ./oracle/upgrade/upgrade--5.9.1d15-5.9.1d16.sql
    • -19
    • +55
    ./postgresql/acs-relationships-create.sql
    • -25
    • +36
    ./postgresql/groups-body-create.sql
    • -2
    • +4
    ./postgresql/test/rel-segments-test-types-create.sql
    • -0
    • +376
    ./postgresql/upgrade/upgrade-5.9.1d15-5.9.1d16.sql
    • -4
    • +6
    ./test/rel-segments-test-types-create.sql
  1. … 21 more files in changeset.
file upgrade--5.9.1d15-5.9.1d16.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade--5.9.1d15-5.9.1d16.sql
file upgrade-5.9.1d15-5.9.1d16.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d15-5.9.1d16.sql
- use dollar quoting for SQL comments

- add verbosity setting

- make it easy to log SQL statements as these are executed

- added kernel parameter MaxUrlLength (default 2000) to remove

hard-coded length in request-processor-procs.

- lifted data model restriction of 100 characters for url-segments

(changing types of "site_nodes.name" from "varchar(100)" to "text")

(PostgreSQL only)

- site_node__node_id

* use built-in string functions instead of characterwise loop

* use default for last argument

* Improve source-code documentation

- bumped version number of kernel to 5.9.1d15

    • -35
    • +44
    ./postgresql/site-nodes-create.sql
    • -0
    • +102
    ./postgresql/upgrade/upgrade-5.9.1d14-5.9.1d15.sql
  1. … 2 more files in changeset.
file upgrade-5.9.1d14-5.9.1d15.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d14-5.9.1d15.sql
- improve source code documentation

- polishing update script

- make same change as well for older pg versions

- make upgrade script more robust to allow multiple runs

- fix upgrade script

- remove dependency on acs_object_party_privilege_map

    • -25
    • +15
    ./postgresql/groups-body-create.sql
    • -0
    • +31
    ./postgresql/upgrade/upgrade-5.9.1d12-5.9.1d13.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d12-5.9.1d13.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d12-5.9.1d13.sql
- improve source code documentation

    • -1
    • +11
    ./postgresql/acs-permissions-create.sql
file upgrade-5.9.1d11-5.9.1d12.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d11-5.9.1d12.sql
- added new function acs_permission.permissions_all as replacement for acs_permssions_all

- removed all dependencies on acs_permssions_all in kernel (such that acs_object_paths and acs_object_context_index can be dropped for PostgreSQL)

    • -2
    • +31
    ./postgresql/acs-permissions-create.sql
    • -0
    • +29
    ./postgresql/upgrade/upgrade-5.9.1d11-5.9.1d12.sql
  1. … 7 more files in changeset.
- change language of function from plpgsql to sql to avoid mismatch

    • -5
    • +3
    ./postgresql/acs-permissions-create.sql
    • -4
    • +2
    ./postgresql/upgrade/upgrade-5.9.1d10-5.9.1d11.sql
file upgrade-5.9.1d10-5.9.1d11.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d10-5.9.1d11.sql
- Add SQL schema acs_permission to allow to call sql-functions for

Oracle and PostgreSQL in exactly the same way

- Move postgres permission function to the new neamespace and provide

stubs for backward compatibility

- New function permission::get_parties_with_permission

to support a restricted form of reverse lookup for permssions

in order to reduce the dependencies on

acs_object_party_privilege_map for PostgreSQL

- make upgrade scripts more robust (support repeated loading)

- bump verison number of acs-tcl to 5.9.1d9

- bump version number of acs-kernel to 5.9.1d11

    • -82
    • +188
    ./postgresql/acs-permissions-create.sql
    • -0
    • +280
    ./postgresql/upgrade/upgrade-5.9.1d10-5.9.1d11.sql
    • -14
    • +57
    ./postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql
  1. … 9 more files in changeset.
- replace obsolete all_object_party_privilege_map by acs_object_party_privilege_map

- bump version number to 5.9.1d10

    • -0
    • +197
    ./oracle/upgrade/upgrade-5.9.1d9-5.9.1d10.sql
    • -1
    • +4
    ./postgresql/acs-permissions-create.sql
    • -0
    • +26
    ./postgresql/upgrade/upgrade-5.9.1d9-5.9.1d10.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d9-5.9.1d10.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d9-5.9.1d10.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d9-5.9.1d10.sql
Remove type discrepancy introduced in 2002:

- acs_object_types.object_type has type varchar(1000), while

- acs_object_types.supertype has type varchar(100)

... several more data types are involved, using acs_object_types.object_type as foreign key

    • -4
    • +4
    ./postgresql/acs-relationships-create.sql
    • -0
    • +132
    ./postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d8-5.9.1d9.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql
- remove unneeded line

- Slightly faster (around 10%) versions for the base permission query functions.

In the new versions the lookup of acs__magic_object_id was moved out of the loop.

    • -175
    • +141
    ./postgresql/acs-permissions-create.sql
    • -0
    • +107
    ./postgresql/upgrade/upgrade-5.9.1d7-5.9.1d8.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d7-5.9.1d8.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d7-5.9.1d8.sql
- rename attribute "tag" to "originating_rel_id" to avoid confusion

- Create an "identity relationship" (-10)

- Use the new identity relation instead of value "0" in party_approved_member_map

- Add a foreign key to avoid garbage in "originating_rel_id"

- Speed up referential integrity

- Improve get_func_definition() to return SQL function/procedure

definitions with argument names and defaults (contained just types before)

    • -14
    • +18
    ./postgresql/rel-segments-create.sql
    • -0
    • +156
    ./postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d6-5.9.1d7.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql