• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
I've changed "timestamp" to "timestamptz" and have begun fixing some

code that used to be legal but as of PG 7.3 is not. You can no longer

subtract an integer from a timestamp but must cast to date, "timestamp"

disappeared (must use "interval" now), "datetime" disappeared ("timestamptz"),

and suchwhat.

Not done but closer than it was before ...

  1. … 52 more files in changeset.
fixes drop bookmark__new, and dont drop bm_bookmarks_idx2 since not created bug 235 patch 75 Simon Carstensen

merge bartt PG 7.3 fixes from HEAD

  1. … 53 more files in changeset.
Patches to make OpenACS PG 7.3 compatible.

  1. … 53 more files in changeset.
merge from oacs-4-6

    • -0
    • +58
    ./sql/postgresql/upgrade/upgrade-4.1.1b-4.6.sql
  1. … 124 more files in changeset.
Fixing bug 1913. Disallow link checking on bookmarks you do not have (delete) rights on.

Applied patch #500 for SDM # 1912 from Ken Kennedy: Can't change bookmark parent_id

file upgrade-4.1.1b-4.6.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-4.1.1b-4.6.sql
- Upgrade scripts for acs-content-repository, acs-events, acs-kernel, acs-mail, acs-service-contract, bookmarks, faq, file-storage, news and search

- Bumped version of above packages to 4.6

- Fixed the view/sequence hack in apm-create so that APM package edit UI works in PG 7.2

    • -0
    • +58
    ./sql/postgresql/upgrade/upgrade-4.1.1b-4.6.sql
  1. … 29 more files in changeset.
cleanup on .xql files, add rdbms tags to db specific files, clean XML, etc

  1. … 29 more files in changeset.
fix some spelling errors

  1. … 23 more files in changeset.
fix inccorect ad_script_aborts

  1. … 1 more file in changeset.
more abstract URLs

  1. … 48 more files in changeset.
ns_return->ad_return, ad_script_abort, redirect to absract urls

  1. … 46 more files in changeset.
Attempt to prevent inadvertently uploading bookmarks to

another users account. Bug 1626/patch 326 Cathy Sarisky

(although modified to still allow submission but prominently

display "Not in your account")

cleanup javadoc tags (eg @cvs_id @cvs @cvs-id: instead if @cvs-id)

  1. … 678 more files in changeset.
remove superfluous package local masters and use sitewide master by default

  1. … 687 more files in changeset.
use sitewide master ever with head_content set

add link to bookmark and mailto on detail page

Patch 324 for Bug 1504 by Cathy Sarisky

Applied patch #315 for SDM # 1595 from Peter Marklund: Can't delete bookmark in PG

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.
in tree.tcl: removed extension .tcl from links

in index.adp: removed extension .tcl from tree.tcl

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!

    • -4
    • +10
    ./sql/postgresql/bookmarks-create.sql
  1. … 18 more files in changeset.

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

    • -81
    • +47
    ./sql/postgresql/bookmarks-create.sql
    • -10
    • +6
    ./tcl/bookmarks-init-postgresql.xql
    • -38
    • +23
    ./tcl/bookmarks-procs-postgresql.xql
    • -2
    • +1
    ./www/bookmarks-user-list-postgresql.xql
    • -14
    • +6
    ./www/permissions-reset-all-2-postgresql.xql
    • -14
    • +6
    ./www/permissions-reset-all-postgresql.xql
    • -18
    • +10
    ./www/tree-dynamic-postgresql.xql
  1. … 50 more files in changeset.

Some more speeding-up type activity...

Fixed folder toggle to show/hide bookmarks under folders...

    • -31
    • +31
    ./sql/postgresql/bookmarks-create.sql
Adding my_bookmarks_select query to index-oracle.xql

Added my_bookmarks_select query to index-postgresql.xql to allow views of own bookmarks to avoid permissions_p hit