• last updated 20 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Upgrade to 4.6.2: Added Tcl API for definining contracts and implementations

    • -18
    • +41
    ./tcl/acs-service-contract-procs.tcl
    • -0
    • +0
    ./tcl/implementation-procs-postgresql.xql
    • -0
    • +11
    ./tcl/msg-type-procs-postgresql.xql
A bunch of things

1. AOLserver 4.0's nsxml appears to expose a gcc bug which causes the

backwards-compatible "getattr" command to fail. I dug around nsxml

and it does appear to be a gcc bug. I changed to the proper nsxml v2

syntax.

2. In the course of exploring #1 above, I realized that the calls to

dom:: Tcl XML package commands were still being executed despite

being commented out. Typical Tcl misunderstanding on someone's part.

Net effect: we were parsing all APM .info files twice, once in Tcl

and once in ns_xml! Yuk!

3. Fixed a minor notifications bug - you couldn't delete a notification

request if any unsent notifications were pending, causing the homework

package to bomb if you deleted an uploaded homework file and the prof

hadn't yet received their notification.

4. Fixed an obscure corner case in my permissions denormalization code.

    • -1
    • +1
    ./sql/postgresql/acs-sc-packages-drop.sql
  1. … 15 more files in changeset.
various Oracle bug fixes (such as missing queries), bumping up version and provides to 4.7d2 as the new Bug Tracker and Workflow will rely on these fixes

    • -9
    • +11
    ./tcl/acs-service-contract-procs.tcl
    • -13
    • +21
    ./tcl/implementation-procs-oracle.xql
    • -0
    • +14
    ./tcl/implementation-procs.xql
    • -11
    • +0
    ./tcl/msg-type-procs-postgresql.xql
    • -0
    • +13
    ./tcl/msg-type-procs.xql
Added Tcl API for defining contracts and registering implementations

    • -17
    • +38
    ./tcl/acs-service-contract-procs.tcl
    • -0
    • +82
    ./tcl/contract-procs-oracle.xql
    • -0
    • +73
    ./tcl/contract-procs-postgresql.xql
    • -0
    • +233
    ./tcl/contract-procs.tcl
    • -0
    • +46
    ./tcl/implementation-procs-oracle.xql
    • -0
    • +46
    ./tcl/implementation-procs-postgresql.xql
    • -0
    • +185
    ./tcl/implementation-procs.tcl
    • -0
    • +34
    ./tcl/msg-type-procs-oracle.xql
    • -0
    • +44
    ./tcl/msg-type-procs-postgresql.xql
    • -0
    • +124
    ./tcl/msg-type-procs.tcl
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.
Added acs-kernel dependancy for proper loading order. (At the request of pluto@objectrealms.net)

merge from oacs-4-6

    • -2
    • +3
    ./sql/oracle/upgrade/upgrade-4.5-4.5.1.sql
    • -0
    • +19
    ./sql/oracle/upgrade/upgrade-4.5.1-4.6.sql
  1. … 106 more files in changeset.
file upgrade-4.5.1-4.6.sql was initially added on branch oacs-4-6.

    • -0
    • +0
    ./sql/oracle/upgrade/upgrade-4.5.1-4.6.sql
    • -0
    • +0
    ./sql/postgresql/upgrade/upgrade-4.5.1-4.6.sql
  1. … 2 more files in changeset.
- 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

    • -2
    • +3
    ./sql/oracle/upgrade/upgrade-4.5-4.5.1.sql
    • -0
    • +19
    ./sql/oracle/upgrade/upgrade-4.5.1-4.6.sql
  1. … 27 more files in changeset.
contract display, better error handling in acs_sc_proc, document API some

    • -24
    • +60
    ./tcl/acs-service-contract-procs.tcl
new contract display page

file contract-display.adp was initially added on branch oacs-4-6.

    • -0
    • +0
    ./www/contract-display.adp
file contract-display.tcl was initially added on branch oacs-4-6.

    • -0
    • +0
    ./www/contract-display.tcl
document API somewhat, add contract browser

    • -24
    • +60
    ./tcl/acs-service-contract-procs.tcl
Improved the error message when a binding fails

remove superfluous package local masters and use sitewide master by default

  1. … 700 more files in changeset.
pass title and context_bar to master template

fixed typos in my addition of acs_sc_impl_alias package

    • -4
    • +4
    ./sql/oracle/acs-sc-packages-create.sql
    • -7
    • +6
    ./sql/oracle/upgrade/upgrade-4.5-4.5.1.sql
Re-added fixes that didn't get merged in from 4.5

1) bboard-procs-postgresql.xql

2) etp-procs-oracle.xql

3) subsite/www/admin/users/new-postgresql.xql

4) SQL fix in acs-kernel/sql/postgresql/apm-create.sql

Edited the acs-kernel upgrade script that JonG initially created (PG)

Created an oracle upgrade script

Added upgrade scripts that i had written for 4.5b->4.5 back in (didn't get merged)

Update the acs-kernel .info file to 4.5.1

  1. … 8 more files in changeset.
1) Fixes Bug 1645

2) Adds acs_sc_impl_alias pacakge to Oracle version so it's consistent with PG version

3) Adds upgrade script for above changes

    • -32
    • +100
    ./sql/oracle/acs-sc-packages-create.sql
    • -0
    • +339
    ./sql/oracle/upgrade/upgrade-4.5-4.5.1.sql
reduced debug output by adding acs_sc_log proc and setting level to SCDebug in most logging stmts

    • -2
    • +14
    ./tcl/acs-service-contract-procs.tcl
updated version to 4.5

  1. … 15 more files in changeset.
was out of sync with postgres version, was missing timestamp type

    • -1
    • +2
    ./sql/oracle/acs-sc-msg-types-create.sql
Updated .info files of all core packages to version 4.5

  1. … 22 more files in changeset.

Fixed trailing semicolons in queries that Oracle doesn't like.

Applied patch submitted by Dave Bauer - acs_sc_impl_alias__delete was missing

a parameter.

Someone had written this script to do the drops in a PL/SQL block, can't

do that.

Changed names of oracle views to be consistent with PG.

adding provides clause

1. Added session-update.tcl, a small utility which somewhat safely allows

you to put up a link that changes a session_property, for instance to

change the number of items displayed or that sort of thing. The caller

must sign their values and URL, which are verified by the callee via

ad_page_contract. If the referrer doesn't match the signed expected

referrer, you get bounced. I think this is reasonably secure (though

permissions should always be rigorously checked on all pages, of course)

2. acs_events had an html_p flag in the datamodel but no way to set it.

Fixed. It should really be a mime-type but since it's not using the

CR, and since I'm extremely busy with other stuff, I didn't fix it.

3. While doing #1 above I learned that signing and verifying arrays didn't

quite work. Fixed.

4. Found and fixed a small problem with my earlier work on the currency widget.

  1. … 13 more files in changeset.