openacs-bootstrap5-theme

  • last updated 43 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
file jquery-3.7.1.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/js/jquery-3.7.1.js
  1. … 2 more files in changeset.
file jquery-3.7.1.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/js/jquery-3.7.1.min.js
  1. … 2 more files in changeset.
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/

file jquery-3.6.3.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/js/jquery-3.6.3.js
file jquery-3.6.3.min.js was initially added on branch oacs-5-10.

    • -0
    • +0
    ./www/resources/js/jquery-3.6.3.min.js
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
provide navigation anchors for forms with fieldsets based on section names

  1. … 2 more files in changeset.
form-template: update notation for select box, radio and checkbox to Bootstrap 5

Many thanks to Monika Andergassen

added space between icon and the info text

bump version numbers and add version check URLs

  1. … 3 more files in changeset.
beautify TRN mode in developer support

in essence, this change switches from CSS icons to <adp:icon>

since in default setup (when no themes/icon sets are installed)

the CSS based rendering was bad. Using <adp:icon> offers

more flexibility and tailorability.

  1. … 3 more files in changeset.