• last updated 4 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Fix typo

Added constraint site_nodes_parent_id_ck to table "site_nodes" to avoid certain simple loops on parent_ids

file upgrade-5.10.0d31-5.10.0d32.sql was initially added on branch oacs-5-10.

Whitespace changes

added oracle upgrade scripts for new check constraints

file upgrade-5.10.0d30-5.10.0d31.sql was initially added on branch oacs-5-10.

Minimize quoting, return content in one sweep

added constraint cr_items_parent_id_ck to avoid certain simple loops on parent_ids

An item must not be equal to its own parent. Note that this constraint is not

guaranteed to avoid all loops; it is still possible to create indirect recursive

loops but excludes some real-world problems.

file upgrade-5.10.0d12-5.10.0d13.sql was initially added on branch oacs-5-10.

Fix typos

added constraint acs_objects_context_id_ck to avoid certain simple loops on context_ids

file upgrade-5.10.0d30-5.10.0d31.sql was initially added on branch oacs-5-10.

improve spelling

CrClass->instance_select_query: return context_id of cr_item unless it is explicitly asked differently.

Before, calls like get_folder_children returned items having the context_id of the revision.

Since this attribute is ignored by most applications, it did not harm. However, a recent

bugfix for honoring different context_ids caused troubles. In the worst case, one can

end up with items having its own item_id as context id, which in turn causes

permission queries to loop.

Remove obsolete code

Make 'auth::verify_account_status' public, as it is used in other packages. Fixes 'callgraph__bad_page_calls' test case

Whitespace changes

Increase test coverage

Make 'template::adp_init' public, as it is used in other packages. Fixes 'callgraph__bad_library_calls' test case

Whitespace changes

Replace deprecated proc 'survey_answer_summary_display'

    • -2
    • +2
    /openacs-4/packages/survey/tcl/survey-procs.tcl
Make '::acs::test::login' public, as it is used in other packages. Fixes 'callgraph__bad_library_calls' test case

Add minimal proc doc. Fixes 'documentation__check_proc_doc' test case

change for exam_review: omit subquestion summary in cases, where no subquestion has a correct when condition

allow opening the exam-review also for exams, which are not autogradable

    • -3
    • +9
    /openacs-4/packages/xowf/lib/inclass-exam.wf
Improve robustness over invalid configurations

Previouly, the configuration of invalid hostnames (i.e. hostnames,

which cannot be resolved via the OS means) for a network driver

lead to runtime errors under certain conditions.

strengthen page contract, add breadcrums

restrict permissions of ip-info page

perform proper login for web regression test

whitespace changes