• last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file recylce16.png was initially added on branch oacs-5-10.

modernize test

use values with size dimensions

white-space changes

fix img alt text

replace ASCII middot by proper UTF8 middot, since the ASCII middot is no valid UTF-8

added heuristic for xowf regression test, when no icon sets are installed

improve log message

show that test fails under macOS

Fix acs-templating templates_and_scripts test, the multirow is called "body_script" with no s

Define js snippet as an onload handler with identifier so that it is loaded only once

imrpove spacing for shuffle options for bootstrap 5

improve naming of function

improve spacing on inline radio boxes in bootstrap5 (many thanks to Monika Andergassen)

    • -1
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
create indices on FK constraints

file upgrade-1.1.5d5-1.1.5d6.sql was initially added on branch oacs-5-10.

Cleanup leftover variables

Formatting changes

Modernize page contract

Cleanup commented code

Delete obsolete scripts (feature uses since a long time the own object's download method)

Delete obsolete file, which is in fact a universal downloader

provide double click prevention for form actions in workflows

    • -0
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Support for handler for double-click prevention via CSS class

This change makes it possible to provide a double click prevention for

HTML elements via the CSS class "prevent-double-click". The double

click prevention deactivates a button or an anchor element after

clicking for a short time (per default for 1s) and ignores in this

time window further clicks. The time window can be specified via the

data element oacs-timeout. When a double click occurs, the duplicate

click is determined at the client side (in the browser) such that the

first request will continue to run and will render its result when

finished. Without double-click prevention (or with the

double-click-prevention on the server side), the results of the first

request are lost for the client, although these are still computed at

the server side.

Usage Example:

<p>text with a <a class="prevent-double-click" data-oacs-timeout="2000" href="/slow.tcl?t=10s">link</a>

<p>

<form action="/slow.tcl">

<input class="btn prevent-double-click" data-oacs-timeout="2000" type="submit" value="Submit">

...

</form>

By reactivating the button automatically after the timeout, this

approach works also reasonable well when opening additional tabs or

browser windows.

The handler and implementation are designed to work with streaming

HTML, provided that "template::collect_body_scripts" is called (like

the reset of the template::* styling interface).

When HTML elements are deactivated, the DOM property "disabled" is set

as well as a CSS class "disabled". Since disabled anchors are

visually not different from non-disabled anchors, this CSS class can

be used for styling disabled anchors differently.

Improve performances of the applications list

Whitespace cleanup

Styling improvements for exam answering workflows (many thanks to Monika Andergassen)

- provide explicit text to "next" and "previous" buttons in pagination menu

- align appearance of "next" and "previous" buttons in pagination menu with GitHub

- removed class "input-group" for compound fields to improve appearance

- bumped version number of xowf to 5.10.1d48

adp:icon: extended list of generic names and support reloading

- adp:icon: added "next" and "previous" to generic names

- moved variable ::template::icon::map from *init.tcl to style-procs.tcl

to support changes via dynamic reloading via package manager

- bumped version number to 5.10.1d17

fix markup of documentation block

Port of downstream changes: grand admin permissions also on the admins of the parent community