as-assessment-procs.tcl

  • last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Deprecate content::folder::get_folder_from_package as it assumes there will be one folder per package, not true in general

Replace its only occurrence in the codebase with a local reimplementation (expecting the assessment package to comply with this restriction and not have more than 1 folder per package instance)

  1. … 1 more file in changeset.
Fix proc and contract doc elements, so they are properly parsed by apidoc::api_*_documentation.

- Add mising @param

- Add missing @author

- @creation_date -> @creation-date

- @creation-user -> @author

- Fix typos

  1. … 8 more files in changeset.
Whitespace changes

  1. … 5 more files in changeset.
Avoid unnecesary existence checks.

  1. … 5 more files in changeset.
merged changes from the oacs-5-9 branch and resolved conflicts

  1. … 7834 more files in changeset.
Standardize spellings of names

  1. … 12 more files in changeset.
- add editor hints to keep spaces/tabs in the future more consistent

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

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

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

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

  1. … 93 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. … 19 more files in changeset.
Add new proc to calculate user readable times.

Add new pretty hours minutes display for a human readable time. Add more accurate tracking of time spent completing an assessment

  1. … 2 more files in changeset.
Merged changes to HEAD ...

  1. … 1556 more files in changeset.
Fix check for number of tries

Item edit changes

  1. … 5 more files in changeset.
Abstract handling of updates that happen on even admin edit page for item-edit.

  1. … 22 more files in changeset.
Add api support for publish status

  1. … 2 more files in changeset.
fix bug for display pretty time remaining

Switch QUESTION text to use cr_revisions.content instead of

cr_revisions.title. Upgrade included, tested on Oracle 10g and PG 8.0.

Added automated test for as::item::new

Fix division with empty string in pretty_time proc and added test.

Beginning of work to allow question text (and other CLOB/BLOB columns)

to include HTML from Xinha rich text editor to allow images etc in the

question text, feedback etc. Mainly this allow an arbitrary number of

images or links to files, instead of just one allowed per question.

  1. … 8 more files in changeset.
Add includable pages for LORS delivery.

  1. … 22 more files in changeset.
Merge oacs-5-2 to HEAD

  1. … 226 more files in changeset.
Fix for inserting clob when creating sections

  1. … 2 more files in changeset.
Update clobs properly on Oracle. content::revision::new can't tell if

the database datatype is a clob.

  1. … 6 more files in changeset.
fix: set -context_id correctly to folder_id

fix

Set context_id so folder and assessment inherit permissions from package_id

  1. … 4 more files in changeset.
If the creation_user for the assessment item is blank, default to the creation_user of the assessment revision

  1. … 2 more files in changeset.
rollback for datamanager facilities

  1. … 3 more files in changeset.
Use creator_id instead of creation_user, creation_user is sometimes blank which causes an error