• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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.
Changed apm_load_packages to load package libraries and queries in dependency

order, rather than alphabetical order.

Preliminary version of "extend package" code, along with new package

attributes that allow the declaration of packages that are subsites.

  1. … 29 more files in changeset.
Changing the proc instance_new, now it takes the package-instance-name instead of instance_name, and fall back to current behavior if the package-instance-name is empty

Normalizing string comparison operations into tcl 8.4 operations, enabling byte-code compilation for expressions and many conditionals

  1. … 367 more files in changeset.
fixing bug in apm_package_rename, which did not change title in acs_obejcts when a package was renamed. As a consequence, a rename in the sitemap did not change e.g. the name shown from the categories

Reverted all changes from Mannheim

  1. … 222 more files in changeset.
Mannheim update, fix and merge bugbash

  1. … 197 more files in changeset.
Added apm_package_ids_from_key to get a list of all package instances

Add procs to calculate code metrics about a package