Index: openacs-4/ChangeLog =================================================================== RCS file: /usr/local/cvsroot/openacs-4/ChangeLog,v diff -u -r1.15.2.1 -r1.15.2.2 --- openacs-4/ChangeLog 7 Sep 2021 11:15:36 -0000 1.15.2.1 +++ openacs-4/ChangeLog 13 Jul 2023 13:42:04 -0000 1.15.2.2 @@ -1,5 +1,59 @@ +2021-09-15 gustafn + + * packages/xotcl-request-monitor/www/long-calls.tcl: + trim potentially partial lines + +2021-09-14 gustafn + + * packages/file-storage/tcl/file-storage-procs.tcl: + fix typo + + * packages/xowiki/tcl/xowiki-procs.tcl: + improve robustness also for not fully correctly setup + includelet classes + + * packages/acs-core-docs/www/xml/for-everyone/release-notes-5-10.xml: + minor update of change log + + * packages/acs-subsite/tcl/package-procs-postgresql.xql: + * packages/acs-subsite/tcl/package-procs.tcl: + whitespace changes + +2021-09-10 gustafn + + * packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl: + Add the "/dotlrn" path without tailing slash to the + exception list This will cause just a redirect, but if the + server is in a bad state, even this might take long. + +2021-09-09 antoniop + + * packages/file-storage/tcl/file-storage-procs.xql: + * packages/file-storage/tcl/test/file-storage-procs.tcl: + Fix typo, increase api coverage + + * packages/file-storage/www/download-zip.tcl: + * packages/file-storage/www/folder-chunk.tcl: + Make sure a nonempty return URL is always provided when + downloading a zipfile, or the javascript idiom implementing + the redirect would return to the page itself and restart the + archiving from scratch + 2021-09-07 gustafn + * ChangeLog: + Use changelog of oacs-5-10 as Changelog in the release files + + * www/SYSTEM/csp-collector.tcl: + added page contract + + * packages/xowf/tcl/test-item-procs.tcl: + factor out common code to reduce redundancies + + * packages/xotcl-core/tcl/05-db-procs.tcl: + move documentation to the generic level, don't make methods + public, which are intentionally non-public + * packages/acs-core-docs/www/aolserver.html: * packages/acs-core-docs/www/aolserver4.html: * packages/acs-core-docs/www/automated-testing-best-practices.html: @@ -120,6 +174,47 @@ * packages/acs-lang/www/doc/i18n-requirements.adp: regenerated documentation, including change log + * packages/xotcl-core/tcl/05-db-procs.tcl: + * packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl: + simplify code (allow warning, although i am not fully + convinced, this is a good idea) + +2021-09-07 antoniop + + * packages/xotcl-core/tcl/05-db-procs.tcl: + "timestamp with timezone" is the name of a DBMS datatype, + needs to be spelled this way + + * packages/acs-automated-testing/tcl/aa-test-procs.tcl: + Add explicit level to uplevel occurrences + + * packages/acs-templating/lib/body_scripts.tcl: + Add include contract + + * packages/categories/lib/categorize.tcl: + * packages/dotlrn-homework/www/master.tcl: + * packages/new-portal/www/themes/kelp-theme/site-master-kelp.tcl: + Add page contract + + * packages/dotlrn-homework/www/master.tcl: + Extend page contract, modernize tcl + + * packages/proctoring-support/tcl/safe-exam-browser-procs.tcl: + Fix typo + + * packages/acs-templating/lib/body_scripts.tcl: + * packages/xotcl-core/tcl/05-db-procs.tcl: + Improve doc + + * packages/xotcl-core/tcl/20-Ordered-Composite-procs.tcl: + Make sorting more robust to invalid sorting criteria: + instead of failing, ignore them and report the condition as + a warning + + * packages/categories/www/cadmin/master.tcl: + change_locale is actually a property of this master that is + supplied by the slaves, not a part of the page contract + 2021-09-06 gustafn * packages/acs-tcl/tcl/text-html-procs.tcl: @@ -942,7 +1037,8 @@ * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/www/resources/test-item.css: - fix collateral damage from earlier submissions download - change (error: can't read "__form_fields") - improve styling + change (error: can't read "__form_fields") + - improve styling (many thanks to Monika Andergassen and Stephan Adelsberger) for composite questions in 2-col layout @@ -1384,9 +1480,11 @@ parameter of acs-admin). When a recent version of NaviServer is used that supports certificate refetch on SIGHUP, the new certificates are automatically updated - without a server restart. Prerequisites: - Recent version + without a server restart. Prerequisites: + - Recent version of letsencrypt NaviServer module installed (0.6) and - configured - Recent version of NaviServer (currently + configured + - Recent version of NaviServer (currently Bitbucket tip) for automated certificate reloading When the recent letsencrypt module is not installed, check_expired_certificates sends expiration warnings as @@ -1404,20 +1502,28 @@ text and answer interactions are displayed in two columns The implementation supports responsive design and switches for small width display again to single column display. - Supported question types: - Text Interaction - ShortText - Interaction - MC Interaction - SC Interaction - Reorder - Interaction - Upload Interaction + Supported question types: + - Text Interaction - ShortText + Interaction + - MC Interaction - SC Interaction - Reorder + Interaction + - Upload Interaction 2021-07-14 gustafn * packages/xowf/tcl/test/test-item-procs.tcl: * packages/xowf/xowf.info: - Extended regression test for test item procs - compose exam - by three exericises instead of one - added test for - short-text exercise with a file submission - exam contain + Extended regression test for test item procs + - compose exam + by three exericises instead of one + - added test for + short-text exercise with a file submission + - exam contain now a text exercise, a short-text exercise with a file - submission, and a MC question - test case fills out first - two questions in the test case - bumped version number due + submission, and a MC question + - test case fills out first + two questions in the test case + - bumped version number due to dependency on xowiki (option "-next_page_must_contain" for "xowiki::test::edit_form_page") @@ -1824,7 +1930,8 @@ * packages/acs-automated-testing/tcl/aa-test-procs.tcl: - support var args for "aa_log_result" like for "ns_log" and - "ad_log" - make form parsing via xpath more robust (don't + "ad_log" + - make form parsing via xpath more robust (don't assume, every INPUT has a name, although it should) * packages/xowf/tcl/test/test-item-procs.tcl: @@ -1895,7 +2002,8 @@ * packages/xowf/xowf.info: - fixed display of total points in exam protocol: base calculations on total points rather than the points - achievable based on progress - fixed typo in message key + achievable based on progress + - fixed typo in message key * packages/xowiki/tcl/test/api-test-procs.tcl: * packages/xowiki/tcl/xowiki-utility-procs.tcl: @@ -1907,9 +2015,11 @@ * packages/xowf/lib/inclass-exam-answer.wf: * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/xowf.info: - Improved handling of autosaved revisions - reject autosave + Improved handling of autosaved revisions + - reject autosave attempts when time for a student is up (works for - synchronized and non-synchronized exams) - include + synchronized and non-synchronized exams) + - include submissions with autosaved content in exam protocol (even when state is "initial") @@ -2014,15 +2124,20 @@ * packages/proctoring-support/tcl/proctoring-procs.tcl: * packages/proctoring-support/tcl/safe-exam-browser-procs.tcl: * packages/proctoring-support/tcl/test/proctoring-test-procs.tcl: - Safe Exam Browser support reform: - capture both + Safe Exam Browser support reform: + - capture both RequestHash and ConfigKeyHash from the request headers and use both to validate the request. This enables to choose to just enforce the plain conf, instead of the whole - conf+binaries combination, which is platform-specific - + conf+binaries combination, which is platform-specific + - support storing multiple keys, required e.g. to support - multiple platform-specific keys - make suppling of the - config file optional - extend automated tests to cover new - features - clanup redundant index - return config file + multiple platform-specific keys + - make supplying of the + config file optional + - extend automated tests to cover new + features + - clanup redundant index - return config file using its stored filename 2021-06-14 antoniop @@ -2046,8 +2161,8 @@ update the modifying user and the modifying IP (since this data is not always available). But this version is at least good enough for experimenting and checking for unwanted - side-effects. xotcl-core: upadated version number to - 5.10.0d40 xowf: upadated version number to 5.10.0d39 + side-effects. xotcl-core: updated version number to + 5.10.0d40 xowf: updated version number to 5.10.0d39 * packages/acs-tcl/tcl/request-processor-procs.tcl: fix once more handling of internal redirects in error cases @@ -2213,7 +2328,8 @@ * packages/xowiki/xowiki.info: - Added new method extra_html_fields to provide an easy means to add extra HTML fields to the form autogenerated - for form pages - bump version number to 5.10.0d79 + for form pages + - bump version number to 5.10.0d79 * packages/xowf/tcl/test-item-procs.tcl: Added warning, when (not all) requested forms could not be @@ -2530,11 +2646,15 @@ Handle correctly the indexing of moderated messages in fulltext search: so far the fulltext search would also include unapproved messages and threads. With this reform we - address this by: - making sure unapproved threads are - deleted from the index - making sure new threads are added - to the index only when the are approved - making sure we + address this by: + - making sure unapproved threads are + deleted from the index + - making sure new threads are added + to the index only when the are approved + - making sure we unindex or reindex a thread whenever the approval state - changes - not fetching unapproved messages in the + changes + - not fetching unapproved messages in the datasource callback, hence excluding them from the index Note that Oracle has not been targeted by the reform. However, the situation improves for Oracle as well, because @@ -2599,12 +2719,15 @@ Hide timing information from the user * packages/proctoring-support/www/resources/proctored-page.js: - Streamline proctoring upload: - do not hardcode a timeout, - requests will either complete or eventually fail - use a + Streamline proctoring upload: + - do not hardcode a timeout, + requests will either complete or eventually fail + - use a single event handler at the end of the request to decide if and how to reschedule the upload. This prevents the possibility that the same error event triggers multiple - uploads via different handlers - improve documentation + uploads via different handlers + - improve documentation 2021-04-25 gustafn @@ -2979,13 +3102,16 @@ Promote logics in auth::authentication::Authenticate to a public api, which unfortunately cannot be the same due to the inconsistent naming, hence we have to create a new alias - Rationale: - the proc provides some value to the user by + Rationale: + - the proc provides some value to the user by choosing the right contract implementation depending on the - authority - we found occurrences in other packages + authority + - we found occurrences in other packages downstream, and as internally this proc is calling only public api, one could just duplicate the whole thing and be compliant with our standards, which is not an improvement - IMO - the proc was already tested and documented + IMO + - the proc was already tested and documented * packages/proctoring-support/lib/proctoring-upload.tcl: * packages/proctoring-support/tcl/proctoring-procs.tcl: @@ -3719,8 +3845,10 @@ for the student. Certainly, for other students, other numbers and results will be provided. Note that this value sets can be used for numeric a non-numeric exercises. - Current limitations: - only defined for short-text questions - (can be in general also for other question types) - no + Current limitations: + - only defined for short-text questions + (can be in general also for other question types) + - no elaborate user interface for entering value sets (or a thorough validator) is provided. @@ -3803,14 +3931,19 @@ * packages/xowf/www/prototypes/TestItemReorder.form.page: * packages/xowiki/tcl/form-field-procs.tcl: Added two types of grading schemes (in addition to "exact") - to ordering exercises: - "position": count elements as - correct, when these are on the correct position - + to ordering exercises: + - "position": count elements as + correct, when these are on the correct position + - "relative": count elements as correct, if the neighboring element is correctly before the actual element The results are adjusted by the same guessing correction as in the "ggw" - scheme for MC exercises. Example: - desired order: - 1,2,3,4 - provided answer: 3,1,2,4 - scheme "exact": 0% - - scheme "position": 0 0 0 1 - scheme "relative": 0 1 1 + scheme for MC exercises. Example: + - desired order: + 1,2,3,4 + - provided answer: 3,1,2,4 - scheme "exact": 0% + - scheme "position": 0 0 0 1 + - scheme "relative": 0 1 1 (correctly ordered 1<2 and 2<4) A minor refactoring was also performed to ease code reuse. @@ -3960,8 +4093,10 @@ * packages/categories/sql/postgresql/upgrade/upgrade-1.1.5d3-1.1.5d4.sql: * packages/categories/www/doc/o.adp: * packages/categories/www/doc/o.html: - Final phasing out of acs_named_objects - remove table - creation - update documentation - provide an optional + Final phasing out of acs_named_objects + - remove table + creation + - update documentation - provide an optional upgrade script to delete the table and the object type (commented out by default, as people might have defined object subtypes downstream). Context: this table and the @@ -3997,11 +4132,16 @@ * packages/categories/www/categories-browse.adp: * packages/categories/www/categories-browse.tcl: * packages/categories/www/categories-browse.xql: - Rework of category UI: - phase out usage of - acs_named_objects, use object title instead - rework - pagination using builtin template::list features - reduce - hardcoded styling and markup - rework strange database - idioms - remove divergency between oracle and postgres + Rework of category UI: + - phase out usage of + acs_named_objects, use object title instead + - rework + pagination using builtin template::list features + - reduce + hardcoded styling and markup + - rework strange database + idioms + - remove divergency between oracle and postgres codebase * packages/faq/www/admin/q-and-a-add-edit.tcl: @@ -4052,11 +4192,14 @@ * packages/categories/www/cadmin/category-usage-postgresql.xql: * packages/categories/www/cadmin/category-usage.adp: * packages/categories/www/cadmin/category-usage.tcl: - Refactor of category mapping UI: - remove reference to + Refactor of category mapping UI: + - remove reference to obsolete and unmaintained acs_named_objects, which was - preventing the UI to work in practice - rework pagination + preventing the UI to work in practice + - rework pagination and other idioms to long standing template::list best - practices - reduce hardcoded styling + practices + - reduce hardcoded styling 2021-03-08 gustafn @@ -4871,7 +5014,7 @@ storage systems. In addition, the deletion handling was also refactored such that the non-scalable functions iterating over all items (such as "cr_check_orphaned_files") - will become obsolete. This is imporant for content + will become obsolete. This is important for content repositories with double and triple digit terabytes. * packages/search/tcl/search-init.tcl: @@ -4899,10 +5042,12 @@ * packages/acs-authentication/tcl/local-procs.tcl: * packages/acs-authentication/tcl/test-authority-procs.tcl: * packages/acs-automated-testing/tcl/authority-procs.tcl: - - Rework acs-api-browser.callgraph__bad_calls automated + - Rework acs-api-browser.callgraph__bad_calls automated test so that acs-service-contract calling contract - implementation is considered OK - Reinstate authentication - service contracts as private - Move test authority + implementation is considered OK + - Reinstate authentication + service contracts as private + - Move test authority implementation to acs-authentication to remove intra-package dependency acs-api-browser.callgraph__bad_call still fails because proc acs-tcl.install::xml::action::create-user calls @@ -5000,7 +5145,8 @@ * packages/acs-api-browser/tcl/acs-api-documentation-procs.tcl: * packages/acs-api-browser/tcl/test/acs-api-browser-procs.tcl: - fixed mis-classification of "max", "min" and "random" in - "tclcode_to_html" - added new test case + "tclcode_to_html" + - added new test case "callgraph__bad_calls" to check for a) calls to deprecated procs b) direct calls to private procs from other packages ("private" means "packakge private" @@ -5571,10 +5717,14 @@ operations might lead to crashes * packages/xowiki/tcl/form-field-procs.tcl: - overhaul of formfield of type numeric - use connection - locale for localization per default - accept always numbers - in en_US - support keeping optional the original user string - (good for exams) - use this new combination in textfields + overhaul of formfield of type numeric + - use connection + locale for localization per default + - accept always numbers + in en_US + - support keeping optional the original user string + (good for exams) + - use this new combination in textfields numeric type. 2021-02-04 gustafn @@ -5872,11 +6022,16 @@ * packages/xowf/www/resources/form-generator.css: * packages/xowf/www/resources/test-item.css: * packages/xowf/xowf.info: - Updates for upload_interaction: - allow lecturer to specify - number of file, which can be uploaded - handle - singular/plural labels for attachment/attachments - handle - singular/plural labels for Students submitting files - - styling improvements - bump version number to get as well + Updates for upload_interaction: + - allow lecturer to specify + number of file, which can be uploaded + - handle + singular/plural labels for attachment/attachments + - handle + singular/plural labels for Students submitting files + - + styling improvements + - bump version number to get as well message catalog updates from xowiki * packages/xowiki/xowiki.info: @@ -6317,11 +6472,14 @@ * packages/xowf/xowf.info: * packages/xowiki/tcl/xowiki-procs.tcl: * packages/xowiki/xowiki.info: - Improved handling of link and child resources of forms - + Improved handling of link and child resources of forms + - test-item-procs: use resolve context to resolve e.g. images in the context of the original form (many thanks to Thomas - Renner for the suggestion) - added extra argument - "-context_obj" to substitute_markup to ease client code - + Renner for the suggestion) + - added extra argument + "-context_obj" to substitute_markup to ease client code + - inclass-exam-answer.wf: reduced the db interactions by using form_info for form generation @@ -6764,7 +6922,7 @@ * packages/xowiki/tcl/form-field-procs.tcl: * packages/xowiki/xowiki.info: new form-field class: boolean_checkbox behaves like - boolean, but provdes just a single checkbox instead of + boolean, but provides just a single checkbox instead of yes/no radio in "boolean" the output is full compatible with "boolean". The boolean_checkbox is used in test-item procs for a more slim correct/incorrect specification @@ -6834,13 +6992,17 @@ * packages/xotcl-request-monitor/tcl/callback-procs.tcl: * packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl: * packages/xotcl-request-monitor/xotcl-request-monitor.info: - request monitor overhaul: - new parameter + request monitor overhaul: + - new parameter "do_double_click_prevention" (default: on) When turned off, double click prevention can be selectively turned - off. - new parameter "monitor_urls" (default: / /register/ + off. + - new parameter "monitor_urls" (default: / /register/ /dotlrn/) track for these URLs performance via minin - responsetime plugin - added upgrade script for removing old - parameters - bump version to 0.60 + responsetime plugin + - added upgrade script for removing old + parameters + - bump version to 0.60 2020-11-20 gustafn @@ -6933,11 +7095,12 @@ * packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl: Add a second period to new lines starting with one ('dot-stuffing'), as defined by RFC 5321 section 4.5.2, - before sending mail via nssmptd. According to the RFC: - + before sending mail via nssmptd. According to the RFC: + - "Before sending a line of mail text, the SMTP client checks the first character of the line. If it is a period, one additional period is inserted at the beginning of the line." - - "When a line of mail text is received by the SMTP server, + - "When a line of mail text is received by the SMTP server, it checks the line. If the line is composed of a single period, it is treated as the end of mail indicator. If the first character is a period and there are other characters @@ -7032,10 +7195,12 @@ * packages/notifications/tcl/sweep-procs.xql: Solve a potential issue when one would cleanup "dynamic" notification requests: this was done directly on the table - and could therefore leave dangling acs_objects around - + and could therefore leave dangling acs_objects around + - cleanup all acs_objects of type 'notification_request' that do not have a corresponding entry in the table (~35000 - downstream) - embed logic of delete_dynamic_requests query + downstream) + - embed logic of delete_dynamic_requests query inside select_invalid_request_ids query, as there the deletion is done properly @@ -7096,8 +7261,10 @@ * packages/xowf/lib/inclass-exam.wf: * packages/xowf/www/prototypes/select_question.form.page: * packages/xowf/www/resources/test-item.css: - - added detailed proctoring options - accordion style exam - options - allow restart in "done" state only for SWAs + - added detailed proctoring options + - accordion style exam + options + - allow restart in "done" state only for SWAs * packages/acs-tcl/tcl/apm-procs.tcl: * packages/acs-tcl/tcl/proxy-procs.tcl: @@ -7134,7 +7301,8 @@ 2020-10-28 trenner * packages/xowf/lib/edit-interaction.wf: - remove the view action - for the moment we do not need it + remove the view action + - for the moment we do not need it 2020-10-28 hectorr @@ -7664,12 +7832,16 @@ * packages/xowiki/www/admin/export.tcl: * packages/xowiki/www/admin/import.tcl: * packages/xowiki/www/admin/test.tcl: - Use common interface for object reference in bulk actions - + Use common interface for object reference in bulk actions + - use same interface in child-resources and form-usages (when - bulk-actions are used) - move "get_ids_for_bulk_actions" - from page to package (to make in usable in www/admin) - use + bulk-actions are used) + - move "get_ids_for_bulk_actions" + from page to package (to make in usable in www/admin) + - use consistently "get_ids_for_bulk_actions" (also in - www/admin/*.tcl) - provide backward compatibility (still + www/admin/*.tcl) + - provide backward compatibility (still support "name" and "-parent_id") * packages/xowf/lib/inclass-exam.wf: @@ -8002,8 +8174,10 @@ * packages/xowiki/tcl/xowiki-procs.tcl: * packages/xowiki/tcl/xowiki-www-procs.tcl: provide additional configuration hooks when creating new - pages - p.source (copy variables from that site-wide page - upon creation) - p.configure (call a method for + pages + - p.source (copy variables from that site-wide page + upon creation) + - p.configure (call a method for configuration of the page) * packages/acs-tcl/tcl/xml-0-sgml-procs.tcl: @@ -8053,7 +8227,8 @@ google ranking of a web site. * packages/acs-admin/www/auth/batch-job.tcl: - fix listing of batch run - make links clickable - modernize + fix listing of batch run + - make links clickable - modernize Tcl code * packages/xowf/tcl/test-item-procs.tcl: @@ -8315,14 +8490,16 @@ * packages/xowiki/tcl/form-field-procs.tcl: * packages/xowiki/tcl/xowiki-procs.tcl: Implement 'language_specific' formfields and 'localized' - FormPage properties: - properties can be stored and + FormPage properties: + - properties can be stored and retrieved specifying a -localized flag: this flag will make transparently store and retrieve the property value from a custom message key created in the acs-translations package referencing the FormPage. This localization mechanism is additional to that of language-prefixed pages and can address the need of multi-language content for - non-prefixable objects such as folders - via specifying + non-prefixable objects such as folders + - via specifying language_specific in the formfield spec, one can enable this new localization mechanism when interacting with the FormPage via an xowiki::Form TODO: handle export/import of @@ -8623,8 +8800,10 @@ * packages/xowiki/tcl/xowiki-www-procs.tcl: * packages/xowiki/www/resources/xowiki.css: * packages/xowiki/xowiki.info: - MenuBar reform - MenuBars are now easier programmatically - extensible (easier to maintain) - refactored code, reduced + MenuBar reform + - MenuBars are now easier programmatically + extensible (easier to maintain) + - refactored code, reduced scatted definitions (all configurations at the same place) - unified templating: use body property @body.folderHTML@ instead of @folderhtml@ From the former API calls only @@ -8662,9 +8841,12 @@ entries) or via the MenuBar API (e.g. calling ":add_menu_item ..."). All configurations follow the following definition order where later entries can refine - earlier entries: - package level: package parameter - ExtraMenuEntries - configuration method: use standard or - tailored confguration methods - per-folder definition: + earlier entries: + - package level: package parameter + ExtraMenuEntries + - configuration method: use standard or + tailored configuration methods + - per-folder definition: content of the extra_menu_entries Note that the menu entry definition language supports as well adding/clearing menus, etc., so almost everything can be refined. I've noticed @@ -9139,7 +9321,6 @@ .xql just in cases, where the query is NOT included in the source. I took the opportunity to fix more such cases in this file. Many thanks to Tony Kirkham for the bug report. - 2020-08-22 gustafn @@ -9719,20 +9900,27 @@ * packages/proctoring-support/www/resources/proctoring.js: * packages/proctoring-support/www/upload.adp: * packages/proctoring-support/www/upload.tcl: - An own package for proctoring support. What is there - adp + An own package for proctoring support. What is there + - adp includes implementing the main proctoring user interaction: desired page can be enclosed in an iframe that will send shaphots taken from browser's camera and microphone at random intervals. Various options can be specified, including custom UI messages and the include can be integrated in custom pages or as part xowiki/xowf object - methods - wizard-based step-by-step configuration of user's - setup - english and german localization - default - proctoring upload endpoints upon package mount - - configuration data-model and API What is missing - + methods + - wizard-based step-by-step configuration of user's + setup + - english and german localization - default + proctoring upload endpoints upon package mount + - + configuration data-model and API What is missing + - reporting UI includes (porting from downstream should come - shortly) - some message key is WU specific (but can be - customized) - further parameters/customization - ... + shortly) + - some message key is WU specific (but can be + customized) + - further parameters/customization - ... 2020-08-08 gustafn @@ -9831,19 +10019,23 @@ are displayed always . non-confirmed notification messages are sticky, i.e. the are displayed also when a user changes to some other question. . three different urgency - levels for messages . built around an includelet - bumped + levels for messages . built around an includelet + - bumped version number to 5.10.0d59 * packages/xowf/lib/inclass-exam-answer.wf: * packages/xowf/lib/inclass-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/tcl/xowf-includelet-procs.tcl: * packages/xowf/xowf.info: - - integration of inclass-exam with personal notifications - - new (comnposite) includelet "exam-top-includelet" - new + - integration of inclass-exam with personal notifications + - + new (comnposite) includelet "exam-top-includelet" + - new www-calls for workflows: * inclass-exam.wf: . send-participant-message * inclass-exam-answer.wf: . - message-poll . message-dismiss - bumped version number + message-poll . message-dismiss + - bumped version number to 5.10.0d23 * packages/xowiki/tcl/package-procs.tcl: @@ -10619,17 +10811,20 @@ * packages/xotcl-core/tcl/06-param-procs.tcl: * packages/xotcl-core/xotcl-core.info: - - based xo::parameter on nsv_dict when available - bumped + - based xo::parameter on nsv_dict when available + - bumped version number to 5.10.0d31 * packages/acs-tcl/acs-tcl.info: * packages/acs-tcl/tcl/00-icanuse-procs.tcl: - - icanuse: added nsv_dict - bumped version number to + - icanuse: added nsv_dict + - bumped version number to 5.10.0d37 * packages/acs-lang/acs-lang.info: * packages/acs-lang/tcl/lang-message-procs.tcl: - - simplifying one more expression - bump version number to + - simplifying one more expression + - bump version number to 5.10.0d11 * packages/xowf/lib/inclass-exam.wf: @@ -10742,16 +10937,20 @@ * packages/xowiki/tcl/xowiki-www-procs.tcl: * packages/xowiki/www/resources/autosave-text.js: * packages/xowiki/www/resources/xowiki.css: - - textarea: added attribute "autosave" - set autosave + - textarea: added attribute "autosave" + - set autosave attributes in text_fields, when "multiple_lines" was - specified. - remove for the time being "hkey" from + specified. + - remove for the time being "hkey" from "non_cached_instance_var_patterns", since this was recently fixed (TODO: check regression test and reactivate - it later) - new Externally callable method: + it later) + - new Externally callable method: autosave-attribute: this is a simplified version of "save-attributes", but which does NOT perform input validation, which might be a problem in case of partial - input - add "autosave-attribute" to all policies, where + input + - add "autosave-attribute" to all policies, where "save-attributes" was set 2020-05-25 hectorr @@ -10867,10 +11066,13 @@ * packages/acs-tcl/tcl/defs-procs.tcl: * packages/acs-tcl/tcl/security-procs.tcl: * packages/acs-tcl/tcl/site-nodes-procs.tcl: - acs::per_request_cache: standardize per-request caching - + acs::per_request_cache: standardize per-request caching + - added per-request cache verfsy similar to - acs::per_thread_cache - use per-request-cache on several - occasions - bump version number of acs-tcl to 5.10.0d35 + acs::per_thread_cache + - use per-request-cache on several + occasions + - bump version number of acs-tcl to 5.10.0d35 * packages/chat/catalog/chat.en_US.ISO-8859-1.xml: add one more missing message key @@ -10899,9 +11101,12 @@ * packages/xotcl-core/tcl/01-debug-procs.tcl: * packages/xotcl-core/tcl/06-package-procs.tcl: * packages/xotcl-core/xotcl-core.info: - acs::per_thread_cache: standardize per-thread caching - - added per-thread cache based on namespaced Tcl variables. - - use per-thread-cache on several occasions - bump version + acs::per_thread_cache: standardize per-thread caching + - + added per-thread cache based on namespaced Tcl variables. + - + use per-thread-cache on several occasions + - bump version number of acs-tcl to 5.10.0d34 * packages/acs-tcl/tcl/00-icanuse-procs.tcl: @@ -10966,9 +11171,12 @@ * packages/acs-admin/tcl/apm-admin-procs.tcl: * packages/acs-admin/tcl/site-wide-procs.tcl: * packages/acs-admin/www/apm/packages-install.tcl: - improve acs-admin//apm/packages-install - use usual user - interaction for select/unselect all - add proper handling of - no upgrades - improve HTML markup - improve code + improve acs-admin//apm/packages-install + - use usual user + interaction for select/unselect all + - add proper handling of + no upgrades + - improve HTML markup - improve code orthogonality * packages/acs-tcl/tcl/apm-procs.tcl: @@ -11055,7 +11263,8 @@ * packages/xowf/www/prototypes/TestItemShortText.form.page: * packages/xowf/www/prototypes/TestItemText.form.page: * packages/xowf/www/prototypes/TestItemUpload.form.page: - - added name validator for site-wide pages - updated + - added name validator for site-wide pages + - updated site-wide pages * packages/acs-kernel/sql/postgresql/upgrade/upgrade-5.10.0d29-5.10.0d29.sql: @@ -11146,8 +11355,10 @@ * packages/forums/sql/postgresql/forums-notifications-init.sql: * packages/forums/sql/postgresql/forums-notifications-sanitize.sql: * packages/forums/tcl/forums-install-procs.tcl: - Move logics to create forum notification type to tcl to: - - reduce code duplication - make it simpler to extend forums + Move logics to create forum notification type to tcl to: + - + reduce code duplication + - make it simpler to extend forums with new notification types This reform was triggered by a downstream request, where users would like a new kind of notification for forum moderators that triggers also when a @@ -11310,8 +11521,10 @@ * packages/xowf/lib/inclass-exam-answer.wf: * packages/xowf/lib/inclass-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: - - base percentage on results on total points, - add confirm - dialog on submit exam - show audio on more browsers properly + - base percentage on results on total points, + - add confirm + dialog on submit exam + - show audio on more browsers properly * packages/xowiki/tcl/form-field-procs.tcl: fix typo in make_correct @@ -11431,13 +11644,16 @@ * packages/xowf/lib/inclass-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: - - added points calculation in addition to score - added - student feedback sheet (view-my-exam) - added view of + - added points calculation in addition to score + - added + student feedback sheet (view-my-exam) + - added view of proctored exams * packages/xowiki/tcl/form-field-procs.tcl: - name test-item specific form-fields for "in_position" and - "minute" with a "test_item_" prefix - added points + "minute" with a "test_item_" prefix + - added points calculation in addition to score * packages/xotcl-core/tcl/bgdelivery-procs.tcl: @@ -11608,13 +11824,16 @@ * packages/acs-mail-lite/tcl/acs-mail-lite-procs.tcl: - acs_mail_lite::send_immediately: new switch for "-force_delivery_mode" to force delivery mode for a single - call (ignoring package parameter "EmailDeliveryMode") - + call (ignoring package parameter "EmailDeliveryMode") + - New potential value for "EmailDeliveryMode": "nssmtpd" When this parameter is specified, the behavior is like "smtp", but the code tries use the SMTP implementation of - the nssmtpd NaviServer module. - It is also possible to + the nssmtpd NaviServer module. + - It is also possible to combine "nssmtpd" with the delivery methods "filter" or - "redirect" simply by writing e.g. "filter nssmtpd" - some + "redirect" simply by writing e.g. "filter nssmtpd" + - some refactoring to avoid repeated code * packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl: @@ -11660,8 +11879,10 @@ * packages/xowf/lib/inclass-exam-answer.wf: * packages/xowf/lib/inclass-exam.wf: - changes for inclass-exam: - open test run in a different - frame - use tailored proctoring code, when available - + changes for inclass-exam: + - open test run in a different + frame + - use tailored proctoring code, when available - improve screen after final exam submission 2020-04-03 hectorr @@ -11732,8 +11953,10 @@ * packages/xowf/lib/inclass-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/www/prototypes/select_question.form.page: - new features for inclass exam workflow: - additional flag - "synchronized", can be specified on "create exam" page - + new features for inclass exam workflow: + - additional flag + "synchronized", can be specified on "create exam" page + - provide info about exam publication time and duration since publication time to the details view of the exam protocol @@ -11827,8 +12050,10 @@ * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/tcl/xowf-includelet-procs.tcl: * packages/xowf/www/resources/test-item.css: - Added count-down timer for inclass-exam-answer.wf - new API - call Question_manager.exam_target_time - new includelet + Added count-down timer for inclass-exam-answer.wf + - new API + call Question_manager.exam_target_time + - new includelet "countdown-timer" (based on answer_manager.countdown_timer) * packages/xowf/tcl/test-item-procs.tcl: @@ -11844,13 +12069,17 @@ * packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml: * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/www/resources/test-item.css: - Improved display and interaction with print-answers: - added + Improved display and interaction with print-answers: + - added explicit display of displayed revision and submitted - revision - added option to change live revision + revision + - added option to change live revision * packages/xowf/tcl/test-item-procs.tcl: - Improved display for print-answers: - added link from exam - protocol to single (more detailed) view - display in exam + Improved display for print-answers: + - added link from exam + protocol to single (more detailed) view + - display in exam protocol answer times up to the live-revision (and not over all elements) @@ -11859,14 +12088,19 @@ * packages/xowf/lib/inclass-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/www/resources/test-item.css: - Improved display of print-answers: - added information about - current page of student - improved display of submission - state - made message key capitalization more consistent + Improved display of print-answers: + - added information about + current page of student + - improved display of submission + state + - made message key capitalization more consistent * packages/xowf/lib/inclass-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: - Improved display of print-answers: - provided API function - "runtime_panel" for answer_manager - added revision handling + Improved display of print-answers: + - provided API function + "runtime_panel" for answer_manager + - added revision handling of submitted exams * packages/xowf/lib/inclass-exam-answer.wf: @@ -11888,12 +12122,16 @@ * packages/xowf/tcl/test-item-procs.tcl: * packages/xowf/www/resources/test-item.css: * packages/xowf/xowf.info: - Improve display of print-answers: - provide API functions - "get_duration" and "get_IPs" for ans - added info box + Improve display of print-answers: + - provide API functions + "get_duration" and "get_IPs" for ans + - added info box "runtime-data" in inclass-exam.wf about changed submissions (number of revisions, duration, all IP addresses of the - submission) - added message keys for "nr_changes" and - "duration" - updated CSS to handle "runtime-data" - bump + submission) + - added message keys for "nr_changes" and + "duration" + - updated CSS to handle "runtime-data" - bump version number to 5.10.0d16 * packages/xowf/tcl/xowf-procs.tcl: @@ -11976,9 +12214,11 @@ * packages/xowf/tcl/test-item-procs.tcl: - make repeatable formfields better configurable (provde max - number for repeated elements via parameter) - improve + number for repeated elements via parameter) + - improve robustness, when a form field does not provide a - "correction" instance variable after "make_correct" - + "correction" instance variable after "make_correct" + - improve documentation * packages/xowf/lib/inclass-exam-answer.wf: @@ -12019,11 +12259,14 @@ * packages/chat/www/transcript-new.tcl: Uniform the quoting criteria when dealing with transcripts: - transcripts are stored as they are, no quoting in the data - we store (and therefore HTML should be avoided) - + we store (and therefore HTML should be avoided) + - transcripts are displayed quoted, therefore, disabling any - effect from HTML eventually present in the content - bring + effect from HTML eventually present in the content + - bring the logics to build transcript content in the API to avoid - duplication - avoid sending the transcript content to + duplication + - avoid sending the transcript content to transcript-new-2, as we can generate it server side Note: storing transcripts as a pre-formatted chunk of text is probably not the best approach, as any changes to the @@ -12040,7 +12283,8 @@ - Convert frequently used functions from plpgsql to strict and stable SQL functions, which allow the PostgreSQL more optimizations * acs_group__member_p/3 * - site_node__url/1 - bump version number to 5.10.0d27 + site_node__url/1 + - bump version number to 5.10.0d27 * packages/acs-kernel/sql/postgresql/groups-body-create.sql: * packages/acs-kernel/sql/postgresql/site-nodes-create.sql: @@ -12138,8 +12382,10 @@ - PackageMgr.require_site_wide_pages: add flag -refetch_if_modified When the flag is used, site-wide pages are automatically updated, when the file in the - prototypes directory changes - improved source code - documentation - bumped version number to 5.10.0d27 + prototypes directory changes + - improved source code + documentation + - bumped version number to 5.10.0d27 * packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml: * packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml: @@ -12156,10 +12402,13 @@ * packages/xowf/www/resources/test-item.css: * packages/xowf/xowf.info: - test-items: added ordering item type - (short_text_interaction) - simplified code by using - ':get_named_sub_component_value -from_repeat ...' - refetch + (short_text_interaction) + - simplified code by using + ':get_named_sub_component_value -from_repeat ...' + - refetch site-wide pages, when the source code of the site-wide pages - changes. - bumped version number to 5.10.0d16 + changes. + - bumped version number to 5.10.0d16 * packages/xotcl-core/tcl/05-db-procs.tcl: * packages/xowiki/tcl/includelet-procs.tcl: @@ -12190,7 +12439,8 @@ * packages/xowiki/www/resources/xowiki.css: * packages/xowiki/xowiki.info: - new form_field class: reorder_box, which can be used e.g. - in ordering exercises in e-assessments - better handling of + in ordering exercises in e-assessments + - better handling of disabled_as_div (when feedback is provided via input highlighting) @@ -12323,7 +12573,8 @@ 2020-03-02 gustafn * packages/xotcl-request-monitor/www/index.tcl: - - provide compatibility with Highcharts v8 - remove + - provide compatibility with Highcharts v8 + - remove dependency on jquery 2020-03-02 antoniop @@ -12351,8 +12602,10 @@ * packages/xowiki/www/admin/list.tcl: * packages/xowiki/xowiki.info: - fix broken glyphicons, when "bootstrap" is the preferred - toolkit, but theme does not include it. - register CSPs for - URNs - bump version to 5.10.0d51 + toolkit, but theme does not include it. + - register CSPs for + URNs + - bump version to 5.10.0d51 * packages/acs-templating/acs-templating.info: * packages/acs-templating/tcl/head-procs.tcl: @@ -12474,12 +12727,14 @@ * packages/xowf/www/resources/test-item.css: * packages/xowf/xowf.info: - new assessment workflow for in-class exam - lib/inclass-exam-answer.wf lib/inclass-exam.wf - Defined + lib/inclass-exam-answer.wf lib/inclass-exam.wf + - Defined common superclass for Assessments (AssessmentInterface) to provide common infrastructure (assertion methods), and define other interface classes as subclasses (Renaming_form_loader, Answer_manager, Question_manager). - - extended message keys - new prototype pages: + - extended message keys + - new prototype pages: www/prototypes/TestItemMC.form.page www/prototypes/TestItemSC.form.page www/prototypes/TestItemShortText.form.page @@ -12490,15 +12745,18 @@ www/prototypes/inclass-quiz.wf.page www/prototypes/online-exam.wf.page www/prototypes/quiz-select_question.form.page - www/prototypes/select_question.form.page - Defined to + www/prototypes/select_question.form.page + - Defined to following pages as site-wide: Package site_wide_pages { Workflow.form TestItemText.form TestItemShortText.form TestItemMC.form TestItemSC.form TestItemUpload.form online-exam.wf inclass-quiz.wf inclass-exam.wf - quiz-select_question.form select_question.form } - + quiz-select_question.form select_question.form } + - Ensure availability of site-wide pages at startup of - server. - bumped version number to 5.10.0d15 + server. + - bumped version number to 5.10.0d15 * packages/xotcl-core/tcl/06-package-procs.tcl: * packages/xotcl-core/xotcl-core.info: @@ -12539,10 +12797,14 @@ * packages/xotcl-core/xotcl-core.info: * packages/xowiki/tcl/package-procs.tcl: * packages/xowiki/xowiki.info: - xotcl-core - move list of site_wide pages to meta-class, - such that every derived class might have different ones. - - bump version number to 5.10.0d25 xowiki - provide explicit - site_wide pages - bump version number to 5.10.0d49 + xotcl-core + - move list of site_wide pages to meta-class, + such that every derived class might have different ones. + - + bump version number to 5.10.0d25 xowiki + - provide explicit + site_wide pages + - bump version number to 5.10.0d49 2020-02-19 stefans @@ -12669,33 +12931,50 @@ * packages/xowiki/www/prototypes/table-of-contents.page: * packages/xowiki/xowiki.info: Crosscutting reform to ease configurability of xo* - applications acs-admin - Provide support for site-wide + applications acs-admin + - Provide support for site-wide packages Site-wide packages can be used to provide a common place for site-wide admins to configure application packages and for testing purposes. These packages are mounted on a special subsite (named "site-die") under acs-admin/ to avoid confusions for end-users of the site. The site-wide subsite can be used as well for creating - testing instances or for other testing purposes. - bump - version number to 5.10.0d9 xotcl-core - Added support for + testing instances or for other testing purposes. + - bump + version number to 5.10.0d9 xotcl-core + - Added support for site-wide packages. Packages can define, how site-wide - packages should be configured - Changed Package-level + packages should be configured + - Changed Package-level procs into instprocs of the meta-class. This way, generic code can be provided for common handling across packages. - This effects: - configure_fresh_instance - - get_site_wide_page - import_prototype_page - - lookup_side_wide_page - require_site_wide_info - - require_site_wide_pages - bump version number to 5.10.0d24 - xowiki - provide configurable configuration info for new - packages (including site-wide packages) - search for - prototype pages along inheritance path - moved - Parameter.page prototype here - added "table-of-contents" - prototype page - perform refactoring due to moving methods - to the meta-class - reduce usage of anonymous arrays - - bump version number to 5.10.0d49 xowf - simplify apm - callback and use new infrastructure - provide configurable + This effects: + - configure_fresh_instance - + get_site_wide_page + - import_prototype_page - + lookup_side_wide_page + - require_site_wide_info - + require_site_wide_pages + - bump version number to 5.10.0d24 + xowiki + - provide configurable configuration info for new + packages (including site-wide packages) + - search for + prototype pages along inheritance path + - moved + Parameter.page prototype here + - added "table-of-contents" + prototype page + - perform refactoring due to moving methods + to the meta-class + - reduce usage of anonymous arrays - + bump version number to 5.10.0d49 xowf + - simplify apm + callback and use new infrastructure + - provide configurable configuration info for new packages (including site-wide - packages) - bump version number to 5.10.0d14 + packages) + - bump version number to 5.10.0d14 * packages/xowiki/tcl/menu-procs.tcl: * packages/xowiki/tcl/weblog-procs.tcl: @@ -12961,7 +13240,8 @@ 2020-02-06 gustafn * packages/xotcl-request-monitor/tcl/throttle_mod-procs.tcl: - - set sanitize on logfile writer per default to 0 - change + - set sanitize on logfile writer per default to 0 + - change cleanup interval from 1h to 71min, since on the hour interval, there are already many things going on in OpenACS @@ -12993,7 +13273,8 @@ * packages/xowf/lib/inclass-quiz.wf: * packages/xowf/lib/online-exam.wf: * packages/xowiki/tcl/menu-procs.tcl: - - foster standardized message keys for menu entries - + - foster standardized message keys for menu entries + - provide message key for interaction types 2020-02-04 trenner @@ -13044,13 +13325,16 @@ 2020-02-03 gustafn * packages/xowf/lib/online-exam.wf: - - added public method "result_table" - added "back" button + - added public method "result_table" + - added "back" button to result table and exam protocol * packages/xowf/tcl/test-item-procs.tcl: - - added public method "result_table" to answer_manager - + - added public method "result_table" to answer_manager + - added mixin class for handling "form_field.pretty_value" in - tables - reduce verbosity + tables + - reduce verbosity * packages/xowiki/tcl/bootstrap-procs.tcl: * packages/xowiki/tcl/form-field-procs.tcl: @@ -13177,8 +13461,10 @@ * packages/xowf/lib/online-exam.wf: * packages/xowf/tcl/test-item-procs.tcl: - distinguish between item_nr (for displaying item number) - and position (from available items) - provide hint for - clearning menu - activate live updates for online exam + and position (from available items) + - provide hint for + clearning menu + - activate live updates for online exam * packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml: * packages/xowf/catalog/xowf.en_US.ISO-8859-1.xml: @@ -13467,7 +13753,8 @@ language * packages/acs-tcl/tcl/text-html-procs.tcl: - fix typo - deprecated proc should be defined with the old + fix typo + - deprecated proc should be defined with the old naming convention 2020-01-13 antoniop @@ -13506,7 +13793,8 @@ 2020-01-09 antoniop * packages/acs-tcl/tcl/test/http-client-procs.tcl: - Fix util_http_json_encoding automated test: - fix typo - + Fix util_http_json_encoding automated test: + - fix typo - make sure file is spooled when sampling GET request by setting max body size to 0 @@ -13557,8 +13845,10 @@ Reintroduce :num_count variable in postgres query, as for oracle counterpart (for postgres, 15 was hardcoded) Notes: - :num_count comes from a parameter, defaulting to 100, - instead of 15 - postgres 9.5 introduced table sampling, - similar to what oracle does (but with different syntax) - + instead of 15 + - postgres 9.5 introduced table sampling, + similar to what oracle does (but with different syntax) + - this postgres query would be portable, except for random()... maybe the random value could come from tcl... @@ -14098,8 +14388,10 @@ * packages/acs-lang/tcl/localization-procs.tcl: * packages/acs-lang/tcl/test/acs-lang-localization-procs.tcl: 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. + 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 @@ -14173,13 +14465,18 @@ * packages/acs-lang/tcl/localization-data-init.tcl: * packages/acs-lang/tcl/localization-procs.tcl: - Address lc_time_fmt shortcomings: - use clock scan to + 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 - + 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) @@ -14309,7 +14606,8 @@ 2019-12-05 gustafn * packages/xowiki/tcl/form-field-procs.tcl: - - add stopword list for word cloud - use just lowercase + - add stopword list for word cloud + - use just lowercase words in word cloud * packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml: @@ -14519,10 +14817,12 @@ * packages/xowiki/tcl/includelet-procs.tcl: * packages/xowiki/tcl/xowiki-www-procs.tcl: - Page.create_raw_form_field: + add flag to control - nls_language (if not used, behave like before) - + nls_language (if not used, behave like before) + - form-usages: + add "-date_format" flag to control formatting of dates + use nls_language of embedding page - for form-fields in includelet - break overlong lines + for form-fields in includelet + - break overlong lines * packages/xowf/catalog/xowf.de_DE.ISO-8859-1.xml: add missing message key for German @@ -14573,19 +14873,26 @@ 2019-11-25 gustafn * packages/xowf/tcl/xowf-procs.tcl: - - make "title" configurable via Action.payload dict - + - make "title" configurable via Action.payload dict + - whitespace changes * packages/xowiki/catalog/xowiki.de_DE.ISO-8859-1.xml: * packages/xowiki/catalog/xowiki.en_US.ISO-8859-1.xml: * packages/xowiki/tcl/form-field-procs.tcl: * packages/xowiki/xowiki.info: - form-fields: - new helper API call: "dict_to_fc" to convert - from a dict to a form constraint spec. - extended formfield - answer and word statistics - ckeditor4: add dimensions - (width and height) when available to the configuration - - prefer variables over method calls - added answer hints - (one word, multiple words, ...) to text_fields widget - + form-fields: + - new helper API call: "dict_to_fc" to convert + from a dict to a form constraint spec. + - extended formfield + answer and word statistics + - ckeditor4: add dimensions + (width and height) when available to the configuration + - + prefer variables over method calls + - added answer hints + (one word, multiple words, ...) to text_fields widget + - form_page: maintain list of references such that the referenced page knows if and from where it is referenced @@ -14615,28 +14922,41 @@ * packages/xowf/www/resources/form-generator.css: * packages/xowf/www/resources/test-item.css: * packages/xowf/xowf.info: - verworked test-item procs: - new teacher-paced inclass quiz + verworked test-item procs: + - new teacher-paced inclass quiz - support for different shuffling options (never, always, - per-user) - support for subsections (single and multiple - choice, short text question) - support for answer hints for - short text questions (single word, multiple words, ...) - + per-user) + - support for subsections (single and multiple + choice, short text question) + - support for answer hints for + short text questions (single word, multiple words, ...) + - new API for question and answers for student-paced and teacher-paced scenarios using on the following objects * - renaming_form_loader - answer_attributes - - answer_for_form - answers_for_form - - form_name_based_attribute_stem - get_form_object - - rename_attributes * question_manager - - goto_page - more_ahead - current_question_form - - current_question_obj - current_question_name - - current_question_title - nth_question_obj - - nth_question_form - combined_question_form - - question_objs - question_names - - question_property * answer_manager - - create_workflow - delete_all_answer_data - - get_answer_wf - get_wf_instances - get_answers - - marked_results - answers_panel - special - policies for workflows, defined as per-workflow policies. - - improved i18n - improved styling + renaming_form_loader + - answer_attributes - + answer_for_form + - answers_for_form - + form_name_based_attribute_stem + - get_form_object + - rename_attributes * question_manager - + goto_page + - more_ahead - current_question_form + - current_question_obj - current_question_name + - current_question_title - nth_question_obj + - nth_question_form - combined_question_form + - question_objs - question_names - + question_property * answer_manager + - + create_workflow + - delete_all_answer_data - + get_answer_wf + - get_wf_instances - get_answers + - marked_results - answers_panel - special + policies for workflows, defined as per-workflow policies. + - + improved i18n + - improved styling 2019-11-25 antoniop @@ -15077,15 +15397,22 @@ 2019-11-12 gustafn * packages/xowiki/tcl/form-field-procs.tcl: - extended form-fields autocorrection handling - added - functionality of per-form-field statistics - added support - for "radio"/single choice test items - added support for - richtext handling in "radio" - added a (limited) method to + extended form-fields autocorrection handling + - added + functionality of per-form-field statistics + - added support + for "radio"/single choice test items + - added support for + richtext handling in "radio" + - added a (limited) method to set a form-field to a correct value, based on "correct_when". So far, just a minimal set of predicated - is handled - improved "unknown" handling, when the code does - not know, whether item is correct or not - refactored some - code - improved source code documentation + is handled + - improved "unknown" handling, when the code does + not know, whether item is correct or not + - refactored some + code + - improved source code documentation 2019-11-11 gustafn @@ -15161,7 +15488,8 @@ * packages/xowf/xowf.info: - form-generator.css: based on former myform.css, substantially revamped (to be used together with form - field classes in test-item-procs) - test-item classes: * + field classes in test-item-procs) + - test-item classes: * feedback_level extended to "full", "single", or "none" middle is new for a single feedback per item * shuffling support with 3 modes ("none", "peruser", "always"). can @@ -15172,15 +15500,19 @@ question type "mc" can still be used for the time being) * ease styling for all test-item types by added explicit wrappers * factor out "renaming_form_loader" from - online-exam*.wf (including support methods) - + online-exam*.wf (including support methods) + - online-exam*.wf: * fix broken behavior with shared workflow definitions when closing/opening exams and student tried interactions. Previous code did dynamic changes in the shared definition (probably more to come). * used factored out renaming_form_loader * - cleanup of old code - removed low-level rewriting of -