• last updated 22 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Change the ifstatement to the select query as in postgres

Fixed my previous select as it was missing the parent_id clause

PLEASE REVERT IF YOU THINK THIS IS NOT RIGHT, but it is the only way this f***ed upgrade script works reliably on the sites I needed to upgrade (and that had the same title twice. I changed the if statement from the complex parent_id, title check to a simple select on the cr_item table, checking if the name is already there. Obviously this is very inefficient (for each file you run yet another select) but it works reliably (with the old version I got errors on two sites)

Bugfix: converted extra 'where' to an 'and'.

bind the fts contract when creating the datamodel

    • -0
    • +1
    ./postgresql/file-storage-sc-create.sql
  1. … 1 more file in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

    • -1
    • +12
    ./oracle/file-storage-notifications-create.sql
    • -0
    • +42
    ./oracle/file-storage-rss-create.sql
    • -4
    • +10
    ./oracle/file-storage-views-create.sql
    • -0
    • +145
    ./oracle/upgrade/upgrade-5.1.0a6-5.1.0a7.sql
    • -23
    • +611
    ./oracle/upgrade/upgrade-5.1.0d1-5.1.0d2.sql
    • -1
    • +2
    ./postgresql/file-storage-notifications-create.sql
    • -0
    • +41
    ./postgresql/file-storage-rss-create.sql
    • -6
    • +9
    ./postgresql/upgrade/upgrade-4.2-4.6.sql
    • -0
    • +38
    ./postgresql/upgrade/upgrade-5.1.0a11-5.1.0a12.sql
  1. … 2261 more files in changeset.
Two wheres = error. I changed one where to an and and hope this is intended.

    • -2
    • +2
    ./postgresql/upgrade/upgrade-5.1.0a13-5.1.0a14.sql
Add existing file-storage to dav_site_node_map

    • -0
    • +12
    ./postgresql/upgrade/upgrade-5.1.0a13-5.1.0a14.sql
  1. … 1 more file in changeset.
file upgrade-5.1.0a13-5.1.0a14.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.1.0a13-5.1.0a14.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.1.0a13-5.1.0a14.sql
Fixing the fk constraint on fs_rss_subscrs(subscr_id). It now has on delete cascade so that rss feeds can be deleted from the rss-support admin page.

    • -1
    • +2
    ./postgresql/file-storage-rss-create.sql
    • -0
    • +37
    ./postgresql/upgrade/upgrade-5.1.0a12-5.1.0a13.sql
  1. … 1 more file in changeset.
file upgrade-5.1.0a12-5.1.0a13.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.1.0a12-5.1.0a13.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.1.0a12-5.1.0a13.sql
file upgrade-5.1.0a11-5.1.0a12.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.1.0a11-5.1.0a12.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.1.0a11-5.1.0a12.sql
Adding rss support, turned off and hidden by default.

    • -0
    • +41
    ./oracle/file-storage-rss-create.sql
    • -0
    • +40
    ./postgresql/file-storage-rss-create.sql
    • -0
    • +38
    ./postgresql/upgrade/upgrade-5.1.0a11-5.1.0a12.sql
  1. … 26 more files in changeset.
file file-storage-rss-create.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/file-storage-rss-create.sql
    • -0
    • +0
    ./postgresql/file-storage-rss-create.sql
comment line 49, function file_storage__new_root_folder (integer)

Change needed due to dependecies

    • -6
    • +9
    ./postgresql/upgrade/upgrade-4.2-4.6.sql
  1. … 1 more file in changeset.
fixing syntax error

Patch #594, Fixes bug#2092, syntax errors in upgrade script.

The call to acs_sc was missing a parameter. Fixed, but maybe someone could take a look and explain why noone stumbled across this earlier :).

    • -1
    • +12
    ./oracle/file-storage-notifications-create.sql
    • -1
    • +2
    ./postgresql/file-storage-notifications-create.sql
filestorage was displying the ugly filename instead of the pretty title for the main entry; also wasn't updating the filename to the newest upload (still need to ask DaveB about getting the links to work with the latest upload filename

    • -2
    • +2
    ./oracle/file-storage-views-create.sql
  1. … 6 more files in changeset.
file upgrade-5.1.0a8-5.1.0a9.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.1.0a8-5.1.0a9.sql
showing date of latest file change for folders

    • -2
    • +6
    ./oracle/file-storage-views-create.sql
  1. … 1 more file in changeset.
listing of files listed first revision date instead of last revision date - also fixed upgrade script

    • -3
    • +5
    ./oracle/file-storage-views-create.sql
Clean unnecessary triggers from uprade script. They don't need to be

updated.

Fix name/title upgrade. Load the entire oracle pl/sql package instead of

re-sourceing package create.sql

    • -22
    • +665
    ./oracle/upgrade/upgrade-5.1.0d1-5.1.0d2.sql
    • -0
    • +82
    ./postgresql/upgrade/upgrade-5.1.0a6-5.1.0a7.sql
    • -27
    • +1
    ./postgresql/upgrade/upgrade-5.1.0d1-5.1.0d2.sql
file upgrade-5.1.0a6-5.1.0a7.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.1.0a6-5.1.0a7.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.1.0a6-5.1.0a7.sql
Fix bug#2036. Recreate file-storage view with cr_revisions.title

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040712 and jcd-merge-5-1-20040724 to HEAD

    • -0
    • +63
    ./postgresql/upgrade/upgrade-5.1.0a4-5.1.0a5.sql
  1. … 137 more files in changeset.
Backported notification support for file-storage from HEAD.

    • -0
    • +0
    ./oracle/file-storage-notifications-create.sql
    • -0
    • +0
    ./oracle/file-storage-notifications-drop.sql
    • -0
    • +0
    ./postgresql/file-storage-notifications-create.sql
    • -0
    • +0
    ./postgresql/file-storage-notifications-drop.sql
    • -0
    • +63
    ./postgresql/upgrade/upgrade-5.1.0a4-5.1.0a5.sql
  1. … 14 more files in changeset.
file upgrade-5.1.0a4-5.1.0a5.sql was initially added on branch oacs-5-1.

    • -0
    • +0
    ./oracle/upgrade/upgrade-5.1.0a4-5.1.0a5.sql
    • -0
    • +0
    ./postgresql/upgrade/upgrade-5.1.0a4-5.1.0a5.sql