Dashboard

Committing some fixes I had in stash since a while for this list interface, essentially fixing bugs.

Thing works properly for my use cases (of then), but probably something that is not a wrapper would be better.

Also removed javascript handler from directly in the markup to the body handler to comply with CSP

    • -191
    • +226
    /openacs-4/packages/xotcl-core/tcl/generic-procs.tcl
-Quoted sqared parenthesis in javascript giving problems to subst.

-Removed unnecessary call again to template::add_body_script

- add missing colon

    • -2
    • +2
    /openacs-4/packages/forums/tcl/forums-procs.tcl
- clean dirty buffer

    • -2
    • +2
    /openacs-4/packages/forums/tcl/forums-procs.tcl
- fix SQL query

    • -2
    • +4
    /openacs-4/packages/forums/tcl/forums-procs.tcl
Replaced 1row bit get_value to get a boolean value

Improve output spec in Rosetta example

Adding another Rosetta example: Multiple distinct objects

Removed inline event handlers from form fields and put them into body event handlers to comply with CSP

Fixed typo: kernel_id instead of $::acs::kernel_id, not yet defined.

- added new function template::add_acs_confirm_handler for standardized confirm interactions ("are you sure") in order to get rid of onclick handlers

- bump version numbers to reflect dependencies

- internationalize member confirm dialog

- replace "javascript:" urls by event listeners

- fix indentation

    • -17
    • +27
    /openacs-4/packages/dotlrn/www/members.tcl
- replace onclick/onkeypress handler with listeners

- make expressions more sane

Fixed typo mime_time -> mime_type

- turn javascript: url into an event listener

- use event listener instead of onclick handler

- hint based on "fs_title_msg" is probably not shown since many years.

- remove javascript: urls

- replace onclick/onkeypress handler with listeners

    • -4
    • +17
    /openacs-4/packages/calendar/www/mini-calendar.tcl
- replace javascript: urls by event listeners

- replace javascript: urls by event listeners

- get rid of javascript: links

- adding 'unsafe-inline' to list templates until need for "onclick" is removed

- remvoving code that was commented out

- adding nonce values to script tags

- use class = 'button' for non-navigational links

- add nonce

- add validator for forum_ids

    • -7
    • +27
    /openacs-4/packages/forums/tcl/forums-procs.tcl
    • -14
    • +13
    /openacs-4/packages/forums/www/message-post.tcl
Fixed typo - Thanks to Felix Mödritscher

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Fix path in commit-hook script

Provide a commit-hook script

Merge branch 'master' of ssh://alice.wu-wien.ac.at/usr/local/src/git-repo/nsf

- add thread IDs to debug lines