• last updated 32 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improved spelling

Move custom calendar widget javascript implementation out of the core.js and into a separate file

In core/maintained packages, this widget is used only by template::widget::textdate (which in turn is used nowhere). For this widget, we can include the relevant code on-demand.

Direct usages found in unsupported packages have been adapted by adding the extra requirement on the fly.

It is unclear if we should keep maintaining a calendar widget in our codebase, however, as the current one still works (kudos to the original author), we do not deprecate it for the time being.

It is also true that a custom widget provides a way to customize the look and feel of date fields, which is otherwise completely delegated to the browser.

Various packages, including the core, provide custom css styling for the current widget.

  1. … 1 more file in changeset.
file calendar.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/calendar.js
Factor richtext-or-file javascript outside of the core.js

This may or not be a step on the road to deprecating this widget, which still sports inline event handlers and is used only by unmaintained packages.

    • -0
    • +46
    ./www/resources/richtext-or-file.js
  1. … 1 more file in changeset.
file richtext-or-file.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/richtext-or-file.js
template::widget::merge_tag_attributes has to be public already, as it is used by template::widget::select_locales

Fix typo

Form widget attributes reform:

- consolidate the logics to merge tag attributes coming from the adp and the tcl definitions of widgets into a private api

- change the previous behavior of having attributes coming from the adp (aka the tag_attributes argument) take over attributes coming from the element

See https://openacs.org/forums/message-view?message_id=5799349

  1. … 1 more file in changeset.
Revert in order to provide a meaningful log message

*** empty log message ***

Do not override existing classes on the submit button

Many thanks to Jonathan Kelley for reporting the issue

Reinstate behavior:

behave again that when a date fragment value is empty, the padded value will also be empty and not a sequence of zeroes

See https://openacs.org/forums/message-view?message_id=5798230

Update italian localization

    • -0
    • +1
    ./catalog/acs-templating.it_IT.ISO-8859-1.xml
  1. … 6 more files in changeset.
Improve fix: if any other click handler would take longer than the timeout (e.g. an alert) don't wait again

Make sure disabling the button always happens before re-enabling the button and that both happen after all other click handlers have completed

Add acknowledgment

Fix navigation

Provide a zero-dependency Modal implementation

This uses CSS and little JavaScript. The goal is to provide a Modal implementation that is independend from frameworks such as Boostrap. This is actually very possible in modern CSS and JavaScript.

Documentation with examples is included.

file modal.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/modal.adp
file modal.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/modal.js
file modal.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/modal.css
Provide a zero-dependency Tooltip implementation

This uses CSS and little JavaScript. The goal is to provide a Tooltip implementation that is independend from frameworks such as Boostrap. This is actually very possible in modern CSS and JavaScript.

Documentation with examples is included.

file index.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/index.adp
file tooltip.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tooltip.js
file tooltip.css was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/tooltip.css
file tooltip.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/doc/gadgets/tooltip.adp
adp:toggle_button: added "id" attribute

skip "-url" in "export_vars -url" since it is the default

  1. … 11 more files in changeset.
fix cut&paste error

Cleanup debug statements, re-instate safe tmpfile check

Fixes acs-templating automated tests