]> cat aescling's git repositories - mastodon.git/log
mastodon.git
7 years agoChange remote interaction dialog to use specific actions (#9743)
Eugen Rochko [Mon, 7 Jan 2019 14:36:26 +0000 (15:36 +0100)]
Change remote interaction dialog to use specific actions (#9743)

* Change remote interaction dialog to use specific actions

Instead of just "interact", use different strings based on whether
it's a reply, reblog or favourite. Add explanation why the step
is necessary in the first place

* Remove obsolete strings

7 years agoAdd locale param to sign-up API (#9747)
Eugen Rochko [Mon, 7 Jan 2019 13:50:20 +0000 (14:50 +0100)]
Add locale param to sign-up API (#9747)

Fix #9627

7 years agoFix regression in custom emoji migration (#9742)
Eugen Rochko [Mon, 7 Jan 2019 08:47:00 +0000 (09:47 +0100)]
Fix regression in custom emoji migration (#9742)

Fix #9741

7 years agorefactored account.js (#9739)
0xflotus [Mon, 7 Jan 2019 07:23:09 +0000 (08:23 +0100)]
refactored account.js (#9739)

7 years agorefactored package.json (#9740)
0xflotus [Mon, 7 Jan 2019 07:17:35 +0000 (08:17 +0100)]
refactored package.json (#9740)

added `not dead` to browserslist config, because the previous config covered e.g. IE Versions, that are not maintained + IE >= 11.

considering [browserslist best practice guide](https://github.com/browserslist/browserslist/blob/master/README.md#best-practices)

7 years agoFix db/seeds.rb (#9738)
Remi Rampin [Mon, 7 Jan 2019 07:14:53 +0000 (02:14 -0500)]
Fix db/seeds.rb (#9738)

Add "agreement: true" to avoid:
> ActiveRecord::RecordInvalid: Validation failed: Agreement must be accepted

7 years agoFix embed play icons regression from #9715 (#9731)
Eugen Rochko [Sun, 6 Jan 2019 22:54:01 +0000 (23:54 +0100)]
Fix embed play icons regression from #9715 (#9731)

7 years agoFix unique violation in downcase custom emoji domain migration (#9733)
Eugen Rochko [Sun, 6 Jan 2019 22:53:46 +0000 (23:53 +0100)]
Fix unique violation in downcase custom emoji domain migration (#9733)

Fix #9727

7 years agoAdd cache to custom emojis API (#9732)
Eugen Rochko [Sun, 6 Jan 2019 22:52:58 +0000 (23:52 +0100)]
Add cache to custom emojis API (#9732)

Fix #9729

7 years agoFix deleting a scheduled status immediately deleting media attachments (#9728)
Eugen Rochko [Sun, 6 Jan 2019 15:38:40 +0000 (16:38 +0100)]
Fix deleting a scheduled status immediately deleting media attachments (#9728)

7 years agoFix wrong param name in scheduled statuses and return params in API (#9725)
Eugen Rochko [Sun, 6 Jan 2019 11:03:27 +0000 (12:03 +0100)]
Fix wrong param name in scheduled statuses and return params in API (#9725)

The database column and API param are called in_reply_to_id, not
in_reply_to_status_id, so it makes no sense to encode it that way

7 years agoFix PublishScheduledStatusWorker being queued with no arguments (#9724)
Eugen Rochko [Sun, 6 Jan 2019 08:21:16 +0000 (09:21 +0100)]
Fix PublishScheduledStatusWorker being queued with no arguments (#9724)

7 years agoAdd missing locale strings (#9723)
Eugen Rochko [Sat, 5 Jan 2019 18:13:11 +0000 (19:13 +0100)]
Add missing locale strings (#9723)

7 years agoEnable immutable caching for S3 objects (#9722)
Nolan Lawson [Sat, 5 Jan 2019 17:29:53 +0000 (09:29 -0800)]
Enable immutable caching for S3 objects (#9722)

I also added "public" here, as I can't think of a good reason not to add it. Perhaps it has some marginal benefit in that ISPs (or other proxies) can cache it for all users. The assets are certainly publicly available and the same for all users.

7 years agoAdd scheduled statuses (#9706)
Eugen Rochko [Sat, 5 Jan 2019 11:43:28 +0000 (12:43 +0100)]
Add scheduled statuses (#9706)

Fix #340

7 years agoFollow new account before unfollowing the old one during move (#9719)
Eugen Rochko [Sat, 5 Jan 2019 10:27:58 +0000 (11:27 +0100)]
Follow new account before unfollowing the old one during move (#9719)

7 years agoUse Contact User as Relay, Report, Subscribe. (#9661)
Naoki Kosaka [Sat, 5 Jan 2019 06:17:12 +0000 (15:17 +0900)]
Use Contact User as Relay, Report, Subscribe. (#9661)

* Use Contact User as Relay, Report, Subscribe.

* Use Account.representative to fetch contact user.

* Use find_local.

* No reason to use Account.representative in subscribe_service.

* Don't required representative!

* Fallback is included in Account.representative method.

7 years agoChange note length validation to ignore mention domains and URLs (#9717)
Eugen Rochko [Sat, 5 Jan 2019 06:16:46 +0000 (07:16 +0100)]
Change note length validation to ignore mention domains and URLs (#9717)

Fix #4419

7 years agoRemove uneeded command and switch to images for TOR (#9438)
Sir-Boops [Fri, 4 Jan 2019 15:15:09 +0000 (08:15 -0700)]
Remove uneeded command and switch to images for TOR (#9438)

7 years agoFix unreadable text color in report modal for some statuses (#9716)
Eugen Rochko [Fri, 4 Jan 2019 12:54:56 +0000 (13:54 +0100)]
Fix unreadable text color in report modal for some statuses (#9716)

Fix #9697

7 years agoAdd quick links to the admin interface in the WebUI (#8545)
ThibG [Fri, 4 Jan 2019 12:10:43 +0000 (13:10 +0100)]
Add quick links to the admin interface in the WebUI (#8545)

* Allow to show a specific status in the admin interface

* Let the front-end know the current account is a moderator

* Add admin links to status and account menus

If the current logged-in user is an admin, add quick links to the admin
interface in account and toot dropdown menu. Suggestion by @ashkitten

* Use @statuses.first instead of @statuses[0]

7 years agoDisplay fallback link card thumbnail when none is given (#9715)
Eugen Rochko [Fri, 4 Jan 2019 11:44:46 +0000 (12:44 +0100)]
Display fallback link card thumbnail when none is given (#9715)

7 years agoAdd mod and moderator to list of default reserved usernames (#9713)
Eugen Rochko [Fri, 4 Jan 2019 11:29:39 +0000 (12:29 +0100)]
Add mod and moderator to list of default reserved usernames (#9713)

7 years agoAdd preview cards to non-detailed statuses on public pages (#9714)
Eugen Rochko [Fri, 4 Jan 2019 10:40:02 +0000 (11:40 +0100)]
Add preview cards to non-detailed statuses on public pages (#9714)

7 years agoIncrease files checked by ESLint (#9705)
Yamagishi Kazutoshi [Fri, 4 Jan 2019 10:28:38 +0000 (19:28 +0900)]
Increase files checked by ESLint (#9705)

7 years agoFix admin UI view of local followers (#9712)
Eugen Rochko [Fri, 4 Jan 2019 10:28:14 +0000 (11:28 +0100)]
Fix admin UI view of local followers (#9712)

Regression from #9700

7 years agoBump rubocop from 0.61.1 to 0.62.0 (#9702)
dependabot[bot] [Thu, 3 Jan 2019 07:22:01 +0000 (08:22 +0100)]
Bump rubocop from 0.61.1 to 0.62.0 (#9702)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.61.1 to 0.62.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.61.1...v0.62.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump parallel_tests from 2.27.0 to 2.27.1 (#9703)
dependabot[bot] [Thu, 3 Jan 2019 06:59:04 +0000 (15:59 +0900)]
Bump parallel_tests from 2.27.0 to 2.27.1 (#9703)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.27.0 to 2.27.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.27.0...v2.27.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump webpush from 0.3.4 to 0.3.5 (#9701)
dependabot[bot] [Thu, 3 Jan 2019 06:58:04 +0000 (15:58 +0900)]
Bump webpush from 0.3.4 to 0.3.5 (#9701)

Bumps [webpush](https://github.com/zaru/webpush) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/zaru/webpush/releases)
- [Changelog](https://github.com/zaru/webpush/blob/master/CHANGELOG.md)
- [Commits](https://github.com/zaru/webpush/compare/v0.3.4...v0.3.5)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoFix list of local followers showing remote followers in admin UI (#9700)
Eugen Rochko [Thu, 3 Jan 2019 05:40:16 +0000 (06:40 +0100)]
Fix list of local followers showing remote followers in admin UI (#9700)

7 years agoAdd specs for UrlValidator (#9699)
ysksn [Thu, 3 Jan 2019 04:10:20 +0000 (13:10 +0900)]
Add specs for UrlValidator (#9699)

7 years agoAdd specs for UnreservedUsernameValidator (#9698)
ysksn [Thu, 3 Jan 2019 04:10:02 +0000 (13:10 +0900)]
Add specs for UnreservedUsernameValidator (#9698)

* Add specs for UnreservedUsernameValidator

* Use instance variable

7 years agoBump tty-prompt from 0.18.0 to 0.18.1 (#9683)
dependabot[bot] [Wed, 2 Jan 2019 21:39:40 +0000 (22:39 +0100)]
Bump tty-prompt from 0.18.0 to 0.18.1 (#9683)

Bumps [tty-prompt](https://github.com/piotrmurach/tty-prompt) from 0.18.0 to 0.18.1.
- [Release notes](https://github.com/piotrmurach/tty-prompt/releases)
- [Changelog](https://github.com/piotrmurach/tty-prompt/blob/master/CHANGELOG.md)
- [Commits](https://github.com/piotrmurach/tty-prompt/compare/v0.18.0...v0.18.1)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump pry-rails from 0.3.8 to 0.3.9 (#9682)
dependabot[bot] [Wed, 2 Jan 2019 21:39:23 +0000 (22:39 +0100)]
Bump pry-rails from 0.3.8 to 0.3.9 (#9682)

Bumps [pry-rails](https://github.com/rweng/pry-rails) from 0.3.8 to 0.3.9.
- [Release notes](https://github.com/rweng/pry-rails/releases)
- [Commits](https://github.com/rweng/pry-rails/compare/v0.3.8...v0.3.9)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump httplog from 1.1.1 to 1.2.0 (#9681)
dependabot[bot] [Wed, 2 Jan 2019 21:39:02 +0000 (22:39 +0100)]
Bump httplog from 1.1.1 to 1.2.0 (#9681)

Bumps [httplog](https://github.com/trusche/httplog) from 1.1.1 to 1.2.0.
- [Release notes](https://github.com/trusche/httplog/releases)
- [Changelog](https://github.com/trusche/httplog/blob/master/CHANGELOG.md)
- [Commits](https://github.com/trusche/httplog/compare/v1.1.1...v1.2.0)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump tzinfo-data from 1.2018.7 to 1.2018.9 (#9684)
dependabot[bot] [Wed, 2 Jan 2019 21:38:18 +0000 (22:38 +0100)]
Bump tzinfo-data from 1.2018.7 to 1.2018.9 (#9684)

Bumps [tzinfo-data](https://github.com/tzinfo/tzinfo-data) from 1.2018.7 to 1.2018.9.
- [Release notes](https://github.com/tzinfo/tzinfo-data/releases)
- [Commits](https://github.com/tzinfo/tzinfo-data/compare/v1.2018.7...v1.2018.9)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoBump oj from 3.7.4 to 3.7.6 (#9685)
dependabot[bot] [Wed, 2 Jan 2019 21:37:50 +0000 (22:37 +0100)]
Bump oj from 3.7.4 to 3.7.6 (#9685)

Bumps [oj](https://github.com/ohler55/oj) from 3.7.4 to 3.7.6.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.7.4...v3.7.6)

Signed-off-by: dependabot[bot] <support@dependabot.com>
7 years agoFix CircleCI (#9695)
ThibG [Wed, 2 Jan 2019 19:48:22 +0000 (20:48 +0100)]
Fix CircleCI (#9695)

7 years agoImprove e-mail digest (#9689)
Eugen Rochko [Wed, 2 Jan 2019 09:47:32 +0000 (10:47 +0100)]
Improve e-mail digest (#9689)

- Reduce time-to-digest from 20 to 7 days
- Fetch mentions starting from +1 day since last login
- Fix case when last login is more recent than last e-mail
- Do not render all mentions, only 40, but show number in subject
- Do not send digest to moved accounts
- Do send digest to silenced accounts

7 years agoUpgrade ESLint to v5.x (#9694)
Yamagishi Kazutoshi [Wed, 2 Jan 2019 06:28:53 +0000 (15:28 +0900)]
Upgrade ESLint to v5.x (#9694)

7 years agoEnsure blocked user unfollows blocker if Block/Undo Block are processed out of order...
ThibG [Wed, 2 Jan 2019 00:12:02 +0000 (01:12 +0100)]
Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order (#9687)

* Ensure blocked user unfollows blocker if Block/Undo Block are processed out of order

* Add specs for Block causing unfollow and for out-of-order Block + Undo

7 years agoUpgrade default Ruby version to 2.6.0 (#9688)
Eugen Rochko [Tue, 1 Jan 2019 15:40:17 +0000 (16:40 +0100)]
Upgrade default Ruby version to 2.6.0 (#9688)

7 years agoAdd tootctl accounts follow ACCT (#9414)
Eugen Rochko [Tue, 1 Jan 2019 15:24:26 +0000 (16:24 +0100)]
Add tootctl accounts follow ACCT (#9414)

Fix #9369

7 years agoFix icon alignment in onboarding interaction screen (#9686)
ThibG [Tue, 1 Jan 2019 15:19:51 +0000 (16:19 +0100)]
Fix icon alignment in onboarding interaction screen (#9686)

7 years agoAdd CSV export for lists and domain blocks (#9677)
Eugen Rochko [Tue, 1 Jan 2019 12:44:04 +0000 (13:44 +0100)]
Add CSV export for lists and domain blocks (#9677)

Fix #6893
Fix #9268

7 years agoRestore ReplyDistributionWorker to allow existing jobs to be processed (#9676)
ThibG [Tue, 1 Jan 2019 12:43:11 +0000 (13:43 +0100)]
Restore ReplyDistributionWorker to allow existing jobs to be processed (#9676)

7 years agoInstalling libxml2 and libxslt on Docker (#9680)
Yamagishi Kazutoshi [Tue, 1 Jan 2019 03:03:54 +0000 (12:03 +0900)]
Installing libxml2 and libxslt on Docker (#9680)

7 years agoRemove visible timestamps for notifications (#9675)
Eugen Rochko [Mon, 31 Dec 2018 17:12:07 +0000 (18:12 +0100)]
Remove visible timestamps for notifications (#9675)

Revert #9423. Issues with line breaks / clutter.

7 years agoUpdate dependencies for Node.js (2018-12-31) (#9669)
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

7 years agoFix links not being verified (#9673)
kodai [Mon, 31 Dec 2018 14:29:10 +0000 (23:29 +0900)]
Fix links not being verified (#9673)

Fix #9365

7 years agoInstall both rvm gpg keys in vagrant (#9670)
Fred Wenzel [Mon, 31 Dec 2018 04:08:50 +0000 (20:08 -0800)]
Install both rvm gpg keys in vagrant (#9670)

7 years agoSkip full text search if failed (#9654)
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!"

7 years agoAvoid duplicate work by merging ReplyDistributionWorker into DistributionWorker ...
ThibG [Sun, 30 Dec 2018 18:00:04 +0000 (19:00 +0100)]
Avoid duplicate work by merging ReplyDistributionWorker into DistributionWorker (#9660)

7 years agoDo not ignore federated reports targetting already-reported accounts (#9534)
ThibG [Sun, 30 Dec 2018 17:58:51 +0000 (18:58 +0100)]
Do not ignore federated reports targetting already-reported accounts (#9534)

7 years agoImmediately go back in browser history upon successfully sending toot (#9663)
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.

7 years agoIf it is disabled, remove the link of the profile directory (#9665)
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)

7 years agoFix crash when clearing uninitialized timeline (#9662)
ThibG [Sun, 30 Dec 2018 17:57:39 +0000 (18:57 +0100)]
Fix crash when clearing uninitialized timeline (#9662)

7 years agoReduce usage of LD signatures (#9659)
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

7 years agoAdd specs for FollowLimitValidator (#9655)
ysksn [Sat, 29 Dec 2018 07:24:52 +0000 (16:24 +0900)]
Add specs for FollowLimitValidator (#9655)

7 years agoAdd specs for BlackListedEmailValidator (#9651)
ysksn [Sat, 29 Dec 2018 06:23:44 +0000 (15:23 +0900)]
Add specs for BlackListedEmailValidator (#9651)

* Add specs for BlackListedEmailValidator

* Use instance variable

7 years agoReplace Ruby 2.3 with 2.6 in CircleCI (#9652)
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

7 years agoAdd specs for DisallowedHashtagsValidator (#9653)
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.

7 years agoAdd handler for Move activity (#9629)
Eugen Rochko [Sat, 29 Dec 2018 01:24:36 +0000 (02:24 +0100)]
Add handler for Move activity (#9629)

7 years agoAdd healthcheck commands to docker-compose.yml (#9143)
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

7 years agoAdd specs for StatusPinValidator (#9648)
ysksn [Fri, 28 Dec 2018 09:09:32 +0000 (18:09 +0900)]
Add specs for StatusPinValidator (#9648)

7 years agoAdd pending specs for StatusLengthValidator (#9647)
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

7 years agoChange the icon to "reply-all" when reply to other accounts (#9378)
mayaeh [Fri, 28 Dec 2018 02:51:32 +0000 (11:51 +0900)]
Change the icon to "reply-all" when reply to other accounts (#9378)

7 years agoImprove admin UI for account view (#9643)
Eugen Rochko [Fri, 28 Dec 2018 02:38:41 +0000 (03:38 +0100)]
Improve admin UI for account view (#9643)

7 years agoI18n: Update Czech translation (#9644)
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

7 years agoAdd local followers page to admin account UI (#9610)
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

7 years agoWeblate translations (2018-12-27) (#9642)
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

7 years agoBump webmock from 3.4.2 to 3.5.1 (#9641)
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>
7 years agoAdd exclude_reblogs option to account statuses API (#9640)
Eugen Rochko [Thu, 27 Dec 2018 02:42:35 +0000 (03:42 +0100)]
Add exclude_reblogs option to account statuses API (#9640)

Fix #9606

7 years agoRedirect to reports overview instead of report after account action (#9639)
Eugen Rochko [Thu, 27 Dec 2018 02:42:29 +0000 (03:42 +0100)]
Redirect to reports overview instead of report after account action (#9639)

7 years ago[i18n] OC/CAT/FR «crop» => «change preview» (#9636)
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)

7 years agoFix account unsilencing and unsuspension (#9637)
ThibG [Wed, 26 Dec 2018 18:16:15 +0000 (19:16 +0100)]
Fix account unsilencing and unsuspension (#9637)

Fix regression from 3c033c4352f8b156887cd7157b4a89c23a545838

7 years agoFix ThreadResolveWorker getting queued with invalid URLs (#9628)
Eugen Rochko [Wed, 26 Dec 2018 18:15:53 +0000 (19:15 +0100)]
Fix ThreadResolveWorker getting queued with invalid URLs (#9628)

7 years agoFix signature verification stoplight triggering on non-timeout errors (#9617)
Eugen Rochko [Wed, 26 Dec 2018 18:15:43 +0000 (19:15 +0100)]
Fix signature verification stoplight triggering on non-timeout errors (#9617)

7 years agoBump cld3 from 3.2.2 to 3.2.3 (#9632)
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>
7 years agoFix scope latest of ReportNote (#9630)
ysksn [Wed, 26 Dec 2018 05:38:59 +0000 (14:38 +0900)]
Fix scope latest of ReportNote (#9630)

7 years agoCreate DomainNormalizable#normalize_domain (#9631)
ysksn [Wed, 26 Dec 2018 05:38:42 +0000 (14:38 +0900)]
Create DomainNormalizable#normalize_domain (#9631)

7 years agoAdd error message with invalid email confirmation (#9625)
Takeshi Umeda [Tue, 25 Dec 2018 18:35:26 +0000 (03:35 +0900)]
Add error message with invalid email confirmation (#9625)

7 years agoRemove Form::StatusBatch::ACTION_TYPE unused (#9623)
ysksn [Tue, 25 Dec 2018 17:29:51 +0000 (02:29 +0900)]
Remove Form::StatusBatch::ACTION_TYPE unused (#9623)

7 years agoAdd support for Malayalam in language filter (#9624)
Aboobacker MK [Tue, 25 Dec 2018 17:29:30 +0000 (22:59 +0530)]
Add support for Malayalam in language filter (#9624)

7 years agoAdd REST API for creating an account (#9572)
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

7 years agoRename "crop" to "change preview" (#9616)
Eugen Rochko [Mon, 24 Dec 2018 18:12:18 +0000 (19:12 +0100)]
Rename "crop" to "change preview" (#9616)

7 years agoUpdate emoji codepoint mappings to v11.0 (#9618)
Eugen Rochko [Mon, 24 Dec 2018 18:12:00 +0000 (19:12 +0100)]
Update emoji codepoint mappings to v11.0 (#9618)

7 years agoLimit maximum visibility of local silenced users to unlisted (#9583)
ThibG [Mon, 24 Dec 2018 18:06:14 +0000 (19:06 +0100)]
Limit maximum visibility of local silenced users to unlisted (#9583)

Fixes #9580

7 years agoSanitize and sandbox toot embeds (#9552)
ThibG [Sun, 23 Dec 2018 01:16:35 +0000 (02:16 +0100)]
Sanitize and sandbox toot embeds (#9552)

7 years agoRemove links to bridge.joinmastodon.org (non-functional) (#9608)
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

7 years agoShow 40 profiles per directory page instead of 30 (#9609)
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

7 years agoAdd moderation warnings (#9519)
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

7 years ago[i18n] Occitan update (#9607)
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

7 years agoRemove MailerHelper does nothing (#9604)
ysksn [Sat, 22 Dec 2018 01:35:55 +0000 (10:35 +0900)]
Remove MailerHelper does nothing (#9604)

7 years agoi18n: Update Polish translation (#9594)
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>
7 years agoAdd specs for CustomEmojiFilter (#9599)
ysksn [Fri, 21 Dec 2018 17:52:57 +0000 (02:52 +0900)]
Add specs for CustomEmojiFilter (#9599)

7 years agoFix composer not getting focus after reply confirmation dialog (#9602)
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.

7 years agoAdd specs for AdminMailer (#9597)
ysksn [Fri, 21 Dec 2018 08:34:34 +0000 (17:34 +0900)]
Add specs for AdminMailer (#9597)

7 years agoAdd specs for InstancePresenter (#9596)
ysksn [Fri, 21 Dec 2018 07:59:56 +0000 (16:59 +0900)]
Add specs for InstancePresenter (#9596)

7 years agoSkip mailer job retries when a record no longer exists (#9590)
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