• last updated 2 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- added form field type "class" (form_constraints e.g.: f2:class,subclass_of=::xowiki::Page)

- make it possible to set default editor for formfields of type

richtext (we should provide eventually a package parameter)

- capitalize first cahractr of ExtraMenuEntries like in MenuBar

    • -1
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
- add package parameter extraMenuEntries to allow configuration of the toplevel directory

    • -5
    • +10
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
- add explicit error message about invalid/missing form

Add additional where clause to prevent cartersian product of forms and attributes when selecting attribute parameters for a form

- set default context in check_permissions to ::xo::cc

- minor polishing

- upgrade to ckeditor 4.1.2

  1. … 68 more files in changeset.
- initial checking of repeat-procs (repeatable form field items)

    • -0
    • +183
    /openacs-4/packages/xowiki/tcl/repeat-procs.tcl
    • -0
    • +281
    /openacs-4/packages/xowiki/www/resources/repeat.js
- adding ckeditor4

    • -140
    • +151
    /openacs-4/packages/xowiki/www/resources/ckeip.js
    • -0
    • +39
    /openacs-4/packages/xowiki/www/resources/ckeditor4/README.md
    • -0
    • +38
    /openacs-4/packages/xowiki/www/resources/ckeditor4/config.js
    • -0
    • +111
    /openacs-4/packages/xowiki/www/resources/ckeditor4/styles.js
  1. … 248 more files in changeset.
- richtext editors: changed parameter "inplace" into

displayMode, which might be "standard", "inplace" or "inline"

("inline" is just supported for ckeditor4)

- formfield ckeditor4: support for ckeditor version 4 (including

inline and inplace support)

    • -16
    • +287
    /openacs-4/packages/xowiki/tcl/form-field-procs.tcl
- use Tcl 8.5 idioms

    • -14
    • +13
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- replace depreacted "ns_mkdir" by "file mkdir"

on pg version 9.0 ( and lower ) the function string_to_array takes only two parameters.

- use ns_eval instead of "ns_ictl save" to update blueprint

- db_flush_cache: do not retrieve all keys from the cache if not necessary. These array operation can cause long mutex lock times.

- fixed bug #3212

apm_include_file_p wont ignore anymore the upgrade directory in case data_model_files flag is set.

When fetching files for a given package we also want to retrieve sql files.

Needed to decode list items html since it is used as a JS array index.

apm_get_package_files has new boolean switch -include_data_model_files in order to allow including/excluding sql files when looking for files within a package.

Creating recursive version of permissions functions iff pg version is >= 8.4.

Taking .sql out of the list of ignored file extensions. Otherwise create/upgrade sql scripts are not loaded while installing/upgrading.

- update the blueprint of the xotcl::THREAD instances as well while keeping the state (do not restart the thread)

- use sysctl instead of uptime where available (the "uptime" command from mac os x spits sometimes errors about /dev/ttys out, when apparently a console was not shut down correctly)

- add "xo::broadcast blueprint /script/":

This command can be used to update the blueprint of all threads (including schedule threads)

Example

::xo::broadcast blueprint { source /tmp/t.tcl }

- make recreate method of THREAD more robust

- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 7 more files in changeset.
- add missing test for non-empty where clause in hstore case

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
next_row instead of this_row has to be unset at this point.