Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4.2.1 - merge from upstream #31

Merged
merged 281 commits into from
Dec 1, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
281 commits
Select commit Hold shift + click to select a range
5f2d494
Update dependency react-redux to v8.1.3 (#27229)
renovate[bot] Oct 2, 2023
f68d540
Fix websocket connections being incorrectly decremented twice on erro…
ThisIsMissEm Oct 2, 2023
ee866ec
New Crowdin Translations (automated) (#27220)
github-actions[bot] Oct 2, 2023
1e2d497
Fix import progress not updating on certain failures (#27247)
ClearlyClaire Oct 2, 2023
7e7d6e6
Fix incorrectly keeping outdated update notices absent from the API e…
ClearlyClaire Oct 2, 2023
5e56f3d
Change some worker lock TTLs (#27246)
ClearlyClaire Oct 3, 2023
e95d25e
New Crowdin Translations (automated) (#27260)
github-actions[bot] Oct 3, 2023
770fd99
Fix importer returning negative row estimates (#27258)
jgillich Oct 3, 2023
e836d07
Update dependency haml_lint to v0.51.0 (#27250)
renovate[bot] Oct 3, 2023
ad637ea
Add a test case for ES8 (#27248)
jsgoldstein Oct 3, 2023
6320c52
Change min age of backup policy from 1 week to 6 days (#27200)
suddjian Oct 3, 2023
5a437ed
Keep version string displayed without breakpoints in UI (#26986)
vmstan Oct 3, 2023
4e55001
Add a short-lived lock to trend refresh scheduler (#27253)
ClearlyClaire Oct 3, 2023
ceb365c
Fix boosts of local users being filtered in account timelines (#27204)
ClearlyClaire Oct 3, 2023
37bbd3c
Fix double scroll bars in some columns in advanced interface (#27187)
ClearlyClaire Oct 3, 2023
8bb4706
Move migration_helpers Rubocop ignore to config (#24236)
nschonni Oct 3, 2023
e715da6
Fix haml-lint Rubocop `Rails/*` cops (#26042)
mjankowski Oct 3, 2023
85db392
Autofix Rubocop cops for config/ (#24145)
nschonni Oct 3, 2023
2f8f92d
Fix Elastic check deprecation warning about gem version (#27262)
mjankowski Oct 3, 2023
c676bc9
Dont match mention in url query string (#25656)
mjankowski Oct 3, 2023
68ec1d1
Fix language sorting in settings (#27158)
gunchleoc Oct 4, 2023
72cec47
Silence deprecation warning in CacheBuster spec (#27264)
mjankowski Oct 4, 2023
8e4251f
New Crowdin Translations (automated) (#27270)
github-actions[bot] Oct 4, 2023
40ba6e1
Fix Vary headers not being set on some redirects (#27272)
ClearlyClaire Oct 5, 2023
d225158
Update dependency @reduxjs/toolkit to v1.9.7 (#27275)
renovate[bot] Oct 5, 2023
3c13d70
Add mention of YJIT in admin dashboard if enabled (#27283)
ClearlyClaire Oct 5, 2023
32ab474
New Crowdin Translations (automated) (#27277)
github-actions[bot] Oct 5, 2023
2b98e2e
Fix auto-loading-more when not scrolled (#27286)
ClearlyClaire Oct 5, 2023
5606a17
Update dependency sidekiq to v6.5.10 (#27287)
renovate[bot] Oct 5, 2023
165ec6c
Remove bundle audit skipping sidekiq CVE (#27291)
mjankowski Oct 5, 2023
c4cff3d
Remove Capistrano (#27295)
renchap Oct 6, 2023
027c1be
Update dependency active_model_serializers to v0.10.14 (#27303)
renovate[bot] Oct 6, 2023
e0b54ed
New Crowdin Translations (automated) (#27304)
github-actions[bot] Oct 6, 2023
4d59dfb
Fix some remote posts getting truncated (#27307)
ClearlyClaire Oct 6, 2023
340c390
Fix crash when filtering for “dormant” relationships (#27306)
ClearlyClaire Oct 6, 2023
3171afc
Add Elasticsearch index size to Admin dashboard (#27301)
vmstan Oct 6, 2023
3262d1f
Fix incorrect serialization of regional languages in `contentMap` (#2…
ClearlyClaire Oct 6, 2023
640421f
Add 4.2.x to supported versions in SECURITY.md (#27317)
andypiper Oct 7, 2023
19ebf77
Merge commit 'e6b903b21e0682c1156ffec583ac2836fda7d657' into glitch-s…
ClearlyClaire Oct 8, 2023
cfc0da7
[Glitch] Fix retention dashboard not displaying correct month
vmstan Sep 28, 2023
d7fcd70
Merge commit '2016c5d912f400ae98ee03ce269112de2f9ec62d' into glitch-s…
ClearlyClaire Oct 8, 2023
702d162
Merge commit '5393be7a21331c8615ffb79c2271db92f6959458' into glitch-s…
ClearlyClaire Oct 8, 2023
e9a181c
Merge commit 'e95d25e1013b6328457b81bd98e8d6a841d45ec2' into glitch-s…
ClearlyClaire Oct 8, 2023
e83059f
[Glitch] Fix explore prompt appearing because of posts being received…
ClearlyClaire Sep 29, 2023
a5dbb1e
Merge commit '5a437edc7f22d5797e5af29d9b450a03eccec304' into glitch-s…
ClearlyClaire Oct 8, 2023
8eb09c6
[Glitch] Keep version string displayed without breakpoints in UI
vmstan Oct 3, 2023
74c27e3
Merge commit '37bbd3c1064380a756b4e821655d7697105f99f5' into glitch-s…
ClearlyClaire Oct 8, 2023
ac23707
Merge commit 'c676bc91e9c3aa81eb7cfbce3c5c5e80b84d3d02' into glitch-s…
ClearlyClaire Oct 8, 2023
86c9c5a
Merge commit '40ba6e119b7457161fd43b449875d0fb9d473c1a' into glitch-s…
ClearlyClaire Oct 8, 2023
53f5b27
Merge commit '640421f661ee4d7e76a2aab607e7b15687940b6f' into glitch-s…
ClearlyClaire Oct 8, 2023
967bd54
[Glitch] Fix auto-loading-more when not scrolled
ClearlyClaire Oct 5, 2023
eabe839
Update eslint (non-major) (#27328)
renovate[bot] Oct 9, 2023
5fc5a54
Update DefinitelyTyped types (non-major) (#27327)
renovate[bot] Oct 9, 2023
89b4868
New Crowdin Translations (automated) (#27321)
github-actions[bot] Oct 9, 2023
c310374
Fix clicking on already-opened thread post scrolling to the top of th…
ClearlyClaire Oct 9, 2023
774e118
Change `eslint` config to autofix missing comma and indentation in JS…
renchap Oct 9, 2023
9af2483
Merge pull request #2434 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 9, 2023
4c2aca7
Fix clicking on already-loaded thread scrolling to the top of the thr…
ClearlyClaire Oct 9, 2023
3da7afd
Merge commit 'c310374a2f83a890520ace50e41c1e3d046e15e1' into glitch-s…
ClearlyClaire Oct 9, 2023
b63d526
[Glitch] Fix clicking on already-opened thread post scrolling to the …
ClearlyClaire Oct 9, 2023
4a9cdfb
Merge commit '774e1189d26fffd914107a4236f6287043c988f8' into glitch-s…
ClearlyClaire Oct 9, 2023
7b325aa
[Glitch] Autofix missing comma and indentation in JS files
renchap Oct 9, 2023
8ef1a95
Merge commit '4c2aca777f6ae6942d0cf11aee56a925694ccdef' into glitch-s…
ClearlyClaire Oct 9, 2023
05159d2
[Glitch] Fix clicking on already-loaded thread scrolling to the top o…
ClearlyClaire Oct 9, 2023
1745c58
Update dependency sidekiq to v6.5.11 (#27345)
renovate[bot] Oct 10, 2023
1a2a4c3
New Crowdin Translations (automated) (#27347)
github-actions[bot] Oct 10, 2023
9d1c3d0
Fix scroll position in thread view reseting when closing a modal (#27…
ClearlyClaire Oct 10, 2023
27e84c0
Fix duplicate reports being sent when reporting some remote posts (#2…
ClearlyClaire Oct 10, 2023
1a4a23b
Merge pull request #2439 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 10, 2023
3735e6f
Merge commit '27e84c069112a3d2abfad947642457cc997a261a' into glitch-s…
ClearlyClaire Oct 10, 2023
99c7283
[Glitch] Fix scroll position in thread view reseting when closing a m…
ClearlyClaire Oct 10, 2023
7d2cd71
Add variable delay before link verification of remote account links (…
ClearlyClaire Oct 11, 2023
66becf9
Fix haml-lint `InstanceVariables` rule for admin/reports/actions (#27…
mjankowski Oct 11, 2023
0111e48
Update dependency sidekiq to v6.5.12 (#27358)
renovate[bot] Oct 11, 2023
f9abe70
Fix haml-lint `InstanceVariables` rule for auth/registrations/status …
mjankowski Oct 11, 2023
1afb7f4
Update dependency lograge to v0.14.0 (#27363)
renovate[bot] Oct 11, 2023
608cd66
Update README requirements from node 14 to node 16 (#27369)
znarf Oct 11, 2023
d0a3331
Update dependency rubocop to v1.57.0 (#27371)
renovate[bot] Oct 11, 2023
f1ae72b
New Crowdin Translations (automated) (#27364)
github-actions[bot] Oct 11, 2023
d7a8f6b
Fix haml-lint `InstanceVariables` rule for relationships/account (#27…
mjankowski Oct 11, 2023
85b36fb
Update dependency devise to v4.9.3 (#27373)
renovate[bot] Oct 12, 2023
d4c2dca
Fix haml-lint `InstanceVariables` rule for auth/sessions/two_factor/o…
mjankowski Oct 12, 2023
c348b90
New Crowdin Translations (automated) (#27376)
github-actions[bot] Oct 12, 2023
45a19dd
Merge pull request #2440 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 12, 2023
c86ad45
Change PWA start URL from `/home` to `/` (#27377)
ClearlyClaire Oct 12, 2023
133f218
Add system specs for admin area `batch` actions (#25027)
mjankowski Oct 13, 2023
6a9aab3
Update dependency devise-two-factor to v4.1.1 (#27382)
renovate[bot] Oct 13, 2023
773d25e
New Crowdin Translations (automated) (#27388)
github-actions[bot] Oct 13, 2023
45bdd60
Fix when unfollow a tag, my post also disappears from the home timeli…
kmycode Oct 13, 2023
5c287c4
Update dependency rubocop to v1.57.1 (#27389)
renovate[bot] Oct 13, 2023
77098c6
Delete .github/FUNDING.yml (#27390)
renchap Oct 13, 2023
4230d1e
Migrate to request specs in `/api/v1/timelines/tag/:hashtag` (#25797)
danielmbrasil Oct 13, 2023
7664e3b
Migrate to request specs in `/api/v1/statuses/:status_id/source` (#25…
danielmbrasil Oct 13, 2023
ecdb31d
Migrate to request specs in `/api/v1/favourites` (#25518)
danielmbrasil Oct 13, 2023
fd9dea2
DB speedup in `API::` controller/request specs (#25516)
mjankowski Oct 13, 2023
bc6cd27
Migrate to request specs in `/api/v1/followed_tags` (#25472)
danielmbrasil Oct 13, 2023
abf0e1f
Move `SignedReqestHelpers` rspec config to separate file (#25453)
mjankowski Oct 13, 2023
058f73a
Add request specs for `/api/v1/reports` (#25475)
danielmbrasil Oct 13, 2023
cad8cc9
Speed-up on `MoveWorker` spec (#25528)
mjankowski Oct 13, 2023
71cfdd7
Fix duplicate tests (#27395)
ClearlyClaire Oct 13, 2023
1b195ce
Speed-up on `Rack::Attack` spec (#25542)
mjankowski Oct 13, 2023
82beeb2
Migrate to request specs in `/api/v1/admin/trends/links` (#25739)
danielmbrasil Oct 13, 2023
e0da64b
Fix empty ENV variables not using default nil value (#27400)
renchap Oct 13, 2023
f0ef87b
Update dependency i18n-tasks to v1.0.13 (#27403)
renovate[bot] Oct 16, 2023
a00fc83
Update dependency bufferutil to v4.0.8 (#27412)
renovate[bot] Oct 16, 2023
13456ef
New Crowdin Translations (automated) (#27410)
github-actions[bot] Oct 16, 2023
23f8e93
Fixes #23135 - Allow cross origin request for /nodeinfo/2.0 API (#27413)
palant Oct 16, 2023
299aa71
Fix handling of `inLanguage` attribute in preview card processing (#2…
ClearlyClaire Oct 16, 2023
00e92b4
Add coverage for `CLI::Statuses` command (#25321)
mjankowski Oct 16, 2023
f8afa0f
Remove unused stub json ld context (#25454)
mjankowski Oct 16, 2023
f5bc1f2
Add coverage for `ExistingUsernameValidator` (#25592)
mjankowski Oct 16, 2023
d9caa6e
Migrate to request specs in `/api/v1/admin/accounts` (#25563)
danielmbrasil Oct 16, 2023
8e61165
Migrate to request specs in `/api/v1/blocks` (#25517)
danielmbrasil Oct 16, 2023
cafdaec
Migrate to request specs in `/api/v1/lists/:id/accounts` (#25468)
danielmbrasil Oct 16, 2023
c91c017
Extract `card` partial from `disputes/strikes/show` view (#27426)
mjankowski Oct 16, 2023
08a376c
Fix `Style/CombinableLoops` cop (#27429)
mjankowski Oct 16, 2023
e0ed0f8
Migrate to request specs in `/api/v1/notifications` (#25553)
danielmbrasil Oct 16, 2023
708299b
Misc coverage improvements for `Admin::` and `Settings::` controllers…
mjankowski Oct 16, 2023
893b2f3
Extract shared example for cacheable response in specs (#25388)
mjankowski Oct 16, 2023
8d0f12f
Extract partials from `admin/accounts/show` view (#27428)
mjankowski Oct 16, 2023
33b073f
Extract partials from `admin/reports/show` view (#27427)
mjankowski Oct 16, 2023
fc9ab61
Expand spec coverage of `CLI::Media` (#27437)
mjankowski Oct 16, 2023
1084703
Update changelog (#27440)
ClearlyClaire Oct 17, 2023
19900f6
Add coverage for `UnreservedUsernameValidator` (#25590)
mjankowski Oct 17, 2023
d54fec2
Add coverage for `CLI::PreviewCards#remove` command (#27441)
mjankowski Oct 17, 2023
12bb7be
Spec speed ups on `AccountsController` spec (#25391)
mjankowski Oct 17, 2023
c4bddc9
Add spec for poll model (#23399)
leevic31 Oct 17, 2023
935d541
Fix missing redirections to make sure /home redirect to the advanced …
Signez Oct 17, 2023
1fb4e40
Run scheduled actions only on the main repo (#27343)
renchap Oct 17, 2023
c0cda1a
Let use http_hidden_proxy on docker-compose (#27054)
tribela Oct 17, 2023
b34a2b1
Fix errors in CLI specs (#27399)
ClearlyClaire Oct 17, 2023
65cd070
Refactor domains cli to remove model call from regex (#25878)
mjankowski Oct 17, 2023
1996fb6
Update dependency puma to v6.4.0 (#27006)
renovate[bot] Oct 17, 2023
2528a07
Update `rubocop-capybara` to version 2.19.0 (#26982)
mjankowski Oct 17, 2023
ad44d83
Support "in:public" search filter (#26976)
tribela Oct 17, 2023
0036de4
Update dependency rubocop-performance to v1.19.1 (#26949)
renovate[bot] Oct 17, 2023
71447ab
Fix `Capybara/ClickLinkOrButtonStyle` cop in spec/features/admin area…
mjankowski Oct 17, 2023
5ef26d8
Add RSpec GitHub annotations gem (#24040)
nschonni Oct 17, 2023
656a41d
Merge commit '77098c6f1c25958960df98a1510b28352a39704f' into glitch-s…
ClearlyClaire Oct 17, 2023
b867d45
Merge commit 'c91c0175db1cc8b954a977d29472886234ce9586' into glitch-s…
ClearlyClaire Oct 17, 2023
c10a667
Merge commit '935d54124e80e9fe5365c724e5c8827a2b3ed5b3' into glitch-s…
ClearlyClaire Oct 17, 2023
8bbbd01
[Glitch] Fix missing redirections to make sure /home redirect to the …
Signez Oct 17, 2023
63179f0
Merge commit '5ef26d8fd50081c642b858a82bf0c5431b1c7e83' into glitch-s…
ClearlyClaire Oct 17, 2023
0d18c47
Enable scheduled actions only on glitch-soc's repo
ClearlyClaire Oct 17, 2023
e9dc30c
Fix duplicate github annotations for rspec failures (#27450)
ClearlyClaire Oct 18, 2023
091a21e
Add test coverage for `Mastodon::CLI::Accounts#prune` (#25204)
danielmbrasil Oct 18, 2023
63a2a4b
Fix `Performance/DeletePrefix` cop (#27448)
mjankowski Oct 18, 2023
4612576
New Crowdin Translations (automated) (#27454)
github-actions[bot] Oct 18, 2023
7c3fea7
Feature: Allow token introspection without read scope (#27142)
ThisIsMissEm Oct 18, 2023
a1b27d8
Fix `Naming/VariableNumber` cop (#27447)
mjankowski Oct 18, 2023
510845b
Only enable github-rspec for pull_request events (#27456)
ClearlyClaire Oct 18, 2023
10df97c
The `class` props should be `className` (#27462)
renchap Oct 19, 2023
f76e511
Consider shown and pending status in explore prompt calculation (#27466)
lambda Oct 19, 2023
1ffd5a9
New Crowdin Translations (automated) (#27465)
github-actions[bot] Oct 19, 2023
7bc8f03
Add test coverage for `Mastodon::CLI::Accounts#migrate` (#25284)
danielmbrasil Oct 19, 2023
bcd0171
Fix `Lint/UselessAssignment` cop (#27472)
mjankowski Oct 19, 2023
9f218c9
Refactor appeal partial to avoid brakeman XSS warning (#25880)
mjankowski Oct 19, 2023
68401fc
[Glitch] Support "in:public" search filter
tribela Oct 17, 2023
918137b
Merge pull request #2444 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 19, 2023
74fd46d
Merge commit '9f218c9924b883207a3463a29314c92032cf06df' into glitch-s…
ClearlyClaire Oct 19, 2023
126cd77
Do not display the navigation banner in the logo container (#27476)
renchap Oct 19, 2023
1b70d7e
Upgrade to react-router v5 (#25047)
renchap Oct 19, 2023
41f58e9
[Glitch] The `class` props should be `className`
renchap Oct 19, 2023
1a3248d
[Glitch] Consider shown and pending status in explore prompt calculation
lambda Oct 19, 2023
1c53aec
Merge pull request #2446 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 19, 2023
cc000c8
Merge commit '126cd7705dbeca5712da941a72661e26c189658b' into glitch-s…
ClearlyClaire Oct 19, 2023
5d9df17
[Glitch] Do not display the navigation banner in the logo container
renchap Oct 19, 2023
33bd8ec
Fix missing background behind dismissable banner in web UI (#27479)
Gargron Oct 20, 2023
284c719
New Crowdin Translations (automated) (#27480)
github-actions[bot] Oct 20, 2023
1368853
Fix processing LDSigned activities from actors with unknown public ke…
ClearlyClaire Oct 20, 2023
ab0fb81
Configure brakeman to ignore url safe preview card urls (#25883)
mjankowski Oct 20, 2023
18eacc7
Merge pull request #2447 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 21, 2023
245513d
Merge commit '1b70d7ed7c0fd3a9fcf028bf76b8c62ac8b3897f' into glitch-s…
ClearlyClaire Oct 21, 2023
d6eacb7
[Glitch] Upgrade to react-router v5
renchap Oct 19, 2023
9d45a44
Convert `<Button>` to Typescript (#27492)
renchap Oct 23, 2023
b021347
Validate allowed schemes on preview card URLs (#27485)
mjankowski Oct 23, 2023
70fd819
New Crowdin Translations (automated) (#27490)
github-actions[bot] Oct 23, 2023
0ad6617
Fix incorrect proptypes from react-router-v5 update (#27507)
ClearlyClaire Oct 23, 2023
773133b
Update eslint (non-major) (#27415)
renovate[bot] Oct 23, 2023
6f429d3
Update formatjs monorepo (#27416)
renovate[bot] Oct 23, 2023
6f1eb89
Update dependency ws to v8.14.2 (#26980)
renovate[bot] Oct 23, 2023
cd08b43
Update dependency sass to v1.69.4 (#27004)
renovate[bot] Oct 23, 2023
69d3318
Update dependency rimraf to v5.0.5 (#27140)
renovate[bot] Oct 23, 2023
bb5bae1
Update dependency webpack-merge to v5.10.0 (#27420)
renovate[bot] Oct 23, 2023
1322040
Update dependency core-js to v3.33.1 (#27481)
renovate[bot] Oct 23, 2023
25751c6
Update DefinitelyTyped types (non-major) (#27414)
renovate[bot] Oct 23, 2023
f7b3470
Update babel monorepo to v7.23.2 (#27118)
renovate[bot] Oct 23, 2023
53fd28b
Update dependency react-select to v5.7.7 (#27003)
renovate[bot] Oct 23, 2023
bcae744
Fix some link anchors being recognized as hashtags (#27271)
ClearlyClaire Oct 23, 2023
c3e0eb3
Change Content-Security-Policy to be tighter on media paths (#26889)
ClearlyClaire Oct 23, 2023
99f2534
Add support for displaying unknown servers on /admin/instances/:domai…
ClearlyClaire Oct 23, 2023
44edf3a
Improve error handling in mastodon:setup task (#21464)
ClearlyClaire Oct 23, 2023
8b770ce
Add warnings to report action logs (#27425)
ClearlyClaire Oct 23, 2023
d5408db
Update dependency prom-client to v15 (#27330)
renovate[bot] Oct 23, 2023
3cfdab6
Prune the changelog of older entries (#27432)
mjankowski Oct 23, 2023
fc7734d
Remove Renovate's Lock File Maintenance task (#27510)
renchap Oct 23, 2023
79a6320
Fix Layout/EmptyLineAfterGuardClause issues caused by merging an old …
ClearlyClaire Oct 23, 2023
d9503a1
Fix explore page reloading when you navigate back to it in web UI (#2…
Gargron Oct 23, 2023
26d2a2a
Migrate to request specs in `/api/v1/media` (#25543)
danielmbrasil Oct 23, 2023
379115e
Add SELF_DESTRUCT env variable to process self-destructions in the ba…
ClearlyClaire Oct 23, 2023
e93a75f
Rails 7.1 update (#25963)
mjankowski Oct 23, 2023
9482810
Rewrite `emoji_unicode_mapping_light` to TS (#25444)
taichi221228 Oct 24, 2023
4fdc548
Regenerate lint todos (#27513)
mjankowski Oct 24, 2023
e923bb9
Use `ENV.fetch` in views, fixes rubocop haml-lint issue (#27527)
mjankowski Oct 24, 2023
50b7ea8
New Crowdin Translations (automated) (#27523)
github-actions[bot] Oct 24, 2023
714e3ae
Use Rails 7.1 `normalizes` feature (#27521)
mjankowski Oct 24, 2023
6cf9f12
Create custom Github Actions for common steps (#27518)
renchap Oct 24, 2023
15182d1
Fix history handling not properly handling states after update to rea…
ClearlyClaire Oct 24, 2023
b0c76ea
Merge commit '0ad66175bf59a34b03d9ab2347181548d07089ea' into glitch-s…
ClearlyClaire Oct 24, 2023
1138d44
[Glitch] Fix missing background behind dismissable banner in web UI
Gargron Oct 20, 2023
9325cb5
[Glitch] Convert `<Button>` to Typescript
renchap Oct 23, 2023
5323f0e
[Glitch] Fix incorrect proptypes from react-router-v5 update
ClearlyClaire Oct 23, 2023
787d5ad
Merge commit 'bcae7442757845191c0e82b61cd1d0cd3ca860d1' into glitch-s…
ClearlyClaire Oct 24, 2023
57c0de9
Merge commit '8b770ce8110e6cd609a6769c66210d95e291e3e5' into glitch-s…
ClearlyClaire Oct 24, 2023
79c154f
Merge commit 'fc7734df8d8d53639bf244a2f2f3c39bc2fd12a7' into glitch-s…
ClearlyClaire Oct 24, 2023
e6c3d3c
Merge commit 'd9503a1965a16328b62ea7bf0bb54e87cbe30d29' into glitch-s…
ClearlyClaire Oct 24, 2023
69ea596
[Glitch] Fix explore page reloading when you navigate back to it in w…
Gargron Oct 23, 2023
e25cc4d
Merge commit '379115e601361c2b5da775fbf28b7dff9dc02e71' into glitch-s…
ClearlyClaire Oct 24, 2023
b188538
Fix missing libyaml-dev dependency in Dockerfile (#27533)
vmstan Oct 24, 2023
134de73
Change icons in web UI (#27385)
Gargron Oct 24, 2023
4b0fb76
Merge commit 'e93a75f1a11d6dfdcbd39dbdc22526c5508ad881' into glitch-s…
ClearlyClaire Oct 24, 2023
8a131fb
Fix `@rails/ujs` imports
ClearlyClaire Oct 24, 2023
3c9c029
Fix ActiveRecord::Migrator monkey-patch
ClearlyClaire Oct 24, 2023
4ef66d6
Merge commit '15182d1e5e595b21c47b48c5d258f30a0251e753' into glitch-s…
ClearlyClaire Oct 24, 2023
c6f9909
[Glitch] Rewrite `emoji_unicode_mapping_light` to TS
taichi221228 Oct 24, 2023
b73e4b5
[Glitch] Fix history handling not properly handling states after upda…
ClearlyClaire Oct 24, 2023
8123e86
[Glitch] Fix double scroll bars in some columns in advanced interface
ClearlyClaire Oct 3, 2023
b19d4eb
Fix HAML linting issues
ClearlyClaire Oct 24, 2023
bc3afb6
Update `rails/ujs` delegate method usage (#27538)
mjankowski Oct 24, 2023
f08ca3f
Fix missing icon props (#27539)
renchap Oct 24, 2023
cb92cdf
Fix `<ColumnBackButtonSlim>` (#27540)
renchap Oct 24, 2023
cec7f0e
Remove unused `#error_explanation` id from error partials (#27536)
mjankowski Oct 25, 2023
f261b64
Update dependency node to 20.9 (#27534)
renovate[bot] Oct 25, 2023
c85e0a6
New Crowdin Translations (automated) (#27544)
github-actions[bot] Oct 25, 2023
ba527c0
Merge commit '134de736dcbc6aa613fd5aec21d983d92d8b0be8' into glitch-s…
ClearlyClaire Oct 25, 2023
6e9f89e
Merge commit 'c85e0a6b047f1a72ad970bc04c4e1be3f028b3d1' into glitch-s…
ClearlyClaire Oct 25, 2023
85d4846
[Glitch] Fix `<ColumnBackButtonSlim>`
renchap Oct 24, 2023
c926f5f
Fix haml-lint `UnnecessaryStringOutput` for views (#27531)
mjankowski Oct 25, 2023
fa65c82
Fix cache store pool config deprecation warnings (#27551)
ClearlyClaire Oct 25, 2023
70dbf84
Solve simplest haml-lint `Rubocop` lints (#27529)
mjankowski Oct 25, 2023
a4e6fe3
Add missing ban icons (#27555)
renchap Oct 25, 2023
235a4cf
Fix batch attachment deletion when using OpenStack Swift (#27554)
ClearlyClaire Oct 25, 2023
9a3d047
Run `bin/rails app:update` with Rails 7.1 (#27522)
mjankowski Oct 25, 2023
6262095
Merge commit '9a3d047f3e604e581e18346424569e28fc9c5b96' into glitch-s…
ClearlyClaire Oct 25, 2023
36c8570
Fix HAML linting issue
ClearlyClaire Oct 25, 2023
59893a4
Merge pull request #2449 from ClearlyClaire/glitch-soc/merge-upstream
ClearlyClaire Oct 27, 2023
7ebd030
merging 4.2.1 from glitch-soc-main
sneakers-the-rat Oct 29, 2023
9eacb5c
fix linting errors after new rules introduced
sneakers-the-rat Oct 29, 2023
b1f2c39
Add nonce to script-src content security policy and to the mathjax co…
sneakers-the-rat Dec 1, 2023
5bcd2d1
Merge pull request #33 from NeuromatchAcademy/hotfix-mathtex-csp
sneakers-the-rat Dec 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 0 additions & 4 deletions .bundler-audit.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ services:
hard: -1

libretranslate:
image: libretranslate/libretranslate:v1.3.11
image: libretranslate/libretranslate:v1.3.12
restart: unless-stopped
volumes:
- lt-data:/home/libretranslate/.local
Expand Down
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
'plugin:import/recommended',
'plugin:promise/recommended',
'plugin:jsdoc/recommended',
'plugin:prettier/recommended',
],

env: {
Expand Down Expand Up @@ -63,7 +62,9 @@ module.exports = {
'consistent-return': 'error',
'dot-notation': 'error',
eqeqeq: ['error', 'always', { 'null': 'ignore' }],
'indent': ['error', 2],
'jsx-quotes': ['error', 'prefer-single'],
'semi': ['error', 'always'],
'no-case-declarations': 'off',
'no-catch-shadow': 'error',
'no-console': [
Expand Down Expand Up @@ -235,7 +236,7 @@ module.exports = {
},
// Common React utilities
{
pattern: '{classnames,react-helmet,react-router-dom}',
pattern: '{classnames,react-helmet,react-router,react-router-dom}',
group: 'external',
position: 'before',
},
Expand Down
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

19 changes: 19 additions & 0 deletions .github/actions/setup-javascript/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: 'Setup Javascript'
description: 'Setup a Javascript environment ready to run the Mastodon code'
inputs:
onlyProduction:
description: Only install production dependencies
default: 'false'

runs:
using: 'composite'
steps:
- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
shell: bash
run: yarn --frozen-lockfile ${{ inputs.onlyProduction != 'false' && '--production' || '' }}
23 changes: 23 additions & 0 deletions .github/actions/setup-ruby/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: 'Setup RUby'
description: 'Setup a Ruby environment ready to run the Mastodon code'
inputs:
ruby-version:
description: The Ruby version to install
default: '.ruby-version'
additional-system-dependencies:
description: 'Additional packages to install'

runs:
using: 'composite'
steps:
- name: Install system dependencies
shell: bash
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev ${{ inputs.additional-system-dependencies }}

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ inputs.ruby-version }}
bundler-cache: true
1 change: 0 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
extends: [
'config:recommended',
':labels(dependencies)',
':maintainLockFilesMonthly', // update non-direct dependencies monthly
':prConcurrentLimitNone', // Remove limit for open PRs at any time.
':prHourlyLimit2', // Rate limit PR creation to a maximum of two per hour.
],
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
compute-suffix:
runs-on: ubuntu-latest
if: github.repository == 'glitch-soc/mastodon'
steps:
- id: version_vars
env:
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/bundler-audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Run bundler-audit
run: bundle exec bundler-audit
24 changes: 5 additions & 19 deletions .github/workflows/check-i18n.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,25 +19,11 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install system dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Check for missing strings in English JSON
run: |
Expand Down
11 changes: 3 additions & 8 deletions .github/workflows/crowdin-download.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ permissions:
jobs:
download-translations:
runs-on: ubuntu-latest
if: github.repository == 'glitch-soc/mastodon'

steps:
- name: Checkout
Expand Down Expand Up @@ -44,14 +45,8 @@ jobs:
run: sudo chown -R runner:docker .

# This is needed to run the normalize step
- name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Run i18n normalize task
run: bundle exec i18n-tasks normalize
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-css.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- uses: xt0rted/stylelint-problem-matcher@v1

Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/lint-haml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Run haml-lint
run: |
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: ESLint
run: yarn lint:js --max-warnings 0
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-json.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Prettier
run: yarn lint:json
10 changes: 2 additions & 8 deletions .github/workflows/lint-md.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Prettier
run: yarn lint:md
10 changes: 2 additions & 8 deletions .github/workflows/lint-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Set-up RuboCop Problem Matcher
uses: r7kamura/rubocop-problem-matchers-action@v1
Expand Down
10 changes: 2 additions & 8 deletions .github/workflows/lint-yml.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Prettier
run: yarn lint:yml
10 changes: 2 additions & 8 deletions .github/workflows/test-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,8 @@ jobs:
- name: Clone repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
cache: yarn
node-version-file: '.nvmrc'

- name: Install all yarn packages
run: yarn --frozen-lockfile
- name: Set up Javascript environment
uses: ./.github/actions/setup-javascript

- name: Jest testing
run: yarn jest --reporters github-actions summary
12 changes: 2 additions & 10 deletions .github/workflows/test-migrations-one-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,16 +72,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up bundler cache
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Create database
run: './bin/rails db:create'
Expand Down
12 changes: 2 additions & 10 deletions .github/workflows/test-migrations-two-step.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,16 +71,8 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install native Ruby dependencies
run: |
sudo apt-get update
sudo apt-get install -y libicu-dev libidn11-dev

- name: Set up bundler cache
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
bundler-cache: true
- name: Set up Ruby environment
uses: ./.github/actions/setup-ruby

- name: Create database
run: './bin/rails db:create'
Expand Down
Loading
Loading