• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
New method "marshall_all_to_file"

This method is similar to "marshall_all", but exports the objects

directly to a file. This can save memory when exporting a large

collection of objects, since the plain "marshall_all" appends to

string, which can get very large, especially due to Tcl's

"double the size when space is needed" policy during "append"

operations.

added file content checker for zip, gzip and dump imports

  1. … 2 more files in changeset.
provide more details in log message

Reduce hardcoded execs: the util might be improved to avoid them at some point

make "instantiate_forms" a method of packages

this reads better than the previous variant based on the Weblog class.

  1. … 14 more files in changeset.
Don't assume save_new will return an item_id, object should come out of it "already baked"

improve logging message to ease debugging in case of errors

prefer "nsf::is object" over ":isobject" or "info commands", since it is faster, more generic and can be used in all contexts

  1. … 15 more files in changeset.
prefer absolut object references over ids

  1. … 15 more files in changeset.
- modernize code (remove "my")

- prefer fully qualified commands based on IDs

  1. … 33 more files in changeset.
Port from downstream a more failsafe cleanup in the importer

prefer "array size" over llength of names

reduce verbosity

whitespace cleanup

  1. … 3 more files in changeset.
prefer XOTcl2 idioms also in commented-out statements

  1. … 11 more files in changeset.
Fix bad handler type error, use ad_try/finally instead of else (Thanks to Felix Moedritscher)

fix typos

  1. … 6 more files in changeset.
Reduce number of "catch" operations

  1. … 5 more files in changeset.
Fix typos

  1. … 24 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.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Don't report pretty link in export comments for items without a package_id, or export will come out corrupted.

(This is the case for global template objects as en:folder.form)

Improve robustness of "file delete" operations

  1. … 25 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.
- improve validity and security of generated HTML

  1. … 12 more files in changeset.
Merging back to HEAD all changes that happened in branch oacs-5-8 between tags: vg-merge-oacs-5-8-from-20141027 and vg-merge-oacs-5-8-from-20150427

  1. … 520 more files in changeset.
Import process i18n.

- use "create" method explicitely

  1. … 8 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.