• last updated 11 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
When using AOLserver 4.5 with a config file not containing values for maxthreads,

etc, the pools init code would choose default values that are illegal, causing

an error to show up in one's log file. I've set the default values to those

found in our /etc/config.tcl file.

- create index for acs_objects on package_ids and drop old one (as discussed in OCT)

- bump version number to trigger run of upgrade scripts for testing

file upgrade-5.6.0b1-5.6.0b2.sql was initially added on branch oacs-5-6.

- take original url for guessing content type

Added my JSON utilities package. Included are procs to parse a JSON string

into a canonical Tcl list representation, to generate a JSON string from

such a representation (round-tripping works, i.e. JSON -> Tcl -> JSON),

pretty-print JSON strings, set/get attributes, create objects and arrays,

etc.

    • -0
    • +628
    /openacs-4/packages/acs-tcl/tcl/json-procs.tcl
file json-procs.tcl was initially added on branch oacs-5-6.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/json-procs.tcl
i18n of some messages.

- don't force db-query for every unknown parameter request

- allow template to be configured via get_parameter

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- remove dependency on folder object

- cleanup of folder-obect related code

    • -64
    • +13
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- new package parameters

* WidgetSpecs (for xinha widgets specs per instance),

* PackageTitle, PackageDescription (used in RSS feeds)

- stop using "folder objects". Folder objects are not longer

created. In rare cases, where they are used, their

content must be migrated manually to the new

package parameters.

- bump version number to 0.125

- update dependencies for xotcl-core

    • -28
    • +49
    /openacs-4/packages/xowiki/xowiki.info
    • -46
    • +45
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -4
    • +6
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- bump version number

- minor cleanup

    • -1
    • +9
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +7
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
- adding a new nameing convention for forms and workflows

* a form should be named xxxxx.form

* a workflow should be named xxxxxx.wf

This naming convention helps to improve the user interface and

can avoid confusions for novices.

- follow naming new naming convention and changed prototype

pages accordingly.

    • -12
    • +12
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -1
    • +7
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/www/admin/test.tcl
    • -0
    • +13
    /openacs-4/packages/xowiki/www/prototypes/link.form.page
- align create-new policies to check always creation rights on parent_ids

- new method create-child, similar to create-new, but creates a child of the

base object.

    • -15
    • +11
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- cleanup after removal of logical package_id

- fix typo in comment

- change values in policy1 & 2 for create-new and create-or-use to check

create permissions on parent_ids

- inverse logic of Page.set_resolve_context(): instead of getting optionally

"logical_parent/package_id", return now these always and provide

"physical_parent/package_id" for inherited objects optionally

- provide an additional argument "-from_package_ids" to

FormPage.get_form_entries to return pages of this for for

one/all/several package_ids.

    • -16
    • +20
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -17
    • +54
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Bumped info files for 5.6.0b1

    • -4
    • +4
    /openacs-4/packages/acs-tcl/acs-tcl.info
  1. … 8 more files in changeset.
Removing duplicated -private switch.

- formfiles time/image: don't require user to re-input files/images on edits

- add Stefan's patch for master/slave processing for views..

- set resolve context when resolving a page via url-path (similar to site-wite-pages)

- add -package_id as parameter to count_usages to allow cross package

usages of forms

- make sure to initialize the package of a form, when a form-page

fetches its form

    • -3
    • +4
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -14
    • +35
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- introduce logical_pacakge_id amd logical_parent_id for

inherited pages (currrently site-wide-pages)

    • -4
    • +7
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +23
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- remove link when URL is abbreviated

- keep in url statistics the urls without query parameter

- do cleanup of stale statistics just when queried

Checking if parameter XinhaDefaultPlugins exists and has no empty value; otherwise upgrades from 5.1.x will brake.

Checking if parameter XinhaDefaultPlugins exists and has no empty value; otherwise upgrades from 5.1.x will brake.

- url in statistics contains already query parameter