openacs-bootstrap3-theme

  • last updated 3 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Extend user_message feature so that a "severity" information can be passed alongside the message

This allows theme templates to color code messages according to their severity. Severity follows the Bootstrap nomenclature of "info", "success", "warning" and "danger".

Default severity has been set to "success" consistent with styling applied so far by OpenACS to the user messages.

  1. … 7 more files in changeset.
added theme specific registry for cass class name mapping

  1. … 4 more files in changeset.
merge with missing files

  1. … 1462 more files in changeset.
merge from oacs-5-10

    • -3
    • +2
    ./catalog/openacs-bootstrap3-theme.de_DE.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/openacs-bootstrap3-theme.en_US.ISO-8859-1.xml
    • -1
    • +1
    ./catalog/openacs-bootstrap3-theme.es_ES.ISO-8859-1.xml
    • -2
    • +1
    ./catalog/openacs-bootstrap3-theme.it_IT.ISO-8859-1.xml
    • -8
    • +10
    ./resources/masters/plain-master.adp
    • -5
    • +12
    ./resources/masters/plain-master.tcl
  1. … 8085 more files in changeset.
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.
modernize resource info procs

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.
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. … 24 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.
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 jquery-3.6.3 to jquery-3.7.1.

- Bumped version to 5.10.1b2

    • -10993
    • +0
    ./www/resources/js/jquery-3.6.3.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.
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.
Make URLs assumed to be hosted on openacs.org absolute

  1. … 3 more files in changeset.
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 3 theme: modern adp:icon functionality makes this obsolete

bumped version numbers to 5.10.1b1

  1. … 85 more files in changeset.
Define caret after dropdown-toggle the same way for Bootstrap3 as in Bootstrap5

This is a forward compatibility change, probably futuer versions of Bootstrap

will behave the same. Many thanks to Monika Andergassen for the suggestion.

  1. … 2 more files in changeset.
upgraded jquery-3.6.0 to jquery-3.6.3

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

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

  1. … 2 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.
Use new ADP-include "registered-urns" on sitewide-admin page, bump version to 5.10.1d1

avoid the usage of images for sorting order icons

  1. … 4 more files in changeset.