]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoFix to limit to discoverable accounts. (#10253)
mayaeh [Wed, 13 Mar 2019 12:01:57 +0000 (21:01 +0900)]
Fix to limit to discoverable accounts. (#10253)

6 years agoBump active_record_query_trace from 1.6.1 to 1.6.2 (#10252)
dependabot[bot] [Wed, 13 Mar 2019 05:57:02 +0000 (14:57 +0900)]
Bump active_record_query_trace from 1.6.1 to 1.6.2 (#10252)

Bumps [active_record_query_trace](https://github.com/brunofacca/active-record-query-trace) from 1.6.1 to 1.6.2.
- [Release notes](https://github.com/brunofacca/active-record-query-trace/releases)
- [Changelog](https://github.com/brunofacca/active-record-query-trace/blob/master/HISTORY.md)
- [Commits](https://github.com/brunofacca/active-record-query-trace/compare/v1.6.1...v1.6.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoFix poll update handler calling method was that was not available (#10246)
Eugen Rochko [Tue, 12 Mar 2019 21:58:59 +0000 (22:58 +0100)]
Fix poll update handler calling method was that was not available (#10246)

* Fix poll update handler calling method was that was not available

Fix regression from #10209

* Refactor VoteService

* Refactor ActivityPub::DistributePollUpdateWorker and optimize it

* Fix typo

* Fix typo

6 years agoOptimize RemoveStatusService by removing n+1 query and using shared inboxes (#10247)
Eugen Rochko [Tue, 12 Mar 2019 21:34:55 +0000 (22:34 +0100)]
Optimize RemoveStatusService by removing n+1 query and using shared inboxes (#10247)

6 years agoAdd muted style for polls in web UI (#10248)
Eugen Rochko [Tue, 12 Mar 2019 21:08:18 +0000 (22:08 +0100)]
Add muted style for polls in web UI (#10248)

6 years agoFix public timeline page not paginating correctly (#10245)
Eugen Rochko [Tue, 12 Mar 2019 20:53:56 +0000 (21:53 +0100)]
Fix public timeline page not paginating correctly (#10245)

6 years agoRedesign landing page (#10232)
Eugen Rochko [Tue, 12 Mar 2019 16:34:00 +0000 (17:34 +0100)]
Redesign landing page (#10232)

6 years agoBump concurrent-ruby from 1.1.4 to 1.1.5 (#10242)
dependabot[bot] [Tue, 12 Mar 2019 12:05:20 +0000 (13:05 +0100)]
Bump concurrent-ruby from 1.1.4 to 1.1.5 (#10242)

Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.4 to 1.1.5.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.4...v1.1.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoSquish username before validation (#10239)
Aurélien Reeves [Mon, 11 Mar 2019 19:48:24 +0000 (20:48 +0100)]
Squish username before validation (#10239)

* Squish username before validation (#10101)

Fix #10101

* Move before_validation hook to a private method

Also add Unicode wite-spaces to the spec to support the use of squish
over strip.

6 years agoFix remote interaction dialogs being indexed by search engines (#10240)
Eugen Rochko [Mon, 11 Mar 2019 19:47:50 +0000 (20:47 +0100)]
Fix remote interaction dialogs being indexed by search engines (#10240)

Fix #10116

6 years agoBump aws-sdk-s3 from 1.30.1 to 1.31.0 (#10236)
dependabot[bot] [Mon, 11 Mar 2019 14:29:07 +0000 (15:29 +0100)]
Bump aws-sdk-s3 from 1.30.1 to 1.31.0 (#10236)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.30.1 to 1.31.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/1.30.1...1.31.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoAdd `tootctl statuses remove` to sweep unreferenced statuses (#10063)
Eugen Rochko [Mon, 11 Mar 2019 12:45:17 +0000 (13:45 +0100)]
Add `tootctl statuses remove` to sweep unreferenced statuses (#10063)

Query by @tateisu

Fix #1554

6 years agoBump pkg-config from 1.3.5 to 1.3.6 (#10235)
dependabot[bot] [Mon, 11 Mar 2019 12:31:16 +0000 (21:31 +0900)]
Bump pkg-config from 1.3.5 to 1.3.6 (#10235)

Bumps [pkg-config](https://github.com/ruby-gnome2/pkg-config) from 1.3.5 to 1.3.6.
- [Release notes](https://github.com/ruby-gnome2/pkg-config/releases)
- [Changelog](https://github.com/ruby-gnome2/pkg-config/blob/master/NEWS)
- [Commits](https://github.com/ruby-gnome2/pkg-config/compare/1.3.5...1.3.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump active_record_query_trace from 1.6 to 1.6.1 (#10237)
dependabot[bot] [Mon, 11 Mar 2019 12:29:53 +0000 (13:29 +0100)]
Bump active_record_query_trace from 1.6 to 1.6.1 (#10237)

Bumps [active_record_query_trace](https://github.com/brunofacca/active-record-query-trace) from 1.6 to 1.6.1.
- [Release notes](https://github.com/brunofacca/active-record-query-trace/releases)
- [Changelog](https://github.com/brunofacca/active-record-query-trace/blob/master/HISTORY.md)
- [Commits](https://github.com/brunofacca/active-record-query-trace/compare/v1.6...v1.6.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoIncrease DNS timeouts (#10238)
ThibG [Mon, 11 Mar 2019 12:27:57 +0000 (13:27 +0100)]
Increase DNS timeouts (#10238)

6 years agoFix streaming API always attempting to use SSL with Postgres (#10231)
Eugen Rochko [Sun, 10 Mar 2019 23:51:23 +0000 (00:51 +0100)]
Fix streaming API always attempting to use SSL with Postgres (#10231)

Fix #10223

6 years agoAvoid race conditions when creating backups (#10234)
ThibG [Sun, 10 Mar 2019 23:50:31 +0000 (00:50 +0100)]
Avoid race conditions when creating backups (#10234)

Under load, multiple backups for a single user could be planned, which
is very expensive.

6 years agoSupport pushing and receiving updates to poll tallies (#10209)
ThibG [Sun, 10 Mar 2019 23:49:31 +0000 (00:49 +0100)]
Support pushing and receiving updates to poll tallies (#10209)

* Process incoming poll tallies update

* Send Update on poll vote

* Do not send Updates for a poll more often than once every 3 minutes

* Include voters in people to notify of results update

* Schedule closing poll worker on poll creation

* Add new notification type for ending polls

* Add front-end support for ended poll notifications

* Fix UpdatePollSerializer

* Fix Updates not being triggered by local votes

* Fix tests failure

* Fix web push notifications for closing polls

* Minor cleanup

* Notify voters of both remote and local polls when those close

* Fix delivery of poll updates to mentioned accounts and voters

6 years agoReject existing Follows when suspending a remote account (#10230)
ThibG [Sun, 10 Mar 2019 15:18:58 +0000 (16:18 +0100)]
Reject existing Follows when suspending a remote account (#10230)

* Reject existing Follows when suspending a remote account

Partial fix to #10229

* Add tests

6 years agoFix SSL configuration regression in streaming API (#10225)
Eugen Rochko [Sun, 10 Mar 2019 15:00:54 +0000 (16:00 +0100)]
Fix SSL configuration regression in streaming API (#10225)

* Fix SSL configuration regression in streaming API

Fix #10223

* Fix code style issues and integrate #10219

* Fix dumb thing

6 years agoAdd clearer error when/if gpg fails to install (#10228)
Armand Fardeau [Sun, 10 Mar 2019 15:00:22 +0000 (16:00 +0100)]
Add clearer error when/if gpg fails to install (#10228)

6 years agoChange joinmastodon.org to joinmastodon.org/#getting-started for sign up on another...
Aditoo17 [Sat, 9 Mar 2019 16:07:59 +0000 (17:07 +0100)]
Change joinmastodon.org to joinmastodon.org/#getting-started for sign up on another server (#10224)

6 years agoFix setting up fields of a previously suspended account (#10222)
ThibG [Fri, 8 Mar 2019 18:59:08 +0000 (19:59 +0100)]
Fix setting up fields of a previously suspended account (#10222)

Fix #10177 for real

6 years agoRe-organize Dockerfile to improve incremental builds. (#10212)
Ben Lubar [Fri, 8 Mar 2019 15:12:48 +0000 (09:12 -0600)]
Re-organize Dockerfile to improve incremental builds. (#10212)

- Always run apt update before any other apt command. (This fixes
  incremental builds failing if a remote package is updated.)
- Only copy dependency lists before installing dependencies. (This means
  editing code doesn't force all dependencies to be re-downloaded.)
- Delete cache in the same layer that it is created. (Otherwise,
  deleting cache *increases* the size of the image on non-squashed
  builds.)
- Move the installation of some static dependencies to *before* Mastodon
  code is imported to Docker.

6 years agoconfig: add DB_SSLMODE for managed/remote PG (#10210)
Sascha [Fri, 8 Mar 2019 13:36:28 +0000 (14:36 +0100)]
config: add DB_SSLMODE for managed/remote PG (#10210)

* config: add DB_SSLMODE for managed/remote PG

* streaming: set PG sslmode, defaults to prefer

6 years agoBump pkg-config from 1.3.4 to 1.3.5 (#10218)
dependabot[bot] [Fri, 8 Mar 2019 10:16:55 +0000 (19:16 +0900)]
Bump pkg-config from 1.3.4 to 1.3.5 (#10218)

Bumps [pkg-config](https://github.com/ruby-gnome2/pkg-config) from 1.3.4 to 1.3.5.
- [Release notes](https://github.com/ruby-gnome2/pkg-config/releases)
- [Changelog](https://github.com/ruby-gnome2/pkg-config/blob/master/NEWS)
- [Commits](https://github.com/ruby-gnome2/pkg-config/compare/1.3.4...1.3.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoDo not allow adding votes to expired polls (#10214)
ThibG [Thu, 7 Mar 2019 23:54:50 +0000 (00:54 +0100)]
Do not allow adding votes to expired polls (#10214)

* Do not allow adding votes to expired polls

* Only validate expires_at on create

6 years agoImmediately display poll results to poll author (#10187)
Eugen Rochko [Thu, 7 Mar 2019 21:53:47 +0000 (22:53 +0100)]
Immediately display poll results to poll author (#10187)

* Immediately display poll results to poll author

* Refactor Poll#loaded_options and add Poll#voted? to improve DRYness

6 years agoFix NaN in Poll component (#10213)
Eugen Rochko [Thu, 7 Mar 2019 21:18:05 +0000 (22:18 +0100)]
Fix NaN in Poll component (#10213)

6 years agoFix public timelines being broken by new toots when they are not mounted (#10131)
Eugen Rochko [Thu, 7 Mar 2019 21:17:52 +0000 (22:17 +0100)]
Fix public timelines being broken by new toots when they are not mounted (#10131)

6 years agoHandle StaleObjectError when retrieving polls (#10208)
ThibG [Thu, 7 Mar 2019 14:52:38 +0000 (15:52 +0100)]
Handle StaleObjectError when retrieving polls (#10208)

6 years agoBump webpush from 0.3.6 to 0.3.7 (#10205)
dependabot[bot] [Thu, 7 Mar 2019 11:38:10 +0000 (20:38 +0900)]
Bump webpush from 0.3.6 to 0.3.7 (#10205)

Bumps [webpush](https://github.com/zaru/webpush) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/zaru/webpush/releases)
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zaru/webpush/compare/v0.3.6...v0.3.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoi18n:🇵🇱 (#10199)
marcin mikołajczak [Thu, 7 Mar 2019 01:52:43 +0000 (02:52 +0100)]
i18n:🇵🇱 (#10199)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
6 years agoAvoid unnecessarily fetching the replies collection when it is empty (#10201)
ThibG [Thu, 7 Mar 2019 00:50:37 +0000 (01:50 +0100)]
Avoid unnecessarily fetching the replies collection when it is empty (#10201)

6 years agoFix AddLockVersionToPolls migration (#10200)
ThibG [Thu, 7 Mar 2019 00:50:06 +0000 (01:50 +0100)]
Fix AddLockVersionToPolls migration (#10200)

6 years agoFix #10202 (#10203)
rinsuki [Thu, 7 Mar 2019 00:49:42 +0000 (09:49 +0900)]
Fix #10202 (#10203)

6 years agoAdd optimistic lock to avoid race conditions when handling votes (#10196)
ThibG [Wed, 6 Mar 2019 18:53:57 +0000 (19:53 +0100)]
Add optimistic lock to avoid race conditions when handling votes (#10196)

* Add optimistic lock to avoid race conditions when handling votes

* Force-reload polls when getting `ActiveRecord::StaleObjectError`

6 years agoDisable the underlying button element when an ItemButton is disabled (#10194)
ThibG [Wed, 6 Mar 2019 14:10:32 +0000 (15:10 +0100)]
Disable the underlying button element when an ItemButton is disabled (#10194)

Fixes #10191

6 years agoDisable file upload when there is a poll (#10195)
ThibG [Wed, 6 Mar 2019 14:09:18 +0000 (15:09 +0100)]
Disable file upload when there is a poll (#10195)

6 years agoBump active_record_query_trace from 1.5.4 to 1.6 (#10192)
dependabot[bot] [Wed, 6 Mar 2019 05:58:13 +0000 (14:58 +0900)]
Bump active_record_query_trace from 1.5.4 to 1.6 (#10192)

Bumps [active_record_query_trace](https://github.com/brunofacca/active-record-query-trace) from 1.5.4 to 1.6.
- [Release notes](https://github.com/brunofacca/active-record-query-trace/releases)
- [Changelog](https://github.com/brunofacca/active-record-query-trace/blob/v1.6/HISTORY.md)
- [Commits](https://github.com/brunofacca/active-record-query-trace/compare/v1.5.4...v1.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoFix poll options not rendering text after vote/refresh (#10189)
Eugen Rochko [Wed, 6 Mar 2019 04:35:52 +0000 (05:35 +0100)]
Fix poll options not rendering text after vote/refresh (#10189)

* Fix poll options not rendering text after vote/refresh

* Fix poll options not showing up on public pages

* Fix code style issue

6 years agoAvoid line breaks in poll options (#10188)
Eugen Rochko [Wed, 6 Mar 2019 03:54:32 +0000 (04:54 +0100)]
Avoid line breaks in poll options (#10188)

6 years agoFix poll validation issues (#10186)
Eugen Rochko [Wed, 6 Mar 2019 03:54:11 +0000 (04:54 +0100)]
Fix poll validation issues (#10186)

- Fix missing interpolation argument in PollValidator
- Fix PollValidator rejecting exact allowed min/max durations

6 years agoAdd UI for creating polls (#10184)
Eugen Rochko [Wed, 6 Mar 2019 03:53:37 +0000 (04:53 +0100)]
Add UI for creating polls (#10184)

* Add actions and reducers for polls

* Add poll button

* Disable media upload if poll enabled

* Add poll form

* Make delete & redraft work with polls

6 years agoRender unicode emoji in polls using emoji pack (#10185)
Eugen Rochko [Wed, 6 Mar 2019 02:57:46 +0000 (03:57 +0100)]
Render unicode emoji in polls using emoji pack (#10185)

6 years agoFix newlines in OStatus and RSS serializations (#10183)
ThibG [Tue, 5 Mar 2019 22:58:58 +0000 (23:58 +0100)]
Fix newlines in OStatus and RSS serializations (#10183)

6 years agoMinor update for Slovak tr (#10181)
Marek Ľach [Tue, 5 Mar 2019 21:42:37 +0000 (22:42 +0100)]
Minor update for Slovak tr (#10181)

* Minor update for Slovak tr

* Update sk.yml

* Update sk.yml

6 years agoI18n: Update Czech pluralization (#10182)
Aditoo17 [Tue, 5 Mar 2019 21:13:04 +0000 (22:13 +0100)]
I18n: Update Czech pluralization (#10182)

6 years agoWeblate translations (2019-03-05) (#10180)
Eugen Rochko [Tue, 5 Mar 2019 20:52:40 +0000 (21:52 +0100)]
Weblate translations (2019-03-05) (#10180)

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Czech)

Currently translated at 99,9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (Czech)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/

* Translated using Weblate (Greek)

Currently translated at 98,4% (752 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (98 of 98 strings)

Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 66,8% (510 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/kk/

* Translated using Weblate (Italian)

Currently translated at 99,7% (360 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/it/

* Translated using Weblate (Italian)

Currently translated at 100,0% (63 of 63 strings)

Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/it/

* Translated using Weblate (Italian)

Currently translated at 100,0% (111 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/it/

* Translated using Weblate (Kazakh)

Currently translated at 99,9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/kk/

* Translated using Weblate (Italian)

Currently translated at 88,9% (679 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/it/

* Translated using Weblate (Dutch)

Currently translated at 100,0% (764 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/

* Translated using Weblate (Persian)

Currently translated at 99,7% (762 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/

* Translated using Weblate (Arabic)

Currently translated at 93,2% (712 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/

* Translated using Weblate (Arabic)

Currently translated at 96,4% (107 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/

* Translated using Weblate (Arabic)

Currently translated at 100.0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/

* Translated using Weblate (Arabic)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/

* Translated using Weblate (Korean)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/

* Translated using Weblate (Korean)

Currently translated at 100.0% (764 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Korean)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Corsican)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/co/

* Translated using Weblate (Corsican)

Currently translated at 99,9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/

* Translated using Weblate (French)

Currently translated at 99,7% (360 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Lithuanian)

Currently translated at 99,9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/lt/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/kk/

* Translated using Weblate (Kazakh)

Currently translated at 99,9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/kk/

* Translated using Weblate (Greek)

Currently translated at 99,9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/

* Translated using Weblate (Greek)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/

* Added translation using Weblate (Bengali)

* Translated using Weblate (Bengali)

Currently translated at 2,1% (16 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/bn/

* Translated using Weblate (Japanese)

Currently translated at 98,1% (354 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ja/

* Translated using Weblate (Galician)

Currently translated at 100,0% (764 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/

* Translated using Weblate (Slovak)

Currently translated at 99.7% (762 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/

* Translated using Weblate (French)

Currently translated at 99.9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/

* Translated using Weblate (Telugu)

Currently translated at 99.4% (359 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/te/

* Translated using Weblate (Spanish)

Currently translated at 84.7% (647 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/es/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (111 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/

* Translated using Weblate (Slovak)

Currently translated at 99.7% (762 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/

* Translated using Weblate (Esperanto)

Currently translated at 98.2% (109 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/eo/

* Translated using Weblate (Esperanto)

Currently translated at 99.9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/

* Translated using Weblate (Japanese)

Currently translated at 98.3% (751 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/

* Translated using Weblate (Esperanto)

Currently translated at 98.4% (62 of 63 strings)

Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/eo/

* Translated using Weblate (Esperanto)

Currently translated at 99.9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/

* Translated using Weblate (Czech)

Currently translated at 99.9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (Czech)

Currently translated at 100.0% (111 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/

* Translated using Weblate (Czech)

Currently translated at 100.0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/

* Translated using Weblate (Czech)

Currently translated at 100.0% (98 of 98 strings)

Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/cs/

* Translated using Weblate (Persian)

Currently translated at 100.0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fa/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/

* Translated using Weblate (Czech)

Currently translated at 100.0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/

* Translated using Weblate (Occitan)

Currently translated at 95,7% (731 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/

* Translated using Weblate (Occitan)

Currently translated at 100,0% (111 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/oc/

* Translated using Weblate (Persian)

Currently translated at 99,7% (762 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/

* Translated using Weblate (Occitan)

Currently translated at 100,0% (361 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/

* Translated using Weblate (Occitan)

Currently translated at 100,0% (63 of 63 strings)

Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/oc/

* Translated using Weblate (Occitan)

Currently translated at 96.9% (740 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/

* Translated using Weblate (French)

Currently translated at 99.9% (763 of 764 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/

* Translated using Weblate (Czech)

Currently translated at 100.0% (111 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/cs/

* Translated using Weblate (Thai)

Currently translated at 14.4% (52 of 361 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/th/

* Translated using Weblate (Greek)

Currently translated at 99.9% (771 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/

* Translated using Weblate (Korean)

Currently translated at 100.0% (772 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/

* Translated using Weblate (Corsican)

Currently translated at 99.9% (771 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/

* Translated using Weblate (Slovak)

Currently translated at 99.7% (770 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/

* Translated using Weblate (Slovak)

Currently translated at 100.0% (111 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/

* Translated using Weblate (French)

Currently translated at 99.9% (771 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/

* Translated using Weblate (Czech)

Currently translated at 99.0% (764 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (Persian)

Currently translated at 99.7% (770 of 772 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fa/

* Translated using Weblate (Czech)

Currently translated at 98.7% (765 of 775 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (Czech)

Currently translated at 99.9% (774 of 775 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/

* Translated using Weblate (Swedish)

Currently translated at 64,0% (71 of 111 strings)

Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sv/

* Translated using Weblate (Corsican)

Currently translated at 99,9% (774 of 775 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/

* Translated using Weblate (Greek)

Currently translated at 99,9% (774 of 775 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/

* Translated using Weblate (Czech)

Currently translated at 100.0% (63 of 63 strings)

Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/cs/

* Translated using Weblate (Galician)

Currently translated at 100,0% (775 of 775 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (63 of 63 strings)

Translation: Mastodon/Devise
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/devise/pt/

* i18n-tasks normalize

* yarn manage:translations

* Fix missing plural keys

* Fix inconsistent interpolations

6 years agoWhen serializing polls over OStatus, serialize poll options to text (#10160)
ThibG [Tue, 5 Mar 2019 20:09:18 +0000 (21:09 +0100)]
When serializing polls over OStatus, serialize poll options to text (#10160)

* When serializing polls over OStatus, serialize poll options to text

* Do the same for RSS feeds

* Use “[ ] ” as a prefix for poll options instead of “- ”

6 years agoBump version to 2.7.4 (#10179)
Eugen Rochko [Tue, 5 Mar 2019 17:22:46 +0000 (18:22 +0100)]
Bump version to 2.7.4 (#10179)

6 years agoFix status creation API silently discarding invalid poll (#10171)
Eugen Rochko [Tue, 5 Mar 2019 14:21:31 +0000 (15:21 +0100)]
Fix status creation API silently discarding invalid poll (#10171)

6 years agoDo not error out on unsalvageable errors in FetchRepliesService (#10175)
ThibG [Tue, 5 Mar 2019 14:21:14 +0000 (15:21 +0100)]
Do not error out on unsalvageable errors in FetchRepliesService (#10175)

* Do not error out on unsalvageable errors in FetchRepliesService

Fixes #10152

* Fix FetchRepliesWorker erroring out on deleted statuses

6 years agoFix suspended account's fields being set as empty dict instead of list (#10178)
ThibG [Tue, 5 Mar 2019 14:19:54 +0000 (15:19 +0100)]
Fix suspended account's fields being set as empty dict instead of list (#10178)

Fixes #10177

6 years agoFix NoMethodError in ActivityPub::NoteSerializer (#10172)
Eugen Rochko [Tue, 5 Mar 2019 04:09:01 +0000 (05:09 +0100)]
Fix NoMethodError in ActivityPub::NoteSerializer (#10172)

6 years agoFix last_fetched_at not being set on polls (#10170)
Eugen Rochko [Tue, 5 Mar 2019 03:10:01 +0000 (04:10 +0100)]
Fix last_fetched_at not being set on polls (#10170)

6 years agoFix various issues in polls (#10165)
Eugen Rochko [Tue, 5 Mar 2019 02:51:18 +0000 (03:51 +0100)]
Fix various issues in polls (#10165)

* Fix ActivityPub poll results being serialized even with hide_totals

* Fix poll refresh button having a different font size

* Display poll in OpenGraph description

* Fix NoMethodError when serializing votes

Regression from #10158

* Fix polls on public pages being broken for non-logged-in users

* Do not show time remaining if poll has no expiration date

6 years agoAdd test ensuring that unknown object types are rejected (#10166)
Eugen Rochko [Tue, 5 Mar 2019 02:46:36 +0000 (03:46 +0100)]
Add test ensuring that unknown object types are rejected (#10166)

6 years agoFix featured tag form not failing on failed tag validations (#10167)
Eugen Rochko [Tue, 5 Mar 2019 02:46:24 +0000 (03:46 +0100)]
Fix featured tag form not failing on failed tag validations (#10167)

6 years agoFix poll options not being stripped of surrounding whitespace on save (#10168)
Eugen Rochko [Tue, 5 Mar 2019 02:45:56 +0000 (03:45 +0100)]
Fix poll options not being stripped of surrounding whitespace on save (#10168)

6 years agoDisplay closed polls as such (#10156)
ThibG [Mon, 4 Mar 2019 21:52:41 +0000 (22:52 +0100)]
Display closed polls as such (#10156)

6 years agoStore remote votes URI (#10158)
ThibG [Mon, 4 Mar 2019 21:51:23 +0000 (22:51 +0100)]
Store remote votes URI (#10158)

* Store remote votes URI

* Add spec for accepting remote votes

* Make poll vote id generation work the same way as follows

6 years agoEnsure only people allowed to see the poll can actually vote (#10161)
ThibG [Mon, 4 Mar 2019 21:47:47 +0000 (22:47 +0100)]
Ensure only people allowed to see the poll can actually vote (#10161)

6 years agoWiden allowed time windows for polls (#10162)
ThibG [Mon, 4 Mar 2019 21:46:38 +0000 (22:46 +0100)]
Widen allowed time windows for polls (#10162)

6 years agoAdd non-JS fallback for polls on public pages (#10155)
ThibG [Mon, 4 Mar 2019 17:03:12 +0000 (18:03 +0100)]
Add non-JS fallback for polls on public pages (#10155)

6 years agoFixes to the polls UI (#10150)
ThibG [Mon, 4 Mar 2019 00:54:14 +0000 (01:54 +0100)]
Fixes to the polls UI (#10150)

* Allow unselecting choices in multiple choice polls

* Properly disable checkboxes/radio buttons for polls in public pages

* Visually differentiate checkboxes and radio buttons

6 years agoFix ActivityPub votes having nil IDs (#10151)
Eugen Rochko [Mon, 4 Mar 2019 00:53:58 +0000 (01:53 +0100)]
Fix ActivityPub votes having nil IDs (#10151)

6 years agoAdd tests for ActivityPub poll processing (#10143)
Eugen Rochko [Mon, 4 Mar 2019 00:13:42 +0000 (01:13 +0100)]
Add tests for ActivityPub poll processing (#10143)

6 years agoFix missing in_reply_to in ActivityPub::VoteSerializer (#10148)
Eugen Rochko [Mon, 4 Mar 2019 00:06:19 +0000 (01:06 +0100)]
Fix missing in_reply_to in ActivityPub::VoteSerializer (#10148)

6 years agoFix another typo in ActivityPub::FetchRemotePollService (#10146)
Eugen Rochko [Sun, 3 Mar 2019 23:52:18 +0000 (00:52 +0100)]
Fix another typo in ActivityPub::FetchRemotePollService (#10146)

6 years agoFix typo in ActivityPub::FetchRemotePollService (#10145)
Eugen Rochko [Sun, 3 Mar 2019 23:50:56 +0000 (00:50 +0100)]
Fix typo in ActivityPub::FetchRemotePollService (#10145)

6 years agoFix remote poll expiration time (#10144)
Eugen Rochko [Sun, 3 Mar 2019 23:44:34 +0000 (00:44 +0100)]
Fix remote poll expiration time (#10144)

6 years agoCorrectly make polls and media mutually exclusive (#10141)
ThibG [Sun, 3 Mar 2019 23:40:21 +0000 (00:40 +0100)]
Correctly make polls and media mutually exclusive (#10141)

6 years agoMake sure the poll is created before storing its id (#10142)
ThibG [Sun, 3 Mar 2019 23:39:06 +0000 (00:39 +0100)]
Make sure the poll is created before storing its id (#10142)

* Make sure the poll is created before storing its id

* Fix updating poll results

* Support fetching Question activities from the search bar

6 years agoFix web UI crash on page load when detailed status has a poll (#10139)
Eugen Rochko [Sun, 3 Mar 2019 22:45:02 +0000 (23:45 +0100)]
Fix web UI crash on page load when detailed status has a poll (#10139)

6 years agoInsert polls in redux stores before statuses so it avoids crashes (#10140)
ThibG [Sun, 3 Mar 2019 22:44:52 +0000 (23:44 +0100)]
Insert polls in redux stores before statuses so it avoids crashes (#10140)

6 years agoFix vote validation for polls with multiple choices (#10138)
Eugen Rochko [Sun, 3 Mar 2019 22:41:30 +0000 (23:41 +0100)]
Fix vote validation for polls with multiple choices (#10138)

6 years agoAdd polls (#10111)
Eugen Rochko [Sun, 3 Mar 2019 21:18:23 +0000 (22:18 +0100)]
Add polls (#10111)

* Add polls

Fix #1629

* Add tests

* Fixes

* Change API for creating polls

* Use name instead of content for votes

* Remove poll validation for remote polls

* Add polls to public pages

* When updating the poll, update options just in case they were changed

* Fix public pages showing both poll and other media

6 years agoFix lists export (#10136)
ThibG [Sun, 3 Mar 2019 14:38:47 +0000 (15:38 +0100)]
Fix lists export (#10136)

7 years agoFix home timeline perpetually reloading when empty (#10130)
Eugen Rochko [Fri, 1 Mar 2019 10:11:35 +0000 (11:11 +0100)]
Fix home timeline perpetually reloading when empty (#10130)

Regression from #6876

7 years agoBump sidekiq-unique-jobs from 6.0.11 to 6.0.12 (#10132)
dependabot[bot] [Fri, 1 Mar 2019 06:08:37 +0000 (15:08 +0900)]
Bump sidekiq-unique-jobs from 6.0.11 to 6.0.12 (#10132)

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.11 to 6.0.12.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.11...v6.0.12)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoFix serialization of boosts (#10129)
ThibG [Thu, 28 Feb 2019 20:35:16 +0000 (21:35 +0100)]
Fix serialization of boosts (#10129)

The condition introduced by #9998 was wrong, serializing boosts
that weren't self-boosts, and not serializing self-boosts.

7 years agoGive the `replies` collection an identifier and enable pagination (#10128)
ThibG [Thu, 28 Feb 2019 17:16:34 +0000 (18:16 +0100)]
Give the `replies` collection an identifier and enable pagination (#10128)

7 years agoImproved remote thread fetching (#10106)
ThibG [Thu, 28 Feb 2019 14:22:21 +0000 (15:22 +0100)]
Improved remote thread fetching (#10106)

* Fetch up to 5 replies when discovering a new remote status

This is used for resolving threads downwards. The originating
server must add a “replies” attributes with such replies for it to
be useful.

* Add some tests for ActivityPub::FetchRepliesWorker

* Add specs for ActivityPub::FetchRepliesService

* Serialize up to 5 public self-replies for ActivityPub notes

* Add specs for ActivityPub::NoteSerializer

* Move exponential backoff logic to a worker concern

* Fetch first page of paginated collections when fetching thread replies

* Add specs for paginated collections in replies

* Move Note replies serialization to a first CollectionPage

The collection isn't actually paginable yet as it has no id nor
a `next` field. This may come in another PR.

* Use pluck(:uri) instead of map(&:uri) to improve performances

* Fix fetching replies when they are in a CollectionPage

7 years agoFix direct timeline pagination in the WebUI (#10126)
ThibG [Wed, 27 Feb 2019 18:13:16 +0000 (19:13 +0100)]
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)

7 years agoAllow getting-started to scroll on short screens (#10075)
trwnh [Wed, 27 Feb 2019 14:03:28 +0000 (08:03 -0600)]
Allow getting-started to scroll on short screens (#10075)

At 480px height, there is not enough space to fully display the footer.

7 years agoBump capybara from 3.13.2 to 3.14.0 (#10119)
dependabot[bot] [Wed, 27 Feb 2019 14:02:57 +0000 (15:02 +0100)]
Bump capybara from 3.13.2 to 3.14.0 (#10119)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.13.2 to 3.14.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.13.2...3.14.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump hamlit-rails from 0.2.1 to 0.2.2 (#10124)
dependabot[bot] [Wed, 27 Feb 2019 13:58:08 +0000 (14:58 +0100)]
Bump hamlit-rails from 0.2.1 to 0.2.2 (#10124)

Bumps [hamlit-rails](https://github.com/mfung/hamlit-rails) from 0.2.1 to 0.2.2.
- [Release notes](https://github.com/mfung/hamlit-rails/releases)
- [Commits](https://github.com/mfung/hamlit-rails/compare/v0.2.1...v0.2.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoFix mention processing for unknwon accounts on incoming ActivityPub Notes (#10125)
ThibG [Wed, 27 Feb 2019 13:57:14 +0000 (14:57 +0100)]
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.

7 years agoImprove account media query (#10121)
abcang [Tue, 26 Feb 2019 14:23:24 +0000 (23:23 +0900)]
Improve account media query (#10121)

7 years agoAdd type, limit, offset, min_id, max_id, account_id to search API (#10091)
Eugen Rochko [Tue, 26 Feb 2019 14:21:36 +0000 (15:21 +0100)]
Add type, limit, offset, min_id, max_id, account_id to search API (#10091)

* Add type, limit, offset, min_id, max_id, account_id to search API

Fix #8939

* Make the offset work on accounts and hashtags search as well

* Assure brakeman we are not doing mass assignment here

* Do not allow paginating unless a type is chosen

* Fix search query and index id field on statuses instead of created_at

7 years agoBump hamlit-rails from 0.2.0 to 0.2.1 (#10120)
dependabot[bot] [Tue, 26 Feb 2019 11:16:48 +0000 (20:16 +0900)]
Bump hamlit-rails from 0.2.0 to 0.2.1 (#10120)

Bumps [hamlit-rails](https://github.com/mfung/hamlit-rails) from 0.2.0 to 0.2.1.
- [Release notes](https://github.com/mfung/hamlit-rails/releases)
- [Commits](https://github.com/mfung/hamlit-rails/compare/v0.2.0...v0.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump bootsnap from 1.4.0 to 1.4.1 (#10118)
dependabot[bot] [Tue, 26 Feb 2019 10:46:12 +0000 (19:46 +0900)]
Bump bootsnap from 1.4.0 to 1.4.1 (#10118)

Bumps [bootsnap](https://github.com/Shopify/bootsnap) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/Shopify/bootsnap/releases)
- [Changelog](https://github.com/Shopify/bootsnap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Shopify/bootsnap/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump rubocop from 0.64.0 to 0.65.0 (#10112)
dependabot[bot] [Mon, 25 Feb 2019 14:56:35 +0000 (15:56 +0100)]
Bump rubocop from 0.64.0 to 0.65.0 (#10112)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.64.0 to 0.65.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.64.0...v0.65.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump dotenv-rails from 2.6.0 to 2.7.1 (#10114)
dependabot[bot] [Mon, 25 Feb 2019 14:55:53 +0000 (15:55 +0100)]
Bump dotenv-rails from 2.6.0 to 2.7.1 (#10114)

Bumps [dotenv-rails](https://github.com/bkeepers/dotenv) from 2.6.0 to 2.7.1.
- [Release notes](https://github.com/bkeepers/dotenv/releases)
- [Changelog](https://github.com/bkeepers/dotenv/blob/master/Changelog.md)
- [Commits](https://github.com/bkeepers/dotenv/compare/v2.6.0...v2.7.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump sidekiq-unique-jobs from 6.0.9 to 6.0.11 (#10113)
dependabot[bot] [Mon, 25 Feb 2019 14:55:22 +0000 (15:55 +0100)]
Bump sidekiq-unique-jobs from 6.0.9 to 6.0.11 (#10113)

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.9 to 6.0.11.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v6.0.9...v6.0.11)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoAvoid redundant HTTP request on some error cases (#10115)
ThibG [Mon, 25 Feb 2019 14:54:17 +0000 (15:54 +0100)]
Avoid redundant HTTP request on some error cases (#10115)

7 years agoFix fail health check due to missing wget (#10110)
mohemohe [Mon, 25 Feb 2019 03:06:24 +0000 (12:06 +0900)]
Fix fail health check due to missing wget (#10110)

7 years agoFix web UI not removing notifications after block (#10108)
Eugen Rochko [Mon, 25 Feb 2019 00:10:56 +0000 (01:10 +0100)]
Fix web UI not removing notifications after block (#10108)

Regression from #7311

7 years agoSwitch to Ubuntu for docker (#10100)
Sir-Boops [Sun, 24 Feb 2019 15:32:40 +0000 (08:32 -0700)]
Switch to Ubuntu for docker (#10100)