New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mastodon update to v2.6.5 #14

Merged
merged 38 commits into from Dec 19, 2018

Conversation

Projects
None yet
@eai04191
Copy link
Member

eai04191 commented Dec 19, 2018

No description provided.

sammy8806 and others added some commits Nov 5, 2018

Check for empty "last_status" before sorting DM column (tootsuite#9207)
* Check for empty "last_status" before sorting

* Small touchups for codeclimate
Optimize the process of following someone (tootsuite#9220)
* Eliminate extra accounts select query from FollowService

* Optimistically update follow state in web UI and hide loading bar

Fix tootsuite#6205

* Asynchronize NotifyService in FollowService

And fix failing test

* Skip Webfinger resolve routine when called from FollowService if possible

If an account is ActivityPub, then webfinger re-resolving is not necessary
when called from FollowService. Improve options of ResolveAccountService
Fix follow limit validator reporting lower number past threshold (too…
…tsuite#9230)

* Fix follow limit validator reporting lower number past threshold

* Avoid floating point follow limit
Fix form validation flash message color and input borders (tootsuite#…
…9235)

* Fix form validation flash message color and input borders

* Fix typo
Display amount of freed disk space in tootctl media remove (tootsuite…
…#9229)

* Display amount of freed disk space in tootctl media remove

Fix tootsuite#9213

* Fix code style issue
Improve ActiveRecord connection in on_worker_boot (tootsuite#9238)
This is how it looks in the example in the Puma README
Fix "tootctl media remove" can't count the file size (tootsuite#9288)
* Fixed an issue where "tootctl media remove" can not count the file size.

* Fixed the problem pointed out by codeclimate.
Update Nginx config for Nanobox apps (tootsuite#9310)
The Nanobox files have gotten out of sync, a touch, with what Masto needs for Nginx settings. This PR updates them accordingly.
WebSub: ATOM before RSS (tootsuite#9302)
Hello,
The ATOM feed contains the hub declaration for WebSub, but the RSS
version does not.
RSS/ATOM readers will typically pick whichever version comes first, and
will thus not see the WebSub feature.
I therefore suggest putting the ATOM version first, as it is more
feature-rich than its RSS counterpart is.

Clients not compatible with ATOM would not pick it anyway due to the
different type attribute.

A more complicated alternative would be to declare the WebSub feature in
the RSS version as well, using something like the following code, and
ensuring that clients subscribed to the RSS version would receive PuSH
updates just like those subscribed to the ATOM version.

````xml
<rss version="2.0" xmlns:webfeeds="http://webfeeds.org/rss/1.0"
xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link rel="self" type="application/rss+xml"
href="https://diaspodon.fr/users/test.rss"/>
<atom:link rel="hub" href="https://diaspodon.fr/api/push"/>
</channel>
</rss>
```
Touch account on successful response, change char shown when culled (t…
…ootsuite#9293)

Just the color is not enough change since not everyone uses colored
terminals.
Touching the account makes it so that the account is not in the
threshold window in case of running again
Ignore JSON-LD profile in mime type comparison (tootsuite#9179)
Ignore JSON-LD profile in mime type comparison
Fix connect timeout not being enforced (tootsuite#9329)
* Fix connect timeout not being enforced

The loop was catching the timeout exception that should stop execution, so the next IP would no longer be within a timed block, which led to requests taking much longer than 10 seconds.

* Use timeout on each IP attempt, but limit to 2 attempts

* Fix code style issue

* Do not break Request#perform if no block given

* Update method stub in spec for Request

* Move timeout inside the begin/rescue block

* Use Resolv::DNS with timeout of 1 to get IP addresses

* Update Request spec to stub Resolv::DNS instead of Addrinfo

* Fix Resolve::DNS stubs in Request spec
Allow hyphens in the middle of remote user names (tootsuite#9345)
Fixes tootsuite#9309

This only allows hyphens in the middle of a username, much like dots,
although I don't have a compelling reason to do so other than keeping
the changes minimal.

@eai04191 eai04191 merged commit 7ff806a into master Dec 19, 2018

@eai04191 eai04191 deleted the mastodon-update-v2.6.5 branch Dec 19, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment