• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge from oacs-5-10

  1. … 8099 more files in changeset.
Revert https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20240423144330

currently, file-storage will copy files by simply copying the revision entry of the new file from the original one. This means that copied files will in fact point to the same filesystem file of the original.

This "works" because the file-storage api will currently never delete a file from the filesystem, so deleting the original file will not affect the copies.

This behavior is probably not ideal, but we won't address it before the release, as to change it will most likely require some careful planning, in particular for existing installations.

  1. … 2 more files in changeset.
cr_write_content reform

when serving files, do not trust the content information, as the absolute path to the file can be determined programmatically in this case.

This also reduce divergency between Oracle and Postgres

  1. … 2 more files in changeset.
fix incorrect names in .xql files

  1. … 1 more file in changeset.
Refactor content repository backend

The refactored code is a first step to become able to provide plugins

for backends for storing content in different systems. Instead of

using switch statements to distinguish between backends "file", "lob"

and "text", procs with a suffix of the storage name are provided

now. Essentially, by providing process with additional suffixes can be

used to provide additional storage systems.

In addition, the deletion handling was also refactored such that the

non-scalable functions iterating over all items (such as

"cr_check_orphaned_files") will become obsolete. This is imporant for

content repositories with double and triple digit terabytes.

  1. … 16 more files in changeset.
Whitespace cleanup

  1. … 1 more file in changeset.
Reduce divergency between oracle and postgres codebase, bring portable sql inline

  1. … 3 more files in changeset.
Add cast (many thanks to Franz Penz for the change)

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- avoid call of deprecated sql variant with 12 args via API (many thnaks to Guenter Ernst)

- handling of NULL values in cr_revision_latest_tr (many thanks to Guenter Ernst)

- bump version to 5.9.1d24

  1. … 3 more files in changeset.
Avoid using deprecated content_item__new/17

- fix lob interface (especially for portraits)

  1. … 5 more files in changeset.
- prefer sql statements between curly braces

  1. … 10 more files in changeset.
merge all the changes on the oacs-5-1 and dotlrn-2-0 branches up to tag jcd-merge-20040420

  1. … 647 more files in changeset.
Fix content-length support to use proper header name and actually check in

the queries that grab content length from cr_revisions.

  1. … 2 more files in changeset.
Remerge Timo's changes for tip 42,43, cf tip 53

  1. … 97 more files in changeset.
rollback of Timo's name, package_id commit; see TIP 53

  1. … 96 more files in changeset.
TIP#42,43: adding package_id and title to acs_objects table

  1. … 96 more files in changeset.
seperate queries for oracle and postgres for cr_import_content.set_file_content

  1. … 2 more files in changeset.
seperate queries for oracle and postgres for cr_import_content.set_file_content

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

  1. … 101 more files in changeset.
1. removed some needless LARS notices

2. removed acs_methods and friends from the permissions documentation

and got rid of the commented-out table stubs.

3. dropping of permissions was broken in PG, fixed that.

4. cc_users and registered_users views have been sped up.

5. removed an unused and incorrect proc from revision-procs

6. updated acs-kernel to 4.6.3

-------------------------------------------------------------------------------------

  1. … 11 more files in changeset.

1. Fixed permissions bug in the PG version (missing OR clause in a view)

2. Added (untested thus far) site-wide-search to glossary

3. Added centralized support for importing files into the CR (either into

the filesystem or the database).

4. Fixed wp-slim. Fixed it some more. Fixed it again. It still needs

more fixing.

  1. … 61 more files in changeset.

1. Added a new Tcl procedure to the content repository's library, named

cr_write_content, which properly writes content to the connection

regardless of RDBMS and storage type. This simplified a bunch of stuff

(which explains the removed files).

2. Fixed a lot of general comments issues regarding HTML vs. Plain/Text,

attachments, etc.

3. Partially ported glossary.

  1. … 81 more files in changeset.
tested lob support for content-repository. converted photo upload in acs-subsite to use lobs instead of files

  1. … 9 more files in changeset.
ported templating to use standard db api

    • -0
    • +34
    ./revision-procs-postgresql.xql
  1. … 27 more files in changeset.