• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- allow returnredirect to external url, which is under control of the script

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

- add table field trype HiddenField

    • -2
    • +14
    ./packages/xotcl-core/tcl/30-widget-procs.tcl
- 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
    ./packages/xowiki/tcl/category-procs.tcl
    • -2
    • +4
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -1
    • +3
    ./packages/xowiki/tcl/import-procs.tcl
    • -1
    • +3
    ./packages/xowiki/tcl/includelet-procs.tcl
    • -1
    • +3
    ./packages/xowiki/tcl/notification-procs.tcl
    • -12
    • +14
    ./packages/xowiki/tcl/package-procs.tcl
    • -0
    • +2
    ./packages/xowiki/tcl/syndicate-procs.tcl
    • -2
    • +3
    ./packages/xowiki/tcl/weblog-procs.tcl
    • -1
    • +3
    ./packages/xowiki/tcl/xowiki-form-procs.tcl
    • -4
    • +7
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -1
    • +3
    ./packages/xowiki/tcl/xowiki-sc-procs.tcl
    • -1
    • +3
    ./packages/xowiki/tcl/xowiki-utility-procs.tcl
    • -2
    • +4
    ./packages/xowiki/tcl/xowiki-www-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
    ./packages/xowiki/tcl/package-procs.tcl
    • -3
    • +16
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -2
    • +17
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
    • -30
    • +32
    ./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)

    • -37
    • +10
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -4
    • +4
    ./packages/xowiki/tcl/package-procs.tcl
    • -27
    • +17
    ./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

    • -24
    • +11
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -6
    • +7
    ./packages/xowiki/tcl/package-procs.tcl
    • -28
    • +95
    ./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

    • -7
    • +60
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -201
    • +209
    ./packages/xowiki/tcl/package-procs.tcl
    • -4
    • +7
    ./packages/xowiki/tcl/weblog-procs.tcl
    • -39
    • +78
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -8
    • +10
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
    • -84
    • +353
    ./packages/xowiki/www/admin/test.tcl
    • -2
    • +2
    ./packages/xowiki/www/prototypes/news.page
- don't set query-variables with empty names

    • -3
    • +5
    ./packages/xotcl-core/tcl/context-procs.tcl
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

    • -7
    • +21
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -5
    • +8
    ./packages/xowiki/tcl/package-procs.tcl
    • -27
    • +25
    ./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.

    • -1
    • +2
    ./packages/scorm-importer/tcl/import-procs.tcl
- reduce verbosity

    • -2
    • +1
    ./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

    • -33
    • +91
    ./packages/xowiki/tcl/package-procs.tcl
    • -20
    • +22
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -1
    • +5
    ./packages/xowiki/tcl/upgrade/upgrade.tcl
    • -55
    • +79
    ./packages/xowiki/www/admin/test.tcl
    • -1
    • +1
    ./packages/xowiki/www/prototypes/weblog.page
- 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

    • -2
    • +2
    ./packages/xotcl-core/tcl/cr-procs.tcl
- make import more robust

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

    • -1
    • +11
    ./packages/scorm-core/tcl/scorm-core-procs.tcl
    • -0
    • +8
    ./packages/scorm-core/tcl/scorm-core-procs.xql
    • -8
    • +8
    ./packages/scorm-player/embed/player.adp
    • -3
    • +4
    ./packages/scorm-player/tcl/rte-api-init.tcl
    • -1
    • +6
    ./packages/scorm-player/tcl/rte-api-procs.tcl
    • -7
    • +10
    ./packages/scorm-player/tcl/rte-api-procs.xql
    • -0
    • +7
    ./packages/scorm-simple-lms/www/admin/confirm-delete.adp
    • -0
    • +19
    ./packages/scorm-simple-lms/www/admin/confirm-delete.tcl
    • -0
    • +12
    ./packages/scorm-simple-lms/www/admin/delete-course.adp
    • -0
    • +28
    ./packages/scorm-simple-lms/www/admin/delete-course.tcl
    • -0
    • +14
    ./packages/scorm-simple-lms/www/admin/delete-course.xql
- return always package_id for instance_select_query (requires OpenACS 5.2).

    • -12
    • +2
    ./packages/xotcl-core/tcl/cr-procs.tcl
- avoid side-effects on connection context when initializing package in "require_site_side_pages"

    • -2
    • +2
    ./packages/xowiki/tcl/package-procs.tcl
- provide variable page_name for the message key for error messages

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

    • -2
    • +9
    ./packages/xowiki/tcl/includelet-procs.tcl
- fix orderby name

    • -1
    • +2
    ./packages/xowiki/tcl/includelet-procs.tcl

- 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

    • -1
    • +56
    ./packages/xowiki/tcl/form-field-procs.tcl
    • -7
    • +15
    ./packages/xowiki/tcl/includelet-procs.tcl
    • -0
    • +29
    ./packages/xowiki/www/resources/xowiki.css
- 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
    ./packages/xowiki/tcl/xowiki-procs.tcl
    • -23
    • +68
    ./packages/xowiki/tcl/xowiki-www-procs.tcl
- use title usable form as type in istings

- new methods for nicer directory listings: render_icon, pretty_name

    • -5
    • +45
    ./packages/xowiki/tcl/xowiki-procs.tcl