Dashboard

- Moved core.js inclusion to bottom of the page to comply with web best practices…
- Moved core.js inclusion to bottom of the page to comply with web best practices

- Placed warnings for other non trivial cases of big js inclusion in the head

See http://www.openacs.org/forums/message-view?message_id=4266252

- add package_parameter use_hstore to xowiki…
- add package_parameter use_hstore to xowiki

- updat descriptiong for use_hstore in xowf

- update xowiki_form_instance_item_index when renaming items

- new function xowiki::update_item_index to manually update certain

fields in the xowiki_form_instance_item_index

- remove obsolste function in xowf

    • -2
    • +41
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -4
    • +5
    /openacs-4/packages/xowiki/xowiki.info
    • -23
    • +9
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
- bumped version to 0.161…
- bumped version to 0.161

- substantially improved scalability when acessing xowiki form pages

based on attributes specified in revision tables.

- much faster version of folders.folder_query (mostly relevant, when having

hundreds/thousands of folders) and FormPage.get_form_entries

- transferred hstore support from xowf to xowiki (e.g. utilities in

::xowiki::hstore::*)

- FormPage.hstore_attributes: added configurable support for

specifying, what attributes of instance-attributes should

be used in hstore.

- change virus scanning from "clamscan" to "clamdscan"

(use daemon-based version for improved performance

when uploading files)

# - xowiki_form_instance_item_index:

#

# A materialized table of xowiki formpage instances, containing

# just the item information, but combined with other attributes

# frequently used for indexing (like page_id, paren_id, ... hkey).

#

# Rationale: The quality of indices on cr_revisions tend to

# decrease when there are many revisions stored in the database,

# since the number of duplicates increases due to non-live

# revisions. This table can be used for indexing just the live

# revision on the item level.

#

# select count(*) from xowiki_form_instance_item_index

# where package_id = 18255683

# and page_template = 20260757

# and publish_status='ready';

#

#

# Define helper views in connection with the form_instance_item_index:

#

# - xowiki_form_instance_item_view:

#

# A view similar to xowiki_form_pagei, but containing already

# often extra-joined attributes like parent_id, object_type,

# publish_status, etc.. This view returns

# only the values of the live revisions, and uses

# "form_instance_item_index" for quick lookup.

#

# select * from xowiki_form_instance_item_view

# where package_id = 18255683

# and page_template = 20260757

# and publish_status='ready';

#

#

# - xowiki_form_instance_children:

#

# Return the root_item_id and all attributes of the

# form_instance_item_index of all child items under the tree based

# on parent_ids. Use a query like the following to count the

# children of an item having a certain page_template (e.g.

# find all the folders/links/... having the the specified item as

# parent).

#

# select count(*) from xowiki_form_instance_children

# where root_item_id = 18255779

# and page_template = 20260757

# and publish_status='ready';

#

# - xowiki_form_instance_attributes

#

# Return for a given item_id the full set of attributes like the

# one returned from xowiki_form_instance_item_view. The idea is to

# make it convenient to obtain from a query all attributes

# necessary for creating instances. The same view can be used to

# complete either values from the xowiki_form_instance_item_index

#

# select * from xowiki_form_instance_item_index xi

# left join xowiki_form_instance_attributes xa on xi.item_id = xa.item_id;

#

# or from xowiki_form_instance_children

#

# select * from xowiki_form_instance_children ch

# left join xowiki_form_instance_attributes xa on ch.item_id = xa.item_id;

    • -30
    • +42
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -13
    • +23
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -46
    • +287
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -3
    • +3
    /openacs-4/packages/xowiki/xowiki.info
- fix missing interface changes in categories-portlet.page
- fix missing interface changes in categories-portlet.page

- don't clobber objects in "instantiate_objects" if these exists already…
- don't clobber objects in "instantiate_objects" if these exists already

- add support for item index hook (to be used in other packages)

- in recent versions of ckeditor4, we do not need the hack with   for inline mode any more (many thanks to Thomas Renner for this change)
- in recent versions of ckeditor4, we do not need the hack with   for inline mode any more (many thanks to Thomas Renner for this change)

file long-calls.tcl was initially added on branch oacs-5-8.
file long-calls.tcl was initially added on branch oacs-5-8.

- add simple viewer for slow calls
- add simple viewer for slow calls

file long-calls.adp was initially added on branch oacs-5-8.
file long-calls.adp was initially added on branch oacs-5-8.

file ip-info.tcl was initially added on branch oacs-5-8.
file ip-info.tcl was initially added on branch oacs-5-8.

file ip-info.adp was initially added on branch oacs-5-8.
file ip-info.adp was initially added on branch oacs-5-8.

- save pg_version as per-thread variable to avoid needless database queries
- save pg_version as per-thread variable to avoid needless database queries

- xo::pg_version: provide simple support for distinction of versions in pg…
- xo::pg_version: provide simple support for distinction of versions in pg

- use recursive query for child-items in folder-tree in pg9

- add experimental package parameter "MenuBarSymLinks" in xowiki parameters to ease testing

    • -5
    • +16
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -3
    • +4
    /openacs-4/packages/xowiki/xowiki.info
- reduce verbosity
- reduce verbosity

- only add encoding to mime-type for text text/* types
- only add encoding to mime-type for text text/* types

Casting text constants on query and using plpsql function to check permission instead of using a subquery (takes advantage of recursive permissions implementation)
Casting text constants on query and using plpsql function to check permission instead of using a subquery (takes advantage of recursive permissions implementation)

Adding message keys used on the last round of commits.
Adding message keys used on the last round of commits.

Fixing wrong package key for message key.
Fixing wrong package key for message key.

- improve tailorability of form action buttons
- improve tailorability of form action buttons

    • -10
    • +23
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
make sure created XoTcl Objects are properly destroyed at the end of a request (patch by Günter Ernst).
make sure created XoTcl Objects are properly destroyed at the end of a request (patch by Günter Ernst).

    • -3
    • +5
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
Using ::xo::dc api instead of db_*.
Using ::xo::dc api instead of db_*.

    • -6
    • +5
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -6
    • +6
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
i18n.
i18n.

includelets i18n.
includelets i18n.

Import process i18n.
Import process i18n.

    • -4
    • +11
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
formfields i18n.
formfields i18n.

Using prime number for interval of scheduled proc.…
Using prime number for interval of scheduled proc.

Removing trailing pound signs.

- fix for bug #3238
- fix for bug #3238

    • -2
    • +2
    /openacs-4/packages/search/search.info
- add missing indices…
- add missing indices

- bump version number to 2.8.2d1

file upgrade-2.8.1-2.8.2d1.sql was initially added on branch oacs-5-8.
file upgrade-2.8.1-2.8.2d1.sql was initially added on branch oacs-5-8.

- add missing indices…
- add missing indices

- bump version number to 5.8.3d2