• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fix install scripts

  1. … 1 more file in changeset.
Content-Repository Reform: reduce dependency on cr_child_rels and simplify content_item__del() via cascading delete operations

- remove manual deletion operations from content_item__del() via

* delete cr_child_rels via "ON DELETE CASCADE" on parent_id and child_id

* delete cr_item_rels via "ON DELETE CASCADE" on item_id

* delete acs_object_context_index entries via "ON DELETE CASCADE" on ancestor_id and object_id

* delete acs_objects entries via "ON DELETE CASCADE" on context_id

- remove manual deletion operations for symlinks amd journal entries,

since db constrains handle the deletion already

- use cr_items.parent_id instead of cr_child_rels to determine direct children

of items

- remove deletion trigger for content search content_search__dtrg

since "ON DELETE CASCADE" removes entries already

    • -0
    • +126
    ./postgresql/upgrade/upgrade-5.9.1d8-5.9.1d9.sql
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
- Fix type of v_is_registered in dql function content_folder__register_content_type to boolean (was "varchar")

(This chance is necessary at least for pg 9.5)

    • -0
    • +56
    ./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
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
file upgrade-5.9.1d4-5.9.1d5.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d4-5.9.1d5.sql
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
Content-Repository Reform : Reduction of number of functions in

the content repository for PostgreSQL by using using argument defaults

(while providing compatibility for clients using old versions):

- reduced number of versions of content_item__new from 12 (!) to 6 by using defaults

- commented differences

- commented arguments of plpgsql functions with long argument lists

- reduced code duplication by basing one version of content_item__new/17 directly on /20

- marking on version of content_item__new/17 and content_item__new/6 as deprecated

- reduced number of versions of content_revision__new from 7 to 4 by using defaults

- commented differences

- marking on version of content_revision__new/7 as deprecated

- let automatically generated functions call directly content_revision__new/13

- remove space from automatically generated functions

- updated automatically generated functions for all types of the content repository

- reduced number of versions of image__new from 4 to 2by using defaults

- reduced number of versions of image__new_revision from 2 to 1 by using defaults

    • -150
    • +14
    ./postgresql/content-image.sql
    • -399
    • +93
    ./postgresql/content-item.sql
    • -197
    • +93
    ./postgresql/content-revision.sql
    • -0
    • +767
    ./postgresql/upgrade/upgrade-5.9.1d4-5.9.1d5.sql
    • -0
    • +352
    ./postgresql/upgrade/upgrade-5.9.1d5-5.9.1d6.sql
    • -0
    • +268
    ./postgresql/upgrade/upgrade-5.9.1d6-5.9.1d7.sql
- fix type of v_is_registered to boolean. This fix is necessary at least under pg 9.5

    • -0
    • +69
    ./postgresql/upgrade/upgrade-5.8.3a0-5.8.3a1.sql
file upgrade-5.8.3a0-5.8.3a1.sql was initially added on branch oacs-5-8.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.8.3a0-5.8.3a1.sql
- fix editing bug

- Update automatically generated function for cr-types to use provided

publish_date in new revision (Changes for PostgreSQL and Oracle)

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

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d3-5.9.1d4.sql
- Bug-fix: Make sure, trigger content_item_search__utrg does try to

delete content from via search queue when old publish_date was in

the future (since this is avoided by the same trigger).

(Oracle seems to implement search quite different)

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

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.1d2-5.9.1d3.sql
- Add argument to content_item__set_live_revision (and oracle's counterpart)

to honor optionally provided "publish_date". The old behavior used hard-coded

the current time. The function is fully backward compatible, when no

publish_date is provided, the current time is used for the publish_date.

- changes for PostgreSQL and Oracle.

    • -0
    • +1728
    ./oracle/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
    • -0
    • +39
    ./postgresql/upgrade/upgrade-5.9.1d1-5.9.1d2.sql
  1. … 1 more file 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 typo and order

- update cr_content_mime_type_map as well (thanks to felix moedritscher)

- fix incorrect entries in cr_revisions having the inccorect mime_type

- fix incorrect mimetype setting for SVG (was xml+svg, must be svg+xml)

  1. … 1 more file in changeset.
file upgrade-5.9.0b2-5.9.0b3.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./common/upgrade/upgrade-5.9.0b2-5.9.0b3.sql
- white-space changes

- remove redundant function_args definitions

- make update script more robust

- make upgrade script more robust

file upgrade-5.9.0d4-5.9.0d5.sql was initially added on branch oacs-5-9.

    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.9.0d4-5.9.0d5.sql
- follow naming conventions proposed by regression test

- bump version number

  1. … 1 more file in changeset.
- Part 4 of OpenACS 5.9 agenda: get rid of tree_sortkey in acs-objects ; to be on the safe side, backup your database before upgrading, since the acs-objects.treesortkey is being removed (custom packages might erroneously depend on it)

    • -0
    • +118
    ./postgresql/upgrade/upgrade-5.9.0d3-5.9.0d4.sql
  1. … 3 more files in changeset.