• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Removing unused file-add-2.

Simplified upgrade to swap name and title.

Added upgrade for oracle and fixed oracle functions.

  1. … 7 more files in changeset.
Complete upgrade script.

file upgrade-4.6.3-4.8.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.6.3-4.8.sql
Clean up postgresql functions so name refers to name and title refers to title.

Move everything into one upgrade script.

    • -29
    • +29
    ./file-storage-package-create.sql
    • -253
    • +0
    ./upgrade/upgrade-4.6.2-4.6.3.sql
  1. … 5 more files in changeset.
Moved root folder creation to apm after-mount callback. Added UI to

dav enable a file-storage instance. Converted file-add to ad_form and

cr_import_content. fix.sql includes fixes to bugs in acs-kernel and

acs-content-repository. Added update_last_modfiied for the content_item

when a new revision is uploaded so that last modified is displayed

correctly.

  1. … 11 more files in changeset.
corrected the number of operatives to file_move

Drop and recreate fs_folders view to get rid of fs-simple.

upgrade file fix: using create or replace function instead of create function

Fixed bugs #423: download w/url, #753: publish_url problem, and #427: root folder name wrong

  1. … 1 more file in changeset.
Merged 4.6.4d1 (unreleased) to HEAD. This marks the end of the life of the oacs-4-6 branch.

    • -0
    • +253
    ./upgrade/upgrade-4.6.2-4.6.3.sql
  1. … 815 more files in changeset.
Forgot to noquote title and context bar.

1. Added support for retrieval of live revision of files by their URL (a.k.a. virtual URLs).

This will make relative linking of images and sub-documents in HTML documents work.

As a small bonus, HTML and text documents will be templated, but only if they

are being stored in the db. Files stored in the file system look like before ...

2. Provided upgrade scripts for file-storage and the CR.

    • -0
    • +36
    ./upgrade/upgrade-4.6.2-4.7d3.sql
  1. … 12 more files in changeset.
add user id and IP address to update_last_modified()

    • -0
    • +253
    ./upgrade/upgrade-4.6.2-4.6.3.sql
  1. … 9 more files in changeset.
file upgrade-4.6.2-4.6.3.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.6.2-4.6.3.sql
  1. … 1 more file in changeset.
merge of 4.6.3b1 to HEAD

    • -183
    • +0
    ./file-storage-simple-package-create.sql
    • -0
    • +188
    ./upgrade/upgrade-4.6.1-4.6.2.sql
  1. … 59 more files in changeset.
Forgot to fix the upgrade scripts when I fixed the 0 content size typo yesterday. I wonder if we should write new upgrade scripts

  1. … 1 more file in changeset.
Make fs_objects return the content_length for files

  1. … 1 more file in changeset.
Fixed typo in PG upgrade script ("can''t" vs. "can't") and added symlinks

as registered content types to folders in order to ease further extension

of the semantics of file-storage.

  1. … 2 more files in changeset.
1. One fix to track APM changes made by Peter, in acs-subsite

2. changed attachments to use cr_extlinks

3. Fixed a couple of problems with my prior commit to file-storage that

removed fs_urls.

  1. … 2 more files in changeset.
file upgrade-4.6.1-4.6.2.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.6.1-4.6.2.sql
  1. … 1 more file in changeset.
Removed the vile fs_simple_objects added by OF to store URLs in file

storage despite the existence of a non-versioned URL type in the content

repository. Upgrade scripts provided. I added Tcl API to the content

repository to honor our desire to export the SQL API to Tcl client code.

1. folder contents are now counted correctly (bug fix)

2. The fs_objects view is now usable in PG (it was a UNION view before and

therefore didn't scale)

3. Code in file storage is considerably simpler now and all file storage

objects are now stored in the content repository, as they should

be.

The Oracle version may need some work I'll finish testing this afternoon.

    • -183
    • +0
    ./file-storage-simple-package-create.sql
    • -0
    • +104
    ./upgrade/upgrade-4.6.1-4.6.2.sql
  1. … 42 more files in changeset.
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

    • -3
    • +3
    ./file-storage-simple-package-create.sql
  1. … 39 more files in changeset.
Inserted modified views from 4.6.1 ...

1. Got rid of the "create or replace function" decls used for triggers, due

to the brand-new PG 7.3 "opaque" vs. "trigger" issue.

2. Added a new "fs::get_folder_object_ids" for use when you just need the

object ids rather than a bunch of (slow) permissions information,

(slow) counts of items in folders and subfolders, last modified info,

etc. dotLRN was calling "fs::get_folder_contents" when cloning folders

despite making use of only the object_id and that proc used to be unimaginably

slow. It's faster now due to the new permissions code but it's still slow

enough to warrant avoiding it when possible.

3. Fixed typo in my last commit.

  1. … 4 more files in changeset.
file upgrade-4.6-4.6.1.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.6-4.6.1.sql
First whack at speeding up (though not rationalizing, unfortunately) file

storage for PostgreSQL. Also fixes the fs_files view.

  1. … 9 more files in changeset.
merge bartt PG 7.3 fixes from HEAD

    • -3
    • +3
    ./file-storage-simple-package-create.sql
  1. … 54 more files in changeset.
Patches to make OpenACS PG 7.3 compatible.

    • -3
    • +3
    ./file-storage-simple-package-create.sql
  1. … 54 more files in changeset.
merge from oacs-4-6

  1. … 103 more files in changeset.
file upgrade-4.2-4.6.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./upgrade/upgrade-4.2-4.6.sql
  1. … 1 more file in changeset.