gustafn
committed
on 23 Mar 16
- made dropzone a first-class member of the menubar. Now the dropzone
can be configured like all other menubar entries per-folder via
ex… Show more
- 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}

Show less