• last updated 3 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. … 1 more file in changeset.
allowing for 3 character ISO 639-2 language codes

  1. … 7 more files in changeset.
prevent functions from failing in the event that the url does not parse

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.
issuing a debug level warning when deprecated procs with the warn flag are invoked

when an xql query is not loaded because of too high version number in the xql file - issue an error message in the log file

Merging changes from oacs-4-6

- With the help of Michael Cleverly, fixed the namespace code so procs

declared like ::foo::bar would work, by only trimming the first ::

- Moved the uplevel'd call to namespace current to the if statement,

to avoid it being called unnecessarily.

- Merge ad_proc documentation improvements to HEAD.

- Added Michael Cleverly's example of use of arguments for boolean

parameters (found in http://openacs.org/forums/message-view?message_id=50519)

to ad_proc's documentation. Thanks for the pointer Jeff! Made boolean

and named parameters explanation clearer.

making sure the acs-tcl test procs are source after the Tcl libraries of acs-automated-testing are sourced

  1. … 1 more file in changeset.
- Add lots more documentation to ad_proc. Even old-time #openacs'ers

(myself included) didn't know how the (formerly undocumented) :boolean

attribute for name parameters worked (thanks Til!).

- Added example to ad_proc's docstring.

Merge of all changes from oacs-4-6 to HEAD. All changes up to tag jcd-merge-2

on oacs-4-6 are included.

  1. … 33 more files in changeset.
adding the Message Catalog APM file type to the TCL API

if there is no full query for a db statement and the default query in the tcl file is empty, raise an error and inform the developer about this (crash early)

merge from oacs-4-6

  1. … 109 more files in changeset.
When query dispatcher lookup fails and the default SQL is empty, bomb.

tone down QD messages bug 1772/patch 473 Bart Teeuwisse

ad_find_all_files was broken for files with spaces

make some procs -public (like empty_string_p)

- Patch by Michael Cleverly for the APM to throw warnings if it's skipping

files in the .tcl directory of packages because they are not -procs or

-init

documentation cleanup

  1. … 1 more file in changeset.
fix calls with literals instead of variables

  1. … 3 more files in changeset.
added ad_proc docs to procs and an ad_proc stub for if ad_proc absent

    • -80
    • +171
    ./40-db-query-dispatcher-procs.tcl
cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 692 more files in changeset.
reduced debug output by setting db_qd_log level to QDDebug in most log stmts

    • -45
    • +56
    ./40-db-query-dispatcher-procs.tcl
don't make assumptions about what namespace we are upleveling to, when upleveling we must fully qualify the procs we are calling, for example we should say "set foo [uplevel {::set bar greble}]"

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.
fixed version checking error