personal-notification-procs.tcl

  • last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improved bootstrap5 compatibility for personal notifications

This change improves the appearance of personal notifications

for bootstrap5. It still works with bootstrap3.

Many thanks to Sebastian Scheder for this contribution!

    • -11
    • +24
    ./personal-notification-procs.tcl
improve bootstrap3/bootstrap5 handling of personal notification messages

Many thanks for Monika Andergassen for providing the patch.

  1. … 1 more file in changeset.
fix warning (including some false positives) in regression test

  1. … 5 more files in changeset.
get rid of "xowiki::adp_parse_tags", since this is handled now already in acs-templating

  1. … 4 more files in changeset.
Improved Bootrap5 support

- transformed PageInstance->adp_parse_tags into an adp_proc

xowiki::PageInstance->adp_parse_tags to ease usage outside methods.

- made personal-notification proc agonsitic of Boostrap 3

- renamed attribute "-glyphicon" to "-adpicon" in

personal-notification-messages->modal_message_dialog

and use adp:icon instead

- added regression test

- bumped version number to 5.10.1d26

  1. … 5 more files in changeset.
New CSS abstraction: xowiki::CSS

Before this change, the application developer was responsible to

initialize the CSS-speficic settings (such as setting default values

for parameter classes). The new object xowiki::CSS is initialized

automatically, when an xowiki class (or one of its subclasses) is

initialized. Furthermore, it provides a per-thread caching to reduce

double work. Furthermore, the xowiki::CSS provides a mapping between

abstract and concrete CSS class names, such that switching between

different CSS toolkits becomes easier (e.g. upgrade from bootstrap 3

to newer versions).

xowiki::CSS initialize ;# make sure, everything is in line with PreferredCSSToolkit

xowiki::CSS clear ;# reset the mapping

xowiki::CSS toolkit ;# return the toolkit name

xowiki::CSS class /classname/ ;# perform CSS class name mapping

The methods "setCSSDefaults" and "preferredCSSToolkit" as deprecated.

The version number was bumped to 5.10.0d81

  1. … 7 more files in changeset.
adapt personal-notification interface to support bulk messaging

    • -13
    • +26
    ./personal-notification-procs.tcl
whitespace changes

  1. … 2 more files in changeset.
- added support for personal notifications (as used by inclass exam):

The notification system has the following features:

. lecturer can send individual messages to participants of an ongoing exam

. message is sent by clicking on a participants name in the participant list

. student can receive one or many notification messages

. notification messages have to be confirmed, otherwise they are displayed always

. non-confirmed notification messages are sticky, i.e. the are displayed also

when a user changes to some other question.

. three different urgency levels for messages

. built around an includelet

- bumped version number to 5.10.0d59

    • -0
    • +255
    ./personal-notification-procs.tcl
  1. … 3 more files in changeset.