• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
improve bootstrap5 compatibility for inclass exam

    • -1
    • +2
    /openacs-4/packages/xowiki/tcl/package-procs.tcl
fix links of last commit

    • -2
    • +4
    /openacs-4/packages/xowf/lib/inclass-exam.wf
extended generic names by "user" and "list-alt"

improve support of inclass exam for bootstrap 5

    • -9
    • +9
    /openacs-4/packages/xowf/lib/inclass-exam.wf
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.

reduce number of anonymous arrays, improve error message and double check for package initialization

    • -5
    • +19
    /openacs-4/packages/xowf/tcl/xowf-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

added download support

many thanks for the help of Maonika Andergassen

Generalized "version_dir" handling a little for download specs

The problem was that bootstrap5 uses a version directory, which

consists of the version plus an extra string element. The previous

version assumed that the version is always used as a directory name.

Whe track now the versionDir information in the resource_info dict and

use this, when available (otherwise the version number is used as before).

The resource_info dict contains now the following path components:

# Provide paths for loading either via /resources/ or CDN

#

# "resourceDir" is the absolute path in the filesystem

# "resourceUrl" is the URL path provided to the request processor

# "versionDir" is the version-specific element both in the

# URL and in the filesystem.

#

bumped acs-tcl to 5.10.1d19

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
whitespace changes

added new generic icon name: add-new-item

prefer parameter::get_from_package_key over fetching package_id first

Fix leftover jquery dependency

fix several bugs in "acs_object_type::supertype" and improve code sanity

Fix localization idiom

    • -1
    • +1
    /openacs-4/packages/faq/www/admin/one-faq.tcl
Tighten page contracts

    • -6
    • +2
    /openacs-4/packages/faq/lib/faq-add-edit.tcl
    • -2
    • +2
    /openacs-4/packages/faq/www/one-faq.tcl
    • -5
    • +2
    /openacs-4/packages/faq/www/one-question.tcl
    • -2
    • +1
    /openacs-4/packages/faq/www/admin/one-faq.tcl
  1. … 7 more files in changeset.
Replace not portable sql idiom with existing api, improve caching, extend regression test

    • -26
    • +32
    /openacs-4/packages/acs-tcl/tcl/object-procs.tcl
upgrade to CKeditor 4.19.1

Changes: https://ckeditor.com/cke4/release-notes

Update to Boostrap 5.2.0

Bootstrap 5.2.0 was release on July 19, 2022

For changes in the new release, see

https://blog.getbootstrap.com/2022/07/19/bootstrap-5-2-0/

upgrade to boostrap icons 1.9.1

Version 1.9.0 introduces 140+ new icons. For details, see:

https://blog.getbootstrap.com/2022/07/13/bootstrap-icons-1-9-0/

add missing page contract filter

... was missing since 22 years...

Make 'source_feeds_ok' test case 'production_safe'

file upgrade-5.10.1d9-5.10.1d10.sql was initially added on branch oacs-5-10.

Adjust legacy data types of acs_object_types.object_type and acs_objects.object_type

This change addresses the problem mentioned in

https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Agustafn%3A20220729185340

https://github.com/openacs/openacs-core/commit/be44691f06627678122bd913bc3c95c80e93f403

which happens in some legacy applications (such as

e.g. openacs.org) where the data types of the following two

attributes are different.

acs_object_types.object_type

acs_objects.object_type

On new installations (at least concerning the last 10 years) these

data types are the same. So, probably an update script was missing

ages ago.

Since this change affects the basic object structure, MANY views

depend on this datatype and have to be dropped and recreate to

allow the correction of the datatype.

Therefore, we do not want to run this script on all sites, but

only on those where it is necessary.

whitespace fixes

    • -10
    • +10
    /openacs-4/packages/acs-tcl/tcl/object-procs.tcl
Quick fix for problems with recursive query for type hierarchy on openacs.org

On OpenACS.org, the types for object_type in acs_objects and acs_object_types differs,

leading to a hard error in PostgreSQL. This is just a quick fix, the proper

fix is to investigate, why the types differ (other sites might be as well

affected by this) and to provide a proper update script.

Furthermore, the query is not Oracle compliant.

fix testcase as indicated by hector, extend regression test

Extend 'db__db_foreach' test case, exposing a regression in 'db_foreach' with an uneven number of columns

Added membership "expired" to membership states. "expired" can be

used for "dormant" accounts, which are neither "banned" nor "deleted".