]> cat aescling's git repositories - mastodon.git/log
mastodon.git
6 years agoImprove config serializer for Keybase (#10338)
Eugen Rochko [Thu, 21 Mar 2019 22:33:28 +0000 (23:33 +0100)]
Improve config serializer for Keybase (#10338)

- Regex must no longer be surrounded by `/`
- Description must be short and cannot contain HTML tags

6 years agoMark the 410 gone response for suspended accounts as cachable (#10339)
ThibG [Thu, 21 Mar 2019 22:33:18 +0000 (23:33 +0100)]
Mark the 410 gone response for suspended accounts as cachable (#10339)

This will help a great deal with #9377 when a caching reverse proxy is
configured.

6 years agoFix processing poll Updates (#10333)
ThibG [Thu, 21 Mar 2019 13:24:09 +0000 (14:24 +0100)]
Fix processing poll Updates (#10333)

ActivityPub::ProcessPollService was checking the JSON-LD context although
it was passed only the `Question` object embedded in the `Update` activity.

6 years agoBump puma from 3.12.0 to 3.12.1 (#10331)
dependabot[bot] [Thu, 21 Mar 2019 10:03:02 +0000 (19:03 +0900)]
Bump puma from 3.12.0 to 3.12.1 (#10331)

Bumps [puma](https://github.com/puma/puma) from 3.12.0 to 3.12.1.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v3.12.0...v3.12.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump oj from 3.7.10 to 3.7.11 (#10332)
dependabot[bot] [Thu, 21 Mar 2019 10:02:48 +0000 (19:02 +0900)]
Bump oj from 3.7.10 to 3.7.11 (#10332)

Bumps [oj](https://github.com/ohler55/oj) from 3.7.10 to 3.7.11.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.7.10...v3.7.11)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump capybara from 3.14.0 to 3.15.0 (#10330)
dependabot[bot] [Thu, 21 Mar 2019 10:02:21 +0000 (19:02 +0900)]
Bump capybara from 3.14.0 to 3.15.0 (#10330)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.14.0 to 3.15.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.14.0...3.15.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agocas_options :validate_url should be :service_validate_url (#10328)
Eric [Thu, 21 Mar 2019 03:06:41 +0000 (22:06 -0500)]
cas_options :validate_url should be :service_validate_url (#10328)

Otherwise, no matter what is given for CAS_VALIDATE_URL the default /serviceValidate path would be used.

6 years agoAdd support for custom emojis in poll options (#10322)
ThibG [Wed, 20 Mar 2019 16:29:12 +0000 (17:29 +0100)]
Add support for custom emojis in poll options (#10322)

* Backend changes for custom emoji support in poll options

* Serialize poll emojis in REST API

* Render custom emojis in poll options

* Render custom emoji in poll options on public pages

6 years agoDo not try fetching keys of unknown accounts on a Delete from them (#10326)
ThibG [Wed, 20 Mar 2019 16:20:16 +0000 (17:20 +0100)]
Do not try fetching keys of unknown accounts on a Delete from them (#10326)

6 years agoReduce padding around logo on landing page (#10291)
ThibG [Tue, 19 Mar 2019 22:47:10 +0000 (23:47 +0100)]
Reduce padding around logo on landing page (#10291)

6 years agoBump aws-sdk-s3 from 1.32.0 to 1.33.0 (#10319)
dependabot[bot] [Tue, 19 Mar 2019 15:34:21 +0000 (16:34 +0100)]
Bump aws-sdk-s3 from 1.32.0 to 1.33.0 (#10319)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.32.0 to 1.33.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/v1.32.0...v1.33.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump rubocop from 0.65.0 to 0.66.0 (#10318)
dependabot[bot] [Tue, 19 Mar 2019 15:34:04 +0000 (16:34 +0100)]
Bump rubocop from 0.65.0 to 0.66.0 (#10318)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.65.0 to 0.66.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.65.0...v0.66.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoDo not distribute Delete when rejecting unapproved accounts (#10321)
ThibG [Tue, 19 Mar 2019 15:33:30 +0000 (16:33 +0100)]
Do not distribute Delete when rejecting unapproved accounts (#10321)

6 years agoDo not show timeline preview or directory widgets if they are disabled (#10284)
ThibG [Tue, 19 Mar 2019 04:48:17 +0000 (05:48 +0100)]
Do not show timeline preview or directory widgets if they are disabled (#10284)

6 years agoAdd missing locales (bn, ga, hi) (#10295)
Eugen Rochko [Mon, 18 Mar 2019 20:55:21 +0000 (21:55 +0100)]
Add missing locales (bn, ga, hi) (#10295)

6 years agoAdd Keybase integration (#10297)
Eugen Rochko [Mon, 18 Mar 2019 20:00:55 +0000 (21:00 +0100)]
Add Keybase integration (#10297)

* create account_identity_proofs table

* add endpoint for keybase to check local proofs

* add async task to update validity and liveness of proofs from keybase

* first pass keybase proof CRUD

* second pass keybase proof creation

* clean up proof list and add badges

* add avatar url to keybase api

* Always highlight the “Identity Proofs” navigation item when interacting with proofs.

* Update translations.

* Add profile URL.

* Reorder proofs.

* Add proofs to bio.

* Update settings/identity_proofs front-end.

* Use `link_to`.

* Only encode query params if they exist.

URLs without params had a trailing `?`.

* Only show live proofs.

* change valid to active in proof list and update liveness before displaying

* minor fixes

* add keybase config at well-known path

* extremely naive feature flagging off the identity proof UI

* fixes for rubocop

* make identity proofs page resilient to potential keybase issues

* normalize i18n

* tweaks for brakeman

* remove two unused translations

* cleanup and add more localizations

* make keybase_contacts an admin setting

* fix ExternalProofService my_domain

* use Addressable::URI in identity proofs

* use active model serializer for keybase proof config

* more cleanup of keybase proof config

* rename proof is_valid and is_live to proof_valid and proof_live

* cleanup

* assorted tweaks for more robust communication with keybase

* Clean up

* Small fixes

* Display verified identity identically to verified links

* Clean up unused CSS

* Add caching for Keybase avatar URLs

* Remove keybase_contacts setting

6 years agoDisable real-time updates on public pages to improve readability (#10260)
Eugen Rochko [Mon, 18 Mar 2019 17:34:56 +0000 (18:34 +0100)]
Disable real-time updates on public pages to improve readability (#10260)

6 years agoBump brakeman from 4.4.0 to 4.5.0 (#10309)
dependabot[bot] [Mon, 18 Mar 2019 13:41:44 +0000 (14:41 +0100)]
Bump brakeman from 4.4.0 to 4.5.0 (#10309)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.4.0 to 4.5.0.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/master/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v4.4.0...v4.5.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump httplog from 1.2.1 to 1.2.2 (#10311)
dependabot[bot] [Mon, 18 Mar 2019 10:32:28 +0000 (19:32 +0900)]
Bump httplog from 1.2.1 to 1.2.2 (#10311)

Bumps [httplog](https://github.com/trusche/httplog) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/trusche/httplog/releases)
- [Changelog](https://github.com/trusche/httplog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trusche/httplog/commits)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump pkg-config from 1.3.6 to 1.3.7 (#10310)
dependabot[bot] [Mon, 18 Mar 2019 10:32:10 +0000 (19:32 +0900)]
Bump pkg-config from 1.3.6 to 1.3.7 (#10310)

Bumps [pkg-config](https://github.com/ruby-gnome2/pkg-config) from 1.3.6 to 1.3.7.
- [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.6...1.3.7)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoAdd dormant filter to relationship manager, rename other filters (#10308)
Eugen Rochko [Mon, 18 Mar 2019 02:53:17 +0000 (03:53 +0100)]
Add dormant filter to relationship manager, rename other filters (#10308)

Rename "abandoned" to "moved", and "active" to "primary"

6 years agoFix relationship manager on narrow screens (#10293)
Eugen Rochko [Sun, 17 Mar 2019 21:36:54 +0000 (22:36 +0100)]
Fix relationship manager on narrow screens (#10293)

At the cost of functionality

6 years agoReduce server load caused by anonymous viewing. (#9059)
Ben Lubar [Sun, 17 Mar 2019 14:39:25 +0000 (09:39 -0500)]
Reduce server load caused by anonymous viewing. (#9059)

Do not start a session if the current user is not logged in for public-facing pages.

Mark pages that don't care about sessions as publicly cacheable.

Keep the max age as 0 so proxies and browsers will still try to retrieve an updated version but can still fall back to the stale version if the site is down or too slow.

Fixes #9035.

6 years agoSet and store report URIs (#10303)
ThibG [Sun, 17 Mar 2019 14:34:56 +0000 (15:34 +0100)]
Set and store report URIs (#10303)

Fixes #10271

6 years agoFix reblogs privacy (#10302)
ThibG [Sun, 17 Mar 2019 13:54:09 +0000 (14:54 +0100)]
Fix reblogs privacy (#10302)

* Fix reblogs privacy

* Fix Announce processing specs

6 years agoI18n: Fix Czech pluralization (#10301)
Aditoo17 [Sun, 17 Mar 2019 07:39:30 +0000 (08:39 +0100)]
I18n: Fix Czech pluralization (#10301)

6 years agoSave quick filter settings when selecting a different filter (#10296)
ThibG [Sun, 17 Mar 2019 02:13:29 +0000 (03:13 +0100)]
Save quick filter settings when selecting a different filter (#10296)

The active filter is stored in the web app's settings, but no save
is explicitly triggered, meaning that it is only saved when a different
setting is changed.

6 years agoFix returned translations. (#10298)
mayaeh [Sun, 17 Mar 2019 02:12:47 +0000 (11:12 +0900)]
Fix returned translations. (#10298)

Add Japanese translations for the admission-based registrations.

6 years agoWeblate translations (2019-03-16) (#10294)
Eugen Rochko [Sat, 16 Mar 2019 19:43:14 +0000 (20:43 +0100)]
Weblate translations (2019-03-16) (#10294)

* Translated using Weblate (Japanese)

Currently translated at 96.5% (357 of 370 strings)

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

* 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 (Czech)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 95.9% (743 of 775 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 99.7% (773 of 775 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (370 of 370 strings)

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

* 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 99.9% (774 of 775 strings)

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

* Translated using Weblate (Corsican)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 83.2% (645 of 775 strings)

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

* 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 (Slovak)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Catalan)

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

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

* Translated using Weblate (Catalan)

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

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

* Translated using Weblate (Catalan)

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

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Catalan)

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

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (370 of 370 strings)

Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/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 (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 (Occitan)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 97.3% (754 of 775 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (63 of 63 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.7% (773 of 775 strings)

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

* 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 (Japanese)

Currently translated at 96.9% (751 of 775 strings)

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

* Translated using Weblate (French)

Currently translated at 99.9% (774 of 775 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.9% (774 of 775 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 77.9% (604 of 775 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 79.7% (295 of 370 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (370 of 370 strings)

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

* 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 (Polish)

Currently translated at 100.0% (111 of 111 strings)

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

* Translated using Weblate (Dutch)

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

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

* Translated using Weblate (Portuguese)

Currently translated at 82,3% (638 of 775 strings)

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

* Translated using Weblate (Dutch)

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

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 97.3% (754 of 775 strings)

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

* Translated using Weblate (Danish)

Currently translated at 83.7% (649 of 775 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 82.3% (638 of 775 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 83.9% (650 of 775 strings)

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

* Translated using Weblate (Thai)

Currently translated at 20.3% (157 of 775 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (111 of 111 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 50.5% (56 of 111 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (775 of 775 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 84.8% (657 of 775 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 52.3% (58 of 111 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 92.3% (715 of 775 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 67.7% (525 of 775 strings)

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

* 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 (Italian)

Currently translated at 92.8% (719 of 775 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.9% (774 of 775 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 99.7% (773 of 775 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Esperanto)

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

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

* 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 (Portuguese)

Currently translated at 95,1% (737 of 775 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100,0% (370 of 370 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 (Esperanto)

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

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (111 of 111 strings)

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

* 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 (Esperanto)

Currently translated at 99.9% (774 of 775 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 99.7% (773 of 775 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (370 of 370 strings)

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

* 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 (Greek)

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

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

* Translated using Weblate (Japanese)

Currently translated at 97,9% (759 of 775 strings)

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

* Translated using Weblate (Albanian)

Currently translated at 99,7% (369 of 370 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 99,7% (369 of 370 strings)

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

* Translated using Weblate (Catalan)

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

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

* Translated using Weblate (Armenian)

Currently translated at 64,6% (239 of 370 strings)

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

* Translated using Weblate (Asturian)

Currently translated at 65,7% (243 of 370 strings)

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

* Translated using Weblate (Basque)

Currently translated at 99,7% (369 of 370 strings)

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

* Translated using Weblate (Bulgarian)

Currently translated at 25,1% (93 of 370 strings)

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

* Translated using Weblate (Corsican)

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

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

* Translated using Weblate (Chinese (Hong Kong))

Currently translated at 77,3% (286 of 370 strings)

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

* Translated using Weblate (Chinese (Simplified))

Currently translated at 77,3% (286 of 370 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 88,1% (326 of 370 strings)

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

* Translated using Weblate (Esperanto)

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

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

* Translated using Weblate (Dutch)

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

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

* Translated using Weblate (Croatian)

Currently translated at 44,1% (163 of 370 strings)

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

* Translated using Weblate (Danish)

Currently translated at 90,8% (336 of 370 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 89,2% (330 of 370 strings)

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

* Translated using Weblate (French)

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

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

* Translated using Weblate (Galician)

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

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

* Translated using Weblate (Georgian)

Currently translated at 80,5% (298 of 370 strings)

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

* Translated using Weblate (German)

Currently translated at 99,7% (369 of 370 strings)

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

* Translated using Weblate (Italian)

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

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

* Translated using Weblate (Hebrew)

Currently translated at 62,2% (230 of 370 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 64,1% (237 of 370 strings)

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

* Translated using Weblate (Ido)

Currently translated at 38,4% (142 of 370 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 56,5% (209 of 370 strings)

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

* Translated using Weblate (Korean)

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

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

* Translated using Weblate (Kazakh)

Currently translated at 99,7% (369 of 370 strings)

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

* Translated using Weblate (Latvian)

Currently translated at 49,7% (184 of 370 strings)

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

* Translated using Weblate (Malay)

Currently translated at 17,8% (66 of 370 strings)

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

* Translated using Weblate (Occitan)

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

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

* Translated using Weblate (Portuguese)

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

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

* Translated using Weblate (Norwegian (old code))

Currently translated at 66,2% (245 of 370 strings)

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

* Translated using Weblate (Persian)

Currently translated at 99,7% (369 of 370 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 97,8% (362 of 370 strings)

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

* Translated using Weblate (Romanian)

Currently translated at 98,1% (363 of 370 strings)

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

* Translated using Weblate (Russian)

Currently translated at 84,9% (314 of 370 strings)

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

* Translated using Weblate (Serbian (latin))

Currently translated at 65,4% (242 of 370 strings)

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

* Translated using Weblate (Serbian)

Currently translated at 88,1% (326 of 370 strings)

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

* Translated using Weblate (Slovenian)

Currently translated at 46,5% (172 of 370 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 86,5% (320 of 370 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 79,2% (293 of 370 strings)

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

* Translated using Weblate (Tamil)

Currently translated at 17,8% (66 of 370 strings)

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

* Translated using Weblate (Telugu)

Currently translated at 99,2% (367 of 370 strings)

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

* Translated using Weblate (Welsh)

Currently translated at 97,0% (359 of 370 strings)

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

* Translated using Weblate (Thai)

Currently translated at 16,2% (60 of 370 strings)

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

* Translated using Weblate (Turkish)

Currently translated at 65,1% (241 of 370 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 73,5% (272 of 370 strings)

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

* Translated using Weblate (Greek)

Currently translated at 100.0% (370 of 370 strings)

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

* 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 (Esperanto)

Currently translated at 99.9% (774 of 775 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 99.1% (768 of 775 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 99.7% (773 of 775 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 99.7% (369 of 370 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 96.5% (357 of 370 strings)

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

* Translated using Weblate (Kazakh)

Currently translated at 99.7% (369 of 370 strings)

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

* 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 (Slovak)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (111 of 111 strings)

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

* 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 (Portuguese)

Currently translated at 99.9% (774 of 775 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Kazakh)

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

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

* Translated using Weblate (Kazakh)

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

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

* Added translation using Weblate (Kazakh)

* Translated using Weblate (Persian)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Persian)

Currently translated at 99.7% (773 of 775 strings)

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

* Translated using Weblate (Persian)

Currently translated at 100.0% (370 of 370 strings)

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

* Translated using Weblate (Catalan)

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

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

* 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 (Welsh)

Currently translated at 93,9% (728 of 775 strings)

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

* Translated using Weblate (Czech)

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

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

* 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/

* yarn manage:translations && i18n-tasks normalize

* yarn manage:translations

* Remove unused translations

* Fix missing plural keys

* Fix inconsistent interpolations

6 years agoAvoid race condition when streaming deleted statuses (#10280)
ThibG [Sat, 16 Mar 2019 19:18:47 +0000 (20:18 +0100)]
Avoid race condition when streaming deleted statuses (#10280)

* Avoid race condition when streaming deleted statuses

* Move redis lock to DistributionWorker to avoid extra Redis value

6 years agofix: update to emoji-mart 2.10.0 (#10281)
Nolan Lawson [Sat, 16 Mar 2019 19:13:15 +0000 (12:13 -0700)]
fix: update to emoji-mart 2.10.0 (#10281)

* fix: update to emoji-mart 2.10.0

* remove useless change

* fix CSS style of emoji picker, improve a11y

* fix missing newline in scss

* fix the title and input fonts

6 years agoFix scrollbar styles on compose textarea, small bugs (#10292)
Eugen Rochko [Sat, 16 Mar 2019 19:10:42 +0000 (20:10 +0100)]
Fix scrollbar styles on compose textarea, small bugs (#10292)

6 years agoDo not use @babel/preset-env to compile node_modules (#10289)
Yamagishi Kazutoshi [Sat, 16 Mar 2019 10:24:26 +0000 (19:24 +0900)]
Do not use @babel/preset-env to compile node_modules (#10289)

6 years agoperf: remove stats.json generation in webpack (#10290)
Nolan Lawson [Sat, 16 Mar 2019 10:23:54 +0000 (03:23 -0700)]
perf: remove stats.json generation in webpack (#10290)

* perf: remove stats.json generation in webpack

* fix code comment

6 years agoAdd relationship manager UI (#10268)
Eugen Rochko [Sat, 16 Mar 2019 10:23:22 +0000 (11:23 +0100)]
Add relationship manager UI (#10268)

6 years agoperf: remove zopfli to speed up webpack (#10288)
Nolan Lawson [Sat, 16 Mar 2019 03:02:30 +0000 (20:02 -0700)]
perf: remove zopfli to speed up webpack (#10288)

6 years agoAdd specs for action log helper (#9605)
ysksn [Fri, 15 Mar 2019 15:57:23 +0000 (00:57 +0900)]
Add specs for action log helper (#9605)

* Add specs for ActionLogHelper

* Make some methods private

methods below never referenced from outside of their module:

- #linkable_log_target
- #log_target_from_history

6 years agoBump webpacker from 3.5.5 to 4.0.2 (#10277)
Yamagishi Kazutoshi [Fri, 15 Mar 2019 14:05:31 +0000 (23:05 +0900)]
Bump webpacker from 3.5.5 to 4.0.2 (#10277)

Bumps [webpacker](https://github.com/rails/webpacker) from 3.5.5 to 4.0.2.
- [Release notes](https://github.com/rails/webpacker/releases)
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rails/webpacker/compare/v3.5.5...v4.0.2)

Signed-off-by: dependabot[bot] <support@dependabot.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
6 years agoBump aws-sdk-s3 from 1.31.0 to 1.32.0 (#10279)
dependabot[bot] [Fri, 15 Mar 2019 13:53:34 +0000 (14:53 +0100)]
Bump aws-sdk-s3 from 1.31.0 to 1.32.0 (#10279)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.31.0 to 1.32.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.31.0...v1.32.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoBump oj from 3.7.9 to 3.7.10 (#10278)
dependabot[bot] [Fri, 15 Mar 2019 13:53:24 +0000 (14:53 +0100)]
Bump oj from 3.7.9 to 3.7.10 (#10278)

Bumps [oj](https://github.com/ohler55/oj) from 3.7.9 to 3.7.10.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.7.9...v3.7.10)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoFix detailed poll validation errors not being returned in the API (#10261)
Eugen Rochko [Fri, 15 Mar 2019 12:36:38 +0000 (13:36 +0100)]
Fix detailed poll validation errors not being returned in the API (#10261)

No more "Owned poll is invalid"

6 years agoShow disappointed elephant if web UI crashes (#10275)
Eugen Rochko [Fri, 15 Mar 2019 04:35:45 +0000 (05:35 +0100)]
Show disappointed elephant if web UI crashes (#10275)

* Do not crash the whole UI when loading an invalid column

* Add error boundary component to catch Web UI crashes

* Add stack trace on supported browsers

* Add component stack info, pre-format everything for github

* Make “Reload” a clickable link that calls window.location.reload()

* Remove elephant friend from error boundary, make title stand out more

* Simplify error boundary to only a graphic

6 years agoFix maxed-out invites not showing up as expired in UI (#10274)
Eugen Rochko [Fri, 15 Mar 2019 04:35:17 +0000 (05:35 +0100)]
Fix maxed-out invites not showing up as expired in UI (#10274)

6 years agoFix language detection of non-latin alphabets even at few characters (#10276)
Eugen Rochko [Fri, 15 Mar 2019 04:07:09 +0000 (05:07 +0100)]
Fix language detection of non-latin alphabets even at few characters (#10276)

6 years agoAdd `visibility` param to reblog REST API (#9851)
Eugen Rochko [Fri, 15 Mar 2019 03:36:41 +0000 (04:36 +0100)]
Add `visibility` param to reblog REST API (#9851)

Use async worker for creating reblog notification to improve performance

6 years agoUpgrade yargs to v12.0 (#9862)
Yamagishi Kazutoshi [Fri, 15 Mar 2019 02:53:38 +0000 (11:53 +0900)]
Upgrade yargs to v12.0 (#9862)

6 years agoAdd a preferences API so apps can share basic behaviours (#10109)
Eugen Rochko [Fri, 15 Mar 2019 01:39:20 +0000 (02:39 +0100)]
Add a preferences API so apps can share basic behaviours (#10109)

6 years agoI18n: Update Czech translation (#10272)
Aditoo17 [Thu, 14 Mar 2019 19:59:26 +0000 (20:59 +0100)]
I18n: Update Czech translation (#10272)

6 years agoMigrate existing `open_registrations` setting to the new `registrations_mode` (#10269)
ThibG [Thu, 14 Mar 2019 19:10:43 +0000 (20:10 +0100)]
Migrate existing `open_registrations` setting to the new `registrations_mode` (#10269)

* Migrate existing `open_registrations` setting to the new `registrations_mode`

Fixes #10263

* Remove unrelated db changes that have creeped in

6 years agoFix error in AdminMailer#new_pending_account (#10264)
Eugen Rochko [Thu, 14 Mar 2019 13:20:22 +0000 (14:20 +0100)]
Fix error in AdminMailer#new_pending_account (#10264)

6 years agoFix wrong method used in PollExpirationNotifyWorker (#10265)
Eugen Rochko [Thu, 14 Mar 2019 13:04:07 +0000 (14:04 +0100)]
Fix wrong method used in PollExpirationNotifyWorker (#10265)

6 years agoAdmission-based registrations mode (#10250)
Eugen Rochko [Thu, 14 Mar 2019 04:28:30 +0000 (05:28 +0100)]
Admission-based registrations mode (#10250)

Fix #6856
Fix #6951

6 years agoImprove invites list with click-to-copy inputs (#10259)
Eugen Rochko [Thu, 14 Mar 2019 04:25:49 +0000 (05:25 +0100)]
Improve invites list with click-to-copy inputs (#10259)

6 years agoRefactor User model, extract PamAuthenticable, LdapAuthenticable (#10217)
Eugen Rochko [Thu, 14 Mar 2019 01:13:42 +0000 (02:13 +0100)]
Refactor User model, extract PamAuthenticable, LdapAuthenticable (#10217)

6 years ago[Security] Bump rails from 5.2.2 to 5.2.2.1 (#10257)
dependabot[bot] [Wed, 13 Mar 2019 23:25:53 +0000 (00:25 +0100)]
[Security] Bump rails from 5.2.2 to 5.2.2.1 (#10257)

Bumps [rails](https://github.com/rails/rails) from 5.2.2 to 5.2.2.1. **This update includes security fixes.**
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v5.2.2...v5.2.2.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
6 years agoAdd UI for enabling/disabling poll notifications (#10255)
ThibG [Wed, 13 Mar 2019 18:29:54 +0000 (19:29 +0100)]
Add UI for enabling/disabling poll notifications (#10255)

* Add UI for enabling/disabling poll notifications

* Add poll notifications to the (advanced) quick filter bar

* Update poll notification message

“Your poll has ended” → “A poll you have voted in has ended”

* Clear up associated notifications when a poll is deleted

6 years agoi18n: Add Japanese translations for new landing page (#10254)
mayaeh [Wed, 13 Mar 2019 13:56:40 +0000 (22:56 +0900)]
i18n: Add Japanese translations for new landing page (#10254)

* yarn manage:translations && i18n-tasks add-missing

* Update Japanese translations for new landing page.

I don't change the tagline from English yet.
I think that translating a tagline is difficult and requires time-consuming discussions.

Some translations related about the poll are already done in Weblate, so I will leave it as it is.

6 years agoFix `tagged` param not being normalized before querying tags (#10249)
Eugen Rochko [Wed, 13 Mar 2019 12:02:13 +0000 (13:02 +0100)]
Fix `tagged` param not being normalized before querying tags (#10249)

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)