• last updated 21 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
fix typo

provide link structure and bread crumbs to ease navigation

Make use of uniform styling based on adp:icon

  1. … 6 more files in changeset.
separating naviserver and aolserver specific files

file parse-procs-aolserver.tcl was initially added on branch oacs-5-10.

file parse-procs-naviserver.tcl was initially added on branch oacs-5-10.

Improved toolkit support for homogeneous theming and appearance

This change included new tags for rendering icons and toggles. The

change makes it possible that an unchanged markup of icons can be

adapt itself according to a theme or a manual configuration. One can

use e.g. for Bootstrap 3 glyphicons, and when changing the theme to

Bootstrap 5, then bootstrap icons are used.

Furthermore, the new markup eases maintenance and helps to achieve a

consistent look-and-feel also, when design decisions are altered.

Both, bootstrap-icons and glyphicons are font-based. This leads as

well to a better user experience, since the number of requests are

substantially lower than with the previous approach based on .gif and

.png files. When the iconset is set to "classic" (package parameter in

acs-subsite), the old image files are used.

- new tag: <adp:icon name="NAME" title="..." style="..." class="...">

Icon-names available for all iconsets:

edit

trash

radio-checked

radio-unchecked

checkbox-checked

checkbox-unchecked

arrow-down

arrow-up

The page acs-admin/package/bootstrap-icons/sample contains more

detailed information, including the names which are identical

between bootstrap 3 and 5.

- bumped version number of acs-templating to 5.10.1d6

file style-procs.tcl was initially added on branch oacs-5-10.

New parameter for acs-subsite "CSSToolkit"

- potential values: empty ("", default), "bootstrap" (referring to Bootstrap 3) and

"bootstrap5" (referring to Bootstrap 5)

- When the value is empty then the CSS toolkit is determined based on

the name of the theme of the current subsite. When this name

contains bootstrap5 then "bootstrap5" is chosen as toolkit, when it conntains

bootstrap3, then "bootstrap" otherwise it is left empty.

New parameter for acs-subsite "IconSet"

- potential values: empty ("", default), "classic" (old-style gif/png images),

"glyphicons" (Part of Bootstrap 3), and "bootstrap-icons" (usable

for all themes).

- When the value is empty then the iconset is determined

based on the CSSToolkit and/or the installation of the

"bootstrap-icons" OpenACS packages. When the toolkit is "bootstrap"

this indicates "Bootstrap 3", and "glyphicons" are used. When the

"bootstrap-icons" package is installed, it is used, otherwise the

"classic" iconset is used.

- bumped version number of acs-subsite to 5.10.1d2

use member "cspMap" of resource_info dict for a more uniform naming

adaoption for bootstrap5

    • -21
    • +14
    /openacs-4/packages/xowf/lib/inclass-exam.wf
    • -66
    • +90
    /openacs-4/packages/xowf/tcl/test-item-procs.tcl
committed missing file

file xowiki-bootstrap5-specific.css was initially added on branch oacs-5-10.

Improve message key and translations

provide basic support to make bootstrap3 and 5 switchable

bumped version to 5.10.1d25

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -13
    • +27
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
reduce verbosity

avoiding text hiding under footer

prefer bootstrap5 idioms and center text

reduce font size of footer

pin footer to the bottom, prefer bs5 classes over manual styles

minor style updates

- remove obsolete odd/even

- removed middle "xs" as required by Bootstrap4, made e.g. "col-xs-6" to "col-6"

- Bootstrap4 has new sm grid tier, so bumped former grid tier for md"

and "lg" up one level up

update CKEditor to version 4.18.0

CKEditor 4.18.0 contains browser bugfix and security patches

https://ckeditor.com/blog/ckeditor-4.18.0-browser-bugfix-and-security-patches/

whitespace cleanup

added sni hostname and redirect on 301 and 302

Use security::csp::add_static_resource_header

bump version number of acs-content-repository to 5.10.1d4

new API call ::security::csp::add_static_resource_header

The API call set the CSP rule on the current connection for a static

resource depending on the MIME type.

# Sample definition for custom CSP rules for static files in the

# OpenACS configuration file.

#

# ns_section ns/server/$server/acs {

# ...

# ns_param StaticCSP {

# image/svg+xml "script-src 'none'"

# }

# ...

# }

bump version number of acs-tcl to 5.10.1d13

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
    • -3
    • +17
    /openacs-4/packages/acs-tcl/tcl/security-init.tcl
Alignments for Bootstrap 5

Also, use form.form for creating forms from the menubar instead of

old-strle ::xowiki::Forms. Aligned as well regression test to use

form.form.

Bump version number to 5.10.1d24

    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
    • -0
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -5
    • +67
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/resource-init.tcl
file navbar.tcl was initially added on branch oacs-5-10.

file navbar.adp was initially added on branch oacs-5-10.

file notification-widget.tcl was initially added on branch oacs-5-10.