]> cat aescling's git repositories - mastodon.git/log
mastodon.git
5 years agoAdd button to manually mark all notifications as read
Thibaut Girka [Tue, 15 Sep 2020 21:42:58 +0000 (23:42 +0200)]
Add button to manually mark all notifications as read

5 years agoOnly update read marker when giving focus/mounting column
Thibaut Girka [Tue, 15 Sep 2020 18:54:26 +0000 (20:54 +0200)]
Only update read marker when giving focus/mounting column

5 years agoRefactor and change logic to only update marker if we reached the last
Thibaut Girka [Tue, 15 Sep 2020 17:27:12 +0000 (19:27 +0200)]
Refactor and change logic to only update marker if we reached the last
read notification.

5 years agoDisplay unread marker for notifications
Thibaut Girka [Tue, 15 Sep 2020 16:09:08 +0000 (18:09 +0200)]
Display unread marker for notifications

5 years agoClean up leftover from DM conversation view redesign
Thibaut Girka [Tue, 15 Sep 2020 15:58:05 +0000 (17:58 +0200)]
Clean up leftover from DM conversation view redesign

5 years ago[Glitch] Set z-index of dropdown to 9999.
kedama [Sun, 28 Oct 2018 05:39:59 +0000 (14:39 +0900)]
[Glitch] Set z-index of dropdown to 9999.

Port 678f5ed296e71bb80d170027b114d9d30a7ccab7 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge pull request #1419 from ThibG/glitch-soc/merge-upstream
ThibG [Tue, 8 Sep 2020 15:20:00 +0000 (17:20 +0200)]
Merge pull request #1419 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Tue, 8 Sep 2020 14:01:55 +0000 (16:01 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- app/controllers/api/v1/timelines/public_controller.rb
- app/lib/feed_manager.rb
- app/models/status.rb
- app/services/precompute_feed_service.rb
- app/workers/feed_insert_worker.rb
- spec/models/status_spec.rb

