• last updated 19 hours ago
Constraints: committers
Constraints: files
Constraints: dates
removed unused query (many thanks to Franz Penz for noting)

reduce frequent small SQL queries and streamline code

  1. … 2 more files in changeset.
allow calling apm_parameter_unregister without "parameter_id"

previously, it was allowed to call it with an empty parameter_id, but not without it

  1. … 1 more file in changeset.
Whitespace cleanup

  1. … 2 more files in changeset.
No need to force-cache the value of every parameter of every package instance

We are just adding a new parameter: this should in fact not exist and therefore no cache should be present and needed to be flushed. Furthermore, in most cases one would immediately restart the server, as this normally happens in the context of a package upgrade.

  1. … 1 more file in changeset.
Removed unused sql

merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.

- when a package is deleted, which is already disabled, the

"before-uninstall" callback was not executed.

- Reason: apm_version_id_from_package_key returns just enabled packages

- the new version of apm_version_id_from_package_key has an optional

argument "-all" to return enabled or disabled version_ids

  1. … 2 more files in changeset.
.xql-file reform of acs-tcl (part 2)

- remove unsused .xql queries


- remove redundant .xql queries



  1. … 3 more files in changeset.
- make apm_package_installed_p more rubust, such it can be used early in the startup phase

  1. … 1 more file in changeset.
More code dealing with instance and global parameter semantics. I finally

have a reasonable model of inheritance and semantics implemented, not

perfect from a language-theoretic point of view, but works well without

having to rewrite every bit of parameter-handling code in acs-core.

  1. … 8 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.
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


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.
Moved package conversion code from acs-subsite to acs-tcl, as part of

the apm Tcl API.

  1. … 9 more files in changeset.
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.
Added support for custom error templates. Added negative float procedure from Brian Fenton (Quest)

  1. … 7 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.
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.
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.
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.
TIP#42,43: adding package_id and title to acs_objects table

  1. … 96 more files in changeset.
fixing typo in query apm_version_get.select_version_info

- Added apm_highest_version_name proc

- Added package pretty name to apm_version_get

  1. … 3 more files in changeset.
making the procs ad_acs_version and ad_acs_release_date do something sensible. Adding proc apm_version_get (should go into a namespace and be cached)

  1. … 2 more files in changeset.
changing APM Tcl API to reflect that we are no longer storing file info in the db (apm_package_file_types and apm_package_files tables are gone)

  1. … 4 more files in changeset.
Upgrade to 4.6.2

  1. … 30 more files in changeset.
removing package_key_select queries no longer used

caching the proc apm_package_installed_p with util_memoize

  1. … 3 more files in changeset.
making apm_package_instance_new the canonical proc for instantiating a package. Deprecating the create_package proc. Adding apm_mark_packages_for_bootstrap that will is used to schedule all necessary files for reload after a set of applications have been installed. Extracting apm_mark_files_for_reload from apm_mark_version_for_reload so that the functionality of scheduling files for reload could be reused.

  1. … 3 more files in changeset.