• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- improve linebreaks in error log when loading files (no need to restrict to 70 cols)

- change 'util_memoize "..."' into 'util_memoize [list ...]' as pointe out by Frank for security reason and correctness

  1. … 6 more files in changeset.
- get rid of old-style parameter passing

  1. … 1 more file in changeset.
- use common parameter definition conventions (get rid of old-style nonpos args)

- use $::acs::rootdir in documentation

- use $::acs::rootdir rather than [acs_root_dir] or [get_server_root]

  1. … 14 more files in changeset.
- flatten nested "lindex" structures

- merge multiple "lappend" operations

- use "lassign" instead of multiple "lindex" operations

- improve performance util_convert_line_breaks_to_html by reducing

number of regsub operations and more precise regular expressions

- use numeric comparison operator for truth value comparisons

- use "lassign" instead of multiple "lindex" operations

- reduce number of remaining "string equal" operations

  1. … 13 more files in changeset.
- use "lassign" instead of "foreach" idiom

- use namespace prefix instead of "global" statement

- use compiled string expressions

- use "in" expression instead of "lsearch -exact"

  1. … 1 more file in changeset.
- don't use backslash in multiline expressions

- make long expressions more uniform and more readable

- use "in" or not in (ni) operator instead of lsearch

- brace expressions to allow for tcl compilation

- bump version number

  1. … 23 more files in changeset.
- use "in" operator instead of lsearch (for readability and performance)

  1. … 5 more files in changeset.
- cleanup of apm management (reduce redundancy, consistent headers, cleanup HTML, reduce deprecated code, remove obsolete files)

- the only remaining calls to apm_headers are now in combination with ad_return_top_of_page

  1. … 42 more files in changeset.
- fix bug #1910

- replace deprecated ad_permission_p with permission::permission_p

  1. … 28 more files in changeset.
- modernize tcl

- remove unneeded "expr" in side if-expressions

  1. … 13 more files in changeset.
- get rid of empty_string_p

  1. … 20 more files in changeset.
Performance improvements for rp_filter and parameter:

- improve performance of rp_filter (which is run on every

non-resources request) significantly (often a factor of 2)

- improve scalability by reducing number of required mutex locks

(e.g. for secret token handling)

  1. … 8 more files in changeset.
- avoid duplicate load of acs-lang

The process of installing acs-authentication's service contract implementations ends up trying to reload /packages/acs-service-contract/tcl/acs-service-contract-init.tcl, for which there is no entry on the apm_library_mtime nsv_array, therefore this logging message aboarts the installation.

- don't use regexp when not needed (match is so much faster).

- provide context info for naviserver writer threads

- reset "extra_url", needed for internal redirects on errors.

  1. … 1 more file in changeset.
*** empty log message ***

  1. … 5 more files in changeset.
you need to flush the package id to package_key map on update otherwise parameter updates and other things depending on package key fail until server restart. no attempt made to fix teh xotcl-core cached version. also misnamed query fixed

Merged oacs-5-6 to HEAD. HEAD now installs and passes all core tests. There

may still be some lingering problems due to my screwing up the oacs-5-6

branch earlier, I'll be looking into this later.

  1. … 214 more files in changeset.
Force references to an embedded package's admin or sitewide-admin pages to

be referenced (relative to the embedding package's mount point) as

admin/package-key or sitewide-admin/package-key. This nicely arranges

all admin URLs in a composite package under ${mount-point}/admin, which

among other things will cause the request processor to do the expected

permission check. Backdoor access to the admin pages via URLs like

${mount-point}/package-key/admin or ${mount-point}/package-key/sitewide-admin

is blocked, as the request processor won't do the expected permissions check

for URLs of that form.,

  1. … 1 more file in changeset.
Finished up PG semantics for global/instance parameters on package upgrade.

The Tcl API stuff to do this should technically be moved down into the

oracle/PG API but 1) it's a fair amount of db-specific work and 2) people

should be using the high level constructs in the first place (and why do

people explicitly register new parameters when they're registered from the

package info file on upgrade in the first place?)

  1. … 4 more files in changeset.
Fixed up the apm parameter stuff to the point where I can at least

register and unregister, and cache values of, global parameters. There's

some really funky code here, I also took the time to have the unregister

code use the unregister API in PL/[pg]SQL rather than roll its own.

  1. … 7 more files in changeset.
Added "-scope" parameter to apm_register_param

  1. … 2 more files in changeset.
1. Changed trigger functions from "opaque" to "trigger" to get rid of the

warnings during initial install (only for acs-kernel, there are a lot

elsewhere!)

2. Added "embeds" for postgresql and partially for oracle.

3. Added global parameters for postgresql and partially for oracle.

(oracle will be forthcoming shortly)

  1. … 29 more files in changeset.
Non-info file merge results, with conflicts resolved.

  1. … 203 more files in changeset.
Added documentation to some small procs I wrote while implementing package

extends.

  1. … 1 more file in changeset.
Moved package conversion code from acs-subsite to acs-tcl, as part of

the apm Tcl API.

  1. … 9 more files in changeset.