]> cat aescling's git repositories - mastodon.git/log
mastodon.git
5 years agoReplace repetitive blurhash code with component (#14267)
Sasha Sorokin [Thu, 9 Jul 2020 11:01:30 +0000 (18:01 +0700)]
Replace repetitive blurhash code with component (#14267)

This commit replaces all unnecessarily repeated code for decoding and
embedding blurhash canvases with separate component - <Blurhash>.

Under the hood Blurhash component will use effect dependent on its
props. This gives a few benefits: it will only be re-rendered whenever
the hash or width/height/dummy props update, and will not render if
canvas won't get to the final DOM, because then effect won't fire,
which prevents weird bugs like #14257.

5 years agoFix videos on public pages not using custom thumbnails (#14273)
Eugen Rochko [Thu, 9 Jul 2020 10:53:16 +0000 (12:53 +0200)]
Fix videos on public pages not using custom thumbnails (#14273)

5 years agoremove unused word. (#14250)
mayaeh [Wed, 8 Jul 2020 21:53:56 +0000 (06:53 +0900)]
remove unused word. (#14250)

ran `yarn manage:translations en`

5 years agoFix new accent color not refreshing when changing thumbnail for audio uploads (#14264)
ThibG [Wed, 8 Jul 2020 12:54:47 +0000 (14:54 +0200)]
Fix new accent color not refreshing when changing thumbnail for audio uploads (#14264)

5 years agoRevert tesseract.js to tesseract.js@2.0.0-alpha.16 (#14262)
ThibG [Wed, 8 Jul 2020 11:57:06 +0000 (13:57 +0200)]
Revert tesseract.js to tesseract.js@2.0.0-alpha.16 (#14262)

The OCR feature in master is broken, there are several reasons for this:
- https://github.com/naptha/tesseract.js/issues/369
- https://github.com/naptha/tesseract.js/issues/346
- and the fact that the worker JS file is served with an unversioned URL,
  and, in the nginx config we provide, served with
  "public, max-age=31536000, immutable", leading to version mismatches as
  the old version gets cached

5 years agoFix WebUI crash on sensitive preview card with no preview thumbnail (#14261)
ThibG [Wed, 8 Jul 2020 10:58:17 +0000 (12:58 +0200)]
Fix WebUI crash on sensitive preview card with no preview thumbnail (#14261)

Follow-up on #14260 which only fixed half the call sites

5 years agoFix RemoveDuplicatedIndexesPghero to check for the existence of the index (#14259)
Takeshi Umeda [Wed, 8 Jul 2020 07:23:23 +0000 (16:23 +0900)]
Fix RemoveDuplicatedIndexesPghero to check for the existence of the index (#14259)

5 years agoFix WebUI crash on sensitive preview card with no preview thumbnail (#14260)
ThibG [Wed, 8 Jul 2020 07:22:23 +0000 (09:22 +0200)]
Fix WebUI crash on sensitive preview card with no preview thumbnail (#14260)

Fixes #14257

5 years agohelm: bump chart and default image version to 3.1.5 (#14256)
Alex Dunn [Tue, 7 Jul 2020 18:35:55 +0000 (11:35 -0700)]
helm: bump chart and default image version to 3.1.5 (#14256)

5 years agoFix ogg vorbis files with a cover art not being correctly processed (#14255)
ThibG [Tue, 7 Jul 2020 14:32:14 +0000 (16:32 +0200)]
Fix ogg vorbis files with a cover art not being correctly processed (#14255)

5 years agoFix media attachments enumeration (#14254)
Eugen Rochko [Tue, 7 Jul 2020 13:26:51 +0000 (15:26 +0200)]
Fix media attachments enumeration (#14254)

* Fix media attachment enumeration

* Switch media_attachments id to snowflake ids

Co-authored-by: Thibaut Girka <thib@sitedethib.com>
5 years agoChange rate limits for various paths (#14253)
Eugen Rochko [Tue, 7 Jul 2020 13:26:39 +0000 (15:26 +0200)]
Change rate limits for various paths (#14253)

- Rate limit login attempts by target account
- Rate limit password resets and e-mail re-confirmations by target account
- Rate limit sign-up/login attempts, password resets, and e-mail re-confirmations by IP like before

5 years agoFix other sessions not being logged out on password change (#14252)
Eugen Rochko [Tue, 7 Jul 2020 13:26:31 +0000 (15:26 +0200)]
Fix other sessions not being logged out on password change (#14252)

While OAuth tokens were immediately revoked, accessing the home
controller immediately generated new OAuth tokens and "revived"
the session due to a combination of using remember_me tokens and
overwriting the `authenticate_user!` method

5 years agoFix account note border radius (#14251)
Sasha Sorokin [Tue, 7 Jul 2020 11:46:21 +0000 (18:46 +0700)]
Fix account note border radius (#14251)

5 years agoAdd ability to choose media thumbnail in web UI (#14244)
Eugen Rochko [Tue, 7 Jul 2020 10:14:19 +0000 (12:14 +0200)]
Add ability to choose media thumbnail in web UI (#14244)

5 years agoChange User-Agent of link preview fetching service to include "Bot" (#14248)
Eugen Rochko [Tue, 7 Jul 2020 08:55:18 +0000 (10:55 +0200)]
Change User-Agent of link preview fetching service to include "Bot" (#14248)

This forces Twitter to render OpenGraph tags in the response

5 years agoBump babel-jest from 25.2.4 to 26.1.0 (#14216)
dependabot[bot] [Tue, 7 Jul 2020 00:23:29 +0000 (09:23 +0900)]
Bump babel-jest from 25.2.4 to 26.1.0 (#14216)

Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 25.2.4 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/babel-jest)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoAdd test for removing endorsed accounts on account deletion/suspension (#14241)
ThibG [Tue, 7 Jul 2020 00:01:13 +0000 (02:01 +0200)]
Add test for removing endorsed accounts on account deletion/suspension (#14241)

5 years agoFix hashtag column options styling (#14247)
ThibG [Mon, 6 Jul 2020 23:33:38 +0000 (01:33 +0200)]
Fix hashtag column options styling (#14247)

* Enable nonces for stylesheets

* Pass nonce to react-select

5 years agoChange design of account notes in web UI (#14208)
Eugen Rochko [Mon, 6 Jul 2020 23:24:03 +0000 (01:24 +0200)]
Change design of account notes in web UI (#14208)

* Change design of account notes in web UI

* Fix `for` -> `htmlFor`

5 years agohelm: fix default storage values for PVCs (#14245)
Alex Dunn [Mon, 6 Jul 2020 21:08:29 +0000 (14:08 -0700)]
helm: fix default storage values for PVCs (#14245)

5 years agoBump jest-cli from 26.0.1 to 26.1.0 (#14240)
dependabot[bot] [Mon, 6 Jul 2020 20:51:22 +0000 (05:51 +0900)]
Bump jest-cli from 26.0.1 to 26.1.0 (#14240)

Bumps [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/jest-cli)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/preset-react from 7.10.1 to 7.10.4 (#14228)
dependabot[bot] [Mon, 6 Jul 2020 20:50:42 +0000 (05:50 +0900)]
Bump @babel/preset-react from 7.10.1 to 7.10.4 (#14228)

Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-preset-react)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/plugin-transform-runtime from 7.10.3 to 7.10.4 (#14217)
dependabot[bot] [Mon, 6 Jul 2020 20:49:58 +0000 (05:49 +0900)]
Bump @babel/plugin-transform-runtime from 7.10.3 to 7.10.4 (#14217)

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.10.3 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump jest-watcher from 26.0.1 to 26.1.0 (#14231)
dependabot[bot] [Mon, 6 Jul 2020 14:57:56 +0000 (23:57 +0900)]
Bump jest-watcher from 26.0.1 to 26.1.0 (#14231)

Bumps [jest-watcher](https://github.com/facebook/jest/tree/HEAD/packages/jest-watcher) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/jest-watcher)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/plugin-transform-react-inline-elements from 7.10.1 to 7.10.4 (#14236)
dependabot[bot] [Mon, 6 Jul 2020 14:56:59 +0000 (23:56 +0900)]
Bump @babel/plugin-transform-react-inline-elements from 7.10.1 to 7.10.4 (#14236)

Bumps [@babel/plugin-transform-react-inline-elements](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-react-inline-elements) from 7.10.1 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-plugin-transform-react-inline-elements)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump jest-leak-detector from 26.0.1 to 26.1.0 (#14233)
dependabot[bot] [Mon, 6 Jul 2020 14:56:19 +0000 (23:56 +0900)]
Bump jest-leak-detector from 26.0.1 to 26.1.0 (#14233)

Bumps [jest-leak-detector](https://github.com/facebook/jest/tree/HEAD/packages/jest-leak-detector) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/jest-leak-detector)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump expect from 26.0.1 to 26.1.0 (#14235)
dependabot[bot] [Mon, 6 Jul 2020 14:56:04 +0000 (23:56 +0900)]
Bump expect from 26.0.1 to 26.1.0 (#14235)

Bumps [expect](https://github.com/facebook/jest/tree/HEAD/packages/expect) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/expect)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump arrow-key-navigation from 1.1.0 to 1.2.0 (#14222)
dependabot[bot] [Mon, 6 Jul 2020 14:24:00 +0000 (23:24 +0900)]
Bump arrow-key-navigation from 1.1.0 to 1.2.0 (#14222)

Bumps [arrow-key-navigation](https://github.com/nolanlawson/arrow-key-navigation) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/nolanlawson/arrow-key-navigation/releases)
- [Commits](https://github.com/nolanlawson/arrow-key-navigation/compare/v1.1.0...v1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump diff-lcs from 1.4.3 to 1.4.4 (#14220)
dependabot[bot] [Mon, 6 Jul 2020 14:19:04 +0000 (23:19 +0900)]
Bump diff-lcs from 1.4.3 to 1.4.4 (#14220)

Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.4.3 to 1.4.4.
- [Release notes](https://github.com/halostatue/diff-lcs/releases)
- [Changelog](https://github.com/halostatue/diff-lcs/blob/master/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/compare/v1.4.3...v1.4.4)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rdf from 3.1.3 to 3.1.4 (#14225)
dependabot[bot] [Mon, 6 Jul 2020 14:18:25 +0000 (23:18 +0900)]
Bump rdf from 3.1.3 to 3.1.4 (#14225)

Bumps [rdf](https://github.com/ruby-rdf/rdf) from 3.1.3 to 3.1.4.
- [Release notes](https://github.com/ruby-rdf/rdf/releases)
- [Changelog](https://github.com/ruby-rdf/rdf/blob/develop/CHANGES.md)
- [Commits](https://github.com/ruby-rdf/rdf/compare/3.1.3...3.1.4)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump omniauth-saml from 1.10.1 to 1.10.2 (#14226)
dependabot[bot] [Mon, 6 Jul 2020 14:18:06 +0000 (23:18 +0900)]
Bump omniauth-saml from 1.10.1 to 1.10.2 (#14226)

Bumps [omniauth-saml](https://github.com/omniauth/omniauth-saml) from 1.10.1 to 1.10.2.
- [Release notes](https://github.com/omniauth/omniauth-saml/releases)
- [Changelog](https://github.com/omniauth/omniauth-saml/blob/master/CHANGELOG.md)
- [Commits](https://github.com/omniauth/omniauth-saml/compare/v1.10.1...v1.10.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump json from 2.3.0 to 2.3.1 (#14227)
dependabot[bot] [Mon, 6 Jul 2020 14:17:51 +0000 (23:17 +0900)]
Bump json from 2.3.0 to 2.3.1 (#14227)

Bumps [json](https://github.com/flori/json) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/flori/json/releases)
- [Changelog](https://github.com/flori/json/blob/master/CHANGES.md)
- [Commits](https://github.com/flori/json/compare/v2.3.0...v2.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump yargs from 15.3.1 to 15.4.0 (#14234)
dependabot[bot] [Mon, 6 Jul 2020 14:06:29 +0000 (23:06 +0900)]
Bump yargs from 15.3.1 to 15.4.0 (#14234)

Bumps [yargs](https://github.com/yargs/yargs) from 15.3.1 to 15.4.0.
- [Release notes](https://github.com/yargs/yargs/releases)
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/yargs/compare/v15.3.1...v15.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump caniuse-lite from 1.0.30001084 to 1.0.30001094 (#14229)
dependabot[bot] [Mon, 6 Jul 2020 14:01:08 +0000 (23:01 +0900)]
Bump caniuse-lite from 1.0.30001084 to 1.0.30001094 (#14229)

Bumps [caniuse-lite](https://github.com/ben-eb/caniuse-lite) from 1.0.30001084 to 1.0.30001094.
- [Release notes](https://github.com/ben-eb/caniuse-lite/releases)
- [Changelog](https://github.com/ben-eb/caniuse-lite/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ben-eb/caniuse-lite/compare/v1.0.30001084...v1.0.30001094)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump terser-webpack-plugin from 3.0.3 to 3.0.6 (#14238)
dependabot[bot] [Mon, 6 Jul 2020 14:00:02 +0000 (23:00 +0900)]
Bump terser-webpack-plugin from 3.0.3 to 3.0.6 (#14238)

Bumps [terser-webpack-plugin](https://github.com/webpack-contrib/terser-webpack-plugin) from 3.0.3 to 3.0.6.
- [Release notes](https://github.com/webpack-contrib/terser-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/terser-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/terser-webpack-plugin/compare/v3.0.3...v3.0.6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump electron-to-chromium from 1.3.475 to 1.3.488 (#14239)
dependabot[bot] [Mon, 6 Jul 2020 13:30:08 +0000 (22:30 +0900)]
Bump electron-to-chromium from 1.3.475 to 1.3.488 (#14239)

Bumps [electron-to-chromium](https://github.com/kilian/electron-to-chromium) from 1.3.475 to 1.3.488.
- [Release notes](https://github.com/kilian/electron-to-chromium/releases)
- [Changelog](https://github.com/Kilian/electron-to-chromium/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kilian/electron-to-chromium/compare/v1.3.475...v1.3.488)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump js-base64 from 2.5.2 to 2.6.2 (#14237)
dependabot[bot] [Mon, 6 Jul 2020 13:28:44 +0000 (22:28 +0900)]
Bump js-base64 from 2.5.2 to 2.6.2 (#14237)

Bumps [js-base64](https://github.com/dankogai/js-base64) from 2.5.2 to 2.6.2.
- [Release notes](https://github.com/dankogai/js-base64/releases)
- [Commits](https://github.com/dankogai/js-base64/compare/2.5.2...2.6.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/preset-env from 7.10.2 to 7.10.4 (#14218)
dependabot[bot] [Mon, 6 Jul 2020 13:27:12 +0000 (22:27 +0900)]
Bump @babel/preset-env from 7.10.2 to 7.10.4 (#14218)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.10.2 to 7.10.4.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.4/packages/babel-preset-env)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aws-sdk-s3 from 1.72.0 to 1.73.0 (#14219)
dependabot[bot] [Mon, 6 Jul 2020 13:07:46 +0000 (22:07 +0900)]
Bump aws-sdk-s3 from 1.72.0 to 1.73.0 (#14219)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.72.0 to 1.73.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@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoReplace shortNumberFormat with <ShortNumber> (#14061)
Sasha Sorokin [Mon, 6 Jul 2020 12:27:32 +0000 (19:27 +0700)]
Replace shortNumberFormat with <ShortNumber> (#14061)

This commit introduces new utility component - ShortNumber. It should
work almost the same way as original shortNumberFormat function,
though it also localizes units and accepts one more prop - renderer.

Renderer is a function that takes rendered short formatted number
and also ready-to-pluralize number to format display result accordingly.
Ready-to-pluralize number allows to correctly select plural for
compactly notated numbers, respecting thousands and other units.

Issue #12451 accurately describes the issue with using raw numbers
when replacing counter with short version. In short, it doesn't work
with languages such as Russian, that require different plurals,
according to the unit number was compacted to.

All previous usages of shortNumberFormat were replaced with new
function, and as it became unused, it was removed to avoid misleading.

5 years agoFix restored words from "toot" to "status" (#14242)
mayaeh [Mon, 6 Jul 2020 10:17:33 +0000 (19:17 +0900)]
Fix restored words from "toot" to "status" (#14242)

5 years agoAdd color extraction for audio thumbnails (#14209)
Eugen Rochko [Sun, 5 Jul 2020 16:28:25 +0000 (18:28 +0200)]
Add color extraction for audio thumbnails (#14209)

5 years agoAdd back a cleaner and leaner .env.production.sample (#14206)
Eugen Rochko [Fri, 3 Jul 2020 19:01:39 +0000 (21:01 +0200)]
Add back a cleaner and leaner .env.production.sample (#14206)

5 years agoRun `bundle exec i18n-tasks normalize` (#14205)
Yamagishi Kazutoshi [Fri, 3 Jul 2020 11:27:02 +0000 (20:27 +0900)]
Run `bundle exec i18n-tasks normalize` (#14205)

5 years agoFix-up #13749 (#14204)
mayaeh [Fri, 3 Jul 2020 11:26:35 +0000 (20:26 +0900)]
Fix-up #13749 (#14204)

5 years agoChange the about.instance_actor_flash to be single-line (#14200)
ThibG [Fri, 3 Jul 2020 01:06:08 +0000 (03:06 +0200)]
Change the about.instance_actor_flash to be single-line (#14200)

Some translations of that string are single-line, which somehow seems to make
Crowdin issue a blank newline at the end of those translations.

This, in turns, leads to different results when running “i18n-tasks normalize”
depending on the version of libyaml installed, making the CI fail if it
runs a different version than whoever ran “i18n-tasks normalize”.

Since there is no real reason for that source string to be multi-line (it is
only displayed in HTML, without replacing newlines by <br/> tags),
attempt to fix Crowdin export by making the source string single-line.

5 years agoFix audio uploads without embedded image (#14203)
Eugen Rochko [Fri, 3 Jul 2020 01:05:32 +0000 (03:05 +0200)]
Fix audio uploads without embedded image (#14203)

5 years agoFix audio modals not using blurhash and poster (#14199)
Eugen Rochko [Thu, 2 Jul 2020 14:27:35 +0000 (16:27 +0200)]
Fix audio modals not using blurhash and poster (#14199)

5 years agoNew Crowdin translations (#13749)
Eugen Rochko [Wed, 1 Jul 2020 22:45:15 +0000 (00:45 +0200)]
New Crowdin translations (#13749)

* New translations en.json (Galician)
[ci skip]

* New translations en.json (Icelandic)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Indonesian)
[ci skip]

* New translations en.json (Estonian)
[ci skip]

* New translations en.json (Kannada)
[ci skip]

* New translations en.json (Asturian)
[ci skip]

* New translations en.json (Serbian (Latin))
[ci skip]

* New translations en.json (Corsican)
[ci skip]

* New translations en.json (Kabyle)
[ci skip]

* New translations en.json (Ido)
[ci skip]

* New translations en.json (Breton)
[ci skip]

* New translations en.json (Telugu)
[ci skip]

* New translations en.json (Latvian)
[ci skip]

* New translations en.json (Hindi)
[ci skip]

* New translations en.json (Malay)
[ci skip]

* New translations en.json (Welsh)
[ci skip]

* New translations en.json (Esperanto)
[ci skip]

* New translations en.json (Chinese Traditional, Hong Kong)
[ci skip]

* New translations en.yml (Chinese Traditional, Hong Kong)
[ci skip]

* New translations en.json (Malayalam)
[ci skip]

* New translations en.json (Turkish)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations en.json (Czech)
[ci skip]

* New translations en.json (Danish)
[ci skip]

* New translations en.json (German)
[ci skip]

* New translations en.json (Greek)
[ci skip]

* New translations en.json (Basque)
[ci skip]

* New translations en.json (Finnish)
[ci skip]

* New translations en.json (Bulgarian)
[ci skip]

* New translations en.json (Arabic)
[ci skip]

* New translations en.json (Hebrew)
[ci skip]

* New translations en.json (Occitan)
[ci skip]

* New translations en.json (Sardinian)
[ci skip]

* New translations en.json (Slovenian)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Slovak)
[ci skip]

* New translations en.json (Hungarian)
[ci skip]

* New translations en.json (Ukrainian)
[ci skip]

* New translations en.json (Norwegian)
[ci skip]

* New translations en.json (Polish)
[ci skip]

* New translations en.json (Portuguese)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.json (Serbian (Cyrillic))
[ci skip]

* New translations en.json (Swedish)
[ci skip]

* New translations en.json (Georgian)
[ci skip]

* New translations en.json (Armenian)
[ci skip]

* New translations en.json (Italian)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.json (Dutch)
[ci skip]

* New translations en.json (Korean)
[ci skip]

* New translations en.json (Lithuanian)
[ci skip]

* New translations en.json (Macedonian)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations en.json (Korean)
[ci skip]

* New translations en.json (Russian)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.json (Greek)
[ci skip]

* New translations en.json (French)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.json (Italian)
[ci skip]

* New translations en.json (Portuguese)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.json (Italian)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.json (Italian)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.json (German)
[ci skip]

* New translations en.json (Korean)
[ci skip]

* New translations en.json (Korean)
[ci skip]

* New translations en.json (German)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.yml (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.yml (Vietnamese)
[ci skip]

* New translations en.json (Portuguese)
[ci skip]

* New translations en.yml (Vietnamese)
[ci skip]

* New translations en.json (Portuguese)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Spanish, Argentina)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Galician)
[ci skip]

* New translations en.json (Spanish)
[ci skip]

* New translations en.yml (Spanish, Argentina)
[ci skip]

* New translations en.json (Dutch)
[ci skip]

* New translations en.json (Polish)
[ci skip]

* New translations en.yml (Polish)
[ci skip]

* New translations simple_form.en.yml (Polish)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.json (Hungarian)
[ci skip]

* New translations en.json (Hungarian)
[ci skip]

* New translations devise.en.yml (Persian)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.json (Czech)
[ci skip]

* New translations en.yml (Czech)
[ci skip]

* New translations simple_form.en.yml (Czech)
[ci skip]

* New translations en.yml (Czech)
[ci skip]

* New translations en.json (Greek)
[ci skip]

* New translations en.json (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Corsican)
[ci skip]

* New translations en.json (Corsican)
[ci skip]

* New translations simple_form.en.yml (Corsican)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.yml (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Vietnamese)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.json (Arabic)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Catalan)
[ci skip]

* New translations en.json (Taigi)
[ci skip]

* New translations en.yml (Taigi)
[ci skip]

* New translations simple_form.en.yml (Taigi)
[ci skip]

* New translations activerecord.en.yml (Taigi)
[ci skip]

* New translations devise.en.yml (Taigi)
[ci skip]

* New translations doorkeeper.en.yml (Taigi)
[ci skip]

* New translations simple_form.en.yml (French)
[ci skip]

* New translations en.json (French)
[ci skip]

* New translations en.json (Romanian)
[ci skip]

* New translations en.json (Romanian)
[ci skip]

* New translations en.yml (Romanian)
[ci skip]

* New translations en.yml (Romanian)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.json (Icelandic)
[ci skip]

* New translations en.json (Icelandic)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.yml (Chinese Simplified)
[ci skip]

* New translations simple_form.en.yml (Chinese Simplified)
[ci skip]

* New translations en.json (Chinese Simplified)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations simple_form.en.yml (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations doorkeeper.en.yml (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.json (Silesian)
[ci skip]

* New translations en.yml (Silesian)
[ci skip]

* New translations simple_form.en.yml (Silesian)
[ci skip]

* New translations activerecord.en.yml (Silesian)
[ci skip]

* New translations devise.en.yml (Silesian)
[ci skip]

* New translations doorkeeper.en.yml (Silesian)
[ci skip]

* New translations en.json (Armenian)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Portuguese, Brazilian)
[ci skip]

* New translations en.json (Persian)
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations en.yml (French)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Korean)
[ci skip]

* New translations en.yml (Vietnamese)
[ci skip]

* New translations en.yml (Korean)
[ci skip]

* New translations en.yml (Spanish, Argentina)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (Catalan)
[ci skip]

* New translations en.yml (Hungarian)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Greek)
[ci skip]

* New translations en.yml (Albanian)
[ci skip]

* New translations en.json (Kabyle)
[ci skip]

* New translations en.yml (Thai)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations en.json (Thai)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Asturian)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations simple_form.en.yml (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.yml (Albanian)
[ci skip]

* New translations en.yml (Catalan)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.yml (French)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.yml (Corsican)
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations en.json (Albanian)
[ci skip]

* New translations simple_form.en.yml (Albanian)
[ci skip]

* New translations doorkeeper.en.yml (Albanian)
[ci skip]

* New translations doorkeeper.en.yml (Albanian)
[ci skip]

* New translations en.yml (Spanish, Argentina)
[ci skip]

* New translations en.yml (Armenian)
[ci skip]

* New translations en.yml (Armenian)
[ci skip]

* New translations en.yml (Albanian)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Korean)
[ci skip]

* New translations en.yml (Vietnamese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Japanese)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Portuguese)
[ci skip]

* New translations en.yml (Hungarian)
[ci skip]

* New translations en.yml (Spanish)
[ci skip]

* New translations en.yml (Albanian)
[ci skip]

* New translations en.yml (Icelandic)
[ci skip]

* New translations en.yml (Corsican)
[ci skip]

* New translations en.yml (Hungarian)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Galician)
[ci skip]

* New translations en.yml (Persian)
[ci skip]

* New translations en.yml (Catalan)
[ci skip]

* New translations en.yml (Spanish, Argentina)
[ci skip]

* New translations en.yml (Italian)
[ci skip]

* New translations en.yml (Portuguese, Brazilian)
[ci skip]

* New translations en.yml (Russian)
[ci skip]

* i18n-tasks normalize

* yarn manage:translations

5 years agoFix the conditions for incomplete remote content (#14195)
Takeshi Umeda [Wed, 1 Jul 2020 21:38:44 +0000 (06:38 +0900)]
Fix the conditions for incomplete remote content (#14195)

5 years agoChange Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)
Eugen Rochko [Wed, 1 Jul 2020 17:05:21 +0000 (19:05 +0200)]
Change Redis#exists calls to Redis#exists? to avoid deprecation warning (#14191)

5 years agoFix cursor type in statuses (#14185)
Ariel [Wed, 1 Jul 2020 11:52:05 +0000 (08:52 -0300)]
Fix cursor type in statuses (#14185)

5 years agoFix lock icon not being shown when locking account in profile settings (#14190)
ThibG [Wed, 1 Jul 2020 11:51:50 +0000 (13:51 +0200)]
Fix lock icon not being shown when locking account in profile settings (#14190)

5 years agoChange move handler to carry blocks over (#14144)
ThibG [Wed, 1 Jul 2020 11:51:15 +0000 (13:51 +0200)]
Change move handler to carry blocks over (#14144)

* Change move handler to carry blocks and mutes over

When user A blocks user B and B moves to a new account C, make A block C
accordingly.

Note that it only works if A's instance is aware of the Move, that is,
if B is on A's instance or has followers there.

* Also notify instances with known people blocking you when moving

* Add automatic account notes when blocking/muting an account that had no note

5 years agofollow-up #14149 (#14192)
mayaeh [Wed, 1 Jul 2020 09:34:19 +0000 (18:34 +0900)]
follow-up #14149 (#14192)

ran `yarn manage:translations en`

5 years agoFix remote files not using Content-Type header, streaming (#14184)
Eugen Rochko [Tue, 30 Jun 2020 21:58:02 +0000 (23:58 +0200)]
Fix remote files not using Content-Type header, streaming (#14184)

5 years agoAdd user notes on accounts (#14148)
ThibG [Tue, 30 Jun 2020 17:19:50 +0000 (19:19 +0200)]
Add user notes on accounts (#14148)

* Add UserNote model

* Add UI for user notes

* Put comment in relationships entity

* Add API to create user notes

* Copy user notes to new account when receiving a Move activity

* Address some of the review remarks

* Replace modal by inline edition

* Please CodeClimate

* Button design changes

* Change design again

* Cancel note edition when pressing Escape

* Fixes

* Tweak design again

* Move “Add note” item, and allow users to add notes to themselves

* Rename UserNote into AccountNote, rename “comment” Relationship attribute to “note”

5 years agoBump diff-lcs from 1.3 to 1.4.3 (#14186)
dependabot[bot] [Tue, 30 Jun 2020 04:18:38 +0000 (13:18 +0900)]
Bump diff-lcs from 1.3 to 1.4.3 (#14186)

Bumps [diff-lcs](https://github.com/halostatue/diff-lcs) from 1.3 to 1.4.3.
- [Release notes](https://github.com/halostatue/diff-lcs/releases)
- [Changelog](https://github.com/halostatue/diff-lcs/blob/master/History.md)
- [Commits](https://github.com/halostatue/diff-lcs/compare/v1.3...v1.4.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump faker from 2.12.0 to 2.13.0 (#14174)
dependabot[bot] [Tue, 30 Jun 2020 04:18:25 +0000 (13:18 +0900)]
Bump faker from 2.12.0 to 2.13.0 (#14174)

Bumps [faker](https://github.com/faker-ruby/faker) from 2.12.0 to 2.13.0.
- [Release notes](https://github.com/faker-ruby/faker/releases)
- [Changelog](https://github.com/faker-ruby/faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faker-ruby/faker/compare/v2.12.0...v2.13.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump uuid from 8.1.0 to 8.2.0 (#14162)
dependabot[bot] [Mon, 29 Jun 2020 16:24:56 +0000 (01:24 +0900)]
Bump uuid from 8.1.0 to 8.2.0 (#14162)

Bumps [uuid](https://github.com/uuidjs/uuid) from 8.1.0 to 8.2.0.
- [Release notes](https://github.com/uuidjs/uuid/releases)
- [Changelog](https://github.com/uuidjs/uuid/blob/master/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v8.1.0...v8.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump jest-config from 26.0.1 to 26.1.0 (#14176)
dependabot[bot] [Mon, 29 Jun 2020 16:24:46 +0000 (01:24 +0900)]
Bump jest-config from 26.0.1 to 26.1.0 (#14176)

Bumps [jest-config](https://github.com/facebook/jest/tree/HEAD/packages/jest-config) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/jest-config)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoFix trying to write non-existent image remote URL attribute on preview cards (#14181)
Eugen Rochko [Mon, 29 Jun 2020 15:59:04 +0000 (17:59 +0200)]
Fix trying to write non-existent image remote URL attribute on preview cards (#14181)

Regression from #14145

5 years agoAdd GitHub Sponsors
Eugen Rochko [Mon, 29 Jun 2020 14:10:49 +0000 (16:10 +0200)]
Add GitHub Sponsors

5 years agoBump redis-store from 1.8.2 to 1.9.0 (#14160)
dependabot[bot] [Mon, 29 Jun 2020 13:45:50 +0000 (22:45 +0900)]
Bump redis-store from 1.8.2 to 1.9.0 (#14160)

Bumps [redis-store](https://github.com/jodosha/redis-store) from 1.8.2 to 1.9.0.
- [Release notes](https://github.com/jodosha/redis-store/releases)
- [Changelog](https://github.com/redis-store/redis-store/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jodosha/redis-store/compare/v1.8.2...v1.9.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump pghero from 2.5.0 to 2.5.1 (#14163)
dependabot[bot] [Mon, 29 Jun 2020 13:44:43 +0000 (22:44 +0900)]
Bump pghero from 2.5.0 to 2.5.1 (#14163)

Bumps [pghero](https://github.com/ankane/pghero) from 2.5.0 to 2.5.1.
- [Release notes](https://github.com/ankane/pghero/releases)
- [Changelog](https://github.com/ankane/pghero/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/pghero/compare/v2.5.0...v2.5.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rails-controller-testing from 1.0.4 to 1.0.5 (#14161)
dependabot[bot] [Mon, 29 Jun 2020 13:43:34 +0000 (22:43 +0900)]
Bump rails-controller-testing from 1.0.4 to 1.0.5 (#14161)

Bumps [rails-controller-testing](https://github.com/rails/rails-controller-testing) from 1.0.4 to 1.0.5.
- [Release notes](https://github.com/rails/rails-controller-testing/releases)
- [Commits](https://github.com/rails/rails-controller-testing/compare/v1.0.4...v1.0.5)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump jest-environment-jsdom from 26.0.1 to 26.1.0 (#14167)
dependabot[bot] [Mon, 29 Jun 2020 12:55:22 +0000 (21:55 +0900)]
Bump jest-environment-jsdom from 26.0.1 to 26.1.0 (#14167)

Bumps [jest-environment-jsdom](https://github.com/facebook/jest/tree/HEAD/packages/jest-environment-jsdom) from 26.0.1 to 26.1.0.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/commits/v26.1.0/packages/jest-environment-jsdom)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump webpack-cli from 3.3.11 to 3.3.12 (#14164)
dependabot[bot] [Mon, 29 Jun 2020 12:50:12 +0000 (21:50 +0900)]
Bump webpack-cli from 3.3.11 to 3.3.12 (#14164)

Bumps [webpack-cli](https://github.com/webpack/webpack-cli) from 3.3.11 to 3.3.12.
- [Release notes](https://github.com/webpack/webpack-cli/releases)
- [Changelog](https://github.com/webpack/webpack-cli/blob/v3.3.12/CHANGELOG.md)
- [Commits](https://github.com/webpack/webpack-cli/compare/v3.3.11...v3.3.12)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/plugin-transform-runtime from 7.10.1 to 7.10.3 (#14168)
dependabot[bot] [Mon, 29 Jun 2020 12:49:48 +0000 (21:49 +0900)]
Bump @babel/plugin-transform-runtime from 7.10.1 to 7.10.3 (#14168)

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.10.1 to 7.10.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.3/packages/babel-plugin-transform-runtime)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump react-textarea-autosize from 8.0.1 to 8.1.1 (#14177)
dependabot[bot] [Mon, 29 Jun 2020 12:47:42 +0000 (21:47 +0900)]
Bump react-textarea-autosize from 8.0.1 to 8.1.1 (#14177)

Bumps [react-textarea-autosize](https://github.com/Andarist/react-textarea-autosize) from 8.0.1 to 8.1.1.
- [Release notes](https://github.com/Andarist/react-textarea-autosize/releases)
- [Changelog](https://github.com/Andarist/react-textarea-autosize/blob/master/CHANGELOG.md)
- [Commits](https://github.com/Andarist/react-textarea-autosize/compare/v8.0.1...v8.1.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rubocop from 0.85.1 to 0.86.0 (#14171)
dependabot[bot] [Mon, 29 Jun 2020 12:44:32 +0000 (21:44 +0900)]
Bump rubocop from 0.85.1 to 0.86.0 (#14171)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.85.1 to 0.86.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.85.1...v0.86.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aws-sdk-s3 from 1.69.0 to 1.72.0 (#14158)
dependabot[bot] [Mon, 29 Jun 2020 12:43:31 +0000 (21:43 +0900)]
Bump aws-sdk-s3 from 1.69.0 to 1.72.0 (#14158)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.69.0 to 1.72.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@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoAdd Helm chart (#14090)
Alex Dunn [Mon, 29 Jun 2020 11:58:48 +0000 (04:58 -0700)]
Add Helm chart (#14090)

* add Helm chart

known issues/future work:

- SSO is unsupported

- S3/Minio/GCS is unsupported

- Swift is unsupported

- WEB_DOMAIN is unsupported

- Tor is unsupported

* helm: clarify how LOCAL_DOMAIN is set

* helm: add chart description

* helm: make DB_POOL and Sidekiq concurrency configurable

* helm: only enforce pod affinity when using ReadWriteOnce

* helm: clarify compatibility

* helm: clean up application variables

* helm: add job to create initial admin

5 years agoReplace to testing-library from enzyme (#14152)
Yamagishi Kazutoshi [Mon, 29 Jun 2020 11:58:07 +0000 (20:58 +0900)]
Replace to testing-library from enzyme (#14152)

5 years agoFix padding on account header (#14179)
trwnh [Mon, 29 Jun 2020 11:57:44 +0000 (06:57 -0500)]
Fix padding on account header (#14179)

5 years agoAdd customizable thumbnails for audio and video attachments (#14145)
Eugen Rochko [Mon, 29 Jun 2020 11:56:55 +0000 (13:56 +0200)]
Add customizable thumbnails for audio and video attachments (#14145)

- Change audio files to not be stripped of metadata
- Automatically extract cover art from audio if it exists
- Add `thumbnail` parameter to `POST /api/v1/media`, `POST /api/v2/media` and `PUT /api/v1/media/:id`
- Add `icon` to represent it in attachments in ActivityPub
- Fix `preview_url` containing URL of missing missing image when there is no thumbnail instead of null
- Fix duration of audio not being displayed on public pages until the file is loaded

5 years agoFix read marker state not being udpated internally (#14155)
ThibG [Sun, 28 Jun 2020 18:55:32 +0000 (20:55 +0200)]
Fix read marker state not being udpated internally (#14155)

Fixes #14151

5 years agoRemove the terms blacklist and whitelist from UX (#14149)
Eugen Rochko [Sat, 27 Jun 2020 18:20:11 +0000 (20:20 +0200)]
Remove the terms blacklist and whitelist from UX (#14149)

Localization strings:

- "Whitelist mode" -> "Limited federation mode"
- "Blacklist e-mail domain" -> "Block e-mail domain"
- "Whitelist domain" -> "Allow domain for federation"

...And so on

Environment variables (backwards-compatible):

- `WHITELIST_MODE` -> `LIMITED_FEDERATION_MODE`
- `EMAIL_DOMAIN_BLACKLIST` -> `EMAIL_DOMAIN_DENYLIST`
- `EMAIL_DOMAIN_WHITELIST` -> `EMAIL_DOMAIN_ALLOWLIST`

tootctl:

- `tootctl domains purge --whitelist-mode` -> `tootctl domains purge --limited-federation-mode`

Removed badly maintained and no longer relevant .env.production.sample file

5 years agoFix help text around `tootctl email_domain_blocks` (#14147)
Eugen Rochko [Fri, 26 Jun 2020 19:28:40 +0000 (21:28 +0200)]
Fix help text around `tootctl email_domain_blocks` (#14147)

5 years agoChange sensitive preview cards to not blur text (#14143)
ThibG [Fri, 26 Jun 2020 12:31:13 +0000 (14:31 +0200)]
Change sensitive preview cards to not blur text (#14143)

Also only require click-through for interactive embeds.

5 years agoImprove appearence consistency of settings pages (#13938)
Mélanie Chauvel [Thu, 25 Jun 2020 22:36:30 +0000 (00:36 +0200)]
Improve appearence consistency of settings pages (#13938)

* Fix header button changing header size in settings pages

* Make form buttons look more like a part of the form in settings pages

- Put buttons closer, using same distance as between inputs
- Make buton font size a bit smaller to blend a bit more
- Add the class button to button tags for consisent styling

5 years agoImprove wording of the “Add media” button tooltip (#13954)
Mélanie Chauvel [Thu, 25 Jun 2020 22:14:29 +0000 (00:14 +0200)]
Improve wording of the “Add media” button tooltip (#13954)

- Remove (incomplete) list of supported formats
- List types of media (image, video, audio)
- Tell that several images could be uploaded using plural

5 years agoFix Thai being skipped from language detection (#13989)
Sasha Sorokin [Thu, 25 Jun 2020 20:45:01 +0000 (03:45 +0700)]
Fix Thai being skipped from language detection (#13989)

Thai does not separate words by spaces, so I figured out it should be
in 'reliable characters regexp' that denotes languages that do the same.

Related #13891.

5 years agoChange to correct the role of the boost button (#14132)
Takeshi Umeda [Thu, 25 Jun 2020 20:44:19 +0000 (05:44 +0900)]
Change to correct the role of the boost button (#14132)

5 years agoAdd a visibility icon to status (#14123)
Takeshi Umeda [Thu, 25 Jun 2020 20:43:59 +0000 (05:43 +0900)]
Add a visibility icon to status (#14123)

* Add a visibility icon to status

* Change to using the icon element

* Fix RTL

* Add a public globe

5 years agoFix design issues with sensitive preview cards (#14126)
ThibG [Thu, 25 Jun 2020 20:42:01 +0000 (22:42 +0200)]
Fix design issues with sensitive preview cards (#14126)

* Fix design issues with sensitive preview cards

* Center “sensitive” label on preview image for interactive cards

* Add “button” role to sensitive preview card text

5 years agoRemove unnecessary version locks (#14139)
Yamagishi Kazutoshi [Thu, 25 Jun 2020 20:41:24 +0000 (05:41 +0900)]
Remove unnecessary version locks (#14139)

5 years agoFix avatar size in public page detailed status (#14140)
ThibG [Thu, 25 Jun 2020 20:41:12 +0000 (22:41 +0200)]
Fix avatar size in public page detailed status (#14140)

Regression from the inline-CSS changes

5 years agoUpdate Dockerfile (#13582)
Shlee [Thu, 25 Jun 2020 10:17:53 +0000 (18:17 +0800)]
Update Dockerfile (#13582)

5 years agoAdd tootctl email-domain-blocks (#13589)
tateisu [Thu, 25 Jun 2020 10:17:10 +0000 (19:17 +0900)]
Add tootctl email-domain-blocks (#13589)

* Add tootctl email_domains (block|unblock)

* fix codeclimate issues.

* fix codeclimate issues.

* fix codeclimate issues.

* add list subcommand, remove log_action.

* fix codeclimate issues.

* filter duplicate hostnames,ips before block

* rebase from currnet master branch.
rename email_domains_cli.rb to email_domain_blocks_cli.rb .
rename Mastodon::EmailDomainsCLI to Mastodon::EmailDomainBlocksCLI .
rename command email_domains to email-domain-blocks . (Thor recognizes both of - and _ )
rename subcommand block to add .
rename subcommand unblock to remove .
change the color in list subcommand to while for domain or cyan for childlen.
don't use include() in list subcommand.
suppress console output about succeeded entry.
add console output about count of processed/skipped.
remove capitalization in subcommand description.
remove long_desc in subcommand 'remove'.
remove duplicate where in subcommand 'remove'.

* fix codeclimate issue.

5 years agoremove duplicated indexes according to pghero (#13695)
Lerk [Thu, 25 Jun 2020 10:15:34 +0000 (12:15 +0200)]
remove duplicated indexes according to pghero (#13695)

5 years agoBump @babel/plugin-proposal-decorators from 7.8.3 to 7.10.3 (#14137)
dependabot[bot] [Thu, 25 Jun 2020 10:01:15 +0000 (19:01 +0900)]
Bump @babel/plugin-proposal-decorators from 7.8.3 to 7.10.3 (#14137)

Bumps [@babel/plugin-proposal-decorators](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-decorators) from 7.8.3 to 7.10.3.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.3/packages/babel-plugin-proposal-decorators)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aws-sdk-s3 from 1.68.1 to 1.69.0 (#14109)
dependabot[bot] [Thu, 25 Jun 2020 08:49:34 +0000 (17:49 +0900)]
Bump aws-sdk-s3 from 1.68.1 to 1.69.0 (#14109)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.68.1 to 1.69.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@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aws-sigv4 from 1.1.4 to 1.2.0 (#14107)
dependabot[bot] [Thu, 25 Jun 2020 08:49:05 +0000 (17:49 +0900)]
Bump aws-sigv4 from 1.1.4 to 1.2.0 (#14107)

Bumps [aws-sigv4](https://github.com/aws/aws-sdk-ruby) from 1.1.4 to 1.2.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sigv4/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/compare/1.1.4...1.2.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump capybara from 3.32.2 to 3.33.0 (#14105)
dependabot[bot] [Thu, 25 Jun 2020 08:48:40 +0000 (17:48 +0900)]
Bump capybara from 3.32.2 to 3.33.0 (#14105)

Bumps [capybara](https://github.com/teamcapybara/capybara) from 3.32.2 to 3.33.0.
- [Release notes](https://github.com/teamcapybara/capybara/releases)
- [Changelog](https://github.com/teamcapybara/capybara/blob/master/History.md)
- [Commits](https://github.com/teamcapybara/capybara/compare/3.32.2...3.33.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rspec-sidekiq from 3.0.3 to 3.1.0 (#14104)
dependabot[bot] [Thu, 25 Jun 2020 08:47:34 +0000 (17:47 +0900)]
Bump rspec-sidekiq from 3.0.3 to 3.1.0 (#14104)

Bumps [rspec-sidekiq](https://github.com/philostler/rspec-sidekiq) from 3.0.3 to 3.1.0.
- [Release notes](https://github.com/philostler/rspec-sidekiq/releases)
- [Changelog](https://github.com/philostler/rspec-sidekiq/blob/develop/CHANGES.md)
- [Commits](https://github.com/philostler/rspec-sidekiq/compare/v3.0.3...v3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump excon from 0.74.0 to 0.75.0 (#14103)
dependabot[bot] [Thu, 25 Jun 2020 08:46:11 +0000 (17:46 +0900)]
Bump excon from 0.74.0 to 0.75.0 (#14103)

Bumps [excon](https://github.com/excon/excon) from 0.74.0 to 0.75.0.
- [Release notes](https://github.com/excon/excon/releases)
- [Changelog](https://github.com/excon/excon/blob/master/changelog.txt)
- [Commits](https://github.com/excon/excon/compare/v0.74.0...v0.75.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump stackframe from 1.1.1 to 1.2.0 (#14082)
dependabot[bot] [Thu, 25 Jun 2020 08:40:04 +0000 (17:40 +0900)]
Bump stackframe from 1.1.1 to 1.2.0 (#14082)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump elasticsearch from 7.7.0 to 7.8.0 (#14108)
dependabot[bot] [Thu, 25 Jun 2020 08:32:59 +0000 (10:32 +0200)]
Bump elasticsearch from 7.7.0 to 7.8.0 (#14108)

Bumps [elasticsearch](https://github.com/elastic/elasticsearch-ruby) from 7.7.0 to 7.8.0.
- [Release notes](https://github.com/elastic/elasticsearch-ruby/releases)
- [Changelog](https://github.com/elastic/elasticsearch-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/elastic/elasticsearch-ruby/compare/7.7.0...v7.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>