• last updated 8 hours ago
Constraints: committers
Constraints: files
Constraints: dates
Fix reference in doc

Make template::head::prepare_multirows a private interface: its stated purpose is to be used inside of the blank-master and it has no practical use otherwise

improve spelling

  1. … 2 more files in changeset.
support multi-line messages by using template literals

template literals are available since ES6 (2015)

fix spurious colons

  1. … 4 more files in changeset.
improve spelling

  1. … 42 more files in changeset.
Enable to attach handlers by CSS selector also for template::add_confirm_handler

Modernize javascript idiom

Allow to specify javascrit event handlers at the tcl level using CSS query selectors

Add missing substitution

Added support for streaming HTML + javascript body procs

Previously, the API for bodyscripts (e.g. template::add_body_script,

template::add_event_listener, template::add_body_handler,

template::add_script with the right flags) was not usable for

streaming HTML pages, since the full processing of such scripts was

handled in blank-master.{tcl,adp}, which is not in use for streaming


Now the function template::collect_body_scripts was added, which can

be used at arbitrary time to collect the body scripts and translate

those to HTML. This function can be used in streaming mode to output

these function when new HTML chunks become available.

  1. … 3 more files in changeset.
template::set_css_property: support flag "-querySelector" (in addition to the leass powerful "-class")

white-space changes

  1. … 2 more files in changeset.
internationalize confirm message

  1. … 3 more files in changeset.
template::set_css_propert: generalize function

template::hide: new API function to hide certain CSS classes via javascript

support registration of csp rules for URNs

  1. … 1 more file in changeset.
check, if container resource is really loaded

fix typo in variable name

use same spelling for "i.e." as everywhere else

  1. … 1 more file in changeset.
reduce verbosity

replace hardcoded /tmp by API function [ad_tmpdir]

  1. … 10 more files in changeset.
fix for issue #3400

template::add_event_listener: use more compact form in most simple cases

template::add_event_listener: added documentation of flags "usecapture" and "preventdefault"

revert "-version" change since

- appending the version to the URL is a hack, not compatible with other versioning approaches

- it is not compatible with resource URNs,

- a more complex version managemnt is needed when dealing with

multiple versions in an installation.

Add parameter 'version' also to 'template::head::add_javascript' and 'template::head::add_script'

Add parameter 'version' to both 'template::head::add_css' and 'template::head::flush_link', in order to add a version to certain resources, as a query parameter, to perform 'cache busting' and forcing retrieval of stale files by the browser

support Subresource Integrity (SRI) settings in template::head::add_css (crossorigin and integrity)

added: template::head::can_resolve_urn