• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add type_id to object-goto URL, we can't get the notification type from

the object_id alone.

adding support for Tcl proc package callbacks. Currently only supporting after-install and after-instantiate callbacks (next up is after-mount). There is no UI yet.

    • -26
    • +207
    /openacs-4/packages/acs-tcl/tcl/apm-procs.tcl
    • -35
    • +60
    /openacs-4/packages/acs-tcl/tcl/apm-xml-procs.tcl
    • -12
    • +43
    /openacs-4/packages/acs-tcl/tcl/apm-xml-procs.xql
    • -0
    • +181
    /openacs-4/packages/acs-tcl/tcl/test/acs-tcl-test-procs.tcl
Modified to query the notification_types table for the service

contract implementation to grab the url when redirecting to the object page.

adding a table to the APM for holding Tcl proc callbacks invoked after installation, instantiation etc. of packages

changed target_url to allhtml in add-adv-2.tcl closes bug 137

changing to require bulk-mail version 0.1d (highest available) instead of 0.1a

Fixing APM dependency bug. When installing new packages, the version comparison among the packages to install would use a simple Tcl comparison rather than the version_name_greater plsql proc (i.e. version 0.1a would be considered less than 0.1d). I changed to use the plsql proc instead

backing out a change I made by mistake from the translation server. The lang::audit::created_message is a proc that is used only on that server and I have no plans yet to add it to cvs

- Press doesn't support PG yet

- Press doesn't support PG yet

In some cases when file not in DB yet, static_page_id was referenced

but not yet set at all, fixed.

- Overhauled sp_maybe_create_new_mime_type to no longer have ANY side

effects (fixes bug 145).

- sp_sync_cr_with_filesystem_internal is now robust to errors caught

in do_sp_new (calling static_page.new), it continues on with other

files.

- Removed a few unnecessary ns_logs.

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

adds */* mime type, bump version from 4.6 to 4.6.1 and provide an upgrade script (*/* added by Lars on HEAD)

- Merge ad_proc documentation improvements to HEAD.

- Added Michael Cleverly's example of use of arguments for boolean

parameters (found in http://openacs.org/forums/message-view?message_id=50519)

to ad_proc's documentation. Thanks for the pointer Jeff! Made boolean

and named parameters explanation clearer.

Added checkbox option to delete package files instead of automatically

removing them frm the filesystem.

Added -remove_files boolean switch to apm_package_delete to optionally

remove files fromt he filesystem.

Added checkbox option to delete package files instead of a mandatory delete.

Added a -remove_files boolean switch to apm_package_delete to make

delete of package files optional.

- fix to allow display of daily/weekly scheduled procs. closes bug 170

making sure the acs-tcl test procs are source after the Tcl libraries of acs-automated-testing are sourced

adding the proc apm_supported_callback_types for the new package callbacks. Making apm_load_packages take arguments to make it optional to source libraries and queries (only load tests, needed for acs-tcl)

with help from Jeff and Lars making the util_sets_equal_p proc do the right thing

moving dotLRN documentation from dotlrndoc package to dotlrn/www/doc

    • -0
    • +186
    /openacs-4/packages/dotlrn/www/doc/architecture-overview.adp
    • -0
    • +209
    /openacs-4/packages/dotlrn/www/doc/dotlrn-faq.adp
    • -0
    • +381
    /openacs-4/packages/dotlrn/www/doc/dotlrn-install.adp
    • -0
    • +15
    /openacs-4/packages/dotlrn/www/doc/index.adp
    • -0
    • +2
    /openacs-4/packages/dotlrn/www/doc/master.adp
    • -0
    • +286
    /openacs-4/packages/dotlrn/www/doc/nomenclature.adp
    • -0
    • +89
    /openacs-4/packages/dotlrn/www/doc/permission-api.adp
    • -0
    • +248
    /openacs-4/packages/dotlrn/www/doc/permission-overview.adp
    • -0
    • +98
    /openacs-4/packages/dotlrn/www/doc/permission-portals.adp
- Fixed double declaration of function acs_attribute__create_attribute, with

same arguments. Thanks for Stan Kaufman on #openacs for reporting this.

setting upgrade status for a message key to deleted if the en_US message is deleted. This is unfortunately another example in the I18N code where we are assuming the presence of the en_US locale and that translation is done from this locale.

- Add lots more documentation to ad_proc. Even old-time #openacs'ers

(myself included) didn't know how the (formerly undocumented) :boolean

attribute for name parameters worked (thanks Til!).

- Added example to ad_proc's docstring.

I18N: committing all the message catalog files from the dotLRN translation server. Kudos to all our translators for this contribution.

  1. … 320 more files in changeset.
Creating and running through workflows with both API-style and array-list style

    • -28
    • +159
    /openacs-4/packages/workflow/tcl/action-procs.tcl
    • -20
    • +18
    /openacs-4/packages/workflow/tcl/case-procs.xql
    • -8
    • +138
    /openacs-4/packages/workflow/tcl/role-procs.tcl
    • -0
    • +125
    /openacs-4/packages/workflow/tcl/state-procs.tcl
    • -0
    • +32
    /openacs-4/packages/workflow/tcl/state-procs.xql
  1. … 3 more files in changeset.