• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Use consistently ad_script_abort after ad_return_error.

  1. … 33 more files in changeset.
- replace deprecated calls

  1. … 36 more files in changeset.
- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 21 more files in changeset.
commit to HEAD of merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040724 and jcd-merge-5-1-20050111

  1. … 2275 more files in changeset.
handle spaces in static page titles

should return text/html for html

Add parameter CommentsDisplayedP, to control whether the comment link

and comments are shown inline remove files stanza from .info file and

bump version number. Use ns_returnfile when possible for returning

the page, propigate the displayed_object_id up to the main page.

Update the description slightly.

  1. … 2 more files in changeset.
Return a URL without '/www' so that links in the search listing points to the correct place.

fix the search sc for getting a url (since now packages and /www can be indexed)

make static pages work with tip 43; bump to 5.2.0d2, upgrade oracle, postgres

  1. … 6 more files in changeset.
make some Notices either warnings or debug and made them more descriptive by generally including the proc name as well bug #1032

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

  1. … 17 more files in changeset.
1. Fixed a type mismatch problem in acs-messaging for PostgreSQL that was

ignored by versions before 7.3 and therefore had been missed.

2. Fixed a problem in static pages regarding misunderstanding of how

nsv_array set works by someone who worked on it at some point.

3. Fixed a typo in static pages for PostgreSQL (misspelled function

name)

4. Fixed a typo in a query in survey.

  1. … 3 more files in changeset.
- Adds table cr_extension_mime_type_map,

- Adds function cr_filename_to_mime_type [-create] filename

- Adds function cr_create_mime_type -extension -mime_type -description

- Removes *_maybe_create_new_mime_type

- Updates acs-content-repository to 4.6.3. Ugrade scripts provided.

- Updates dependency information for several packages.

- Adds most mime types plus comprehensive list of extension to mime-typemappings.

- Maps .c .h .c++ .pl etc to text/plain

  1. … 9 more files in changeset.
In some cases when file not in DB yet, static_page_id was referenced

but not yet set at all, fixed.

- Overhauled sp_maybe_create_new_mime_type to no longer have ANY side

effects (fixes bug 145).

- sp_sync_cr_with_filesystem_internal is now robust to errors caught

in do_sp_new (calling static_page.new), it continues on with other

files.

- Removed a few unnecessary ns_logs.

Fixed bad typo bug in sp_maybe_create_new_mime_type - if file-storage

package was installed, proc would fail due to left missing 'eval'.

Merge of all changes from oacs-4-6 to HEAD. All changes up to tag jcd-merge-2

on oacs-4-6 are included.

    • -20
    • +46
    ./static-pages-procs-postgresql.xql
  1. … 30 more files in changeset.
Replaced ns_schedule_daily with ad_schedule_proc.

Replaced ns_share with nsv, and related improvements to mutex locking.

www/page-visit.tcl now works properly with files under package

directories and under the global www/ page root.

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

    • -12
    • +8
    ./static-pages-procs-postgresql.xql
  1. … 4 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.

- 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.