]> cat aescling's git repositories - mastodon.git/log
mastodon.git
5 years agoAdd paragraph about browser add-ons when encountering some errors (#14801)
ThibG [Mon, 14 Sep 2020 13:05:22 +0000 (15:05 +0200)]
Add paragraph about browser add-ons when encountering some errors (#14801)

* Add paragraph about browser add-ons when encountering some errors

When a crash is caused by a NotFoundError exception, add a paragraph
to the error page mentioning browser add-ons.

Indeed, crashes with NotFoundError are often caused by browser extensions
messing with the DOM in ways React.JS can't recover from (e.g. issues #13325
and #14731).

* Reword error messages

5 years agoBump caniuse-lite from 1.0.30001124 to 1.0.30001129 (#14781)
dependabot[bot] [Mon, 14 Sep 2020 13:04:00 +0000 (22:04 +0900)]
Bump caniuse-lite from 1.0.30001124 to 1.0.30001129 (#14781)

Bumps [caniuse-lite](https://github.com/ben-eb/caniuse-lite) from 1.0.30001124 to 1.0.30001129.
- [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.30001124...v1.0.30001129)

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.11.0 to 7.11.5 (#14794)
dependabot[bot] [Mon, 14 Sep 2020 13:03:11 +0000 (22:03 +0900)]
Bump @babel/preset-env from 7.11.0 to 7.11.5 (#14794)

Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env) from 7.11.0 to 7.11.5.
- [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.11.5/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.79.1 to 1.80.0 (#14789)
dependabot[bot] [Mon, 14 Sep 2020 13:02:42 +0000 (22:02 +0900)]
Bump aws-sdk-s3 from 1.79.1 to 1.80.0 (#14789)

Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby) from 1.79.1 to 1.80.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 agoDo not serve account actors at all in limited federation mode (#14800)
ThibG [Mon, 14 Sep 2020 11:04:29 +0000 (13:04 +0200)]
Do not serve account actors at all in limited federation mode (#14800)

* Do not serve account actors at all in limited federation mode

When an account is fetched without a signature from an allowed instance,
return an error.

This isn't really an improvement in security, as the only information that was
previously returned was required protocol-level info, and the only personal bit
was the existence of the account. The existence of the account can still be
checked by issuing a webfinger query, as those are accepted without signatures.

However, this change makes it so that unallowed instances won't create account
records on their end when they find a reference to an unknown account.

The previous behavior of rendering a limited list of fields, instead of not
rendering the actor at all, was in order to prevent situations in which two
instances in Authorized Fetch mode or Limited Federation mode would fail to
reach each other because resolving an account would require a signed query…
from an account which can only be fetched with a signed query itself. However,
this should now be fine as fetching accounts is done by signing on behalf of
the special instance actor, which does not require any kind of valid signature
to be fetched.

* Fix tests

5 years agoFix reported statuses not being included in warning e-mail (#14778)
Eugen Rochko [Sun, 13 Sep 2020 10:52:17 +0000 (12:52 +0200)]
Fix reported statuses not being included in warning e-mail (#14778)

5 years agoallow pagination by min_id and max_id (#14776)
tateisu [Sat, 12 Sep 2020 15:09:49 +0000 (00:09 +0900)]
allow pagination by min_id and max_id (#14776)

* allow pagination by min_id and max_id

* also AccountConversation allows min_id,max_id pair

* also home,list TL allows min_id,max_id pair

5 years agoRefactor settings controllers (#14767)
Eugen Rochko [Fri, 11 Sep 2020 18:56:35 +0000 (20:56 +0200)]
Refactor settings controllers (#14767)

- Disallow suspended accounts from revoking sessions and apps
- Allow suspended accounts to access exports

5 years agoChange REST API to return empty data for suspended accounts (#14765)
Eugen Rochko [Fri, 11 Sep 2020 13:16:29 +0000 (15:16 +0200)]
Change REST API to return empty data for suspended accounts (#14765)

5 years agoBump node-fetch from 2.6.0 to 2.6.1 (#14772)
dependabot[bot] [Fri, 11 Sep 2020 12:06:53 +0000 (21:06 +0900)]
Bump node-fetch from 2.6.0 to 2.6.1 (#14772)

Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1.
- [Release notes](https://github.com/bitinn/node-fetch/releases)
- [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md)
- [Commits](https://github.com/bitinn/node-fetch/compare/v2.6.0...v2.6.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoAdd border around 🕺 emoji (#14769)
ThibG [Thu, 10 Sep 2020 17:08:03 +0000 (19:08 +0200)]
Add border around 🕺 emoji (#14769)

Fixes #14768

5 years agoChange web UI to show empty profile for suspended accounts (#14766)
Eugen Rochko [Wed, 9 Sep 2020 22:07:19 +0000 (00:07 +0200)]
Change web UI to show empty profile for suspended accounts (#14766)

5 years agoRefactor feed manager (#14761)
Eugen Rochko [Tue, 8 Sep 2020 01:41:16 +0000 (03:41 +0200)]
Refactor feed manager (#14761)

5 years agoBump browserslist from 4.14.0 to 4.14.1 (#14753)
dependabot[bot] [Tue, 8 Sep 2020 00:43:22 +0000 (02:43 +0200)]
Bump browserslist from 4.14.0 to 4.14.1 (#14753)

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.14.0 to 4.14.1.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.14.0...4.14.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump puma from 4.3.5 to 4.3.6 (#14750)
dependabot[bot] [Mon, 7 Sep 2020 23:23:13 +0000 (08:23 +0900)]
Bump puma from 4.3.5 to 4.3.6 (#14750)

Bumps [puma](https://github.com/puma/puma) from 4.3.5 to 4.3.6.
- [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/v4.3.5...v4.3.6)

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.88.0 to 0.90.0 (#14747)
dependabot[bot] [Mon, 7 Sep 2020 23:22:54 +0000 (08:22 +0900)]
Bump rubocop from 0.88.0 to 0.90.0 (#14747)

Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.88.0 to 0.90.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.88.0...v0.90.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.30001120 to 1.0.30001124 (#14756)
dependabot[bot] [Mon, 7 Sep 2020 20:45:50 +0000 (05:45 +0900)]
Bump caniuse-lite from 1.0.30001120 to 1.0.30001124 (#14756)

Bumps [caniuse-lite](https://github.com/ben-eb/caniuse-lite) from 1.0.30001120 to 1.0.30001124.
- [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.30001120...v1.0.30001124)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump ox from 2.13.2 to 2.13.3 (#14751)
dependabot[bot] [Mon, 7 Sep 2020 20:22:50 +0000 (05:22 +0900)]
Bump ox from 2.13.2 to 2.13.3 (#14751)

Bumps [ox](https://github.com/ohler55/ox) from 2.13.2 to 2.13.3.
- [Release notes](https://github.com/ohler55/ox/releases)
- [Changelog](https://github.com/ohler55/ox/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/ohler55/ox/compare/v2.13.2...v2.13.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump oj from 3.10.13 to 3.10.14 (#14749)
dependabot[bot] [Mon, 7 Sep 2020 20:22:33 +0000 (05:22 +0900)]
Bump oj from 3.10.13 to 3.10.14 (#14749)

Bumps [oj](https://github.com/ohler55/oj) from 3.10.13 to 3.10.14.
- [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.10.13...v3.10.14)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump sass-loader from 9.0.3 to 10.0.2 (#14741)
dependabot[bot] [Mon, 7 Sep 2020 20:22:10 +0000 (05:22 +0900)]
Bump sass-loader from 9.0.3 to 10.0.2 (#14741)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.3 to 10.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v9.0.3...v10.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aws-partitions from 1.363.0 to 1.365.0 (#14748)
dependabot[bot] [Mon, 7 Sep 2020 20:21:01 +0000 (05:21 +0900)]
Bump aws-partitions from 1.363.0 to 1.365.0 (#14748)

Bumps [aws-partitions](https://github.com/aws/aws-sdk-ruby) from 1.363.0 to 1.365.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-partitions/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump esrecurse from 4.2.1 to 4.3.0 (#14746)
dependabot[bot] [Mon, 7 Sep 2020 20:19:03 +0000 (05:19 +0900)]
Bump esrecurse from 4.2.1 to 4.3.0 (#14746)

Bumps [esrecurse](https://github.com/estools/esrecurse) from 4.2.1 to 4.3.0.
- [Release notes](https://github.com/estools/esrecurse/releases)
- [Commits](https://github.com/estools/esrecurse/compare/v4.2.1...v4.3.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump postgres-date from 1.0.6 to 1.0.7 (#14745)
dependabot[bot] [Mon, 7 Sep 2020 20:18:10 +0000 (05:18 +0900)]
Bump postgres-date from 1.0.6 to 1.0.7 (#14745)

Bumps [postgres-date](https://github.com/bendrucker/postgres-date) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/bendrucker/postgres-date/releases)
- [Commits](https://github.com/bendrucker/postgres-date/compare/v1.0.6...v1.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump postcss-calc from 7.0.3 to 7.0.4 (#14752)
dependabot[bot] [Mon, 7 Sep 2020 20:17:46 +0000 (05:17 +0900)]
Bump postcss-calc from 7.0.3 to 7.0.4 (#14752)

Bumps [postcss-calc](https://github.com/postcss/postcss-calc) from 7.0.3 to 7.0.4.
- [Release notes](https://github.com/postcss/postcss-calc/releases)
- [Changelog](https://github.com/postcss/postcss-calc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-calc/compare/v7.0.3...v7.0.4)

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.11.0 to 7.11.5 (#14754)
dependabot[bot] [Mon, 7 Sep 2020 20:17:08 +0000 (05:17 +0900)]
Bump @babel/plugin-transform-runtime from 7.11.0 to 7.11.5 (#14754)

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.11.0 to 7.11.5.
- [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.11.5/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 public_suffix from 4.0.5 to 4.0.6 (#14743)
dependabot[bot] [Mon, 7 Sep 2020 20:15:39 +0000 (05:15 +0900)]
Bump public_suffix from 4.0.5 to 4.0.6 (#14743)

Bumps [public_suffix](https://github.com/weppos/publicsuffix-ruby) from 4.0.5 to 4.0.6.
- [Release notes](https://github.com/weppos/publicsuffix-ruby/releases)
- [Changelog](https://github.com/weppos/publicsuffix-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/weppos/publicsuffix-ruby/compare/v4.0.5...v4.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 @babel/core from 7.11.1 to 7.11.6 (#14755)
dependabot[bot] [Mon, 7 Sep 2020 20:13:04 +0000 (05:13 +0900)]
Bump @babel/core from 7.11.1 to 7.11.6 (#14755)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump eventemitter3 from 4.0.5 to 4.0.7 (#14742)
dependabot[bot] [Mon, 7 Sep 2020 20:12:16 +0000 (05:12 +0900)]
Bump eventemitter3 from 4.0.5 to 4.0.7 (#14742)

Bumps [eventemitter3](https://github.com/primus/eventemitter3) from 4.0.5 to 4.0.7.
- [Release notes](https://github.com/primus/eventemitter3/releases)
- [Commits](https://github.com/primus/eventemitter3/compare/4.0.5...4.0.7)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump bcrypt from 3.1.15 to 3.1.16 (#14739)
dependabot[bot] [Mon, 7 Sep 2020 20:11:21 +0000 (05:11 +0900)]
Bump bcrypt from 3.1.15 to 3.1.16 (#14739)

Bumps [bcrypt](https://github.com/codahale/bcrypt-ruby) from 3.1.15 to 3.1.16.
- [Release notes](https://github.com/codahale/bcrypt-ruby/releases)
- [Changelog](https://github.com/codahale/bcrypt-ruby/blob/master/CHANGELOG)
- [Commits](https://github.com/codahale/bcrypt-ruby/compare/v3.1.15...v3.1.16)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump warden from 1.2.8 to 1.2.9 (#14738)
dependabot[bot] [Mon, 7 Sep 2020 20:10:49 +0000 (05:10 +0900)]
Bump warden from 1.2.8 to 1.2.9 (#14738)

Bumps [warden](https://github.com/hassox/warden) from 1.2.8 to 1.2.9.
- [Release notes](https://github.com/hassox/warden/releases)
- [Changelog](https://github.com/wardencommunity/warden/blob/master/CHANGELOG.md)
- [Commits](https://github.com/hassox/warden/compare/v1.2.8...v1.2.9)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump brakeman from 4.9.0 to 4.9.1 (#14737)
dependabot[bot] [Mon, 7 Sep 2020 20:09:44 +0000 (05:09 +0900)]
Bump brakeman from 4.9.0 to 4.9.1 (#14737)

Bumps [brakeman](https://github.com/presidentbeef/brakeman) from 4.9.0 to 4.9.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/v4.9.0...v4.9.1)

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.545 to 1.3.562 (#14757)
dependabot[bot] [Mon, 7 Sep 2020 20:09:18 +0000 (05:09 +0900)]
Bump electron-to-chromium from 1.3.545 to 1.3.562 (#14757)

Bumps [electron-to-chromium](https://github.com/kilian/electron-to-chromium) from 1.3.545 to 1.3.562.
- [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.545...v1.3.562)

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.5 to 3.1.6 (#14736)
dependabot[bot] [Mon, 7 Sep 2020 20:08:59 +0000 (05:08 +0900)]
Bump rdf from 3.1.5 to 3.1.6 (#14736)

Bumps [rdf](https://github.com/ruby-rdf/rdf) from 3.1.5 to 3.1.6.
- [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.5...3.1.6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump rubocop-rails from 2.6.0 to 2.8.0 (#14734)
dependabot[bot] [Mon, 7 Sep 2020 20:08:17 +0000 (05:08 +0900)]
Bump rubocop-rails from 2.6.0 to 2.8.0 (#14734)

Bumps [rubocop-rails](https://github.com/rubocop-hq/rubocop-rails) from 2.6.0 to 2.8.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rails/compare/v2.6.0...v2.8.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump sidekiq-unique-jobs from 6.0.22 to 6.0.23 (#14735)
dependabot[bot] [Mon, 7 Sep 2020 20:06:23 +0000 (05:06 +0900)]
Bump sidekiq-unique-jobs from 6.0.22 to 6.0.23 (#14735)

Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs) from 6.0.22 to 6.0.23.
- [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/v6.0.22...v6.0.23)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump tar from 6.0.2 to 6.0.5 (#14758)
dependabot[bot] [Mon, 7 Sep 2020 20:05:24 +0000 (05:05 +0900)]
Bump tar from 6.0.2 to 6.0.5 (#14758)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoFix multiple boosts of a same toot erroneously appearing in TL (#14759)
ThibG [Mon, 7 Sep 2020 16:00:15 +0000 (18:00 +0200)]
Fix multiple boosts of a same toot erroneously appearing in TL (#14759)

* Check for and record reblog info atomically

Instead of using ZREVRANK to determine whether a reblog is a new reblog or not,
use ZADD's NX option to perform the check/addition option atomically.

* Replace ZREVRANK call with ZSCORE key which is more efficient

* Make tests a bit stricter

* Fix off-by-one

5 years agoChanged tag most_used to recently_used (#14760)
abcang [Mon, 7 Sep 2020 15:47:41 +0000 (00:47 +0900)]
Changed tag most_used to recently_used (#14760)

5 years agoRefactor how public and tag timelines are queried (#14728)
Eugen Rochko [Mon, 7 Sep 2020 09:02:04 +0000 (11:02 +0200)]
Refactor how public and tag timelines are queried (#14728)

5 years agoRemove obsolete IndexedDB operations from web UI (#14730)
Eugen Rochko [Fri, 4 Sep 2020 18:22:40 +0000 (20:22 +0200)]
Remove obsolete IndexedDB operations from web UI (#14730)

Storing objects in IndexedDB was disabled in #7932, but we were
still trying to read objects from it before making an API call

5 years agoFix various warnings in rspec (#14729)
Eugen Rochko [Fri, 4 Sep 2020 18:22:26 +0000 (20:22 +0200)]
Fix various warnings in rspec (#14729)

5 years agoFix direct visibility style for light theme (#14727)
Takeshi Umeda [Fri, 4 Sep 2020 06:49:56 +0000 (15:49 +0900)]
Fix direct visibility style for light theme (#14727)

5 years agoAdd outbox attribute to instance actor (#14721)
ThibG [Wed, 2 Sep 2020 16:42:50 +0000 (18:42 +0200)]
Add outbox attribute to instance actor (#14721)

It's not useful for now, but it's required by ActivityPub

5 years agoAdded account featured tags API (#11817)
Takeshi Umeda [Wed, 2 Sep 2020 00:13:10 +0000 (09:13 +0900)]
Added account featured tags API (#11817)

5 years agoAdd featured hashtags as an ActivityPub collection (#11595)
Eugen Rochko [Wed, 2 Sep 2020 00:11:12 +0000 (02:11 +0200)]
Add featured hashtags as an ActivityPub collection (#11595)

5 years agoChange S3 ACL in "tootctl media remove-orphans --fix-permissions" from fixed value...
Y.Yamashiro [Tue, 1 Sep 2020 22:17:58 +0000 (07:17 +0900)]
Change S3 ACL in "tootctl media remove-orphans --fix-permissions" from fixed value to environment file's value. (#14715)

5 years agoAdd configuration option to filter replies in lists (#9205)
ThibG [Tue, 1 Sep 2020 11:31:28 +0000 (13:31 +0200)]
Add configuration option to filter replies in lists (#9205)

* Add database support for list show-reply preferences

* Add backend support to read and update list-specific show_replies settings

* Add basic UI to set list replies setting

* Add specs for list replies policy

* Switch "cycling" reply policy link to a set of radio inputs

* Capitalize replies_policy strings

* Change radio button design to be consistent with that of the directory explorer

5 years agoChange own direct-visibility statuses to be in the home feed again (#14711)
Eugen Rochko [Tue, 1 Sep 2020 11:30:42 +0000 (13:30 +0200)]
Change own direct-visibility statuses to be in the home feed again (#14711)

And remove highlighting in web UI

Full circle from #8940

5 years agoBump uri-js from 4.2.2 to 4.4.0 (#14706)
dependabot[bot] [Tue, 1 Sep 2020 01:35:56 +0000 (10:35 +0900)]
Bump uri-js from 4.2.2 to 4.4.0 (#14706)

Bumps [uri-js](https://github.com/garycourt/uri-js) from 4.2.2 to 4.4.0.
- [Release notes](https://github.com/garycourt/uri-js/releases)
- [Commits](https://github.com/garycourt/uri-js/compare/4.2.2...4.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 mini-css-extract-plugin from 0.9.0 to 0.11.0 (#14690)
dependabot[bot] [Tue, 1 Sep 2020 01:35:27 +0000 (10:35 +0900)]
Bump mini-css-extract-plugin from 0.9.0 to 0.11.0 (#14690)

Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin) from 0.9.0 to 0.11.0.
- [Release notes](https://github.com/webpack-contrib/mini-css-extract-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/mini-css-extract-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/mini-css-extract-plugin/compare/v0.9.0...v0.11.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoAdd `--fix-permissions` option to `tootctl media remove-orphans` (#14383)
Eugen Rochko [Tue, 1 Sep 2020 01:33:21 +0000 (03:33 +0200)]
Add `--fix-permissions` option to `tootctl media remove-orphans` (#14383)

5 years agoBump whatwg-url from 8.1.0 to 8.2.1 (#14688)
dependabot[bot] [Tue, 1 Sep 2020 01:33:15 +0000 (10:33 +0900)]
Bump whatwg-url from 8.1.0 to 8.2.1 (#14688)

Bumps [whatwg-url](https://github.com/jsdom/whatwg-url) from 8.1.0 to 8.2.1.
- [Release notes](https://github.com/jsdom/whatwg-url/releases)
- [Commits](https://github.com/jsdom/whatwg-url/compare/v8.1.0...v8.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump loglevel from 1.6.8 to 1.7.0 (#14692)
dependabot[bot] [Tue, 1 Sep 2020 01:27:49 +0000 (10:27 +0900)]
Bump loglevel from 1.6.8 to 1.7.0 (#14692)

Bumps [loglevel](https://github.com/pimterry/loglevel) from 1.6.8 to 1.7.0.
- [Release notes](https://github.com/pimterry/loglevel/releases)
- [Commits](https://github.com/pimterry/loglevel/compare/v1.6.8...v1.7.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.30001117 to 1.0.30001120 (#14695)
dependabot[bot] [Tue, 1 Sep 2020 01:27:20 +0000 (10:27 +0900)]
Bump caniuse-lite from 1.0.30001117 to 1.0.30001120 (#14695)

Bumps [caniuse-lite](https://github.com/ben-eb/caniuse-lite) from 1.0.30001117 to 1.0.30001120.
- [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.30001117...v1.0.30001120)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump querystringify from 2.1.1 to 2.2.0 (#14696)
dependabot[bot] [Tue, 1 Sep 2020 01:26:55 +0000 (10:26 +0900)]
Bump querystringify from 2.1.1 to 2.2.0 (#14696)

Bumps [querystringify](https://github.com/unshiftio/querystringify) from 2.1.1 to 2.2.0.
- [Release notes](https://github.com/unshiftio/querystringify/releases)
- [Commits](https://github.com/unshiftio/querystringify/compare/2.1.1...2.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 opener from 1.5.1 to 1.5.2 (#14698)
dependabot[bot] [Tue, 1 Sep 2020 01:24:57 +0000 (10:24 +0900)]
Bump opener from 1.5.1 to 1.5.2 (#14698)

Bumps [opener](https://github.com/domenic/opener) from 1.5.1 to 1.5.2.
- [Release notes](https://github.com/domenic/opener/releases)
- [Commits](https://github.com/domenic/opener/compare/v1.5.1...v1.5.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump side-channel from 1.0.2 to 1.0.3 (#14700)
dependabot[bot] [Tue, 1 Sep 2020 01:24:37 +0000 (10:24 +0900)]
Bump side-channel from 1.0.2 to 1.0.3 (#14700)

Bumps [side-channel](https://github.com/ljharb/side-channel) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/ljharb/side-channel/releases)
- [Changelog](https://github.com/ljharb/side-channel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/ljharb/side-channel/compare/v1.0.2...v1.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @testing-library/jest-dom from 5.11.2 to 5.11.4 (#14703)
dependabot[bot] [Tue, 1 Sep 2020 01:22:02 +0000 (10:22 +0900)]
Bump @testing-library/jest-dom from 5.11.2 to 5.11.4 (#14703)

Bumps [@testing-library/jest-dom](https://github.com/testing-library/jest-dom) from 5.11.2 to 5.11.4.
- [Release notes](https://github.com/testing-library/jest-dom/releases)
- [Changelog](https://github.com/testing-library/jest-dom/blob/master/CHANGELOG.md)
- [Commits](https://github.com/testing-library/jest-dom/compare/v5.11.2...v5.11.4)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump postcss-calc from 7.0.2 to 7.0.3 (#14705)
dependabot[bot] [Tue, 1 Sep 2020 01:21:16 +0000 (10:21 +0900)]
Bump postcss-calc from 7.0.2 to 7.0.3 (#14705)

Bumps [postcss-calc](https://github.com/postcss/postcss-calc) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/postcss/postcss-calc/releases)
- [Changelog](https://github.com/postcss/postcss-calc/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss-calc/compare/7.0.2...v7.0.3)

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.86.0 to 0.88.0 (#14412)
dependabot[bot] [Tue, 1 Sep 2020 01:04:00 +0000 (03:04 +0200)]
Bump rubocop from 0.86.0 to 0.88.0 (#14412)

* Bump rubocop from 0.86.0 to 0.88.0

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

Signed-off-by: dependabot[bot] <support@github.com>
* Fix for latest RuboCop

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
5 years agoBump aws-partitions from 1.362.0 to 1.363.0 (#14713)
dependabot[bot] [Tue, 1 Sep 2020 00:58:51 +0000 (02:58 +0200)]
Bump aws-partitions from 1.362.0 to 1.363.0 (#14713)

Bumps [aws-partitions](https://github.com/aws/aws-sdk-ruby) from 1.362.0 to 1.363.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-partitions/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump hamlit from 2.11.0 to 2.11.1 (#14689)
dependabot[bot] [Tue, 1 Sep 2020 00:57:12 +0000 (02:57 +0200)]
Bump hamlit from 2.11.0 to 2.11.1 (#14689)

Bumps [hamlit](https://github.com/k0kubun/hamlit) from 2.11.0 to 2.11.1.
- [Release notes](https://github.com/k0kubun/hamlit/releases)
- [Changelog](https://github.com/k0kubun/hamlit/blob/master/CHANGELOG.md)
- [Commits](https://github.com/k0kubun/hamlit/compare/v2.11.0...v2.11.1)

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.78.0 to 1.79.1 (#14691)
dependabot[bot] [Tue, 1 Sep 2020 00:56:53 +0000 (02:56 +0200)]
Bump aws-sdk-s3 from 1.78.0 to 1.79.1 (#14691)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aws-sdk-core from 3.104.4 to 3.105.0 (#14694)
dependabot[bot] [Tue, 1 Sep 2020 00:56:32 +0000 (02:56 +0200)]
Bump aws-sdk-core from 3.104.4 to 3.105.0 (#14694)

Bumps [aws-sdk-core](https://github.com/aws/aws-sdk-ruby) from 3.104.4 to 3.105.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases)
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/master/gems/aws-sdk-core/CHANGELOG.md)
- [Commits](https://github.com/aws/aws-sdk-ruby/commits)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump microformats from 4.2.0 to 4.2.1 (#14699)
dependabot[bot] [Tue, 1 Sep 2020 00:56:08 +0000 (02:56 +0200)]
Bump microformats from 4.2.0 to 4.2.1 (#14699)

Bumps [microformats](https://github.com/microformats/microformats-ruby) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/microformats/microformats-ruby/releases)
- [Commits](https://github.com/microformats/microformats-ruby/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump loofah from 2.6.0 to 2.7.0 (#14701)
dependabot[bot] [Tue, 1 Sep 2020 00:55:48 +0000 (02:55 +0200)]
Bump loofah from 2.6.0 to 2.7.0 (#14701)

Bumps [loofah](https://github.com/flavorjones/loofah) from 2.6.0 to 2.7.0.
- [Release notes](https://github.com/flavorjones/loofah/releases)
- [Changelog](https://github.com/flavorjones/loofah/blob/master/CHANGELOG.md)
- [Commits](https://github.com/flavorjones/loofah/compare/v2.6.0...v2.7.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump parallel_tests from 3.1.0 to 3.2.0 (#14702)
dependabot[bot] [Tue, 1 Sep 2020 00:55:16 +0000 (02:55 +0200)]
Bump parallel_tests from 3.1.0 to 3.2.0 (#14702)

Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 3.1.0 to 3.2.0.
- [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.1.0...v3.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 oj from 3.10.12 to 3.10.13 (#14704)
dependabot[bot] [Tue, 1 Sep 2020 00:54:34 +0000 (02:54 +0200)]
Bump oj from 3.10.12 to 3.10.13 (#14704)

Bumps [oj](https://github.com/ohler55/oj) from 3.10.12 to 3.10.13.
- [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.10.12...v3.10.13)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoUpdate Tesseract.js (#14708)
ThibG [Mon, 31 Aug 2020 22:26:10 +0000 (00:26 +0200)]
Update Tesseract.js (#14708)

* [WiP] Update Tesseract.js

- Update Tesseract.js to 2.2.1
- Use versioned file names
- differentiate two progression states: preparing OCR and detecting picture

* Get rid of copy-webpack-plugin

5 years agoAdd border around 🐞 emoji (#14712)
ThibG [Mon, 31 Aug 2020 21:30:27 +0000 (23:30 +0200)]
Add border around 🐞 emoji (#14712)

5 years agoAdd back “Home” link to the “Getting Started” column when the “Home” column isn't...
ThibG [Mon, 31 Aug 2020 16:11:37 +0000 (18:11 +0200)]
Add back “Home” link to the “Getting Started” column when the “Home” column isn't mounted (#14707)

* Add back "Home" link to "Getting started" when Home column isn't mounted

* Fix keys in getting_started

It should not matter much in practice as the list of items will only
change extremely rarely, but having a `key` that corresponds to the actual
item makes much more sense than having it be the index of the item within
the list.

5 years agoFix limited follower id in fan-out-on-write service (#14709)
Takeshi Umeda [Mon, 31 Aug 2020 16:11:27 +0000 (01:11 +0900)]
Fix limited follower id in fan-out-on-write service (#14709)

5 years agoMake Array-creation behavior of Paginable more predictable (#14687)
Akihiko Odaki [Mon, 31 Aug 2020 10:47:09 +0000 (19:47 +0900)]
Make Array-creation behavior of Paginable more predictable (#14687)

* Make Array-creation behavior of Paginable more predictable

Paginable.paginate_by_id usually returns ActiveRecord::Relation, but it
returns an Array if min_id option is present. The behavior caused problems
fixed with the following commits:
552e886b648faa2a2229d86c7fd9abc8bb5ff99c
b63ede5005d33b52266650ec716d345f166e2df0
64ef37b89de806f49cc59e011aa0ee2039c82c46

To prevent from recurring similar problems, this commit introduces two
changes:
- The scope now always returns an Array whether min_id option is present
  or not.
- The scope is renamed to to_a_paginated_by_id to clarify it returns an
  Array.

* Transform Paginable.to_a_paginated_by_id from a scope to a class method

https://api.rubyonrails.org/classes/ActiveRecord/Scoping/Named/ClassMethods.html#method-i-scope
> The method is intended to return an ActiveRecord::Relation object, which
> is composable with other scopes.

Paginable.to_a_paginated_by_id returns an Array and is not appropriate
as a scope.

5 years agoMinor fix & improvement for the Dockerfile (#14686)
Kairui Song | 宋恺睿 [Sun, 30 Aug 2020 14:45:49 +0000 (22:45 +0800)]
Minor fix & improvement for the Dockerfile  (#14686)

* Dockerfile: Fix building with multiarch

Tested on amd64 and arm64

* Reduce docker image size by clean up some unneeded source file

5 years agoAdd support for dereferencing objects through bearcaps (#14683)
Eugen Rochko [Sun, 30 Aug 2020 10:34:20 +0000 (12:34 +0200)]
Add support for dereferencing objects through bearcaps (#14683)

5 years agoFix inefficiencies in fan-out-on-write service (#14682)
Eugen Rochko [Sun, 30 Aug 2020 10:33:59 +0000 (12:33 +0200)]
Fix inefficiencies in fan-out-on-write service (#14682)

5 years agoFix videos with near-60 fps being rejected (#14684)
Eugen Rochko [Sat, 29 Aug 2020 23:54:30 +0000 (01:54 +0200)]
Fix videos with near-60 fps being rejected (#14684)

Fix #14668

5 years agofix: make Procfile compatible with herokuish (#12685)
Aurelia [Sat, 29 Aug 2020 17:00:30 +0000 (19:00 +0200)]
fix: make Procfile compatible with herokuish (#12685)

Co-authored-by: Aurelia <aurelia@serenitylabs.cloud>
5 years agoIntroduce ApplicationController#cache_collection_paginated_by_id (#14677)
Akihiko Odaki [Fri, 28 Aug 2020 10:31:56 +0000 (19:31 +0900)]
Introduce ApplicationController#cache_collection_paginated_by_id (#14677)

* Replace incorrect use of distinct with group

Some uses of ActiveRecord::QueryMethods#distinct pass field names but they
are incorrect for the current version of Rails.

ActiveRecord::QueryMethods#group provides the expected behavior and
benefits performance. See commit 6da24aad4cafdef8d8a2c92bac2002a5fc2fe9c8.

* Introduce ApplicationController#cache_collection_paginated_by_id

ApplicationController#cache_collection_paginated_by_id fuses
ApplicationController#cache_collection and Paginable.paginate_by_id.

An advantage of this method is that it prevents from modifying scope which
Paginable.paginate_by_id may provide.
ApplicationController#cache_collection always return an array and there
is no possibility of the scope modification. It is also clear for a
programmer, considering the implication of "cache".

This method can also emit more efficient queries by using
Cacheable.cache_ids before calling Paginable.paginate_by_id.

5 years agoEagerly load statuses with the main query in Api::V1::BookmarksController (#14674)
Akihiko Odaki [Fri, 28 Aug 2020 10:30:23 +0000 (19:30 +0900)]
Eagerly load statuses with the main query in Api::V1::BookmarksController (#14674)

This is same with commit 552e886b648faa2a2229d86c7fd9abc8bb5ff99c except
that it was for Api::V1::FavouritesController while this is for
Api::V1::BookmarksController.

5 years agoReplace incorrect use of distinct with group (#14675)
Akihiko Odaki [Fri, 28 Aug 2020 10:29:59 +0000 (19:29 +0900)]
Replace incorrect use of distinct with group (#14675)

Some uses of ActiveRecord::QueryMethods#distinct pass field names but they
are incorrect for the current version of Rails.

ActiveRecord::QueryMethods#group provides the expected behavior and
benefits performance. See commit 6da24aad4cafdef8d8a2c92bac2002a5fc2fe9c8.

5 years agoEagerly load statuses with the main query in Api::V1::FavouritesController (#14673)
Akihiko Odaki [Fri, 28 Aug 2020 07:27:33 +0000 (16:27 +0900)]
Eagerly load statuses with the main query in Api::V1::FavouritesController (#14673)

The old implementation had two queries:
1. The query constructed in Api::V1::FavouritesController#results
2. The query constructed in #cached_favourites, which is merged with 1.

Both of them are issued againt PostgreSQL. The combination of the two
queries caused the following problems:
- The small window between the two queries involves race conditions.
- Minor performance inefficiency.

Moreover, the construction of query 2, which involves merging with query
1 has a bug. Query 1 is finalized with paginate_by_id, but paginate_by_id
returns an array when min_id parameter is specified. The behavior prevents
from merging the query, and in the real world, ActiveRecord simply ignores
the merge (!), which results in querying the entire scan of statuses and
favourites table.

This change fixes these issues by simply letting query 1 get all the works
done.

5 years agoBump events from 3.1.0 to 3.2.0 (#14653)
dependabot[bot] [Wed, 26 Aug 2020 00:41:37 +0000 (09:41 +0900)]
Bump events from 3.1.0 to 3.2.0 (#14653)

Bumps [events](https://github.com/Gozala/events) from 3.1.0 to 3.2.0.
- [Release notes](https://github.com/Gozala/events/releases)
- [Changelog](https://github.com/Gozala/events/blob/master/History.md)
- [Commits](https://github.com/Gozala/events/compare/v3.1.0...v3.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 from 26.4.0 to 26.4.2 (#14648)
dependabot[bot] [Tue, 25 Aug 2020 16:53:32 +0000 (01:53 +0900)]
Bump jest from 26.4.0 to 26.4.2 (#14648)

Bumps [jest](https://github.com/facebook/jest) from 26.4.0 to 26.4.2.
- [Release notes](https://github.com/facebook/jest/releases)
- [Changelog](https://github.com/facebook/jest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/jest/compare/v26.4.0...v26.4.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @clusterws/cws from 2.0.0 to 3.0.0 (#14630)
dependabot[bot] [Tue, 25 Aug 2020 16:32:53 +0000 (01:32 +0900)]
Bump @clusterws/cws from 2.0.0 to 3.0.0 (#14630)

Bumps [@clusterws/cws](https://github.com/ClusterWS/cWS) from 2.0.0 to 3.0.0.
- [Release notes](https://github.com/ClusterWS/cWS/releases)
- [Changelog](https://github.com/ClusterWS/cWS/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ClusterWS/cWS/commits)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump browserslist from 4.13.0 to 4.14.0 (#14652)
dependabot[bot] [Tue, 25 Aug 2020 16:12:13 +0000 (01:12 +0900)]
Bump browserslist from 4.13.0 to 4.14.0 (#14652)

Bumps [browserslist](https://github.com/browserslist/browserslist) from 4.13.0 to 4.14.0.
- [Release notes](https://github.com/browserslist/browserslist/releases)
- [Changelog](https://github.com/browserslist/browserslist/blob/master/CHANGELOG.md)
- [Commits](https://github.com/browserslist/browserslist/compare/4.13.0...4.14.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump create-ecdh from 4.0.3 to 4.0.4 (#14649)
dependabot[bot] [Tue, 25 Aug 2020 15:41:15 +0000 (00:41 +0900)]
Bump create-ecdh from 4.0.3 to 4.0.4 (#14649)

Bumps [create-ecdh](https://github.com/crypto-browserify/createECDH) from 4.0.3 to 4.0.4.
- [Release notes](https://github.com/crypto-browserify/createECDH/releases)
- [Commits](https://github.com/crypto-browserify/createECDH/compare/v4.0.3...v4.0.4)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump css-loader from 3.6.0 to 4.2.2 (#14664)
dependabot[bot] [Tue, 25 Aug 2020 15:02:03 +0000 (00:02 +0900)]
Bump css-loader from 3.6.0 to 4.2.2 (#14664)

Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.6.0 to 4.2.2.
- [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/v3.6.0...v4.2.2)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump compression-webpack-plugin from 4.0.0 to 5.0.1 (#14647)
dependabot[bot] [Tue, 25 Aug 2020 15:01:46 +0000 (00:01 +0900)]
Bump compression-webpack-plugin from 4.0.0 to 5.0.1 (#14647)

Bumps [compression-webpack-plugin](https://github.com/webpack-contrib/compression-webpack-plugin) from 4.0.0 to 5.0.1.
- [Release notes](https://github.com/webpack-contrib/compression-webpack-plugin/releases)
- [Changelog](https://github.com/webpack-contrib/compression-webpack-plugin/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/compression-webpack-plugin/compare/v4.0.0...v5.0.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump imports-loader from 0.8.0 to 1.1.0 (#14323)
dependabot[bot] [Tue, 25 Aug 2020 13:50:47 +0000 (22:50 +0900)]
Bump imports-loader from 0.8.0 to 1.1.0 (#14323)

* Bump imports-loader from 0.8.0 to 1.1.0

Bumps [imports-loader](https://github.com/webpack-contrib/imports-loader) from 0.8.0 to 1.1.0.
- [Release notes](https://github.com/webpack-contrib/imports-loader/releases)
- [Changelog](https://github.com/webpack-contrib/imports-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/imports-loader/compare/v0.8.0...v1.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
* Migrate new syntax

* Add semicolon

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
5 years agoBump sass-loader from 8.0.2 to 9.0.3 (#14637)
dependabot[bot] [Tue, 25 Aug 2020 12:51:51 +0000 (21:51 +0900)]
Bump sass-loader from 8.0.2 to 9.0.3 (#14637)

Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 8.0.2 to 9.0.3.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v8.0.2...v9.0.3)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump aggregate-error from 3.0.1 to 3.1.0 (#14654)
dependabot[bot] [Tue, 25 Aug 2020 12:48:39 +0000 (21:48 +0900)]
Bump aggregate-error from 3.0.1 to 3.1.0 (#14654)

Bumps [aggregate-error](https://github.com/sindresorhus/aggregate-error) from 3.0.1 to 3.1.0.
- [Release notes](https://github.com/sindresorhus/aggregate-error/releases)
- [Commits](https://github.com/sindresorhus/aggregate-error/compare/v3.0.1...v3.1.0)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump js-base64 from 2.6.2 to 2.6.4 (#14650)
dependabot[bot] [Tue, 25 Aug 2020 12:44:10 +0000 (21:44 +0900)]
Bump js-base64 from 2.6.2 to 2.6.4 (#14650)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump eventemitter3 from 4.0.4 to 4.0.5 (#14646)
dependabot[bot] [Tue, 25 Aug 2020 12:43:00 +0000 (21:43 +0900)]
Bump eventemitter3 from 4.0.4 to 4.0.5 (#14646)

Bumps [eventemitter3](https://github.com/primus/eventemitter3) from 4.0.4 to 4.0.5.
- [Release notes](https://github.com/primus/eventemitter3/releases)
- [Commits](https://github.com/primus/eventemitter3/compare/4.0.4...4.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 postgres-date from 1.0.5 to 1.0.6 (#14642)
dependabot[bot] [Tue, 25 Aug 2020 12:38:20 +0000 (21:38 +0900)]
Bump postgres-date from 1.0.5 to 1.0.6 (#14642)

Bumps [postgres-date](https://github.com/bendrucker/postgres-date) from 1.0.5 to 1.0.6.
- [Release notes](https://github.com/bendrucker/postgres-date/releases)
- [Commits](https://github.com/bendrucker/postgres-date/compare/v1.0.5...v1.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 autoprefixer from 9.8.5 to 9.8.6 (#14641)
dependabot[bot] [Tue, 25 Aug 2020 12:35:57 +0000 (21:35 +0900)]
Bump autoprefixer from 9.8.5 to 9.8.6 (#14641)

Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 9.8.5 to 9.8.6.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/9.8.5...9.8.6)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump @babel/runtime from 7.10.5 to 7.11.2 (#14639)
dependabot[bot] [Tue, 25 Aug 2020 12:33:31 +0000 (21:33 +0900)]
Bump @babel/runtime from 7.10.5 to 7.11.2 (#14639)

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

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.5 to 7.11.0 (#14645)
dependabot[bot] [Tue, 25 Aug 2020 12:32:29 +0000 (21:32 +0900)]
Bump @babel/plugin-transform-runtime from 7.10.5 to 7.11.0 (#14645)

Bumps [@babel/plugin-transform-runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-transform-runtime) from 7.10.5 to 7.11.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.11.0/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 browserify-sign from 4.2.0 to 4.2.1 (#14636)
dependabot[bot] [Tue, 25 Aug 2020 12:30:11 +0000 (21:30 +0900)]
Bump browserify-sign from 4.2.0 to 4.2.1 (#14636)

Bumps [browserify-sign](https://github.com/crypto-browserify/browserify-sign) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/crypto-browserify/browserify-sign/releases)
- [Commits](https://github.com/crypto-browserify/browserify-sign/compare/v4.2.0...v4.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
5 years agoBump babel-jest from 26.1.0 to 26.3.0 (#14634)
dependabot[bot] [Tue, 25 Aug 2020 12:15:38 +0000 (21:15 +0900)]
Bump babel-jest from 26.1.0 to 26.3.0 (#14634)

Bumps [babel-jest](https://github.com/facebook/jest/tree/HEAD/packages/babel-jest) from 26.1.0 to 26.3.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.3.0/packages/babel-jest)

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