• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve wordnig and spelling

- add new tree renders bootstrap3 and bootstrap3-folders based on

http://jonmiles.github.io/bootstrap-treeview/

- use PreferredCSSToolkit to choose tree renderer

(removes uncoditional use of YUI2)

- bump version number to 5.10.0d7

- add URNs for jquery, bootstrap, get-http-object, xowiki.css and yui2

- fix return-string from popular-tags and improve stylability in includelet

- remove obsolete "header_stuff" from templates

- replace global parameters BootstrapCSS and BootstrapJS in favor of URNs

- bump version number to 5.10.0d6

    • -2
    • +2
    ./xowiki/resources/templates/oacs-view.adp
    • -3
    • +3
    ./xowiki/resources/templates/view-book.adp
    • -17
    • +15
    ./xowiki/tcl/bootstrap-procs.tcl
  1. … 10 more files in changeset.
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

    • -4
    • +42
    ./acs-templating/tcl/head-procs.tcl
- use ::richtext::ckeditor4::add_editor instead of own management

- make use of nsf variable resolver

- require actual version of richtext-ckeditor4

- bump version number to 5.10.0d5

    • -36
    • +53
    ./xowiki/tcl/form-field-procs.tcl
- bump version number to 0.16

    • -3
    • +3
    ./richtext-ckeditor4/richtext-ckeditor4.info
- extend add_editor with "-adapters" and "-order" to improve re-usability for other applications

- bump version number of ckeditor 4 to 4.8.0

    • -9
    • +18
    ./richtext-ckeditor4/tcl/richtext-procs.tcl
Add missing "return filter_return" for UNAUTHORIZED requests (may thank to markus moser for noticing)

    • -0
    • +1
    ./xotcl-core/tcl/50-protocol-handler-procs.tcl
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

    • -1
    • +89
    ./acs-templating/tcl/head-procs.tcl
    • -0
    • +49
    ./acs-templating/tcl/test/head-test-procs.tcl
*** empty log message ***

fix for bug #808: language list always sorted by english names

    • -4
    • +8
    ./acs-lang/www/change-locale-include.tcl
    • -21
    • +0
    ./acs-lang/www/change-locale-include.xql
allow doc-strings starting with leading colons; fixes issue #3337

    • -2
    • +7
    ./acs-api-browser/tcl/acs-api-documentation-procs.tcl
fix invalid meta-data and documentation strings

    • -16
    • +20
    ./acs-content-repository/tcl/content-item-procs.tcl
fix invalid meta-data

    • -1
    • +1
    ./notifications/www/request-notification.tcl
    • -1
    • +1
    ./notifications/www/request-unsubscribe-notification.tcl
Fix invalid meta-data

    • -2
    • +2
    ./evaluation/www/admin/groups/group-new-2.tcl
Fix incorrect meta-data

make sure to log errors in the error.log

scalability improvement: keep result of lc_time_fmt_compile in (lock-free) per-thread cache rather than in the util_memoize cache

    • -10
    • +21
    ./acs-lang/tcl/localization-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.

    • -1
    • +35
    ./acs-templating/tcl/head-procs.tcl
simplify initialization logic and issue login cookie only, when account_status is ok

    • -17
    • +20
    ./acs-authentication/tcl/authentication-procs.tcl
fix passing of variables to error message

prefer dict over anonymous array

Removed duplicate registration of template tag "tabstrip"

remove quotes

Fix typo

    • -2
    • +2
    ./cookie-consent/tcl/cookie-consent-procs.tcl
fix behavior for Tcl 8.5:

it seems that the scripted "try" implementation in tcllib is not fully

compatible with the built-in version in Tcl 8.6; fall back in these

cases to the old implemenentation of the methods "contains"

    • -1
    • +37
    ./xotcl-core/tcl/20-Ordered-Composite-procs.tcl
whitespace changes: improve linebreaks

    • -1
    • +4
    ./xotcl-core/tcl/50-protocol-handler-procs.tcl
Part 3 of scalability improvement: provide lock-free implementation of

ad_page_contract_filter_rules. If nothing bad shows up, the

underlaying nsv-arrays can be removed completely.

If one looks at the top 10 nsv mutex locks of a rather busy site

(nsd running for 3 days), one can see the ad_page_contract_filters

and ad_page_contract_filter_rules belong to the most frequent

mutex locks, which can be avoided at completely. These two

arrays make up of nearly 40% of the top 10 nsv locks.

ad_page_contract_filters 38042679

api_proc_doc 37717019

ad_page_contract_filter_rules 26036060

::xotcl::THREAD 18628540

OACS_FULLQUERIES 17771146

ds_properties 7855339

rp_extension_handlers 6837414

apm_subsite_packages_list 3524672

apm_reload_watch 3514474

apm_properties 3514472

    • -14
    • +21
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
Part 2 of scalability improvement: provide lock-free implementation of ad_page_contract_filters (*rules are still missing)

    • -9
    • +16
    ./acs-tcl/tcl/tcl-documentation-procs.tcl
fix for backwards compatibility test for ns_reflow_text

fix documentation

    • -2
    • +2
    ./acs-tcl/tcl/tcl-documentation-procs.tcl