• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
last_modified became wrong during merge. Reverted to previous state.

Took MIT's version of this file which allows comment enabling on a per-instance

basis rather than globally for all file-storage instances.

noquote changes (Dirk Gomez)

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

    • -2
    • +27
    ./sql/oracle/file-storage-package-create.sql
    • -220
    • +0
    ./sql/oracle/file-storage-simple-package-create.sql
    • -48
    • +45
    ./sql/oracle/file-storage-views-create.sql
    • -0
    • +817
    ./sql/oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -183
    • +0
    ./sql/postgresql/file-storage-simple-package-create.sql
    • -0
    • +188
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
    • -20
    • +30
    ./tcl/file-storage-procs-oracle.xql
    • -25
    • +33
    ./tcl/file-storage-procs-postgresql.xql
  1. … 50 more files in changeset.
merge of 4.6.3b1 to HEAD

  1. … 35 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

    • -1
    • +1
    ./tcl/file-storage-procs-postgresql.xql
removing the file listings from the info files since those are no longer used by OpenACS

  1. … 28 more files in changeset.
fixing item 3 of bug 471 by granting admin privilege to creator of a URL just like we do for files

Cleaned up display of edit/delete links.

- Added up link

- cleaned up display of links (grouped file links together and folder links together)

Fixed bug in calculating total content

Focus input field

Forgot to fix the upgrade scripts when I fixed the 0 content size typo yesterday. I wonder if we should write new upgrade scripts

Added back some files I'd renamed earlier but decided to leave with their

original (albeit a bit misleading) name to simplify changes elsewhere.

file simple-edit-2.xql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./www/simple-edit-2.xql
file url-goto.xql was initially added on branch oacs-4-6.

file simple-edit.xql was initially added on branch oacs-4-6.

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

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

Argh, forgot to justify the size column title. Sorry for all these small commits

- Fixed link to archive download, so it uses @fs_url@.

- Made width not fixed to 85%, because it's stupid not to use 100% when we have long file names, for example.

- Made the size column right-justified

Make fs_objects return the content_length for files

    • -2
    • +2
    ./sql/oracle/file-storage-views-create.sql

1. Made it possible to upgrade from acs-kernel 4.6.1 to acs-kernel 4.6.2

by using the APM rather than running the upgrade script by hand from

PSQL or SQL*Plus.

2. Changed a bunch of package .info files to depend on acs-kernel 4.6.2

to force the APM to upgrade acs-kernel (and therefore the APM datamodel)

before anything else. No guarantee on this though since not all

packages properly define their dependence on the kernel, it appears.

3. Whacked the release notes to suggest people use the APM to upgrade

acs-kernel first, other package later, just for safety's sake.

4. Fixed goof-up in acs-subsite I accidently introduced.

  1. … 34 more files 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.

    • -3
    • +10
    ./sql/oracle/file-storage-package-create.sql
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.

    • -2
    • +13
    ./sql/oracle/file-storage-package-create.sql
    • -4
    • +720
    ./sql/oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -4
    • +85
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
file upgrade-4.6.1-4.6.2.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-4.6.1-4.6.2.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
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.

    • -220
    • +0
    ./sql/oracle/file-storage-simple-package-create.sql
    • -56
    • +45
    ./sql/oracle/file-storage-views-create.sql
    • -183
    • +0
    ./sql/postgresql/file-storage-simple-package-create.sql
    • -0
    • +104
    ./sql/postgresql/upgrade/upgrade-4.6.1-4.6.2.sql
    • -17
    • +0
    ./tcl/fs-simple-procs-postgresql.xql
  1. … 32 more files in changeset.
Bump the max upload default to 5,000,000. This is currently used as the default for all classes/communities in dotLRN and it is hard to get to the file-storage instance for each one to change it, so making the default a bit higher means fewer folks will have to deal with that hassle

Changed this file to make sure that a user can delete and admin perms on

files they upload via the file-storage UI. Previously if you only had

write privs on a folder, you couldn't delete or admin privs on your own

files uploaded to the folder.

Typo in query caused URLs to be listed many, many times

committing the latest translations from the dotLRN translation server

    • -1
    • +1
    ./catalog/file-storage.TH_TH.TIS-620.xml
    • -1
    • +1
    ./catalog/file-storage.da_DK.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/file-storage.de_DE.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/file-storage.en_US.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/file-storage.es_ES.ISO-8859-1.xml
    • -1
    • +42
    ./catalog/file-storage.fi_FI.ISO-8859-15.xml
    • -1
    • +1
    ./catalog/file-storage.it_IT.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/file-storage.nl_NL.ISO-8859-1.xml
    • -3
    • +67
    ./catalog/file-storage.no_NO.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/file-storage.pl_PL.ISO-8859-2.xml
    • -1
    • +1
    ./catalog/file-storage.pt_BR.ISO-8859-1.xml
    • -0
    • +6
    ./catalog/file-storage.ru_RU.windows-1251.xml
    • -1
    • +1
    ./catalog/file-storage.sh_HR.ISO-8859-5.xml
  1. … 422 more files in changeset.