• last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Normalize the way the flag is represented in the JSON

Use a trash can icon, instead of all that yellow

Fix expression again

The flag coming from the ajax endpoint is an actual boolean

Make the position for the fullscreen preview sticky, and ensure the fullscreen element is positioned as the first body child, so it is put on top and can get as big as possible

Added support for www-toggle-publish-status

This is needed to avoid a bad interaction with [ad_return_url] as it

is used in www-toggle-publish-status in xowiki, since the workflow

definition unsets the actual return_url, which causes ad_return_url to

use the URL leading to this call (m=toggle-publish-status), causing a

redirection loop.

Version number bumped to 5.10.1d28

    • -1
    • +18
    /openacs-4/packages/xowf/lib/inclass-exam.wf
Added the option to parameterize www-delete and www-toggle-publish-status with return_url

In cases, these www* methods are called programmatically, these can be

now parameterized with an "-return_url" parameter to achieve

e.g. workflow-specific behavior.

Many thanks to Thomas Renner for the analysis on

www-toggle-publish-status.

Version number bumped to 5.10.1d18

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -6
    • +13
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
set arguments to type integer to avoid strange variable names

improve spelling and formulations

Added new interface for calling database functions

This is tested for PostgreSQL and Oracle and the drivers nsdb and nsdbi.

For details, see https://openacs.org/xowiki/calling-database-functions

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
file acs-db-00-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/acs-db-00-procs.tcl
file acs-db-12-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/acs-db-12-procs.tcl
Fixes for Oracle 19c: boolean and timestamp handling, *lobs

- fix boolean permission query

- function "now()" does not exist, use "CURRENT_TIMESTAMP" instead

- revived blob and clob handling in "xo::dc dml" since this is needed

for updating

- modernize Oracle offset/limit handling

- added missing "-dbn" attributes for Oracle xo::dc calls

Modernize code

- use dict instead of Tcl array

- prefer char operations instead of match operations

Fixes for Oracle 19c: boolean and timestamp handling

- a clause "true" is invalid in Oracle SQL (using "1=1" is fine).

- function "now()" does not exist, use "CURRENT_TIMESTAMP" instead

- addressing all attributes in a join via "*" is not allowed, when other

attributes are used as well. Using e.g., "bt.*" is OK.

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -7
    • +7
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
minor cleanup to make code more consistent

avoid deprecated commands

Fixes for Oracle 19c: boolean and blob handling

The original SQL query contained boolean values, and did not handle

blobs, which are used int the Oracle data model for the content

fields.

differentiate between directly and indirectly covered API calls to make output pages easier to interprete

added file content checker for zip, gzip and dump imports

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -11
    • +20
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
The reorder_box must always be treated as a multiple field

Enforce boolean expressions, rather than specific values such as "t" or "1"

Improve keyboard usability: focus the comment textarea when the modal opens and focus back on the comment button when the modal closes

Account for the scrollbar when enlarging the image

Enlarge images to fullscreen when one clicks on them

remove one more case where assumption was that permission returns int

Make use of util::file_content_check and check also in other cases

This change also covers the case, where the checkmark for uploading

zip files was added marked in "upload file". It will also report

errors which were silently swalled before.

Bumped version number to 5.10.1d1

util::file_content_check: new utility for checking content of a file

Check whether the provided file is of the requested type.

This function is more robust and protable than relying on

external programs and their output, but it does not work on

all possible file types. It checks a few common cases that

could lead to problems otherwise, like when uploading archives.

Bump version to 5.10.1d9

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
minor changes: don't complain about postgres internal constraint names, provide hints for oversizing

Don't set height explicitly