• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- fixed 2 missed changes in the interface of pkg_info_new for "embeds"

- new method Page instproc get_html_from_content to factor out behavior to obtain html from the OpenACS richtext widget

    • -10
    • +15
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- Added Michael Arams's patch to create form pages at different places than the form.

Be aware that this might lead to problems with exports

- minor changes to Protocol handlers:

* strip the root-director form both the requested uri and the destinaton

* add OPTIONS to handled methods

* as package_id as instance variable

Admins can modify the role assigned to a workflow action and the privileges required. Allows for less hard-coding of bug-tracker workflows. For example, it is now possible for the resolver to close a ticket. With the hard-coded bt workflow, the submitter always had to close.

Hide "Fix for Version" field if Versions are disabled.

Cleaned up APM handling of inherited parameters so that deletion of

a dependency works well now, the parameters page with the APM only shows

parameters specified in the package (rather than include inherited ones),

and the XML file is correclty written.

1. nsv for package inheritance etc wasn't being set up when an admin

interactively created a new package using the APM UI. Changes for

5.6 for parameter inheritance caused that nsv to be referenced in this

case, while it wasn't for 5.5. This caused an error message in a couple

of instances.

2. Modified the package xml generator to only output parameters defined

for the package itself (rather than all, including inherited ones).

    • -11
    • +16
    /openacs-4/packages/acs-tcl/tcl/apm-xml-procs.xql
Applied patch supplied by RyanG, apparently I'd managed to overwrite part

of this install code.

Fix workflow-edit link

removing the instruction to restart server after package creation per http://openacs.org/forums/message-view?message_id=3340774

Add search box to nav bar.

    • -0
    • +32
    /openacs-4/packages/bug-tracker/tcl/bug-tracker-init.tcl
- add switch "-allow_complete_url" to method returnredirect of class ConnectionContext

reducing UI ambiguity for install_p per http://openacs.org/forums/message-view?message_id=3340774 and my own experience with this feature.

Add form::get_properties

Add form::get_properties

Increase navbar font size (too small in FF).

Fixed test to work with any bug tracker URL.

Bumped version number for 5.6.0a1

    • -4
    • +4
    /openacs-4/packages/acs-tcl/acs-tcl.info
  1. … 8 more files in changeset.
Improved the queries for global/instance params ...

1. First shot at sitewide admin ui for global parameters. You can edit them

from the sitewide admin page list that was previously built for packages

that have a sitewide-admin subdirectory. Package is now displayed for

either the existence of sitewide-admin or global parameters.

2. Did something I'd wanted to do for some time. When Nima added the

parameter_changed callback in acs subsite, he actually *moved* the

set_value call there. I've changed it so it more rationally sets the

value in the parameters page, then calls the parameter_changed callback.

3. Invented a global_parameter_changed callback that works as the regular

parameter_changed callback. This was necessary to avoid breaking existing

uses of parameter_changed.

More testing is required before release (which will hopefully happen

tomorrow, Sunday Apr 4).

The instantiate callback would fail if search was mounted during initial

install (as in a custom install.xml file). It only indexes now if the

init file has been sourced, which will be after server restart if one is

doing an initial install.

Ugh ... finally got inherited parameters right.

Needed to build the subsites package keys cache ...

Added a new "rename-instance" node, useful in particular for renaming

"Main Site" to something more useful.

    • -3
    • +28
    /openacs-4/packages/acs-tcl/tcl/install-procs.tcl
Allow for the specification of "scope" when registering a parameter from

an install xml file.

part 2 of (temp) fix - added bit to sweeper that clears out invalid (unauthorized) notif requests

Finished up PG semantics for global/instance parameters on package upgrade.

The Tcl API stuff to do this should technically be moved down into the

oracle/PG API but 1) it's a fair amount of db-specific work and 2) people

should be using the high level constructs in the first place (and why do

people explicitly register new parameters when they're registered from the

package info file on upgrade in the first place?)

Making global/instance changes work with Oracle

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.