• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
merge of 4.6.3b1 to HEAD

  1. … 107 more files in changeset.
when adding the proc apm_application_new_checkbox I forgot to put the different queries in the xql files. Jarkko fixed it. Thanks Jarkko

  1. … 2 more files in changeset.
fixing proc apm_package_create_instance. It is invoking apm_package_instance_new. I earlier changed the contract of apm_package_instance_new but forgot to update apm_package_create_instance.

Adding quick-add bar for applications in the site-map. Adding a delete link for site-nodes that will also delete any mounted package.

  1. … 4 more files in changeset.
improving argument handling of apm_package_instance_new proc. Adding proc apm_file_watchable_p proc that determines if a file is appropriate to watch.

  1. … 3 more files in changeset.
commenting behaviour of site_node::instantiate_and_mount and apm_package_instance_new when the package is a singleton and an instance already exists

  1. … 2 more files in changeset.
rephrasing log statement to be able to close bug 222

rephrasing log statement to be able to close bug 222

making apm_load_libraries be based on apm_get_package_files for consistency

making apm_version_load_status use file system based procs rather than db. Making apm_load_libraries be based on apm_get_package_files for consistency

Upgrade to 4.6.2

  1. … 30 more files in changeset.
return a more meaningful error when a package is not mounted

Adding the before-upgrade and after-upgrade callback types. To go along with the upgrade callbacks Lars added the excellent apm_upgrade_logic proc that lets you specify arbitrary pieces of Tcl code to be executed on upgrade from version X to version Y. The proc figures out which upgrade code chunks to source and in which order (with the same logic as with the traditional upgrade sql scripts). Making paths to sql files (create, drop, upgrade) and catalog files (I18N) be fetched directly from the filesystem rather than from the info file. The file listings in the info files and in the database are now AFAIK superfluous and have no influence on the system. Adding proc apm_watch_all_files for watching all files in a package. Bumping up version name from 4.5 to 4.7.2d

  1. … 5 more files in changeset.
Lars added proc util_get_current_url. Removing updates of nsv apm_library_mtime that now happen in apm_source proc. Removing proc apm_mark_packages_for_bootstrap that was used to avoid server restart after package installation (we are now requiring server restart). Moving flushing of package_installed_p cache to happen at end of apm_package_install proc instead of the beginning. Adding parameter PermissionCacheTimeout that determines the lifetime of the permissions cache.

  1. … 7 more files in changeset.
caching the proc apm_package_installed_p with util_memoize

  1. … 3 more files in changeset.
added a check that Tcl callback procs specified in the APM UI have correct argument lists

  1. … 1 more file in changeset.
adding before-uninstall, before-uninstantiate, and before-unmount Tcl callbacks for packages

  1. … 2 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.
adding support for Tcl proc package callbacks. Currently only supporting after-install and after-instantiate callbacks (next up is after-mount). There is no UI yet.

  1. … 8 more files in changeset.
adding the proc apm_supported_callback_types for the new package callbacks. Making apm_load_packages take arguments to make it optional to source libraries and queries (only load tests, needed for acs-tcl)

renaming apm_load_package to apm_load_packages and making the proc source Tcl files in the right order (-procs before all -init etc.)

  1. … 2 more files in changeset.
adding proc apm_load_tests_p. changing a couple of procs to proper use of boolean argument

  1. … 2 more files in changeset.
making sure catalog messages are cached when new package is installed in APM. Also making sure tcl libraries and xql queries are loaded for the package after installation so that restart of server is no longer necessary (I hope). Resorted to using the force_install_p flag since the tcl libraries wouldn't source otherwise in the apm_files_load proc. This doesn't feel like the ideal solution but it gets the job done

  1. … 2 more files in changeset.
apm_load_package should not cache that package is enabled

adding a procedure apm_load_package for loading a package so that this can be done without restarting the server, for example directly after installation. Moving Ben's comment for apm_load_queries into ad_proc

adding new proc for checking if there is an enabled version of a certain package_key

  1. … 1 more file in changeset.
removing inlined oracle specific queries, removing -default flag from db_string where not needed, correcting misnamed (copy paste) query

  1. … 1 more file in changeset.
Added apm_instance_name_from_package_id procs.

Added code for optionally sourcing automated tests and associated queries.

  1. … 1 more file in changeset.
Peter: added proc apm_package_key_from_version_id