• last updated 16 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove onclick inline script

- use template::add_event_listener

- update dependencies

- bump version number to 2.6.1d4

    • -19
    • +16
    /openacs-4/packages/calendar/www/cal-item-new.tcl
    • -36
    • +32
    /openacs-4/packages/calendar/www/mini-calendar.tcl
- new conveniance function "template::add_event_listener"

- improve documentation on "template::add_confirm_handler"

- remove onclick and onkeypress inline scripts in list-procs

- bump version number to 5.9.1d7

- change value of ns_log_redirector_manager only, when it is defined

- renamve template::add_acs_confirm_handler into template::add_confirm_handler

    • -1
    • +1
    /openacs-4/packages/faq/www/admin/one-faq.tcl
- use confirm handler instead of "onclick=..." in all packages in oacs-5-9

    • -2
    • +1
    /openacs-4/packages/faq/www/admin/one-faq.adp
    • -0
    • +2
    /openacs-4/packages/faq/www/admin/one-faq.tcl
    • -2
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/www/admin/list.tcl
- use confirm handler for doc/demo/form

- generalize template::add_acs_confirm_handler to allow as well other event types, such as e.g. "submit"

- iunclude information about ns_sets in the debug output

- include information about current object and the current class in debug output if available

- allow csrf token generation in background jobs

- adding an xo::stats command for occasionaly needed statistics on potential memory leaks

- make class "create" operations explicit

- update version dependencies

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

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