• last updated 8 hours ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add a second period to new lines starting with one ('dot-stuffing'), as defined by RFC 5321 section 4.5.2, before sending mail via nssmptd.

According to the RFC:

- "Before sending a line of mail text, the SMTP client checks the

first character of the line. If it is a period, one additional period is inserted at

the beginning of the line."

- "When a line of mail text is received by the SMTP server, it checks the line. If the

line is composed of a single period, it is treated as the end of mail indicator. If

the first character is a period and there are other characters on the line, the first

character is deleted."

This change adds the second period at the beginning of a line suggested in the first

paragraph, preventing nssmptd from deleting dots by acting as mentioned in the second one.

In the case of lines comprised of just a single period, '::mime::qp_encode' already takes

care of them by converting the '.' into '=2E', so they are not affected by this.

Fix test category misplacement

Take care of string values when these are longer than the randomized length

Whitespace changes

Set tests as 'production_safe'

Removed instmixin specification from the ::xo::oauth::Package creation statement as the to-be-mixed-in classes no longer exist; Fixed varname

Remove colon that gets confused as a bind variable

reduce verbosity

move localized_richtext to the right place in the file to ensure initial loading

make localizer insensitive, when main input field is insensitive

file index.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/lib/index.adp
file index.vuh was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/www/index.vuh
file xooauth-test-procs.tcl was initially added on branch oacs-5-10.

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

    • -0
    • +0
    /openacs-4/packages/xooauth/tcl/package-procs.tcl
file oauth-server-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/tcl/oauth-server-procs.tcl
file oauth-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/tcl/oauth-procs.tcl
file oauth-client-procs.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/tcl/oauth-client-procs.tcl
initial checkin of xooauth

With the friendly permissions of Knowledge Markets https://km.at/

    • -0
    • +41
    /openacs-4/packages/xooauth/xooauth.info
    • -0
    • +2
    /openacs-4/packages/xooauth/lib/index.adp
    • -0
    • +750
    /openacs-4/packages/xooauth/tcl/oauth-procs.tcl
    • -0
    • +126
    /openacs-4/packages/xooauth/tcl/package-procs.tcl
    • -0
    • +24
    /openacs-4/packages/xooauth/www/index.vuh
file xooauth.info was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/xooauth.info
file authorize.tcl was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/lib/authorize.tcl
file authorize.adp was initially added on branch oacs-5-10.

    • -0
    • +0
    /openacs-4/packages/xooauth/lib/authorize.adp
add i-can-use rule for "ns_urlencode -part oauth1"

additional form-field class "localized_richtext"

This class is very similar to localized_text, but for richtext widgets

(internationalized text with richtext markup) instead of plain text

improve comment

FormPage->field_names: in case, not form is given, fall back for the needed field names to the field_name provided by form_constraints

    • -6
    • +21
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Add missing semicolon

Solve a potential issue when one would cleanup "dynamic" notification requests: this was done directly on the table and could therefore leave dangling acs_objects around

- cleanup all acs_objects of type 'notification_request' that do not have a corresponding entry in the table (~35000 downstream)

- embed logic of delete_dynamic_requests query inside select_invalid_request_ids query, as there the deletion is done properly

file upgrade-5.10.0d6-5.10.0d7.sql was initially added on branch oacs-5-10.

Reinstate retrieval of the package_id from the connection context in child-resources, the problem was that, when we required a connection context in create_form_page_instance, we did with no information whatsoever, which was then retrieved by e.g. ns_conn, sometimes wrongly (e.g. when one is running under the test package)

    • -0
    • +1
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl
    • -2
    • +2
    /openacs-4/packages/xowiki/tcl/xowiki-procs.tcl
Cleanup after each individual test

child-resources has already a package_id, getting it from the connection context makes the includelet susceptible to e.g. package initializations from the outside (see e.g. xowiki link_tests automated test)

    • -1
    • +0
    /openacs-4/packages/xowiki/tcl/folder-procs.tcl