• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Enhanced the documentation of [set_encoding]

Turning on some debug and failure reporting which i previously had commented out

First step in turning ad_http* and util_http* charset- and encoding aware. I added a new helper proc [set_encoding] which handles charset resolution and mapping between IANA/MIME charset names and Tcl encoding names. Currently, this works for the reply-side in GET and POST requests.

Some fixing of the IANA/MIME charset and Tcl encoding handling for the xotcl-core HTTP client infrastructure

We need min_level to be substituted so we build the list with 'list' command instead of using braces.

more sane handling of duplicate naming, now appends count *before* file extension

making album exports more robust for cases where there can be recovery errors due to corrupted data

- allow returnredirect to external url, which is under control of the script

- add explicit attribute "method" to xo::HttpCore

- add table field trype HiddenField

- make all files in xowiki usable for "::xo::library require ..."

- don't call "is_link_page" on Package objects

- reset values in reused formfields (necessary for e.g. weblogs)

    • -1
    • +3
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
    • -12
    • +14
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -2
    • +3
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -4
    • +7
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
revising package info

adding more sample model complexity, adding qaf_tcl_list_of_lists_to_html_table which converts tcl list of lists to one or two tables, useful for converting generic model output to generic reporting formats

- stripped lang prefix for links in regression test

- added regression_test for link to file + download option

- added delegation to Package->invoke for selected methods

"csv-dump", "download", "list". The general question is, whether

e.g. a "delete" on a link should delete the link or target, or

what the target of an "edit" is, or the target of a download.

The first belongs clearly to the link, that last clearly to the

target. We should most probably make this configurable and

move this decisions to the policy.

- derefernece link up to a maximum depth

    • -7
    • +15
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -3
    • +16
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -30
    • +32
    /openacs-4/packages/xowiki/www/admin/test.tcl
- omit nls_language in folder and link forms

Change navigation clicks outside the player to do an exit all ...

- do symbolic link evaluation always on the fly (use per-connections cache)

- remove method FormPage->get_verified_link_type_from_link_page

- fix fresh installs

- omit language-prefix on links (ease life for xowiki-webdav)

    • -4
    • +4
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -27
    • +17
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- some minor refactoring

- new method Page->get_property_from_link_page

- new method FormPage->compute_link_properties

- new method FormPage->get_verified_link_type_from_link_page

- provide icons for links/broken links

    • -6
    • +7
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -28
    • +95
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- overhaul of link support

- replaced Package->resolve_request with link-aware item_info_from_url

- renamed item_ref_from_id => item_info_from_id

- renamed item_ref_from_url => item_info_from_url

- added more than 50 tests to regression tests

    • -201
    • +209
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -4
    • +7
    /openacs-4/packages/xowiki/tcl/weblog-procs.tcl
    • -39
    • +78
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -84
    • +353
    /openacs-4/packages/xowiki/www/admin/test.tcl
- don't set query-variables with empty names

Had to tweak my regexp's that parse the SCORM time intervals slightly.

- first steps to keep references on links

- remove obsolete method Page.package_item_ref

- rename Page.update_references to Page.references_add

    • -5
    • +8
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -27
    • +25
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Need to explicitly set is_live true since 5.6 fixed an old CR bug that

treated is_live undefined as though it's true.

- reduce verbosity

    • -2
    • +1
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- new method Package->item_ref_from_url

- renamed "item_id_ref" to "item_ref_from_id"

- search in html-included content (between curly brackets) in

prototype pages, along the package path and in site-wide pages

- improved documentation

- fixed regression test

- updated dependencies

- bump version number to 0.133

    • -4
    • +4
    /openacs-4/packages/xowiki/xowiki.info
    • -33
    • +91
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
    • -20
    • +22
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
    • -55
    • +79
    /openacs-4/packages/xowiki/www/admin/test.tcl
- get package_id in instance_select_query as well always (e.g. also

for queries based on cr_revisions)

- bump version number to 0.117

- make import more robust

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
Big upgrade to the scorm 2004 stuff ...

- return always package_id for instance_select_query (requires OpenACS 5.2).

- avoid side-effects on connection context when initializing package in "require_site_side_pages"

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl