• last updated 23 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
moved <include...> content into lib directory

www/portlets -> lib/portlets

    • -0
    • +18
    ./lib/portlets/calendar-portlet.tcl
    • -0
    • +53
    ./lib/portlets/weblog-mini-calendar.adp
    • -0
    • +205
    ./lib/portlets/weblog-mini-calendar.tcl
  1. … 14 more files in changeset.
file calendar-portlet.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/calendar-portlet.adp
file weblog-mini-calendar.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/weblog-mini-calendar.tcl
file weblog-mini-calendar.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/weblog-mini-calendar.adp
file portlet-skin.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/portlet-skin.adp
file plain-include.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/plain-include.adp
file include.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/include.tcl
file forums-portlet.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/forums-portlet.tcl
file forums-portlet.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/forums-portlet.adp
file calendar-portlet.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    ./lib/portlets/calendar-portlet.tcl
Remove private variable from the contract

Add page contract

Generalized handling of local_return_url

I am not fully happy with the handlings of "return_url" in exam workflows.

Maybe this can be reworked in a way such that "local_return_url" is not

neccsessary in the future.

Test behavior of the omit formfield spec

fixed typo in version number

VS: ----------------------------------------------------------------------

Bumped version number to xowiki-5.10.1d33

Improved support for composite questions and bootstrap 5

This fixes a bug when composite questions were generated with

bootstrap3 and rendered later with bootstrap5.

  1. … 1 more file in changeset.
improve bootstrap5 compatibility for inclass exam

  1. … 1 more file in changeset.
Preliminary cleanup

In this test we will loop through instances of ::xowiki::Page currently in memory to perform some checks. When multiple tests run in the same request, we cannot guarantee that other tests won't create ::xowiki::Page instances that won't comply with the conditions here. We cleanup any existing object in advance to start from a clean slate.

    • -0
    • +9
    ./tcl/test/xowiki-admin-tests-procs.tcl
Skip processing for all formfields that are defined as disabled:

the browser should not send us these data in the first place.

Extend test: show that even when a field is defined as disabled, a request crafted to carry these fields will get through and the values will be stored

A fix will come shortly, similar to what was done for compound fields

undo part of last change

unfortunatly, the 0.9.3 issue can't be fixed so simple as hoped. The "-html" flag is necessary for dealing with autoclosed entries.

for orthogonaly, remove "-html" flag from dom parse to avoid a potential top-level <html> element

fix compatibility with tdom 0.9.3

fix warning (including some false positives) in regression test

we need the upgrade script, since the automatic aler just kicks in, when the constraint does not exist. Antonio was right.

Nevertheless, it would be a nice feature, if the ORM would handle this.

remove useless upgrade scripts (xotcl-core does this automatically on reloads)

Document and enforce expected behavior when Forms are deleted: this is forbidden and returns an error as long as they have instances

    • -0
    • +139
    ./tcl/test/xowiki-test-procs.tcl
Follow up of https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20220622174910

In the end we need the upgrade logic, as the ORM will kick in only if the column is just being created

Make page_template foreign key deferrable

This solves the problem of deleting implicitly child-items, which

depend on each other when deleting an item. When deleting an item, the

deletion of child-items in the content repository happens in an

arbitrary order, which could raise fk constraints. Since the deletion

happens in a transaction, the deferring checking of the constraints

helps, since then the constraint violating item is also already

deleted.

There is no update script necessary, since reload alters the

constraint.