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

Fix typos

  1. … 5 more files in changeset.
Fix typos

  1. … 61 more files in changeset.
Fix typos

  1. … 42 more files in changeset.
Fix typos

  1. … 28 more files in changeset.
fix typos

  1. … 3 more files in changeset.
Fix even more typos

  1. … 26 more files in changeset.
Reduce verbosity at runtime

Extend API to allow registration for URNs.

URNs provide an abstraction and a single place for e.g updating

references to external resources when switching between a CDN and a

local resource, or when a resource should be updated. Instead of

adding e.g. a CDN url via tempate::head::add_script, one can add an

URN and control its content from a single place.

Example:

template::register_urn \

-urn urn:ad:js:jquery \

-resource /resources/xowiki/jquery/jquery.min.js

  1. … 1 more file in changeset.
Provide developer with the option to declare compound resources (CSS

or JavaScript) to optimize performance or to provide customized

themes. New public function:

template::head::includes -container .. -parts ...

if an included resource is encountered during rendering of the page,

it is ignored. The compound resource management is aligned resource

flushing (when a compound resource is flushed, it stop shadowing

potentially other resources. An additional option could be to

add an "-parts" flag to add_link/add_script.

added simple regression test for basic functionality

    • -0
    • +49
    ./test/head-test-procs.tcl
New functions for improved theming

template::head::flush_link -href ... -rel ...

template::head::flush_script -src

These functions are the inverse functions of template::head::add_link

and template::head::add_script. These functions are required in

situations where e.g. different subsites with different themes have

different requirements for a style file provide by some application

package.

Removed duplicate registration of template tag "tabstrip"

remove quotes

Add ad_script_abort (thanks to Felix Moedritscher)

  1. … 1 more file in changeset.
fix typo

  1. … 1 more file in changeset.
fix typos

  1. … 2 more files in changeset.
Added missing namespace creation statement

add text/markdown to the accepted text formats of the richtext widget and ad_html_text_convert

  1. … 4 more files in changeset.
fix typo

essentially whitespace changes

Move more deprecated procs to depecated-procs

Move deprecated code in deprecated-procs.tcl.

Use ad_with_deprecated_code_p to control loading of deprecated code.

Bump version number to 5.10.0d3

    • -0
    • +201
    ./deprecated-procs.tcl
  1. … 1 more file in changeset.
quoting in log-file not needed

add ad_script_abort after ad_returnredirect to make termination intent explicit

  1. … 48 more files in changeset.
remove harmful backslashes

replace "catch" by "ad_try"

Protect against potential XSS vectors

replace catch by ad_try

Remove "catch {unset var}" idiom by "unset -nocomplain var"

  1. … 4 more files in changeset.
- fix potential XSS attack vector

- reduce quoting hell

- use ad_try instead of "catch"

- factor out common code

make sure to call ad_script_abort after ad_return

  1. … 13 more files in changeset.