• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- 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

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

- improve link label

- bump version number to 5.9.1d8

- Fix type of v_is_registered in dql function content_folder__register_content_type to boolean (was "varchar")

(This chance is necessary at least for pg 9.5)

file upgrade-5.9.1d7-5.9.1d8.sql was initially added on branch oacs-5-9.

file upgrade-5.9.1d6-5.9.1d7.sql was initially added on branch oacs-5-9.

file upgrade-5.9.1d4-5.9.1d5.sql was initially added on branch oacs-5-9.

file upgrade-5.9.1d5-5.9.1d6.sql was initially added on branch oacs-5-9.

Content-Repository Reform : Reduction of number of functions in

the content repository for PostgreSQL by using using argument defaults

(while providing compatibility for clients using old versions):

- reduced number of versions of content_item__new from 12 (!) to 6 by using defaults

- commented differences

- commented arguments of plpgsql functions with long argument lists

- reduced code duplication by basing one version of content_item__new/17 directly on /20

- marking on version of content_item__new/17 and content_item__new/6 as deprecated

- reduced number of versions of content_revision__new from 7 to 4 by using defaults

- commented differences

- marking on version of content_revision__new/7 as deprecated

- let automatically generated functions call directly content_revision__new/13

- remove space from automatically generated functions

- updated automatically generated functions for all types of the content repository

- reduced number of versions of image__new from 4 to 2by using defaults

- reduced number of versions of image__new_revision from 2 to 1 by using defaults

- bump version number

- fix type of v_is_registered to boolean. This fix is necessary at least under pg 9.5

file upgrade-5.8.3a0-5.8.3a1.sql was initially added on branch oacs-5-8.

- never add attributes when already included

Notifications for form-pages:

- added notifications to form pages (omitting per default create/edit operations of links and folders)

- notification content is now generated via method "notification_render" (similar to "search_render")

    • -2
    • +40
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- 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

    • -14
    • +19
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -2
    • +6
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- remove unused files. parameter-set.tcl was deleted already some time ago

- fix escaping of URL, use export_vars

- remove erroneous statement

- change reporting level from "error" to "warning" (errors expect actions from developers)

- remove spaces around links specified via [[...]]

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- don't swallow error message in case site_node::get fails

- provide better message, when URL is doomed to fail

- fix validator for prefix-less pages

- Allow to pass publish_date directly via xotcl-core/tcl/cr-procs.tcl.

This change reduces as well the number of update operations when

inserting/updating xowiki pages.

- add missing www-prefix to denote function called via url interface

- fix editing bug

- Update automatically generated function for cr-types to use provided

publish_date in new revision (Changes for PostgreSQL and Oracle)

file upgrade-5.9.1d3-5.9.1d4.sql was initially added on branch oacs-5-9.