file-storage-views-create.sql

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

  1. … 2478 more files in changeset.
Made fs_objects count folder items the same was fs_folders does.

  1. … 4 more files in changeset.
Added view support for Symlinks. This works in a hardlink fashion at the moment and is not tested on Oracle, though I doubt it will fail.

  1. … 5 more files in changeset.
the count in fs_objects was actually counting non fs_objects as well when counting the number of elements in a folder. This has been taken care of.

Added callbacks for integration with PM. Made sure the package_id is set correctly

  1. … 61 more files in changeset.
merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

  1. … 687 more files in changeset.
Patch#538. Use filename instead of title for link text.

  1. … 7 more files in changeset.
Fixed bug 1853: missing comma in fs_objects view declaration committed to

HEAD got merged to 5.1 ...

  1. … 3 more files in changeset.
merge changes on oacs-5-1 branch to head, changes between jcd-merge-20040420 and jcd-merge-5-1-20040517 were merged, head pre changes is jcd-merge-pre-20040517 and post is jcd-merge-post-20040517

  1. … 834 more files in changeset.
Show title on folder listing. If filename is different than title, show that as well. Show cr_mime_types.label mime type description instead of techincal mime type "code".

  1. … 6 more files in changeset.
merge of 4.6.3b1 to HEAD

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

  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.

  1. … 46 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.
First whack at speeding up (though not rationalizing, unfortunately) file

storage for PostgreSQL. Also fixes the fs_files view.

  1. … 10 more files in changeset.
Roll in fixes from sloan.

Adds folder-edit to rename folders.

some bug fixes in postgresql procs.

Adds file_upload_name to fs views.

Supports upload of files with unkown mimetype (needs change to acs-kernel datamodel)

changed vendor to openacs.

Needs db upgrade script. Notched version from 4.1c to 4.2

  1. … 27 more files in changeset.
added support for publishing fs_objects to the file system; also added some archiving infrastructure stuff

  1. … 14 more files in changeset.
adding key (cr_items.name) to file-storage views

  1. … 1 more file in changeset.
removed the urls from these views, they don't belong here

  1. … 1 more file in changeset.
took out create or replace for PG 7.1 compatibility

added updating of last_modified time of folders when certain actions are performed within them; i hope the postgresql version works

    • -0
    • +98
    ./file-storage-views-create.sql
  1. … 20 more files in changeset.