• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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.
- Upgrade scripts for acs-content-repository, acs-events, acs-kernel, acs-mail, acs-service-contract, bookmarks, faq, file-storage, news and search

- Bumped version of above packages to 4.6

- Fixed the view/sequence hack in apm-create so that APM package edit UI works in PG 7.2

  1. … 30 more files in changeset.
typo in fs_simple_object__name and comment for outstanding bug

    • -2
    • +2
    ./file-storage-simple-package-create.sql
  1. … 1 more file in changeset.
selects change to perform patch 425 Deds Castillo

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

    • -2
    • +2
    ./file-storage-simple-package-create.sql
  1. … 25 more files in changeset.
added missing perform. fix thanks to Hamilton Chua

    • -2
    • +2
    ./file-storage-simple-package-create.sql

file_storage__get_package_id was looking through the item's children rather

than parents in its attempt to find the root folder associated with the item.

Someone else commited a fix that wasn't complete as it wouldn't work for items

in nested subfolders. Perhaps today's scripts would work but a general fix

seems better.

fixed file_storage__get_package_id

fixed a bunch of queries that were select

s instead of perform.. file uploading works on pg now

    • -339
    • +337
    ./file-storage-package-create.sql
  1. … 5 more files in changeset.
Added stuff to form processing including the new form builder type

"file" which is a bit cleaner than the widget-only kludge which existed

before.

  1. … 11 more files in changeset.
fixed name method for fs_simple_objects

    • -11
    • +17
    ./file-storage-simple-package-create.sql
  1. … 2 more files in changeset.
copy methods and some procs for simple

    • -1
    • +58
    ./file-storage-simple-package-create.sql
  1. … 6 more files in changeset.
changed from using content_item.update_last_modified to acs_object.update_last_modified

    • -1
    • +3
    ./file-storage-simple-package-create.sql
  1. … 2 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
    • +686
    ./file-storage-package-create.sql
    • -4
    • +1
    ./file-storage-simple-package-create.sql
    • -0
    • +98
    ./file-storage-views-create.sql
    • -0
    • +12
    ./file-storage-views-drop.sql
  1. … 12 more files in changeset.
added PG support for new simple objects (not fully tested yet)

    • -0
    • +71
    ./file-storage-simple-create.sql
    • -0
    • +121
    ./file-storage-simple-package-create.sql
  1. … 8 more files in changeset.
added last_modified to fs_folders view

  1. … 1 more file in changeset.
Simplify file_storage__get_root_folder since APM now installs root folder when instance installed.

  1. … 1 more file in changeset.

Merged with OpenACS 4.5 beta1 branch.

  1. … 87 more files in changeset.