+
Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1923 commits
Select commit Hold shift + click to select a range
d8bd9ef
Update eslint (non-major) (#31684)
renovate[bot] Sep 4, 2024
44fd080
Update dependency pino to v9.4.0 (#31720)
renovate[bot] Sep 4, 2024
7fb8834
Update dependency pino-http to v10.3.0 (#31721)
renovate[bot] Sep 4, 2024
36710ae
Update dependency postcss to v8.4.45 (#31742)
renovate[bot] Sep 4, 2024
ee55d20
Allow `POST /oauth/revoke` through CORS (#31743)
ClearlyClaire Sep 4, 2024
1fcffa5
Fix 500 error in `GET /api/v2_alpha/notifications` when there are no …
ClearlyClaire Sep 4, 2024
fab29eb
Fix all notification types being stored without filtering when pollin…
ClearlyClaire Sep 4, 2024
585e369
Fix display name being displayed instead of domain in remote reports …
ClearlyClaire Sep 4, 2024
9ba81ea
Streaming: Improve Redis connection options handling (#31623)
ThisIsMissEm Sep 4, 2024
ef2bc8e
Add redis sentinel support to ruby part of code (#31744)
oneiros Sep 4, 2024
fe04291
Use more accurate beginning/ending times in annual report source (#31…
mjankowski Sep 4, 2024
e1b5f3f
Use `response.parsed_body` for html response checks (#31750)
mjankowski Sep 4, 2024
559958f
Fix email language when recipient has no selected locale (#31747)
ClearlyClaire Sep 4, 2024
4678473
Add `AnnualReport::Source#report_statuses` method for subclasses to u…
mjankowski Sep 4, 2024
4d5c91e
Remove `before` block in spec with TODOs which have been TO-DONE alre…
mjankowski Sep 4, 2024
7d91723
Support `REDIS_SENTINEL_PORT` variables (#31767)
oneiros Sep 5, 2024
ec4c490
Change design of unread conversations in web UI (#31763)
Gargron Sep 5, 2024
eb23d9f
New Crowdin Translations (automated) (#31765)
github-actions[bot] Sep 5, 2024
b265a65
Fix wrong width on content warnings and filters in web UI (#31761)
Gargron Sep 5, 2024
ba9fd1c
Add coverage for `Account#prepare_contents` callback (#31748)
mjankowski Sep 5, 2024
f9712fa
Direct link to each authorized_application entry with html anchor (#3…
fowl2 Sep 5, 2024
bd8cd0c
Update dependency cssnano to v7.0.6 (#31757)
renovate[bot] Sep 5, 2024
8fd3e37
Update `parser` and `rubocop` gems (#31760)
mjankowski Sep 5, 2024
5b1ae15
Update docker.io/ruby Docker tag to v3.3.5 (#31758)
renovate[bot] Sep 5, 2024
e820cc3
Convert invites controller spec to system/request specs (#31755)
mjankowski Sep 5, 2024
b4b639e
Fix radio checkbox visibility in Report dialogs (#31752)
vmstan Sep 5, 2024
f85694a
Add credentials to redis sentinel configuration (#31768)
oneiros Sep 5, 2024
d58faa2
Remove references to deprecated `Import` model (#31759)
mjankowski Sep 5, 2024
850478d
Use `conflicted` configuration for renovate rebase strategy (#31770)
mjankowski Sep 5, 2024
bc435c6
Change width of columns in advanced web UI (#31762)
Gargron Sep 5, 2024
5acec08
Simplify basic presence validations (#29664)
mjankowski Sep 5, 2024
09017dd
Add worker spec for annual report worker (#31778)
mjankowski Sep 5, 2024
7efe0bd
Add `have_http_link_header` matcher and set header values as strings …
mjankowski Sep 5, 2024
60182db
Update dependency tzinfo-data to v1.2024.2 (#31780)
renovate[bot] Sep 6, 2024
cc48651
New Crowdin Translations (automated) (#31781)
github-actions[bot] Sep 6, 2024
be77a10
Extract `Account::AUTOMATED_ACTOR_TYPES` for "bot" actor_type values …
mjankowski Sep 6, 2024
6b6a80b
Remove `body_as_json` in favor of built-in `response.parsed_body` for…
mjankowski Sep 6, 2024
ebf0932
Disable codecov github annotations (#31783)
ClearlyClaire Sep 6, 2024
1fed11c
Target firefox all the way back to Firefox 78 (#31782)
ClearlyClaire Sep 6, 2024
fd7fc7b
Disable actions on reports that have already been taken (#31773)
ThisIsMissEm Sep 6, 2024
a9d0b48
Set "admin" body class from `admin` nested layout (#31269)
mjankowski Sep 6, 2024
c88ba52
Fix sort order of moderation notes on Reports and Accounts (#31528)
ThisIsMissEm Sep 6, 2024
b530fc5
Update rails to version 7.1.4 (#31563)
mjankowski Sep 6, 2024
4f81ad2
Add coverage for `media#player`, move body class to view (#31790)
mjankowski Sep 6, 2024
0a433d0
Move shares/modal body class to layout (#31789)
mjankowski Sep 6, 2024
7335a43
Use async count in admin dashboard (#30606)
mjankowski Sep 6, 2024
b716248
Add link to `/admin/roles` in moderation interface when changing some…
ClearlyClaire Sep 6, 2024
10143d0
Change some instances of Nokogiri HTML4 parsing to HTML5 (#31812)
flavorjones Sep 8, 2024
afa2e25
Change verify link service to use CSS selectors instead of a complex …
flavorjones Sep 8, 2024
82161d8
Change Account::Field parsing to use HTML5::DocumentFragment (#31813)
flavorjones Sep 8, 2024
c6a0768
Use shared system spec helper methods (#31784)
mjankowski Sep 9, 2024
1f13b87
Update dependency pg to v1.5.8 (#31795)
renovate[bot] Sep 9, 2024
e6969cf
Add method for media-referencing status in `AccountStatusCleanupPolic…
mjankowski Sep 9, 2024
9d9901c
Update peter-evans/create-pull-request action to v7 (#31818)
renovate[bot] Sep 9, 2024
a0ea2fa
Change fetch link card service to parse as HTML5 (#31814)
flavorjones Sep 9, 2024
1d03570
Update dependency postcss-preset-env to v10.0.3 (#31821)
renovate[bot] Sep 9, 2024
2caa3f3
New Crowdin Translations (automated) (#31800)
github-actions[bot] Sep 9, 2024
a021dee
Change labels on thread indicators in web UI (#31806)
Gargron Sep 9, 2024
d0ab94c
Add `FeaturedTag` coverage, use `pick` in model (#31828)
mjankowski Sep 9, 2024
592a7af
Fix translatable source string using “silenced” instead of “limited” …
ClearlyClaire Sep 9, 2024
9ea710e
Update dependency oj to v3.16.6 (#31831)
renovate[bot] Sep 10, 2024
5b99514
Use `with_options` for shared Account validation option value (#31827)
mjankowski Sep 10, 2024
5260233
New Crowdin Translations (automated) (#31835)
github-actions[bot] Sep 10, 2024
3929e3c
Change design of hide media button in web UI (#31807)
Gargron Sep 10, 2024
e0c27a5
Add ability to manage which websites can credit you in link previews …
Gargron Sep 10, 2024
da07adf
Add `CustomEmoji.enabled` scope (#31830)
mjankowski Sep 10, 2024
c4b09d6
Extract method for account-referencing in CLI prune task (#31824)
mjankowski Sep 10, 2024
4ffaced
Second attempt at disabling Codecov annotations (#31841)
ClearlyClaire Sep 10, 2024
0c3c06f
Remove vendor prefix from `mobile-web-app-capable` meta tag (#31845)
mjankowski Sep 10, 2024
e09f9f8
Fix alt text modal styling (#31844)
vmstan Sep 10, 2024
e6f5b36
Update dependency express to v4.20.0 (#31836)
renovate[bot] Sep 10, 2024
9e12fa2
Update dependency propshaft to v1 (#31832)
renovate[bot] Sep 10, 2024
a3215c0
Change inner borders in media galleries in web UI (#31852)
Gargron Sep 11, 2024
cee71b9
Remove `fa_` prefix from status visibility icon method (#31846)
mjankowski Sep 11, 2024
9769ffd
Update dependency aws-sdk-s3 to v1.161.0 (#31853)
renovate[bot] Sep 11, 2024
cdcd834
Add coverage for `AnnualReport::*` source child classes (#31849)
mjankowski Sep 11, 2024
2babfaf
New Crowdin Translations (automated) (#31855)
github-actions[bot] Sep 11, 2024
a27f7f4
Update typescript-eslint monorepo to v8 (major) (#31231)
renovate[bot] Sep 11, 2024
7d53ca5
New Crowdin Translations (automated) (#31878)
github-actions[bot] Sep 12, 2024
f2a92c2
Fix notifications re-rendering spuriously in web UI (#31879)
Gargron Sep 12, 2024
3d46f47
Change embedded posts to use web UI (#31766)
Gargron Sep 12, 2024
ab763c4
Ignore `undefined` as canonical url (#31882)
oneiros Sep 12, 2024
24ef825
Change design of embed modal in web UI (#31801)
Gargron Sep 12, 2024
c35ea59
Fix security context sometimes not being added in LD-Signed activitie…
ClearlyClaire Sep 12, 2024
5f782f9
Autofocus primary button in modals (#31883)
ClearlyClaire Sep 12, 2024
a496aea
Change form-action Content-Security-Policy directive to be more restr…
ClearlyClaire Sep 12, 2024
17c57c4
Add coverage for title/limit validations in `List` model (#31869)
mjankowski Sep 12, 2024
8cdc148
Handle invalid visibility (#31571)
c960657 Sep 12, 2024
4aa6003
Move redirect/base body class to view (#31796)
mjankowski Sep 12, 2024
f3c4874
Remove unused `statuses#embed` body class assignment (#31787)
mjankowski Sep 12, 2024
1b6a82b
Fix invalid date searches returning 503 (#31526)
notchairmk Sep 12, 2024
207c073
Remove debug output in migration controller spec (#31886)
mjankowski Sep 12, 2024
a269ff9
Fix review history and action modal styling (#31864)
vmstan Sep 12, 2024
cc3cf9c
Update dependency aws-sdk-s3 to v1.162.0 (#31875)
renovate[bot] Sep 12, 2024
0226bbe
Update dependency express to v4.21.0 (#31877)
renovate[bot] Sep 12, 2024
2020775
Add "search" group for chewy classes in simplecov config (#31890)
mjankowski Sep 12, 2024
353ade7
New Crowdin Translations (automated) (#31898)
github-actions[bot] Sep 13, 2024
49cbee3
Remove unused argument from `AccountMigration.within_cooldown` (#31892)
mjankowski Sep 13, 2024
a2c4f5f
Add coverage for `ListAccount` follow/follow_request set up (#31896)
mjankowski Sep 13, 2024
ba81e4e
Fix inability to locally suspend remotely-suspended accounts in moder…
ClearlyClaire Sep 13, 2024
c1b2c4f
Strip protocol from attribution domains (#31900)
oneiros Sep 13, 2024
5ba3405
Update dependency opentelemetry-instrumentation-pg to '~> 0.29.0' (#3…
renovate[bot] Sep 13, 2024
4b40d13
Increase preview card image size limit from 2MB to 8MB when using lib…
ClearlyClaire Sep 14, 2024
0cc05fb
Update dependency i18n to v1.14.6 (#31925)
renovate[bot] Sep 16, 2024
2afaa3b
Update dependency husky to v9.1.6 (#31923)
renovate[bot] Sep 16, 2024
9ea2705
Update DefinitelyTyped types (non-major) (#31922)
renovate[bot] Sep 16, 2024
c24de04
Update dependency postcss to v8.4.47 (#31913)
renovate[bot] Sep 16, 2024
822e918
Add coverage for `Bookmark` validation and reblog/status check callba…
mjankowski Sep 16, 2024
abd2f56
Add validation coverage for `CustomEmoji` shortcode value (#31906)
mjankowski Sep 16, 2024
bf8b55c
Enable `Rails/Output` in `spec/` dir (#31905)
mjankowski Sep 16, 2024
1d58f93
Update dependencies omniauth-saml, ruby-xml and ruby-saml (#31926)
ClearlyClaire Sep 16, 2024
474abf3
New Crowdin Translations (automated) (#31911)
github-actions[bot] Sep 16, 2024
c54cbf7
Remove `follow` creation from `ListAccount` fabricator (#31902)
mjankowski Sep 16, 2024
d5cf27e
Add global Regexp timeout (#31928)
ClearlyClaire Sep 16, 2024
c0eda83
Convert notification requests actions and reducers to Typescript (#31…
ClearlyClaire Sep 16, 2024
efb0e2c
Fix horizontal scrollbar on who to follow carousel in web UI (#31912)
Gargron Sep 16, 2024
e0648a9
Rename `/api/v2_alpha/notifications*` to `/api/v2/notifications*` (#3…
ClearlyClaire Sep 16, 2024
c620452
Enable grouped notifications unconditionally (#31929)
ClearlyClaire Sep 16, 2024
6c76a7a
Fix cancel follow request button sometimes saying “Follow back” (#31934)
ClearlyClaire Sep 16, 2024
ca8e892
Fix selectSettingsNotificationsExcludedTypes not being memoized prope…
ClearlyClaire Sep 16, 2024
5a33a56
Fix background of text detection progress (#31943)
vmstan Sep 17, 2024
d2f9075
Increase no-gap-breakpoint by 32px to fix overflow (#31889)
ClearlyClaire Sep 17, 2024
6a233cb
New Crowdin Translations (automated) (#31946)
github-actions[bot] Sep 17, 2024
d8f9db5
Merge commit from fork
oneiros Sep 17, 2024
3e91c10
Bump version to 4.3.0-beta.2 (#31948)
ClearlyClaire Sep 17, 2024
f3f06da
Update dependency babel-loader to v8.4.1 (#31931)
renovate[bot] Sep 18, 2024
a397141
Move non-action public method controller callback to private methods …
mjankowski Sep 18, 2024
b7548db
Update dependency memory_profiler to v1.1.0 (#31947)
renovate[bot] Sep 18, 2024
bd86c69
New Crowdin Translations (automated) (#31959)
github-actions[bot] Sep 18, 2024
6f3d751
Update dependency dotenv to v3.1.4 (#31953)
renovate[bot] Sep 18, 2024
9437386
Remove unneeded `to_s` on `Link` header comparison in statuses contro…
mjankowski Sep 18, 2024
eb16763
Use `have_http_link_header` matcher in `api/v1/trends/*` specs (#31940)
mjankowski Sep 18, 2024
a791274
Update dependency sass to v1.79.1 (#31958)
renovate[bot] Sep 18, 2024
7740f1a
Mute XHR abort errors (#31952)
c960657 Sep 18, 2024
2d399f5
Update dependency pg-connection-string to v2.7.0 (#31950)
renovate[bot] Sep 18, 2024
5405bdd
Remove unused E2EE messaging code (#31193)
mjankowski Sep 18, 2024
6f836c4
Remove `crypto` values from doorkeeper application/token `scopes` (#3…
mjankowski Sep 18, 2024
bf8eaaa
Convert controller spec for security_key_options endpoint to request …
mjankowski Sep 18, 2024
42f9f50
Update dependency pg to v8.13.0 (#31949)
renovate[bot] Sep 18, 2024
e3baa1c
Add coverage for `AccountDeletionRequest` class (#31937)
mjankowski Sep 18, 2024
8b70834
Fix the appearance of avatars when they do not load (#31966)
renchap Sep 18, 2024
29656cb
Fix sass deprecation warning (#31961)
Gargron Sep 18, 2024
62a39d6
Fix rolling updates by moving DropEndToEndMessageTables to post-deplo…
ClearlyClaire Sep 19, 2024
90db524
Update dependency puma to v6.4.3 (#31975)
renovate[bot] Sep 19, 2024
1fce55c
Update dependency aws-sdk-s3 to v1.163.0 (#31972)
renovate[bot] Sep 19, 2024
b071e61
Combine API request spec assertions (#31970)
mjankowski Sep 19, 2024
5d573c9
Remove unused E2EE-related methods (#31964)
mjankowski Sep 19, 2024
efdc175
New Crowdin Translations (automated) (#31974)
github-actions[bot] Sep 19, 2024
ef4d6ab
Fix browser glitch caused by two overlapping scroll animations in web…
Gargron Sep 19, 2024
6801afa
Update dependency devise-two-factor to v6 [SECURITY] (#31957)
renovate[bot] Sep 19, 2024
2946a92
Use `headers` shorthand in mailers (#31956)
mjankowski Sep 19, 2024
5a8f2fe
Convert `settings/exports` controller spec to system/request specs (#…
mjankowski Sep 19, 2024
57a38f0
Fix custom `history.push` and `history.replace` building bogus locati…
ClearlyClaire Sep 19, 2024
ae03e4f
Update directory page options to use URL params (#31977)
renchap Sep 19, 2024
09459ed
Update dependency react-select to v5.8.1 (#31982)
renovate[bot] Sep 20, 2024
9a03902
Capture actual behavior in v2/notifications "someone else" dismiss sc…
mjankowski Sep 20, 2024
840fd69
Update dependency sass to v1.79.2 (#31992)
renovate[bot] Sep 20, 2024
162f9a3
New Crowdin Translations (automated) (#31993)
github-actions[bot] Sep 20, 2024
c922af2
Add `LIMIT` constant for `api/v1/peers/search` endpoint (#31989)
mjankowski Sep 20, 2024
04a939d
Add `reviewed` and `unreviewed` scopes to `Reviewable` model concern …
mjankowski Sep 20, 2024
e7fd098
Change zoom icon in web UI (#29683)
Gargron Sep 20, 2024
8afa3bb
Change Mastodon to issue correctly-signed queries by default (#31994)
ClearlyClaire Sep 20, 2024
bdf83c3
Move default embed size knowledge into `OEmbedSerializer` (#31990)
mjankowski Sep 20, 2024
a7dbf6f
Use heredoc/squish for inline css styles in oembed serializer (#31991)
mjankowski Sep 20, 2024
6632606
Add `response.content_type` checks for JSON to `api/v1` request specs…
mjankowski Sep 20, 2024
171394e
Add coverage for CSV responses for severed relationships (#31962)
mjankowski Sep 20, 2024
d55f4fb
Add content type checks to api/v2 request specs (#31983)
mjankowski Sep 20, 2024
ed8b0e4
Fix links for reblogs in moderation interface (#31979)
ClearlyClaire Sep 20, 2024
7ed9c59
Fix issue when encountering reblog of deleted post in feed rebuild (#…
ClearlyClaire Sep 20, 2024
efc0d4d
Update dependency react-intl to v6.7.0 (#32028)
renovate[bot] Sep 23, 2024
f294c4a
Update libretranslate/libretranslate Docker tag to v1.6.1 (#32027)
renovate[bot] Sep 23, 2024
84d0438
Update DefinitelyTyped types (non-major) (#32026)
renovate[bot] Sep 23, 2024
c37f9c0
Update dependency jsdom to v25.0.1 (#32017)
renovate[bot] Sep 23, 2024
f4632d9
Update dependency aws-sdk-s3 to v1.164.0 (#32010)
renovate[bot] Sep 23, 2024
958f01e
Update dependency sass to v1.79.3 (#32009)
renovate[bot] Sep 23, 2024
10d2f83
Update dependency selenium-webdriver to v4.25.0 (#32008)
renovate[bot] Sep 23, 2024
5fae1d5
Fix OAuth authorization prompt referring to third-party apps (#32005)
Gargron Sep 23, 2024
e0b45b3
Combine repeated parsed_body assertions into single (#32002)
mjankowski Sep 23, 2024
0ba3ad4
Remove `body_json_ids` from api/v2/admin/accounts spec (#32003)
mjankowski Sep 23, 2024
ed90d93
New Crowdin Translations (automated) (#32011)
github-actions[bot] Sep 23, 2024
11eae69
Feature more otel customization (#31998)
timetinytim Sep 23, 2024
770ec92
Update Yarn to v4.5.0 (#31914)
renovate[bot] Sep 23, 2024
5d6a3f2
Update dependency google-protobuf (#32029)
ClearlyClaire Sep 23, 2024
cd7b670
Reduce factory creation in `User#reset_password!` spec (#32021)
mjankowski Sep 23, 2024
66ed7ea
Move status creation to "with rss" context in accounts request spec (…
mjankowski Sep 23, 2024
447d0a3
Remove double no-records cases in `api/v1/admin` req specs (#32014)
mjankowski Sep 23, 2024
2b4bda8
Add `response_avatar_link` helper to webfinger request spec (#31999)
mjankowski Sep 23, 2024
bbf7752
Combine assertions in `Notification` model spec (#32015)
mjankowski Sep 23, 2024
b5bdc69
Change mobile breakpoint back to old version and allow main column to…
ClearlyClaire Sep 23, 2024
aaab6b7
Add reblogs and favourites counts to statuses in ActivityPub (#32007)
Gargron Sep 23, 2024
5dfdec6
Convert `settings/applications` controller spec to system/request spe…
mjankowski Sep 23, 2024
d54ce67
Change hide media button to be in top right corner in web UI (#32048)
Gargron Sep 24, 2024
c808055
Update dependency webrick (#32054)
ClearlyClaire Sep 24, 2024
11ac5c8
New Crowdin Translations (automated) (#32052)
github-actions[bot] Sep 24, 2024
7c61533
Update dependency aws-sdk-s3 to v1.165.0 (#32050)
renovate[bot] Sep 24, 2024
780e2e9
Convert notification mailer spec shared examples to matchers (#32047)
mjankowski Sep 24, 2024
19dedd7
Set important mailer headers with `after_action` callback (#32057)
mjankowski Sep 24, 2024
cfb8fc6
Increase regexp timeout and allow override (#32056)
oneiros Sep 24, 2024
0a6b75b
Fix multiple bugs in notification requests and notification policies …
ClearlyClaire Sep 24, 2024
c36a76b
Fix error when accepting appeal for sensitive posts deleted in the me…
ClearlyClaire Sep 24, 2024
556837f
Fix the summary of converted object types to be treated as HTML (#28629)
Menrath Sep 24, 2024
f1b6a61
Fix wrapping in dashboard quick access buttons (#32043)
renchap Sep 24, 2024
7098851
Fix too many requests caused by relationship look-ups in web UI (#32042)
Gargron Sep 24, 2024
a773c23
Update dependency aws-sdk-s3 to v1.166.0 (#32079)
renovate[bot] Sep 25, 2024
4e6fc3a
New Crowdin Translations (automated) (#32083)
github-actions[bot] Sep 25, 2024
69aa569
Use `not-allowed` for cursor on disabled buttons (#32076)
mjankowski Sep 25, 2024
06ecf90
Remove single-use shared examples in controller specs (#32044)
mjankowski Sep 25, 2024
c3b6a7a
Reduce factory creation (36 -> 12) in `spec/controllers/oauth/*` area…
mjankowski Sep 25, 2024
c2ef83e
Consolidate shared `a scope` example parts into one attributes check …
mjankowski Sep 25, 2024
83574f6
Add coverage and use mailer callback to check functional user in noti…
mjankowski Sep 25, 2024
3dc4ddc
Fix search params being dropped when redirected to non-deck path (#31…
renchap Sep 25, 2024
d6f5ee7
Add notification grouping for follow notifications (#32085)
renchap Sep 25, 2024
51777fe
Prefer structure checks over multi-line size/parts checks in `parsed_…
mjankowski Sep 25, 2024
739ad0e
Keep the status action buttons at their position regardless of the co…
renchap Sep 25, 2024
28966fa
Remove deprecated `v2_alpha` endpoint for grouped notifications (#32089)
renchap Sep 25, 2024
28c4eca
Change responsive break points on navigation panel in web UI (#32034)
Gargron Sep 25, 2024
3426ea2
Add preview of followers removed in domain block modal in web UI (#32…
Gargron Sep 25, 2024
db33255
Rename "Data export" menu item (#32099)
c960657 Sep 25, 2024
886baa5
Fix typo causing incorrect error being raised in blurhash processing …
ClearlyClaire Sep 26, 2024
278a075
New Crowdin Translations (automated) (#32103)
github-actions[bot] Sep 26, 2024
db57fe8
Remove `page_json` var from ap/replies spec (#32000)
mjankowski Sep 26, 2024
00aaf77
Use same styling for statuses in email as on web (#32073)
c960657 Sep 26, 2024
89df27a
Change design of media tab on profiles in web UI (#31967)
Gargron Sep 26, 2024
7a62d57
Add fallback to domain block confirmation modal (#32105)
ClearlyClaire Sep 26, 2024
a04433f
Add ability to view alt text by clicking the ALT badge in web UI (#32…
Gargron Sep 26, 2024
89c39e7
Fix scrollbar width (#32091)
ClearlyClaire Sep 26, 2024
106b22b
Use 1 column layout for form `ul` on narrow widths (#32112)
mjankowski Sep 26, 2024
ee2d966
Update dependency blurhash to v0.1.8 (#32114)
renovate[bot] Sep 26, 2024
513f187
Add “A Mastodon update is available.” message on admin dashboard for …
ClearlyClaire Sep 26, 2024
c9b0699
New Crowdin Translations (automated) (#32121)
github-actions[bot] Sep 27, 2024
675ec1a
Only show recently used tags hint when they are present (#32120)
mjankowski Sep 27, 2024
04dd3a9
Wrap webhook event label with `samp` tag (#32115)
mjankowski Sep 27, 2024
e02e88b
Use previously extracted model constants in form `maxlength` attribut…
mjankowski Sep 27, 2024
cdd7526
Remove completed TODO note in tags request spec (#32108)
mjankowski Sep 27, 2024
11a12e5
Change media reordering design in the compose form in web UI (#32093)
Gargron Sep 27, 2024
24d3ce7
Add `no-toolbar` state for "nothing here" batch table views (#32128)
mjankowski Sep 27, 2024
9d664f8
Mailer layout fixes (#32132)
c960657 Sep 27, 2024
c352ce6
Fix missing permission on new embeds making them unclickable (#32135)
Gargron Sep 30, 2024
6037714
Update dependency propshaft to v1.0.1 (#32158)
renovate[bot] Sep 30, 2024
f477dc3
New Crowdin Translations (automated) (#32140)
github-actions[bot] Sep 30, 2024
bf7cfba
Update DefinitelyTyped types (non-major) (#32163)
renovate[bot] Sep 30, 2024
431b382
Update dependency sass to v1.79.4 (#32139)
renovate[bot] Sep 30, 2024
e22eff8
Remove regexp timeout feature (#32169)
ClearlyClaire Sep 30, 2024
0c872be
Merge commit from fork
ClearlyClaire Sep 30, 2024
0321008
Bump version to 4.3.0-rc.1 (#32124)
ClearlyClaire Sep 30, 2024
52e04ca
Merge tag 'v4.3.0-beta.1' into update/imastodon
takayamaki Aug 16, 2025
685d079
アイマストドン独自のrubocopルールを別ymlとして作成
takayamaki Aug 16, 2025
8c4f043
Merge tag 'v4.3.0-rc.1' into update/imastodon
takayamaki Aug 16, 2025
fd49628
specファイルの先頭にRSpec.が不足していたので修正
takayamaki Aug 16, 2025
276738e
scssのmixinが消されていたのでベタに展開
takayamaki Aug 16, 2025
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
  •  
  •  
  •  
5 changes: 4 additions & 1 deletion .browserslistrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[production]
defaults
not IE 11
> 0.2%
firefox >= 78
ios >= 15.6
not dead
not OperaMini all

[development]
supports es6-module
6 changes: 0 additions & 6 deletions .bundler-audit.yml

This file was deleted.

28 changes: 13 additions & 15 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
# For details, see https://github.com/devcontainers/images/tree/main/src/ruby
FROM mcr.microsoft.com/devcontainers/ruby:1-3.2-bullseye
FROM mcr.microsoft.com/devcontainers/ruby:1-3.3-bookworm

# Install Rails
# RUN gem install rails webdrivers
# Install node version from .nvmrc
WORKDIR /app
COPY .nvmrc .
RUN /bin/bash --login -i -c "nvm install"

ARG NODE_VERSION="20"
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"
# Install additional OS packages
RUN apt-get update && \
export DEBIAN_FRONTEND=noninteractive && \
apt-get -y install --no-install-recommends libicu-dev libidn11-dev ffmpeg imagemagick libvips42 libpam-dev

# [Optional] Uncomment this section to install additional OS packages.
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \
&& apt-get -y install --no-install-recommends libicu-dev libidn11-dev ffmpeg imagemagick libpam-dev
# Disable download prompt for Corepack
ENV COREPACK_ENABLE_DOWNLOAD_PROMPT=0

# [Optional] Uncomment this line to install additional gems.
RUN gem install foreman

# [Optional] Uncomment this line to install global node packages.
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
# Move welcome message to where VS Code expects it
COPY .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt
24 changes: 13 additions & 11 deletions .devcontainer/codespaces/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "Mastodon on GitHub Codespaces",
"dockerComposeFile": "../docker-compose.yml",
"dockerComposeFile": "../compose.yaml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

"features": {
"ghcr.io/devcontainers/features/sshd:1": {},
"ghcr.io/devcontainers/features/sshd:1": {}
},

"runServices": ["app", "db", "redis"],
Expand All @@ -15,16 +15,18 @@
"portsAttributes": {
"3000": {
"label": "web",
"onAutoForward": "notify",
"onAutoForward": "notify"
},
"4000": {
"label": "stream",
"onAutoForward": "silent",
},
"onAutoForward": "silent"
}
},

"remoteUser": "root",

"otherPortsAttributes": {
"onAutoForward": "silent",
"onAutoForward": "silent"
},

"remoteEnv": {
Expand All @@ -33,17 +35,17 @@
"STREAMING_API_BASE_URL": "https://${localEnv:CODESPACE_NAME}-4000.app.github.dev",
"DISABLE_FORGERY_REQUEST_PROTECTION": "true",
"ES_ENABLED": "",
"LIBRE_TRANSLATE_ENDPOINT": "",
"LIBRE_TRANSLATE_ENDPOINT": ""
},

"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"postCreateCommand": ".devcontainer/post-create.sh",
"postCreateCommand": "bin/setup",
"waitFor": "postCreateCommand",

"customizations": {
"vscode": {
"settings": {},
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"],
},
},
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
}
}
}
11 changes: 5 additions & 6 deletions .devcontainer/docker-compose.yml → .devcontainer/compose.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
version: '3'

services:
app:
working_dir: /workspaces/mastodon/
build:
context: .
dockerfile: Dockerfile
context: ..
dockerfile: .devcontainer/Dockerfile
volumes:
- ../..:/workspaces:cached
- ..:/workspaces/mastodon:cached
environment:
RAILS_ENV: development
NODE_ENV: development
Expand Down Expand Up @@ -70,7 +69,7 @@ services:
hard: -1

libretranslate:
image: libretranslate/libretranslate:v1.5.4
image: libretranslate/libretranslate:v1.6.1
restart: unless-stopped
volumes:
- lt-data:/home/libretranslate/.local
Expand Down
22 changes: 12 additions & 10 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "Mastodon on local machine",
"dockerComposeFile": "docker-compose.yml",
"dockerComposeFile": "compose.yaml",
"service": "app",
"workspaceFolder": "/workspaces/${localWorkspaceFolderBasename}",

"features": {
"ghcr.io/devcontainers/features/sshd:1": {},
"ghcr.io/devcontainers/features/sshd:1": {}
},

"forwardPorts": [3000, 4000],
Expand All @@ -14,27 +14,29 @@
"3000": {
"label": "web",
"onAutoForward": "notify",
"requireLocalPort": true,
"requireLocalPort": true
},
"4000": {
"label": "stream",
"onAutoForward": "silent",
"requireLocalPort": true,
},
"requireLocalPort": true
}
},

"remoteUser": "root",

"otherPortsAttributes": {
"onAutoForward": "silent",
"onAutoForward": "silent"
},

"onCreateCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}",
"postCreateCommand": ".devcontainer/post-create.sh",
"postCreateCommand": "bin/setup",
"waitFor": "postCreateCommand",

"customizations": {
"vscode": {
"settings": {},
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"],
},
},
"extensions": ["EditorConfig.EditorConfig", "webben.browserslist"]
}
}
}
27 changes: 0 additions & 27 deletions .devcontainer/post-create.sh

This file was deleted.

9 changes: 4 additions & 5 deletions .devcontainer/welcome-message.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
👋 Welcome to "Mastodon" in GitHub Codespaces!
👋 Welcome to your Mastodon Dev Container!

🛠️ Your environment is fully setup with all the required software.
🛠️ Your environment is fully setup with all the required software.

🔍 To explore VS Code to its fullest, search using the Command Palette (Cmd/Ctrl + Shift + P or F1).

📝 Edit away, run your app as usual, and we'll automatically make it available for you to access.
💥 Run `bin/dev` to start the application processes.

🥼 Run `RAILS_ENV=test bin/rails assets:precompile && RAILS_ENV=test bin/rspec` to run the test suite.
4 changes: 4 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Required by ActiveRecord encryption feature
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=fkSxKD2bF396kdQbrP1EJ7WbU7ZgNokR
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=r0hvVmzBVsjxC7AMlwhOzmtc36ZCOS1E
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=PhdFyyfy5xJ7WVd2lWBpcPScRQHzRTNr
6 changes: 3 additions & 3 deletions .env.production.sample
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# This is a sample configuration file. You can generate your configuration
# with the `rake mastodon:setup` interactive setup wizard, but to customize
# with the `bundle exec rails mastodon:setup` interactive setup wizard, but to customize
# your setup even further, you'll need to edit it manually. This sample does
# not demonstrate all available configuration options. Please look at
# https://docs.joinmastodon.org/admin/config/ for the full documentation.
Expand Down Expand Up @@ -40,14 +40,14 @@ ES_PASS=password

# Secrets
# -------
# Make sure to use `rake secret` to generate secrets
# Make sure to use `bundle exec rails secret` to generate secrets
# -------
SECRET_KEY_BASE=
OTP_SECRET=

# Web Push
# --------
# Generate with `rake mastodon:webpush:generate_vapid_key`
# Generate with `bundle exec rails mastodon:webpush:generate_vapid_key`
# --------
VAPID_PRIVATE_KEY=
VAPID_PUBLIC_KEY=
Expand Down
6 changes: 6 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,9 @@ NODE_ENV=production
# Federation
LOCAL_DOMAIN=cb6e6126.ngrok.io
LOCAL_HTTPS=true

# Secret values required by ActiveRecord encryption feature
# Use `bin/rails db:encryption:init` to generate fresh secrets
ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=test_determinist_key_DO_NOT_USE_IN_PRODUCTION
ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=test_salt_DO_NOT_USE_IN_PRODUCTION
ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=test_primary_key_DO_NOT_USE_IN_PRODUCTION
41 changes: 11 additions & 30 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,6 @@ module.exports = defineConfig({
es6: true,
},

globals: {
ATTACHMENT_HOST: false,
},

parser: '@typescript-eslint/parser',

plugins: [
Expand Down Expand Up @@ -79,7 +75,7 @@ module.exports = defineConfig({
],
},
],
'no-empty': 'off',
'no-empty': ['error', { "allowEmptyCatch": true }],
'no-restricted-properties': [
'error',
{ property: 'substring', message: 'Use .slice instead of .substring.' },
Expand All @@ -94,7 +90,6 @@ module.exports = defineConfig({
message: "Use '·' (middle dot) instead of '•' (bullet)",
},
],
'no-self-assign': 'off',
'no-unused-expressions': 'error',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': [
Expand All @@ -119,12 +114,10 @@ module.exports = defineConfig({
'react/jsx-tag-spacing': 'error',
'react/jsx-uses-react': 'off', // not needed with new JSX transform
'react/jsx-wrap-multilines': 'error',
'react/no-deprecated': 'off',
'react/react-in-jsx-scope': 'off', // not needed with new JSX transform
'react/self-closing-comp': 'error',

// recommended values found in https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/main/src/index.js
'jsx-a11y/accessible-emoji': 'warn',
// recommended values found in https://github.com/jsx-eslint/eslint-plugin-jsx-a11y/blob/v6.8.0/src/index.js#L46
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/media-has-caption': 'off',
Expand All @@ -139,23 +132,6 @@ module.exports = defineConfig({
// ],
'jsx-a11y/no-interactive-element-to-noninteractive-role': 'off',
// recommended rule is:
// 'jsx-a11y/no-noninteractive-element-interactions': [
// 'error',
// {
// body: ['onError', 'onLoad'],
// iframe: ['onError', 'onLoad'],
// img: ['onError', 'onLoad'],
// },
// ],
'jsx-a11y/no-noninteractive-element-interactions': [
'warn',
{
handlers: [
'onClick',
],
},
],
// recommended rule is:
// 'jsx-a11y/no-noninteractive-tabindex': [
// 'error',
// {
Expand All @@ -165,7 +141,6 @@ module.exports = defineConfig({
// },
// ],
'jsx-a11y/no-noninteractive-tabindex': 'off',
'jsx-a11y/no-onchange': 'warn',
// recommended is full 'error'
'jsx-a11y/no-static-element-interactions': [
'warn',
Expand All @@ -176,7 +151,7 @@ module.exports = defineConfig({
},
],

// See https://github.com/import-js/eslint-plugin-import/blob/main/config/recommended.js
// See https://github.com/import-js/eslint-plugin-import/blob/v2.29.1/config/recommended.js
'import/extensions': [
'error',
'always',
Expand Down Expand Up @@ -338,15 +313,20 @@ module.exports = defineConfig({
'plugin:import/typescript',
'plugin:promise/recommended',
'plugin:jsdoc/recommended-typescript',
'plugin:prettier/recommended',
],

parserOptions: {
project: true,
projectService: true,
tsconfigRootDir: __dirname,
},

rules: {
// Disable formatting rules that have been enabled in the base config
'indent': 'off',

// This is not needed as we use noImplicitReturns, which handles this in addition to understanding types
'consistent-return': 'off',

'import/consistent-type-specifier-style': ['error', 'prefer-top-level'],

'@typescript-eslint/consistent-type-definitions': ['warn', 'interface'],
Expand All @@ -361,6 +341,7 @@ module.exports = defineConfig({
"message": "Use typed hooks `useAppDispatch` and `useAppSelector` instead."
}
],
"@typescript-eslint/restrict-template-expressions": ['warn', { allowNumber: true }],
'jsdoc/require-jsdoc': 'off',

// Those rules set stricter rules for TS files
Expand Down
2 changes: 1 addition & 1 deletion .github/actions/setup-javascript/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ runs:
shell: bash
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
- uses: actions/cache@v4
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 }}
Expand Down
Loading
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载