• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

removed the remaining procs which were -deprecated -warn in 5.0 and fixed most occurances of those procs in the code

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

  1. … 321 more files in changeset.
make some proc things into ad_proc, remove a couple useless debug messages, log long query times as a WARNING message in the log

  1. … 1 more file in changeset.
Don't call site_nodes_sync from apm_package_rename. site_nodes_sync rebuilds the entire site_nodes cache, which takes large sites, such as .LRN sites with tens of thousands of site nodes, completely offline for several minutes. Instead, update the cache for the specific node(s) at which the package is mounted.

  1. … 1 more file in changeset.
get the before-upgrade and before-install callbacks directly from the .info file since they won't be correct in the db; resolves bug 1963

  1. … 1 more file in changeset.
Filled the parameter cache with default values tagged with package_id 0

rather than NULL to fit with the apm_package_id_from_key's default value

for package_id when there's no instance available (can't really use null

because "package_id = NULL" is always false in SQL).

  1. … 2 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.
change apm_package_url_from_id to return the first url (after finding half a dozen essentially identical queries to do that in package specific routines I think its clear it makes more sense to do that

  1. … 2 more files in changeset.
Part of this commit is fixing #1176 (just a few acs-lang strings and properly

splitting the file into *-proc.tcl and *-init.tcl part). Part of this fix

(catalog file) was accidentally commited before by Joel

The bigger part is changing load order of library files so that

acs-lang-init.tcl gets loaded before all other *-init.tcl files.

This is necessary because acs-lang is so fundamental and it is quite possible

(as we have seen with the example of date-init.tcl) that there are *-init.tcl

files that need translated strings.

  1. … 1 more file in changeset.
Remerge Timo's changes for tip 42,43, cf tip 53

  1. … 97 more files in changeset.
rollback of Timo's name, package_id commit; see TIP 53

  1. … 96 more files in changeset.