• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix wrong icon in "classic" mode (using images)

added warnings/errors in case outdated code is encountered

ensure year has only 4 digits

  1. … 3 more files in changeset.
Allow to deactivate client-side double click prevention by setting DefaultPreventDoubleClickTimeoutMs to 0

  1. … 1 more file in changeset.
added package parameter DefaultPreventDoubleClickTimeoutMs for default timeout of double click handler

  1. … 1 more file in changeset.
added double-click prevention class to submit widget

allow passing of template variables as icon name (which are resolved later)

There is no year zero in the Gregorian calendar

added sitemap icon

extended adp:icon

- added the feature "invisible" to <adp:icon....>

- added generic names "admin", "cog", "folder-add", "permissions", "search", and "unmount"

- added an overview page of adp-icons to the sitewide admin page

- bumped version to 5.10.1d22

  1. … 3 more files in changeset.
UI improvements

- fixed link for reloading on apm/version-view page

- added generic icon name "check" (common icon name for checkmark)

- bumped version of acs-templating to 5.10.1d21

- bumped version of acs-admin to 5.10.1d3

  1. … 5 more files in changeset.
adp:icon: quote content of the "title" attribute

improved adp:icon support

- added images for arrow left and arrow right

- added arrow-left and arrow-right to the list of all supported icon sets

  1. … 5 more files in changeset.
reduce verbosity

provided a helper proc to query the mapping of a generic icon name to a concrete

This function is necessary in boundary cases, where e.g. a display_template passes the generic

name of the icon via template variables which have to be

@-substituted before adp-tag resolution, which performs the

regular icon name mapping (otherwise, the tag resolver receives

e.g. ...name=@icon@...)

  1. … 3 more files in changeset.
prefer adp:icon over old-style .gif and .png mages

  1. … 2 more files in changeset.
prefer adp:icon over old-style .gif images

  1. … 2 more files in changeset.
Rset, rather than count, existing handlers in the test

improve spelling

  1. … 7 more files in changeset.
Make so that the path where the file is stored is returned by the request, in a way that should be correct on MacOS where the temp folder is user specific and cannot be therefore assumed to be /tmp for everyone

provide img icon for reload operations

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

  1. … 1 more file in changeset.
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

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.

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

  1. … 1 more file in changeset.
reduce verbosity

improve comments

Document public api

  1. … 1 more file in changeset.