acs-developer-support-procs.tcl

  • last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
change ad_verify_and_get_user_id to ad_conn user_id, change ad_maybe_redirect_for_registration to auth::require_login, make some db_ and dt_ function -public

  1. … 689 more files in changeset.
permission denied in ds_require_permission used user_id but did not get it first

Andrew wants to space out

add traceback cache

  1. … 4 more files in changeset.
add storing and searching page fragments

  1. … 9 more files in changeset.
add a toggle for the dev support footer, remove explicit font stuff, fix display of timing data (afaict clicks is in ms), change adp reveal format in source to show adp level and file in format that's easier to scan

  1. … 6 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.
order the change user options by name

  1. … 2 more files in changeset.
bug #1997: fixed DS user-switching (U-S), in ds_permission_p giving fake id for party_id = 0, to avoid infinite loops on ad_conn in any new unknown request

putting } in place

bug #1997: fixed DS user-switching (U-S), in ds_permission_p giving fake id for party_id = 0, to avoid infinite loops on ad_conn in any new unknown request

merge of changes on oacs-5-1 branch between tags jcd-merge-5-1-20040517 and jcd-merge-5-1-20040628 to HEAD

    • -13
    • +14
    ./acs-developer-support-procs.tcl
  1. … 687 more files in changeset.
The template_extension should be adp

Reworked the ADP revealing code to be gentler on OpenACS.

  1. … 3 more files in changeset.
Don't bomb if ds_profile start hasn't been called first

    • -13
    • +14
    ./acs-developer-support-procs.tcl
Added 'ADP reveal mode'

  1. … 9 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.
Added 'log' command to ds_profile, which causes it to spit out the profile info to the log file. Useful for things that are running in background threads

profile each .tcl and .adp page included, make ds_collection_enabled_p only check IP list once

  1. … 1 more file in changeset.
Added ds_profile proc for performance profiling

  1. … 2 more files in changeset.
Commented out ds_comments about user-switching

Cleaned-up, templated, and improved developer-support

  1. … 6 more files in changeset.
Added link to developer-support home

- Design improvements

- Fixed problems caused by untrusted_user_id as mentioned in forums thread

    • -19
    • +20
    ./acs-developer-support-procs.tcl
all TCL's clock clicks always with the -milliseconds option. The TCL manual

explicitly states that without this switch the return result is platform

dependant. The OpenACS code works at the millisecond granulartiy and silently

assumes that 1 millisecond equals 1000 clicks which is not necessarily true.

I used this shell script to automatize the replacing:

#!/bin/bash

for file in `grep -lsr "\[clock clicks\]" /web/openacs-head/packages/ `; do

echo "repairing $file"

sed "s/\[clock clicks\]/\[clock clicks -milliseconds\]/g" $file > fout

mv fout $file

done

And then grepped for

grep -r "expr.*clock clicks" /web/openacs-head/packages/

to manually remove the divisions by 1000.

  1. … 10 more files in changeset.
merge of changes on oacs-5-0 branch to oacs-5-0-0b4 tag

  1. … 598 more files in changeset.
allow variable subst in query on errno 2 (return)

adding ability watch whole packages on server startup with the PackageWatchList parameter

  1. … 1 more file in changeset.
dont bind sql in ds_collect_db_call if errno nonzero since it messes up the traceback sometimes

    • -28
    • +31
    ./acs-developer-support-procs.tcl
close tr tag bug 1061 patch 335 Randy o'Meara