• last updated 3 hours ago
Constraints: committers
Constraints: files
Constraints: dates
improve spelling

  1. … 7 more files in changeset.
add themeing support for templated footers

improve CSP in accordance with Google's csp-evaluator.withgoogle.com

  1. … 1 more file in changeset.
make spelling more uniform

  1. … 5 more files in changeset.
reduce verbosity

remove extra "list"

finish uncomplete sentence in documentation

Rework variable assigning loops (set -> lassign)

  1. … 3 more files in changeset.
fix typos

  1. … 7 more files in changeset.
note an idea such it is not forgotten

fix typos

  1. … 4 more files in changeset.
Fix even more typos

  1. … 29 more files in changeset.
Reduce verbosity at runtime

Extend API to allow registration for URNs.

URNs provide an abstraction and a single place for e.g updating

references to external resources when switching between a CDN and a

local resource, or when a resource should be updated. Instead of

adding e.g. a CDN url via tempate::head::add_script, one can add an

URN and control its content from a single place.


template::register_urn \

-urn urn:ad:js:jquery \

-resource /resources/xowiki/jquery/jquery.min.js

  1. … 1 more file in changeset.
Provide developer with the option to declare compound resources (CSS

or JavaScript) to optimize performance or to provide customized

themes. New public function:

template::head::includes -container .. -parts ...

if an included resource is encountered during rendering of the page,

it is ignored. The compound resource management is aligned resource

flushing (when a compound resource is flushed, it stop shadowing

potentially other resources. An additional option could be to

add an "-parts" flag to add_link/add_script.

added simple regression test for basic functionality

  1. … 1 more file in changeset.
New functions for improved theming

template::head::flush_link -href ... -rel ...

template::head::flush_script -src

These functions are the inverse functions of template::head::add_link

and template::head::add_script. These functions are required in

situations where e.g. different subsites with different themes have

different requirements for a style file provide by some application


Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Fix spelling errors

  1. … 44 more files in changeset.
Allow to identify and set handlers also on form fields by form id and field name (confirm and generic ones).

This could be desirable in pages with multiple ad_forms having fields with the same name (and thus no unique id), or other hand made forms not having id field at all.

- improve documentation

- improve comments

- be silent, when specified element does not exist

- new conveniance function "template::add_event_listener"

- improve documentation on "template::add_confirm_handler"

- remove onclick and onkeypress inline scripts in list-procs

- bump version number to 5.9.1d7

  1. … 3 more files in changeset.
- renamve template::add_acs_confirm_handler into template::add_confirm_handler

  1. … 9 more files in changeset.
- generalize template::add_acs_confirm_handler to allow as well other event types, such as e.g. "submit"

  1. … 1 more file in changeset.
-Quoted sqared parenthesis in javascript giving problems to subst.

-Removed unnecessary call again to template::add_body_script

- added new function template::add_acs_confirm_handler for standardized confirm interactions ("are you sure") in order to get rid of onclick handlers

- bump version numbers to reflect dependencies

  1. … 1 more file in changeset.
- add fallback for non CSP 2 compliant browsers for "head::add_script -script ..."

- template::head::add_style: don't add identical entries multiple times