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

Provide a default value for the filter

New ad_page_contract filter object_type

Rhis can enforce an object id to not only be formally correct, but also to be an object of a specific type. It can also be used as a simple existance check

    • -1
    • +33
    /openacs-4/packages/acs-tcl/tcl/object-procs.tcl
Fix query name