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

Node version #21

Merged
merged 497 commits into from
Nov 29, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
497 commits
Select commit Hold shift + click to select a range
147417a
Update dependency rspec-sidekiq to v4.1.0 (#27593)
renovate[bot] Oct 31, 2023
e5b7ae9
New Crowdin Translations (automated) (#27630)
github-actions[bot] Oct 31, 2023
d649bbf
Add some more tests and clean up domain block controller (#27469)
ClearlyClaire Oct 31, 2023
a916251
Update haml-lint line length configuration to match rubocop value (#2…
mjankowski Oct 31, 2023
9c8891b
Rewrite `AutosuggestTextarea` as Functional Component (#27618)
ClearlyClaire Oct 31, 2023
0e3401b
Improve Babel configuration and automatically load polyfills (#27333)
renchap Oct 31, 2023
b264318
Update strong_migrations to version 1.3.0 (#25991)
mjankowski Oct 31, 2023
3107a94
Silence deprecation warning about secrets/credentials with Devise pat…
mjankowski Oct 31, 2023
7ef56d6
Move json_ld context loaders to `config/initializers` (#27590)
mjankowski Oct 31, 2023
277e696
Use helpers to check environment in frontend (#27633)
renchap Oct 31, 2023
ac8e4ed
Fix inserting emojis from emoji picker fails with TypeError (#27647)
mgmn Nov 1, 2023
2aa28e0
Mark version 4.0 as no longer supported (#27627)
renchap Nov 1, 2023
0337df3
Fix posts from threads received out-of-order sometimes not being inse…
ClearlyClaire Nov 2, 2023
2d548e2
New Crowdin Translations (automated) (#27646)
github-actions[bot] Nov 3, 2023
5d9e71e
Archive uploaded CI assets into single file between build/test (#27668)
mjankowski Nov 3, 2023
9d799d4
Reduce CI job matrix job count (#27660)
mjankowski Nov 3, 2023
3bf2a72
Use Immutable `Record` for accounts in Redux state (#26559)
renchap Nov 3, 2023
6712bf8
Fixes website not loading for unlogged users (#27698)
renchap Nov 4, 2023
c0989b7
Fix incoming status creation date not being restricted to standard IS…
ClearlyClaire Nov 6, 2023
ef140da
Update dependency discard to v1.3.0 (#27720)
renovate[bot] Nov 6, 2023
afd1371
Update dependency rubocop to v1.57.2 (#27719)
renovate[bot] Nov 6, 2023
1416745
Update dependency faker to v3.2.2 (#27718)
renovate[bot] Nov 6, 2023
3bf896c
Disable Babel polyfill injection in dev (#27691)
renchap Nov 6, 2023
22b4713
Update eslint (non-major) (#27715)
renovate[bot] Nov 6, 2023
0ca27b2
Update DefinitelyTyped types (non-major) (#27713)
renovate[bot] Nov 6, 2023
9c34bb4
Update Node.js to v20.9 (#27714)
renovate[bot] Nov 6, 2023
e4e752c
Adjust transform origin for favorite star (#27700)
zunda Nov 6, 2023
949f5eb
Fix `RSpec/MetadataStyle` cop in spec/ (#27729)
mjankowski Nov 6, 2023
fe26f33
Fix `Rails/RedundantActiveRecordAllMethod` cop (#26885)
mjankowski Nov 6, 2023
0c4e7c0
Fix `Rails/FindEach` cop (#26886)
mjankowski Nov 6, 2023
c501d62
Fix `Rails/BulkChangeTable` cop (#26890)
mjankowski Nov 6, 2023
d6f5083
Fix `RSpec/SpecFilePathFormat` cops (#27730)
mjankowski Nov 6, 2023
1b28ab7
New Crowdin Translations (automated) (#27687)
github-actions[bot] Nov 7, 2023
b06284c
Fix `RSpec/HookArgument` cop (#27747)
mjankowski Nov 7, 2023
cfa14ec
Fix `Lint/EmptyBlock` cop (#27748)
mjankowski Nov 7, 2023
2d39268
Fix `Lint/OrAssignmentToConstant` cop (#27750)
mjankowski Nov 7, 2023
2862ad7
Stub controller methods and remove `rubocop:disable` in captcha featu…
mjankowski Nov 7, 2023
ae0d551
Do not copy `public/packs-test` into Docker (#27736)
renchap Nov 7, 2023
49e2772
Fix `RSpec/MessageSpies` cop (#27751)
mjankowski Nov 7, 2023
bbad5b6
Remove false positive cop detection (#27457)
mjankowski Nov 7, 2023
45770c9
Fix `Performance/MapMethodChain` cop (#27744)
mjankowski Nov 7, 2023
f476d9d
Fix the `notificationsUpdate` call (#27758)
renchap Nov 7, 2023
dc0bf87
Remove unused before block from settings/branding spec (#27759)
mjankowski Nov 7, 2023
a688a9e
Use strings instead of numeric literals and remove `rubocop:disable` …
mjankowski Nov 7, 2023
1d51e10
Consolidate JSON parsing in serializers specs (#27693)
mjankowski Nov 7, 2023
370802c
Add coverage for `CLI::Maintenance#fix_duplicates` command (#25252)
mjankowski Nov 7, 2023
02d27de
Move i18n locale configuration to separate initializer (#27571)
mjankowski Nov 7, 2023
ae7c20b
Move search and streaming spec manager classes to separate support fi…
mjankowski Nov 7, 2023
ee57bb4
Account statuses filter spec speedup (#27674)
mjankowski Nov 7, 2023
58f01a5
Add volume saving/reuse to video player (#27488)
thehydrogen Nov 7, 2023
27cbdc6
Change alt text to empty string for avatars (#21875)
jasminjohal Nov 7, 2023
b41e9b1
Update dependency strong_migrations to v1.6.4 (#27631)
renovate[bot] Nov 7, 2023
feea257
Update dependency aws-sdk-s3 to v1.136.0 (#26999)
renovate[bot] Nov 7, 2023
110ace0
Update dependency json-schema to v4.1.1 (#26933)
renovate[bot] Nov 7, 2023
b2619a1
Update dependency json-ld to v3.3.0 (#26762)
renovate[bot] Nov 7, 2023
1341790
Update dependency sidekiq-unique-jobs to v7.1.30 (#26091)
renovate[bot] Nov 7, 2023
4b8aee7
Update dependency thor to v1.3.0 (#27464)
renovate[bot] Nov 7, 2023
bcdfb72
Update dependency json-ld-preloaded to v3.3.0 (#26763)
renovate[bot] Nov 7, 2023
b36b353
Update dependency selenium-webdriver to v4.15.0 (#27649)
renovate[bot] Nov 7, 2023
ac9f92b
Update formatjs monorepo (#27746)
renovate[bot] Nov 7, 2023
8b0d86d
Update dependency simple_form to v5.3.0 (#27725)
renovate[bot] Nov 7, 2023
565d9a6
Update dependency sanitize to v6.1.0 (#27723)
renovate[bot] Nov 7, 2023
14e49e5
Update dependency react-select to v5.8.0 (#27722)
renovate[bot] Nov 7, 2023
389a6cc
Update dependency net-http to '~> 0.4.0' (#27721)
renovate[bot] Nov 7, 2023
d3cd37d
Feature - Prevents multiple audio/video attachments from being played…
TheDevJoao Nov 7, 2023
790f635
Deduplicate yarn lock file (#27670)
mjankowski Nov 8, 2023
e545978
Use framework helpers instead of i-vars in controller specs (#27767)
mjankowski Nov 8, 2023
23e32a4
Fix format-dependent redirects being cached regardless of requested f…
ClearlyClaire Nov 8, 2023
757d7c7
Upgrade to Yarn 4, remove support for Node 16 (#27073)
renchap Nov 8, 2023
33cc3ae
Fix `Style/StabbyLambdaParentheses` cop (#27771)
mjankowski Nov 8, 2023
7d6bcc0
Remove unmatched `rubocop:enable` declaration (#27769)
mjankowski Nov 8, 2023
9b7b4d7
Simplify request cache spec shared examples (#27673)
mjankowski Nov 8, 2023
5c328ae
New Crowdin Translations (automated) (#27768)
github-actions[bot] Nov 8, 2023
c03bd2a
Don't stub SUT in `FollowLimitValidator` spec (#27760)
mjankowski Nov 8, 2023
ce91d14
Fix `Style/WordArray` cop (#27770)
mjankowski Nov 8, 2023
b05575e
Move RSpec config for streaming/search managers to be near classes (#…
mjankowski Nov 8, 2023
13c3e59
Use helper method to build batched status edits in `admin/statuses/sh…
mjankowski Nov 8, 2023
c73d5a6
Using Sidekiq concurrency for default db pool value (#26488)
sinoru Nov 8, 2023
4329616
Ignore block result of `send` method and remove `rubocop:disable` in …
mjankowski Nov 8, 2023
69d00e2
Fix `RSpec/InstanceVariable` cop (#27766)
mjankowski Nov 8, 2023
5af47fb
Update dependency fog-openstack to v1 (#25968)
renovate[bot] Nov 9, 2023
c875dfc
Fix `Lint/UnusedBlockArgument` cop (#27777)
mjankowski Nov 9, 2023
c9204b7
Fix `Rails/I18nLocaleTexts` cop (#27779)
mjankowski Nov 9, 2023
ce1bd81
Reduce complexity in `StatusCacheHydrator` (#27783)
mjankowski Nov 9, 2023
d6c971e
New Crowdin Translations (automated) (#27787)
github-actions[bot] Nov 9, 2023
220a2e8
Run `yarn dedupe` when updating with Renovate (#27786)
ykzts Nov 9, 2023
23d88aa
Update babel monorepo to v7.23.3 (#27789)
renovate[bot] Nov 9, 2023
4812832
Update dependency axios to v1.6.1 (#27773)
renovate[bot] Nov 9, 2023
dec2796
Update dependency lint-staged to v15 (#27407)
renovate[bot] Nov 9, 2023
63c9102
Fix `RSpec/MessageChain` cop (#27776)
mjankowski Nov 9, 2023
9b06c0f
Fix Web UI not displaying appropriate explanation when a user hides t…
ClearlyClaire Nov 9, 2023
548bb30
Consolidate html page title output logic into helper (#27563)
mjankowski Nov 9, 2023
b87bfb8
Fix Yarn version in devcontainer (#27788)
vmstan Nov 9, 2023
c451bbe
Allow viewing and severing relationships with suspended accounts (#27…
ClearlyClaire Nov 9, 2023
9429e30
Disable sidekiq unique jobs in test env (#27737)
mjankowski Nov 9, 2023
e79bf1b
Minor speed improvement on `controllers/accounts` spec (#27679)
mjankowski Nov 9, 2023
7840c6b
Do not try to update an undefined video element (#27798)
thehydrogen Nov 9, 2023
fba838d
Update dependency @material-symbols/svg-600 to ^0.14.0 (#27803)
renovate[bot] Nov 10, 2023
ac69f90
Add `Api::V1::Instances::BaseController` base controller class (#27797)
mjankowski Nov 10, 2023
43e2f76
Extract crutches_active_mentions from FeedManager (#27785)
mjankowski Nov 10, 2023
ac62b99
New Crowdin Translations (automated) (#27804)
github-actions[bot] Nov 10, 2023
9dc3ce8
Speed-up in `Settings::` controllers specs (#27808)
mjankowski Nov 10, 2023
0d14fce
Change link previews to keep original URL from the status (#27312)
Gargron Nov 13, 2023
da4f370
Fix Jest config (#27834)
renchap Nov 13, 2023
3b989e4
Update dependency rails to v7.1.2 (#27812)
renovate[bot] Nov 13, 2023
a7117bb
Update dependency @rails/ujs to v7.1.2 (#27811)
renovate[bot] Nov 13, 2023
e5a7b73
New Crowdin Translations (automated) (#27815)
github-actions[bot] Nov 13, 2023
5bca5c4
Update formatjs monorepo (#27823)
renovate[bot] Nov 13, 2023
07a4059
Add support for invite codes in the registration API (#27805)
ClearlyClaire Nov 13, 2023
ed79713
Fix modal content not being selectable (#27813)
pajowu Nov 13, 2023
0c98a9d
Update devDependencies (non-major) (#25612)
renovate[bot] Nov 13, 2023
a36b59b
Spec coverage for `api/v1/trends` controllers (#27837)
mjankowski Nov 13, 2023
7e3c10d
Add icons for private and disabled boost in web UI (#27817)
Gargron Nov 13, 2023
a1b4846
Update DefinitelyTyped types (non-major) (#27830)
renovate[bot] Nov 13, 2023
da59407
Update eslint (non-major) (#27831)
renovate[bot] Nov 13, 2023
0945e25
Add `Api::V1::Statuses::BaseController` base controller class (#27794)
mjankowski Nov 13, 2023
49ba5a9
Use `hash_including` to check `AccountFilter` setup in `admin/account…
mjankowski Nov 13, 2023
bac9e0b
Add variable delay before link verification of remote account links (…
ClearlyClaire Nov 13, 2023
b7807f3
Use `normalizes` to prepare `Webhook#events` value (#27605)
mjankowski Nov 13, 2023
4aa06cb
Fix "Hide these posts from home" list setting not refreshing when swi…
brianholley Nov 14, 2023
5e2ecc7
Remove double `subject` in api/v1/accounts/relationships spec (#27839)
mjankowski Nov 14, 2023
373aa95
Update formatjs monorepo (#27849)
renovate[bot] Nov 14, 2023
1f8173a
Extract private methods in api/v1/instances/domain_blocks (#27844)
mjankowski Nov 14, 2023
c1e071f
New Crowdin Translations (automated) (#27848)
github-actions[bot] Nov 14, 2023
4eb4e8b
Update Yarn to v4.0.2 (#27851)
renovate[bot] Nov 14, 2023
d562fb8
Specs for minimal CSP policy in `Api::` controllers (#27845)
mjankowski Nov 14, 2023
b2c5b20
Fix `RSpec/AnyInstance` cop (#27810)
mjankowski Nov 14, 2023
7e1a77e
Add base class for `api/v1/timelines/*` controllers (#27840)
mjankowski Nov 14, 2023
2b038b4
Added Thai diacritics and tone marks in HASHTAG_INVALID_CHARS_RE (#26…
ppnplus Nov 14, 2023
35b9749
Update dependency webpack-bundle-analyzer to v4.10.0 (#27852)
renovate[bot] Nov 14, 2023
36d7d17
Add CodeCov for Ruby coverage reports (#23868)
nschonni Nov 14, 2023
15b2d7e
Split streaming server from web server (#24702)
ThisIsMissEm Nov 14, 2023
998f068
Update Yarn to v4.0.2 (#27857)
renovate[bot] Nov 14, 2023
7c72944
Use `Lcov` simplecov formatter on CI and `HTML` elsewhere (#27859)
mjankowski Nov 15, 2023
b6f2910
Improve codecov config (#27860)
renchap Nov 15, 2023
5d75799
Update dependency axios to v1.6.2 (#27861)
renovate[bot] Nov 15, 2023
922f086
Fix open status on media modal (#27867)
tribela Nov 15, 2023
d807412
New Crowdin Translations (automated) (#27866)
github-actions[bot] Nov 15, 2023
d67bd44
Add profile setup to onboarding in web UI (#27829)
Gargron Nov 15, 2023
fe58ac8
Improve spec coverage for `api/web/push_subscriptions` controller (#2…
mjankowski Nov 15, 2023
12a5b73
Add spec for well known change password endpoint (#27856)
mjankowski Nov 15, 2023
bd575a1
Add banner for forwarded reports made by remote users about remote co…
ClearlyClaire Nov 15, 2023
3de9145
Move controller specs for `well-known` endpoints to request specs (#2…
mjankowski Nov 15, 2023
04121bd
Disable simplecov `enable_coverage_for_eval` option, move to standalo…
mjankowski Nov 15, 2023
91a05f3
Update libretranslate/libretranslate Docker tag to v1.5.2 (#27716)
renovate[bot] Nov 16, 2023
669a715
Update dependency webpack-bundle-analyzer to v4.10.1 (#27885)
renovate[bot] Nov 16, 2023
c1f93de
Reduce expectations for `RSpec/MultipleExpectations` cop in `controll…
mjankowski Nov 16, 2023
3f0c156
Reduce expectations for `RSpec/MultipleExpectations` cop in `api/v1/a…
mjankowski Nov 16, 2023
8a28541
Reduce expectations for `RSpec/MultipleExpectations` cop in `MoveWork…
mjankowski Nov 16, 2023
7232d47
New Crowdin Translations (automated) (#27884)
github-actions[bot] Nov 16, 2023
87696ea
Add prominent share/copy button on profiles in web UI (#27865)
Gargron Nov 16, 2023
c94bedf
Use container queries to hide profile share button (#27889)
ClearlyClaire Nov 16, 2023
0a6ec04
Fix upper border radius of onboarding columns (#27890)
ClearlyClaire Nov 16, 2023
155fb84
Improve spec coverage for collection of `workers/` classes (#27874)
mjankowski Nov 16, 2023
cb1a4a8
Reduce expectations for `RSpec/MultipleExpectations` cop in `spec/pre…
mjankowski Nov 16, 2023
94178e2
Update dependency react-redux-loading-bar to v5.0.5 (#27916)
renovate[bot] Nov 17, 2023
6c2e78f
Update dependency @material-symbols/svg-600 to v0.14.1 (#27907)
renovate[bot] Nov 17, 2023
1526e54
Add spec coverage for `workers/redownload_*` worker classes (#27892)
mjankowski Nov 17, 2023
9c68741
New Crowdin Translations (automated) (#27914)
github-actions[bot] Nov 17, 2023
549e8e7
Add `email_spec` and speedup/cleanup to `spec/mailers` (#27902)
mjankowski Nov 17, 2023
0e98014
Change to single opt-in during profile setup in onboarding in web UI …
Gargron Nov 17, 2023
9257737
Rewrite `/api/v1/accounts` tests as request specs (#27888)
ClearlyClaire Nov 17, 2023
297839c
Rewrite `/api/v1/statuses` tests as request specs (#27891)
ClearlyClaire Nov 17, 2023
e892efb
Configure elastic search integration with rspec tag (#27882)
mjankowski Nov 17, 2023
60f143e
Fixed yarn not installing node packages for streaming (#27967)
timetinytim Nov 18, 2023
6d60b93
Update devDependencies (non-major) (#27992)
renovate[bot] Nov 20, 2023
d75c7ac
Update dependency core-js to v3.33.3 (#27980)
renovate[bot] Nov 20, 2023
135c4d8
Update dependency rubocop-rails to v2.22.2 (#27975)
renovate[bot] Nov 20, 2023
8ceae2b
New Crowdin Translations (automated) (#27966)
github-actions[bot] Nov 20, 2023
09a2db3
Move api/v2/filters spec to correct path location (#27950)
mjankowski Nov 20, 2023
6464b7c
Update dependency public_suffix to v5.0.4 (#27931)
renovate[bot] Nov 20, 2023
12c22ee
Update eslint (non-major) (#27995)
renovate[bot] Nov 20, 2023
1fabf20
Reduce `.times` usage in `lib/mastodon/cli/accounts` spec (#27944)
mjankowski Nov 20, 2023
00c6ebd
Reduce `.times` usage in `StatusPin` and add `PIN_LIMIT` constant in …
mjankowski Nov 20, 2023
d2aacea
Reduce `.times` usage in AccountSearch spec, use constant for default…
mjankowski Nov 20, 2023
371f355
Reduce `.times` usage in `AccountStatusesCleanupPolicy` (#27947)
mjankowski Nov 20, 2023
3a8dc9a
Update dependency nokogiri to v1.15.5 (#27939)
renovate[bot] Nov 20, 2023
b9fb47a
Convert `api/v1/endorsements` controller spec to request spec (#27984)
mjankowski Nov 20, 2023
9a01a26
Convert `api/v1/scheduled_statuses` controller spec to request spec (…
mjankowski Nov 20, 2023
17582d3
Convert `api/v1/preferences` controller spec to request spec (#27987)
mjankowski Nov 20, 2023
18cb1f9
Update actions/setup-node action to v4 (#27996)
renovate[bot] Nov 20, 2023
c260a68
Clean up some `Mastodon::CLI::Accounts` tests (#27473)
ClearlyClaire Nov 20, 2023
718c95e
Convert `api/v1/custom_emojis` controller spec to request spec (#27985)
mjankowski Nov 20, 2023
876f5b1
Convert `/instances/*` controller specs to request specs (#27988)
mjankowski Nov 20, 2023
e1bb797
Update babel monorepo to v7.23.4 (#28004)
renovate[bot] Nov 21, 2023
a6d446e
Add coverage for `remote_interaction_helper` (#28002)
mjankowski Nov 21, 2023
3c3e0c2
New Crowdin Translations (automated) (#28015)
github-actions[bot] Nov 21, 2023
6d51ac2
Update partials for the `AdminMailer.new_trends` mailer (#28011)
mjankowski Nov 21, 2023
b2e8af8
Add coverage for `settings/verifications` controller (#28001)
mjankowski Nov 21, 2023
c836e71
Update dependency aws-sdk-s3 to v1.137.0 (#27961)
renovate[bot] Nov 21, 2023
3231918
Fix error when muting users from Web UI (#28016)
ClearlyClaire Nov 21, 2023
f7cb64a
Add coverage for `settings/privacy` controller (#28000)
mjankowski Nov 21, 2023
32e19e3
Reduce `.times` usage in request and controller specs (#27949)
mjankowski Nov 21, 2023
f91e751
Update dependency rspec-rails to v6.1.0 (#28017)
renovate[bot] Nov 21, 2023
30ee4aa
Convert measurement `api/v1/admin/*` controller specs to request spec…
mjankowski Nov 21, 2023
67fd318
Update rspec fixture path config to silence deprecation warning (#28018)
mjankowski Nov 21, 2023
c9ffdcb
Add debug + irb gems to assist with debugging in development and test…
ThisIsMissEm Nov 21, 2023
cdc57c7
Fix unsupported time zone or locale preventing sign-up (#28035)
Gargron Nov 22, 2023
c3d3ada
Update dependency test-prof to v1.3.0 (#28032)
renovate[bot] Nov 22, 2023
183afc2
Update dependency aws-sdk-s3 to v1.138.0 (#28031)
renovate[bot] Nov 22, 2023
9742bcc
Add coverage for `api/v2/media` endpoint (#28027)
mjankowski Nov 22, 2023
d3ed03f
New Crowdin Translations (automated) (#28036)
github-actions[bot] Nov 22, 2023
990c63b
Update dependency aws-sdk-s3 to v1.139.0 (#28047)
renovate[bot] Nov 23, 2023
4be1279
Remove `default_scope` from `StatusEdit` class (#28042)
mjankowski Nov 23, 2023
c810b19
New Crowdin Translations (automated) (#28050)
github-actions[bot] Nov 23, 2023
973597c
Consolidate configuration of `Sidekiq::Testing.fake!` setup (#28046)
mjankowski Nov 23, 2023
7877fcd
Deduplicate IDs in relationships and familiar_followers APIs (#27982)
KevinBongart Nov 23, 2023
1ee3314
Update dependency @types/npmlog to v7 (#28048)
renovate[bot] Nov 23, 2023
bf7e8e8
Update dependency doorkeeper to v5.6.7 (#28051)
renovate[bot] Nov 23, 2023
19baf22
Add missing email previews for `AdminMailer` (#28044)
mjankowski Nov 23, 2023
6e70819
Change search popout to not list unusable search options when logged …
ClearlyClaire Nov 24, 2023
3a24754
Change GIF max matrix size error to explicitly mention GIF files (#27…
ClearlyClaire Nov 24, 2023
8521238
New Crowdin Translations (automated) (#28060)
github-actions[bot] Nov 24, 2023
fad9343
New Crowdin Translations (automated) (#28069)
github-actions[bot] Nov 27, 2023
73ab080
Update dependency jsdom to v23 (#28075)
renovate[bot] Nov 27, 2023
97e677f
Fix not all legal images showing in file picker when uploading custom…
Nov 27, 2023
228b668
Update DefinitelyTyped types (non-major) (#28077)
renovate[bot] Nov 27, 2023
b8fe773
Update dependency aws-sdk-s3 to v1.140.0 (#28080)
renovate[bot] Nov 27, 2023
9b8ba9b
Remove unused `plain_mailer` layout (#28065)
mjankowski Nov 27, 2023
7b56085
Update dependency typescript to v5.3.2 (#28078)
renovate[bot] Nov 27, 2023
f1657e6
Clamp dates when serializing to Elasticsearch API (#28081)
ClearlyClaire Nov 27, 2023
10b879b
nodeinfo: add instance name and description (#28079)
6543 Nov 28, 2023
2d536bb
Use `admin_mailer` layout with initial salutation (#28085)
mjankowski Nov 28, 2023
dfc7154
Remove unused `cached_filtered_status_page` method from accounts cont…
mjankowski Nov 28, 2023
9072896
Avoid unnecessary i-var for account rss page url generation (#28092)
mjankowski Nov 28, 2023
af02484
New Crowdin Translations (automated) (#28096)
github-actions[bot] Nov 28, 2023
c824d98
chore(deps): update dependency fabrication to v2.31.0 (#28089)
renovate[bot] Nov 28, 2023
baf3b71
Extract `path_without_format` private methd in accounts controller (#…
mjankowski Nov 28, 2023
8ebc94d
Ignore `@svgr/webpack` updates as they require a Webpacker upgrade (#…
renchap Nov 28, 2023
a80530d
Dockerfile rewrite based on Ruby image with performance optimizations…
vmstan Nov 28, 2023
4949b6d
Fix streaming eslint configuration (#28055)
ThisIsMissEm Nov 28, 2023
a4de0e3
Refactor streaming to simplify for logging change (#28056)
ThisIsMissEm Nov 28, 2023
cdc7894
Fix devcontainer by not forcing `NODE_ENV` (#28099)
renchap Nov 28, 2023
1142f4c
Converted app/javascript/mastodon/utils/ folder to TypeScript (#27895)
JoshuaKGoldberg Nov 28, 2023
3a7f10c
Converted hashtag.jsx to TypeScript (#27872)
JoshuaKGoldberg Nov 28, 2023
b45fe15
Update temple to version 0.10.3 (#28086)
mjankowski Nov 28, 2023
b9492d8
Update `bcrypt` to version 3.1.20 (#28084)
mjankowski Nov 28, 2023
6b46bf9
Handle scenario when webfinger response `subject` is missing host val…
mjankowski Nov 28, 2023
7a3b41e
Fix incorrect apt-get install block in Dockerfile (#28112)
vmstan Nov 28, 2023
c40cfc5
Fix apt cache not being properly utilized in Dockerfile (#28115)
vmstan Nov 28, 2023
603b245
Add VAPID public key to instance serializer (#28006)
ThisIsMissEm Nov 29, 2023
3e1e410
chore(deps): update dependency pghero to v3.4.0 (#28117)
renovate[bot] Nov 29, 2023
186895f
Refactor, lint fix, and bug fix on admin/roles/form partial (#27558)
mjankowski Nov 29, 2023
9b47c5d
Extract helper methods for labels from filters/_filter_fields (#27574)
mjankowski Nov 29, 2023
72b7cd3
Extract helper methods for form label in admin/ area views (#27575)
mjankowski Nov 29, 2023
31bef99
Move lib/mastodon/premailer_webpack_strategy to lib/ (#27636)
mjankowski Nov 29, 2023
a1636fc
Move lib/devise/* to lib/devise/strategies/* (#27638)
mjankowski Nov 29, 2023
291dc04
Remove un-needed `action` and `template` options to `render` in contr…
mjankowski Nov 29, 2023
e48ecd2
Remove `default_scope` from `Admin::ActionLog` (#28026)
mjankowski Nov 29, 2023
71b6534
Upgrade the node version in the vagrant file
jsgoldstein Nov 29, 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.

4 changes: 2 additions & 2 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ FROM mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye
# Install Rails
# RUN gem install rails webdrivers

ARG NODE_VERSION="16"
ARG NODE_VERSION="20"
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"

# [Optional] Uncomment this section to install additional OS packages.
Expand All @@ -15,6 +15,6 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
RUN gem install foreman

# [Optional] Uncomment this line to install global node packages.
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && npm install -g yarn" 2>&1
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && corepack enable" 2>&1

COPY welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
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.5.2
restart: unless-stopped
volumes:
- lt-data:/home/libretranslate/.local
Expand Down
5 changes: 3 additions & 2 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ bundle install
git checkout -- Gemfile.lock

# Fetch Javascript dependencies
yarn --frozen-lockfile
corepack prepare
yarn install --immutable

# [re]create, migrate, and seed the test database
RAILS_ENV=test ./bin/rails db:setup
Expand All @@ -23,4 +24,4 @@ RAILS_ENV=development ./bin/rails db:setup
RAILS_ENV=development ./bin/rails assets:precompile

# Precompile assets for test
RAILS_ENV=test NODE_ENV=tests ./bin/rails assets:precompile
RAILS_ENV=test ./bin/rails assets:precompile
1 change: 1 addition & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
public/system
public/assets
public/packs
public/packs-test
node_modules
neo4j
vendor/bundle
Expand Down
4 changes: 2 additions & 2 deletions .env.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Node.js
NODE_ENV=tests
# In test, compile the NodeJS code as if we are in production
NODE_ENV=production
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true
27 changes: 12 additions & 15 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
module.exports = {
// @ts-check
const { defineConfig } = require('eslint-define-config');

module.exports = defineConfig({
root: true,

extends: [
Expand All @@ -9,7 +12,6 @@ module.exports = {
'plugin:import/recommended',
'plugin:promise/recommended',
'plugin:jsdoc/recommended',
'plugin:prettier/recommended',
],

env: {
Expand Down Expand Up @@ -63,7 +65,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 @@ -192,6 +196,7 @@ module.exports = {
'error',
{
devDependencies: [
'.eslintrc.js',
'config/webpack/**',
'app/javascript/mastodon/performance.js',
'app/javascript/mastodon/test_setup.js',
Expand Down Expand Up @@ -235,7 +240,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 Expand Up @@ -279,7 +284,6 @@ module.exports = {
'formatjs/no-id': 'off', // IDs are used for translation keys
'formatjs/no-invalid-icu': 'error',
'formatjs/no-literal-string-in-jsx': 'off', // Should be looked at, but mainly flagging punctuation outside of strings
'formatjs/no-multiple-plurals': 'off', // Only used by hashtag.jsx
'formatjs/no-multiple-whitespaces': 'error',
'formatjs/no-offset': 'error',
'formatjs/no-useless-message': 'error',
Expand All @@ -298,6 +302,7 @@ module.exports = {
overrides: [
{
files: [
'.eslintrc.js',
'*.config.js',
'.*rc.js',
'ide-helper.js',
Expand Down Expand Up @@ -348,7 +353,7 @@ module.exports = {
'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
'@typescript-eslint/consistent-type-exports': 'error',
'@typescript-eslint/consistent-type-imports': 'error',
"@typescript-eslint/prefer-nullish-coalescing": ['error', {ignorePrimitives: {boolean: true}}],
"@typescript-eslint/prefer-nullish-coalescing": ['error', { ignorePrimitives: { boolean: true } }],

'jsdoc/require-jsdoc': 'off',

Expand All @@ -371,14 +376,6 @@ module.exports = {
env: {
jest: true,
},
},
{
files: [
'streaming/**/*',
],
rules: {
'import/no-commonjs': 'off',
},
},
}
],
};
});
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

42 changes: 42 additions & 0 deletions .github/actions/setup-javascript/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
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@v4
with:
node-version-file: '.nvmrc'

# The following is needed because we can not use `cache: true` for `setup-node`, as it does not support Corepack yet and mess up with the cache location if ran after Node is installed
- name: Enable corepack
shell: bash
run: corepack enable

- name: Get yarn cache directory path
id: yarn-cache-dir-path
shell: bash
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-

- name: Install all yarn packages
shell: bash
run: yarn install --immutable
if: inputs.onlyProduction == 'false'

- name: Install all production yarn packages
shell: bash
run: yarn workspaces focus --production
if: inputs.onlyProduction != 'false'
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
13 changes: 13 additions & 0 deletions .github/codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
coverage:
status:
project:
default:
# Github status check is not blocking
informational: true
patch:
default:
# Github status check is not blocking
informational: true
comment:
# Only write a comment in PR if there are changes
require_changes: true
3 changes: 2 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 All @@ -13,6 +12,7 @@
// If we do not want a package to be grouped with others, we need to set its groupName
// to `null` after any other rule set it to something.
dependencyDashboardHeader: 'This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. Before approving any upgrade: read the description and comments in the [`renovate.json5` file](https://github.com/mastodon/mastodon/blob/main/.github/renovate.json5).',
postUpdateOptions: ['yarnDedupeHighest'],
packageRules: [
{
// Require Dependency Dashboard Approval for major version bumps of these node packages
Expand All @@ -22,6 +22,7 @@
'react-hotkeys', // Requires code changes

// Requires Webpacker upgrade or replacement
'@svgr/webpack',
'@types/webpack',
'babel-loader',
'compression-webpack-plugin',
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ on:
type: string
labels:
type: string
file_to_build:
type: string

jobs:
build-image:
Expand Down Expand Up @@ -86,6 +88,7 @@ jobs:
- uses: docker/build-push-action@v5
with:
context: .
file: ${{ inputs.file_to_build }}
build-args: |
MASTODON_VERSION_PRERELEASE=${{ inputs.version_prerelease }}
MASTODON_VERSION_METADATA=${{ inputs.version_metadata }}
Expand Down
24 changes: 24 additions & 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 == 'mastodon/mastodon'
steps:
- id: version_vars
env:
Expand All @@ -24,6 +25,7 @@ jobs:
needs: compute-suffix
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: Dockerfile
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true
cache: false
Expand All @@ -40,3 +42,25 @@ jobs:
type=raw,value=nightly
type=schedule,pattern=${{ needs.compute-suffix.outputs.prerelease }}
secrets: inherit

build-image-streaming:
needs: compute-suffix
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: streaming/Dockerfile
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true
cache: false
push_to_images: |
tootsuite/mastodon-streaming
ghcr.io/mastodon/mastodon-streaming
version_prerelease: ${{ needs.compute-suffix.outputs.prerelease }}
labels: |
org.opencontainers.image.description=Nightly build image used for testing purposes
flavor: |
latest=auto
tags: |
type=raw,value=edge
type=raw,value=nightly
type=schedule,pattern=${{ needs.compute-suffix.outputs.prerelease }}
secrets: inherit
17 changes: 17 additions & 0 deletions .github/workflows/build-push-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
needs: compute-suffix
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: Dockerfile
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true
push_to_images: |
Expand All @@ -39,3 +40,19 @@ jobs:
tags: |
type=ref,event=pr
secrets: inherit

build-image-streaming:
needs: compute-suffix
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: streaming/Dockerfile
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true
push_to_images: |
ghcr.io/mastodon/mastodon-streaming
version_metadata: ${{ needs.compute-suffix.outputs.metadata }}
flavor: |
latest=auto
tags: |
type=ref,event=pr
secrets: inherit
22 changes: 22 additions & 0 deletions .github/workflows/build-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
build-image:
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: Dockerfile
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true
push_to_images: |
Expand All @@ -27,3 +28,24 @@ jobs:
type=pep440,pattern={{raw}}
type=pep440,pattern=v{{major}}.{{minor}}
secrets: inherit

build-image-streaming:
if: startsWith(github.ref, 'refs/tags/v4.3.')
uses: ./.github/workflows/build-container-image.yml
with:
file_to_build: streaming/Dockerfile
platforms: linux/amd64,linux/arm64
use_native_arm64_builder: true
push_to_images: |
tootsuite/mastodon-streaming
ghcr.io/mastodon/mastodon-streaming
# Do not use cache when building releases, so apt update is always ran and the release always contain the latest packages
cache: false
# Only tag with latest when ran against the latest stable branch
# This needs to be updated after each minor version release
flavor: |
latest=${{ startsWith(github.ref, 'refs/tags/v4.3.') }}
tags: |
type=pep440,pattern={{raw}}
type=pep440,pattern=v{{major}}.{{minor}}
secrets: inherit
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
Loading
Loading