• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
*** empty log message ***

Cleaned up add_file and added add_version

  1. … 7 more files in changeset.
Removing unused file-add-2.

Simplified upgrade to swap name and title.

Added upgrade for oracle and fixed oracle functions.

  1. … 8 more files in changeset.
Clean up postgresql functions so name refers to name and title refers to title.

Move everything into one upgrade script.

  1. … 5 more files in changeset.
added test scripts

    • -0
    • +29
    ./test/file-storage-procs.tcl
Adding install callbacks for webdav support

    • -0
    • +94
    ./file-storage-dav-install-procs.tcl
    • -0
    • +26
    ./file-storage-procs-postgresql.xql
file file-storage-dav-install-procs.tcl was initially added on branch oacs-4-6.

    • -0
    • +0
    ./file-storage-dav-install-procs.tcl
file file-storage-dav-procs.tcl was initially added on branch oacs-4-6.

    • -0
    • +0
    ./file-storage-dav-procs.tcl
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. … 8 more files in changeset.
Fixed bugs #423: download w/url, #753: publish_url problem, and #427: root folder name wrong

  1. … 1 more file in changeset.
Timezonized

  1. … 5 more files in changeset.
adding timezone support

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

    • -25
    • +33
    ./file-storage-procs-postgresql.xql
  1. … 57 more files in changeset.
fixing incorrect PG query children_have_permission_p.child_perms. It would select everything under the folders parent instead of everything under the folder. The symptom was the empty folders could not be deleted. Bug reported by Carl Robert Blesius

Fixed bug #397 - bad query to db_blob_get_file, one OF knew about, flagged,

but didn't fix ... grrr ...

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. … 41 more files in changeset.
Fixed download archives for PostgreSQL

Moved over my new permissions stuff plus improved file storage stuff (mostly

speed improvements in PG-land)

  1. … 16 more files in changeset.
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. … 3 more files in changeset.
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.
1. Fixed a couple of typos in file storage

2. New fast permissions stuff (PG only thus far)

2. While poking around CMS code looking for things that needed recreating

due to the permissions upgrade, changed over to "create or replace function"

    • -24
    • +22
    ./file-storage-procs-postgresql.xql
  1. … 23 more files in changeset.
- Adds table cr_extension_mime_type_map,

- Adds function cr_filename_to_mime_type [-create] filename

- Adds function cr_create_mime_type -extension -mime_type -description

- Removes *_maybe_create_new_mime_type

- Updates acs-content-repository to 4.6.3. Ugrade scripts provided.

- Updates dependency information for several packages.

- Adds most mime types plus comprehensive list of extension to mime-typemappings.

- Maps .c .h .c++ .pl etc to text/plain

  1. … 19 more files in changeset.
Switched to "file copy" ...

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

  1. … 54 more files in changeset.
last_modified should be last_modified_ansi

Patches to make OpenACS PG 7.3 compatible.

  1. … 54 more files in changeset.
Date/time/number localization

  1. … 83 more files in changeset.
fixed file storage guessing of mimetype so as not to create new mime types - not the appropriate place.

I18N: converting file-storage to using the message catalog

  1. … 49 more files in changeset.
fix tree_sortkey query, bind variable for revision_id

    • -2
    • +2
    ./file-storage-search-procs-postgresql.xql