• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Translate potential null characters in the syndication content with the empty string, so that we do not risk to try (and fail) to insert them in the database

flipping of session_id apparently works without keeping track of the old session_id, so there is no need of keeping track of it

provide stub for wf-specific in none shared workflows

    • -0
    • +4
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Provide a fix for "dom parse -html ..." for adp tags.

"dom parse -html" has two problems with ADP tags like "<adp:icon ...>":

a) If the tag name contains a colon or underscore, the tag is

treated like plain text, i.e. "<" and ">" are converted into

HTML entities.

b) These tags have to be closed "<adp:icon ...>" is invalid.

Several existomg ADP tags have not closing tag.

Therefore, we resolve the ADP tags before parsing the text by

tdom. There should be some future framework support to do this in

general, but until we have this, resolve this problem here locally.

improve message key

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
New method "marshall_all_to_file"

This method is similar to "marshall_all", but exports the objects

directly to a file. This can save memory when exporting a large

collection of objects, since the plain "marshall_all" appends to

string, which can get very large, especially due to Tcl's

"double the size when space is needed" policy during "append"

operations.

    • -1
    • +31
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
New feature for shared workflow definitions: define workflow specific methods

Workflows support since a long time "object-specific" code, which is code

to be executed, when a workflow instance is initialized. Now, in symmetry

to this, one can define "wf-specific" code (e.g. registering methods to

be called directly on the workflow object.

Similar to the call of ":object-specific {...some code...}", one define

additionally ":wf-specific {...some code...}". This comes handy

when e.g. definiing methods directly executed on workflowss, such as e.g.

".../someworkflow.wf?m=summary".

The methods are defined on the WorkflowContainer class, which is only available

on for shared workflows.

    • -15
    • +92
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
improved comments

Small optimization for cachingmode "none": no need to broadcast cache flushing

fix missing colon (many thanks to Marty Israelsen for reporting)

Use NaviServer feature "ns_deletecookie ... -samesite $samesite ..." when available.

fix brackets

The CalDAV functionality was originally developed as an extension of

the calendar package in 2006 by Gustaf Neumann [1], then extended by

Hubert Stickelberger and Nermin Topcagic in 2014 while working on

their master theses, further maintained and extended by Markus Moser,

and refactored and fixed again by Gustaf Neumann in 2019, extended by

regression tests emulating clients from Android, iOS and Thunderbird.

Currently, the package contains 394 tests for regression testing.

The package does not depend on DotLRN, but uses some of its features,

when it is installed.

[1] https://openacs.org/forums/message-view?message_id=436039

    • -0
    • +34
    /openacs-4/packages/caldav/caldav.info
    • -0
    • +23
    /openacs-4/packages/caldav/tcl/caldav-init.tcl
    • -0
    • +1534
    /openacs-4/packages/caldav/tcl/caldav-procs.tcl
file caldav.info was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/caldav/caldav.info
file caldav-test-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/caldav/tcl/test/caldav-test-procs.tcl
file caldav-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/caldav/tcl/caldav-procs.tcl
file caldav-item-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/caldav/tcl/caldav-item-procs.tcl
file caldav-interface-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/caldav/tcl/caldav-interface-procs.tcl
file caldav-init.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/caldav/tcl/caldav-init.tcl
file caldav.en_US.ISO-8859-1.xml was initially added on branch oacs-5-10.

fix for old-style ad_form based forms with radio or checkbox controls for bootstrap 5

These controls were used with a bootstrap3 classes, which had the consequence

that no input was possible for these fields. Probably, similar changes

are as well necessary in other situations as well.

Modernize ical support

Rewritten ical support based on NX instead of XOTcl, following

much closer to the the standards. The interface is compatible

with the old interface. Note that in case, applicatios have

subclassed/extended the xotcl-core ical support, it must be

as well ported to NX (which is an easy task).

Bumped verison number to 5.10.1d8

Modernize ical support

Rewritten ical support based on NX instead of XOTcl, following

much closer to the the standards. The interface is compatible

with the old interface. Note that in case, applicatios have

subclassed/extended the xotcl-core ical support, it must be

as well ported to NX (which is an easy task).

Bumped verison number to 5.10.1d8

    • -200
    • +450
    /openacs-4/packages/xotcl-core/tcl/ical-procs.tcl
improve comment line

For web interface testing, add authorization headers

The change eases testing of packages that are based on HTTP Basic

Authorization. When email and password are provided for the test user

if the HTTP request, an Authorization header is added now

automatically.

Bumped version number to 5.10.1d1

update CSP rules

fix typo

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
tdom sometimes html-escapes unknown tags

Consider code like

#

# dom parse -simple -html $form doc

# ...

# return [$root asHTML]

Unfortunately, this causes that some tags unknown to tdom

(like <adp:icon>) are converted to escaped tags (&lt; ...).

This can be regarded as a bug. To avoid this problem, we

substitute here the adp_tags in advance. This needs more

investigation in other cases.... The potential harm in this

cases here is very little, but probably, there are other

cases as well where this might harm.

    • -2
    • +17
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Provide localization for hardcoded text

Normalize message key sorting in the catalog files