file-storage-procs-postgresql.xql

  • last updated 31 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
While working on reducing divergencies between oracle and postgres codebase and testing changes I have found the following issues:

- fs::add_created_version.new_text_revision query was defined in postgres only

- version-delete and folder-delete were broken in case notification was enabled,

because this was issued after object was deleted and therefore all references

needed to build notification message were missing (and query failed looking up the object)

    • -43
    • +0
    ./file-storage-procs-postgresql.xql
  1. … 4 more files in changeset.
Reduce divergency between oracle and postgres codebase

  1. … 2 more files in changeset.
Uniform API when deleting folder, drill through some calling levels in stored procedure, use a simpler db_string instead of db_exec_plsql

  1. … 2 more files in changeset.
use fast recursive query instead of slow query bbased on tree_sortkeys

    • -11
    • +8
    ./file-storage-procs-postgresql.xql
merged changes from the oacs-5-9 branch and resolved conflicts

    • -86
    • +5
    ./file-storage-procs-postgresql.xql
  1. … 7834 more files in changeset.
Using acs_permission__permission_p for checking persmissions instead of querying view acs_object_party_privilege_map (for PG >= 8.4).

    • -0
    • +43
    ./file-storage-procs-postgresql.xql
  1. … 4 more files in changeset.
1. Merge 2.4.1 to HEAD other than assessment, imsld, lorsm, and views.

2. Bump version numbers to 2.5.0d1.

  1. … 379 more files in changeset.
First shot at merging oacs-5-2 apps used in .LRN to HEAD.

    • -0
    • +114
    ./file-storage-procs-postgresql.xql
  1. … 2478 more files in changeset.
partial fix of bug 2639 -- patch 736

  1. … 5 more files in changeset.
added query for fs::notification::get_url

    • -0
    • +17
    ./file-storage-procs-postgresql.xql
  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
    • +55
    ./file-storage-procs-postgresql.xql
  1. … 2275 more files in changeset.
Fixing bug '#19 Enable notifications on file upload'. Modified patch #534 to make it actually work on HEAD. Should work for Oracle as well but not tested on that db yet. This could do with some cleanup, and i18n-ization.

    • -0
    • +16
    ./file-storage-procs-postgresql.xql
  1. … 19 more files in changeset.
Changed CR "rename" procs to "edit_name" to avoid issues with Oracle 9.2 (and

changed PG for consistency)

  1. … 25 more files in changeset.
Put fs::new_root_folder tcl procedure back in. It has new optional parameters

but should behave the same as the original procedure.

  1. … 4 more files in changeset.
Add message that displays WebDAV accessible URL to folder view.

  1. … 5 more files in changeset.
Give root folders for each package a unique cr_items.name in case multiple

package instances called "File Storage" are mounted. Fixed bug#1332

  1. … 10 more files in changeset.
The rest of the UI changes

    • -2
    • +35
    ./file-storage-procs-postgresql.xql
  1. … 10 more files in changeset.
Timezonized

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

    • -25
    • +33
    ./file-storage-procs-postgresql.xql
  1. … 64 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. … 85 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.
$n_past-days in comment replaced with $ n_past-days

We use $n_past-days instead of :n_past_days becasuse he pgdriver

bind variable emulation puts single-quotes around the n_past_days

integer. Postgresql tries to turn '-1' into a date datatype

so now()-'-1' fails but now()- -1 works fine.

By Dave Bauer in the process of migrating the openacs.org site.

pg fixes

  1. … 8 more files in changeset.
fixed small pG bug

added some optional parameters to make fs procs more modular for attachments

  1. … 2 more files in changeset.
created a rename_folder method.

    • -0
    • +13
    ./file-storage-procs-postgresql.xql
  1. … 2 more files in changeset.
tune folder contents query

    • -17
    • +19
    ./file-storage-procs-postgresql.xql
  1. … 2 more files in changeset.