• last updated 6 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Make also sure the tmpfile from the widget exists beforehand, when validating: we don't want users to "explore" our tmpdir with bogus values that just look sane

  1. … 2 more files in changeset.
Revert to previous template::widget::file behavior of accepting input in a form of a list of 3 elements (e.g. without a .tmpfile in the request), but introduce validation so that we enforce all widget values to be in the proper format and the files to be "safe"

  1. … 4 more files in changeset.
extended adp:icon handling

Added support for multiple classes,

Added more potentially reusabel icon names,

bumped version to 5.10.1d13

  1. … 2 more files in changeset.
Cleanup message keys that do not exist in the english locale (they do exist in their "_time" variant, e.g. Time_must_be_after_min_time, already translated in spanish)

  1. … 1 more file in changeset.
Bump version number after catalog change

added filetype-csv to generic icon names

  1. … 1 more file in changeset.
Added support for fa-icons to the generic names for adp:icon

Added new options "iconset" and "alt" to adp:icon, updated

documentation in API browser

Bumped version to 5.10.1d9

  1. … 2 more files in changeset.
Generalized ADP compilation caching, simplified handling of ad_init

Generalized adp-compilation caching

* since the result of ADP compilation can depend on the icon set

(and maybe more factors in the future), and the icon set

can be switched freely, either one needs more ADP compilation

at runtime (page rendering time) or caching had to be generalized.

* generalization of caching leads to better scalability, and

since the number of icon sets concurrently active at one

site is limited, this option seems favorable.

* The only potential incompatibility might be from installations

doing "manual" incantations of "template::adp_init" followed by

direct calls of the stub. The only packages (out of the 365

packages in CVS) effected by this are "diagram" and

"workflow". Both have been fixed in the repository. This

incantation can be simplified as followed.

Simplified handling of adp_init

* old:

template::adp_init adp $file_stub

template::code::adp::$file_stub

* new

[template::adp_init adp $file_stub]

Bumped version to 5.10.1d8

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