• last updated 7 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
harden page_contract

Test dt_get_info, fix documentation according to long standing behavior

do not show grading_table if grading is "none"

Port of downstream feature:

check that no Portlet with the same name exists on the same portal and page before trying to enter the data.

Fix applet mountpoint:

.LRN UI expects the static portlet applet to be mounted under the /dotlrn/applets site node and this is also the case at the WU installation. However, upstream .LRN mounts the applet under /dotlrn, causing dead links in the UI. Rectify the situation and provide an automated test that will enforce this condition from now on.

file apm-callback-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/dotlrn-static/tcl/apm-callback-procs.tcl
handle the case when instantiate_includelet is not returning an object (e.g. invalid top_includelet via user input)

    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
For the file-storage portlet to support the "showcasing use case", instead of hacking the UI as done before, we just point it to the user folder, that should exist for everyone

Handle here as well the case, that we are just showcasing the portlet for "Portal Templates"

Handle here as well the case when this portlet is rendered in "Portal Templates"

Handle the case of "Portal Templates", when the portlet is only showcased and should not be interacted with

make check more robust

harden page_contract

Format code in a way to avoid false positives where a column name is taken as a deprecated proc

    • -9
    • +6
    /openacs-4/packages/forums/tcl/forums-procs.tcl
Cleanup deprecated api from test

Go ahead and reimplement also lc_time_utc_to_local

Reimplement lc_time_local_to_utc using lc_time_tz_convert

Improve test for lc_time_local_to_utc, showing that its behavior is inconsitent with respect to invalid input

harden page contract

perm-include checks already that privs are not empty

Use UTF-8 emoji HTML entities instead of static images to convert smileys in the forums package

This has the advantage of not requiring a request to serve the images. It also avoids the need to hardcode the image size, as they will be basically treated as fonts.

Whitespace cleanup

Increase proc coverage, deprecate proc in the process

Test cornercase behavior

Whitespace changes

Make Service Contract implementations private

Hardcode the word "Page" in the message keys as the German localization does

Many thanks to Markus Moser for reporting the inconsistency

Deprecate forum::new_questions_allow and forum::new_questions_deny, one should use forum::edit, which will also track the change, or just inline the query instead

    • -3
    • +11
    /openacs-4/packages/forums/tcl/forums-procs.tcl
Deprecate forum::new_questions_allowed_p and replace occurrences

    • -2
    • +8
    /openacs-4/packages/forums/tcl/forums-procs.tcl
Increase proc coverage

Make faq::notification_delivery::do_notification private

    • -1
    • +1
    /openacs-4/packages/faq/tcl/q-and-a-procs.tcl