All conflicts are due to upstream refactoring feed management and us having
local-only toots on top of that. Rewrote local-only toots management for
upstream's changes.

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 agoMerge pull request #1418 from ThibG/glitch-soc/merge-upstream
ThibG [Mon, 7 Sep 2020 12:16:54 +0000 (14:16 +0200)]
Merge pull request #1418 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

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 agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Mon, 7 Sep 2020 07:21:38 +0000 (09:21 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `app/controllers/activitypub/collections_controller.rb`:
  Conflict caused because we have additional code to make sure pinned
  local-only toots don't get rendered on the ActivityPub endpoints.
  Ported upstream changes.

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 agoMerge pull request #1417 from ThibG/glitch-soc/merge-upstream
ThibG [Tue, 1 Sep 2020 15:36:30 +0000 (17:36 +0200)]
Merge pull request #1417 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

5 years ago[Glitch] Update Tesseract.js
ThibG [Mon, 31 Aug 2020 22:26:10 +0000 (00:26 +0200)]
[Glitch] Update Tesseract.js

Port 5fc5a9f9f18872cb0f1b54359338b2e189dd2bb1 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Add border around 🐞 emoji
ThibG [Mon, 31 Aug 2020 21:30:27 +0000 (23:30 +0200)]
[Glitch] Add border around 🐞 emoji

Port JS change from f0b6ddd97948d9c443cd155cb8ccc497e0608117 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Tue, 1 Sep 2020 14:52:37 +0000 (16:52 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `config/webpack/shared.js`:
  Upstream has changed how Tesseract.js gets included and dropped a dependency.
  The conflict is caused by glitch-soc having different code due to its
  theming system.
  Ported upstream changes.
- `lib/mastodon/version.rb`:
  Upstream refactor/code style change in a place we replaced upstream's
  repo URL with ours.
  Ported upstram changes, keeping our repo URL.
- `yarn.lock`:
  Upstream dropped dependencies, one of which was textually too close to
  a glitch-soc-specific dependency. Not a real conflict.

5 years agoChange radio button design to be consistent with that of the directory explorer
Thibaut Girka [Tue, 1 Sep 2020 08:21:45 +0000 (10:21 +0200)]
Change radio button design to be consistent with that of the directory explorer

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoCapitalize replies_policy strings
Thibaut Girka [Tue, 1 Sep 2020 07:56:36 +0000 (09:56 +0200)]
Capitalize replies_policy strings

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
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 agoFix threaded mode
Thibaut Girka [Tue, 1 Sep 2020 07:19:41 +0000 (09:19 +0200)]
Fix threaded mode

Fixes #1414

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 agoFix crash when opening detailed view of a status you boosted
Thibaut Girka [Mon, 31 Aug 2020 21:24:07 +0000 (23:24 +0200)]
Fix crash when opening detailed view of a status you boosted

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 agoMerge pull request #1411 from ThibG/glitch-soc/merge-upstream
ThibG [Sun, 30 Aug 2020 16:34:51 +0000 (18:34 +0200)]
Merge pull request #1411 from ThibG/glitch-soc/merge-upstream

Merge upstream changes

5 years agoAdapt 2FA changes to glitch-soc's theming system
Thibaut Girka [Sun, 30 Aug 2020 15:26:18 +0000 (17:26 +0200)]
Adapt 2FA changes to glitch-soc's theming system

5 years ago[Glitch] Add WebAuthn as an alternative 2FA method
santiagorodriguez96 [Mon, 24 Aug 2020 14:46:27 +0000 (11:46 -0300)]
[Glitch] Add WebAuthn as an alternative 2FA method

Port CSS changes from e8d41bc2fe9418613cdc118c8674fc5fe7856685

Co-authored-by: Facundo Padula <facundo.padula@cedarcode.com>
Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix: also use custom private boost icon for detailed status
Tdxdxoz [Mon, 24 Aug 2020 12:13:44 +0000 (20:13 +0800)]
[Glitch] Fix: also use custom private boost icon for detailed status

Port a3ec9af9b009d4548e3e8f7369213883212a922a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
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 ago[Glitch] Better manage subscriptionCounters
Daigo 3 Dango [Mon, 24 Aug 2020 12:06:45 +0000 (12:06 +0000)]
[Glitch] Better manage subscriptionCounters

Port 9669557be1d9c8577564242861bdbad9b821906a to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] reword "boost to original audience" as per tootsuite#14596
proxy [Sat, 22 Aug 2020 22:08:31 +0000 (18:08 -0400)]
[Glitch] reword "boost to original audience" as per tootsuite#14596

Port 46210a65d1cc4c53fb69fd9c904bdf2d5679d179 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix click range discrepancies in gifv
Takeshi Umeda [Sat, 22 Aug 2020 22:08:12 +0000 (07:08 +0900)]
[Glitch] Fix click range discrepancies in gifv

Port debf6ae31609dcc2fda224b4a6014848cb0e5a27 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years ago[Glitch] Fix scrolling issues when closing some dropdown menus
ThibG [Fri, 21 Aug 2020 12:14:28 +0000 (14:14 +0200)]
[Glitch] Fix scrolling issues when closing some dropdown menus

Port c7cfd4e67aedb38cba3ee452e18bd086e30e2e5d to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
5 years agoMerge branch 'master' into glitch-soc/merge-upstream
Thibaut Girka [Sun, 30 Aug 2020 14:13:08 +0000 (16:13 +0200)]
Merge branch 'master' into glitch-soc/merge-upstream

Conflicts:
- `app/controllers/accounts_controller.rb`:
  Upstream change too close to a glitch-soc change related to
  instance-local toots. Merged upstream changes.
- `app/services/fan_out_on_write_service.rb`:
  Minor conflict due to glitch-soc's handling of Direct Messages,
  merged upstream changes.
- `yarn.lock`:
  Not really a conflict, caused by glitch-soc-only dependencies
  being textually too close to updated upstream dependencies.
  Merged upstream changes.

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 replying to some remote toots switching to local-only
Thibaut Girka [Sat, 29 Aug 2020 15:48:01 +0000 (17:48 +0200)]
Fix replying to some remote toots switching to local-only

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>