• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Cleanup of acs_object_context_index' and friends in creation scripts

This change completes the commit [1] from 2019, where the cleanup was performed

acs_object_context_index and its maintenance functions just as an update script.

This change addresses this also in the creation scripts and in packages, still

depending on the old functions.

[1] https://fisheye.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Ahectorr%3A20190708160122

file upgrade-5.10.1d11-5.10.1d12.sql was initially added on branch oacs-5-10.

added configurability to watchodg

The pool remapping watchdoc con now be configured with

"-maxWaiting" and "-maxRunning"

fix comment

provide img icon for reload operations

main purpose is to provide a more reasonable look&feel when no iconsets are installed.

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