]> cat aescling's git repositories - mastodon.git/log
mastodon.git
5 years ago[Glitch] Replace shortNumberFormat with <ShortNumber>
Sasha Sorokin [Mon, 6 Jul 2020 12:27:32 +0000 (19:27 +0700)]
[Glitch] Replace shortNumberFormat with <ShortNumber>

Port cb2adaaf9d6c3147de9060132b69933df734d5dc to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge pull request #1373 from ThibG/glitch-soc/merge-upstream
ThibG [Tue, 7 Jul 2020 14:21:42 +0000 (16:21 +0200)]
Merge pull request #1373 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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

Port 06fc6a9cd4c700c450dbe8e8c579a5d5bc4ba732 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix hashtag column options styling
ThibG [Mon, 6 Jul 2020 23:33:38 +0000 (01:33 +0200)]
[Glitch] Fix hashtag column options styling

Port a783bdf4adee3444e9cd32c2eaa0712214ba1230 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Tue, 7 Jul 2020 13:34:00 +0000 (15:34 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `package.json`:
  Not really a conflict, just some glitch-soc-specific dependency
  too close to an upstream-updated one.

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 agoMerge pull request #1371 from ThibG/glitch-soc/merge-upstream
ThibG [Sun, 5 Jul 2020 20:55:09 +0000 (22:55 +0200)]
Merge pull request #1371 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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

Port 99f3a5554074d9a12619797c474b3de4c6085f02 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix audio modals not using blurhash and poster
Eugen Rochko [Thu, 2 Jul 2020 14:27:35 +0000 (16:27 +0200)]
[Glitch] Fix audio modals not using blurhash and poster

Port 162adf61f268beac6e178f6f79f203b213055915 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sun, 5 Jul 2020 17:35:56 +0000 (19:35 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `.env.production.sample`:
  Upstream changed it completely.
  Changed ours to merge upstream's new structure, but
  keeping most of the information.

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 ago[Glitch] Add customizable thumbnails for audio and video attachments
Eugen Rochko [Mon, 29 Jun 2020 11:56:55 +0000 (13:56 +0200)]
[Glitch] Add customizable thumbnails for audio and video attachments

Port 64aac3073340dbc92c33f5f1c6f76dcafa77a450 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix various issues around OpenGraph representation of media
Eugen Rochko [Wed, 24 Jun 2020 23:33:01 +0000 (01:33 +0200)]
[Glitch] Fix various issues around OpenGraph representation of media

Port audio player changes from 662a49dc3f06749936cedd7349092bbe622f0bc6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoRevert "Revert "Remove unused dependency on wavesurfer.js (#14136)""
Thibaut Girka [Fri, 26 Jun 2020 15:23:16 +0000 (17:23 +0200)]
Revert "Revert "Remove unused dependency on wavesurfer.js (#14136)""

This reverts commit dc99608bcf5a3f5ae0934c66664ef7ae9430d04a.

5 years ago[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI
Eugen Rochko [Wed, 24 Jun 2020 08:25:32 +0000 (10:25 +0200)]
[Glitch] Fix audio/video/images/cards not reacting to window resizes in web UI

Port bb9ca8a587ee5a3ec8778e72828aca0ba8871327 to glitch-soc

Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Change volume control and download buttons in web UI
Eugen Rochko [Tue, 23 Jun 2020 10:20:14 +0000 (12:20 +0200)]
[Glitch] Change volume control and download buttons in web UI

Port 419ad6248beb192f34ef581306138c3ff0d600a9 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix audio player not working when media files are hosted on a different...
ThibG [Mon, 22 Jun 2020 17:24:16 +0000 (19:24 +0200)]
[Glitch] Fix audio player not working when media files are hosted on a different domain

Port aaf91abffae590b2db1b9e6a7dd2a9e2b06b06ca to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Change design of audio players in web UI
Eugen Rochko [Sun, 21 Jun 2020 00:27:19 +0000 (02:27 +0200)]
[Glitch] Change design of audio players in web UI

Port 75a2b8f8153ce3a6496fcaf6eedf9f2bb7c729e6 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge pull request #1370 from ThibG/glitch-soc/merge-upstream
ThibG [Thu, 2 Jul 2020 14:36:21 +0000 (16:36 +0200)]
Merge pull request #1370 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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 ago[Glitch] Fix the conditions for incomplete remote content
Takeshi Umeda [Wed, 1 Jul 2020 21:38:44 +0000 (06:38 +0900)]
[Glitch] Fix the conditions for incomplete remote content

Port 7548a474a5f07f152e6fc0dac55bef78ac5ab1dd to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Thu, 2 Jul 2020 11:56:02 +0000 (13:56 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

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 agoMerge pull request #1369 from ThibG/glitch-soc/merge-upstream
ThibG [Wed, 1 Jul 2020 19:51:16 +0000 (21:51 +0200)]
Merge pull request #1369 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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

Port e9ea960773ee6a1068623374b21d768918fbc93b to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix lock icon not being shown when locking account in profile settings
ThibG [Wed, 1 Jul 2020 11:51:50 +0000 (13:51 +0200)]
[Glitch] Fix lock icon not being shown when locking account in profile settings

Port 4babf5b8b5ba8eca5a14f3b2813775240db8f8f1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Wed, 1 Jul 2020 17:23:14 +0000 (19:23 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `app/javascript/packs/public.js`:
  Conflict because part of that file has been split to
  `app/javascript/core/settings.js`. Ported those changes
  there.

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 agoAdd support for li attribute to li element
Thibaut Girka [Tue, 30 Jun 2020 22:14:03 +0000 (00:14 +0200)]
Add support for li attribute to li element

5 years agoAdd support for “start” and “reversed” attributes to ol element
Thibaut Girka [Tue, 30 Jun 2020 22:06:22 +0000 (00:06 +0200)]
Add support for “start” and “reversed” attributes to ol element

Fixes #1367

5 years agoMerge pull request #1366 from ThibG/glitch-soc/merge-upstream
ThibG [Tue, 30 Jun 2020 22:18:49 +0000 (00:18 +0200)]
Merge pull request #1366 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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 agoUse allow/deny-list instead of white/black-list in .env.production.sample
Thibaut Girka [Tue, 30 Jun 2020 21:20:21 +0000 (23:20 +0200)]
Use allow/deny-list instead of white/black-list in .env.production.sample

.env.production.sample has been nuked upstream, but we decided to keep it,
so change it to reflect latest changes in environment variable names.

(The link still refers to “whitelist_mode” because the documentation hasn't
been updated yet)

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

Port 65506bac3f3fe233b5b7b3241020bd74eb5c9259 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix padding on account header
trwnh [Mon, 29 Jun 2020 11:57:44 +0000 (06:57 -0500)]
[Glitch] Fix padding on account header

Port d1c6dd2d277fee0cf65b480adc868c69df952622 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix read marker state not being udpated internally
ThibG [Sun, 28 Jun 2020 18:55:32 +0000 (20:55 +0200)]
[Glitch] Fix read marker state not being udpated internally

Port fa4876a1b93d4bb62038cca75bd5017fe49b59ae to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Change sensitive preview cards to not blur text
ThibG [Fri, 26 Jun 2020 12:31:13 +0000 (14:31 +0200)]
[Glitch] Change sensitive preview cards to not blur text

Port a1ad2ad9519fda525858ba5aef86815a6f6385f2 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Tue, 30 Jun 2020 21:00:20 +0000 (23:00 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `.env.production.sample`:
  Upstream deleted it, I decided to keep it.
- `package.json`:
  Upstream updated a dependency textually too close to wavesurfer.js
  which has been deleted from upstream but is kept in glitch-soc for now.

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