openacs-bootstrap5-theme

  • last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
bumped version number from development version to release version

  1. … 93 more files in changeset.
align nameing with 'resource_info_procs'

  1. … 7 more files in changeset.
More resource-info updates:

- fixed wrong and inconsistent naming of dict members (many thanks to Sebastian Scheder for figuring this out)

- removed duplicated slashes in resource paths

- fixed incorrect paths when CDN is used

- simplified handling of cspMaps

- added test checking consistency of resource-info dicts

  1. … 10 more files in changeset.
added URN listing

  1. … 1 more file in changeset.
Simplified and streamlined URN management by using util::resources::register_urns

  1. … 9 more files in changeset.
add action link icon just to the immediate child of an action list

  1. … 2 more files in changeset.
Ease management of external js packages to automate admin tasks

- provide explicit information about optional package paramters

- make these accessible from site-wide admin pages

- provide information, how the configuration of the version number happend

- improve design of site-wide admin pages with action items

- further streamlined handling of external js packages

  1. … 17 more files in changeset.
js-libraries: improved naming of variables

Changed name "installedVersion" to "configuredVersion", since

the former might lead to the impression, that it refers only

to the locally installed version. Instead, this refers as well

to a CDN version (when available)

  1. … 17 more files in changeset.
js-libraries: removed variable "resourceUrl"

The variable "resourceUrl" was always used in a single branch but set

for all branches before. To ease maintenance and simplify

comprehension, it was removed.

  1. … 10 more files in changeset.
In essence, this change renames "version_dir" to "version_segment" as

well as "versionDir" to "versionSegment" to reflect the fact, that

this variable does not denote a directory, but a part of the path

appended to path "resourceDir".

  1. … 4 more files in changeset.
various small fixes for js libraries

- fixed page contract in case a non-default version is downloaded

- provide always an argument "-version" to resource_info procs

- obtain current version number always via resource_info.installedVersion

(it refers to CDN and locally installed version)

- pass always versionDir via resource_info to ::util::resources::download

- always obtain version_dir from resource_info

  1. … 23 more files in changeset.
Improved resource information for external libraries

- added vulnerability check for a particular version

- centralized URL generation for cdnjs URLS (will reduce maintenance work, when external URL changes)

- improve behavior when running without an Internet connection

  1. … 11 more files in changeset.
bump version numbers to reflect the updated resource-info API in acs-tcl

  1. … 6 more files in changeset.
Improved consistency of resource-info for javascript libraries, added vulnarability info

Tested the following cases:

download check

- bootstrap

- bootstrap-icons

- bootstrap-treeview

- ckeditor4

- font-awesome

- highcharts

- cookieconsent2 3.0.3

- cookieconsent2 3.1.1

CDN check

- bootstrap

- bootstrap-icons

- bootstrap-treeview

- font-awesome

- highcharts

- cookieconsent2 3.0.3

- cookieconsent2 3.1.1

  1. … 9 more files in changeset.
Extended resource info dict with explicit version number and an API call to obtain the newest version number

The two new optional resource info fields are

- versionCheckAPI

- installedVersion

These fields are necessary to provide an admin page to check

whether the installed versions are the most recent ones.

  1. … 8 more files in changeset.
JS upstream updates

- Updated boostrap5 to 5.3.3

- Updated jquery-3.6.3 to jquery-3.7.1.

- Bumped version to 5.10.1b4

    • -10993
    • +0
    ./www/resources/js/jquery-3.6.3.js
    • -2
    • +0
    ./www/resources/js/jquery-3.6.3.min.js
    • -0
    • +10716
    ./www/resources/js/jquery-3.7.1.js
    • -0
    • +2
    ./www/resources/js/jquery-3.7.1.min.js
bootstrap5 theme: prettify appearance for "ad_form -mode display"

The previous change was already a big improvement. The change makes

it easier to distinguish the field labels from the field content.

Separate form widgets from label and help-text vertically by wrapping them in a div, render form labels in a larger font for better visibility

Whitespace changes

    • -118
    • +118
    ./resources/forms/standard.adp
fixed bug #3469

First submenu item was missing. This bug is identical in the bootstrap3

and bootstrap5 theme packages. Many thanks to Keith Paskett for

rpeoprting and suggesting a fix.

  1. … 1 more file in changeset.
fixed vertical placement of login link

Do not pass the __csrf_token via return_url when the user is not logged-in

Passing the token seems to cause problems with web vulnerability scanners, that poison

the token value. The value of passing the token value for unregistered users

is questionable.

If this change is kept, it should go as well to the openacs-bootstral3.theme.

Make URLs assumed to be hosted on openacs.org absolute

  1. … 3 more files in changeset.
upgrade to Bootstreap 5.3.2 (package 5.10.1b3)

Fix for sitebug #150 (security relevant)

The login widget at the navbar contained in its query variable

the password of a user in plain text (e.g. when the user has

mistyped the password, but as well on other error conditions).

Now, the password is filterer in the return_url in such cases.

Many thanks to Khy H for reporting this bug.

For details, see

https://openacs.org//bugtracker/openacs.org/bug?bug_number=150

  1. … 1 more file in changeset.
Don't customize the notification widget in the Boostrap 5 theme: modern adp:icon functionality makes this obsolete

update bootstrap version number to 5.3.1

bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
bumped Bootstrap 5 to version 5.3.0

Bootstrap 5.3.0 was released on May 30, 2023. According to the developers,

it’s been a monumental effort to revamp our codebase for CSS variables and

color modes, one that will see continued changes leading up to an eventual

Bootstrap 6.

For more details, see https://blog.getbootstrap.com/

upgrade from jquery-3.6.0 to jquery-3.6.3

    • -0
    • +10993
    ./www/resources/js/jquery-3.6.3.js
    • -0
    • +2
    ./www/resources/js/jquery-3.6.3.min.js