Bug 248861

Summary: www/wt3: Update to 3.7.0
Product: Ports & Packages Reporter: Mohammad S. Babaei <info>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me CC: diizzy
Priority: --- Keywords: needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
www/wt v3.6.1 to v3.7.0 patch file
info: maintainer-approval+
www/wt v3.6.1 to v3.7.0 patch file info: maintainer-approval+

Description Mohammad S. Babaei 2020-08-23 22:04:21 UTC
Created attachment 217468 [details]
www/wt v3.6.1 to v3.7.0 patch file

Release 3.7.0 (August 3, 2020)

Wt 3.7.0 adds support for multiple X axes to the charts, among other fixes and tweaks.
Security related

Wt now rejects GET requests for Ajax-enabled sessions that are not for resources, as an extra means to prevent session hijacking attempts. Patch provided by Bruce Toll in issue #7585.
Multiple X axes

WCartesianChart: similar to how Wt 3.3.11 added support for multiple Y axes, Wt 3.7.0 adds support for multiple X axes, too. Instead of trying to squeeze another int argument into functions like WCartesianChart::map, we decided to add overloads that take two WAxis references.
Minor features

    WFileResource: added a log message when failing to open a file. Previously, it would not be very clear why nothing was downloaded.
    Added the MIME type for .txt files to wthttp, so that they are displayed in the browser rather than prompt a download.

Bug fixes

    Wt:: Auth:
        Issue #7518: previously, it was not possible to set AbstractStrengthValidator to non-mandatory. This has now been fixed. It now also correctly reports InvalidEmpty when the input is left empty.
        Fixed an issue where slots connected to Login::changed() would still have the old session id, which would afterwards be updated, causing resource urls created in the slot to have the wrong session id.
    WPaintedWidget: fixed an issue where combining incremental painting (PaintUpdate) with images could cause the first paint event to be discarded, resulting in an incomplete result.
    Previously, having multiple instances of WGoogleMap could cause JavaScript errors. This has now been resolved.
Comment 1 Kubilay Kocak freebsd_committer freebsd_triage 2020-08-24 02:57:22 UTC
^Triage: [tags] in issue Titles are deprecated
Comment 2 Mohammad S. Babaei 2020-08-25 15:08:45 UTC
Thank you did not know that.
Comment 3 Daniel Engberg freebsd_committer freebsd_triage 2020-08-30 17:20:00 UTC
3.x is soon eol by upstream, please consider adding DEPRECATED and if possible EXPIRATION_DATE.
https://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-deprecated.html
Comment 4 Mohammad S. Babaei 2020-08-30 17:23:24 UTC
Sorry, but where did you hear/read that?

I checked https://webtoolkit.eu/wt/wt3/doc/reference/html/Releasenotes.html and https://www.webtoolkit.eu/wt/news and I did not found anything.
Comment 5 Daniel Engberg freebsd_committer freebsd_triage 2020-08-30 17:47:09 UTC
Sorry for not providing a link, https://www.webtoolkit.eu/wt/news/2019/12/16/wt_3_end_of_life
Comment 6 Mohammad S. Babaei 2020-08-30 17:50:14 UTC
Thank you for the link. Is 2021-01-01 as deprecation date alright? The post does not specify an exact date.
Comment 7 Daniel Engberg freebsd_committer freebsd_triage 2020-08-30 19:09:24 UTC
Yes, that sounds like a good approach to me.
Comment 8 Mohammad S. Babaei 2020-08-31 00:11:36 UTC
Created attachment 217663 [details]
www/wt v3.6.1 to v3.7.0 patch file

Thank you. Here is the new patch with the depreciation stuff. Please let me know if this is not correct.
Comment 9 Steve Wills freebsd_committer freebsd_triage 2020-09-04 14:09:43 UTC
Committed, thanks!