• last updated 14 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
adding db model for models

moving modeling functions to modeling-functions.tcl, some others to finance-procs.tcl, revisions to model_compute and test model

    • -0
    • +323
    /openacs-4/packages/accounts-finance/tcl/modeling-functions.tcl
- register set_instance_vars_defaults for ::xotcl::Object also for XOTcl 2.0

- remove duplicate line

- export exists method for slot

- reflect xotcl 2 developments

- make check for link to folder more robust for legacy cases

    • -6
    • +7
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
- don't fail, if one uploads and empty archive

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/import-procs.tcl
minor example model adjustments, fixed report bug that set some data columns as constants, added css styles for large tables when reporing.

Cloning of a pageset (which happens when we create a user-specific layout)

wasn't copying the url_name.

added more flexibility to reporting function. Added more error checking to model_compute iterations. added automatic variable tracking (and fixed related references)

increasing example model complexity to provide more practical information. model results do not match spreadsheet model yet.

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