]> cat aescling's git repositories - mastodon.git/log
mastodon.git
7 years agoDisplay pending message on admin relays UI (#8494)
Eugen Rochko [Tue, 28 Aug 2018 03:39:43 +0000 (05:39 +0200)]
Display pending message on admin relays UI (#8494)

* Add missing specs for relay accept/reject

* Display pending message on admin relays UI

7 years agoAdd CSS class to replies (#8473)
Maciek Baron [Mon, 27 Aug 2018 17:07:47 +0000 (18:07 +0100)]
Add CSS class to replies (#8473)

7 years agoInclude MOV in upload button tooltip. (#8480)
M Somerville [Mon, 27 Aug 2018 11:05:27 +0000 (12:05 +0100)]
Include MOV in upload button tooltip. (#8480)

7 years agoWeblate translations (2018-08-27) (#8483)
Renato "Lond" Cerqueira [Mon, 27 Aug 2018 11:03:31 +0000 (13:03 +0200)]
Weblate translations (2018-08-27) (#8483)

* Translated using Weblate (French)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Corsican)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Greek)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Corsican)

Currently translated at 99.7% (682 of 684 strings)

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

* Translated using Weblate (Danish)

Currently translated at 86.1% (589 of 684 strings)

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

* Translated using Weblate (French)

Currently translated at 99.4% (680 of 684 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (682 of 684 strings)

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

* Translated using Weblate (Corsican)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.7% (682 of 684 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Czech)

Currently translated at 98.6% (675 of 684 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.8% (683 of 684 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 0.1% (1 of 684 strings)

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

* Translated using Weblate (Polish)

Currently translated at 98.9% (677 of 684 strings)

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

* Translated using Weblate (Polish)

Currently translated at 100.0% (312 of 312 strings)

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

* Translated using Weblate (Polish)

Currently translated at 98.7% (81 of 82 strings)

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

* Translated using Weblate (Persian)

Currently translated at 100.0% (312 of 312 strings)

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

* Normalize translations
ran yarn build:development && i18n-tasks normalize && yarn
manage:translations && i18n-tasks remove-unused

7 years agoBetter singulars of account followers/toots. (#8471)
M Somerville [Sun, 26 Aug 2018 19:30:53 +0000 (20:30 +0100)]
Better singulars of account followers/toots. (#8471)

7 years agoMake Api::V1::MutesController paginate properly (#8472)
Jakub Mendyk [Sun, 26 Aug 2018 19:30:17 +0000 (21:30 +0200)]
Make Api::V1::MutesController paginate properly (#8472)

Fixes #8463

7 years agoAdd more hotkeys to legend (#8469)
Marcin Mikołajczak [Sun, 26 Aug 2018 18:22:16 +0000 (20:22 +0200)]
Add more hotkeys to legend (#8469)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoAdd CLI task for rotating keys (#8466)
Eugen Rochko [Sun, 26 Aug 2018 18:21:03 +0000 (20:21 +0200)]
Add CLI task for rotating keys (#8466)

* If an Update is signed with known key, skip re-following procedure

Because it means the remote actor did *not* lose their database

* Add CLI method for rotating keys

    bin/tootctl accounts rotate [USERNAME]

Generates a new RSA key per account and sends out an Update activity
signed with the old key.

* Key rotation: Space out Update fan-outs every 5 minutes per 1000 accounts

* Skip suspended accounts in key rotation

7 years agoBump interactions count when a follow happens (#8468)
Eugen Rochko [Sun, 26 Aug 2018 18:02:45 +0000 (20:02 +0200)]
Bump interactions count when a follow happens (#8468)

7 years agoAdd thor to Gemfile directly (#8467)
Eugen Rochko [Sun, 26 Aug 2018 18:02:32 +0000 (20:02 +0200)]
Add thor to Gemfile directly (#8467)

It's a common dependency, but just in case

7 years agoFix low-hanging rubocop gripes (#8458)
Quint Guvernator [Sun, 26 Aug 2018 17:22:46 +0000 (13:22 -0400)]
Fix low-hanging rubocop gripes (#8458)

* rubocop: quit being so picky

* rubocop: miscellany

* rubocop: prefer present to blank

7 years agoAdd aria-label to notifications (#8460)
Eugen Rochko [Sun, 26 Aug 2018 15:53:26 +0000 (17:53 +0200)]
Add aria-label to notifications (#8460)

Fix #8192

7 years agoFix NUM_DAYS in rake mastodon:media:remove_remote and print warning (#8462)
Eugen Rochko [Sun, 26 Aug 2018 15:19:47 +0000 (17:19 +0200)]
Fix NUM_DAYS in rake mastodon:media:remove_remote and print warning (#8462)

Remove old deprecated rake tasks

7 years agoDelay e-mail notifications by 2 minutes (#8438)
Eugen Rochko [Sun, 26 Aug 2018 14:53:19 +0000 (16:53 +0200)]
Delay e-mail notifications by 2 minutes (#8438)

Fix #8430

7 years agoAdd CLI interface for importing custom emoji (#8437)
Eugen Rochko [Sun, 26 Aug 2018 14:53:06 +0000 (16:53 +0200)]
Add CLI interface for importing custom emoji (#8437)

bin/tootctl emoji import PATH_TO_TAR

Fix #8435

7 years agoAdd messages informing that collections are empty (fixes #4115) (#8418)
Jakub Mendyk [Sun, 26 Aug 2018 14:39:37 +0000 (16:39 +0200)]
Add messages informing that collections are empty (fixes #4115) (#8418)

* Add messages informing that collections are empty

Adds empty messages to blocked users, domain blocks, favourited statuses, users
that favourited toot, follow requests, followers of given user, user's being
followed by given user, lists, muted users, toots' boosts.

Switched from using ScrollContainer to ScrollableList and/or added empty
message's text.

Fixes #4115

* Update localization files with strings for #4115

* Fix whitespace issues pointed out by codeclimate

7 years agoUpdate _bio.html.haml (#8449)
Tad Thorley [Sun, 26 Aug 2018 12:33:59 +0000 (06:33 -0600)]
Update _bio.html.haml (#8449)

On my local instance (https://ruby.social) we have a custom emoji for octocat (:octocat:). I would love to be able to use the emoji in the metadata for my profile. Instead of:

| github | https://github.com/phaedryx

It could be:

| :octocat: | https://github.com/phaedryx

(using a single emoji makes it easier to read the urls)

7 years agoFix regression from #8439 (#8455)
Eugen Rochko [Sun, 26 Aug 2018 12:29:58 +0000 (14:29 +0200)]
Fix regression from #8439 (#8455)

Missing no-reduce-motion/reduce-motion body class

7 years agoAdd health endpoint to streaming API (#8441)
Eugen Rochko [Sun, 26 Aug 2018 09:54:25 +0000 (11:54 +0200)]
Add health endpoint to streaming API (#8441)

GET /api/v1/streaming/health

Answers with OK. Fix #8337

7 years agoFix CW issues in static view on Safari (Fixes #8354) (#8446)
PatrickRWells [Sat, 25 Aug 2018 23:19:13 +0000 (16:19 -0700)]
Fix CW issues in static view on Safari (Fixes #8354) (#8446)

* Fix CW issues in static view on Safari (8354)

* Fixed formatting issues

* Trailing space

7 years agoSpread out crawling randomly to avoid DDoSing the link (#8445)
Eugen Rochko [Sat, 25 Aug 2018 22:33:57 +0000 (00:33 +0200)]
Spread out crawling randomly to avoid DDoSing the link (#8445)

* Spread out crawling randomly to avoid DDoSing the link

Fix #4486

* Remove trailing whitespace

7 years agoSpecify allowed media in upload button tooltip. (#8443)
M Somerville [Sat, 25 Aug 2018 22:18:40 +0000 (23:18 +0100)]
Specify allowed media in upload button tooltip. (#8443)

7 years agoRevert "Default puma to running on localhost only." (#8444)
Eugen Rochko [Sat, 25 Aug 2018 22:13:22 +0000 (00:13 +0200)]
Revert "Default puma to running on localhost only." (#8444)

* Revert "Default puma to running on localhost only. (#8429)"

This reverts commit 2a59c6a5e7ea1794232a12a3d0b46b24d8a9c858.

7 years agoAdd theme identifier to body classes for easier custom CSS styling (#8439)
Eugen Rochko [Sat, 25 Aug 2018 20:55:25 +0000 (22:55 +0200)]
Add theme identifier to body classes for easier custom CSS styling (#8439)

Add forgotten custom CSS admin setting strings

7 years agoWait until relationship is loaded before showing follow button (#8440)
Eugen Rochko [Sat, 25 Aug 2018 20:46:59 +0000 (22:46 +0200)]
Wait until relationship is loaded before showing follow button (#8440)

Fix #8410

7 years agofix pam authentication for certain hostnames (#8412)
Alexander [Sat, 25 Aug 2018 20:35:29 +0000 (22:35 +0200)]
fix pam authentication for certain hostnames (#8412)

7 years agoDefault puma to running on localhost only. (#8429)
M Somerville [Sat, 25 Aug 2018 19:24:20 +0000 (20:24 +0100)]
Default puma to running on localhost only. (#8429)

7 years agoDisable retries on all scheduled tasks (#8413)
Eugen Rochko [Sat, 25 Aug 2018 11:28:07 +0000 (13:28 +0200)]
Disable retries on all scheduled tasks (#8413)

7 years agoWeblate translations (2018-08-25) (#8420)
Yamagishi Kazutoshi [Sat, 25 Aug 2018 11:27:56 +0000 (20:27 +0900)]
Weblate translations (2018-08-25) (#8420)

* Translated using Weblate (Georgian)

Currently translated at 99.8% (674 of 675 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (Korean)

Currently translated at 96.8% (654 of 675 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (98 of 98 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (Danish)

Currently translated at 87.2% (589 of 675 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (680 of 680 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.4% (676 of 680 strings)

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

* Translated using Weblate (Danish)

Currently translated at 88.0% (599 of 680 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.6% (664 of 680 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (678 of 680 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.5% (677 of 680 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.9% (668 of 682 strings)

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

* Translated using Weblate (Persian)

Currently translated at 99.7% (680 of 682 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 0.0% (0 of 682 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 0.1% (1 of 682 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 0.1% (676 of 682 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (682 of 682 strings)

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

* Translated using Weblate (Greek)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 98.8% (674 of 682 strings)

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

* Translated using Weblate (Danish)

Currently translated at 89.2% (609 of 682 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (82 of 82 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (French)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (681 of 682 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (310 of 310 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 100.0% (310 of 310 strings)

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

* yarn manage:translations

* i18n-tasks normalize && i18n-tasks remove-unused

* revert

* Add defaultMessage

7 years agoSupport ActivityStreams’ summaryMap. (#8422)
M Somerville [Sat, 25 Aug 2018 11:27:34 +0000 (12:27 +0100)]
Support ActivityStreams’ summaryMap. (#8422)

In the same way as contentMap and nameMap.

7 years agoRename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)
M Somerville [Sat, 25 Aug 2018 11:27:08 +0000 (12:27 +0100)]
Rename S3_CLOUDFRONT_HOST to S3_ALIAS_HOST. (#8423)

Still check for S3_CLOUDFRONT_HOST for existing installs.

7 years agoHide reject media checkbox when not relevant. (#8426)
M Somerville [Sat, 25 Aug 2018 11:26:17 +0000 (12:26 +0100)]
Hide reject media checkbox when not relevant. (#8426)

7 years agoAdd improved CLI interface for removing remote media (#8411)
Eugen Rochko [Sat, 25 Aug 2018 11:25:39 +0000 (13:25 +0200)]
Add improved CLI interface for removing remote media (#8411)

./bin/tootctl media remove --days 7 --background

Make the old rake task point to it

7 years agoRevice Japanese translation of `deleted_status` (#8419)
MIYAGI Hikaru [Sat, 25 Aug 2018 01:03:35 +0000 (10:03 +0900)]
Revice Japanese translation of `deleted_status` (#8419)

レポート関連の翻訳にある`deleted_status`は、ステータスが削除された残骸を示すものなので、
動作ではなく名詞として翻訳する方がより適切です。

7 years agoAdd missing video descriptions (#8416)
M Somerville [Fri, 24 Aug 2018 21:55:41 +0000 (22:55 +0100)]
Add missing video descriptions (#8416)

* Pass through video description as necessary.

* Add title to video, matching aria-label.

7 years agoReword the "Delete and rewrite" warning (#8415)
Sylvhem [Fri, 24 Aug 2018 19:46:59 +0000 (21:46 +0200)]
Reword the "Delete and rewrite" warning (#8415)

* Change "Delete and rewrite" warning

Reword the "Delete and rewrite" warning to make it clear that replies are not deleted.

* Update the French translation

Update the French translation to reflect the changes made to the "Delete and rewrite" warning.

7 years agoUpgrade Doorkeeper to 5.0.0 (#8409)
Eugen Rochko [Fri, 24 Aug 2018 16:17:11 +0000 (18:17 +0200)]
Upgrade Doorkeeper to 5.0.0 (#8409)

See doorkeeper-gem/doorkeeper#1137

7 years agoSupport UNIX domain socket for streaming service without using PORT (#8217)
MIYAGI Hikaru [Fri, 24 Aug 2018 16:16:53 +0000 (01:16 +0900)]
Support UNIX domain socket for streaming service without using PORT (#8217)

* Support UNIX domain socket for streaming service without using PORT

The use of UNIX domain socket for streaming service was not officially supported,
but it was made unofficial to use by setting a path to PORT.
From now on, SOCKET will be used just like setting for puma.

* Hundle relative path

7 years agoAdd admin custom CSS setting (#8399)
Eugen Rochko [Fri, 24 Aug 2018 02:33:27 +0000 (04:33 +0200)]
Add admin custom CSS setting (#8399)

Fix #3894

7 years agoBump version to 2.5.0rc1 (#8356)
Eugen Rochko [Thu, 23 Aug 2018 21:30:57 +0000 (23:30 +0200)]
Bump version to 2.5.0rc1 (#8356)

7 years agoAllow mods to disable login, improve message when login disabled (#8329)
Eugen Rochko [Thu, 23 Aug 2018 21:26:29 +0000 (23:26 +0200)]
Allow mods to disable login, improve message when login disabled (#8329)

* Allow moderators to disable/enable login

* Instead of rejecting login, show forbidden error when login disabled

Avoid confusion because when login is rejected, the message is that
the account is not activated, which is wrong.

* Fix tests

7 years agoFix regression when suspending not from report (#8400)
Eugen Rochko [Thu, 23 Aug 2018 19:51:56 +0000 (21:51 +0200)]
Fix regression when suspending not from report (#8400)

Regression from #8353

7 years agoOnly display web push notifications after API call (fixes #7902) (#8396)
ThibG [Thu, 23 Aug 2018 19:44:27 +0000 (21:44 +0200)]
Only display web push notifications after API call (fixes #7902) (#8396)

* Only display web push notifications after API call (fixes #7902)

* Decode then truncate instead of truncating then decoding in webpush serializer

7 years agoPreserve hashtag casing in web UI hashtag history (#8394)
Eugen Rochko [Thu, 23 Aug 2018 19:21:15 +0000 (21:21 +0200)]
Preserve hashtag casing in web UI hashtag history (#8394)

Fix #8241

7 years agoGive focused status a sensible aria-label for screen readers (#8387)
Eugen Rochko [Thu, 23 Aug 2018 18:56:57 +0000 (20:56 +0200)]
Give focused status a sensible aria-label for screen readers (#8387)

* Give focused status a sensible aria-label for screen readers

Fix #8192

* Use content warning in aria-label unless expanded

7 years agoUpdate state when opened dropdown is unmounted (fixes #8397) (#8398)
ThibG [Thu, 23 Aug 2018 18:43:27 +0000 (20:43 +0200)]
Update state when opened dropdown is unmounted (fixes #8397) (#8398)

7 years agoUpdate light theme (#8392)
Eugen Rochko [Thu, 23 Aug 2018 17:20:49 +0000 (19:20 +0200)]
Update light theme (#8392)

Fix #8209
Fix #7566

7 years agoWhen registrations closed, link "Sign up" to joinmastodon.org (#8395)
Eugen Rochko [Thu, 23 Aug 2018 17:11:41 +0000 (19:11 +0200)]
When registrations closed, link "Sign up" to joinmastodon.org (#8395)

Fix #8393

7 years agoFix off-by-one error in aria-posinset (#8388)
Eugen Rochko [Thu, 23 Aug 2018 16:28:59 +0000 (18:28 +0200)]
Fix off-by-one error in aria-posinset (#8388)

Fix #8191

7 years agoAdd aria-label to column regions (#8390)
Eugen Rochko [Thu, 23 Aug 2018 15:26:21 +0000 (17:26 +0200)]
Add aria-label to column regions (#8390)

Fix #4485

7 years agoDo not check for file existence when serializing ActivityPub actor (#8386)
ThibG [Thu, 23 Aug 2018 14:39:22 +0000 (16:39 +0200)]
Do not check for file existence when serializing ActivityPub actor (#8386)

When serializing an ActivityPub actor, Mastodon checks for the existence
of the avatar/header files. This is not necessary, only check if avatar/header
is set.

https://github.com/thoughtbot/paperclip/blob/fd8bf49d3895de2904b43f95d11af0736fbd0f5b/README.md#checking-a-file-exists

7 years agoAdd ability to change an instance default theme from the administration panel (#7092...
Jakub Mendyk [Thu, 23 Aug 2018 12:17:35 +0000 (14:17 +0200)]
Add ability to change an instance default theme from the administration panel (#7092) (#8381)

* Add default_settings class method to ScopedSettings

ScopedSettings was extended to use value of unscoped setting instead of
only using defaults set in config/settings.yml for selected settings.
This adds possibility for admins to set default values of users' settings,
for example default theme (as requested in #7092).

* Add ability to change an instance default theme

Closes #7092

7 years agoMajor update for the French translation (#8348)
Sylvhem [Thu, 23 Aug 2018 10:43:03 +0000 (12:43 +0200)]
Major update for the French translation (#8348)

* Corrige la traduction des filtres

Corrige les erreurs de traduction présentes sur l’écran de contrôle des filtres.

Fix the translation mistakes made on the filters' control screen.

* Remplace « malvoyants » par « malvoyant·e·s »

Harmonise la traduction en remplaçant « malvoyants » par sa forme épicène.

Harmonize the translation by replacing "malvoyants" (visually impaired) by its epicene form.

* Remplace « interface-utilisateur » par « interface utilisateur·ice »

Corrige une erreur d’orthographe et harmonise la traduction en utilisant la forme épicène.

Fix a spelling mistake and harmonize the translation by using the epicen form.

* Traduction de chaînes manquantes

Traduits des chaînes manquantes.

Translate missing strings.

* Diverses corrections

Diverses corrections concernant l’orthographe, les formulations employées et les conventions utilisées.

Various fix regarding spelling, used wordings and used conventions.

* Remplace « ' » par « ’ »

Retire de la traduction les apostrophes droites « ' » (U+0027) au profit des apostrophes typographiques « ’ » (U+2019).
En typographie française, les apostrophes typographiques sont utilisées à la place des apostrophes droites. La traduction était jusqu’ici incohérente et utilisait les deux.

Remove from the translation all the vertical apostrophes (U+0027) in favor of the curly ones (U+2019).
In French typography, typographic apostrophes are used instead of vertical ones. The translation was incoherent and used both.

* Remplace « ... » par « … »

Remplace les séries de trois points par le caractère dédié « … » (U+2026).

Replace all the series of three dots by the dedicated character "…" (U+2026).

* Ajout d’espaces insécables

Ajoute des espaces insécables suivant les régles nécessaires en typographie française.

Add non-breaking spaces following rules of French typography.

* Traduction de la nouvelle politique de confidentialité

Traduction de la nouvelle politique de confidentalité.

Translation of the new privacy policy.

* Modifications basées sur les retours

Modifie la traduction en se basant sur les premiers retours. Diverses corrections orthographiques et typographiques.

Fix the translation based on feedback. Various modifications both on spelling and typography.

* Change « non-listé » en « non listé »

Renome le niveau de confidentialité en « non listé ».

Rename the confidentiality level to "non listé".

* Modifications basées sur les retours

Modifie la traduction en se basant sur les premiers retours. Diverses corrections orthographiques et typographiques.

Fix the translation based on feedback. Various modifications both on spelling and typography.

* i18n-tasks normalize

7 years agoi18n: fix Polish translation (#8380)
Marcin Mikołajczak [Thu, 23 Aug 2018 10:06:02 +0000 (12:06 +0200)]
i18n: fix Polish translation (#8380)

7 years agoi18n: Update Polish translation (#8378)
Marcin Mikołajczak [Wed, 22 Aug 2018 22:28:23 +0000 (00:28 +0200)]
i18n: Update Polish translation (#8378)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoDo not crash if remote custom emoji does not define updated date (fixes #8376) (...
ThibG [Wed, 22 Aug 2018 22:27:58 +0000 (00:27 +0200)]
Do not crash if remote custom emoji does not define updated date (fixes #8376) (#8377)

7 years agoAvoid deleted attributes when building a Status from action log (fixes #8371) (#8373)
ThibG [Wed, 22 Aug 2018 18:55:50 +0000 (20:55 +0200)]
Avoid deleted attributes when building a Status from action log (fixes #8371) (#8373)

7 years agoImprove federated ID validation (#8372)
Eugen Rochko [Wed, 22 Aug 2018 18:55:14 +0000 (20:55 +0200)]
Improve federated ID validation (#8372)

* Fix URI not being sufficiently validated with prefetched JSON

* Add additional id validation to OStatus documents, when possible

7 years agoAllow use of plurals on about page stats. (#8363)
M Somerville [Wed, 22 Aug 2018 17:42:47 +0000 (18:42 +0100)]
Allow use of plurals on about page stats. (#8363)

7 years agoAdd favourites to archive takeout (#8351)
Eugen Rochko [Wed, 22 Aug 2018 17:33:10 +0000 (19:33 +0200)]
Add favourites to archive takeout (#8351)

Remove experimental key export

7 years agoexclude-other-silenced-accounts (#7528)
masarakki [Wed, 22 Aug 2018 11:20:50 +0000 (20:20 +0900)]
exclude-other-silenced-accounts (#7528)

7 years agoAdd confirmation step to account suspensions (#8353)
Eugen Rochko [Wed, 22 Aug 2018 09:53:41 +0000 (11:53 +0200)]
Add confirmation step to account suspensions (#8353)

* Add confirmation page for suspensions

* Suspension confirmation closes reports, linked from report UI

* Fix tests

7 years agoGet rid of Chewy order/limit warning (#8355)
Eugen Rochko [Wed, 22 Aug 2018 00:44:56 +0000 (02:44 +0200)]
Get rid of Chewy order/limit warning (#8355)

7 years agoAdd missing indices for ON DELETE CASCADE constraints (#8332)
Eugen Rochko [Tue, 21 Aug 2018 18:11:34 +0000 (20:11 +0200)]
Add missing indices for ON DELETE CASCADE constraints (#8332)

Fix #8327

7 years agoWeblate translations (2018-08-22) (#8346)
Yamagishi Kazutoshi [Tue, 21 Aug 2018 16:38:27 +0000 (01:38 +0900)]
Weblate translations (2018-08-22) (#8346)

* Translated using Weblate (Greek)

Currently translated at 99.8% (667 of 668 strings)

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

* Translated using Weblate (Persian)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Persian)

Currently translated at 99.7% (666 of 668 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (668 of 668 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 95.2% (636 of 668 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (668 of 668 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.7% (666 of 668 strings)

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

* Translated using Weblate (Polish)

Currently translated at 99.7% (666 of 668 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.8% (667 of 668 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Galician)

Currently translated at 99.8% (667 of 668 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.8% (667 of 668 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 96.5% (645 of 668 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 69.3% (68 of 98 strings)

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

* Translated using Weblate (Ukrainian)

Currently translated at 43.9% (36 of 82 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.8% (667 of 668 strings)

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

* Translated using Weblate (Basque)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Basque)

Currently translated at 98.9% (661 of 668 strings)

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

* Translated using Weblate (Basque)

Currently translated at 97.5% (80 of 82 strings)

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

* Translated using Weblate (Czech)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 95.2% (636 of 668 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (666 of 668 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (667 of 668 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 92.6% (76 of 82 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.1% (649 of 668 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.0% (650 of 670 strings)

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

* Translated using Weblate (Greek)

Currently translated at 99.8% (669 of 670 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (668 of 670 strings)

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

* Translated using Weblate (Galician)

Currently translated at 99.8% (669 of 670 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (669 of 670 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 88.5% (593 of 670 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.8% (669 of 670 strings)

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

* Translated using Weblate (Persian)

Currently translated at 100.0% (82 of 82 strings)

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

* Translated using Weblate (Persian)

Currently translated at 99.7% (668 of 670 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (670 of 672 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 96.7% (650 of 672 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Swedish)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.8% (672 of 673 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (671 of 673 strings)

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

* Translated using Weblate (Danish)

Currently translated at 84.5% (569 of 673 strings)

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

* Translated using Weblate (Danish)

Currently translated at 77.4% (48 of 62 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.0% (654 of 674 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.0% (655 of 675 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.7% (673 of 675 strings)

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

* Translated using Weblate (Czech)

Currently translated at 99.8% (674 of 675 strings)

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

* Translated using Weblate (Greek)

Currently translated at 99.8% (674 of 675 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (French)

Currently translated at 96.8% (654 of 675 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 99.7% (673 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 84.5% (571 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 84.8% (573 of 675 strings)

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

* Translated using Weblate (Occitan)

Currently translated at 99.7% (673 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Danish)

Currently translated at 88.7% (55 of 62 strings)

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

* Translated using Weblate (Italian)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Danish)

Currently translated at 85.1% (575 of 675 strings)

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

* Translated using Weblate (Hebrew)

Currently translated at 45.4% (307 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Russian)

Currently translated at 98.0% (303 of 309 strings)

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

* Translated using Weblate (Hebrew)

Currently translated at 97.4% (301 of 309 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (82 of 82 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.1% (656 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 86.8% (586 of 675 strings)

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

* Translated using Weblate (Italian)

Currently translated at 83.2% (562 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Danish)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Danish)

Currently translated at 93.8% (92 of 98 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (675 of 675 strings)

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

* Translated using Weblate (Italian)

Currently translated at 83.4% (563 of 675 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.6% (659 of 675 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (675 of 675 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.7% (660 of 675 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 93.9% (77 of 82 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (675 of 675 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.8% (674 of 675 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 97.7% (660 of 675 strings)

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

* Translated using Weblate (Danish)

Currently translated at 86.9% (587 of 675 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 100.0% (309 of 309 strings)

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

* Translated using Weblate (Danish)

Currently translated at 97.9% (96 of 98 strings)

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

* yarn manage:translations

* i18n-tasks normalize

7 years agoRevert to using Paperclip's filesystem storage, and fix dangling records in remove_re...
ThibG [Tue, 21 Aug 2018 15:53:01 +0000 (17:53 +0200)]
Revert to using Paperclip's filesystem storage, and fix dangling records in remove_remote (#8339)

* Fix uncaching worker

* Revert to using Paperclip's filesystem backend instead of fog-local

fog-local has lots of concurrency issues, causing failure to delete files,
dangling file records, and spurious errors UncacheMediaWorker

7 years agoGet rid of all batch order warnings (#8334)
Eugen Rochko [Tue, 21 Aug 2018 10:25:50 +0000 (12:25 +0200)]
Get rid of all batch order warnings (#8334)

7 years agoRemove annoying Notification#cache_ids scope warning (#8333)
Eugen Rochko [Tue, 21 Aug 2018 00:49:51 +0000 (02:49 +0200)]
Remove annoying Notification#cache_ids scope warning (#8333)

7 years agoreorder simple form ul to list vertically (fixes #8236) (#8322)
NecroTechno [Mon, 20 Aug 2018 21:58:57 +0000 (22:58 +0100)]
reorder simple form ul to list vertically (fixes #8236) (#8322)

* reorder simple form ul to list vertically (fixes #8236)

* remove browser specific prefixes

7 years agoUpgrade doorkeeper to 4.4.2 (#8321)
ThibG [Mon, 20 Aug 2018 20:42:02 +0000 (22:42 +0200)]
Upgrade doorkeeper to 4.4.2 (#8321)

7 years agoAdd API endpoint to list featured accounts (fixes #8315) (#8317)
ThibG [Mon, 20 Aug 2018 16:46:04 +0000 (18:46 +0200)]
Add API endpoint to list featured accounts (fixes #8315) (#8317)

7 years agoSkip pagination logic entirely for pinned toots (fixes #8302) (#8310)
ThibG [Mon, 20 Aug 2018 11:32:43 +0000 (13:32 +0200)]
Skip pagination logic entirely for pinned toots (fixes #8302) (#8310)

7 years agoIncrease reach of Delete->Actor activities (#8305)
Eugen Rochko [Mon, 20 Aug 2018 11:28:05 +0000 (13:28 +0200)]
Increase reach of Delete->Actor activities (#8305)

Fix #7316

7 years agoAdd hotkey for follow requests (#8307)
Annika Backstrom [Mon, 20 Aug 2018 01:44:16 +0000 (21:44 -0400)]
Add hotkey for follow requests (#8307)

7 years agoFix a variable for a Finnish translation (#8299)
Oskari Noppa [Sun, 19 Aug 2018 17:16:40 +0000 (20:16 +0300)]
Fix a variable for a Finnish translation (#8299)

7 years agoDon't filter own toots (fixes #8289) (#8298)
ThibG [Sun, 19 Aug 2018 16:44:18 +0000 (18:44 +0200)]
Don't filter own toots (fixes #8289) (#8298)

7 years agoMake dropdown animations respect their placement (#8292)
cpsdqs [Sun, 19 Aug 2018 15:11:12 +0000 (17:11 +0200)]
Make dropdown animations respect their placement (#8292)

* Make dropdown animations respect their placement

Also fix the corner radius on the privacy dropdown button when using top placement

* Fix code style issue

7 years agoi18n: Update Polish translation (#8290)
Marcin Mikołajczak [Sun, 19 Aug 2018 15:05:36 +0000 (17:05 +0200)]
i18n: Update Polish translation (#8290)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoUnuse ActiveRecord::Base#cache_key (#8185)
abcang [Sun, 19 Aug 2018 13:52:38 +0000 (22:52 +0900)]
Unuse ActiveRecord::Base#cache_key (#8185)

* Unuse ActiveRecord::Base#cache_key

* Enable cache_versioning

* Call cache_collection

7 years agoFix report text color. (#8288)
mayaeh [Sun, 19 Aug 2018 13:51:57 +0000 (22:51 +0900)]
Fix report text color. (#8288)

7 years agoKeep scheduler jobs unique until they're done (#8287)
Eugen Rochko [Sun, 19 Aug 2018 13:48:29 +0000 (15:48 +0200)]
Keep scheduler jobs unique until they're done (#8287)

7 years agoReduce user active duration from 7 days to 2 days (#8282)
Eugen Rochko [Sun, 19 Aug 2018 01:50:34 +0000 (03:50 +0200)]
Reduce user active duration from 7 days to 2 days (#8282)

To minimize fanout work and redis home feed storage space when
there are lots of recent sign-ups

7 years agoMake unfollow button light up red when hovered (#8286)
Eugen Rochko [Sun, 19 Aug 2018 01:28:43 +0000 (03:28 +0200)]
Make unfollow button light up red when hovered (#8286)

Fix #8284

7 years agoRevert "Upgrade Doorkeeper to 4.4.1 (#8197)" (#8231)
AkiraFukushima [Sun, 19 Aug 2018 01:20:37 +0000 (10:20 +0900)]
Revert "Upgrade Doorkeeper to 4.4.1 (#8197)" (#8231)

* Revert "Upgrade Doorkeeper to 4.4.1 (#8197)"

This reverts commit 464daffdf9a37e9a773d224a162fad022890d463.

* Except migration files from revert commit

7 years agoShow compose form on delete & redraft when in mobile layout (#8277)
Eugen Rochko [Sun, 19 Aug 2018 01:17:01 +0000 (03:17 +0200)]
Show compose form on delete & redraft when in mobile layout (#8277)

Fix #8274

7 years agoDo not use WHERE NOT IN in CopyStatusStats migration (#8281)
Eugen Rochko [Sun, 19 Aug 2018 00:01:49 +0000 (02:01 +0200)]
Do not use WHERE NOT IN in CopyStatusStats migration (#8281)

Fix #8275

As the batch operation progresses, the statuses_stats table grows,
and the WHERE NOT IN subquery becomes more expensive

7 years agoLink to mobile apps page (#8278)
Eugen Rochko [Sat, 18 Aug 2018 23:17:44 +0000 (01:17 +0200)]
Link to mobile apps page (#8278)

Fix #8269

7 years agoAdd admin function to deactivate all invites (#8279)
Eugen Rochko [Sat, 18 Aug 2018 22:58:53 +0000 (00:58 +0200)]
Add admin function to deactivate all invites (#8279)

Fix #8261

7 years agoAdd Makara dependency to support read-replicas (#8216)
Eugen Rochko [Sat, 18 Aug 2018 19:06:12 +0000 (21:06 +0200)]
Add Makara dependency to support read-replicas (#8216)

Not active by default unless config/database.yml is edited

7 years agoDo not process outgoing mentions to suspended accounts (#8272)
ThibG [Sat, 18 Aug 2018 17:42:13 +0000 (19:42 +0200)]
Do not process outgoing mentions to suspended accounts (#8272)

7 years agoFix ctrl+enter not submitting toot when text cursor is composing image description...
Spanky [Sat, 18 Aug 2018 17:40:35 +0000 (12:40 -0500)]
Fix ctrl+enter not submitting toot when text cursor is composing image description (#8273)

7 years agoFix #8264 - Do not override ctrl/cmd+click. (#8265)
M Somerville [Sat, 18 Aug 2018 10:50:32 +0000 (11:50 +0100)]
Fix #8264 - Do not override ctrl/cmd+click. (#8265)

This includes clicks on hashtags, mentions, display names and media in the
timeline; and usernames in reply-indicator, detailed status, and the boost
modal.

7 years agoAdd "sign in to participate" message to public toot page (#8200)
Eugen Rochko [Sat, 18 Aug 2018 10:48:27 +0000 (12:48 +0200)]
Add "sign in to participate" message to public toot page (#8200)

7 years agoUse CircleCI workflows for ruby dependencies (#8228)
ThibG [Sat, 18 Aug 2018 02:05:42 +0000 (04:05 +0200)]
Use CircleCI workflows for ruby dependencies (#8228)

* Add “bundle clean” suggestion from CircleCI doc

Cf. https://circleci.com/docs/2.0/caching/#bundler-ruby

* Use workspaces instead of caches for ruby gems

Cache are not guaranteed to be available, while the test jobs *require* their
depencies to run. Workspaces are thus more suitable.

One downside is that the order of workspace layer additions need to be
deterministic, which is why install-ruby{2.3,2.4} now depend on
install-ruby2.5.

7 years agoMake CopyStatusStats migration use batches of 1000 to avoid locks (#8256)
Eugen Rochko [Sat, 18 Aug 2018 01:44:50 +0000 (03:44 +0200)]
Make CopyStatusStats migration use batches of 1000 to avoid locks (#8256)

7 years agoFix error when trying to update counters for statuses that are gone (#8251)
Eugen Rochko [Sat, 18 Aug 2018 01:03:23 +0000 (03:03 +0200)]
Fix error when trying to update counters for statuses that are gone (#8251)

7 years agoAdd remote interaction dialog for toots (#8202)
Eugen Rochko [Sat, 18 Aug 2018 01:03:12 +0000 (03:03 +0200)]
Add remote interaction dialog for toots (#8202)

* Add remote interaction dialog for toots

* Change AuthorizeFollow into AuthorizeInteraction, support statuses

* Update brakeman.ignore

* Adjust how interaction buttons are display on public pages

* Fix tests

7 years agoAdd Georgian language translation (#8250)
Dachi Natsvlishvili [Fri, 17 Aug 2018 16:00:01 +0000 (20:00 +0400)]
Add Georgian language translation (#8250)

* Add Georgian language translation

* i18n-tasks normalize

7 years agoImplement Undo { Accept { Follow } } (fixes #8234) (#8245)
ThibG [Fri, 17 Aug 2018 14:24:56 +0000 (16:24 +0200)]
Implement Undo { Accept { Follow } } (fixes #8234) (#8245)

* Add Follow#revoke_request!

* Implement Undo { Accept { Follow } } (fixes #8234)

7 years agoUse correct activity id in Accept when receiving duplicate Follow (fixes #8218) ...
ThibG [Fri, 17 Aug 2018 12:08:17 +0000 (14:08 +0200)]
Use correct activity id in Accept when receiving duplicate Follow (fixes #8218) (#8244)