• last updated 51 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Handle null dates

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)

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 api, nowadays replaceable with a simple oneliner and inline the only usage found upstream

  1. … 1 more file in changeset.
Use modern javascript and browser features to simplify the code

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...

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.

  1. … 2 more files in changeset.
template::list bulk-actions feature:

allow to have URL parameters specified in the bulk-action URL, so that the same URL can be used to serve multiple bulk actions differentiated via different flags. The URL parameters override completely every attribute with the same name specified on the form.

modernize test

flag that submission is coming via ajax

fix cleanup typo

whitespace changes

new function: acs_ListBulkActionMultiFormClick()

//

// The function acs_ListBulkActionMultiFormClick() is similar to

// acs_ListBulkActionClick() but it iterates over all forms with the

// same name and submits the input elements of all such forms.

//

fix for bug #3367 (many thanks to Rainer Bachleitner)

Remove duplicated words

  1. … 1 more file in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- use functions rather than strings in js setTimeout() for CSP

- include js function acs_Focus() in head such that core.js can be

added safely as body_script

- remove obsolete handling for document.getElementById()

  1. … 1 more file in changeset.
calendar popup fixes - date range and month combo box display quirk

calendar popup widget fixes

Merged the 5.3 branch with HEAD. Look for tags with the pattern

drb-*-20070513

  1. … 324 more files in changeset.
Merged from 5.3 what I could detect what needed to be merged

  1. … 6 more files in changeset.
Commas are not valid char for element identifier. Replaced with a dot in list builder and acs_ListCheckAll edited to parse correctly the IDs

Added emma's acs_KeypressGoto function to core.js so calendar and other

packages using will work outside .LRN.

Merged acs-core oacs-5-2 (currently 5.2.3) -> HEAD.

TODO:

1. Bump acs-core package version numbers to 5.3.0d1

2. Would be nice to do a test install, wouldn't it?

  1. … 721 more files in changeset.