Eugen Rochko
096deaad7a
[Glitch] Fix "You might be interested in" flashing while searching in web UI
...
Port f932cc9b26
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
e4e80bf363
[Glitch] Add empty state message for follow recommendations in web UI
...
Port 1371a2cfa7
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Claire
06e7204181
[Glitch] Hide floating action button on onboarding page
...
Port 24c66f14c9
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
4740a69cc5
[Glitch] Change follow recommendations to be limited to 20 instead of 40 in web UI
...
Port 0fb004cf1f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
8df28df755
[Glitch] Fix newlines not being considered sentence separators in account note
...
Port 4bffe10987
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Eugen Rochko
c1eeb8603a
[Glitch] Change onboarding by replacing tutorial with follow recommendations in web UI
...
Port 052fb31256
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 22:00:11 +02:00
Claire
f47c6f1041
Disable onboarding modal (keep it in “Show me around” from getting started menu)
2021-05-07 22:00:11 +02:00
Claire
5d82bcfc82
Bump nodejs version requirement to node 12 ( #16175 )
...
One of our dependencies, yarg, now requires node 12 or later
2021-05-07 19:52:40 +02:00
Claire
111b2f6dfb
Merge pull request #1526 from ClearlyClaire/glitch-soc/merge-upstream
...
Merge upstream changes
2021-05-07 19:51:00 +02:00
Eugen Rochko
909c524fa7
Remove PubSubHubbub-related columns from accounts table ( #16170 )
2021-05-07 19:32:58 +02:00
Eugen Rochko
60e401894a
[Glitch] Add joined date to profiles in web UI
...
Port 50113e065f
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 18:39:07 +02:00
fusagiko / takayamaki
4ec7d8e629
[Glitch] fix component name
...
Port 3e3c54d56d
to glitch-soc
Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
2021-05-07 18:34:54 +02:00
Claire
31b8010045
Merge branch 'main' into glitch-soc/merge-upstream
...
- `app/views/statuses/_simple_status.html.haml`:
Small markup change in glitch-soc, on a line that has been modified by
upstream. Ported upstream changes.
2021-05-07 18:21:59 +02:00
Claire
3ef86c2f33
Do not populate AccountSummaries and FollowRecommendation views on migration ( #16173 )
...
Materializing those views can take a while, and they are currently refreshed
anyway each time they are actually used, in the FollowRecommendationsScheduler.
2021-05-07 18:14:29 +02:00
Claire
bb69774177
Fix older migrations on Ruby 3 ( #16174 )
2021-05-07 15:56:45 +02:00
Eugen Rochko
16faf69c7e
Change home timeline to reload after follow recommendations in web UI ( #16160 )
2021-05-07 14:33:57 +02:00
Eugen Rochko
91819606f9
Change trending hashtags to be affected be reblogs ( #16164 )
...
If a status with a hashtag becomes very popular, it stands to
reason that the hashtag should have a chance at trending
Fix no stats being recorded for hashtags that are not allowed
to trend, and stop ignoring bots
Remove references to hashtags in profile directory from the code
and the admin UI
2021-05-07 14:33:43 +02:00
Eugen Rochko
50113e065f
Add joined date to profiles in web UI ( #16169 )
2021-05-07 14:33:19 +02:00
dependabot[bot]
fe90cb2cb4
Bump url-parse from 1.4.7 to 1.5.1 ( #16172 )
...
Bumps [url-parse](https://github.com/unshiftio/url-parse ) from 1.4.7 to 1.5.1.
- [Release notes](https://github.com/unshiftio/url-parse/releases )
- [Commits](https://github.com/unshiftio/url-parse/compare/1.4.7...1.5.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 20:54:16 +09:00
dependabot[bot]
a8589162c3
Bump webpacker from 5.2.1 to 5.3.0 ( #16144 )
...
Bumps [webpacker](https://github.com/rails/webpacker ) from 5.2.1 to 5.3.0.
- [Release notes](https://github.com/rails/webpacker/releases )
- [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rails/webpacker/compare/v5.2.1...v5.3.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 12:33:21 +09:00
dependabot[bot]
63ffe4bdcd
Bump devise from 4.7.3 to 4.8.0 ( #16140 )
...
Bumps [devise](https://github.com/plataformatec/devise ) from 4.7.3 to 4.8.0.
- [Release notes](https://github.com/plataformatec/devise/releases )
- [Changelog](https://github.com/heartcombo/devise/blob/master/CHANGELOG.md )
- [Commits](https://github.com/plataformatec/devise/compare/v4.7.3...v4.8.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 12:27:58 +09:00
dependabot[bot]
3f22cef647
Bump yargs from 16.2.0 to 17.0.0 ( #16149 )
...
Bumps [yargs](https://github.com/yargs/yargs ) from 16.2.0 to 17.0.0.
- [Release notes](https://github.com/yargs/yargs/releases )
- [Changelog](https://github.com/yargs/yargs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/yargs/yargs/compare/v16.2.0...v17.0.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-07 12:27:33 +09:00
Claire
86f5fad111
Add Ruby 3.0 support ( #16046 )
...
* Fix issues with POSIX::Spawn, Terrapin and Ruby 3.0
Also improve the Terrapin monkey-patch for the stderr/stdout issue.
* Fix keyword argument handling throughout the codebase
* Monkey-patch Paperclip to fix keyword arguments handling in validators
* Change validation_extensions to please CodeClimate
* Bump microformats from 4.2.1 to 4.3.1
* Allow Ruby 3.0
* Add Ruby 3.0 test target to CircleCI
* Add test for admin dashboard warnings
* Fix admin dashboard warnings on Ruby 3.0
2021-05-06 14:22:54 +02:00
Eugen Rochko
f932cc9b26
Fix "You might be interested in" flashing while searching in web UI ( #16162 )
2021-05-06 02:11:43 +02:00
Eugen Rochko
1371a2cfa7
Add empty state message for follow recommendations in web UI ( #16161 )
2021-05-05 23:57:29 +02:00
Eugen Rochko
115cdee0ed
Fix media redownload worker retrying on unexpected response codes ( #16111 )
2021-05-05 23:46:59 +02:00
Claire
a02c93c5b0
Fix display of toots without text content ( #15665 )
...
* Fix display of toots without text content
- fixes CWs from other implementations not showing up if toot has no text
contents
- fixes the “Read more” thread indicator not showing up on threaded toots
with no text contents
* Move content-less toot's CW to conents
2021-05-05 23:41:02 +02:00
Takeshi Umeda
c958bc7297
Add management of delivery availability in Federation settings ( #15771 )
...
* Add management of delivery availavility in Federation settings
* fix translate
* Remove useless object creation
* Fix DeepSource issue
* Add shortcut for all
* Fix DeepSource(skipcq)
* Change 'remove' to 'clear'
* Fix style
* Change class method name (exhausted_deliveries_key_by)
2021-05-05 23:39:02 +02:00
Claire
78eddfc83c
Improve performance of follow recommendation scheduler ( #16159 )
...
Express follow_recommendations in terms of account_summaries rather than
accounts, integrate filters that are unconditionally used, and materialize
the resulting view.
This should result in the bulk of the computation being performed only once
instead of **once per recommendation language**.
2021-05-05 22:04:52 +02:00
Eugen Rochko
5b255015f5
Fix error when trying to render component for media without meta ( #16112 )
2021-05-05 21:16:55 +02:00
Eugen Rochko
d0c3b94271
Fix database serialization failure returning HTTP 500 ( #16101 )
...
Database serialization failure occurs when a read-replica is used
and a query takes long enough that rows on the primary database
become unavailable. It should return HTTP 503 as it is temporary.
Re-order rescue definitions according to their status codes
2021-05-05 19:44:35 +02:00
Eugen Rochko
1c2b085a64
Fix media processing getting stuck on too much stdin/stderr ( #16136 )
...
* Fix media processing getting stuck on too much stdin/stderr
See thoughtbot/terrapin#5
* Remove dependency on paperclip-av-transcoder gem
* Remove dependency on streamio-ffmpeg gem
* Disable stdin on ffmpeg process
2021-05-05 19:44:01 +02:00
Claire
bc520bd10d
Workaround Resolv::DNS-induced hangs by installing resolv 0.1.0 ( #16157 )
...
See https://github.com/tootsuite/mastodon/pull/16154#issuecomment-832062139
2021-05-05 15:59:43 +02:00
Takeshi Umeda
7bcd4a83f8
Fix how to change connection pool for rails 6 ( #16158 )
...
* Fix how to change connection pool for rails 6
* Fix to match the code elsewhere
2021-05-05 04:41:10 +02:00
Mélanie Chauvel
6930e22a7c
Improve description of keyboard shortcuts ( #16129 )
...
* Remove useless “to” from shortcuts description
* Improve descriptions of keyboard shortcuts
* Use curved quotations marks instead of straight ones
2021-05-04 23:23:36 +02:00
Yamagishi Kazutoshi
90f0349912
Remove dependency for @babel/plugin-proposal-class-properties ( #16155 )
2021-05-04 23:13:04 +02:00
Claire
aa38f15cf1
Revert default Ruby version to 2.7.2 ( #16154 )
...
Ruby 2.7.3 introduced a new bug with Resolv::DNS, which we heavily use within
Mastodon: https://bugs.ruby-lang.org/issues/17781
Ruby 2.7.3 also included security fixes for two CVEs, but those do not seem
to apply to Mastodon:
https://github.com/tootsuite/mastodon/pull/16004#issuecomment-815125025
2021-05-04 23:06:19 +02:00
Eugen Rochko
d3b2560e58
Fix existing username validator not allowing multiple accounts ( #16153 )
...
Fix #16107
2021-05-04 14:22:04 +02:00
Eugen Rochko
876061e777
Fix empty home feed before first follow has finished processing ( #16152 )
...
Change queue of merge worker from pull to default
2021-05-04 04:45:08 +02:00
Claire
db57eaf207
Change confirmations controller to redirect to / for approved users ( #16151 )
...
Clicking the confirmation link multiple times currently leads to entering
account settings, which can be confusing. This commit changes that so that
it redirects to the root path, so it behaves the same way as clicking only
once in most cases.
2021-05-03 15:45:19 +02:00
dependabot[bot]
fb67f2df5e
Bump mini-css-extract-plugin from 1.5.0 to 1.6.0 ( #16150 )
...
Bumps [mini-css-extract-plugin](https://github.com/webpack-contrib/mini-css-extract-plugin ) from 1.5.0 to 1.6.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/v1.5.0...v1.6.0 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 22:36:57 +09:00
dependabot[bot]
db37b69c3c
Bump @babel/preset-env from 7.13.15 to 7.14.0 ( #16145 )
...
Bumps [@babel/preset-env](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-env ) from 7.13.15 to 7.14.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.14.0/packages/babel-preset-env )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 22:35:30 +09:00
fusagiko / takayamaki
3e3c54d56d
fix component name ( #16138 )
...
It seems forget renaming when It copied from MissingIndicator.
Co-authored-by: fusagiko / takayamaki <takayamaki@users.noreply.github.com>
2021-05-03 14:59:49 +02:00
dependabot[bot]
fa04458ed1
Bump @babel/runtime from 7.13.17 to 7.14.0 ( #16148 )
...
Bumps [@babel/runtime](https://github.com/babel/babel/tree/HEAD/packages/babel-runtime ) from 7.13.17 to 7.14.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.14.0/packages/babel-runtime )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 20:12:32 +09:00
dependabot[bot]
52565cb90d
Bump aws-sdk-s3 from 1.93.1 to 1.94.0 ( #16143 )
...
Bumps [aws-sdk-s3](https://github.com/aws/aws-sdk-ruby ) from 1.93.1 to 1.94.0.
- [Release notes](https://github.com/aws/aws-sdk-ruby/releases )
- [Changelog](https://github.com/aws/aws-sdk-ruby/blob/version-3/gems/aws-sdk-s3/CHANGELOG.md )
- [Commits](https://github.com/aws/aws-sdk-ruby/commits )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 20:12:02 +09:00
dependabot[bot]
5da84e39d7
Bump @babel/core from 7.13.16 to 7.14.0 ( #16141 )
...
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core ) from 7.13.16 to 7.14.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.14.0/packages/babel-core )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 20:11:22 +09:00
dependabot[bot]
3da721d7b6
Bump sass from 1.32.11 to 1.32.12 ( #16142 )
...
Bumps [sass](https://github.com/sass/dart-sass ) from 1.32.11 to 1.32.12.
- [Release notes](https://github.com/sass/dart-sass/releases )
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md )
- [Commits](https://github.com/sass/dart-sass/compare/1.32.11...1.32.12 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 20:08:56 +09:00
dependabot[bot]
c003a61f0e
Bump marky from 1.2.1 to 1.2.2 ( #16147 )
...
Bumps [marky](https://github.com/nolanlawson/marky ) from 1.2.1 to 1.2.2.
- [Release notes](https://github.com/nolanlawson/marky/releases )
- [Commits](https://github.com/nolanlawson/marky/compare/v1.2.1...v1.2.2 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 20:07:30 +09:00
dependabot[bot]
bd25847508
Bump sidekiq-unique-jobs from 7.0.8 to 7.0.9 ( #16139 )
...
Bumps [sidekiq-unique-jobs](https://github.com/mhenrixon/sidekiq-unique-jobs ) from 7.0.8 to 7.0.9.
- [Release notes](https://github.com/mhenrixon/sidekiq-unique-jobs/releases )
- [Changelog](https://github.com/mhenrixon/sidekiq-unique-jobs/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mhenrixon/sidekiq-unique-jobs/compare/v7.0.8...v7.0.9 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-03 20:05:59 +09:00
Eugen Rochko
759cca2d31
Fix "cb is not a function" error in streaming API server ( #16134 )
...
Third argument of `ping` is the callback
Regression from #15932
2021-05-02 14:30:26 +02:00