acs-bootstrap-installer

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fixing bug 1060 and resorting to using a new proc install_page_contract instead of ad_page_contract. This is much more robust as we can't assume that we have full access to the OpenACS Tcl APIs in the beginning of OpenACS installation. Making sure mandatory parameters are properly marked up as such in the UI.

updated all to 5.0.0a5, cleaned up require sections that listed multiple versions, and updated package owner info

  1. … 18 more files in changeset.
Link to site-wide admin page instead of front page of new site after installation

add =t =f to boolean flags, fix docs, some cleanup on logging

adding loading of all message catalogs at the end of OpenACS bootstrap install. That way when the server comes up after restart all message keys are available immediately for init scripts etc.

correcting the page title on the install page

fixing the page header of install page. Defaulting all system emails to admin email

fixing typo I introduced in last commit

nsv_get acs_application was failing sometimes on install and I wasn't able to track down why. To avoid further hassle I removed that nsv since we don't need it

adding check that install page is only executed once. Added link to the homepage at the bottom

changing the OpenACS installation so that now, you fill in all system configuration on one form up-front, click install, and everything installs, the server restarts, and you're ready to go

    • -23
    • +0
    ./installer/auto-install-oracle.xql
    • -14
    • +0
    ./installer/auto-install-postgresql.xql
    • -72
    • +0
    ./installer/create-administrator-2.tcl
    • -11
    • +0
    ./installer/create-administrator-postgresql.xql
    • -84
    • +0
    ./installer/create-administrator.tcl
    • -0
    • +167
    ./installer/install.tcl
    • -217
    • +0
    ./installer/packages-install.tcl
fixing typo in tcl file loading printout

requiring tcl files (of type tcl_procs, tcl_init, test_procs, test_init, or tcl_util) to reside under package-key/tcl

updating version info of acs-bootstrap-installer package

Fixed bug #829 again, this time moved the username-defaulting logic out of ad_user_new and into auth::create_local_account

  1. … 2 more files in changeset.
bug 335 - making sure it's possible to install from .apm files again. The UI needs improvement. Robustness could also be improved. May need to handle the case when there is a later version of a package in the packages directory than in the apm_workspace dir

  1. … 6 more files in changeset.
Another bug #829-style fix

Fixed bug #829: Installation fails on administrator creation.

Adding the ability to display a static html page instead of the installer if there is a database problem - useful for production sites. Must be enabled manually by the admin by renaming a file. Bug #156

    • -0
    • +14
    ./site-failure-message.tcl
  1. … 1 more file in changeset.
Fixed bug #825: bootstrap and package installer shut server down with [exit] instead of [ns_shutdown]

  1. … 1 more file in changeset.
making proc apm_bootstrap_load_libraries duplicate less of the logic in apm_load_libraries by making use of apm_get_package_files. To make this refactoring I had to move apm_backup_file_p, apm_include_file_p, and apm_ignore_file_p to 30-apm-load-procs.tcl

  1. … 1 more file in changeset.
Added explanation to username

install.xml would be loaded on install index page but no longer be in memory on package install page. Fixed by loading document again on package page. See discussion here: http://openacs.org/forums/message-view?message_id=122266

Implemented much faster and simpler DB compatibility check

removing ACS and OpenACS prefixes from core package names as they weren't really conveying any useful information for system admins

  1. … 12 more files in changeset.
removing sourcing of 20-memoize-init as it's sourced on previous page

seems like we need the memoize procs when installing packages during bootstrap so sourcing that file first

fixing bug introduced in previous commit. The nsv variable acs_application node was never initialized

defaulting username of site-wide-admin to email and making sure the stubbed ad_conn can handle multiple arguments (create-admin-2 bombed before this fix)

    • -2
    • +5
    ./installer/create-administrator-2.tcl
Admin creation takes username, but no longer password question/answer

    • -4
    • +15
    ./installer/create-administrator-2.tcl
    • -17
    • +6
    ./installer/create-administrator.tcl