]>
cat aescling's git repositories - mastodon.git/log
Yamagishi Kazutoshi [Mon, 31 Dec 2018 17:11:48 +0000 (02:11 +0900)]
Update dependencies for Node.js (2018-12-31) (#9669)
* Update react-* to v16.7.0
* Upgrade react-hotkeys to v1.1.4
* Update react-intl to v2.7.2
* Update react-select to v2.2.0
* Update react-swipeable-views to v0.13.0
* Upgrade react-textarea-autosize to v7.1.0
* Upgrade redux to v4.0.1
* Upgrade reselect to v4.0.0
* Update raf to v3.4.1
* Update enzyme to v3.8.0
* Update rails-ujs to v5.2.2
* Update axios to v0.18.0
* Update http-link-header to v1.0.2
* Update rellax to v1.7.1
* Update intersection-observer to v0.5.1
* Update stringz to v1.0.0
* Upgrade babel-eslint to v10.0.1
* Update @babel/* to v7.2.x
* Update babel-plugin-react-intl to v3.0.1
* Update babel-plugin-transform-react-remove-prop-types to v0.4.21
* Upgrade dotenv to v6.2.0
* Update express to v4.16.4
* Update webpack to v4.28.3
* Upgrade autoprefixer to v9.4.3
* Update babel-loader to v8.0.4
* Upgrade css-loader to v2.1.0
* Upgrade file-loader to v3.0.1
* Update marky to v1.2.1
* Update mini-css-extract-plugin to v0.5.0
* Update offline-plugin to v5.0.6
* Update style-loader to v0.23.1
* Update eslint-plugin-jsx-a11y to v6.1.2
* yarn upgrade
* fix
* Replace webpack-manifest-plugin to webpack-assets-manifest
* Replace node-zopfli to @gfz/zopfli
* Remove monkey-patch for http-link-header
kodai [Mon, 31 Dec 2018 14:29:10 +0000 (23:29 +0900)]
Fix links not being verified (#9673)
Fix #9365
Fred Wenzel [Mon, 31 Dec 2018 04:08:50 +0000 (20:08 -0800)]
Install both rvm gpg keys in vagrant (#9670)
Jeong Arm [Sun, 30 Dec 2018 18:00:29 +0000 (03:00 +0900)]
Skip full text search if failed (#9654)
* Skip full text search if failed
* Move rescue block to "perform_statuses_search!"
ThibG [Sun, 30 Dec 2018 18:00:04 +0000 (19:00 +0100)]
Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)
ThibG [Sun, 30 Dec 2018 17:58:51 +0000 (18:58 +0100)]
Do not ignore federated reports targetting already-reported accounts (#9534)
ThibG [Sun, 30 Dec 2018 17:58:25 +0000 (18:58 +0100)]
Immediately go back in browser history upon successfully sending toot (#9663)
Avoids possible misleading delay before redirection during which the
composer would be cleared and redrawn.
Takeshi Umeda [Sun, 30 Dec 2018 17:57:50 +0000 (02:57 +0900)]
If it is disabled, remove the link of the profile directory (#9665)
ThibG [Sun, 30 Dec 2018 17:57:39 +0000 (18:57 +0100)]
Fix crash when clearing uninitialized timeline (#9662)
ThibG [Sun, 30 Dec 2018 08:48:59 +0000 (09:48 +0100)]
Reduce usage of LD signatures (#9659)
* Do not LDS-sign Follow, Accept, Reject, Undo, Block
* Do not use LDS for Create activities of private toots
* Minor cleanup
* Ignore unsigned activities instead of misattributing them
* Use status.distributable? instead of querying visibility directly
ysksn [Sat, 29 Dec 2018 07:24:52 +0000 (16:24 +0900)]
Add specs for FollowLimitValidator (#9655)
ysksn [Sat, 29 Dec 2018 06:23:44 +0000 (15:23 +0900)]
Add specs for BlackListedEmailValidator (#9651)
* Add specs for BlackListedEmailValidator
* Use instance variable
ashleyhull-versent [Sat, 29 Dec 2018 06:23:07 +0000 (17:23 +1100)]
Replace Ruby 2.3 with 2.6 in CircleCI (#9652)
* Update config.yml
* Update Gemfile
* dropping ruby 2.3
2.3 EOL date: scheduled for 2019-03-31
* Updating docker containers
* Update Gemfile
ysksn [Sat, 29 Dec 2018 06:22:51 +0000 (15:22 +0900)]
Add specs for DisallowedHashtagsValidator (#9653)
In order to implement tests easier, `#select_tags` created.
Eugen Rochko [Sat, 29 Dec 2018 01:24:36 +0000 (02:24 +0100)]
Add handler for Move activity (#9629)
Ben Lubar [Fri, 28 Dec 2018 23:43:41 +0000 (17:43 -0600)]
Add healthcheck commands to docker-compose.yml (#9143)
This will allow Docker to be automatically check the health of services.
Docker won't do anything other than showing the state in the output of
"docker-compose ps" by default, but some management tools may watch for
container health events.
Here's what my local instance looks like right now:
Name Command State Ports
-------------------------------------------------------------------------------------------------------------
mastodon_db_1 docker-entrypoint.sh postgres Up (healthy)
mastodon_es_1 /usr/local/bin/docker-entr ... Up (healthy)
mastodon_redis_1 docker-entrypoint.sh redis ... Up (healthy)
mastodon_redis_cache_1 docker-entrypoint.sh redis ... Up (healthy)
mastodon_sidekiq_1 /sbin/tini -- bundle exec ... Up 3000/tcp, 4000/tcp
mastodon_streaming_1 /sbin/tini -- yarn start Up (healthy) 3000/tcp, 127.0.0.1:4000->4000/tcp
mastodon_web_1 /sbin/tini -- bash -c rm - ... Up (healthy) 127.0.0.1:3000->3000/tcp, 4000/tcp
ysksn [Fri, 28 Dec 2018 09:09:32 +0000 (18:09 +0900)]
Add specs for StatusPinValidator (#9648)
ysksn [Fri, 28 Dec 2018 07:18:47 +0000 (16:18 +0900)]
Add pending specs for StatusLengthValidator (#9647)
* Add pending specs of StatusLengthValidator
* Use instance variable
mayaeh [Fri, 28 Dec 2018 02:51:32 +0000 (11:51 +0900)]
Change the icon to "reply-all" when reply to other accounts (#9378)
Eugen Rochko [Fri, 28 Dec 2018 02:38:41 +0000 (03:38 +0100)]
Improve admin UI for account view (#9643)
Aditoo17 [Fri, 28 Dec 2018 00:01:15 +0000 (01:01 +0100)]
I18n: Update Czech translation (#9644)
* I18n: Update Czech translation
* I18n: Update Czech translation
chr v1.x [Thu, 27 Dec 2018 12:15:39 +0000 (04:15 -0800)]
Add local followers page to admin account UI (#9610)
* Add local followers page to admin account UI
For moderation, I often find myself wondering who, locally, is following
a remote user. Currently, to see this, I have to go back to the web UI,
paste in their full handle, click their profile, and go to the
"Followers" tab (plus, this information is incidental, and if mastodon
ever decides to resolve all of the follower information, there will be
no place local followers are shown). This PR adds a new page which is
accessible via the "following" count on the admin's account view
page, which shows the local followers. (It has filter parameters for
account location to indicate that only local followers are shown, and
leave room for expansion if mastodon ever decides to store the entire
remote follow list).
* Normalize en.yml
Renato "Lond" Cerqueira [Thu, 27 Dec 2018 11:25:30 +0000 (12:25 +0100)]
Weblate translations (2018-12-27) (#9642)
* Translated using Weblate (Occitan)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Occitan)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/oc/
* Translated using Weblate (Greek)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Czech)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Czech)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (French)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Dutch)
Currently translated at 100,0% (717 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (French)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Slovak)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Korean)
Currently translated at 100.0% (717 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/
* Translated using Weblate (Arabic)
Currently translated at 97.5% (699 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Greek)
Currently translated at 93.8% (332 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Corsican)
Currently translated at 93.8% (332 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/co/
* Translated using Weblate (Arabic)
Currently translated at 98.6% (349 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ar/
* Translated using Weblate (Chinese (Simplified))
Currently translated at 78.2% (277 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/zh_Hans/
* Translated using Weblate (Basque)
Currently translated at 93.8% (332 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/eu/
* Translated using Weblate (Dutch)
Currently translated at 93,8% (332 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Galician)
Currently translated at 92,9% (329 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/gl/
* Translated using Weblate (Greek)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (Galician)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Galician)
Currently translated at 100,0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/gl/
* Translated using Weblate (Corsican)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/co/
* Translated using Weblate (Korean)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Tamil)
Currently translated at 14.4% (51 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ta/
* Translated using Weblate (Russian)
Currently translated at 85.6% (303 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ru/
* Translated using Weblate (Italian)
Currently translated at 93.8% (332 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/it/
* Translated using Weblate (Occitan)
Currently translated at 93.8% (332 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Spanish)
Currently translated at 88.1% (312 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/es/
* Translated using Weblate (German)
Currently translated at 93.5% (331 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Translated using Weblate (Hungarian)
Currently translated at 63.0% (223 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/hu/
* Translated using Weblate (Portuguese)
Currently translated at 65.0% (230 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/pt/
* Translated using Weblate (Hebrew)
Currently translated at 61.9% (219 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/he/
* Translated using Weblate (Chinese (Traditional))
Currently translated at 92.9% (329 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/zh_Hant/
* Translated using Weblate (Dutch)
Currently translated at 94.9% (336 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/sk/
* Translated using Weblate (Corsican)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/co/
* Translated using Weblate (Dutch)
Currently translated at 100,0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Dutch)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/nl/
* Translated using Weblate (Slovak)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/sk/
* Translated using Weblate (Arabic)
Currently translated at 97.4% (698 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (German)
Currently translated at 100,0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/de/
* Added translation using Weblate (Hindi)
* Translated using Weblate (Corsican)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (French)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/fr/
* Translated using Weblate (Esperanto)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/eo/
* Translated using Weblate (German)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (Esperanto)
Currently translated at 100.0% (354 of 354 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/eo/
* Translated using Weblate (Esperanto)
Currently translated at 98.3% (705 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/eo/
* Translated using Weblate (French)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/
* Translated using Weblate (Polish)
Currently translated at 90.3% (84 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/pl/
* Normalize translations
* Add missing plurals, remove unused translations
dependabot[bot] [Thu, 27 Dec 2018 11:23:27 +0000 (12:23 +0100)]
Bump webmock from 3.4.2 to 3.5.1 (#9641)
Bumps [webmock](https://github.com/bblimke/webmock) from 3.4.2 to 3.5.1.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.4.2...v3.5.1)
Signed-off-by: dependabot[bot] <support@dependabot.com>
Eugen Rochko [Thu, 27 Dec 2018 02:42:35 +0000 (03:42 +0100)]
Add exclude_reblogs option to account statuses API (#9640)
Fix #9606
Eugen Rochko [Thu, 27 Dec 2018 02:42:29 +0000 (03:42 +0100)]
Redirect to reports overview instead of report after account action (#9639)
Quentí [Wed, 26 Dec 2018 18:16:40 +0000 (19:16 +0100)]
[i18n] OC/CAT/FR «crop» => «change preview» (#9636)
* Rename "crop" to "change preview" (tootsuite#9616)
* Rename "crop" to "change preview" (tootsuite#9616)
* Rename "crop" to "change preview" (tootsuite#9616)
ThibG [Wed, 26 Dec 2018 18:16:15 +0000 (19:16 +0100)]
Fix account unsilencing and unsuspension (#9637)
Fix regression from
3c033c4352f8b156887cd7157b4a89c23a545838
Eugen Rochko [Wed, 26 Dec 2018 18:15:53 +0000 (19:15 +0100)]
Fix ThreadResolveWorker getting queued with invalid URLs (#9628)
Eugen Rochko [Wed, 26 Dec 2018 18:15:43 +0000 (19:15 +0100)]
Fix signature verification stoplight triggering on non-timeout errors (#9617)
dependabot[bot] [Wed, 26 Dec 2018 05:39:17 +0000 (06:39 +0100)]
Bump cld3 from 3.2.2 to 3.2.3 (#9632)
Bumps [cld3](https://github.com/akihikodaki/cld3-ruby) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/akihikodaki/cld3-ruby/releases)
- [Commits](https://github.com/akihikodaki/cld3-ruby/compare/v3.2.2...v3.2.3)
Signed-off-by: dependabot[bot] <support@dependabot.com>
ysksn [Wed, 26 Dec 2018 05:38:59 +0000 (14:38 +0900)]
Fix scope latest of ReportNote (#9630)
ysksn [Wed, 26 Dec 2018 05:38:42 +0000 (14:38 +0900)]
Create DomainNormalizable#normalize_domain (#9631)
Takeshi Umeda [Tue, 25 Dec 2018 18:35:26 +0000 (03:35 +0900)]
Add error message with invalid email confirmation (#9625)
ysksn [Tue, 25 Dec 2018 17:29:51 +0000 (02:29 +0900)]
Remove Form::StatusBatch::ACTION_TYPE unused (#9623)
Aboobacker MK [Tue, 25 Dec 2018 17:29:30 +0000 (22:59 +0530)]
Add support for Malayalam in language filter (#9624)
Eugen Rochko [Mon, 24 Dec 2018 18:12:38 +0000 (19:12 +0100)]
Add REST API for creating an account (#9572)
* Add REST API for creating an account
The method is available to apps with a token obtained via the client
credentials grant. It creates a user and account records, as well as
an access token for the app that initiated the request. The user is
unconfirmed, and an e-mail is sent as usual.
The method returns the access token, which the app should save for
later. The REST API is not available to users with unconfirmed
accounts, so the app must be smart to wait for the user to click a
link in their e-mail inbox.
The method is rate-limited by IP to 5 requests per 30 minutes.
* Redirect users back to app from confirmation if they were created with an app
* Add tests
* Return 403 on the method if registrations are not open
* Require agreement param to be true in the API when creating an account
Eugen Rochko [Mon, 24 Dec 2018 18:12:18 +0000 (19:12 +0100)]
Rename "crop" to "change preview" (#9616)
Eugen Rochko [Mon, 24 Dec 2018 18:12:00 +0000 (19:12 +0100)]
Update emoji codepoint mappings to v11.0 (#9618)
ThibG [Mon, 24 Dec 2018 18:06:14 +0000 (19:06 +0100)]
Limit maximum visibility of local silenced users to unlisted (#9583)
Fixes #9580
ThibG [Sun, 23 Dec 2018 01:16:35 +0000 (02:16 +0100)]
Sanitize and sandbox toot embeds (#9552)
Eugen Rochko [Sat, 22 Dec 2018 22:32:00 +0000 (23:32 +0100)]
Remove links to bridge.joinmastodon.org (non-functional) (#9608)
Add link to profile directory
Eugen Rochko [Sat, 22 Dec 2018 22:31:23 +0000 (23:31 +0100)]
Show 40 profiles per directory page instead of 30 (#9609)
To better align with the list of hashtags
Eugen Rochko [Sat, 22 Dec 2018 19:02:09 +0000 (20:02 +0100)]
Add moderation warnings (#9519)
* Add moderation warnings
Replace individual routes for disabling, silencing, and suspending
a user, as well as the report update route, with a unified account
action controller that allows you to select an action (none,
disable, silence, suspend) as well as whether it should generate an
e-mail notification with optional custom text. That notification,
with the optional custom text, is saved as a warning.
Additionally, there are warning presets you can configure to save
time when performing the above.
* Use Account#local_username_and_domain
Quentí [Sat, 22 Dec 2018 17:27:03 +0000 (18:27 +0100)]
[i18n] Occitan update (#9607)
* Update for new On Board messages
* Update oc.json
ysksn [Sat, 22 Dec 2018 01:35:55 +0000 (10:35 +0900)]
Remove MailerHelper does nothing (#9604)
Marcin Mikołajczak [Fri, 21 Dec 2018 17:56:24 +0000 (18:56 +0100)]
i18n: Update Polish translation (#9594)
Signed-off-by: Marcin Mikołajczak <me@m4sk.in>
ysksn [Fri, 21 Dec 2018 17:52:57 +0000 (02:52 +0900)]
Add specs for CustomEmojiFilter (#9599)
ThibG [Fri, 21 Dec 2018 17:52:41 +0000 (18:52 +0100)]
Fix composer not getting focus after reply confirmation dialog (#9602)
The modal-handling code gives back focus to the element focused when the
modal opened. However, in the case of reply confirmation, it would do so
*after* the composer code itself requested focus.
ysksn [Fri, 21 Dec 2018 08:34:34 +0000 (17:34 +0900)]
Add specs for AdminMailer (#9597)
ysksn [Fri, 21 Dec 2018 07:59:56 +0000 (16:59 +0900)]
Add specs for InstancePresenter (#9596)
Eugen Rochko [Fri, 21 Dec 2018 05:16:17 +0000 (06:16 +0100)]
Skip mailer job retries when a record no longer exists (#9590)
Fix #8666
ysksn [Thu, 20 Dec 2018 16:52:18 +0000 (01:52 +0900)]
Add specs for ReportNotePolicy (#9592)
ysksn [Thu, 20 Dec 2018 16:52:07 +0000 (01:52 +0900)]
Add specs for policies (#9591)
* Add spec for RelayPolicy
* Add specs for SubscriptionPolicy
* Add specs for SettingsPolicy
* Add specs for TagPolicy
* Add specs for ReportPolicy
ysksn [Thu, 20 Dec 2018 16:51:55 +0000 (01:51 +0900)]
Add specs for UserPolicy (#9593)
ysksn [Thu, 20 Dec 2018 03:23:09 +0000 (12:23 +0900)]
Add specs for InvitePolicy (#9589)
ysksn [Thu, 20 Dec 2018 02:51:41 +0000 (11:51 +0900)]
Add specs for EmailDomainBlockPolicy (#9586)
ysksn [Thu, 20 Dec 2018 02:51:31 +0000 (11:51 +0900)]
Add specs for InstancePolicy (#9587)
ysksn [Thu, 20 Dec 2018 02:47:51 +0000 (11:47 +0900)]
Add specs for DomainBlockPolicy (#9585)
ysksn [Thu, 20 Dec 2018 02:24:28 +0000 (11:24 +0900)]
Add specs for CustomEmojiPolicy (#9584)
Eugen Rochko [Thu, 20 Dec 2018 00:30:43 +0000 (01:30 +0100)]
Allow unauthenticated REST API access to GET /api/v1/accounts/:id/statuses (#9573)
Fix #7087
The same data is available over the ActivityPub outbox, RSS, and Atom, so
there is little benefit to keeping it limited in this method.
ThibG [Wed, 19 Dec 2018 21:23:16 +0000 (22:23 +0100)]
Fix unnecessary loadMore calls when the end of a timeline has been reached (#9581)
Fixes #9568
ysksn [Wed, 19 Dec 2018 17:24:15 +0000 (02:24 +0900)]
Add specs for BackupPolicy (#9576)
Renato "Lond" Cerqueira [Wed, 19 Dec 2018 12:07:05 +0000 (13:07 +0100)]
Weblate translations (2018-12-19) (#9578)
* Translated using Weblate (Greek)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Czech)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Japanese)
Currently translated at 97.5% (699 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Slovak)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Dutch)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Galician)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/gl/
* Translated using Weblate (Korean)
Currently translated at 100.0% (717 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ko/
* Translated using Weblate (Korean)
Currently translated at 100.0% (350 of 350 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Korean)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ko/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 98.9% (709 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/pt_BR/
* Translated using Weblate (Portuguese (Brazil))
Currently translated at 97.8% (91 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/pt_BR/
* Translated using Weblate (Corsican)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/co/
* Translated using Weblate (French)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (French)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/fr/
* Translated using Weblate (Arabic)
Currently translated at 96.8% (90 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ar/
* Translated using Weblate (Arabic)
Currently translated at 96.8% (694 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ar/
* Translated using Weblate (Dutch)
Currently translated at 100,0% (717 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/nl/
* Translated using Weblate (Czech)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Slovak)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/sk/
* Translated using Weblate (Czech)
Currently translated at 100.0% (350 of 350 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Translated using Weblate (Czech)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Italian)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/it/
* Translated using Weblate (Czech)
Currently translated at 99,9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Catalan)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/ca/
* Translated using Weblate (Catalan)
Currently translated at 100,0% (717 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ca/
* Translated using Weblate (Czech)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Occitan)
Currently translated at 100,0% (350 of 350 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/oc/
* Translated using Weblate (Occitan)
Currently translated at 99,7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/oc/
* Translated using Weblate (Occitan)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/oc/
* Translated using Weblate (Czech)
Currently translated at 99.9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/cs/
* Translated using Weblate (Greek)
Currently translated at 99.7% (715 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/el/
* Translated using Weblate (Greek)
Currently translated at 100.0% (350 of 350 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/el/
* Translated using Weblate (French)
Currently translated at 100.0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/fr/
* Translated using Weblate (German)
Currently translated at 100,0% (93 of 93 strings)
Translation: Mastodon/Preferences
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/simple_form/de/
* Translated using Weblate (German)
Currently translated at 99,9% (716 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/de/
* Translated using Weblate (Japanese)
Currently translated at 97,5% (699 of 717 strings)
Translation: Mastodon/Backend
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/backend/ja/
* Translated using Weblate (Korean)
Currently translated at 100,0% (350 of 350 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/ko/
* Translated using Weblate (Czech)
Currently translated at 100.0% (350 of 350 strings)
Translation: Mastodon/React
Translate-URL: https://weblate.joinmastodon.org/projects/mastodon/frontend/cs/
* Normalize translations
* Normalize translations, remove unused, add missing plurals
ysksn [Wed, 19 Dec 2018 07:56:59 +0000 (16:56 +0900)]
Add specs for AccountPolicy (#9575)
mayaeh [Wed, 19 Dec 2018 07:51:02 +0000 (16:51 +0900)]
Update Japanese translations. (#9574)
ysksn [Wed, 19 Dec 2018 06:24:03 +0000 (15:24 +0900)]
Add specs for AccountModerationNotePolicy (#9571)
ysksn [Wed, 19 Dec 2018 04:19:20 +0000 (13:19 +0900)]
Add specs for StatusPolicy (#9569)
Hinaloe [Tue, 18 Dec 2018 21:28:09 +0000 (06:28 +0900)]
improved appearance of notification filter on safari (#9564)
ThibG [Tue, 18 Dec 2018 21:00:18 +0000 (22:00 +0100)]
Clean up dead code in public timeline code (#9565)
kedama [Tue, 18 Dec 2018 15:43:50 +0000 (00:43 +0900)]
Back to the getting-started when pins the timeline. (#9561)
ysksn [Tue, 18 Dec 2018 15:43:03 +0000 (00:43 +0900)]
Add spec for AccountableConcern#log_action (#9559)
dependabot[bot] [Tue, 18 Dec 2018 15:41:41 +0000 (16:41 +0100)]
Bump nokogiri from 1.8.5 to 1.9.1 (#9557)
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.8.5 to 1.9.1.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.8.5...v1.9.1)
Signed-off-by: dependabot[bot] <support@dependabot.com>
jomo [Tue, 18 Dec 2018 15:40:30 +0000 (16:40 +0100)]
fix CSP / X-Frame-Options for media embeds (#9558)
Eugen Rochko [Tue, 18 Dec 2018 00:22:29 +0000 (01:22 +0100)]
Fix tootctl accounts rotate not updating public keys (#9556)
This allowed you to brick your system when running that command, because the accounts would continue to advertise the old public key, but sign things with the new one
Eugen Rochko [Mon, 17 Dec 2018 20:08:40 +0000 (21:08 +0100)]
Make notifications quick-filter use consistent style with profile tabs (#9554)
ThibG [Mon, 17 Dec 2018 18:19:45 +0000 (19:19 +0100)]
Ignore low-confidence CharlockHolmes guesses when parsing link cards (#9510)
* Add failing test for windows-1251 link cards
* Ignore low-confidence CharlockHolmes guesses
Fixes #9466
* Fix no method error when charlock holmes cannot detect charset
ThibG [Mon, 17 Dec 2018 16:02:59 +0000 (17:02 +0100)]
Minor scrollable list fixes (#9551)
* Make sure loading indicator has enough vertical space
* Respect reduce_motion setting for loading indicator
ysksn [Mon, 17 Dec 2018 10:40:51 +0000 (19:40 +0900)]
Move #set_user to Admin::BaseController (#9470)
* Move #set_user to Admin::BaseController
* Rename Admin::TwoFactorAuthenticationsController
from `#set_user` to `#set_target_user` .
ysksn [Mon, 17 Dec 2018 10:36:20 +0000 (19:36 +0900)]
Add spec for Api::V1::Timelines::DirectController (#9547)
ysksn [Mon, 17 Dec 2018 10:35:55 +0000 (19:35 +0900)]
Add specs for Api::V1::Instances::PeersController (#9546)
ysksn [Mon, 17 Dec 2018 10:32:44 +0000 (19:32 +0900)]
Add spec for Api::V1::EndorsementsController (#9543)
ysksn [Mon, 17 Dec 2018 10:32:24 +0000 (19:32 +0900)]
Add spec for Api::V1::Instances::ActivityController (#9545)
Eugen Rochko [Mon, 17 Dec 2018 10:07:17 +0000 (11:07 +0100)]
Add new first-time tutorial (#9531)
* Prepare to load onboarding as a full page
* Update the first-time introduction
* Improve responsive design
* Replace speech bubble with logo
* Increase text size and reword first paragraph
dependabot[bot] [Mon, 17 Dec 2018 09:15:14 +0000 (10:15 +0100)]
Bump omniauth from 1.8.1 to 1.9.0 (#9544)
Bumps [omniauth](https://github.com/omniauth/omniauth) from 1.8.1 to 1.9.0.
- [Release notes](https://github.com/omniauth/omniauth/releases)
- [Commits](https://github.com/omniauth/omniauth/compare/v1.8.1...v1.9.0)
Signed-off-by: dependabot[bot] <support@dependabot.com>
ysksn [Mon, 17 Dec 2018 05:03:51 +0000 (14:03 +0900)]
Add specs for Accounts::PinsController (#9542)
Eugen Rochko [Mon, 17 Dec 2018 03:32:36 +0000 (04:32 +0100)]
Fix regression in #9539 (#9541)
Eugen Rochko [Mon, 17 Dec 2018 02:14:28 +0000 (03:14 +0100)]
Remove "most popular" tab from profile directory, add responsive design (#9539)
* Remove "most popular" tab from profile directory, add responsive design
* Remove unused translations
Eugen Rochko [Mon, 17 Dec 2018 02:14:13 +0000 (03:14 +0100)]
Do no retry web push workers if the server returns a 4xx response (#9434)
Add timeout of 10s to web push requests
ThibG [Sun, 16 Dec 2018 20:17:56 +0000 (21:17 +0100)]
Split out is_changing_upload from is_submitting (#9536)
There is no reason to disable the composer textarea when some media metadata
is being modified, nor is there any reason to focus the textarea when some
media metadata has been modified (prevents clicking one image's description
field right after having modified another).
Eugen Rochko [Sun, 16 Dec 2018 20:17:15 +0000 (21:17 +0100)]
Remove PostgreSQL statement timeout (#9537)
Revert #9382
Paweł Ngei [Sun, 16 Dec 2018 04:56:41 +0000 (05:56 +0100)]
Add notification quick-filter bar in the frontend app (#9399)
* create FilterBar componer and its container, unstyled
* introduce basic styling for FilterBar
* add selection css
* allow FilterBar to display active CSS with js
* connect the FilterBar to the Redux state
* change getNotifications to use filter
* remove temporary comments
* add an option to turn the FilterBar off in settings
* fix showFilterBar data type to boolean
* fix eslint errors
* add English and Polish translations
* allowed filter bar overflow to accomodate for longer languages
* fix mispelled translation key
* add unified CSS look
* replace text in FilterBar with icons
* add tooltips
* replace text @ with an icon
* introduce simple and advanced filtering view
* add ability to toggle the advanced view
* add Polish translations
* change Advanced View description to be more clear
* make each filter flush notifications and load new ones, fixing pagination
* simplify getNotifications once frontend filtering is not needed for FilterBar
* add a semicolon
* Revert "simplify getNotifications once frontend filtering is not needed for FilterBar"
This reverts commit
9f4be7857135b0327814bd22a3e8a4e7b546f7cc .
* reset filter to 'all' when turning off FilterBar
Isatis [Sun, 16 Dec 2018 04:50:09 +0000 (20:50 -0800)]
Dockerfile: Nodejs 8.12 -> 8.14 (#9532)
Aditoo17 [Sat, 15 Dec 2018 08:08:54 +0000 (09:08 +0100)]
I18n: Correct pluralization of Czech (#9527)
* I18n: Correct pluralization of Czech
* I18n: Correct pluralization of Czech
dependabot[bot] [Fri, 14 Dec 2018 19:37:29 +0000 (20:37 +0100)]
Bump aws-sdk-s3 from 1.27.0 to 1.30.0 (#9429)
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.27.0 to 1.30.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)
Signed-off-by: dependabot[bot] <support@dependabot.com>
ysksn [Fri, 14 Dec 2018 19:37:01 +0000 (04:37 +0900)]
Add spec for Admin::ActionLogsController#index (#9522)
ysksn [Fri, 14 Dec 2018 19:36:40 +0000 (04:36 +0900)]
Add specs for RemoteInteractionController (#9524)
ysksn [Fri, 14 Dec 2018 19:36:18 +0000 (04:36 +0900)]
Add spec for Admin::DashboardController#index (#9523)
ThibG [Fri, 14 Dec 2018 19:35:26 +0000 (20:35 +0100)]
When posting in mobile mode, go back to previous history location (#9502)
Fixes #7112
ThibG [Fri, 14 Dec 2018 19:34:18 +0000 (20:34 +0100)]
Make avatar and headers respect `auto_play_gif` (#9515)
* Do not animate account header art if user's GIF autoplay setting is off
Fixes #9472
* Honour currently logged-in user's GIF autoplay setting for account avatars
Fixes #9467
* Fix avatar display on some public pages when data is stored on a different host
* Use ternary operator instead of if/else for avatar/header URL