Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2165 commits
Select commit Hold shift + click to select a range
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
deee164
Support translation branches in Crowdin (#32174)
ClearlyClaire Sep 30, 2024
1b3472b
Use account display name for pretend blog example in attribution area…
mjankowski Oct 1, 2024
8ac0053
Fix follow notifications from streaming being grouped (#32179)
renchap Oct 1, 2024
1283c35
Avoid `id` duplication conflict with main navigation from settings pr…
mjankowski Oct 1, 2024
6398d7b
Update peter-evans/create-pull-request action to v7.0.5 (#32164)
renovate[bot] Oct 1, 2024
6734b65
Extract dashboard partial for admin instance page (#32189)
mjankowski Oct 1, 2024
c828e77
Improve alignment of icons on admin roles list (#32153)
mjankowski Oct 1, 2024
25e8a6e
Update dependency propshaft to v1.1.0 (#32192)
renovate[bot] Oct 1, 2024
e13453a
Update dependency webmock to v3.24.0 (#32190)
renovate[bot] Oct 1, 2024
bdceb1d
Add `date_range` view helper (#32187)
mjankowski Oct 1, 2024
efa74a6
Update RuboCop (non-major) to v1.22.1 (#31573)
renovate[bot] Oct 1, 2024
ce2481a
Move OTP secret length to configuration (#32125)
oneiros Oct 1, 2024
66ef4b9
Remove `WebfingerHelper` module & move usage inline (#31203)
mjankowski Oct 1, 2024
4ad1e95
Use `module: :users` in routes/admin section (#30767)
mjankowski Oct 1, 2024
a473988
Update dependency postcss-preset-env to v10.0.5 (#32019)
renovate[bot] Oct 1, 2024
53624b1
Remove explicit `put` action in settings forms (#32176)
mjankowski Oct 1, 2024
f517f0d
Fix nav item active highlight for some paths (#32159)
mjankowski Oct 1, 2024
4e6f13a
Only show email domain blocks MX table when some found (#32155)
mjankowski Oct 1, 2024
1e19242
Extract constants for header and avatar geometry (#32151)
mjankowski Oct 1, 2024
97db4bd
Wrap datetime in `time` element with attrs (#32177)
mjankowski Oct 1, 2024
f397550
Add detection and download of material_symbol icons in config/navigat…
ThisIsMissEm Oct 1, 2024
754b03d
Fix unneeded requests to blocked domains when receiving relayed signe…
ClearlyClaire Oct 1, 2024
784d1bf
Fix broken border on applications list (#32147)
mjankowski Oct 1, 2024
09cf617
Adjust spacing on setting sub-nav items when below mobile size (#32137)
mjankowski Oct 1, 2024
19d1392
Avoid repeated icon stack in settings sidebar (#32201)
mjankowski Oct 1, 2024
b2ce9bb
Show timestamp when the user deletes their account on admin dashboard…
tribela Oct 1, 2024
c91e06b
Fix `Rails/CreateTableWithTimestamps` cop (#30836)
mjankowski Oct 1, 2024
b8fdffe
Ignore error if mentioned account was not processable (#29215)
tribela Oct 2, 2024
cbf1349
Support /.well-known/host-meta.json (#32206)
c960657 Oct 2, 2024
243a85e
Expand coverage for `Export` utility class (#32212)
mjankowski Oct 2, 2024
9315538
Fix incorrect `'navigator'` check (#32219)
ClearlyClaire Oct 2, 2024
f07707a
Extract `WebPushRequest` from push notification worker and subscripti…
mjankowski Oct 2, 2024
74291df
Remove unneeded `reorder(nil)` conditions (#32200)
mjankowski Oct 2, 2024
7de8d5f
Add `relevant_params` to ReportFilter (matches account filter) (#32136)
mjankowski Oct 2, 2024
ceba0f0
Provide `use_path` to qr generator for svg data size reduction (#32127)
mjankowski Oct 2, 2024
4a2d392
Fix media uploads in composer appearing over search results in advanc…
ClearlyClaire Oct 2, 2024
404f467
Fix editing description of media uploads with custom thumbnails (#32221)
ClearlyClaire Oct 2, 2024
aa46348
Enable hostname config for all system specs (#32109)
mjankowski Oct 2, 2024
5c72b46
Clean up labels on development application form (#32116)
mjankowski Oct 2, 2024
d82ffdc
Add `copyable_input` helper method to wrap shared options (#32119)
mjankowski Oct 2, 2024
2e8b752
Move admin action log type list generation to helper (#32178)
mjankowski Oct 2, 2024
55b5364
Hide badges in media gallery when media are hidden (#32224)
ClearlyClaire Oct 2, 2024
81cd489
Fix Content-Security-Policy when using sso-redirect (#32241)
ClearlyClaire Oct 4, 2024
6d5aa58
Fix unsupported grouped notifications from streaming causing duplicat…
ClearlyClaire Oct 4, 2024
25de2f5
Add coverage for missing status scenario in NotificationMailer (#32256)
mjankowski Oct 4, 2024
4fba4f8
Fix notification push notifications not including the author's userna…
ClearlyClaire Oct 4, 2024
3b43124
Fix media gallery items having incorrect borders when hidden (#32257)
ClearlyClaire Oct 4, 2024
2e0d918
New Crowdin Translations for stable-4.3 (automated) (#32253)
github-actions[bot] Oct 7, 2024
889edc5
Fix wrong width on logo in detailed link card in web UI (#32271)
Gargron Oct 7, 2024
83a98cb
Add missing `on_delete: :cascade` on `notification_permissions` (#32281)
ClearlyClaire Oct 7, 2024
cae93e7
Fix missing avatar fallback interfering with transparency in web UI (…
Gargron Oct 7, 2024
edcf3d9
Bump version to v4.3.0 (#32283)
ClearlyClaire Oct 7, 2024
77ff94d
Fix source strings being uploaded to crowdin in merge groups (#32298)
ClearlyClaire Oct 8, 2024
fc5b558
Reduce factory usage across `spec/services` area (#32098)
mjankowski Oct 4, 2024
ab36c15
New Crowdin Translations for stable-4.3 (automated) (#32297)
github-actions[bot] Oct 8, 2024
fa4a823
Bring icon vertical middle to applications list style (#32293)
mjankowski Oct 8, 2024
9e04e46
Reference `IpBlock.severities` keys from CLI option check (#32291)
mjankowski Oct 8, 2024
c0d3b3d
Fix `latest` tag for 4.3 docker image builds (#32350)
ClearlyClaire Oct 9, 2024
6ac78ea
Fix 4 columns barely not fitting on 1920px screen (#32361)
ClearlyClaire Oct 9, 2024
45a5206
Fix list edition modal styling (#32358)
ClearlyClaire Oct 9, 2024
e5e0144
Fix notification requests from suspended accounts still being listed …
ClearlyClaire Oct 9, 2024
de4f785
Restore list column border (#32367)
vmstan Oct 9, 2024
f75eb1a
Fix “Mention” appearing for otherwise filtered posts (#32356)
ClearlyClaire Oct 10, 2024
e018e63
Fix “Mark every notification as read” not updating the read marker if…
ClearlyClaire Oct 10, 2024
a295832
Fix mute duration not being shown in list of muted accounts in web UI…
ClearlyClaire Oct 10, 2024
8147239
Add note about not changing ActiveRecord encryption secrets once they…
ClearlyClaire Oct 11, 2024
799f507
Fix language of push notifications (#32415)
ClearlyClaire Oct 11, 2024
f99da81
Add tag with commit hash to PR image builds (#32418)
ClearlyClaire Oct 11, 2024
192e9d1
Fix follow recommendation suppressions not applying immediately (#32392)
ClearlyClaire Oct 14, 2024
5ee72f0
Convert `admin/tags` controller specs to system specs (#32447)
mjankowski Oct 14, 2024
ee61f77
Add further warnings about encryption secrets (#32476)
ClearlyClaire Oct 14, 2024
a2e24ee
Fix follow recommendation carrousel scrolling on RTL layouts (#32462)
ClearlyClaire Oct 14, 2024
066efc2
Fix: Use consistent REDIS_USER environment variable in streaming (#32…
ThisIsMissEm Oct 15, 2024
ca68a3c
Fix back arrow pointing to the incorrect direction in RTL languages (…
renchap Oct 15, 2024
304e440
add SWIFT object storage uri to CSP media hosts (#32439)
kenkiku1021 Oct 15, 2024
70472de
Fix follow recommendation carrousel scrolling on RTL layouts, for rea…
ClearlyClaire Oct 15, 2024
49b3d56
Fix reblog icons on account media view (#32506)
tribela Oct 15, 2024
0c59ef4
Extend spec coverage for `Poll` model (#32500)
mjankowski Oct 15, 2024
2d00810
Reduce factory creation (132 -> 40) in lib/vacuum/* specs (#32498)
mjankowski Oct 15, 2024
c292ed0
Expand coverage for `Scheduler::IpCleanupScheduler` worker (#32499)
mjankowski Oct 15, 2024
a728196
Reduce factory creation (48 -> 8) in `AP::Note` serializer spec (#32492)
mjankowski Oct 15, 2024
fbe55a4
Reduce factory creation (73 -> 64) in `PublicFeed` spec (#32491)
mjankowski Oct 15, 2024
ff1247a
Use `context` for repeated scenarios in `AccountStatusCleanupPolicy` …
mjankowski Oct 15, 2024
dc2f9ee
Reduce factories (36 > 12) in `AccountReachFinder` spec (#32482)
mjankowski Oct 15, 2024
0ff427f
Translate to regional language variant (e.g. pt-BR) (#32428)
c960657 Oct 15, 2024
63df649
Expand coverage for `Block` model (#32480)
mjankowski Oct 15, 2024
ae676ed
Expand coverage for `User#token_for_app` (#32434)
mjankowski Oct 15, 2024
527d125
Reduce factory creation (14 -> 8) in `ActivityPub::Activity::Block` s…
mjankowski Oct 15, 2024
ad4be12
Add mention of encryption secrets to production sample (#32512)
mjankowski Oct 15, 2024
6d72c13
Convert status embed controller to request spec (#32448)
mjankowski Oct 15, 2024
9258ee8
Improve `app/policies` coverage (#32426)
mjankowski Oct 15, 2024
41e342a
Convert `admin/invites` controller specs to system specs (#32450)
mjankowski Oct 15, 2024
b01bd74
Add back a 6 hours mute duration option (#32522)
renchap Oct 16, 2024
a20f38c
Fix only the first paragraph being displayed in some notifications (…
ClearlyClaire Oct 16, 2024
5c4bcd2
Run migration tests against postgres 16 and 17 as well (#32416)
jippi Oct 16, 2024
3645284
Explicitly install ImageMagick in CI (except for libvips tests) (#32534)
ClearlyClaire Oct 16, 2024
9334813
New Crowdin Translations for stable-4.3 (automated) (#32555)
github-actions[bot] Oct 17, 2024
e507b4f
Add ability to group follow notifications in WebUI (#32520)
renchap Oct 16, 2024
1f0c847
Change Active Record Encryption variable check to check for emptiness…
ClearlyClaire Oct 16, 2024
acbc273
Update rails to version 7.1.4.1 (#32542)
mjankowski Oct 16, 2024
f0e011f
Fix trailing slash newline in changelog (#32545)
mjankowski Oct 17, 2024
cd2a3ba
Fix missing or incorrect cache-control headers for Streaming server (…
ThisIsMissEm Oct 17, 2024
7388a6c
Add more explicit explanations about author attribution and `fedivers…
ClearlyClaire Oct 17, 2024
d0fb793
New Crowdin Translations for stable-4.3 (automated) (#32576)
github-actions[bot] Oct 18, 2024
afc4404
Fix broken i18n in text welcome mailer tags area (#32571)
mjankowski Oct 18, 2024
044dd3f
Fix column-settings spacing in local timeline in advanced view (#32567)
lindwurm Oct 18, 2024
d728fa9
Fix follow recommendation moderation page default language when using…
ClearlyClaire Oct 18, 2024
de5f522
Remove ability to get embed code for remote posts (#32578)
ClearlyClaire Oct 18, 2024
f7aab0c
Update changelog
ClearlyClaire Oct 18, 2024
9adb96f
Bump version to v4.3.1 (#32582)
ClearlyClaire Oct 21, 2024
dbedd02
Move account suspension-related methods to concern (#28351)
mjankowski Oct 7, 2024
ea1b598
Add client_secret_expires_at to OAuth Applications (#30317)
ThisIsMissEm Nov 12, 2024
74f9f7c
Add error message when user tries to follow their own account (#31910)
lenikadali Oct 7, 2024
a089109
Use `async_count` in more view locations (#32086)
mjankowski Oct 4, 2024
b06161d
Fix tl language native name (#32606)
seav Oct 22, 2024
bf1375a
Fix 'unknown' media attachment type rendering (#32613)
ThisIsMissEm Oct 22, 2024
c13b802
Do not change follow counters when already following (#32622)
oneiros Oct 22, 2024
9b677f0
Fix that blocking was not working on link timeline (#32625)
tribela Oct 22, 2024
dd0992b
Fix and improve batch attachment deletion handling when using OpenSta…
hugogameiro Oct 28, 2024
7f9b0f3
Embed modal mobile fix (#32641)
Oct 29, 2024
931870c
Fix preview cards with long titles erroneously causing layout changes…
ClearlyClaire Oct 30, 2024
1ddf1ae
Fix 'unknown' media attachment rendering in detailed view (#32713)
renatolond Oct 31, 2024
2d8ce9e
Fix alt-text pop-in not using the translated description (#32766)
ClearlyClaire Nov 4, 2024
c634da3
Redesign Content Warning and filters (#32543)
ClearlyClaire Oct 23, 2024
dc9a106
Avoid latest featured tag use on post removal unless necessary (#32787)
ClearlyClaire Nov 6, 2024
0720ef5
Fix `min_id` and `max_id` causing error in search API (#32857)
Gargron Nov 18, 2024
f0d734c
Add `DomainHelpers` spec support module for DNS/MX stub (#32690)
mjankowski Oct 29, 2024
90f2c7a
Fix error in CLI EmailDomainBlocks when supplying `--with-dns-records…
mjankowski Nov 13, 2024
0cbf03e
Fix list creation limit check (#32869)
ClearlyClaire Nov 13, 2024
5b6b23e
Fix titles being escaped twice (#32889)
ClearlyClaire Nov 14, 2024
f65523c
Fix domain attribution field having autocorrect and autocapitalize en…
ClearlyClaire Nov 15, 2024
cc5c125
Fix uploading higher-than-wide GIF profile picture with libvips enabl…
ClearlyClaire Nov 15, 2024
3752db3
Update dependency rexml
ClearlyClaire Nov 19, 2024
e06448e
Fix posts made in the future being allowed to trend (#32996)
ClearlyClaire Nov 20, 2024
90c7c1b
Fix duplicate notifications in notification groups when using slow mo…
ClearlyClaire Nov 21, 2024
6cbd217
Fix pushing hashtag-followed posts to feeds of inactive users (#33018)
Gargron Nov 22, 2024
6b8ff1c
Fix `TagFollow` records not being correctly handled in account operat…
ClearlyClaire Nov 25, 2024
15e1a63
Fix direct inbox delivery pushing posts into inactive followers' time…
ClearlyClaire Nov 25, 2024
3f0d90f
Fix inactive users' timelines being backfilled on follow and unsuspen…
ClearlyClaire Nov 28, 2024
5532d1c
Add `tootctl feeds vacuum` (#33065)
ClearlyClaire Nov 29, 2024
4239baa
Remove constant definition from global scope in embed.js (#33107)
YKWeyer Nov 29, 2024
eb997c9
Fix processing incoming post edits with mentions to unresolvable acco…
ClearlyClaire Dec 2, 2024
3b4070c
Prepare changelog
ClearlyClaire Dec 2, 2024
26f25ef
New Crowdin Translations for stable-4.3 (automated) (#33135)
github-actions[bot] Dec 2, 2024
13ab4b5
Bump version to v4.3.2 (#33136)
ClearlyClaire Dec 3, 2024
23376cb
Fix `NameError` in status update processing (#33161)
ClearlyClaire Dec 4, 2024
9dac143
Merge tag 'v4.3.1' into update/v4.3
takayamaki Jan 10, 2025
205e573
Merge tag 'v4.3.2' into update/v4.3
takayamaki Jan 10, 2025
3a4242c
Merge commit from fork
ClearlyClaire Jan 16, 2025
bcc798d
Fix empty authors preview card serialization (#33151)
mjankowski Dec 4, 2024
734f0dd
Fix `fediverse:creator` metadata not showing up in REST API (#33466)
ClearlyClaire Jan 6, 2025
afcfc64
Fix deletion of unconfirmed users with Webauthn set (#33186)
ClearlyClaire Dec 5, 2024
533477e
Fix processing of mentions for post edits with an existing correspond…
ClearlyClaire Jan 15, 2025
3cff7ca
Fix last paginated notification group only including data on a single…
ClearlyClaire Jan 9, 2025
757aed3
Fix error decrementing status count when `FeaturedTags#last_status_at…
ClearlyClaire Dec 16, 2024
d764ae0
Fix down clause for notification policy v2 migrations (#33340)
jesseplusplus Dec 18, 2024
512bfc0
Fix incorrect notification settings migration for non-followers (#33348)
ClearlyClaire Dec 18, 2024
90072f4
Fix incorrect `relationship_severance_event` attribute name in change…
ClearlyClaire Jan 3, 2025
5c8d2be
Fix libyaml missing from Dockerfile build stage (#33591)
vmstan Jan 14, 2025
10f1084
Update dependencies rails and rails-html-sanitizer
ClearlyClaire Jan 15, 2025
faed9bf
Bump version to v4.3.3
ClearlyClaire Jan 15, 2025
9645530
Use github's native arm64 runners for docker builds (#33886)
ClearlyClaire Feb 12, 2025
f24b0e9
Fix exclusive lists interfering with notifications (#28162)
ClearlyClaire Feb 12, 2025
1005b2f
Fix accounts table long display name (#29316)
WebCoder49 Nov 22, 2024
fa2625a
Fix notification polling showing a loading bar in web UI (#32960)
Gargron Nov 19, 2024
17695ac
Fix featured tags for remote accounts not being kept up to date (#33372)
ClearlyClaire Feb 12, 2025
4da31b8
Fix intermittent failure on ap/activity/create spec timestamp check (…
mjankowski Jan 2, 2025
e63d0cf
Fix intermittent failure on ap/activity/update spec timestamp check (…
ClearlyClaire Jan 2, 2025
68eb62f
Fix processing of incoming notifications for unfilterable types (#33429)
ClearlyClaire Jan 2, 2025
e4f2a05
Fix preview card sizing in “Author attribution” in profile settings (…
ClearlyClaire Jan 7, 2025
7ad9581
Fix media preview height in compose form when 3 or more images are at…
ClearlyClaire Jan 13, 2025
ca39069
Further harden the warnings against changing encryption secrets (#33631)
ClearlyClaire Jan 17, 2025
7449683
Add `UserRole#bypass_block?` method for notification check (#32974)
mjankowski Nov 26, 2024
c7172b5
Change notifications from moderators to not be filtered (#33654)
ClearlyClaire Jan 21, 2025
11baa26
Collect errors in setup rake task (#33603)
mjankowski Jan 16, 2025
37b029d
Move clear environment portion of `mastodon:setup` to private method …
mjankowski Jan 16, 2025
94fed6e
Change `mastodon:setup` to prevent overwriting already-configured ser…
ClearlyClaire Jan 22, 2025
227d48d
Fix LDSignature tests (#33705)
ClearlyClaire Jan 23, 2025
2b148d3
Fix polls not being validated on edition (#33755)
ClearlyClaire Jan 28, 2025
3177152
Fix incorrect signature after HTTP redirect (#33757)
ClearlyClaire Jan 28, 2025
6e90688
Fix missing timeout options in `Request` class (#33769)
ClearlyClaire Jan 29, 2025
4f33b04
Fix flaky test in `/api/v2/notifications` tests (#33773)
ClearlyClaire Jan 29, 2025
b32a67f
Fix `tootctl feeds build` not building list timelines (#33783)
ClearlyClaire Jan 30, 2025
44e38b7
Fix emoji rewrite adding unnecessary curft to the DOM for most emoji …
ClearlyClaire Feb 3, 2025
2954c2f
Change preview cards to be shown when Content Warnings are expanded (…
ClearlyClaire Feb 4, 2025
452153d
Optimize timeline generation (#33839)
ClearlyClaire Feb 5, 2025
679e755
Fix filtering for lists (#33842)
ClearlyClaire Feb 5, 2025
08d2250
Fix handling of duplicate mentions in incoming status `Update` (#33911)
ClearlyClaire Feb 12, 2025
018b85e
Update dependency ruby-vips
ClearlyClaire Feb 24, 2025
b0f88be
Update dependencies `net-imap`, `net-smtp` and `timeout`
ClearlyClaire Feb 24, 2025
fb29ac0
Update dependency `rack`
ClearlyClaire Feb 24, 2025
10bcbf1
Update dependency `nokogiri`
ClearlyClaire Feb 24, 2025
8787077
Fix `GET /api/v2/notifications/:id` and `POST /api/v2/notifications/:…
ClearlyClaire Feb 25, 2025
b1a584d
New Crowdin Translations for stable-4.3 (automated) (#33999)
github-actions[bot] Feb 25, 2025
5140f31
Merge commit from fork
ClearlyClaire Feb 27, 2025
c6b501c
Merge commit from fork
ClearlyClaire Feb 27, 2025
57e4232
Update dependency `uri`
ClearlyClaire Feb 26, 2025
19b3469
Change HTML sanitization to remove unusable and unused `embed` tag (#…
ClearlyClaire Feb 27, 2025
c1f398a
Bump version to v4.3.4
ClearlyClaire Feb 13, 2025
bcfd6ab
Add Ruby 3.4 to Mastodon 4.3 test matrix (#34028)
ClearlyClaire Feb 28, 2025
b73e968
Fix username and display name being hidden on narrow screens in moder…
ClearlyClaire Nov 25, 2024
1ed1cdb
Fix preview cards under Content Warnings not being shown in detailed …
ClearlyClaire Mar 5, 2025
7e20ee7
Fix streaming server not filtering unknown-language posts from public…
ClearlyClaire Feb 21, 2025
4228ca6
Fix processing errors for some HEIF images from iOS 18 (#34086)
renchap Mar 6, 2025
62f0192
Change hashtag suggestion to prefer personal history capitalization (…
ClearlyClaire Mar 6, 2025
0c2fa2a
Comment sidekiq build in docker compose (#33483)
NoelDeMartin Jan 7, 2025
a8613b7
Bump version to v4.3.5
ClearlyClaire Mar 7, 2025
d01e407
Fix Stoplight errors when using `REDIS_NAMESPACE` (#34126)
ClearlyClaire Mar 10, 2025
e84031e
Update dependency `rack`
ClearlyClaire Mar 13, 2025
c79c9e8
Update dependency `omniauth-saml`
ClearlyClaire Mar 13, 2025
cdcd77e
Bump version to v4.3.6
oneiros Mar 13, 2025
2340f4d
Fix “x” hotkey not working on boosted filtered posts (#33758)
ClearlyClaire Jan 29, 2025
9be3915
Fix streaming server refusing unix socket path in `DATABASE_URL` (#34…
ClearlyClaire Mar 24, 2025
c48413a
Fix incorrect URL being used when cache busting (#34189)
ClearlyClaire Mar 17, 2025
8197e65
Fix `CacheBuster` being queued for missing media attachments (#34253)
ClearlyClaire Mar 24, 2025
4cb3fe3
Fix handling of malformed/unusual HTML (#34201)
ClearlyClaire Mar 18, 2025
653868b
Change user archive signed URL TTL from 10 seconds to 1 hour (#34254)
ClearlyClaire Mar 24, 2025
d6442b5
Fix filters not applying in detailed view (#34259)
ClearlyClaire Mar 25, 2025
105e5b1
Fix bookmarks and favourites not being filtered (#34260)
ClearlyClaire Mar 25, 2025
86d8df0
Fix follower synchronization mechanism erroneously removing followers…
ClearlyClaire Mar 25, 2025
0615feb
Add support for paginating partial collections in `SynchronizeFollowe…
ClearlyClaire Mar 26, 2025
8a3f25a
Use fixed order in flaky spec (#34279)
oneiros Mar 26, 2025
29eae75
Define constants for sampling sizes in `AccountReachFinder` (#32805)
mjankowski Nov 12, 2024
6af733d
Change `AccountReachFinder` to consider statuses based on suspension …
ClearlyClaire Mar 27, 2025
d9fb61f
Change account suspensions to be federated to recently-followed accou…
ClearlyClaire Mar 28, 2025
6d53e8c
Add delay to profile updates to debounce them (#34137)
ClearlyClaire Mar 28, 2025
527d920
New Crowdin Translations for stable-4.3 (automated) (#34336)
github-actions[bot] Apr 1, 2025
65a6840
Fix static version of animated PNG emojis not being properly extracte…
ClearlyClaire Apr 1, 2025
6f16011
Bump version to v4.3.7 (#34328)
ClearlyClaire Apr 2, 2025
72b1af1
Change activity distribution error handling to skip retrying for dele…
ClearlyClaire Jan 17, 2025
698e4fd
Fix sign-up e-mail confirmation page reloading on error or redirect (…
ClearlyClaire Apr 25, 2025
a9f8b1a
Fix incorrect redirect in response to unauthenticated API requests in…
ClearlyClaire May 5, 2025
86a8aa5
Add built-in context for interaction policies (#34574)
ClearlyClaire May 5, 2025
e6a6c26
Remove double-query for signed query strings (#34610)
ClearlyClaire May 5, 2025
ec20232
Add warning for REDIS_NAMESPACE deprecation at startup (#34581)
ClearlyClaire May 5, 2025
6d46225
Merge commit from fork
ClearlyClaire May 6, 2025
e14bf63
Update dependency nokogiri
ClearlyClaire May 6, 2025
5ef82d7
Update dependency net-imap
ClearlyClaire May 6, 2025
30e25ff
Bump version to v4.3.8
ClearlyClaire May 6, 2025
e6591bf
Fix code style issue
ClearlyClaire May 6, 2025
cf34592
Merge tag 'v4.3.3' into update/v4.3
takayamaki Jun 9, 2025
e0ae517
Merge tag 'v4.3.4' into update/v4.3
takayamaki Jun 9, 2025
3b472af
Merge tag 'v4.3.5' into update/v4.3
takayamaki Jun 9, 2025
e9d625d
Merge tag 'v4.3.6' into update/v4.3
takayamaki Jun 9, 2025
2775a81
Merge tag 'v4.3.7' into update/v4.3
takayamaki Jun 9, 2025
a247450
Merge tag 'v4.3.8' into update/v4.3
takayamaki Jun 9, 2025
524a1e3
Merge remote-tracking branch 'imas/imastodon-v4.3' into update/v4.3
takayamaki Jun 10, 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
17 changes: 14 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,25 @@ 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=

# Encryption secrets
# ------------------
# Must be available (and set to same values) for all server processes
# These are private/secret values, do not share outside hosting environment
# Use `bin/rails db:encryption:init` to generate fresh secrets
# Do NOT change these secrets once in use, as this would cause data loss and other issues
# ------------------
# ACTIVE_RECORD_ENCRYPTION_DETERMINISTIC_KEY=
# ACTIVE_RECORD_ENCRYPTION_KEY_DERIVATION_SALT=
# ACTIVE_RECORD_ENCRYPTION_PRIMARY_KEY=

# 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
Loading
Loading