• last updated 17 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
ad_proc rather than proc on sec_sweep_sessions bug 263

rewrite the sessions_sweep query so it will use an index on last_hit

  1. … 1 more file in changeset.
add @see comments for most deprecated functions

  1. … 9 more files in changeset.
util_memoize_value_cached_p should be util_memoize_cached_p fixes bug 1546 patch 250

fixed couple ad_proc docstrings so they show up properly in api-browser

Merged with OpenACS 4.5 beta1 branch.

  1. … 88 more files in changeset.
Applied Michael Cleverly's patch #186 which preserves the session_id if a

user re-logs in after, say, being redirected from HTTP to HTTPS.

Applied Michael Cleverly's patch #188 which updates last_hit field of

sec_session_properties, which makes the code that sweeps out old, dead tuples

work.

Applied Michael Cleverly's patch #189, which cure's brokeness in signed

and verified values caused by IE's friendly insistence on inserting a CR

when it sees a LF.

Applied Michael Cleverly's patch #190, which closes a path which could in

theory be used maliciously as a form of DOS attack on an OpenACS 4 site.

Fixed this stuff so it works with Oracle and Postgres both, sharing as much

code as possible (or at least as I can make possible).

  1. … 3 more files in changeset.

Forgot to commit the query files earlier and there were a couple of typos

in the Oracle/clob code, too.

  1. … 2 more files in changeset.

Fixed a race condition in ad_set_client_property. Read my comment in the

code for a full explanation.

1. Added session-update.tcl, a small utility which somewhat safely allows

you to put up a link that changes a session_property, for instance to

change the number of items displayed or that sort of thing. The caller

must sign their values and URL, which are verified by the callee via

ad_page_contract. If the referrer doesn't match the signed expected

referrer, you get bounced. I think this is reasonably secure (though

permissions should always be rigorously checked on all pages, of course)

2. acs_events had an html_p flag in the datamodel but no way to set it.

Fixed. It should really be a mime-type but since it's not using the

CR, and since I'm extremely busy with other stuff, I didn't fix it.

3. While doing #1 above I learned that signing and verifying arrays didn't

quite work. Fixed.

4. Found and fixed a small problem with my earlier work on the currency widget.

  1. … 13 more files in changeset.

Fixed the 4K character limit on session properties for Oracle by making an

optional "clob" value available. The APM wouldn't let me load any packages

when I added all the dotLRN packages plus standard packages over to a new

"dotlrn" user from my normal "acs" user - the list of packages grew to

> 4KB in size! Grrrr!

  1. … 6 more files in changeset.

Renamed a column named "timestamp" in the security package because this is

now a reserved word in PG (correctly). I changed the Oracle version, too,

because I know that 9i has added the "timestamp" datatype and even if it

will accept it as a column name it's confusing.

I also changes postgresql.sql to load correctly under PG 7.1 and 7.2.

  1. … 8 more files in changeset.
new version of QD with better handling of absolute/relative paths

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

  1. … 1321 more files in changeset.
Initial revision

    • -0
    • +1248
    ./security-procs.tcl
  1. … 1321 more files in changeset.