• last updated 21 hours ago
Constraints: committers
Constraints: files
Constraints: dates
support Subresource Integrity (SRI) settings in template::head::add_css (crossorigin and integrity)

added: template::head::can_resolve_urn

Add URN-resover for add_body_script

improve spelling

  1. … 13 more files in changeset.
Add new utility to trigger a browser refresh when we reach a page by the browser's history

Useful e.g. for those pages implementing some server push interaction, where browser might have 'missed out' events while on another page

improve capitalization and wording in comments

  1. … 6 more files in changeset.
use capitalization consitently

make spelling more consitent

  1. … 2 more files in changeset.
improve URN registration: handle cases where the same URN is registered multiple times (prefer local over CDN, provide warnings)

Fix parameter names in proc doc

  1. … 2 more files in changeset.
improve spelling

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