• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Replaced ns_share with nsv, and related improvements to mutex locking.

  1. … 1 more file in changeset.
www/page-visit.tcl now works properly with files under package

directories and under the global www/ page root.

  1. … 3 more files in changeset.
Failure to check for empty_string in sp_serve_html_page was breaking

/doc/static-pages/.

Now correctly sets mime type using sp_maybe_create_new_mime_type,

rather than always using text/html.

  1. … 6 more files in changeset.
Added proc sp_sync_cr_with_filesystem_scheduled, so can optionally

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

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

  1. … 5 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. … 6 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.

use cumulative_path rather than directory for item name fixes 1544/patch 360

  1. … 2 more files in changeset.
escaped backslashes in static_page_regexp. (olah)

added templating

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.

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

  1. … 2 more files in changeset.
Fixed static folders. Now stores file path relative to installation root and uses cr_fs_path to get the full file path.

  1. … 4 more files in changeset.
Fixed info file for postgresql and fixed Oracle version

  1. … 8 more files in changeset.
stores content as "file" in content repository. Comments working

  1. … 2 more files in changeset.
Changed [db_nextval sp_session_id_seq] to [db_nextval sp_session_id_sequence] to use the view.

Forgot to define binary files before importing, so .gifs were messed up.

  1. … 2479 more files in changeset.
Initial revision

    • -0
    • +382
    ./static-pages-procs.tcl
  1. … 2479 more files in changeset.