• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- update mimetype definition of javascript to the form specified via IANA content types

- add JSON mimetpye

file upgrade-5.9.1d12-5.9.1d13.sql was initially added on branch oacs-5-9.

version update:

- add class BanUser (use. e.g. ip address to disallow requests from a user)

- optional user tracking in DB

- modernize mime types

- used explicit "create" statements

- bump version number to 0.46

- modernize mimetypes

    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- reduce attack vector on dates

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
- add property "payload" to "WorkflowConstruct" in order to simplify

customized workflow "allocate" actions (payload might contain a dict

with the fields {name parent_id m})

- simplify form loading and document source code

    • -78
    • +148
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
- initialize navigation array

- fix one more occurance...

- trying to reduce ad_urlencode_query patch to minimal change

After fixing previous commit, use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

Reverting and fixing previous commit, which erroneously brought HEAD version in 5-9 branch

    • -1335
    • +1493
    /openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl
Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

    • -1493
    • +1335
    /openacs-4/packages/acs-tcl/tcl/utilities-procs.tcl
Use ad_urlencode_path and ad_urlencode_query instead of ns_urlencode in export_vars and export_entire_form_as_url_vars.

This way URL is encoded properly and we avoid a bug when variables called "--" or with value "--" are exported.

- use consistently ns_quotehtml

- don't quote message keys in summary field in bugs table

- add "cascade" to make uninstall clean

- use [util_current_location] instead of host-header field to show

correct host also when no host header field is available

- use wildcard matching for driver names to detect protocol

in case multiple drivers of the same type are loaded with

names with different suffixes

- make code more robst, when source_p is passed in as empty string

- fix an old bug in the user-info adp include. The old version assumed, that every url that is not starting with "http://" has to be prefixed with "http://". This is certainly a problem, when the user url starts with "https://"

- fix typo in parameter name TclTraceLogSeverities

    • -1
    • +1
    /openacs-4/packages/acs-tcl/acs-tcl.info
file upgrade-5.9.1d1-5.9.1d2.sql was initially added on branch oacs-5-9.

- don't try to normalize_name when it is empty

- change mime type for .swf from "application/x-shockwave-flash" to IANA complient entry "application/vnd.adobe.flash-movie"

file upgrade-5.9.1d11-5.9.1d12.sql was initially added on branch oacs-5-9.

- fix util::split_location

- fortify low-level db access methods: return errors when called with wrong argument types

- truncate overlong lines in ad_get_tcl_call_stack

- add missing doc string

- 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}

    • -120
    • +183
    /openacs-4/packages/xowiki/tcl/bootstrap-procs.tcl
    • -7
    • +18
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
    • -13
    • +117
    /openacs-4/packages/xowiki/tcl/menu-procs.tcl
    • -13
    • +11
    /openacs-4/packages/xowiki/tcl/yui-procs.tcl
file xowiki-uploader-procs.tcl was initially added on branch oacs-5-9.

    • -0
    • +0
    /openacs-4/packages/xowiki/tcl/xowiki-uploader-procs.tcl