• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix typo

fix typo

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
fix: use variable resolver

fallback to determine the workflow context from the workflow page, needed for call_action

    • -0
    • +3
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Perform less aggressive cache flushing

Furthermore, allow ns_cache_flush in xo::clusterwide

Fix broken link

    • -0
    • +19
    /openacs-4/packages/bug-tracker/www/doc/index.adp
Modernize SQL (use $$ quoting and named function arguments)

Fix typo in variable name "new_nls_language" (must be "new__nls_language")

file upgrade-5.9.2d1-5.9.2d2.sql was initially added on branch oacs-5-9.

Fix typo in variable name "new_nls_language" (must be "new__nls_language")

XOTcl 2.0 improvements

- reduce usage of "instvar"

- make use of variable resolver instead

    • -33
    • +30
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -750
    • +739
    /openacs-4/packages/xowiki/tcl/form-field-procs.tcl
    • -161
    • +128
    /openacs-4/packages/xowiki/tcl/includelet-procs.tcl
    • -22
    • +20
    /openacs-4/packages/xowiki/tcl/menu-procs.tcl
    • -63
    • +50
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -72
    • +68
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
fix variable name

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
make all files in xowiki usable for ::xo::library require ...

Bugfix ad_user_login

-expire flag for ad_set_signed_cookie (and therefore ad_set_cookie) was not specified by ad_user_login and set false per-default. This prevented parameters to set cookie expiration to have an effect, even when -max_age was correctly specified.

Now we set the -expire flag according to the -forever flag.

Bugfix

Decode form variables when a payload is transformed from form-urlencoded to multipart. Fix documentation for -formvars parameter

Fixed typo

Bugfix

Avoid double encoding when content is in the same encoding as that of tcl interpreter

Fix nonsense fconfigure -translation $encoding

Try to make code clearer

Change default editor to ckeditor4

Add warning, when undocumented shortcut is used

Remove wrong first argument

set the displayed_object_id to the forum_id for edit operations

    • -0
    • +1
    /openacs-4/packages/forums/www/message-post.adp
Use package_id as "displayed_object_id" for "item-create" and "revision-add"

    • -0
    • +1
    /openacs-4/packages/news/www/item-create.adp
Improve robustness, when no displayed_object_id is given

CKEditor Reform

- Add basic support for the standard "filebrowser" plugin,

which is part of all CKEditor presets

- The filebrowser plugin supports image uploads to the server and

to browse/select images already attached to this object

(based on displayed_object_id)

- Bump version number to 0.13

reduce verbosity

    • -2
    • +2
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Cleanup of yesterdays changes (based on experiences with learn@wu)

    • -123
    • +171
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Add safety belt in case the page_template is not instantiated

    • -2
    • +8
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Whitespace changes

    • -96
    • +96
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
add missing file

Shared Workflow Definitions (Part 2)

When shared workflow definition are used, a different management of

object specific code is necessary, since one definition seves for many

objects, and it is not freshly created per object. Therefore, a new

concept is introduced for workflow definitions, named "object-specifc"

Instead of writing in a workflow definition

Action save

state initial -actions {save}

[my object] proc foo {} { ns_log notice "===foo==="}

one has to write now:

Action save

state initial -actions {save}

:object-specific {

:proc foo {} { ns_log notice "===foo==="}

}

where the object-specific is evaluated once per request for every

involved workflow instance in the context of the object (a [self]

in this block refers to the object).

In case a [my object] is encountered and sharedWorkflowDefinition is

activated, a warning is produced and the code falls back to old-style

shared workflow definitions.

    • -145
    • +279
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
    • -7
    • +3
    /openacs-4/packages/xowf/www/index.vuh