• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Added proc sp_sync_cr_with_filesystem_scheduled, so can optionally

schedule to run every night at e.g. 4 am.

- Now supports multiple static-pages package instances, each with its

own fs_root parameter.

- static_pages.filename column is now relative to server root, not

page root. May still need an upgrade sript to convert old values in

db, see TODO comment in oracle upgrade-4.2a-4.3.sql.

- Added update to singleton_p = 'f' to upgrade scripts, which I left

out before.

- (Did NOT yet change www/page-visit.tcl to support files beneath the

packages/*/www/ directories.)

- Added other misc. comments.

  1. … 5 more files in changeset.
- Now supports multiple static-pages package instances, each with its

own fs_root parameter.

- static_pages.filename column is now relative to server root, not

page root. May still need an upgrade sript to convert old values in

db, see TODO comment in oracle upgrade-4.2a-4.3.sql.

- Added update to singleton_p = 'f' to upgrade scripts, which I left

out before.

- (Did NOT yet change www/page-visit.tcl to support files beneath the

packages/*/www/ directories.)

- Added other misc. comments.

    • -0
    • +21
    ./static-pages-procs-postgresql.xql
  1. … 4 more files in changeset.
Added mutex locking prevent errors if more than one copy of

sp_sync_cr_with_filesystem runs at once for a single package instance,

plus related changes. Changed sp_sync_cr_with_filesystem proc to a

wrapper proc which now calls sp_sync_cr_with_filesystem_internal, in

order to properly free the mutex upon any unexpected error.

  1. … 2 more files in changeset.
Fixed sp_sync_cr_with_filesystem and the fs-scan-progress.tcl page so

that the scan will properly continue after hitting an error on a

single file, rather than terminating abruptly. Also tweaked sp_*_item

output procs slightly.

  1. … 1 more file in changeset.
Added TODO comments about deleting stale items and all their attached

comments, only.

merge from oacs-4-6

    • -27
    • +0
    ./static-pages-sc-procs-postgresql.xql
  1. … 27 more files in changeset.
moved file static-pages-sc-procs-postgresql.xql to static-pages-sc-procs.xql since it was generic

    • -27
    • +0
    ./static-pages-sc-procs-postgresql.xql
file static-pages-sc-procs.xql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./static-pages-sc-procs.xql
add missing ad_library calls

  1. … 14 more files in changeset.
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.
use cumulative_path rather than directory for item name fixes 1544/patch 360

remove unecessary file

Fixed problem were content_item__get_item_id was not returning and item_id

for an item that exists. Switched to plain old select and it works fine now.

escaped backslashes in static_page_regexp. (olah)

added templating

added support for templating

Changed the representation of tree_sortkeys from "text" to "bit varying".

    • -23
    • +18
    ./static-pages-procs-postgresql.xql
  1. … 62 more files in changeset.
Fixed extraneous end; in tcl/static-pages-procs-postgresql.xql

Fixed file update error in postgreql. It adds an mtime column, update your

datamodel on PG. Code checks for storage_type to run the correct queries/code

for Oracle/PG.

    • -3
    • +14
    ./static-pages-procs-postgresql.xql
  1. … 1 more file in changeset.
Fixed util_memoize_flush to correctly update when commenatbility abd commenets_displayed is changed

Fixed comment display to correctly display comment content when enabled

More fixes to static_page__grant/revoke permission and static-pagses-procs-postgresql.xql

  1. … 4 more files in changeset.
Fixed sp_grant_or_revoke_matching_permissions

Updates to oracle.xql files for relative paths

Adding missing files, sorry!

    • -0
    • +25
    ./static-pages-sc-create.sql
    • -0
    • +27
    ./static-pages-sc-procs-postgresql.xql
    • -0
    • +31
    ./static-pages-sc-procs.tcl
Fixed insert into cr_revisions to store relative file path

Adding missing static-pages-init.tcl

    • -0
    • +9
    ./static-pages-init.tcl
Fixed static folders. Now stores file path relative to installation root and uses cr_fs_path to get the full file path.

    • -12
    • +10
    ./static-pages-procs-postgresql.xql
  1. … 2 more files in changeset.
*** empty log message ***

  1. … 7 more files in changeset.