• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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
clean up of inconsistency between old and new installations

--

-- Since many years, new installations are created with "Registered

-- Users" (object_id -2) having object_type as "application_group" and

-- the context id of the main subsite (see

-- acs-kernel/sql/postgresql/acs-install.sql).

--

-- However, it seems as if some prior upgrade scripts have not cared

-- sufficiently to update all installation correctly (some have still

-- "group", some have no context_id set). This upgrade script tries to

-- bring everything in sync such that "newer" and "older"

-- installations behave the same.

--

    • -0
    • +35
    ./postgresql/upgrade/upgrade-5.9.1d5-5.9.1d6.sql
  1. … 1 more file in changeset.
file upgrade-5.9.1d5-5.9.1d6.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d5-5.9.1d6.sql
- regenerated documentation to fix escaping problem for message keys

in "programlisting": inserting a ­ after the first hash

    • -5
    • +1
    ./postgresql/acs-relationships-create.sql
  1. … 120 more files in changeset.
- improve version comparison logic for PostgreSQL to deal with beta versions

- sharpen the comment and warning about unintended uses of db_nextval

- use a sequence name without t_ prefix for anon_func_seq

- bump version number to 5.9.1d4

    • -0
    • +23
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
  1. … 3 more files in changeset.
file upgrade-5.9.1d3-5.9.1d4.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
- drop useless view

- report usage of deprecated views (deprecated since at least 10 years) in error.log

  1. … 2 more files in changeset.
- fix typo in parameter name TclTraceLogSeverities

  1. … 4 more files in changeset.
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
- fix install scripts

    • -20
    • +8
    ./postgresql/acs-objects-create.sql
  1. … 1 more file in changeset.
- fix a fk bug in old installations: it seems that the constraints were renamed ages ago, and since this time the ON DELETE CASCADE constraints are missing.

file upgrade-5.9.0-5.9.1d1.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.0-5.9.1d1.sql