]> cat aescling's git repositories - mastodon.git/log
mastodon.git
7 years agoRemove "nsfw" category for sensitive statuses in OStatus serializer (#7048)
Eugen Rochko [Sun, 22 Apr 2018 20:09:03 +0000 (22:09 +0200)]
Remove "nsfw" category for sensitive statuses in OStatus serializer (#7048)

Fix #7011

7 years agoRescue Mastodon::LengthValidationError in Remoteable (#7228)
Eugen Rochko [Sun, 22 Apr 2018 13:42:00 +0000 (15:42 +0200)]
Rescue Mastodon::LengthValidationError in Remoteable (#7228)

Fix #7198 by allowing records with optional attachments to save

7 years agoFix: Use "exportierten" instead of "exportieren" in translation (#7186)
jumoru [Sun, 22 Apr 2018 12:46:19 +0000 (14:46 +0200)]
Fix: Use "exportierten" instead of "exportieren" in translation (#7186)

Spotted when looking at https://metalhead.club/@thomas/99881521526619858

7 years agoFix text colors (#7227)
Lynx Kotoura [Sun, 22 Apr 2018 12:29:40 +0000 (21:29 +0900)]
Fix text colors (#7227)

7 years agoDo not set emoji as inline-block (fixes #5743) (#7207)
ThibG [Sun, 22 Apr 2018 10:10:37 +0000 (12:10 +0200)]
Do not set emoji as inline-block (fixes #5743) (#7207)

7 years agoAbility to specify Redis passwd on mastodon:setup (#7222)
David Baucum [Sun, 22 Apr 2018 09:49:16 +0000 (05:49 -0400)]
Ability to specify Redis passwd on mastodon:setup (#7222)

Closes #7221

7 years agoFix randomly fail (similar #7219) (#7225)
Yamagishi Kazutoshi [Sun, 22 Apr 2018 09:41:39 +0000 (18:41 +0900)]
Fix randomly fail (similar #7219) (#7225)

7 years agoFix: Use "welches" instead of "dass" in translation (#7185)
Matthias Beyer [Sun, 22 Apr 2018 03:28:12 +0000 (05:28 +0200)]
Fix: Use "welches" instead of "dass" in translation (#7185)

7 years agoReset locale on registration tests (#7219)
Yamagishi Kazutoshi [Sat, 21 Apr 2018 21:37:07 +0000 (06:37 +0900)]
Reset locale on registration tests (#7219)

7 years agoReplace badge to CircleCI (#7216)
Yamagishi Kazutoshi [Sat, 21 Apr 2018 19:56:40 +0000 (04:56 +0900)]
Replace badge to CircleCI (#7216)

7 years agoAdd parallel test processors (#7215)
Yamagishi Kazutoshi [Sat, 21 Apr 2018 19:36:22 +0000 (04:36 +0900)]
Add parallel test processors (#7215)

7 years agoSeparate high contrast theme (#7213)
Lynx Kotoura [Sat, 21 Apr 2018 19:35:55 +0000 (04:35 +0900)]
Separate high contrast theme (#7213)

7 years agoUse raw status code on have_http_status (#7214)
Yamagishi Kazutoshi [Sat, 21 Apr 2018 19:35:07 +0000 (04:35 +0900)]
Use raw status code on have_http_status (#7214)

7 years agoForce convert to JPG for preview card thumbnails to avoid animations (#7109)
Eugen Rochko [Sat, 21 Apr 2018 19:34:36 +0000 (21:34 +0200)]
Force convert to JPG for preview card thumbnails to avoid animations (#7109)

* Force convert to JPG for preview card thumbnails to avoid animations

Fix #7093

* Conditionally convert to JPG only if original is GIF
Coalesce and strip on all formats to ensure no animated APNGs

7 years agoone grammar fix (#7212)
goofy-bz [Sat, 21 Apr 2018 18:07:25 +0000 (20:07 +0200)]
one grammar fix (#7212)

7 years agoIntroduce rspec-retry (#7206)
Yamagishi Kazutoshi [Fri, 20 Apr 2018 17:31:30 +0000 (02:31 +0900)]
Introduce rspec-retry (#7206)

7 years agoIgnore keyevents during text composition (#7205)
unarist [Fri, 20 Apr 2018 16:36:52 +0000 (01:36 +0900)]
Ignore keyevents during text composition (#7205)

KeyboardEvent.key may be physical key name (Escape, Tab, etc.)
even in text composition and it causes hotkeys or suggestion selection.
So we need to check e.which or e.isComposing.

Checking e.which also allows us to avoid Esc key on compositionend in Safari.

7 years agoFix spec for sr-Latn (#7203)
Yamagishi Kazutoshi [Fri, 20 Apr 2018 16:14:31 +0000 (01:14 +0900)]
Fix spec for sr-Latn (#7203)

7 years agoFix the hot key (j, k) does not function correctly when there is a pinned toot in...
TakesxiSximada [Fri, 20 Apr 2018 16:14:21 +0000 (01:14 +0900)]
Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline. (#7202)

* Fix the hot key (j, k) does not function correctly when there is a pinned toot in account timeline.

* Fix typo

* Add custom attribute prefix

7 years agoFix #6157: boosting own private toots (#7200)
mayaeh [Fri, 20 Apr 2018 12:58:33 +0000 (21:58 +0900)]
Fix #6157: boosting own private toots (#7200)

* Fix boosting own private toots.

* Run yarn manage:translations and update Japanese translations.

7 years agoFix Esc hotkey behavior (#7199)
unarist [Fri, 20 Apr 2018 12:04:16 +0000 (21:04 +0900)]
Fix Esc hotkey behavior (#7199)

This fixes following cases which causes hotkey action accidentally:

* hitting Esc key to cancel text composition (mostly in CJK)

  Although events on cancelling composition are still heavily
  browser / input method dependent, but this implementation would
  covers current UI Events spec and some exceptions.

* hitting Esc key to close autocomplete suggestions

This PR changes to use keydown event instead of keyup event as well as other hotkeys.

7 years agoReplace Travis to CircleCI (#7196)
Yamagishi Kazutoshi [Fri, 20 Apr 2018 11:46:08 +0000 (20:46 +0900)]
Replace Travis to CircleCI (#7196)

7 years agoAdd extract_foreign_key_action to Mastodon::MigrationHelpers (#7195)
Yamagishi Kazutoshi [Fri, 20 Apr 2018 10:21:28 +0000 (19:21 +0900)]
Add extract_foreign_key_action to Mastodon::MigrationHelpers (#7195)

7 years agoImprove report layout (#7188)
Eugen Rochko [Fri, 20 Apr 2018 00:28:48 +0000 (02:28 +0200)]
Improve report layout (#7188)

* Use table for statuses in report

* Display reported account and reporter in the same table

* Split accounts and general report info into two tables again

* Redesign report statuses table, notes, merge notes and action log

* Remove unused translations

* Fix code style issue

* Fix code style issue

* Fix code style issue

7 years agoReplace preload link tag to Rails helper (#7192)
Yamagishi Kazutoshi [Fri, 20 Apr 2018 00:06:53 +0000 (09:06 +0900)]
Replace preload link tag to Rails helper (#7192)

7 years agoFix webkit scrollbars (#7191)
beatrix [Thu, 19 Apr 2018 21:35:47 +0000 (17:35 -0400)]
Fix webkit scrollbars (#7191)

* Revert "Make scroll bars wider (#7060)"

This reverts commit 11715454d033784bf6176b75a954e5c28b5d79e5.

* for real make webkit scrollbar wider

7 years agoReports: Merge contents and comment columns (#7189)
Emelia Smith [Thu, 19 Apr 2018 13:39:54 +0000 (15:39 +0200)]
Reports: Merge contents and comment columns (#7189)

7 years agoFix text color in "show more" link inside boost confirmation modal (#7183)
Eugen Rochko [Thu, 19 Apr 2018 00:36:31 +0000 (02:36 +0200)]
Fix text color in "show more" link inside boost confirmation modal (#7183)

7 years agoRescue SSL errors when processing mentions, remove useless line (#7184)
Eugen Rochko [Wed, 18 Apr 2018 22:53:31 +0000 (00:53 +0200)]
Rescue SSL errors when processing mentions, remove useless line (#7184)

7 years agoi18n: Update Polish translation (#7181)
Marcin Mikołajczak [Wed, 18 Apr 2018 15:14:21 +0000 (17:14 +0200)]
i18n: Update Polish translation (#7181)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoAdd color variables of texts for better accesibility (#7125)
Lynx Kotoura [Wed, 18 Apr 2018 14:52:15 +0000 (23:52 +0900)]
Add color variables of texts for better accesibility (#7125)

* Add variables for text colors

* Change variables in sass files

* Apply text color variables for recently added colors

* Fix text colors of emoji mart anchors

* Fix text colors of search__input

* Fix text colors of text area of compose-form

* Fix icon colors of privacy dropdown and modal

* Inverted icon colors by classname

* Change variables in boost.scss

* Change action-button-color

* Fix text colors of pre-header

7 years agoFix comparing id (#7180)
abcang [Wed, 18 Apr 2018 14:50:19 +0000 (23:50 +0900)]
Fix comparing id (#7180)

7 years agoAdd revealing/hiding statuses button to keyboard shortcuts legend column (#7178)
Marcin Mikołajczak [Wed, 18 Apr 2018 11:15:57 +0000 (13:15 +0200)]
Add revealing/hiding statuses button to keyboard shortcuts legend column (#7178)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoDirect messages column (#4514)
Kaito Sinclaire [Wed, 18 Apr 2018 11:09:06 +0000 (04:09 -0700)]
Direct messages column (#4514)

* Added a timeline for Direct statuses
* Lists all Direct statuses you've sent and received
* Displayed in Getting Started
* Streaming server support for direct TL

* Changes to match other timelines in 2.0

7 years agozh-HK translation (#7177)
luzi82 [Wed, 18 Apr 2018 05:28:26 +0000 (13:28 +0800)]
zh-HK translation (#7177)

* zh-HK translation

* zh-HK fix

* zh-HK translation

* add missing zh-HK translate

* fix translate

* i18n-tasks normalize

7 years agoAdds keyboard hotkey for revealing/hiding statuses (#7173)
Neil Moore [Wed, 18 Apr 2018 01:33:59 +0000 (21:33 -0400)]
Adds keyboard hotkey for revealing/hiding statuses (#7173)

Resolves #5550

7 years agoAllow boosting own private toots (#6157)
ThibG [Tue, 17 Apr 2018 21:35:45 +0000 (23:35 +0200)]
Allow boosting own private toots (#6157)

* Adjust policy to allow boosting own private toots

* Add ability to reblog private toots from dropdown menu

7 years agoMake scroll bars wider (#7060)
Sam Schlinkert [Tue, 17 Apr 2018 21:25:54 +0000 (17:25 -0400)]
Make scroll bars wider (#7060)

* Set scrollbars to 12 px wide rather than 8px

Should overwrite the setting in reset.scss. This is untested at this point.

* removes scrollbar height and width specifications from reset.scss and basics.scss

7 years agoImprove web api protect (#6343)
abcang [Tue, 17 Apr 2018 13:23:46 +0000 (22:23 +0900)]
Improve web api protect (#6343)

7 years agoFeature: add count of account notes to reports (#7130)
Emelia Smith [Tue, 17 Apr 2018 12:58:11 +0000 (14:58 +0200)]
Feature: add count of account notes to reports (#7130)

* Reports: Colocate account details with reports

* Reports: Add count of account moderation notes

Sometimes an account will be left with a note instead of the report, this adds a way to quickly see from a given report if this is the case.

7 years agoAble to deactivate invites if they aren't expired (#7163)
Jennifer Kruse [Tue, 17 Apr 2018 11:52:08 +0000 (06:52 -0500)]
Able to deactivate invites if they aren't expired (#7163)

7 years agoFix missing "Administered by" when timeline preview disabled (#7161)
Eugen Rochko [Tue, 17 Apr 2018 11:51:14 +0000 (13:51 +0200)]
Fix missing "Administered by" when timeline preview disabled (#7161)

7 years agoSet Referrer-Policy to origin in web UI and public pages of private toots (#7162)
Eugen Rochko [Tue, 17 Apr 2018 11:51:01 +0000 (13:51 +0200)]
Set Referrer-Policy to origin in web UI and public pages of private toots (#7162)

Fix #7115

7 years agoFix warning about using SQL in order for Account#partitioned (#7159)
Eugen Rochko [Tue, 17 Apr 2018 11:50:48 +0000 (13:50 +0200)]
Fix warning about using SQL in order for Account#partitioned (#7159)

7 years agoFix caret position after inserting emoji (#7167)
abcang [Tue, 17 Apr 2018 11:50:33 +0000 (20:50 +0900)]
Fix caret position after inserting emoji (#7167)

7 years agoPerform processing that does not use the database before connecting to the database...
abcang [Tue, 17 Apr 2018 11:49:09 +0000 (20:49 +0900)]
Perform processing that does not use the database before connecting to the database (#7168)

7 years agoUpdate French javascript locale file (#7165)
Remi Rampin [Tue, 17 Apr 2018 02:37:51 +0000 (04:37 +0200)]
Update French javascript locale file (#7165)

Match config/locales/fr.yml: "private" was changed to "followers-only"
by 501514960a9de238e23cd607d2e8f4c1ff9f16c1.

7 years agoFix scrolling behavior (#7151)
ThibG [Mon, 16 Apr 2018 19:04:24 +0000 (21:04 +0200)]
Fix scrolling behavior (#7151)

* Update React.JS

* Use React's new lifecycles for scrollable lists

* Clean up dead code

* Make CodeClimate happy

7 years agoRemove extra spaces from search API queries and public account headers (fixes #7129...
ThibG [Mon, 16 Apr 2018 15:19:04 +0000 (17:19 +0200)]
Remove extra spaces from search API queries and public account headers (fixes #7129) (#7152)

7 years agoFix status filtering in contexts reducer (#7149)
Akihiko Odaki [Mon, 16 Apr 2018 09:34:34 +0000 (18:34 +0900)]
Fix status filtering in contexts reducer (#7149)

7 years agoRedirect to account status page for page of status stream entry (#7104)
Akihiko Odaki [Mon, 16 Apr 2018 08:04:31 +0000 (17:04 +0900)]
Redirect to account status page for page of status stream entry (#7104)

Commit 519119f657cf97ec187008a28dba00c1125a9292 missed a change for
stream entry page. Instead of duplicating the change, redirect to account
status page. It would also help crawlers (of search engines, for example)
to understand a stream entry URL and its corresponding status URL points
to the same page.

7 years agoWeblate translations (2018-04-15) (#7141)
Yamagishi Kazutoshi [Sun, 15 Apr 2018 14:56:03 +0000 (23:56 +0900)]
Weblate translations (2018-04-15) (#7141)

* Translated using Weblate (Galician)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Dutch)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 76.4% (449 of 587 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 92.3% (542 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 92.3% (542 of 587 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/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 (Polish)

Currently translated at 98.9% (581 of 587 strings)

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

* Translated using Weblate (French)

Currently translated at 99.6% (585 of 587 strings)

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

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Catalan)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Persian)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Persian)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (French)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Chinese (Traditional))

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 76.6% (450 of 587 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 92.6% (544 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 82.9% (487 of 587 strings)

Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/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 (Slovak)

Currently translated at 93.6% (550 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 95.4% (560 of 587 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Korean)

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Korean)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 82.9% (487 of 587 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 99.2% (278 of 280 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 87.3% (513 of 587 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 99.6% (279 of 280 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (75 of 75 strings)

Translation: Mastodon/Doorkeeper
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/doorkeeper/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 (Finnish)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Arabic)

Currently translated at 88.0% (517 of 587 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Spanish)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (75 of 75 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 95.4% (560 of 587 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (280 of 280 strings)

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

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

Currently translated at 100.0% (75 of 75 strings)

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

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

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (62 of 62 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 100.0% (58 of 58 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 25.8% (152 of 587 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 25.8% (152 of 587 strings)

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

* Translated using Weblate (Japanese)

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 33.0% (194 of 587 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Finnish)

Currently translated at 99.8% (586 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 95.5% (561 of 587 strings)

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

* Translated using Weblate (Slovak)

Currently translated at 100.0% (280 of 280 strings)

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

* Translated using Weblate (Esperanto)

Currently translated at 100.0% (587 of 587 strings)

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

* Translated using Weblate (Galician)

Currently translated at 100.0% (280 of 280 strings)

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

* yarn manage:translations

7 years agoAdd and revise Traditional Chinese (zh-TW) translation for serveral strings (#7002)
YMHuang [Sun, 15 Apr 2018 12:00:32 +0000 (12:00 +0000)]
Add and revise Traditional Chinese (zh-TW) translation for serveral strings (#7002)

* Translation: add and revise Traditional Chinese translation for serveral strings

* Translation: polish zh-TW locale

* Translation: polish zh-TW locale

7 years agoChange icon for domain blocks (#7139)
Marcin Mikołajczak [Sun, 15 Apr 2018 11:58:47 +0000 (13:58 +0200)]
Change icon for domain blocks (#7139)

* Change icon for domain blocks

Both domain blocks and user blocks uses the same icon…

* Update index.js

7 years agodocker-compose: Only bind ports 3000 and 4000 on localhost. (#7138)
Valentin Lorentz [Sun, 15 Apr 2018 11:57:58 +0000 (13:57 +0200)]
docker-compose: Only bind ports 3000 and 4000 on localhost. (#7138)

7 years agoi18n: Update Polish translation (#7131)
Marcin Mikołajczak [Sun, 15 Apr 2018 05:12:41 +0000 (07:12 +0200)]
i18n: Update Polish translation (#7131)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoAdd bio fields (#6645)
Eugen Rochko [Sat, 14 Apr 2018 10:41:08 +0000 (12:41 +0200)]
Add bio fields (#6645)

* Add bio fields

- Fix #3211
- Fix #232
- Fix #121

* Display bio fields in web UI

* Fix output of links and missing fields

* Federate bio fields over ActivityPub as PropertyValue

* Improve how the fields are stored, add to Edit profile form

* Add rel=me to links in fields

Fix #121

7 years agoi18n: Add Japanese translations for privacy policy and more (#7049)
mayaeh [Fri, 13 Apr 2018 11:11:26 +0000 (20:11 +0900)]
i18n: Add Japanese translations for privacy policy and more (#7049)

* Update Japanese translations.

* Update Japanese translations.

* Update Japanese translations.

* Update Japanese translations.

* Add Japanese translations for #6984, #7040, #7072.
Update Japanese translations for privacy policy.

* Add Japanese translations for #7032, #7074, #7089.

* Proofreading Japanese translations for privacy policy.

7 years agoEnsure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)
Eugen Rochko [Thu, 12 Apr 2018 23:27:22 +0000 (01:27 +0200)]
Ensure SynchronizeFeaturedCollectionWorker is unique and clean up (#7043)

* Ensure SynchronizeFeaturedCollectionWorker is unique and clean up

Fix #7041

* Fix code style issue

7 years agoWhen notification type filtered, ignore live updates for it (#7101)
Eugen Rochko [Thu, 12 Apr 2018 23:20:04 +0000 (01:20 +0200)]
When notification type filtered, ignore live updates for it (#7101)

Fix #5625

7 years agoAllow more than the max pins if account is not local (#7105)
Renato "Lond" Cerqueira [Thu, 12 Apr 2018 18:36:02 +0000 (20:36 +0200)]
Allow more than the max pins if account is not local (#7105)

Sidekiq sometimes throws errors for users that have more pinned items
than the allowed by the local instance. It should only validate the
number of pins for local accounts.

7 years agoUpgrade Rails to version 5.2.0 (#5898)
Yamagishi Kazutoshi [Thu, 12 Apr 2018 12:45:17 +0000 (21:45 +0900)]
Upgrade Rails to version 5.2.0 (#5898)

7 years agoupdate gem, test pam authentication (#7028)
Alexander [Wed, 11 Apr 2018 19:40:38 +0000 (21:40 +0200)]
update gem, test pam authentication (#7028)

* update gem, test pam authentication

* add description for test parameters

* fix inclusion of optional group

7 years agoPlace privacy dropdown menu top if it is closer to the bottom of the viewport (#7106)
ThibG [Wed, 11 Apr 2018 18:42:50 +0000 (20:42 +0200)]
Place privacy dropdown menu top if it is closer to the bottom of the viewport (#7106)

7 years agoPaginate ancestor statuses in public page (#7102)
Akihiko Odaki [Wed, 11 Apr 2018 10:35:09 +0000 (19:35 +0900)]
Paginate ancestor statuses in public page (#7102)

This also limits the statuses returned by API, but pagination is not
implemented in Web API yet. I still expect it brings user experience
better than making a user wait to fetch all ancestor statuses and flooding
the column with them.

7 years agoFeature: Improve reports ui (#7032)
Emelia Smith [Tue, 10 Apr 2018 18:27:59 +0000 (20:27 +0200)]
Feature: Improve reports ui (#7032)

* Further improvements to Reports UI

- Clean up notes display
- Clean up add new note form
- Simplify controller
- Allow reopening a report with a note
- Show created at date for reports
- Fix report details table formatting

* Show history of report using Admin::ActionLog beneath the report

* Fix incorrect log message when reopening a report

* Implement fetching of all ActionLog items that could be related to the report

* Ensure adding a report_note updates the report's updated_at

* Limit Report History to actions that happened between the report being created and the report being resolved

* Fix linting issues

* Improve report history builder

Thanks @gargron for the improvements

7 years agoImprove load gap styling in web UI (#7100)
Eugen Rochko [Tue, 10 Apr 2018 15:12:10 +0000 (17:12 +0200)]
Improve load gap styling in web UI (#7100)

7 years agoUse RAILS_LOG_LEVEL to set log level of Sidekiq, too (#7079)
Eugen Rochko [Tue, 10 Apr 2018 14:08:28 +0000 (16:08 +0200)]
Use RAILS_LOG_LEVEL to set log level of Sidekiq, too (#7079)

Fix #3565 (oops)

7 years agoChange custom emoji search to `ILIKE` instead of `=` (#7099)
Paul Woolcock [Tue, 10 Apr 2018 13:46:27 +0000 (09:46 -0400)]
Change custom emoji search to `ILIKE` instead of `=` (#7099)

7 years agoFeature: Allow staff to change user emails (#7074)
Emelia Smith [Tue, 10 Apr 2018 07:16:06 +0000 (09:16 +0200)]
Feature: Allow staff to change user emails (#7074)

* Admin: Show unconfirmed email address on account page

* Admin: Allow staff to change user email addresses

* ActionLog: On change_email, log current email address and new unconfirmed email address

7 years agoFix GIFV encoding params (#7098)
MIYAGI Hikaru [Tue, 10 Apr 2018 07:11:55 +0000 (16:11 +0900)]
Fix GIFV encoding params (#7098)

- Explicitly specify video codec.
  When ffmpeg isn't compiled with libx264 but openh264, mpeg4 is selected as video codec.
- Swap avarage bitrate and max bitrate.

7 years agoLog rate limit hits (#7096)
Eugen Rochko [Mon, 9 Apr 2018 23:20:18 +0000 (01:20 +0200)]
Log rate limit hits (#7096)

Fix #7095

7 years agoWhen creating status, if no sensitive status is given, use default (#7057)
Renato "Lond" Cerqueira [Mon, 9 Apr 2018 21:02:42 +0000 (23:02 +0200)]
When creating status, if no sensitive status is given, use default (#7057)

Clients using the API that do not provide the sensitive flag are always
posting with false sensitive option.

7 years agoFeature: Direct message from Statuses (#7089)
Emelia Smith [Mon, 9 Apr 2018 15:09:11 +0000 (17:09 +0200)]
Feature: Direct message from Statuses (#7089)

* Fix: Switching between composing direct message and mention from menus

Previously clicking "direct message" followed by "mention" resulted in the composed status staying as "direct", along with weird spacing of items in the text area. This attempts to fix that.

* Fix: Add missing proptype check for onMention in Status component

* Add the ability to send a direct message to a user from the menu on Statuses

* Add space between "Embed" and "Mention" on expanded statuses menu

7 years agoOptimize public/headers/missing.png (#7084)
Una [Mon, 9 Apr 2018 09:34:48 +0000 (05:34 -0400)]
Optimize public/headers/missing.png (#7084)

7 years agoi18n: Update Polish translation (#7085)
Marcin Mikołajczak [Mon, 9 Apr 2018 08:28:53 +0000 (10:28 +0200)]
i18n: Update Polish translation (#7085)

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoExclude status itself from context query (#7083)
Akihiko Odaki [Mon, 9 Apr 2018 07:58:53 +0000 (16:58 +0900)]
Exclude status itself from context query (#7083)

ancestor_statuses and descendant_statuses used to include the root status
itself, but the behavior is confusing because the root status is not
an ancestor nor descendant.

7 years agoHide search from Compose on mobile devices (#7077)
Emelia Smith [Sun, 8 Apr 2018 16:25:08 +0000 (18:25 +0200)]
Hide search from Compose on mobile devices (#7077)

* Hide search from Compose on mobile devices

We're presently seeing large numbers of users accidentally tooting what they're trying to search for. This PR hides the search form from the Compose view, now that we have a dedicated "search" tab on mobile.

* Don't "showSearch" on mobile if we're not currently searching (isSearchPage)

7 years agoAdd search item to tab bar for mobile devices (#7072)
Emelia Smith [Sun, 8 Apr 2018 12:26:58 +0000 (14:26 +0200)]
Add search item to tab bar for mobile devices (#7072)

* Add search item to tab bar for mobile devices

* Fix missing prop validation

7 years agoEnable updating additional account information from user preferences via rest api...
Levi Bard [Sun, 8 Apr 2018 11:43:10 +0000 (13:43 +0200)]
Enable updating additional account information from user preferences via rest api (#6789)

* Enable updating additional account information from user preferences via rest api
Resolves #6553

* Pacify rubocop

* Decoerce incoming settings in UserSettingsDecorator

* Create user preferences hash directly from incoming credentials instead of going through ActionController::Parameters

* Clean up user preferences update

* Use ActiveModel::Type::Boolean instead of manually checking stringified number equivalence

7 years agoFix follow/unfollow buttons on public profile (fixes #7036) (#7040)
ThibG [Sun, 8 Apr 2018 11:40:22 +0000 (13:40 +0200)]
Fix follow/unfollow buttons on public profile (fixes #7036) (#7040)

* Fix follow/unfollow buttons on public profile

- Present non-logged users with web+mastodon:// URLs for remote accounts
- Present logged-in users with appropriate links (authorize_follows and
  remote_unfollows) for remote accounts

* Do not cache rendered cards if user is logged in

7 years agoFree stroage if it is exceeding disk quota (#7061)
Akihiko Odaki [Sun, 8 Apr 2018 11:32:39 +0000 (20:32 +0900)]
Free stroage if it is exceeding disk quota (#7061)

7 years agoIgnore elasticsearch directory (#7070)
THE BOSS ♨ [Sun, 8 Apr 2018 07:57:16 +0000 (16:57 +0900)]
Ignore elasticsearch directory (#7070)

7 years agoAdd a circuit breaker for ActivityPub deliveries (#7053)
Eugen Rochko [Sat, 7 Apr 2018 19:36:58 +0000 (21:36 +0200)]
Add a circuit breaker for ActivityPub deliveries (#7053)

7 years agoi18n: improve "Welcome" translation in Portuguese (#7068)
Hisham Muhammad [Sat, 7 Apr 2018 19:36:03 +0000 (16:36 -0300)]
i18n: improve "Welcome" translation in Portuguese (#7068)

* i18n: update gender-neutral language for pt and pt-BR

Instead of using "bem-vindo(a)" (a masculine form of "Welcome"
with a "(a)" in the end to mean "bem-vinda" for the feminine form),
use "boas-vindas", which is a gender-neutral form of "Welcome").

There is already precedent for using "boas-vindas" in the
Brazilian Portuguese localization, in `config/locales/pt-BR.yml`.
European Portuguese dictionary Priberam also registers it as a valid form:
https://www.priberam.pt/dlpo/boas-vindas

* i18n: pt-BR minor orthography fix

The form "a bordo" does not take an accent.
http://oredator.com.br/curso-de-redacao/uncategorized/a-bordo-ou-a-bordo

7 years agoPrevent admins and moderators eavesdropping in private and direct toots (#7067)
Alda Marteau-Hardi [Sat, 7 Apr 2018 19:33:01 +0000 (21:33 +0200)]
Prevent admins and moderators eavesdropping in private and direct toots (#7067)

Fix #6986

7 years agoForward deletes on the same path as reply forwarding (#7058)
Eugen Rochko [Sat, 7 Apr 2018 16:54:46 +0000 (18:54 +0200)]
Forward deletes on the same path as reply forwarding (#7058)

* Forward deletes on the same path as reply forwarding

* Remove trailing whitespace

7 years agoRemove duplicate frequently used emojis (#7064)
Harmon [Sat, 7 Apr 2018 12:53:11 +0000 (07:53 -0500)]
Remove duplicate frequently used emojis (#7064)

7 years agoretrieve custom emoji list via API instead of before page load (#7047)
Isatis [Wed, 4 Apr 2018 20:25:34 +0000 (13:25 -0700)]
retrieve custom emoji list via API instead of before page load (#7047)

7 years agoAdjust privacy policy (#6666)
Eugen Rochko [Wed, 4 Apr 2018 19:47:39 +0000 (21:47 +0200)]
Adjust privacy policy (#6666)

* Adjust privacy policy to be more specific to Mastodon

Fix #6613

* Change data retention of IP addresses from 5 years to 1 year

* Add even more information

* Remove all (now invalid) translations of the privacy policy

* Add information about archive takeout, remove pointless consent section

* Emphasis on DM privacy

* Improve wording

* Add line about data use for moderation purposes

7 years agoi18n: Update Polish translation (#7037)
Marcin Mikołajczak [Wed, 4 Apr 2018 18:13:43 +0000 (20:13 +0200)]
i18n: Update Polish translation (#7037)

* i18n: Update Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
* i18n: Update Polish translation

Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
7 years agoRevert "Add double-tap zoom functionary to `ZoomableImage` (#6944)" (#7035)
Emelia Smith [Wed, 4 Apr 2018 09:58:15 +0000 (11:58 +0200)]
Revert "Add double-tap zoom functionary to `ZoomableImage` (#6944)" (#7035)

Unfortunately the new hammer.js functionality wasn't correctly tested and didn't work across devices and browsers, as such, it's best to revert PR #6944 until we can revisit this functionality and make it work across all devices and browsers that are supported by Mastodon.

This reverts commit 5021c4e9ca78881f5379a18185a46e580b8f2c34.

7 years agoAdd contact account to landing page ("Administered by") (#6984)
Eugen Rochko [Tue, 3 Apr 2018 23:11:26 +0000 (01:11 +0200)]
Add contact account to landing page ("Administered by") (#6984)

7 years agoFix french wording of reblogged toots in public views, matching the wording of reblog...
ThibG [Tue, 3 Apr 2018 19:09:14 +0000 (21:09 +0200)]
Fix french wording of reblogged toots in public views, matching the wording of reblogged_by (#7029)

7 years agoFix nil account issue in ProcessAccountService (#7019)
Nolan Lawson [Tue, 3 Apr 2018 11:08:11 +0000 (04:08 -0700)]
Fix nil account issue in ProcessAccountService (#7019)

7 years agoImprove require_admin! and require_staff! filters (#7018)
Emelia Smith [Tue, 3 Apr 2018 11:07:32 +0000 (13:07 +0200)]
Improve require_admin! and require_staff! filters (#7018)

Previously these returns 302 redirects instead of 403s, which meant posting links to admin pages in slack caused them to unfurl, rather than stay as a link. Additionally, require_admin! doesn't appear to be actively used, on require_staff!

7 years agoi18n: Add Japanese translations for #7000 (#7022)
mayaeh [Tue, 3 Apr 2018 09:21:33 +0000 (18:21 +0900)]
i18n: Add Japanese translations for #7000 (#7022)

* run yarn manage:translations.

* run i18n-tasks add-missing ja.

* Update Japanese translations.

7 years agoFeature: Report improvements (#6967) (#7000)
Emelia Smith [Mon, 2 Apr 2018 20:04:14 +0000 (22:04 +0200)]
Feature: Report improvements (#6967) (#7000)

* Implement Assignment of Reports (#6967)

* Change translation of admin.report.comment.label to "Report Comment" for clarity

As we'll soon add the ability for reports to have comments on them, this clarification makes sense.

* Implement notes for Reports

This enables moderators to leave comments about a report whilst they work on it

* Fix display of report moderation notes

* Allow reports to be reopened / marked as unresolved

* Redirect to reports listing upon resolution of report

* Implement "resolve with note" functionality

* Add inverse relationship for report notes

* Remove additional database querying when loading report notes

* Fix tests for reports

* Fix localisations for report notes / reports

7 years agoDo not default SMTP verify mode to "peer", default to "none" (#6996)
Eugen Rochko [Mon, 2 Apr 2018 17:19:51 +0000 (19:19 +0200)]
Do not default SMTP verify mode to "peer", default to "none" (#6996)

7 years ago Add missing rejection handling for Promises (#7008)
unarist [Mon, 2 Apr 2018 12:51:02 +0000 (21:51 +0900)]
 Add missing rejection handling for Promises (#7008)

* Add eslint-plugin-promise to detect uncaught rejections

* Move alert generation for errors to actions/alert

* Add missing rejection handling for Promises

* Use catch() instead of onReject on then()

Then it will catches rejection from onFulfilled. This detection can be
disabled by `allowThen` option, though.