acs-content-repository-init.tcl

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
.xql-file reform of acs-content-repository

- remove sql statements from the code, where these are provided via .xql

- prefer empty sql statements over various forms of *SQL*

- remove unneeded sql queries

cr_check_orphaned_files.fetch_path

content::item::upload_file.get_parent_existing_filenames

content::revision::new.update_lob_attribute

content::init_all.get_template_url

content::init.get_live_revision

content::init_all.get_live_revision

cr::keyword::item_unassign.item_unassign

cr::keyword::get_keyword_id.select_keyword_id

cr::keyword::item_unassign_children.item_unassign_children

cr::keyword::item_get_assigned.get_keywords

cr::keyword::item_get_assigned.get_child_keywords

cr::keyword::get_options_flat.select_keyword_options

publish::write_content.get_revision_id

  1. … 15 more files in changeset.
- add editor hints to keep spaces/tabs in the furture more consistent

  1. … 754 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 2 more files in changeset.
- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 13 more files in changeset.
We need to use the default here, otherwise upgrades might become an issue

Added FileLocationRelativeP paramater in the .info file. If set to 0 it says that the location of the CRFileLocationRoot is not relative to acs_root_dir

    • -10
    • +11
    ./acs-content-repository-init.tcl
  1. … 2 more files in changeset.
Support for relative file locations which might even reside on a windows drive and therefore start with d:\

  1. … 6 more files in changeset.
Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.
Added support for a different location for the CR files using the CRFileLocationRoot parameter and some callback magic

  1. … 2 more files in changeset.

Added braces for expr for performance / stylistic recommendation.

Added note to replace scheduled delete with a smart tcl api for the cr.

Schedule delelte at 22:00 (although that will still be the middle of the day for someone)

Schedule delete a 1am daily instead of 86400 seconds after server starts.

fix for scanning mime types at startup - not quite the full fix that JeffD proposed, but will get to that

  1. … 2 more files in changeset.
added support for multiple file storage areas

  1. … 11 more files in changeset.
modified cr_fs_path to support alternate file storage areas

  1. … 1 more file in changeset.
moved content repository job scheduling from oracle to aolsrver, that it is compatible with postgresql

  1. … 4 more files in changeset.
OpenACS 4.x

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +1
    ./acs-content-repository-init.tcl
  1. … 1321 more files in changeset.