• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Updated .info files of all core packages to version 4.5

  1. … 22 more files in changeset.
Merged with the 4.5 branch (oacs-4-5 tag "don-merge-1")

  1. … 55 more files in changeset.
Fixed link at bottom of 'Watch file' page

Mostly fixed subsite issues with the PG version.

  1. … 2 more files in changeset.
fixed broken query

    • -29
    • +33
    ./www/users/member-state-change-oracle.xql

Added Lars Pind's patch #196 which lists out packages that didn't install

along with a reason.

Applied Tilmann Singer's patch #205 which sets the admin e-mail address as

the "from" field for e-mail mailed to a newly-registered user.

Merged with OpenACS 4.5 beta1 branch.

  1. … 88 more files in changeset.

Applied Lars Pind's patch #176, which added a "method=post" to the "force

install" form on this page.

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. … 70 more files in changeset.
if there is a return_url use it before the email page is presented, maybe the programmer wants this behaviour

Added C. R. Oldham's patch to fix membership testing (unimplemented in ACS

4.2). Ported it to PG on the way ...

  1. … 9 more files in changeset.
patch 157 applied

fixed up uniqueness of package_key

yet another .tcl extension removal from links

  1. … 1 more file in changeset.
removed .tcl extension from redirects

fixed some unported queries from the old code, scary!!!

    • -1
    • +13
    ./www/users/member-state-change-postgresql.xql
applied patches 145,146,148, ignore patch 147. Patches by Gilbert Wonf. Fixes problems with email verification

    • -1
    • +1
    ./www/users/member-state-change-oracle.xql
    • -6
    • +10
    ./www/users/member-state-change-postgresql.xql
cleaned up and fixed some bugs

    • -49
    • +0
    ./www/users/member-state-change-postgresql.xql
    • -38
    • +25
    ./www/users/member-state-change.tcl
  1. … 2 more files in changeset.
added referer variable so that i can use this code as a plug-in

Fixed the 4K character limit on session properties for Oracle by making an

optional "clob" value available. The APM wouldn't let me load any packages

when I added all the dotLRN packages plus standard packages over to a new

"dotlrn" user from my normal "acs" user - the list of packages grew to

> 4KB in size! Grrrr!

  1. … 5 more files in changeset.

After importing openacs.org users, forums and messages I discovered that it

took literally several minutes to load the APM's home page. This was due

to a rather stupid subselect of the form:

select count(*)

from content_revisions r

where r.revision_id = content_item.get_latest_revision(item_id)

where item_id comes from the package versions table.

It's stupid in both PG and Oracle because get_latest_revision already

joins the latest_revision_id value from cr_items with the content

revisions table thus a simple check for a null return by get_latest_revision

would be sufficient.

It's *really* stupid in Oracle because Oracle won't use the index on

revision_id when checking NULLs so we get two sequential scans of the

cr_revisions table tucked into that one itty-bitty subquery (itself called

once for each package version in ths system).

Which explains why I hadn't noticed it while working on scalability testing

in PG - PG uses the index because its btree index structure handles NULLs.

Meaning this query only fell apart at a rate of O(log2(R)) rather than O(R)

as in Oracle (R being the number of revision objects in the system).

My solution was to rewrite the subselect using "case" rather than "count(*)"

and also to speed up get_latest_revision by having it check for NULL and

return NULL immediately rather than execute the query (in PG this is

accomplished by declaring the function "isstrict", and the executor won't

even call the function if the argument's NULL, making it REALLY fast!).

  1. … 2 more files in changeset.

1. Modified the Javascript "check/uncheck all boxes" code in the APM

package install page so that it still works if javascript's disabled.

2. Slight rewrite of a view in bboard.

3. Skin works in OpenACS Oracle/PG - changed info file to reflect this.

4. Added clean error handling to wimpy point attachment upload page.

  1. … 3 more files in changeset.
Implement check/uncheck all with Javascript (SDM patch #86)

Add ad_return_top_of_page to pages which start with an ns_write to

make sure HTTP headers get returned

Bootstrap installer was installing packages that don't work with the

current RDBMS (search vs. Oracle in particular)

  1. … 2 more files in changeset.

1. Fixed APM bug - updating a package failed due to an unported query.

2. Updated the version number for version control.

    • -0
    • +15
    ./www/apm/packages-install-3-oracle.xql
    • -0
    • +15
    ./www/apm/packages-install-3-postgresql.xql
  1. … 1 more file in changeset.

Fixed a couple of minor problems:

1. A typo in version-edit-2 that didn't really impact anything

2. A "triggered data change" error caused by apm-create.sql

3. restore-user flat-out didn't work and aD had never tested it

  1. … 2 more files in changeset.

Fixed db_blob_get for PG, and got rid of db_continue_transaction, which we

can no longer support because PG automatically aborts a transaction after an

error.

    • -15
    • +1
    ./www/tests/db-api-acceptance-test.tcl
  1. … 4 more files in changeset.
*** empty log message ***

  1. … 4 more files in changeset.