• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
file calendar.js was initially added on branch oacs-5-10.

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. … 3 more files in changeset.
Cleanup commented code

Fix the idiom used to cut the query parameters from the URL

Revert to an approach that will not change the [self] object, which has unexpected consequences

Replace custom calendar widget implementation with native HTML5 fields

Replace custom calendar widget implementation with native HTML5 fields

Handle null dates

Replace custom calendar widget implementation with native HTML5 fields

Modernize idioms

Cleanup acs_CopyText and inline the only usage found in the codebase with a modern replacement

The function was using deprecated idioms, see https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand, and "PrivilegeManager" and the "netscape" property, both long discontinued.

On modern browsers, under the correct conditions, the function can be reimplemented via a oneliner (see https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)

Cleanup acs_CopyText and inline the only usage found in the codebase with a modern replacement

The function was using deprecated idioms, see https://developer.mozilla.org/en-US/docs/Web/API/document/execCommand, and "PrivilegeManager" and the "netscape" property, both long discontinued.

On modern browsers, under the correct conditions, the function can be reimplemented via a oneliner (see https://developer.mozilla.org/en-US/docs/Web/API/Clipboard)

provide link to nsstats on startup page on fresh installations (when available)

fixed vertical placement of login link

fix for containarized applications: don't use configured location unless host-name-map is in place

containeraized applications with the hostnode map will still have a problem, but these are

less frequent. For these, a solution is still pending.

Shorten idiom

Modernize idioms via optional chaining

Prefer string interpolation via template literals

Cleanup trivial acs_initHtmlArea and inline its only usages in the codebase

Cleanup trivial acs_initHtmlArea and inline its only usages in the codebase

clear diry editor buffer

Cleanup trivial api, nowadays replaceable with a simple oneliner and inline the only usage found upstream

Use modern javascript and browser features to simplify the code

Use a better idiom to revert changes on the object, that e.g. will handle the same arrays and variables

Use an idiom that does not assume the form field to be a direct child of the form, which may not be true depending on the theme

Inline usages of acs_rte* js utilities in unmaintained packages and remove it from core.js

acs_rte* is most likely broken anyway, as nobody seems to define updateRTEs function...

Inline usages of acs_rte* js utilities in unmaintained packages and remove it from core.js

acs_rte* is most likely broken anyway, as nobody seems to define updateRTEs function...

    • -1
    • +15
    /openacs-4/packages/dbm/www/lib/master.tcl
    • -0
    • +14
    /openacs-4/packages/imsld/lib/imsld-master.tcl
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.

file richtext-or-file.js was initially added on branch oacs-5-10.

added support to install theme from install.xml

    • -1
    • +21
    /openacs-4/packages/acs-tcl/tcl/install-procs.tcl