• last updated 23 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
extended generic names by "user" and "list-alt"

improve support of inclass exam for bootstrap 5

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
    ./xowiki/tcl/test/xowiki-admin-tests-procs.tcl
reduce number of anonymous arrays, improve error message and double check for package initialization

Skip processing for all formfields that are defined as disabled:

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

    • -21
    • +29
    ./xowiki/tcl/xowiki-www-procs.tcl
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

    • -3
    • +15
    ./xowiki/tcl/test/xowiki-test-procs.tcl
added download support

many thanks for the help of Maonika Andergassen

    • -3
    • +3
    ./openacs-bootstrap5-theme/openacs-bootstrap5-theme.info
    • -39
    • +43
    ./openacs-bootstrap5-theme/tcl/resource-procs.tcl
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

whitespace changes

    • -50
    • +50
    ./acs-templating/tcl/tag-init.tcl
added new generic icon name: add-new-item

prefer parameter::get_from_package_key over fetching package_id first

    • -7
    • +9
    ./acs-templating/tcl/template-init.tcl
Fix leftover jquery dependency

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

    • -8
    • +8
    ./acs-tcl/tcl/object-type-procs-postgresql.xql
    • -1
    • +10
    ./acs-tcl/tcl/test/object-test-case-procs.tcl
Fix localization idiom

Tighten page contracts

  1. … 7 more files in changeset.
Replace not portable sql idiom with existing api, improve caching, extend regression test

    • -1
    • +19
    ./acs-tcl/tcl/test/object-test-case-procs.tcl
upgrade to CKeditor 4.19.1

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

    • -2
    • +2
    ./richtext-ckeditor4/richtext-ckeditor4.info
    • -3
    • +3
    ./richtext-ckeditor4/tcl/richtext-procs.tcl
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/

    • -2
    • +2
    ./openacs-bootstrap5-theme/openacs-bootstrap5-theme.info
    • -3
    • +3
    ./openacs-bootstrap5-theme/tcl/resource-procs.tcl
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/

    • -2
    • +2
    ./bootstrap-icons/bootstrap-icons.info
    • -2
    • +2
    ./bootstrap-icons/tcl/resource-procs.tcl
add missing page contract filter

... was missing since 22 years...

Make 'source_feeds_ok' test case 'production_safe'

    • -0
    • +1
    ./news-aggregator/tcl/test/news-aggregator-test-procs.tcl
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

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

    • -6
    • +20
    ./acs-tcl/tcl/test/db-proc-test-procs.tcl
Extend 'db__db_foreach' test case, exposing a regression in 'db_foreach' with an uneven number of columns

    • -0
    • +14
    ./acs-tcl/tcl/test/db-proc-test-procs.tcl
Added membership "expired" to membership states. "expired" can be

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

    • -2
    • +2
    ./acs-kernel/sql/oracle/groups-create.sql
file upgrade-5.10.1d8-5.10.1d9.sql was initially added on branch oacs-5-10.

    • -0
    • +0
    ./acs-kernel/sql/oracle/upgrade/upgrade-5.10.1d8-5.10.1d9.sql
fix linebreak with bad consquences (error on page)

    • -5
    • +4
    ./acs-core-docs/www/individual-programs.adp