• last updated 5 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
- replace deprecated ad_require_permission by permission::require_permission in index.vuh files

- replace deprecated ns_tmpnam by ad_tmpname in index.vuh files

  1. … 3 more files in changeset.
- add convenience function ad_tmpdir

- replace deprecated ns_tmpnam by ad_tmpdirname or ad_tmpdir

  1. … 3 more files in changeset.
Merging back to HEAD branch oacs-5-8 (using tag vg-merge-oacs-5-8-from-20141027).

  1. … 2533 more files in changeset.
- improve page_contracts

  1. … 81 more files in changeset.
- use Tcl 8.5 idioms (range expressions, lindex with multiple indices)

  1. … 4 more files in changeset.
- modernize Tcl (use byte-compiled comparisons, don't use numeric comparisons for string expressions, brace expressions)

n ----------------------------------------------------------------------

    • -3
    • +3
    ./asm-admin/add-edit-section-check.tcl
  1. … 79 more files in changeset.
- use "lassign" instead of "util_unlist"

- replace deprecated "ad_get_user_id" by "ad_conn user_id"

- replace deprecated "ad_require_permission" by "permission::require_permission"

- replace deprecated "ad_permission_p" by "permission::permission_p"

- use "lassign" instead of "foreach ... break" idiom

  1. … 7 more files in changeset.
- added victor's patch to omit deprecated messages of "ns_info tcllib". Background: naviserver supports multiple (virtual) servers, which might have different tcllibs. Therefore, the preferred command to query this was moved to "ns_server ?-server s? tcllib" and "ns_info tcllib" was deprecated. From the OpenACS point of view, one wants to locate the actual library. Since the variable does not change, it is fine to store it in a per-thread variable which can be efficiently accessed.

  1. … 20 more files in changeset.
Show only results for users member of the current community

    • -2
    • +4
    ./asm-admin/results-users-postgresql.xql
Indentation

Remove extra tag

Answer of type "text" (long text -> clob_answer) were not displayed. Fix query and list template to make them show up.

Add optional args in call to finish-callback

Merge assessment from oacs-5-4

  1. … 94 more files in changeset.
- Fix for bug #3158 by asmund realfson

Checkpoint 11.2 (level AA): Avoid deprecated features of W3C technologies .

  1. … 30 more files in changeset.
Checkpoint 3.7 (level AA): Mark up quotations. Do not use quotation markup for formatting effects such as indentation.

  1. … 57 more files in changeset.
get_latest_session query is used by the script at www, not by the include in lib/. Moved to the right file.

  1. … 2 more files in changeset.
the session include needs a value for session_id in order to display the result of that session, would throw an error otherwise.

  1. … 2 more files in changeset.
Fix name of property (context instead of context_bar)

Don't display the "view results" link if the assessment has not been taken yet.

Localize status of the assessment.

fixed scores

Revert ajax dependency. More fix for fractional points

    • -218
    • +130
    ./asm-admin/item-edit-general.tcl
  1. … 9 more files in changeset.
Fix swap URLs.

Fix score calculation. This checks the score for each question that

was actually answered during a particular session and calculates the

score based on that.

  1. … 2 more files in changeset.
One more file keying on as_item_id instead of title.

Ticket#3143 Patch#869 from Åsmund Realfsen to not link to results for anonymous answers.

  1. … 1 more file in changeset.
Finish work to support fractional points. All tables switched to

float. Forms switched to validate float.

  1. … 3 more files in changeset.
Use template head.

Add an initial alphabetic character at the beginning of the anchor name.