• last updated 13 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
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".

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

fix linebreak with bad consquences (error on page)

added memory units to default values

deactivate useless warning

Improved db-functions db_list_of_nssets, db_list_of_lists, and db_foreach

These versions were developed in the conjunction with the NaviServer

ns_set reform. Especially ns_list_of_lists is improved, since it

avoids duplication of the data. This is especially important, when

queries return huge amount of data.

Harden page and include contracts using new acs-tcl feature

    • -3
    • +3
    /openacs-4/packages/forums/forums.info
    • -6
    • +4
    /openacs-4/packages/forums/lib/forums/new.tcl
    • -15
    • +6
    /openacs-4/packages/forums/www/forum-view.tcl
    • -1
    • +1
    /openacs-4/packages/forums/www/mark-all-read.tcl
    • -10
    • +4
    /openacs-4/packages/forums/www/message-email.tcl
    • -12
    • +7
    /openacs-4/packages/forums/www/message-post.tcl
    • -10
    • +4
    /openacs-4/packages/forums/www/message-view.tcl
  1. … 21 more files in changeset.
Localize subsites UI on the homepage

Improve translations

Improve translation

Update italian localization

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
Improve api robustness and test it

Cache api per request

    • -24
    • +27
    /openacs-4/packages/acs-tcl/tcl/object-procs.tcl
Harden page contracts using new features in acs-tcl

    • -1
    • +1
    /openacs-4/packages/chat/lib/transcripts.tcl
    • -11
    • +3
    /openacs-4/packages/chat/www/chat.tcl
    • -18
    • +4
    /openacs-4/packages/chat/www/room-delete-2.tcl
    • -10
    • +2
    /openacs-4/packages/chat/www/room-delete.tcl
    • -1
    • +1
    /openacs-4/packages/chat/www/room-edit.tcl
    • -11
    • +5
    /openacs-4/packages/chat/www/room-enter.tcl
    • -2
    • +2
    /openacs-4/packages/chat/www/room-exit.tcl
    • -2
    • +2
    /openacs-4/packages/chat/www/search.tcl
    • -1
    • +1
    /openacs-4/packages/chat/www/toggle-active.tcl
  1. … 8 more files in changeset.
Reimplement the message-list UI using the template::list

Reimplement package-list UI using the template::list

Cleanup message keys that do not exist in the english locale (they do exist in their "_time" variant, e.g. Time_must_be_after_min_time, already translated in spanish)

Update italian localization

Don't append an extra empty string to the form command when we are dealing with flags (that have therefore no value)

Fixes regression from https://cvs.openacs.org/changelog/OpenACS?cs=oacs-5-10%3Aantoniop%3A20220331163354, because now we treat flags properly

Reimplement the main admin locale UI using the template::list

Depend on the new features in acs-tcl

Add missing message key

    • -2
    • +2
    /openacs-4/packages/acs-tcl/acs-tcl.info
Export message keys from the UI to normalize sorting and quoting

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