• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
More code dealing with instance and global parameter semantics. I finally

have a reasonable model of inheritance and semantics implemented, not

perfect from a language-theoretic point of view, but works well without

having to rewrite every bit of parameter-handling code in acs-core.

Add UI to create global parameters from within the APM package builder.

Display "scope" of parameters on the version parameters page.

Add missing query

Fix dave's fix :)

"object_type" was not defined at the point where a DELETE error was being

logged.

    • -2
    • +2
    /openacs-4/packages/search/tcl/search-procs.tcl
Add missing query for question choices stored in CR filesystem

More global parameters stuff: XML file parsing and package installation

Added a test for global parameter set/get value.

added security check to notifications sweep query - without this check and with no mechanism to remove requests for users who are no longer authorized, notifications still go out. not good.

The check for a blank tab was incorrect, because it didn't check to make

sure elements on the page were visible rather than hidden.

adding vendorwebuid to list to expand web resource opportunities

Oracle now passes the first set of global parameter tests. More to follow

for both PG and Oracle.

Fixed up the apm parameter stuff to the point where I can at least

register and unregister, and cache values of, global parameters. There's

some really funky code here, I also took the time to have the unregister

code use the unregister API in PL/[pg]SQL rather than roll its own.

    • -26
    • +11
    /openacs-4/packages/acs-tcl/tcl/apm-procs.tcl
    • -20
    • +17
    /openacs-4/packages/acs-tcl/tcl/defs-procs.tcl
Victor had made an upgrade script for version d4, and committed it before

I got around to adding and committing mine. So now my tcl upgrade commits

and my datamodel ones aren't synchronized :( But they're dev versions so

no harm should result.

If I'd known global parameters would be such a PITA, would I have TIP'd to

do them?

Turns out we must make a parameter value when a parameter is registered, else

all sorts of stuff dies. This is for PG. Oracle will come soon.

A bunch of stuff related to global/instance parameters.

Added 'embeds' to allowable dependencies.

Restored the data links upgrade script I'd accidently overwritten earlier.

1. added "bio" attribute to user rather than person (initial install was fine)

2. only make package instance parameter values for instance scope params

Use the same pattern for flushing person::name that has been used to cache it (sigh)

Added "-scope" parameter to apm_register_param

And for PG too ...

Same change to pk constraint names as for initial install.

Oops, missing rdbms = pg tag

Changed primary key constraints to meet our naming conventions, because

the slightly non-standard name caused my pretty "no errors" page for this

package to turn red :(.

- fix typo

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- site_node::get_url_from_object_id returns in general a list; make sure to take the first element if only one expected

    • -1
    • +1
    /openacs-4/packages/xowiki/www/portlet-ajax.tcl
- site_node::get_url_from_object_id returns a list, therefore take the first element

- remove "target" from embed options to avoid conflicts