]> cat aescling's git repositories - mastodon.git/log
mastodon.git
7 years agoImplement tag auto-completion by history (#6621)
Akihiko Odaki [Sun, 4 Mar 2018 19:27:25 +0000 (04:27 +0900)]
Implement tag auto-completion by history (#6621)

This is a functionality similar to one implemented in Pawoo:
https://github.com/pixiv/mastodon/commit/21a3c70f8083b1347d2b8420ed7001b78c2c9620

7 years agoDo not fetch environment variables to determine default locale (#6618)
Akihiko Odaki [Sun, 4 Mar 2018 09:00:46 +0000 (18:00 +0900)]
Do not fetch environment variables to determine default locale (#6618)

The default locale is now set by config.

7 years agoFix #6611: Typo in change password template (#6616)
Eugen Rochko [Sun, 4 Mar 2018 09:00:24 +0000 (10:00 +0100)]
Fix #6611: Typo in change password template (#6616)

7 years agoSet the default locale in config (#6580)
Akihiko Odaki [Sun, 4 Mar 2018 08:21:35 +0000 (17:21 +0900)]
Set the default locale in config (#6580)

Previously the default locale was set by Localized concern for controllers,
but it was not enforced for mailers.

config is enforced throughout the application and an appropriate place to
set the default locale.

7 years agoFederate pinned statuses over ActivityPub (#6610)
Eugen Rochko [Sun, 4 Mar 2018 08:19:11 +0000 (09:19 +0100)]
Federate pinned statuses over ActivityPub (#6610)

* Federate pinned statuses over ActivityPub

* Display pinned toots in web UI

Fix #6117

* Fix migration

* Fix tests

* Update outbox_serializer.rb

* Update remove_serializer.rb

* Update add_serializer.rb

* Update fetch_featured_collection_service.rb

7 years agoFinalize location on scrollable notifications when unmounting (#6614)
Akihiko Odaki [Sun, 4 Mar 2018 07:55:15 +0000 (16:55 +0900)]
Finalize location on scrollable notifications when unmounting (#6614)

The top of the scrollable notifications will be invisible after unmounting.
The Redux state should be updated accordingly in such a case so that the
unread notification counter will be updated later.

7 years agoFix missing focalPoint in ActivityPub JSON (#6609)
Eugen Rochko [Sun, 4 Mar 2018 06:21:41 +0000 (07:21 +0100)]
Fix missing focalPoint in ActivityPub JSON (#6609)

7 years agoFix 500 while searching after deleting a post (#6604)
Aboobacker MK [Sat, 3 Mar 2018 18:45:06 +0000 (00:15 +0530)]
Fix 500 while searching after deleting a post (#6604)

Fixes #6602

7 years agoTranslate Korean (#6608)
Jeong Arm [Sat, 3 Mar 2018 16:53:55 +0000 (01:53 +0900)]
Translate Korean (#6608)

7 years agoChange "or" translatable (#6597)
Yamagishi Kazutoshi [Fri, 2 Mar 2018 18:03:21 +0000 (03:03 +0900)]
Change "or" translatable (#6597)

7 years agofix logic for pam_controlled_service (#6599)
Alexander [Fri, 2 Mar 2018 18:02:50 +0000 (19:02 +0100)]
fix logic for pam_controlled_service (#6599)

7 years agoAdd LDAP options to .env.production.sample (#6592)
Eugen Rochko [Fri, 2 Mar 2018 07:14:34 +0000 (08:14 +0100)]
Add LDAP options to .env.production.sample (#6592)

7 years agoMove "compose" on mobile to floating action button (#6594)
Eugen Rochko [Fri, 2 Mar 2018 06:12:40 +0000 (07:12 +0100)]
Move "compose" on mobile to floating action button (#6594)

* Move "compose" on mobile to floating action button

* Fix contrast on floating action button

7 years agoResponsively enforce 16:9 ratio on all media thumbnails in web UI (#6590)
Eugen Rochko [Fri, 2 Mar 2018 06:00:04 +0000 (07:00 +0100)]
Responsively enforce 16:9 ratio on all media thumbnails in web UI (#6590)

* Responsively enforce 16:9 ratio on all media thumbnails in web UI

Also change video player behaviour to "contain" rather than
"cover" videos that don't fit the ratio, unlike images and GIFs,
it's expected that a video is shown fully.

* Fix spacing issues and remove floor

* Remove floor

7 years agoWhen search enabled, display hint in search popout (#6593)
Eugen Rochko [Fri, 2 Mar 2018 05:02:42 +0000 (06:02 +0100)]
When search enabled, display hint in search popout (#6593)

* When advanced search is enabled, show different hint in search popout

* Change "getting started" icon in tabs bar from asterisk to hamburger

7 years agoWeblate translations (2018-03-02) (#6588)
Yamagishi Kazutoshi [Fri, 2 Mar 2018 03:36:16 +0000 (12:36 +0900)]
Weblate translations (2018-03-02) (#6588)

* Translated using Weblate (Galician)

Currently translated at 100.0% (57 of 57 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (57 of 57 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (57 of 57 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (57 of 57 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (57 of 57 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (56 of 56 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (559 of 559 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 98.2% (55 of 56 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 61.1% (342 of 559 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 96.4% (54 of 56 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.8% (558 of 559 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 99.8% (558 of 559 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 98.2% (55 of 56 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 79.0% (49 of 62 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 52.9% (296 of 559 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 61.1% (342 of 559 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (57 of 57 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.2% (561 of 565 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 60.5% (342 of 565 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.1% (560 of 565 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 62.4% (353 of 565 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.2% (561 of 565 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 99.1% (560 of 565 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 99.6% (263 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 62.6% (354 of 565 strings)

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

* Translated using Weblate (French)

Currently translated at 99.1% (560 of 565 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 93.1% (54 of 58 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.2% (561 of 565 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.8% (564 of 565 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 72.5% (45 of 62 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 99.6% (263 of 264 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 99.8% (564 of 565 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 62.8% (355 of 565 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 99.6% (263 of 264 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 96.0% (72 of 75 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 93.5% (58 of 62 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 98.2% (57 of 58 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 99.8% (564 of 565 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (German)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 63.7% (360 of 565 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 64.9% (367 of 565 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (2 of 2 strings)

Translation: Mastodon/Activerecord
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/activerecord/ar/

* Translated using Weblate (Arabic)

Currently translated at 98.6% (74 of 75 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 99.8% (564 of 565 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 69.5% (393 of 565 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.2% (561 of 565 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 88.7% (55 of 62 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 92.0% (69 of 75 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 70.6% (399 of 565 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 74.1% (419 of 565 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 67.6% (382 of 565 strings)

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

* Translated using Weblate (French)

Currently translated at 99.4% (562 of 565 strings)

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

* Translated using Weblate (Portuguese)

Currently translated at 95.3% (539 of 565 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 75.3% (426 of 565 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Croatian)

Currently translated at 58.0% (36 of 62 strings)

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

* Translated using Weblate (Hungarian)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 58.6% (34 of 58 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 96.8% (547 of 565 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 76.2% (431 of 565 strings)

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

* Translated using Weblate (French)

Currently translated at 99.6% (263 of 264 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 93.5% (58 of 62 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 77.8% (440 of 565 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (565 of 565 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (264 of 264 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (62 of 62 strings)

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

7 years agoFix #6586: Add close modal icon to report dialog (#6591)
Eugen Rochko [Fri, 2 Mar 2018 03:36:00 +0000 (04:36 +0100)]
Fix #6586: Add close modal icon to report dialog (#6591)

7 years agoImprove style of web UI account tabs (#6589)
Eugen Rochko [Fri, 2 Mar 2018 03:35:49 +0000 (04:35 +0100)]
Improve style of web UI account tabs (#6589)

7 years agoUpdate omniauth-saml to 1.10 (#6587)
Patrick Figel [Fri, 2 Mar 2018 01:32:08 +0000 (02:32 +0100)]
Update omniauth-saml to 1.10 (#6587)

Fixes CVE-2017-11428

7 years agoi18n: Update Japanese translations (#6581)
mayaeh [Thu, 1 Mar 2018 22:48:17 +0000 (07:48 +0900)]
i18n: Update Japanese translations (#6581)

* yarn manage:translations

* Update Japanese translations.

7 years agoFixes #6584 (#6585)
Thomas Leister [Thu, 1 Mar 2018 22:30:06 +0000 (23:30 +0100)]
Fixes #6584 (#6585)

7 years agoBump version to 2.3.0rc1
Eugen Rochko [Thu, 1 Mar 2018 19:50:23 +0000 (20:50 +0100)]
Bump version to 2.3.0rc1

7 years agoAdd contact_account and languages to instance API (#6574)
Eugen Rochko [Thu, 1 Mar 2018 19:48:11 +0000 (20:48 +0100)]
Add contact_account and languages to instance API (#6574)

7 years agoi18n: Update Polish translation (#6578)
Marcin Mikołajczak [Thu, 1 Mar 2018 09:26:51 +0000 (10:26 +0100)]
i18n: Update Polish translation (#6578)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoAdd only_media param to public and hashtag timelines API (#6576)
Eugen Rochko [Thu, 1 Mar 2018 02:21:21 +0000 (03:21 +0100)]
Add only_media param to public and hashtag timelines API (#6576)

7 years agoAdd "Toots/Toots with replies/Media" tab below profile header (#6572)
Eugen Rochko [Thu, 1 Mar 2018 01:48:44 +0000 (02:48 +0100)]
Add "Toots/Toots with replies/Media" tab below profile header (#6572)

* Add "Toots/Toots with replies/Media" tab below profile header

* Add focal point display to account gallery timeline

* Fix visual glitch of standalone GIFV

7 years agoFix margin on top action button, fix width of counters on frontpage (#6573)
Eugen Rochko [Thu, 1 Mar 2018 01:48:08 +0000 (02:48 +0100)]
Fix margin on top action button, fix width of counters on frontpage (#6573)

7 years agoEnsure that boolean params in the API are parsed for truthiness (#6575)
Eugen Rochko [Thu, 1 Mar 2018 01:47:59 +0000 (02:47 +0100)]
Ensure that boolean params in the API are parsed for truthiness (#6575)

Use Rails smart boolean cast to account for values such as "f",
"0", "false", etc. Previously, if a param was present in the request,
it would count as true.

8 years agoFix #942: Seamless LDAP login (#6556)
Eugen Rochko [Wed, 28 Feb 2018 18:04:53 +0000 (19:04 +0100)]
Fix #942: Seamless LDAP login (#6556)

8 years agoFix #5708: Reject->Follow will remove the follow if it exists (#6571)
Eugen Rochko [Wed, 28 Feb 2018 05:55:06 +0000 (06:55 +0100)]
Fix #5708: Reject->Follow will remove the follow if it exists (#6571)

8 years agoFederated reports (#6570)
Eugen Rochko [Wed, 28 Feb 2018 05:54:55 +0000 (06:54 +0100)]
Federated reports (#6570)

* Fix #2176: Federated reports

* UI for federated reports

* Add spec for ActivityPub Flag handler

* Add spec for ReportService

8 years agoremove Uglifier call from production.rb (#6568)
beatrix [Tue, 27 Feb 2018 04:48:11 +0000 (23:48 -0500)]
remove Uglifier call from production.rb (#6568)

8 years agoSpecify AGPLv3+ (#6546)
TrashMacNugget [Tue, 27 Feb 2018 00:52:27 +0000 (16:52 -0800)]
Specify AGPLv3+ (#6546)

* Specify AGPLv3+

Since the documentation doesn't specify you can use Mastodon as AGPLv3 or any later version.

* Use newest version of SPDX AGPLv3+ identifier

8 years agoSome images can cause `convert` to fail, which crashes this whole task (#6565)
Paul Woolcock [Mon, 26 Feb 2018 21:01:49 +0000 (16:01 -0500)]
Some images can cause `convert` to fail, which crashes this whole task (#6565)

* Some images can cause `convert` to fail, which crashes this whole task

* Add more specific exception

8 years agoGrid layout for tag pages (#6545)
Lynx Kotoura [Mon, 26 Feb 2018 16:43:45 +0000 (01:43 +0900)]
Grid layout for tag pages (#6545)

* Use grid layout for the landing page

* Use grid layout for tag pages

* Set 2 columns width as explicit percentage for tag pages

8 years agoAdd Liberapay link to README.md (#6563)
Marcin Mikołajczak [Mon, 26 Feb 2018 15:20:47 +0000 (16:20 +0100)]
Add Liberapay link to README.md (#6563)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoremove-uglifier (#6561)
masarakki [Mon, 26 Feb 2018 15:19:48 +0000 (00:19 +0900)]
remove-uglifier (#6561)

8 years agoBetter grid layout for the landing page (#6543)
Lynx Kotoura [Mon, 26 Feb 2018 15:19:07 +0000 (00:19 +0900)]
Better grid layout for the landing page (#6543)

* Use grid layout for the landing page

* Fix column settings

Set the ratio explicitly

* Improve information board

8 years agoImprove public account cards (#6559)
Eugen Rochko [Mon, 26 Feb 2018 15:18:41 +0000 (16:18 +0100)]
Improve public account cards (#6559)

- Add follow/unfollow/remote follow buttons
- Format the bio properly
- Always show username@domain, even for local accounts

8 years agoFix prev/next links on public profile page (#6497)
Ian McCowan [Mon, 26 Feb 2018 02:31:28 +0000 (18:31 -0800)]
Fix prev/next links on public profile page (#6497)

* Fix prev/next links on public profile page

* Don't make pagination urls if no available statuses

* Fix empty check method

* Put left chevron before prev page link

* Add scope for pagination "starting at" a given id

* Status pagination try 2:

s/prev/older and s/next/newer
"older" on left, "newer" on right
Use new scope for "newer" link
Extract magic 20 page size to constant
Remove max_id from feed pagination as it's not respected

* Reinstate max_id for accounts atom stream

* normalize

8 years agoEnsure the app does not even start if OTP_SECRET is not set (#6557)
Eugen Rochko [Mon, 26 Feb 2018 00:31:44 +0000 (01:31 +0100)]
Ensure the app does not even start if OTP_SECRET is not set (#6557)

* Ensure the app does not even start if OTP_SECRET is not set

* Remove PAPERCLIP_SECRET (it's not used by anything, actually)

Imports are for internal consumption and the url option isn't even
used correctly, so we can remove the hash stuff from them

8 years agoFix #6536 (#6558)
Eugen Rochko [Sun, 25 Feb 2018 23:24:55 +0000 (00:24 +0100)]
Fix #6536 (#6558)

8 years agoRaise Mastodon::HostValidationError when host for HTTP request is private (#6410)
Akihiko Odaki [Sat, 24 Feb 2018 18:16:11 +0000 (03:16 +0900)]
Raise Mastodon::HostValidationError when host for HTTP request is private (#6410)

8 years agoDo not use function name to track components (#6542)
Akihiko Odaki [Sat, 24 Feb 2018 18:10:57 +0000 (03:10 +0900)]
Do not use function name to track components (#6542)

UglifyJS2 is allowed to mangle function names, and function names can also
be duplicate if they are from different scopes. Therefore function names
are not reliable as identifiers.

Functions as keys for Map object is a cheaper and more reliable
alternative.

8 years agoi18n: Update Japanese translations (#6550)
mayaeh [Sat, 24 Feb 2018 16:27:03 +0000 (01:27 +0900)]
i18n: Update Japanese translations (#6550)

* Update Japanese translations.

* Add quotation marks.

8 years agoDo not push status to feed if its reblog is already inserted (#6488)
Akihiko Odaki [Sat, 24 Feb 2018 04:40:18 +0000 (13:40 +0900)]
Do not push status to feed if its reblog is already inserted (#6488)

A complemental change for precompute_feed_service_spec.rb also fixes its
random failure which is caused by the Snowlake randomization of the order
of an original status and its reblog.

8 years agoNew variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML strategies) (#6540)
Ghislain Loaec [Fri, 23 Feb 2018 00:16:17 +0000 (01:16 +0100)]
New variable OAUTH_REDIRECT_AT_SIGN_IN + Ref #6538 (not only SAML strategies) (#6540)

8 years agoUpdate pam documentation (#6518)
Alexander [Thu, 22 Feb 2018 22:41:21 +0000 (23:41 +0100)]
Update pam documentation (#6518)

* document pam email extraction

* remove superfluous newline

8 years agoi18n: Update Polish translation (#6539)
Marcin Mikołajczak [Thu, 22 Feb 2018 22:31:41 +0000 (23:31 +0100)]
i18n: Update Polish translation (#6539)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoNew env variable: SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED + fixes #6533 (#6538)
Ghislain Loaec [Thu, 22 Feb 2018 22:31:25 +0000 (23:31 +0100)]
New env variable: SAML_SECURITY_ASSUME_EMAIL_IS_VERIFIED + fixes #6533 (#6538)

8 years agoFix nil error in focal_point? (#6537)
Eugen Rochko [Thu, 22 Feb 2018 16:42:33 +0000 (17:42 +0100)]
Fix nil error in focal_point? (#6537)

8 years agoFix container regression (#6531)
Eugen Rochko [Thu, 22 Feb 2018 02:04:27 +0000 (03:04 +0100)]
Fix container regression (#6531)

* Update public.html.haml

* Update auth.html.haml

* Update modal.html.haml

8 years agofix typo in image serializer (#6530)
beatrix [Thu, 22 Feb 2018 01:47:17 +0000 (20:47 -0500)]
fix typo in image serializer (#6530)

respond to!

8 years agoRedesign landing page (again) (#6486)
Eugen Rochko [Thu, 22 Feb 2018 00:03:48 +0000 (01:03 +0100)]
Redesign landing page (again) (#6486)

* Redesign landing page (again)

* Move login form in small version to the right column

* Display closed registrations message

* Add site setting for the hero image

* Fix test

* Increase spacing, maximum width, change call to action section

8 years agoFix #6526: Only store redirect location if not in JSON format (#6528)
Eugen Rochko [Wed, 21 Feb 2018 23:51:30 +0000 (00:51 +0100)]
Fix #6526: Only store redirect location if not in JSON format (#6528)

8 years agoFocal points (#6520)
Eugen Rochko [Wed, 21 Feb 2018 23:35:46 +0000 (00:35 +0100)]
Focal points (#6520)

* Add focus param to media API, center thumbnails on focus point

* Add UI for setting a focal point

* Improve focal point icon on upload item

* Use focal point in upload preview

* Add focalPoint property to ActivityPub

* Don't show focal point button for non-image attachments

8 years agoFix #6525: Make sure file is opened in LazyThumbnail processor (#6529)
Eugen Rochko [Wed, 21 Feb 2018 23:28:19 +0000 (00:28 +0100)]
Fix #6525: Make sure file is opened in LazyThumbnail processor (#6529)

8 years agoFix bug in relationships API introduced by #6482 (#6527)
Eugen Rochko [Wed, 21 Feb 2018 22:22:12 +0000 (23:22 +0100)]
Fix bug in relationships API introduced by #6482 (#6527)

It was merge when it needed to be deep_merge. And added some tests

8 years agoAccount archive download (#6460)
Eugen Rochko [Wed, 21 Feb 2018 22:21:32 +0000 (23:21 +0100)]
Account archive download (#6460)

* Fix #201: Account archive download

* Export actor and private key in the archive

* Optimize BackupService

- Add conversation to cached associations of status, because
  somehow it was forgotten and is source of N+1 queries
- Explicitly call GC between batches of records being fetched
  (Model class allocations are the worst offender)
- Stream media files into the tar in 1MB chunks
  (Do not allocate media file (up to 8MB) as string into memory)
- Use #bytesize instead of #size to calculate file size for JSON
  (Fix FileOverflow error)
- Segment media into subfolders by status ID because apparently
  GIF-to-MP4 media are all named "media.mp4" for some reason

* Keep uniquely generated filename in Paperclip::GifTranscoder

* Ensure dumped files do not overwrite each other by maintaing directory partitions

* Give tar archives a good name

* Add scheduler to remove week-old backups

* Fix code style issue

8 years agofix #6523 (#6524)
りんすき [Wed, 21 Feb 2018 18:33:23 +0000 (03:33 +0900)]
fix #6523 (#6524)

8 years agofix purge_removed_accounts task should suspend account before delete it (#6521)
takayamaki [Wed, 21 Feb 2018 15:30:46 +0000 (00:30 +0900)]
fix purge_removed_accounts task should suspend account before delete it (#6521)

8 years agoFix avatar and header issues by using custom geometry detector (#6515)
Eugen Rochko [Wed, 21 Feb 2018 02:40:12 +0000 (03:40 +0100)]
Fix avatar and header issues by using custom geometry detector (#6515)

* Fix avatar and header issues by using custom geometry detector

Revert a part of #6508. The file passed to dynamic styles method
was not actually a file, but an instance of Paperclip::Attachment,
which broke all styles by always returning {} from the method.

One problem with GIF avatars was that Paperclip::GeometryDetector
reported wrong dimensions for them, e.g. 120x120 GIF avatar would
for some reason be detected as 120x53. By writing our own geometry
parser, we can use FastImage, which also happens to be faster than
ImageMagick, to detect image dimensions, which are also correct.

Unfortunately, this PR does not implement skipping a `convert`
entirely if the dimensions are already correct, as I found no easy
way to write that behaviour into Paperclip without rewriting the
Paperclip::Thumbnail class.

* Only invoke convert if dimension or format needs to be changed

8 years agoFix build error for missing variable interpolation in chown instruction (#6519)
Moritz Heiber [Tue, 20 Feb 2018 18:11:36 +0000 (19:11 +0100)]
Fix build error for missing variable interpolation in chown instruction (#6519)

8 years agoFix #6509: Use pull queue for chewy jobs (#6513)
Eugen Rochko [Tue, 20 Feb 2018 16:25:16 +0000 (17:25 +0100)]
Fix #6509: Use pull queue for chewy jobs (#6513)

8 years agoSet Docker permissions during the build process (#6514)
Eugen Rochko [Tue, 20 Feb 2018 16:25:01 +0000 (17:25 +0100)]
Set Docker permissions during the build process (#6514)

* Set Docker permissions during the build process

* Remove docker_entrypoint.sh and use COPY with chown

8 years agoImprove performance of feed_manager_spec (#6517)
abcang [Tue, 20 Feb 2018 15:50:12 +0000 (00:50 +0900)]
Improve performance of feed_manager_spec (#6517)

8 years agoDon't resize avatars/headers if their dimensions are already right (#6508)
Eugen Rochko [Mon, 19 Feb 2018 15:06:12 +0000 (16:06 +0100)]
Don't resize avatars/headers if their dimensions are already right (#6508)

Also don't apply "-quality 80" option which is probably the reason
for slight color differences between original and remote image
(because it would apply it twice, once on original instance, and
again on the receiving instance)

8 years agoFix media spoiler design (#6507)
Eugen Rochko [Mon, 19 Feb 2018 01:39:18 +0000 (02:39 +0100)]
Fix media spoiler design (#6507)

- 4px rounded corners on media attachments
- Better colors/contrast for CW/media spoiler on public pages
- Fix vertical alignment of "Show more" button
- Fix layout jump when unhiding standalone media

8 years agoadd parameter locked to /api/v1/update_credentials (#6506)
Konrad Pozniak [Sun, 18 Feb 2018 21:57:53 +0000 (22:57 +0100)]
add parameter locked to /api/v1/update_credentials (#6506)

8 years agoAdded fetch_remote_status_service call spec case actibitypub (#6500)
Kazushige Tominaga [Sun, 18 Feb 2018 15:34:03 +0000 (00:34 +0900)]
Added fetch_remote_status_service call spec case actibitypub (#6500)

* Added #link_header spec

* Added #call spec

* Delete spec of private methods

* Added call test case activitypub

8 years agoRemove outline from body window (Fixes #6501) (#6502)
HellPie [Sun, 18 Feb 2018 15:32:58 +0000 (16:32 +0100)]
Remove outline from body window (Fixes #6501) (#6502)

8 years agoRemove unnecessary g++ configuration (#6499)
Akihiko Odaki [Sun, 18 Feb 2018 15:32:17 +0000 (00:32 +0900)]
Remove unnecessary g++ configuration (#6499)

8 years agoCache relationships in API (#6482)
Eugen Rochko [Sun, 18 Feb 2018 02:14:46 +0000 (03:14 +0100)]
Cache relationships in API (#6482)

* Cache relationships in API

* Fetch relationships for search results in UI

* Only save one account's maps in each cache item

8 years agoIsolate each specs for cache store (#6450)
Akihiko Odaki [Sat, 17 Feb 2018 21:35:05 +0000 (06:35 +0900)]
Isolate each specs for cache store (#6450)

The cache store is explicitly used by some specs, but they were not
isolated and therefore not reliable. This fixes the issue by clearing
the cache after each specs.

8 years agoPush discovered status through streaming API within a time window (#6484)
Eugen Rochko [Sat, 17 Feb 2018 13:28:48 +0000 (14:28 +0100)]
Push discovered status through streaming API within a time window (#6484)

Time window of 6 hours

8 years agoLimit the languages used for notification mailer test (#6487)
Akihiko Odaki [Sat, 17 Feb 2018 13:27:51 +0000 (22:27 +0900)]
Limit the languages used for notification mailer test (#6487)

Some available languages lack translations for notification mails. Now it
tests for two languages which is certain to have required translations:
German and English.

German is the language the current project owner, Eugen Rochko speaks, and
providing English translations for new messages is de facto mandatory.

8 years agoFix Spanish translation of remote_follow acct (#6475)
Simó Albert i Beltran [Fri, 16 Feb 2018 18:53:38 +0000 (19:53 +0100)]
Fix Spanish translation of remote_follow acct (#6475)

8 years agoFix Catalan translation of remote_follow acct (#6476)
Simó Albert i Beltran [Fri, 16 Feb 2018 18:15:56 +0000 (19:15 +0100)]
Fix Catalan translation of remote_follow acct (#6476)

8 years ago[Nanobox] Fix backups for file storage (#6483)
Daniel Hunsaker [Fri, 16 Feb 2018 16:10:01 +0000 (09:10 -0700)]
[Nanobox] Fix backups for file storage (#6483)

8 years agoSave video metadata and improve video OpenGraph tags (#6481)
Eugen Rochko [Fri, 16 Feb 2018 06:22:20 +0000 (07:22 +0100)]
Save video metadata and improve video OpenGraph tags (#6481)

* Save metadata from video attachments, put correct dimensions into OG tags

* Add twitter:player for videos

* Fix code style and test

8 years agoDo not hide NSFW media/CW'd text in OpenGraph tags (#6479)
Eugen Rochko [Fri, 16 Feb 2018 03:40:53 +0000 (04:40 +0100)]
Do not hide NSFW media/CW'd text in OpenGraph tags (#6479)

Reasoning: HTML title tag affects everyone. But OpenGraph only affects
when somebody is deliberately sharing the content, usually in an
environment where such content is expected. Hiding the content in
OpenGraph tags results in deceitful previews which inhibit the
shareability of the post.

Example: Somebody writes a clever post about politics but kindly
puts a "uspol" content warning on it. Mastodon users are thankful,
but sharing this post on another platform results in non-Mastodon
users believing the entire contents of the post is "uspol" and not
clicking through/reading and re-sharing.

8 years agoAfter click to embed video, autoplay it (#6480)
Eugen Rochko [Thu, 15 Feb 2018 22:05:12 +0000 (23:05 +0100)]
After click to embed video, autoplay it (#6480)

8 years agoFix #5173: Click card to embed external content (#6471)
Eugen Rochko [Thu, 15 Feb 2018 06:04:28 +0000 (07:04 +0100)]
Fix #5173: Click card to embed external content (#6471)

8 years agoFix media button type (#6478)
abcang [Thu, 15 Feb 2018 03:40:42 +0000 (12:40 +0900)]
Fix media button type (#6478)

8 years agoi18n: Update Polish translation (#6470)
Marcin Mikołajczak [Tue, 13 Feb 2018 22:55:45 +0000 (23:55 +0100)]
i18n: Update Polish translation (#6470)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
8 years agoFix URLs incorrectly having trailing hyphen removed (#6465)
Daniel King [Sun, 11 Feb 2018 22:49:18 +0000 (22:49 +0000)]
Fix URLs incorrectly having trailing hyphen removed (#6465)

In cases where a URL has a trailing hyphen the FetchLinkCardService incorrectly removes the hyphen when it is parsed

The hyphen is not a reserved character in the URI spec https://tools.ietf.org/html/rfc3986#section-2.2

8 years agoFix Chewy trying to update index with the wrong strategy (#6464)
Eugen Rochko [Sun, 11 Feb 2018 21:59:44 +0000 (22:59 +0100)]
Fix Chewy trying to update index with the wrong strategy (#6464)

8 years agoInteractive `rake mastodon:setup` task (#6451)
Eugen Rochko [Sun, 11 Feb 2018 17:40:57 +0000 (18:40 +0100)]
Interactive `rake mastodon:setup` task (#6451)

* Add better CLI prompt

* Add rake mastodon:setup interactive wizard

* Test db/redis/smtp configurations and add admin user at the end

* Test database connection even when database does not exist yet

8 years agoAdded FetchRemoteAccountService spec (#6456)
Kazushige Tominaga [Sat, 10 Feb 2018 16:10:58 +0000 (01:10 +0900)]
Added FetchRemoteAccountService spec (#6456)

* Added #link_header spec

* Added #call spec

* Delete spec of private methods

* Added #call spec

8 years agoFix password recovery (#6459)
ThibG [Sat, 10 Feb 2018 16:09:44 +0000 (17:09 +0100)]
Fix password recovery (#6459)

* Fix password recovery

* Use “resource” instead of “current_user”

8 years agoAdded #call spec (#6455)
Kazushige Tominaga [Sat, 10 Feb 2018 02:31:38 +0000 (11:31 +0900)]
Added #call spec (#6455)

* Added #link_header spec

* Added #call spec

* Delete spec of private methods

8 years agoFull-text search for authorized statuses (#6423)
Eugen Rochko [Fri, 9 Feb 2018 22:04:47 +0000 (23:04 +0100)]
Full-text search for authorized statuses (#6423)

* Add full-text search for authorized statuses

- Search API will return statuses that match the query
- Only for logged in users
- Only if you are author of the status,
- Or you were mentioned in it
- Or you favourited or reblogged it
- Configuration over `ES_ENABLED`, `ES_HOST`, `ES_PORT`, `ES_PREFIX`
- Run `rails chewy:deploy` to create & populate index

Fix #5880
Fix #4293
Fix #1152

* Add commented out docker-compose configuration for ES container

* Optimize index import, filter search results

* Add basic normalization to the index

* Add better stemming and normalization to the index

* Skip webfinger request if search query includes both @ and a space

* Fix code style

* Visually separate search result sections

* Fix code style issues

8 years agofix-indent (#6453)
masarakki [Fri, 9 Feb 2018 14:29:48 +0000 (23:29 +0900)]
fix-indent (#6453)

8 years agoChange web UI "posts" to "toots" on profile for consistency (#6447)
Eugen Rochko [Thu, 8 Feb 2018 23:27:18 +0000 (00:27 +0100)]
Change web UI "posts" to "toots" on profile for consistency (#6447)

8 years agoAdd preference to always display sensitive media (#6448)
Eugen Rochko [Thu, 8 Feb 2018 23:26:57 +0000 (00:26 +0100)]
Add preference to always display sensitive media (#6448)

8 years agoPerform request spec (#6446)
Kazushige Tominaga [Thu, 8 Feb 2018 23:12:35 +0000 (08:12 +0900)]
Perform request spec (#6446)

* Added #link_header spec

* Added #perform_request spec

8 years agoClear account cache of notification target_status (#6442)
abcang [Thu, 8 Feb 2018 14:33:23 +0000 (23:33 +0900)]
Clear account cache of notification target_status (#6442)

8 years agoFix response of signature_verification_failure_reason (#6441)
abcang [Thu, 8 Feb 2018 04:00:45 +0000 (13:00 +0900)]
Fix response of signature_verification_failure_reason (#6441)

8 years agoAdded #link_header spec (#6439)
Kazushige Tominaga [Wed, 7 Feb 2018 23:17:53 +0000 (08:17 +0900)]
Added #link_header spec (#6439)

8 years agoChange user_id column non-nullable (#6435)
Akihiko Odaki [Wed, 7 Feb 2018 15:35:44 +0000 (00:35 +0900)]
Change user_id column non-nullable (#6435)