• last updated 36 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Whitespace cleanup

Whitespace cleanup

    • -42
    • +42
    /openacs-4/packages/survey/tcl/survey-procs.tcl
Fix typo

Bring sql inline, streamline sql idiom

Whitespace cleanup

Rename subsite_callback to comply with OpenACS naming convention, reduce divergency between oracle and postgres codebase

bump version number of ckeditor to 4.13.1

re-enable source_dependent operation (not clear, why this was commented out)

Rename string_truncate and string_truncate_middle to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences

As string_truncate_middle was defined in xotcl-request-monitor, bring it to acs-tcl instead

Whitespace cleanup

Bring stack_dump in the templating:: namespace to comply with OpenACS naming convention, create deprecated wrapper

Rename ReturnHeaders proc to comply with OpenACS naming convention, create deprecated wrapper, replace occurrences

Rename proc remove_nulls_from_ns_set to comply with OpenACS naming convention, create deprecated wrapper

Fix typo

Doc formatting changes

Keep supporting previously undocumented use cases for lc_time_fmt:

- database timestamps e.g. "2019-12-16 12:58:10.370124+01"

- short timestamps without seconds e.g. "2019-12-16 12:58"

Improved documentation and extended test cases

Make sure, variable you_are_really is initialized

Adapt clock format for the now stricter 'lc_time_fmt'

Address lc_time_fmt shortcomings:

- use clock scan to enforce supported date formats, 'YYYY-MM-DD' (undocumented, but explicitly checked for in the code) and 'YYYY-MM-DD HH:MM:SS'

- leverage clock scan capabilities to correctly handle 'impossible dates' such as 1999-02-29

- leverage clock format to obtain the correct week day

- leverage clock api to correctly handle gregorian/julian dates

- implement documented formats that had an empty entry in format array (%W, u, %U, %j)

allow empty "correct_when" field

add minutes string to exam protocol

add support for multi-line entries in short_text answers

minor refactoring to general handling of printing minutes per question

    • -12
    • +11
    /openacs-4/packages/xowf/lib/online-exam-answer.wf
support multiple lines in text_fields (as used by sort-text questions)

Deprecate a bunch of date widget procs: they use hardcoded markup, lack localization, don't leverage existing tcl capabilities and most importantly are not in use anywhere in current codebase

Whitespace cleanup

Move CR search callbacks to new namespace in compliance with OpenACS naming convention, create deprecated wrappers, update service contract tables

file upgrade-5.10.0d7-5.10.0d8.sql was initially added on branch oacs-5-10.

Prefer bind variables, use portable idioms

Add ad_library and a bit of doc

Whitespace cleanup

Move rel_segments_* procs in new rel_segment:: namespace to comply with OpenACS naming convention, create deprecated wrappers, replace occurrences