• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
modernize tcl

  1. … 7 more files in changeset.
Fix typos

  1. … 28 more files in changeset.
Prefer XOTcl2 idioms

  1. … 3 more files in changeset.
Bug fix: avoid confusion between command argument and option, when argument starts with "-"

  1. … 81 more files in changeset.
XOTcl 2.0 improvements

- reduce usage of "instvar"

- make use of variable resolver instead

  1. … 8 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
- Fix more spelling errors

- Use uniform spelling of "Tcl"

  1. … 9 more files in changeset.
Fix spelling errors

  1. … 24 more files in changeset.
- Tcl idioms: simplify access to first character

  1. … 8 more files in changeset.
Make usage of deprecated entry "form_link" a warning, the more general "entry" should used for makeing menu entries

Change default for PreferredCSSToolkit from "yui" to "bootstrap" and for PreferredRichtextEditor from "xinha" to "ckeditor4"

  1. … 6 more files in changeset.
remove javascript urls and onclick handlers from xowiki menubar (yui and bootstrap)

- add nonce attribute to javascript created via tdom

- add HTML IDs to menu items

- add ability to add listener (list with 2 elements: type (such as

"click") and script (body of a function to be executed).

  1. … 3 more files in changeset.
- add csrf protection (bulk-delete, save operations in FormPages)

- add input checking for optional query-parameter "master"

- bump version number to 5.9.1d8

  1. … 5 more files in changeset.
- made dropzone a first-class member of the menubar. Now the dropzone

can be configured like all other menubar entries per-folder via

extra_menu_entries (form field in the folder form) or parameter

ExtraMenuEntries (see example below)

- made dropzone configurable (xowiki-uploader-procs.tcl)

One can now specify per dropzone the actions to be performed

with the uploaded content (sample uploaders are provided

with ::xowiki::UploadFile (produces ::xowiki::File entries) or

::xowiki::UploadPhotoForm (produces FormPages for photo.form).

This can serves as a boilerplate for other drop operations

like creating workflow instances or forums postings via drag&drop.

- added mode-handler (xowiki-mode-procs.tcl): The mode handlers

provide easy handling for querying and switching per-session modes

(like eg admin-mode, developer-mode, student-mode, ...). Depending

on the mode different ui options might be offered. Sample with

::xowiki::mode::admin provided, which is per default on, when the

user has admin rights in the current package.

- added modebutton as first-class member of the menubar.

This is currently only supported by the bootstrap renderer,

which displays this as a ios like slider button in the menubar

(see config example below)

- example extra_menu entries:

{clear_menu -menu New}

{entry -name New.Page -label #xowiki.new# -form en:page.form}

{entry -name New.File -label File -object_type ::xowiki::File}

{dropzone -name DropZone -label DropZone -uploader File}

{modebutton -name Admin -label admin -button admin}

  1. … 7 more files in changeset.
- added support for HTML5 attribute "multiple" to form-field "file"

(requires updated naviserver for handling multiple files via [ns_getform])

- added dropzone to xowiki menubar

(easy means for uploading one or many files to the current folder)

  1. … 7 more files in changeset.
- added render-bulkactions method to bootstrap table renderer

- added bulk-delete action to child-resources (instead of the useless "select" action)

- add bulk-delete to the externally callable methods

  1. … 4 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2547 more files in changeset.
- replace tabs by spaces (white-space change)

  1. … 6 more files in changeset.
- use dict instead of associative array

- improve comment

- make parameter "PreferredCSSToolkit" global (early adaptors, please

delete PreferredCSSToolkit from package-manager -> parameters before

running the update; ... in case xowiki was upgraded yesterday)

- added global parameters "BootstrapCSS" and "BootstrapJS" to ease

version management of Bootstrap library files

- bump version numbers

  1. … 2 more files in changeset.
- factor out yui procs for menu and table

  1. … 3 more files in changeset.
- some minor refactoring, fix spelling

  1. … 4 more files in changeset.
- provide basic support for bootstrap (menubar and datatable, e.g. child-resources)

- new package parameter PreferedCSSToolkit to allow to switch betweeb

yui and bootstrap

- allow menu-definition to contain a dict of extra properties

(e.g. "brand true" for menuButton)

- bump revision to 0.152

  1. … 6 more files in changeset.
- don't abbreviate subcommands

  1. … 22 more files in changeset.
menu-procs:

- refactor "update_items" from folderprocs to make

in generally usable

folder-procs:

- added modifying user to includelet "child-resources"

(can be decativated via "-hide ...")

- added optional menubar for adding content to the folder

managed by "child-resources"

  1. … 1 more file in changeset.
Restoring xowiki code to yesterdays state. Hopefully getting rid of today's unwanted commits.

  1. … 999 more files in changeset.
revert previous change

  1. … 987 more files in changeset.
- yui requires an URL for each menu entry, even if disabled. Simplifiy interface by providing default oref of "#"

- deactivate autorender for YUIMenu

- fix class for disabled menu entries

- insert missing ul for yuimenu