• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
remove circular dependency (acs-subsite 5.10.1d2 needs acs-templating 5.10.1d6, acs-templating 5.10.1d6 needs acs-subsite 5.10.1d2)

Improved toolkit support for homogeneous theming and appearance

This change included new tags for rendering icons and toggles. The

change makes it possible that an unchanged markup of icons can be

adapt itself according to a theme or a manual configuration. One can

use e.g. for Bootstrap 3 glyphicons, and when changing the theme to

Bootstrap 5, then bootstrap icons are used.

Furthermore, the new markup eases maintenance and helps to achieve a

consistent look-and-feel also, when design decisions are altered.

Both, bootstrap-icons and glyphicons are font-based. This leads as

well to a better user experience, since the number of requests are

substantially lower than with the previous approach based on .gif and

.png files. When the iconset is set to "classic" (package parameter in

acs-subsite), the old image files are used.

- new tag: <adp:icon name="NAME" title="..." style="..." class="...">

Icon-names available for all iconsets:

edit

trash

radio-checked

radio-unchecked

checkbox-checked

checkbox-unchecked

arrow-down

arrow-up

The page acs-admin/package/bootstrap-icons/sample contains more

detailed information, including the names which are identical

between bootstrap 3 and 5.

- bumped version number of acs-templating to 5.10.1d6

  1. … 2 more files in changeset.
Improve message key and translations

  1. … 3 more files in changeset.
Update italian localization

  1. … 1 more file in changeset.
Return a 422 complaint, introduce a generic error message when an item is invalid

  1. … 3 more files in changeset.
Provide a message key for help text, localize in German

  1. … 2 more files in changeset.
A simple image captcha implementation:

a random text is converted to a distorted image, its checksum, together with the expected text are stored in a lookup table. Upon validation, the text input by the user is matched against the checksum to determine if the captcha is correct.

Plan is to use it downstream on certain publicly available contact forms.

  1. … 8 more files in changeset.
added a "-verbose" flag to template::themed_template and template::resource_path to ease debugging

  1. … 1 more file in changeset.
fix release dates in .info files

  1. … 82 more files in changeset.
release work

  1. … 204 more files in changeset.
bump version numbers of 5.9|5.10 packages to 5.10.0b1

adjust dependencies

  1. … 87 more files in changeset.
Update italian localization

  1. … 3 more files in changeset.
Update es_ES translation

  1. … 1 more file in changeset.
Update es_ES translation

  1. … 7 more files in changeset.
Port of downstream HTML5 date and time form widgets by Günter Ernst

These widgets provide a better and more consistent user experience and client-side validation across multiple platforms. They should in time become the preferred alternative for dates and time for template forms.

  1. … 2 more files in changeset.
Unify URL checking, now that 'util_url_valid_p' accepts relative URLs. Extend 'validate_url' test case and bump package version for dependencies.

  1. … 2 more files in changeset.
Update italian message keys

  1. … 1 more file in changeset.
Add new ad_form input types

  1. … 1 more file in changeset.
Bump version number, so packages making use of the new input type 'template::widget::number' can depend on this particular version

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

HTML.

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.
internationalize confirm message

  1. … 3 more files in changeset.
support registration of csp rules for URNs

  1. … 1 more file in changeset.
Quote form field values in validation error messages to prevent XSS attacks

  1. … 4 more files in changeset.
bump verison number to 5.10.0d9

Bring files on oacs-5-10 in sync with HEAD

  1. … 15 more files in changeset.
Bump version number due to updated message keys

add fully qualified name for templating cache, add version dependency

bump verison to 1.6d5

  1. … 2 more files in changeset.
Remove duplicated words

  1. … 1 more file in changeset.
add missing version dependencies for antonio's recent changes concering user info API

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

Example:

template::register_urn \

-urn urn:ad:js:jquery \

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

  1. … 1 more file in changeset.