• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix "cellpadding" typo that was causing bboard message list table to be very cluttered.

Fixed some errors in my earlier hacking on hierarchical queries...

  1. … 3 more files in changeset.

Added code to make use of David Walker's wonderfully abusive hack on the

pg_proc table that showed me how to write recursive SQL functions. We now

have good use of the index on tree_sortkey when climbing the tree, woo-hoo!

  1. … 17 more files in changeset.

Oops - I'd previously committed a query with a literal substituted for

:forum_id, done back when I was hacking these queries for greater efficiency

using real test data. I was using psql so I was using literal values...

Changed the representation of tree_sortkeys from "text" to "bit varying".

    • -3
    • +10
    ./www/message-delete-2-postgresql.xql
  1. … 57 more files in changeset.

Changed to the new tree_sortkey comparison scheme. Mostly untested (yet)

will do so shortly!

    • -16
    • +12
    ./tcl/bboard-procs-postgresql.xql
    • -11
    • +6
    ./www/message-move-2-postgresql.xql

1. Replaced more "tree_sortkey like" with "tree_sortkey between" expressions

2. Fixed a bad port of an Oracle query in site-nodes-procs.tcl and removed

a needless outer join from both versions in the process.

  1. … 11 more files in changeset.

Check the comments in postgresql.sql - my previous commit didn't quite work

as expected.

I also removed an ugly assumption made in the PG port in bboard-procs.tcl.

  1. … 1 more file in changeset.

Added "tree_left" and "tree_right" in order to optimize tree queries, which

I did for the bboard package. "LIKE (tree_sortkey || %)" never uses the

index as we thought it did, as it turns out ... see postgresql.sql for

example queries that do.

  1. … 1 more file in changeset.

First round of speedups for verious permissions issues. Key finding is that

the all_object_party_privilege_map is speedy in PostgreSQL and apparently in

Oracle, as well (having re-read some of the optimization threads).

    • -12
    • +16
    ./tcl/bboard-procs-postgresql.xql
  1. … 18 more files in changeset.

Added a comment to this file ...

1. Fixed a boneheaded error in the bootstrapper: "AvailablePool" was being

submitted to a case-sensitive check. Of course AOLserver parameters are

case-insensitive.

2. A recently submitted patch to the db routine that PSQL's source broke

the code if you haven't started postmaster with the "-i" option.

3. Bboard was very, very slow in PG. It is now much faster.

    • -47
    • +13
    ./sql/postgresql/bboard-views.sql
  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.

Bug fixes in the postgres ports of these packages ...

  1. … 2 more files in changeset.

1. Added a new Tcl procedure to the content repository's library, named

cr_write_content, which properly writes content to the connection

regardless of RDBMS and storage type. This simplified a bunch of stuff

(which explains the removed files).

2. Fixed a lot of general comments issues regarding HTML vs. Plain/Text,

attachments, etc.

3. Partially ported glossary.

    • -15
    • +12
    ./tcl/bboard-procs-postgresql.xql
  1. … 75 more files in changeset.
added name method support for content_revision type

  1. … 5 more files in changeset.

Fixed all sorts of cruft uncovered when I decided to fix the bug preventing

file upload in bboard.

  1. … 3 more files in changeset.
Don't use db_dml when calling stored procs. Use db_exec_plsql instead.

Similar to previous fix.

Added missing where clause in "bboard_message_set.message_set_content"

query. Thanks to Louis Zirkel for catching this.

Fix for message-edit-3 blowing up. Tested on both PG and Oracle. Thanks

go out to Louis. - Arjun

"In digging into the code I found that there is a call to

bboard_message_clear_categories which in turn calls db_dml to call a

stored proc. This doesn't seem to work, but changing the db_dml call

to db_exec_plsql seems to have resolved the issue." -- Louis Zirkel

Fix broken threading due to incorrect query name.

Fixed posting error due to incorrect partialquery name.

Added patch form Luke Pond that updates bboard_garbage_collect_postgresql

so that general_comments are prevented from being garbage collected.

Fixes the broken forum page. Wrap else clause of the "messages_select"

query in to_char so that the datatypes of both claues match.

fix small bugs

simple bug fixes

obvious bug fixes

ported all bboard pages for openacs4

    • -0
    • +27
    ./www/attachment-oracle.xql
    • -0
    • +26
    ./www/attachment-postgresql.xql
    • -0
    • +17
    ./www/category-delete-2-oracle.xql
    • -0
    • +13
    ./www/category-delete-2-postgresql.xql
    • -0
    • +13
    ./www/category-delete-2.xql
    • -0
    • +38
    ./www/category-delete.xql
    • -0
    • +16
    ./www/category-edit.xql
    • -0
    • +14
    ./www/category-new.xql
    • -0
    • +13
    ./www/category-subscribe.xql
    • -0
    • +51
    ./www/forum-by-category-oracle.xql
  1. … 83 more files in changeset.
*** empty log message ***

    • -0
    • +116
    ./www/doc/xml/configuration.xml
    • -0
    • +352
    ./www/doc/xml/design.xml
    • -0
    • +66
    ./www/doc/xml/index.xml
    • -0
    • +185
    ./www/doc/xml/installation.xml
    • -0
    • +21
    ./www/doc/xml/intro.xml
    • -0
    • +42
    ./www/doc/xml/notes.xml
    • -0
    • +427
    ./www/doc/xml/requirements.xml
    • -0
    • +57
    ./www/doc/xml/support.xml
    • -0
    • +66
    ./www/doc/xml/top.xml