• last updated 32 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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

Improve idiom (port from downstream)

Port of downstream changes: revoke the automatically assigned calendar_admin permissions to the creation user when a new calendar is added to a community via the applet, as they are not actually needed

Allow only one format for the 'date' query parameter, bringing the page contract in line with the "Go to date"-form on this page from which this value is supplied.

    • -2
    • +2
    /openacs-4/packages/calendar/www/view.tcl
Validate field names when these might come directly from the POST request and therefore contain arbitrary text

Now that oneof filter can handle a wider range of formattings, prefer this filter to manual validation

Prefer literal to noquote in template properties

  1. … 12 more files in changeset.
Prefer literal to noquote in template properties

Handle acs-mail-lite conf regarding the recipient in the test

Make sure test email is fine even when usernames are emails

Use lowercase letter to append to the fake username, so that if it should be an email, it will still be valid

Replace calls to deprecated call "util_commify_number"

Use lc_numeric instead

revert escaped version

reduce verbosity

reduce verbosity

improve comments