Commit Graph

6731 Commits (stable-2.7)

Author SHA1 Message Date
Eugen Rochko a91349d45d Bump version to 2.7.4 2019-03-05 18:09:50 +01:00
ThibG ae9e5ac6c8 Fix suspended account's fields being set as empty dict instead of list (#10178)
Fixes #10177
2019-03-05 18:05:54 +01:00
ThibG 7034bb65d6 Fix lists export (#10136) 2019-03-05 18:05:16 +01:00
Eugen Rochko a4bc5c375c Fix home timeline perpetually reloading when empty (#10130)
Regression from #6876
2019-03-05 18:04:59 +01:00
ThibG 2d9138082e Fix serialization of boosts (#10129)
The condition introduced by #9998 was wrong, serializing boosts
that weren't self-boosts, and not serializing self-boosts.
2019-03-05 18:04:40 +01:00
ThibG 3a3cdc9724 Fix direct timeline pagination in the WebUI (#10126)
The `hasMore` property of timelines in redux store was set whenever an API
request returned only one page of results, *even* if the query only requested
newer conversations (using `since_id`), causing `hasMore` to be incorrectly set to
false whenever fetching new toots in the direct timeline, which happens each time
the direct message column is opened.

(Basically #9516 for direct messages)
2019-03-05 18:04:02 +01:00
trwnh 7a5095a53c Allow getting-started to scroll on short screens (#10075)
At 480px height, there is not enough space to fully display the footer.
2019-03-05 18:03:42 +01:00
ThibG 7f5b570688 Fix mention processing for unknwon accounts on incoming ActivityPub Notes (#10125)
`::FetchRemoteAccountService` is not `ActivityPub::FetchRemoteAccountService`,
its second argument is the pre-fetched body. Passing `id: false` actually passed
a `Hash` as the prefetched body, instead of properly resolving unknown remote
accounts.
2019-03-05 18:03:17 +01:00
abcang aa63c3e22a Improve account media query (#10121) 2019-03-05 18:02:57 +01:00
ThibG 04197a2745 Avoid redundant HTTP request on some error cases (#10115) 2019-03-05 18:02:35 +01:00
Eugen Rochko 1219e463f9 Fix web UI not removing notifications after block (#10108)
Regression from #7311
2019-03-05 18:01:34 +01:00
Eugen Rochko 0359345147 Bump version to 2.7.3 2019-02-23 17:20:54 +01:00
ThibG 6df61bf9d2 Fix “reset” button of instance filter switching to custom emoji admin panel (#10076) 2019-02-23 17:19:36 +01:00
ThibG 80db9a74ef Add quick link from admin account view to block/unblock instance (#10073) 2019-02-23 17:19:21 +01:00
ThibG 3dd663c455 Add domain search/filter to the "Federation" (/admin/instances) page (#10071) 2019-02-23 17:18:50 +01:00
Hinaloe 07fffd226d Randomize emoji filename (#10090) 2019-02-23 17:17:09 +01:00
ThibG 890a606431 Do not error out when performing admin actions on no statuses (#10094)
Same as #8220 but for reports
2019-02-23 17:16:44 +01:00
ThibG a750d1aa34 Fix crash when conversations have no valid participants (#10078)
* Never return empty participants for conversations

Fixes #10068

* Fix client-side crash when conversations have no participants
2019-02-23 17:15:58 +01:00
ThibG d23a7f9726 Hide domain filter in admin page when “local” filter is active (#10074)
Since the “domain” field is ignored in this case.
2019-02-23 17:15:13 +01:00
ThibG 3e59a0e838 Fix video player width not being updated to fit container width (#10069) 2019-02-23 17:14:34 +01:00
Eugen Rochko f3eb99aec3 Bump version to 2.7.2 2019-02-17 19:58:06 +01:00
ThibG e5f4af23ef Fix crash on public hashtag pages when streaming fails (#10061) 2019-02-17 19:53:37 +01:00
Eugen Rochko 33e8fa0d76 Fix mutes, blocks, domain blocks and follow requests not paginating (#10057)
Regression from #9581
2019-02-17 19:53:19 +01:00
Eugen Rochko 98e38200ab Add vapid_key to the application entity in the REST API (#10058)
Fix #8785
2019-02-17 19:52:27 +01:00
Eugen Rochko b6a5268e1b Add registrations attribute to instance entity in REST API (#10060)
Fix #9350
2019-02-17 19:51:00 +01:00
Eugen Rochko caf1450292 Change error graphic to hover-to-play (#10055)
Fix #6060
2019-02-17 19:50:44 +01:00
Eugen Rochko 584f29e62a Change buttons on timeline preview to open the interaction dialog (#10054)
Fix #9922
2019-02-17 19:50:24 +01:00
Eugen Rochko 7b59de4f5c Change conversations to always show names of other participants (#10047)
Fix #9190
2019-02-17 19:49:59 +01:00
rinsuki 5aa147b67d Fix breaks when opening a reply tree in WebUI (#10046)
fix #10045
2019-02-17 19:49:38 +01:00
Nolan Lawson 77a71236ad perf: run node directly when streaming (#10032) 2019-02-17 19:48:44 +01:00
Ben Lubar 1ad0d232b3 Improve image description user experience (#10036)
* Add image descriptions to searchable post content.

* Allow multi-line image descriptions.

* Request image descriptions in the same query as posts when creating the search index.

(see https://github.com/tootsuite/mastodon/pull/10036#discussion_r256551624)
2019-02-17 19:47:49 +01:00
nightpool 45b2bb464b Change robots.txt to exclude only media proxy URLs (#10038)
* Revert "Change robots.txt to exclude some URLs (#10037)"

This reverts commit 80161f4351.

* Let's block media_proxy

/media_proxy/ is a dynamic route used for requesting uncached media, so it's
probably bad to let crawlers use it

* misleading comment
2019-02-17 19:47:17 +01:00
Eugen Rochko 637f0007b9 Change robots.txt to exclude some URLs (#10037)
- Exclude static assets
- Exclude uploaded files
- Exclude alternate versions of the profile page
- Exclude media proxy URLs
2019-02-17 19:47:06 +01:00
Eugen Rochko 8ad75eea62 Fix relay enabling/disabling not resetting inbox availability status (#10048)
Fix #10033
2019-02-17 19:46:27 +01:00
Eugen Rochko b163368c3e Fix Announce activities of unknown statuses not fetching those statuses (#10065)
Regression from #9998
2019-02-17 19:45:54 +01:00
Eugen Rochko 71b831601d Add logging for rejected ActivityPub payloads and add tests (#10062) 2019-02-17 19:45:32 +01:00
Eugen Rochko e84c761819 Filter incoming Announce activities by relation to local activity (#10041)
* Filter incoming Announce activities by relation to local activity

Reject if announcer is not followed by local accounts, and is not
from an enabled relay, and the object is not a local status

Follow-up to #10005

* Fix tests
2019-02-17 19:45:09 +01:00
Eugen Rochko ef45411c53 Filter incoming Create activities by relation to local activity (#10005)
Reject those from accounts with no local followers, from relays
that are not enabled, which do not address local accounts and are
not replies to accounts that do have local followers
2019-02-17 19:43:44 +01:00
ThibG 6c11f0f8cf Alternative handling of private self-boosts (#9998)
* When self-boosting, embed original toot into Announce serialization

* Process unknown self-boosts from Announce object if it is more than an URI

* Add some self-boost specs

* Only serialize private toots in self-Announces
2019-02-17 19:42:18 +01:00
ysksn 737ac4b59d Create Redisable#redis (#9633)
* Create Redisable

* Use #redis instead of Redis.current
2019-02-17 19:42:14 +01:00
Eugen Rochko 17a41e1f77 Fix hashtag column not subscribing to stream on mount (#10040)
Fix #9895
2019-02-17 19:40:51 +01:00
Eugen Rochko 5a04861c7f Add tight rate-limit for API deletions (#10042)
Deletions take a lot of resources to execute and cause a lot of
federation traffic, so it makes sense to decrease the number
someone can queue up through the API.

30 per 30 minutes
2019-02-17 19:40:29 +01:00
Eugen Rochko 2a1adab7d7 Fix style regressions on landing page (#10030) 2019-02-17 19:39:35 +01:00
Eugen Rochko a46487e895 Fix hashtags select styling in default and high contrast themes (#10029) 2019-02-17 19:39:03 +01:00
Eugen Rochko f0f657e77c Fix color of static page links in high contrast theme (#10028) 2019-02-17 19:38:21 +01:00
ThibG 1186b9abeb Save IP address used for sign-up, not only sign-in (#10026)
Fixes #9995
2019-02-17 19:37:06 +01:00
Franck Zoccolo 27310a84a4 Add support for IPv6 only MXes in Email validation (#10009)
* Add support for IPv6 only MXes

* Fixed email validator tests
2019-02-17 19:36:10 +01:00
ThibG d66267508a Move sending account Delete to anyone but the account's followers to the pull̀ queue (#10016) 2019-02-17 19:35:05 +01:00
Hinaloe 41ecf80645 Don't focus spiler input when disabled spoiler (#10017) 2019-02-17 19:34:01 +01:00
ThibG e1dbdf7377 Fix timeline jumps (#10001)
* Avoid two-step rendering of statuses as much as possible

Cache width shared by Video player, MediaGallery and Cards at the
ScrollableList level, pass it down through StatusList and Notifications.

* Adjust scroll when new preview cards appear

* Adjust scroll when statuses above the current scroll position are deleted
2019-02-17 19:33:11 +01:00