• last updated 19 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
New parameter omit_field_name_spec for create_raw_form_field proc in order to override defaults on specs. This is still lacking the parameter setting logic.

- user "info commands" rather than "info command"

- use addEventListener instead of onclick markup for wiki-search,

edit-tags and popular-tags

- fix popular tags link

- regenerated template files

- added scp directives for yui

- bump version number to 5.9.1d12

  1. … 12 more files in changeset.
- renamed array variables passed to xowiki-templates from

"property_doc" and "property_body" simply to "doc" and "body":

reasoning: this makes it more uniform to use this variables already

in the xowiki .adp files with the same name as in the master

templates.

- added @body.menubarHTML@ to allow the higher level master templates

to place the menubar. On the longer range, we might even prefer

@body.menubar@ to pass a generic (skin-agnostic) representation.

- replaced the hard wired placement of the menubar by a adp-controlled

layout

- added @body.title@ to provide a title suitable for <h1> in contrast

to @doc.title@ which is for <title>. Prefer usage of @body.title@

over @title@, but the latter variable is still provided.

- added csrf protection for wiki-search

  1. … 9 more files in changeset.
- move adp templates from xowiki/www to xowiki/resources/templates

- improve validity checking on tags (e.g. in path notation) to avoid

potential pg errors on invalid UTF-8

  1. … 24 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.
- add scrf protection for dropzone

  1. … 2 more files in changeset.
- don't try to normalize_name when it is empty

  1. … 2 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.
- make formfield ckeditor4 loadable from CDN

  1. … 1 more file in changeset.
- use the name of the xowiki instance in the subscription hint

- notifications: make nofication subject tailorable via

xowiki::Page method "notification_subject"

- allow specification of "piblish_status" in

xowiki::Page method "www-create-new"

- trigger notifications in "www-create-new"

  1. … 2 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.
- rename all xowiki methods called via url to www-OLDNAME.

This makes it clear that these pages can call

ns_return, ns_returnredirect, or ad_script_abort, etc.

- don't raise an error, when a web-called method stops with ad_script_abort

- bump version numbers to 5.9.1d1

  1. … 6 more files in changeset.
- fix redirection after renaming of old-style (ad_form based) via edit operations on xowiki::Page

  1. … 5 more files in changeset.
- prefer ns_quotehtml over ad_quotehtml

  1. … 36 more files in changeset.
- improve themeability

  1. … 2 more files in changeset.
- add FormPage.action_url to facilitate overloading (e.g. from workflows)

- remove unused line

- move invoke_object from package to ::xo::cc (xo::Context object)

  1. … 4 more files in changeset.
- change "info command" -> "info commands"

  1. … 6 more files in changeset.
- improve validation for HTML and HTML5

  1. … 1 more file in changeset.
- FormPage.edit: when we edit a page thought a link and no return_url

is specified we want to return to the link page. The same is true

in the general case for all kind of embedded pages. The patch

refines the patch from June 8 which was setting the return url too eager.

- FormPage.edit: when we edit a page thought a link and no return_url

is specified we want to return to the link page. The same is true

in the general case for all kind of embedded pages. The patch

refines the patch from June 8 which was setting the return url too eager.

- backport of item_index fixes from HEAD/oacs-5-9

  1. … 2 more files in changeset.
- instantiate page in method "delete-revision" to make update of item

index correct (fix suggested by Thomas Renner)

- define FormPage.set_live_revision, a specialized version of

CrItem.set_live_revision updating the item index.

- prefer usage of FormPage.set_live_revision over

"::xo::db::sql::content_item set_live_revision" in xowiki

  1. … 2 more files in changeset.
- improve validity and security of generated HTML

  1. … 12 more files in changeset.
- FormPage.edit: in the "view mode" of edit (as opposed to the "save

mode"), add the ::xo::cc url as return_url in case no return_url

was specified to ensure to return on the starting page (necessary

for editing linked pages)