• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- added helper "::xowiki::get_raw_request_body" to obtain the content of the request body either -as_string or as_file (abstracts spool file handling away)

- use the name of the xowiki instance in the subscription hint

- add missing title property

- default_state should be false and not "", otherwise a tcl error will show up

- remove parens

- fix quoting in SQL

- make code more robust

- generalize hostname and port splitting in order to support IP-literal notation of RFC 3986

- add the actually configured tmpdir to the list for directories to check.

- bump version number to 5.9.1d4 for obtaining fix via "install from repo"

- fix contents of options (allow character entities)

- improve pretty printing on content-page-view

- set always token_id, when it is passed as ""

- pass doc properties

formfield hidden:

- add form-field parameter "sign" and "maxage"

- add validator that checks signed variable

- 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
    • +27
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- fix for bug #3289: add missing separator, use ds_url consistently

Pretty print comment after ad_proc rather than trying to index keywords

- remove obsolete queries

- use api instead of direct calling sql

- get rid of pesky error messages for every restart

- modernize tcl a little

- bump version number to 1.9d4

- fix info file

- remove obsolete code

- use optional child-rels

- bump version number to 0.144

file upgrade-5.9.1d9-5.9.1d10.sql was initially added on branch oacs-5-9.

Content-Repository Reform: reduce dependency on cr_child_rels and make

creation of cr_child_rels entries optional. Most applications do not

need cr_child_rels, these take substantial space and slow down

operations. The change is fully backward compatible, since per

default cr_child_rels are still created. First tests show an

improvement for the creation of cr_items by 17% and for deletion by

28% (when parent item is a plain cr_item, as it is e.g. the case in

xwowiki). Same change made as well for Oracle.

- affected functions (here with pg-names)

* procedure content_item__new/21 (version for text or file entries) has new optional boolean parameter: with_child_rels

* procedure content_item__new/17 (version for blob entries) has new optional boolean parameter: with_child_rels

- remove/reduce dependency on cr_child_rels (if no rel-tag is used, the chile-information is obtained from cr_items)

* content_item__is_publishable/1

* content_item__is_valid_child/3

* content_item__is_valid_child/2

- reduce number of functions by using defaults

* content_item__copy/5

* content_item__get_title/2

* content_item__move/3

- fix test condition

- improve variable name

- fix test case

- fix install scripts

- add flag "searchable" for form-field file: this allows the use to control, whether the content of the (embedded) file should be searchable or not, Default: false

- There are still instances having old constraint names. The updated

version of ::xowiki::refresh_id_column_fk_constraints takes care about these relicts.

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
Content-Repository Reform: reduce dependency on cr_child_rels and simplify content_item__del() via cascading delete operations

- remove manual deletion operations from content_item__del() via

* delete cr_child_rels via "ON DELETE CASCADE" on parent_id and child_id

* delete cr_item_rels via "ON DELETE CASCADE" on item_id

* delete acs_object_context_index entries via "ON DELETE CASCADE" on ancestor_id and object_id

* delete acs_objects entries via "ON DELETE CASCADE" on context_id

- remove manual deletion operations for symlinks amd journal entries,

since db constrains handle the deletion already

- use cr_items.parent_id instead of cr_child_rels to determine direct children

of items

- remove deletion trigger for content search content_search__dtrg

since "ON DELETE CASCADE" removes entries already