• last updated 15 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- remove more onclock inline scripts

- don't overwrite "xotcl::Object instproc serialize", since this is already defined by nsf (at least in versions 2.0 or newer)

- change apostrophes in text into numberical entities to make the life of single minded HTML parsers easier

  1. … 24 more files in changeset.
- use template::add_event_listener

- update dependencies

- bump version number to 5.9.1d14

    • -2
    • +3
    /openacs-4/packages/xowiki/xowiki.info
- use template::add_event_listener

- update dependencies

- bump version number to 5.9.1d4

- fix tooltip text

- 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