• last updated 1 hour ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
deactivate captcha test for the time being

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

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

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
Do not attempt to load downstream-only workflows at startup

Downstream, the cod will stay as it is and maintained as a local modification

    • -1
    • +0
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
reduce verbosity

    • -1
    • +1
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
reduce verbosity for legacy workflows

    • -3
    • +6
    /openacs-4/packages/xowf/tcl/xowf-procs.tcl
Upgrade to CKEditor 4.19.0 (released on 2022-05-24)

fix missing variable, make login/logout handling more consistent

switched to Bootstrap 5 idioms

Adapted standard form template to Bootstrap5 CSS classes (many thanks to Monika Andergassen)

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.

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
undo recent change, which is not sufficiently general (and solve the issue by db means, next commit)

    • -4
    • +1
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Address the cornercase of form pages having their template stored in the same folder: when deleting items containing such a setup, cleanup these formpages first

Addresses a consequence of https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20220613165033

    • -1
    • +5
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
Constrain captcha width to 100% of its parent's size

Added navbar-dark style to header nav, remove obsolete CSS defs (many thanks to Monika Andergassen)

Make login and logout urls subsite specific (many thanks to Monika Andergassen)

cleanup of subsite_link and subsite_url variables and reduce to subsite_url (many thanks to Monika Andergassen)

adapt markup for navbar and dropdown elements to bootstrap5 notation (many thanks to Monika Andergassen)

Added dynamic cluster configuration checking

- handle cases, where not all cluster nodes are available at startup

time (this is a problem for docker, since the IP addresses will not

be available as well)

- handle dynamic changing of configuration variables

- refactored code

- new methods "acs::Cluster register_nodes" and

"acs::Cluster refresh_blueprint" (called regulary via scheduled

procedure, running every minute)

    • -22
    • +8
    /openacs-4/packages/acs-tcl/tcl/cluster-init.tcl
    • -0
    • +294
    /openacs-4/packages/acs-tcl/tcl/cluster-procs.tcl
file cluster-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/acs-tcl/tcl/cluster-procs.tcl
remove traces of md5::md5, since ns_md5 is emulated also for AOLserver

whitespace changes

reduce useless warnings for template::adp_parse_tags

The problem was that template::adp_compile_chunk produces no output, when the parsed chunk contains only whitespace,

causing an error message in this case. The changed method shortcuts the behavior.

Support the usage of HTTP locations in kernel parameter ClusterPeerIP

The change extends the values specified in ClusterPeerIP in two respects

- one can now specify the protocol (defaults to http)

- while ClusterPeerIP required an IP address, it is now possible to specify an DNS name

The DNS name is resolved for the time being at the start time of the OpenACS instance.

Drop "ON DELETE CASCADE" on page_template, since this might lead to crippled entries in the database.

When someone delets via operations in the database a form, protentially existing

form pages refering to this item might be left in a crippled state.

The cascade operation deletes the revision (xowiki_page_instance), but leaves

the half-crippled item. The problem does not exist over the web interface,

since it does not allow such items to be deleted while form pages exist.

    • -2
    • +2
    /openacs-4/packages/xowiki/xowiki.info
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Add support for menu-entries, where simply a "-link" is provided

Prefer util::which to retrieve the unzip executable

Complain in the logfile whenever the insertion of the null character is attempted in the syndication table