]> cat aescling's git repositories - mastodon.git/log
mastodon.git
4 years agoDisable nginx ssl_session_tickets for better security (#16632)
Peter Dave Hello [Fri, 20 Aug 2021 07:15:07 +0000 (15:15 +0800)]
Disable nginx ssl_session_tickets for better security (#16632)

It's default turned on, but it's better to turn it off for security reason.

Reference:
- https://nginx.org/en/docs/http/ngx_http_ssl_module.html#ssl_session_tickets
- https://github.com/mozilla/server-side-tls/issues/135

4 years agoFix remotely-suspended accounts' toots being merged back into timelines (#16628)
Claire [Fri, 20 Aug 2021 06:40:33 +0000 (08:40 +0200)]
Fix remotely-suspended accounts' toots being merged back into timelines (#16628)

* Fix remotely-suspended accounts' toots being merged back into timelines

* Mark remotely-deleted accounts as remotely suspended

4 years agoFix #16603 (#16605)
Holger [Fri, 20 Aug 2021 06:39:37 +0000 (14:39 +0800)]
Fix #16603 (#16605)

Fix issue #16603 undefined method `serialize_payload' for Unsuspend Account Service error.
It seems that this service forgot to `include Payloadable` so that `serialize_payload` could not be found in this service.

4 years agoBump oj from 3.12.2 to 3.13.2 (#16620)
dependabot[bot] [Tue, 17 Aug 2021 04:58:07 +0000 (13:58 +0900)]
Bump oj from 3.12.2 to 3.13.2 (#16620)

Bumps [oj](https://github.com/ohler55/oj) from 3.12.2 to 3.13.2.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.12.2...v3.13.2)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump eslint-plugin-import from 2.23.4 to 2.24.0 (#16592)
dependabot[bot] [Tue, 17 Aug 2021 04:20:21 +0000 (13:20 +0900)]
Bump eslint-plugin-import from 2.23.4 to 2.24.0 (#16592)

Bumps [eslint-plugin-import](https://github.com/import-js/eslint-plugin-import) from 2.23.4 to 2.24.0.
- [Release notes](https://github.com/import-js/eslint-plugin-import/releases)
- [Changelog](https://github.com/import-js/eslint-plugin-import/blob/master/CHANGELOG.md)
- [Commits](https://github.com/import-js/eslint-plugin-import/compare/v2.23.4...v2.24.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-import
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump yargs from 17.0.1 to 17.1.1 (#16614)
dependabot[bot] [Tue, 17 Aug 2021 04:19:51 +0000 (13:19 +0900)]
Bump yargs from 17.0.1 to 17.1.1 (#16614)

Bumps [yargs](https://github.com/yargs/yargs) from 17.0.1 to 17.1.1.
- [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/v17.0.1...v17.1.1)

---
updated-dependencies:
- dependency-name: yargs
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump ws from 8.0.0 to 8.1.0 (#16616)
dependabot[bot] [Tue, 17 Aug 2021 04:19:31 +0000 (13:19 +0900)]
Bump ws from 8.0.0 to 8.1.0 (#16616)

Bumps [ws](https://github.com/websockets/ws) from 8.0.0 to 8.1.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/8.0.0...8.1.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump bullet from 6.1.4 to 6.1.5 (#16617)
dependabot[bot] [Tue, 17 Aug 2021 04:01:31 +0000 (13:01 +0900)]
Bump bullet from 6.1.4 to 6.1.5 (#16617)

Bumps [bullet](https://github.com/flyerhzm/bullet) from 6.1.4 to 6.1.5.
- [Release notes](https://github.com/flyerhzm/bullet/releases)
- [Changelog](https://github.com/flyerhzm/bullet/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flyerhzm/bullet/compare/6.1.4...6.1.5)

---
updated-dependencies:
- dependency-name: bullet
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump fastimage from 2.2.4 to 2.2.5 (#16609)
dependabot[bot] [Tue, 17 Aug 2021 04:00:53 +0000 (13:00 +0900)]
Bump fastimage from 2.2.4 to 2.2.5 (#16609)

Bumps [fastimage](https://github.com/sdsykes/fastimage) from 2.2.4 to 2.2.5.
- [Release notes](https://github.com/sdsykes/fastimage/releases)
- [Changelog](https://github.com/sdsykes/fastimage/blob/master/CHANGELOG)
- [Commits](https://github.com/sdsykes/fastimage/compare/v2.2.4...v2.2.5)

---
updated-dependencies:
- dependency-name: fastimage
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump nokogiri from 1.12.2 to 1.12.3 (#16610)
dependabot[bot] [Tue, 17 Aug 2021 04:00:37 +0000 (13:00 +0900)]
Bump nokogiri from 1.12.2 to 1.12.3 (#16610)

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.12.2 to 1.12.3.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.12.2...v1.12.3)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump blurhash from 1.1.3 to 1.1.4 (#16613)
dependabot[bot] [Tue, 17 Aug 2021 04:00:17 +0000 (13:00 +0900)]
Bump blurhash from 1.1.3 to 1.1.4 (#16613)

Bumps [blurhash](https://github.com/woltapp/blurhash) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/woltapp/blurhash/releases)
- [Commits](https://github.com/woltapp/blurhash/commits)

---
updated-dependencies:
- dependency-name: blurhash
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump pundit from 2.1.0 to 2.1.1 (#16615)
dependabot[bot] [Tue, 17 Aug 2021 04:00:04 +0000 (13:00 +0900)]
Bump pundit from 2.1.0 to 2.1.1 (#16615)

Bumps [pundit](https://github.com/varvet/pundit) from 2.1.0 to 2.1.1.
- [Release notes](https://github.com/varvet/pundit/releases)
- [Changelog](https://github.com/varvet/pundit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/varvet/pundit/compare/v2.1.0...v2.1.1)

---
updated-dependencies:
- dependency-name: pundit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump path-parse from 1.0.6 to 1.0.7 (#16597)
dependabot[bot] [Tue, 17 Aug 2021 03:58:37 +0000 (12:58 +0900)]
Bump path-parse from 1.0.6 to 1.0.7 (#16597)

Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump parallel_tests from 3.7.0 to 3.7.1 (#16612)
dependabot[bot] [Tue, 17 Aug 2021 03:49:59 +0000 (12:49 +0900)]
Bump parallel_tests from 3.7.0 to 3.7.1 (#16612)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.7.0 to 3.7.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v3.7.0...v3.7.1)

---
updated-dependencies:
- dependency-name: parallel_tests
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump aws-sdk-s3 from 1.98.0 to 1.99.0 (#16611)
dependabot[bot] [Tue, 17 Aug 2021 03:49:21 +0000 (12:49 +0900)]
Bump aws-sdk-s3 from 1.98.0 to 1.99.0 (#16611)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.98.0 to 1.99.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump webmock from 3.13.0 to 3.14.0 (#16587)
dependabot[bot] [Tue, 17 Aug 2021 03:49:00 +0000 (12:49 +0900)]
Bump webmock from 3.13.0 to 3.14.0 (#16587)

Bumps [webmock](https://github.com/bblimke/webmock) from 3.13.0 to 3.14.0.
- [Release notes](https://github.com/bblimke/webmock/releases)
- [Changelog](https://github.com/bblimke/webmock/blob/master/CHANGELOG.md)
- [Commits](https://github.com/bblimke/webmock/compare/v3.13.0...v3.14.0)

---
updated-dependencies:
- dependency-name: webmock
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump redux from 4.1.0 to 4.1.1 (#16586)
dependabot[bot] [Tue, 17 Aug 2021 03:41:01 +0000 (12:41 +0900)]
Bump redux from 4.1.0 to 4.1.1 (#16586)

Bumps [redux](https://github.com/reduxjs/redux) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/reduxjs/redux/releases)
- [Changelog](https://github.com/reduxjs/redux/blob/master/CHANGELOG.md)
- [Commits](https://github.com/reduxjs/redux/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: redux
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rubocop from 1.18.4 to 1.19.0 (#16618)
dependabot[bot] [Tue, 17 Aug 2021 03:40:17 +0000 (12:40 +0900)]
Bump rubocop from 1.18.4 to 1.19.0 (#16618)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.18.4 to 1.19.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.18.4...v1.19.0)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump strong_migrations from 0.7.7 to 0.7.8 (#16584)
dependabot[bot] [Tue, 17 Aug 2021 03:32:29 +0000 (12:32 +0900)]
Bump strong_migrations from 0.7.7 to 0.7.8 (#16584)

Bumps [strong_migrations](https://github.com/ankane/strong_migrations) from 0.7.7 to 0.7.8.
- [Release notes](https://github.com/ankane/strong_migrations/releases)
- [Changelog](https://github.com/ankane/strong_migrations/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ankane/strong_migrations/compare/v0.7.7...v0.7.8)

---
updated-dependencies:
- dependency-name: strong_migrations
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/runtime from 7.14.8 to 7.15.3 (#16619)
dependabot[bot] [Tue, 17 Aug 2021 03:31:14 +0000 (12:31 +0900)]
Bump @babel/runtime from 7.14.8 to 7.15.3 (#16619)

Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.14.8 to 7.15.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.15.3/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/core from 7.14.8 to 7.15.0 (#16588)
dependabot[bot] [Tue, 17 Aug 2021 03:30:54 +0000 (12:30 +0900)]
Bump @babel/core from 7.14.8 to 7.15.0 (#16588)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.8 to 7.15.0.
- [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.15.0/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @testing-library/react from 11.2.7 to 12.0.0 (#16440)
dependabot[bot] [Tue, 17 Aug 2021 03:30:15 +0000 (12:30 +0900)]
Bump @testing-library/react from 11.2.7 to 12.0.0 (#16440)

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 11.2.7 to 12.0.0.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/react-testing-library/compare/v11.2.7...v12.0.0)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoFix crash if a notification contains an unprocessed media attachment (#16573)
Claire [Wed, 11 Aug 2021 15:49:10 +0000 (17:49 +0200)]
Fix crash if a notification contains an unprocessed media attachment (#16573)

* Refactor AttachmentList

* Do not crash if a notification contains an unprocessed media attachment

Fixes #16530

* Fix spacing in compact form

4 years agoFix download button color in audio player (#16572)
Claire [Wed, 11 Aug 2021 15:48:55 +0000 (17:48 +0200)]
Fix download button color in audio player (#16572)

Fixes #16571

4 years agoFix followers synchronization mechanism not working when URI has empty path (#16510)
Claire [Wed, 11 Aug 2021 15:48:42 +0000 (17:48 +0200)]
Fix followers synchronization mechanism not working when URI has empty path (#16510)

* Fix followers synchronization mechanism not working when URI has empty path

To my knowledge, there is no current implementation on the fediverse
that can use bare domains (e.g., actor is at https://example.org instead of
something like https://example.org/actor) that also plans to support the
followers synchronization mechanism. However, Mastodon's current implementation
would exclude such accounts from followers list.

Also adds tests and rename them to reflect the proper method names.

* Move url prefix regexp to its own constant

4 years agoFix crash when encountering invalid account fields (#16598)
Claire [Wed, 11 Aug 2021 14:40:55 +0000 (16:40 +0200)]
Fix crash when encountering invalid account fields (#16598)

* Add test

* Fix crash when encountering invalid account fields

4 years agoNodeJS 14 support - circleci/docker/.nvmrc (#16163)
Shlee [Tue, 10 Aug 2021 20:56:13 +0000 (04:56 +0800)]
NodeJS 14 support - circleci/docker/.nvmrc (#16163)

* Update config.yml

* Update Dockerfile

* Update .nvmrc

* Update Dockerfile

* NodeJS 10 is EOL.

* Update package.json

* Update README.md

* Update Vagrantfile

* Update Dockerfile

* Update Dockerfile

4 years agoAdd feature to automatically delete old toots (#16529)
Claire [Mon, 9 Aug 2021 21:11:50 +0000 (23:11 +0200)]
Add feature to automatically delete old toots (#16529)

* Add account statuses cleanup policy model

* Record last inspected toot to delete to speed up successive calls to statuses_to_delete

* Add service to cleanup a given account's statuses within a budget

* Add worker to go through account policies and delete old toots

* Fix last inspected status id logic

All existing statuses older or equal to last inspected status id must be
kept by the current policy. This is an invariant that must be kept so that
resuming deletion from the last inspected status remains sound.

* Add tests

* Refactor scheduler and add tests

* Add user interface

* Add support for discriminating based on boosts/favs

* Add UI support for min_reblogs and min_favs, rework UI

* Address first round of review comments

* Replace Snowflake#id_at_start with with_random parameter

* Add tests

* Add tests for StatusesCleanupController

* Rework settings page

* Adjust load-avoiding mechanisms

* Please CodeClimate

4 years agoBump sanitize from 5.2.3 to 6.0.0 (#16580)
Claire [Mon, 9 Aug 2021 18:46:57 +0000 (20:46 +0200)]
Bump sanitize from 5.2.3 to 6.0.0 (#16580)

Fixes nokogumbo/nokogiri conflicts by dropping the nokogumbo gem, as it has
been merged in the nokogiri gem.

4 years agoFix invalid blurhash handling in Create activity (#16583)
Takeshi Umeda [Mon, 9 Aug 2021 11:33:19 +0000 (20:33 +0900)]
Fix invalid blurhash handling in Create activity (#16583)

4 years agoFix when MoveWorker cannot get locale from remote account (#16576)
Takeshi Umeda [Sun, 8 Aug 2021 13:31:02 +0000 (22:31 +0900)]
Fix when MoveWorker cannot get locale from remote account (#16576)

4 years agoFix owned account notes not being deleted when an account is deleted (#16579)
Claire [Sun, 8 Aug 2021 13:29:57 +0000 (15:29 +0200)]
Fix owned account notes not being deleted when an account is deleted (#16579)

* Add account_notes relationship

* Add tests

* Fix owned account notes not being deleted when an account is deleted

* Add post-migration to clean up orphaned account notes

4 years agoFix unsupported video error message handling (#16581)
Takeshi Umeda [Sun, 8 Aug 2021 13:28:57 +0000 (22:28 +0900)]
Fix unsupported video error message handling (#16581)

4 years agoBump @babel/preset-env from 7.14.8 to 7.15.0 (#16577)
dependabot[bot] [Sat, 7 Aug 2021 08:49:05 +0000 (17:49 +0900)]
Bump @babel/preset-env from 7.14.8 to 7.15.0 (#16577)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.8 to 7.15.0.
- [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.15.0/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump sass from 1.36.0 to 1.37.0 (#16551)
dependabot[bot] [Sat, 7 Aug 2021 04:10:48 +0000 (13:10 +0900)]
Bump sass from 1.36.0 to 1.37.0 (#16551)

Bumps [sass](https://github.com/sass/dart-sass) from 1.36.0 to 1.37.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.36.0...1.37.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump aws-sdk-s3 from 1.96.2 to 1.98.0 (#16559)
dependabot[bot] [Sat, 7 Aug 2021 04:10:27 +0000 (13:10 +0900)]
Bump aws-sdk-s3 from 1.96.2 to 1.98.0 (#16559)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.96.2 to 1.98.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump nokogiri from 1.11.7 to 1.12.0 (#16560)
dependabot[bot] [Sat, 7 Aug 2021 04:01:59 +0000 (13:01 +0900)]
Bump nokogiri from 1.11.7 to 1.12.0 (#16560)

Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.7 to 1.12.0.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.7...v1.12.0)

---
updated-dependencies:
- dependency-name: nokogiri
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump puma from 5.3.2 to 5.4.0 (#16561)
dependabot[bot] [Sat, 7 Aug 2021 04:01:32 +0000 (13:01 +0900)]
Bump puma from 5.3.2 to 5.4.0 (#16561)

Bumps [puma](https://github.com/puma/puma) from 5.3.2 to 5.4.0.
- [Release notes](https://github.com/puma/puma/releases)
- [Changelog](https://github.com/puma/puma/blob/master/History.md)
- [Commits](https://github.com/puma/puma/compare/v5.3.2...v5.4.0)

---
updated-dependencies:
- dependency-name: puma
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump sidekiq-unique-jobs from 7.1.2 to 7.1.5 (#16563)
dependabot[bot] [Sat, 7 Aug 2021 04:01:06 +0000 (13:01 +0900)]
Bump sidekiq-unique-jobs from 7.1.2 to 7.1.5 (#16563)

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 7.1.2 to 7.1.5.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.1.2...v7.1.5)

---
updated-dependencies:
- dependency-name: sidekiq-unique-jobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump redis from 4.3.1 to 4.4.0 (#16562)
dependabot[bot] [Sat, 7 Aug 2021 04:00:49 +0000 (13:00 +0900)]
Bump redis from 4.3.1 to 4.4.0 (#16562)

Bumps [redis](https://github.com/redis/redis-rb) from 4.3.1 to 4.4.0.
- [Release notes](https://github.com/redis/redis-rb/releases)
- [Changelog](https://github.com/redis/redis-rb/blob/master/CHANGELOG.md)
- [Commits](https://github.com/redis/redis-rb/compare/v4.3.1...v4.4.0)

---
updated-dependencies:
- dependency-name: redis
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump tar from 6.0.5 to 6.1.3 (#16566)
dependabot[bot] [Sat, 7 Aug 2021 03:59:54 +0000 (12:59 +0900)]
Bump tar from 6.0.5 to 6.1.3 (#16566)

Bumps [tar](https://github.com/npm/node-tar) from 6.0.5 to 6.1.3.
- [Release notes](https://github.com/npm/node-tar/releases)
- [Changelog](https://github.com/npm/node-tar/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-tar/compare/v6.0.5...v6.1.3)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoFix logout link not working in safari (#16574)
Takeshi Umeda [Fri, 6 Aug 2021 10:14:13 +0000 (19:14 +0900)]
Fix logout link not working in safari (#16574)

4 years agoFix trends layout (#16570)
Jeong Arm [Thu, 5 Aug 2021 11:05:32 +0000 (20:05 +0900)]
Fix trends layout (#16570)

4 years agoBump eslint from 7.31.0 to 7.32.0 (#16550)
dependabot[bot] [Mon, 2 Aug 2021 14:28:16 +0000 (23:28 +0900)]
Bump eslint from 7.31.0 to 7.32.0 (#16550)

Bumps [eslint](https://github.com/eslint/eslint) from 7.31.0 to 7.32.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.31.0...v7.32.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump ws from 7.5.3 to 8.0.0 (#16552)
dependabot[bot] [Mon, 2 Aug 2021 14:28:03 +0000 (23:28 +0900)]
Bump ws from 7.5.3 to 8.0.0 (#16552)

Bumps [ws](https://github.com/websockets/ws) from 7.5.3 to 8.0.0.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.3...8.0.0)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoRevert "Bump sidekiq-unique-jobs from 7.1.2 to 7.1.4 (#16535)" (#16553)
Yamagishi Kazutoshi [Mon, 2 Aug 2021 07:52:26 +0000 (16:52 +0900)]
Revert "Bump sidekiq-unique-jobs from 7.1.2 to 7.1.4 (#16535)" (#16553)

This reverts commit 4fd40ec8947dbc0cc4ca7cce234e2bd5264f63ad.

4 years agoBump dotenv from 9.0.2 to 10.0.0 (#16306)
dependabot[bot] [Sun, 1 Aug 2021 02:27:57 +0000 (11:27 +0900)]
Bump dotenv from 9.0.2 to 10.0.0 (#16306)

Bumps [dotenv](https://github.com/motdotla/dotenv) from 9.0.2 to 10.0.0.
- [Release notes](https://github.com/motdotla/dotenv/releases)
- [Changelog](https://github.com/motdotla/dotenv/blob/master/CHANGELOG.md)
- [Commits](https://github.com/motdotla/dotenv/compare/v9.0.2...v10.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump sidekiq-unique-jobs from 7.1.2 to 7.1.4 (#16535)
dependabot[bot] [Sun, 1 Aug 2021 02:27:12 +0000 (11:27 +0900)]
Bump sidekiq-unique-jobs from 7.1.2 to 7.1.4 (#16535)

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 7.1.2 to 7.1.4.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.1.2...v7.1.4)

---
updated-dependencies:
- dependency-name: sidekiq-unique-jobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump oj from 3.12.1 to 3.12.2 (#16536)
dependabot[bot] [Sun, 1 Aug 2021 02:26:50 +0000 (11:26 +0900)]
Bump oj from 3.12.1 to 3.12.2 (#16536)

Bumps [oj](https://github.com/ohler55/oj) from 3.12.1 to 3.12.2.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.12.1...v3.12.2)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump aws-sdk-s3 from 1.96.1 to 1.96.2 (#16537)
dependabot[bot] [Sun, 1 Aug 2021 02:26:30 +0000 (11:26 +0900)]
Bump aws-sdk-s3 from 1.96.1 to 1.96.2 (#16537)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.96.1 to 1.96.2.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

---
updated-dependencies:
- dependency-name: aws-sdk-s3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rubocop from 1.18.3 to 1.18.4 (#16534)
dependabot[bot] [Sun, 1 Aug 2021 02:13:56 +0000 (11:13 +0900)]
Bump rubocop from 1.18.3 to 1.18.4 (#16534)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.18.3 to 1.18.4.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.18.3...v1.18.4)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump brakeman from 5.0.4 to 5.1.1 (#16538)
dependabot[bot] [Sun, 1 Aug 2021 02:13:41 +0000 (11:13 +0900)]
Bump brakeman from 5.0.4 to 5.1.1 (#16538)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 5.0.4 to 5.1.1.
- [Release notes](https://github.com/presidentbeef/brakeman/releases)
- [Changelog](https://github.com/presidentbeef/brakeman/blob/main/CHANGES.md)
- [Commits](https://github.com/presidentbeef/brakeman/compare/v5.0.4...v5.1.1)

---
updated-dependencies:
- dependency-name: brakeman
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump sass from 1.35.2 to 1.36.0 (#16540)
dependabot[bot] [Sun, 1 Aug 2021 02:13:08 +0000 (11:13 +0900)]
Bump sass from 1.35.2 to 1.36.0 (#16540)

Bumps [sass](https://github.com/sass/dart-sass) from 1.35.2 to 1.36.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.2...1.36.0)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/preset-env from 7.14.7 to 7.14.8 (#16544)
dependabot[bot] [Sun, 1 Aug 2021 02:12:01 +0000 (11:12 +0900)]
Bump @babel/preset-env from 7.14.7 to 7.14.8 (#16544)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.14.7 to 7.14.8.
- [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.14.8/packages/babel-preset-env)

---
updated-dependencies:
- dependency-name: "@babel/preset-env"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump npmlog from 4.1.2 to 5.0.0 (#16539)
dependabot[bot] [Sun, 1 Aug 2021 02:11:37 +0000 (11:11 +0900)]
Bump npmlog from 4.1.2 to 5.0.0 (#16539)

Bumps [npmlog](https://github.com/npm/npmlog) from 4.1.2 to 5.0.0.
- [Release notes](https://github.com/npm/npmlog/releases)
- [Changelog](https://github.com/npm/npmlog/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/npmlog/compare/v4.1.2...v5.0.0)

---
updated-dependencies:
- dependency-name: npmlog
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/runtime from 7.14.6 to 7.14.8 (#16541)
dependabot[bot] [Sun, 1 Aug 2021 02:10:09 +0000 (11:10 +0900)]
Bump @babel/runtime from 7.14.6 to 7.14.8 (#16541)

Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime) from 7.14.6 to 7.14.8.
- [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.14.8/packages/babel-runtime)

---
updated-dependencies:
- dependency-name: "@babel/runtime"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump regenerator-runtime from 0.13.7 to 0.13.9 (#16543)
dependabot[bot] [Sun, 1 Aug 2021 02:09:50 +0000 (11:09 +0900)]
Bump regenerator-runtime from 0.13.7 to 0.13.9 (#16543)

Bumps [regenerator-runtime](https://github.com/facebook/regenerator) from 0.13.7 to 0.13.9.
- [Release notes](https://github.com/facebook/regenerator/releases)
- [Commits](https://github.com/facebook/regenerator/compare/regenerator-runtime@0.13.7...regenerator-runtime@0.13.9)

---
updated-dependencies:
- dependency-name: regenerator-runtime
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @babel/core from 7.14.6 to 7.14.8 (#16542)
dependabot[bot] [Sun, 1 Aug 2021 02:09:33 +0000 (11:09 +0900)]
Bump @babel/core from 7.14.6 to 7.14.8 (#16542)

Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.6 to 7.14.8.
- [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.14.8/packages/babel-core)

---
updated-dependencies:
- dependency-name: "@babel/core"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoAdd confirmation modal when closing media edit modal with unsaved changes (#16518)
Claire [Sat, 24 Jul 2021 23:14:43 +0000 (01:14 +0200)]
Add confirmation modal when closing media edit modal with unsaved changes (#16518)

* Add confirmation modal when closing media edit modal with unsaved changes

* Move focal point media state to redux so it does not get erased by confirmation dialog

* Change upload modal behavior to keep it open while saving changes

Instead of closing it immediately and losing changes if they fail to save…

* Make it work with react-intl 2.9

4 years agoFix “open” link of media modal not closing modal (#16524)
Claire [Sat, 24 Jul 2021 23:13:46 +0000 (01:13 +0200)]
Fix “open” link of media modal not closing modal (#16524)

4 years agoFix scoped order warning in RemoveStatusService (#16531)
Claire [Sat, 24 Jul 2021 12:41:46 +0000 (14:41 +0200)]
Fix scoped order warning in RemoveStatusService (#16531)

Fixes “Scoped order is ignored, it's forced to be batch order.”

4 years agoFix crashes with Microsoft Translate on Microsoft Edge (#16525)
Claire [Fri, 23 Jul 2021 00:53:17 +0000 (02:53 +0200)]
Fix crashes with Microsoft Translate on Microsoft Edge (#16525)

Fixes #16509

Microsoft Edge with translation enabled rewrites the DOM in ways that confuse
react and prevent it from working properly. Wrapping the offending parts in
a span avoids this issue.

4 years agoAdd logging of S3-related errors (#16381)
Claire [Wed, 21 Jul 2021 16:34:39 +0000 (18:34 +0200)]
Add logging of S3-related errors (#16381)

4 years agoBump ws from 7.5.2 to 7.5.3 (#16486)
dependabot[bot] [Tue, 20 Jul 2021 13:25:19 +0000 (22:25 +0900)]
Bump ws from 7.5.2 to 7.5.3 (#16486)

Bumps [ws](https://github.com/websockets/ws) from 7.5.2 to 7.5.3.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.2...7.5.3)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump oj from 3.11.8 to 3.12.1 (#16493)
dependabot[bot] [Tue, 20 Jul 2021 13:25:09 +0000 (22:25 +0900)]
Bump oj from 3.11.8 to 3.12.1 (#16493)

Bumps [oj](https://github.com/ohler55/oj) from 3.11.8 to 3.12.1.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.11.8...v3.12.1)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rubocop-rails from 2.11.2 to 2.11.3 (#16494)
dependabot[bot] [Tue, 20 Jul 2021 13:24:57 +0000 (22:24 +0900)]
Bump rubocop-rails from 2.11.2 to 2.11.3 (#16494)

Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.11.2 to 2.11.3.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.11.2...v2.11.3)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump css-loader from 5.2.6 to 5.2.7 (#16500)
dependabot[bot] [Tue, 20 Jul 2021 13:24:41 +0000 (22:24 +0900)]
Bump css-loader from 5.2.6 to 5.2.7 (#16500)

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 5.2.6 to 5.2.7.
- [Release notes](https://github.com/webpack-contrib/css-loader/releases)
- [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/css-loader/compare/v5.2.6...v5.2.7)

---
updated-dependencies:
- dependency-name: css-loader
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump json-ld-preloaded from 3.1.5 to 3.1.6 (#16522)
dependabot[bot] [Tue, 20 Jul 2021 13:24:16 +0000 (22:24 +0900)]
Bump json-ld-preloaded from 3.1.5 to 3.1.6 (#16522)

Bumps [json-ld-preloaded](https://github.com/ruby-rdf/json-ld-preloaded) from 3.1.5 to 3.1.6.
- [Release notes](https://github.com/ruby-rdf/json-ld-preloaded/releases)
- [Commits](https://github.com/ruby-rdf/json-ld-preloaded/compare/3.1.5...3.1.6)

---
updated-dependencies:
- dependency-name: json-ld-preloaded
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump eslint from 7.30.0 to 7.31.0 (#16523)
dependabot[bot] [Tue, 20 Jul 2021 13:24:02 +0000 (22:24 +0900)]
Bump eslint from 7.30.0 to 7.31.0 (#16523)

Bumps [eslint](https://github.com/eslint/eslint) from 7.30.0 to 7.31.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.30.0...v7.31.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoFix replying from modal (#16516)
Claire [Sat, 17 Jul 2021 15:06:52 +0000 (17:06 +0200)]
Fix replying from modal (#16516)

Fixes #16515

Not using a router object somehow made `this.history` lag behind the real
browser history whenever pushing a new history item in `replyCompose`.

Not using the context-provided router in this case was an oversight made
when porting glitch-soc changes in #16499.

4 years agoFix inefficiencies in auto-linking code (#16506)
Claire [Thu, 15 Jul 2021 13:56:58 +0000 (15:56 +0200)]
Fix inefficiencies in auto-linking code (#16506)

The auto-linking code basically rewrote the whole string escaping non-ascii
characters in an inefficient way, and building a full character offset map
between the unescaped and escaped texts before sending the contents to
TwitterText's extractor.

Instead of doing that, this commit changes the TwitterText regexps to include
valid IRI characters in addition to valid URI characters.

4 years agoFix minor code quality issues (#16502)
Claire [Wed, 14 Jul 2021 03:36:23 +0000 (05:36 +0200)]
Fix minor code quality issues (#16502)

4 years agoFix user email address being banned on self-deletion (#16503)
Claire [Wed, 14 Jul 2021 03:35:49 +0000 (05:35 +0200)]
Fix user email address being banned on self-deletion (#16503)

* Add tests

* Fix user email address being banned on self-deletion

Fixes #16498

4 years agoUpdate CodeClimate badge in README (#16501)
Eugen Rochko [Tue, 13 Jul 2021 14:02:15 +0000 (16:02 +0200)]
Update CodeClimate badge in README (#16501)

4 years agoChange references to tootsuite/mastodon to mastodon/mastodon (#16491)
Claire [Tue, 13 Jul 2021 13:46:20 +0000 (15:46 +0200)]
Change references to tootsuite/mastodon to mastodon/mastodon (#16491)

* Change references to tootsuite/mastodon to mastodon/mastodon

* Remove obsolete test fixture

* Replace occurrences of tootsuite/mastodon with mastodon/mastodon in CHANGELOG

And a few other places

4 years agoImprove modal flow and back button handling (#16499)
Claire [Tue, 13 Jul 2021 13:45:17 +0000 (15:45 +0200)]
Improve modal flow and back button handling (#16499)

* Refactor shouldUpdateScroll passing

So far, shouldUpdateScroll has been manually passed down from the very top of
the React component hierarchy even though it is a static function common to
all ScrollContainer instances, so replaced that with a custom class extending
ScrollContainer.

* Generalize “press back to close modal” to any modal and to public pages

* Fix boost confirmation modal closing media modal

4 years agoUpdate docker-compose.yml (#16489)
Shlee [Sun, 11 Jul 2021 10:57:31 +0000 (18:57 +0800)]
Update docker-compose.yml (#16489)

4 years agoAdd ability to filter reports by origin of target account (#16487)
Eugen Rochko [Sun, 11 Jul 2021 09:01:38 +0000 (11:01 +0200)]
Add ability to filter reports by origin of target account (#16487)

4 years agoBump rubocop from 1.18.2 to 1.18.3 (#16477)
dependabot[bot] [Sat, 10 Jul 2021 16:08:54 +0000 (01:08 +0900)]
Bump rubocop from 1.18.2 to 1.18.3 (#16477)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.18.2 to 1.18.3.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.18.2...v1.18.3)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump sass from 1.35.1 to 1.35.2 (#16478)
dependabot[bot] [Sat, 10 Jul 2021 16:08:40 +0000 (01:08 +0900)]
Bump sass from 1.35.1 to 1.35.2 (#16478)

Bumps [sass](https://github.com/sass/dart-sass) from 1.35.1 to 1.35.2.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.35.1...1.35.2)

---
updated-dependencies:
- dependency-name: sass
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoAdd `configuration` attribute to `GET /api/v1/instance` (#16485)
Eugen Rochko [Sat, 10 Jul 2021 15:58:41 +0000 (17:58 +0200)]
Add `configuration` attribute to `GET /api/v1/instance` (#16485)

List various values like file size limits and supported mime types

4 years agoUse ruby-2.7.4 (#16481)
Daigo 3 Dango [Fri, 9 Jul 2021 23:29:27 +0000 (23:29 +0000)]
Use ruby-2.7.4 (#16481)

Stop using older version of resolv gem as the bug has been fixed.
https://bugs.ruby-lang.org/issues/17781

4 years agoBump rubocop from 1.18.1 to 1.18.2 (#16470)
dependabot[bot] [Thu, 8 Jul 2021 05:37:18 +0000 (14:37 +0900)]
Bump rubocop from 1.18.1 to 1.18.2 (#16470)

Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.18.1 to 1.18.2.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.18.1...v1.18.2)

---
updated-dependencies:
- dependency-name: rubocop
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rubocop-rails from 2.11.1 to 2.11.2 (#16471)
dependabot[bot] [Thu, 8 Jul 2021 05:37:06 +0000 (14:37 +0900)]
Bump rubocop-rails from 2.11.1 to 2.11.2 (#16471)

Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.11.1 to 2.11.2.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.11.1...v2.11.2)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump sidekiq-unique-jobs from 7.1.1 to 7.1.2 (#16472)
dependabot[bot] [Thu, 8 Jul 2021 05:35:45 +0000 (14:35 +0900)]
Bump sidekiq-unique-jobs from 7.1.1 to 7.1.2 (#16472)

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 7.1.1 to 7.1.2.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases)
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.1.1...v7.1.2)

---
updated-dependencies:
- dependency-name: sidekiq-unique-jobs
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump oj from 3.11.7 to 3.11.8 (#16473)
dependabot[bot] [Thu, 8 Jul 2021 05:35:34 +0000 (14:35 +0900)]
Bump oj from 3.11.7 to 3.11.8 (#16473)

Bumps [oj](https://github.com/ohler55/oj) from 3.11.7 to 3.11.8.
- [Release notes](https://github.com/ohler55/oj/releases)
- [Changelog](https://github.com/ohler55/oj/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/oj/compare/v3.11.7...v3.11.8)

---
updated-dependencies:
- dependency-name: oj
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump addressable from 2.7.0 to 2.8.0 (#16474)
dependabot[bot] [Thu, 8 Jul 2021 05:35:20 +0000 (14:35 +0900)]
Bump addressable from 2.7.0 to 2.8.0 (#16474)

Bumps [addressable](https://github.com/sporkmonger/addressable) from 2.7.0 to 2.8.0.
- [Release notes](https://github.com/sporkmonger/addressable/releases)
- [Changelog](https://github.com/sporkmonger/addressable/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sporkmonger/addressable/compare/addressable-2.7.0...addressable-2.8.0)

---
updated-dependencies:
- dependency-name: addressable
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump ws from 7.5.1 to 7.5.2 (#16475)
dependabot[bot] [Thu, 8 Jul 2021 05:34:32 +0000 (14:34 +0900)]
Bump ws from 7.5.1 to 7.5.2 (#16475)

Bumps [ws](https://github.com/websockets/ws) from 7.5.1 to 7.5.2.
- [Release notes](https://github.com/websockets/ws/releases)
- [Commits](https://github.com/websockets/ws/compare/7.5.1...7.5.2)

---
updated-dependencies:
- dependency-name: ws
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoAdd ability to skip sign-in token authentication for specific users (#16427)
Eugen Rochko [Thu, 8 Jul 2021 03:31:28 +0000 (05:31 +0200)]
Add ability to skip sign-in token authentication for specific users (#16427)

Remove "active within last two weeks" exception for sign in token requirement

Change admin reset password to lock access until the password is reset

4 years agoAdd --by-uri option to `tootctl domains purge` (#16434)
Claire [Wed, 7 Jul 2021 19:17:00 +0000 (21:17 +0200)]
Add --by-uri option to `tootctl domains purge` (#16434)

Fixes #16410

4 years agoFix upgrade path from 3.4.0 (#16465)
Claire [Wed, 7 Jul 2021 19:13:30 +0000 (21:13 +0200)]
Fix upgrade path from 3.4.0 (#16465)

3.4.1 dropped account_stats.lock_version, but in a way breaking the usual
upgrade path by requiring services to be reloaded after the post-migrations.

Indeed, `self.locking_column = nil` was not enough for Rails to ignore the
`lock_version` column when preparing statements on application load, resulting
in some ActiveRecord queries (typically those involving
`includes(:account_stat)`) erroring out with:

  ActiveRecord::StatementInvalid (PG::UndefinedColumn: ERROR:  column account_stats.lock_version does not exist

4 years agoChange number_to_human calls to always use 3-digits precision (#16469)
Claire [Wed, 7 Jul 2021 19:13:08 +0000 (21:13 +0200)]
Change number_to_human calls to always use 3-digits precision (#16469)

Fixes #16435

4 years agoAdd tests for BootstrapTimelineService (#16476)
Claire [Wed, 7 Jul 2021 19:12:43 +0000 (21:12 +0200)]
Add tests for BootstrapTimelineService (#16476)

4 years agoPreload libjemalloc.so for long-running Ruby (#16462)
Akihiko Odaki [Mon, 5 Jul 2021 17:16:35 +0000 (02:16 +0900)]
Preload libjemalloc.so for long-running Ruby (#16462)

Always mark jemalloc needed if jemalloc is enabled by akihikodaki · Pull Request #4627 · ruby/ruby
https://github.com/ruby/ruby/pull/4627
> Symbols exported by jemalloc is referred by the shared library but not
> by the executables when building Ruby as a shared library with
> jemalloc. It causes shared libraries such as the GNU C++ library
> occasionally rely on the memory allocator provided by the standard C
> library. Worse, the resolved symbols can later be replaced with
> jemalloc, and jemalloc may see pointers from the standard C library,
> which results in various failures.
> e.g. https://github.com/tootsuite/mastodon/issues/15751

As a workaround, do not rely on jemalloc enablement of Ruby, and
preload libjemalloc.so instead.

4 years agoFix typo in tag_feed_spec.rb (#16466)
Ikko Ashimine [Mon, 5 Jul 2021 17:16:21 +0000 (02:16 +0900)]
Fix typo in tag_feed_spec.rb (#16466)

existant -> existent

4 years agoFix pop-in player display when poster has long username or handle (#16468)
Claire [Mon, 5 Jul 2021 17:16:06 +0000 (19:16 +0200)]
Fix pop-in player display when poster has long username or handle (#16468)

4 years agoBump eslint from 7.29.0 to 7.30.0 (#16461)
dependabot[bot] [Sun, 4 Jul 2021 02:59:37 +0000 (11:59 +0900)]
Bump eslint from 7.29.0 to 7.30.0 (#16461)

Bumps [eslint](https://github.com/eslint/eslint) from 7.29.0 to 7.30.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v7.29.0...v7.30.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump @rails/ujs from 6.1.3 to 6.1.4 (#16442)
dependabot[bot] [Sat, 3 Jul 2021 20:07:46 +0000 (05:07 +0900)]
Bump @rails/ujs from 6.1.3 to 6.1.4 (#16442)

Bumps [@rails/ujs](https://github.com/rails/rails) from 6.1.3 to 6.1.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.3...v6.1.4)

---
updated-dependencies:
- dependency-name: "@rails/ujs"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoBump rails from 6.1.3.2 to 6.1.4 (#16436)
dependabot[bot] [Sat, 3 Jul 2021 20:07:32 +0000 (05:07 +0900)]
Bump rails from 6.1.3.2 to 6.1.4 (#16436)

Bumps [rails](https://github.com/rails/rails) from 6.1.3.2 to 6.1.4.
- [Release notes](https://github.com/rails/rails/releases)
- [Commits](https://github.com/rails/rails/compare/v6.1.3.2...v6.1.4)

---
updated-dependencies:
- dependency-name: rails
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
4 years agoFix anonymous access to outbox not being cached by the reverse proxy (#16458)
Claire [Sat, 3 Jul 2021 19:13:47 +0000 (21:13 +0200)]
Fix anonymous access to outbox not being cached by the reverse proxy (#16458)

* Fix anonymous access to outbox not being cached by the reverse proxy

Up until now, anonymous access to outbox was marked as public, but with a
0 duration for caching, which means remote proxies would only serve from cache
when the server was completely overwhelmed.

Changed that cache duration to one minute, so that repeated anonymous access
to one account's outbox can be appropriately cached.

Also added `Signature` to the `Vary` header in case a page is requested, so
that authenticated fetches are never served from cache (which only contains
public toots).

* Remove Vary: Accept header from webfinger controller

Indeed, we have stopped returning xrd, and only ever return jrd, so the
Accept request header does not matter anymore.

* Cache negative webfinger hits for 3 minutes