• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Upgrade to 4.6.2

  1. … 27 more files in changeset.
adding the apm_get_package_files proc for fetching files of certain types of a package. The idea is to rely on the filesystem rather than the info files/db for file listings. Made the install more verbose again for packages as I wanted to see why my installation didn't work. We could use the apm_dummy_callback if we make sure that as soon as there is an error inoformation is presented to the user. It is also good to show progress during installation

  1. … 2 more files in changeset.
Making apm_source update the apm_library_mtime variable (just like the analogous proc for xql files does). Making installation log much less information to the browser (changing from apm_ns_write_callback to apm_dummy_callback). Moving initialization of util_memoize cache to happen before first package is installed (fixes bug 242).

  1. … 2 more files in changeset.
moving the mounting of core packages from the bootstrapper to the installer. To enable this I am setting up a more complete Tcl environment before installation of those packages by sourcing procs in acs-subsite and certain init files in acs-tcl as well as redefining ad_conn. This also means that core packages have a more complete environment when/if they use post-instantiation procs.

  1. … 2 more files in changeset.
moving instantiation and mounting of all core packages (acs-lang, acs-admin, api-doc etc.) except acs-kernel and main site (retained because they are needed during install) from the acs-install.sql file to the Tcl proc apm_mount_core_packages that is invoked on first startup. Note that this unfortunately means that callbacks will not be invoked for the main site node and for the acs-kernel instance.

  1. … 4 more files in changeset.
replacing call to apm_package_instantiate_and_mount (deprecated) with site_node::instantiate_and_mount in auto-installer

changed the message to warn people that this might really take a long time, to avoid them interrupting it

merge from oacs-4-6

    • -14
    • +0
    ./create-administrator-2-postgresql.xql
  1. … 108 more files in changeset.
append port for default SystemURL when not on 80 bug 1832/patch 489 Tilmann Singer

use perm API to create administractor. Unpleasant hack to avoid util_memoize_flush though

    • -14
    • +0
    ./create-administrator-2-postgresql.xql
ns_return->ad_return, ad_script_abort, redirect to absract urls

  1. … 17 more files in changeset.
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.
Set SytemURL and NewRegistrationEmailAddress on install Fixes bug 1445 patch 291 (includes patch 228)

1. Changed a lot of package info files to fix problems ...

2. Added Vinod's bboard patch

3. Rationalized party e-mail checking by putting a "before insert or update"

trigger on the table that lower-cases email (this was already done by the

party.new() func but at least one update missed this). Got rid of all

"lower(email) = " and "upper(email) = " checks and just made all use the

db email column directly and lower-cased Tcl vars. In this way the index

on the email column is always and consistently used without needing to

define functional indexes on the column (an EE feature for Oracle).

4. Rationalized naming of a couple of workflows and fixed a glossary PG bug

where apparently its workflow got overwritten by one from the CMS at some

point in time.

5. Made the .cmp/.dat/.frm filters in the template code usable though not

very beautiful nor exactly correct. But with practice you can use them

to debug pages in the packages/* hierarchy. I also turned these off by

default as there's no need to run these filters on a production site!

6. Performed minor surgery on templating, including adding a new

"ad_return_exception_template" that allows you to return a templated

error page and aborts the script.

7. ??? probably but I think this covers most stuff.

  1. … 74 more files in changeset.
- Got rid of OpenNSD references

- Fixed some broken links

- Pointed Oracle and PostgreSQL Driver downloads to openacs.org/software.adp

- Other wording corrections

  1. … 1 more file in changeset.

Typo...

added OutgoingSender parameter to acs-kernel

  1. … 2 more files in changeset.

Added a couple of patches, mostly minor ...

Another ACS vs. OpenACS patch from Jonathan.

  1. … 1 more file in changeset.

Jonathan's patches to auto install...

    • -0
    • +23
    ./auto-install-oracle.xql
    • -0
    • +14
    ./auto-install-postgresql.xql

A bunch of "ACS"->"OpenACS" and similar changes

  1. … 26 more files in changeset.

1. Added a check that PG was initdb's with the collation order for

characters that we expect.

2. Jon added a "sql/common" directory for the insert statements which

load data for acs-references, so I added a new datamodel type "common"

to the APM.

3. Created a new db API routine that returns true if a given db_type is

compatible with the current RDBMS.

4. Added a workaround for a PL/pgSQL "execute" bug in acs-workflow (other

cases had been fixed previously by others but this one was missed)

5. Diddled a couple of .info files using the APM.

  1. … 10 more files in changeset.

- changed the XML parsing throughout to go through a simplified API to later upgrade XML parsing in a central place.

- updated support for ns_xml 1.4, and added work-arounds for previous versions.

- added installer check for ns_xml compatibility at boot time.

  1. … 3 more files in changeset.

1. Added a new attribute to the .info file which tells the bootstrap

installer whether or not a package is part of the acs-core. Only

acs-core packages are now installed during the initial bootstrap install

of the system.

2. Fixed a dupe query name problem in a couple of queryfiles. The problem

is not with the dispatcher but with the extractor, and for the moment it

is just easier to kludge the resulting queryfile than fix the extractor.

  1. … 34 more files in changeset.
new version of QD with better handling of absolute/relative paths

    • -2
    • +5
    ./create-administrator-2-postgresql.xql
  1. … 9 more files in changeset.
ported a few more queries

    • -0
    • +11
    ./create-administrator-2-postgresql.xql
  1. … 4 more files in changeset.
query dispatcher now works with global RDBMS tags, and attempts to work on relative paths (although that's not finalized)

    • -0
    • +11
    ./create-administrator-postgresql.xql
  1. … 3 more files in changeset.

Moved the bootstrap and installer stuff into their own mini-package, which

let me clean up the loading of acs-tcl a bit and isolate all the bits of

APM-knowledge required in the pre-acs-tcl bootstrapping process into a single

apm file. In general, bootstrap.tcl is cleaner and easier to read.

    • -0
    • +127
    ./auto-install.tcl
    • -0
    • +59
    ./create-administrator-2.tcl
    • -0
    • +87
    ./create-administrator.tcl
    • -0
    • +72
    ./install-data-model.tcl
    • -0
    • +54
    ./packages-install.tcl
  1. … 30 more files in changeset.