• last updated 10 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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
- provide variable page_name for the message key for error messages

    • -1
    • +3
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- document prefixing of order-by variable

- fix orderby name

- new form_field type: author

* renders from user_id Author name and

* optionally a link to person-info and

* draws optionally an image (either from acs portraits or from

gravatar))

- new flags for form-usages: view_field and hidden_field_names

- some more code-regrouping/commenting

- renamed "isform" to "is_form" for consitency

- use consistently dash instead of underscore in includelet names (child-resources)

- extended ext. callable method list for folder-listings (requires currently the folder extension)

    • -57
    • +61
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
- use title usable form as type in istings