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

Merge mastodon v4.1.19 #1681

Merged
merged 714 commits into from
Sep 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
714 commits
Select commit Hold shift + click to select a range
ea1d55a
fix metrics format (#23520)
emilweth Feb 11, 2023
11d6663
Fix case-sensitive check for previously used hashtags (#23526)
deanveloper Feb 13, 2023
9007901
Fix focus point of already-attached media not saving after edit (#23566)
ClearlyClaire Feb 19, 2023
00208b2
Fix sidebar cut-off on small screens in admin UI (#23764)
wxt2005 Feb 21, 2023
69564db
Fix inefficiency when searching accounts per username in admin interf…
ClearlyClaire Feb 22, 2023
b52746e
Fix duplicate “Publish” button on mobile (#23804)
ClearlyClaire Mar 3, 2023
aff3f85
Fix server error when failing to follow back followers from `/relatio…
ClearlyClaire Mar 3, 2023
63532d9
Fix error when displaying post history of a trendable post in the adm…
ClearlyClaire Mar 3, 2023
f5f17e8
Fix tootctl accounts migrate error due to typo (#23567)
ClearlyClaire Mar 3, 2023
675c24a
Fix unconfirmed accounts being registered as active users (#23803)
ClearlyClaire Mar 6, 2023
4cec3ad
Fix original account being unfollowed on migration before the follow …
ClearlyClaire Mar 3, 2023
37a28ba
Do not leave Mastodon when clicking “Back” (#23953)
c960657 Mar 4, 2023
2fed61a
Fix pgBouncer resetting application name on every transaction (#23958)
Gargron Mar 5, 2023
4bfbeb8
Fix `/api/v1/streaming` sub-paths not being redirected (#23988)
ClearlyClaire Mar 6, 2023
14bcd14
Center the text itself in upload area (#24029)
vintprox Mar 9, 2023
479b666
Fix sidekiq jobs not triggering Elasticsearch index updates (#24046)
ClearlyClaire Mar 12, 2023
92a2663
Do not strip tags from `Setting.site_short_description` (#23975)
c960657 Mar 6, 2023
3f2e318
Unescape HTML entities (#24019)
c960657 Mar 8, 2023
40ae8d5
Fix paths with url-encoded @ to redirect to the correct path (#23593)
thijskh Feb 14, 2023
9377c4a
Add `lang` tag to native language names in language picker (#23749)
ClearlyClaire Feb 21, 2023
cec5941
Add mail headers to avoid auto-replies (#23597)
ClearlyClaire Mar 3, 2023
78c7c79
Add refreshing many accounts at once with "tootctl accounts refresh" …
9p4 Mar 8, 2023
9972eb4
add modal message when editing toot (#23936)
PauloVilarinho Mar 6, 2023
a133570
Increase contrast of upload progress background (#23836)
toolmantim Feb 23, 2023
68af19c
Change auto-deletion throttling constants to better scale with server…
ClearlyClaire Feb 23, 2023
a54bd84
Switched bookmark and favourites around (#23701)
Mar 3, 2023
2a37dc7
Change unintended SMTP read timeout from 5 seconds to 20 seconds (#23…
ClearlyClaire Mar 3, 2023
6962d11
Change `ActivityPub::DeliveryWorker` retries to be spread out more (#…
ClearlyClaire Mar 3, 2023
fe7752f
Update changelog
ClearlyClaire Mar 13, 2023
4e02c7d
Support the PROXY protocol through the PROXY_PROTO_V1 env variable (…
CSDUMMI Mar 14, 2023
5cc39a3
Add `SENDFILE_HEADER` environment variable (#24123)
Gargron Mar 16, 2023
59a2fe3
Add cache headers to static files served through Rails (#24120)
Gargron Mar 16, 2023
0529fb0
Push Docker images to Github Container Registry as well (#24101)
renchap Mar 14, 2023
0891a8d
Skip Docker CI Login/Push on forks (#23564)
nschonni Mar 15, 2023
4213907
Use Github Container Registry as the official container image source …
renchap Mar 15, 2023
46d6cb0
Skip pushing containers on forks (#24106)
nschonni Mar 15, 2023
0363064
Fix dashboard crash on ElasticSearch server error (#23751)
ClearlyClaire Mar 15, 2023
cc65f32
Fix incorrect post links in strikes when the account is remote (#23611)
ClearlyClaire Mar 15, 2023
8c4ea7d
Fix misleading error code when receiving invalid WebAuthn credentials…
ClearlyClaire Mar 15, 2023
0e58e7f
Update changelog
ClearlyClaire Mar 16, 2023
19def1a
Update changelog
ClearlyClaire Mar 16, 2023
6db7687
Change user backups to use expiring URLs for download when possible (…
Gargron Mar 16, 2023
6a7b91a
Add warning for object storage misconfiguration (#24137)
ClearlyClaire Mar 16, 2023
ab85f59
Bump version to v4.1.1
ClearlyClaire Mar 16, 2023
3c82c4e
Fix crash in `tootctl` commands making use of parallelization when El…
ClearlyClaire Mar 20, 2023
ae64c5b
Fix user archive takeout when using OpenStack Swift or S3 providers w…
ClearlyClaire Mar 27, 2023
590df44
Bump blurhash from 0.1.6 to 0.1.7 (#23517)
Gargron Feb 11, 2023
af6eb37
Wrap db:setup with Chewy.strategy(:mastodon) (#24302)
rrgeorge Mar 29, 2023
0161753
Update Ruby to 3.0.6 (#24334)
saizai Mar 31, 2023
51572ac
Fix invalid/expired invites being processed on sign-up (#24337)
ClearlyClaire Mar 31, 2023
4eaa6d5
Change root Chewy strategy to emit a warning instead of erroring out …
ClearlyClaire Apr 3, 2023
b9f2713
Fix unescaped user input in LDAP query (#24379)
ClearlyClaire Apr 3, 2023
4b9e4f6
Bump version to v4.1.2
ClearlyClaire Mar 27, 2023
bc85926
Fix user archive takeouts when using OpenStack Swift (#24431)
ClearlyClaire Apr 5, 2023
3e1724e
Fix multiple N+1s in ConversationsController (#25134)
ClearlyClaire Jun 1, 2023
036ac5b
Fix ArgumentError when loading newer Private Mentions (#25399)
ClearlyClaire Jun 14, 2023
4c6c790
Fix /api/v1/conversations sometimes returning empty accounts (#25499)
ClearlyClaire Jun 20, 2023
b1ac356
Change Identity to not destroy associated User on destroy (#25098)
ClearlyClaire May 23, 2023
72d96bf
Remove invalid X-Frame-Options: ALLOWALL (#25070)
ClearlyClaire May 23, 2023
b3cbcd7
Fix “Authorized applications” inefficiently and incorrectly getting l…
ClearlyClaire May 22, 2023
f962e83
Change OpenGraph-based embeds to allow fullscreen (#25058)
ClearlyClaire May 22, 2023
1301af6
Fix race condition when reblogging a status (#25016)
ClearlyClaire May 16, 2023
cca464b
Fix being able to vote on your own polls (#25015)
ClearlyClaire May 16, 2023
7e58779
Fix reports not being closed when performing batch suspensions (#24988)
ClearlyClaire May 16, 2023
99c2bbb
Change profile updates to be sent to recently-mentioned servers (#24852)
ClearlyClaire May 12, 2023
210ff36
Change AccessTokensVacuum to also delete expired tokens (#24868)
ClearlyClaire May 11, 2023
2779bce
Add fallback redirection when getting a webfinger query `LOCAL_DOMAIN…
ClearlyClaire May 2, 2023
bd7cbee
Fix `tootctl accounts approve --number N` not aproving N earliest re…
danielmbrasil Apr 30, 2023
a197fc0
Fix CSP headers when S3_ALIAS_HOST includes a path component (#25273)
ClearlyClaire Jun 5, 2023
e78ee58
Fix performance of streaming by parsing message JSON once (#25278)
ThisIsMissEm Jun 9, 2023
23e7b4d
Fix logging of messages that are binary before closing their connecti…
ThisIsMissEm Jun 10, 2023
0e139e3
Change automatic post deletion thresholds and load detection (#24614)
ClearlyClaire Apr 21, 2023
d9e45f2
Fix AccountsStatusesCleanupScheduler not spreading deletes across acc…
ClearlyClaire Apr 23, 2023
7012bf6
Improve automatic post cleanup worker performances (#24785)
ClearlyClaire May 3, 2023
7bd34f8
Fix infinite loop in AccountsStatusesCleanupScheduler (#24840)
ClearlyClaire May 4, 2023
fd1ffd7
Fix incorrect pagination headers in `/api/v2/admin/accounts` (#25477)
danielmbrasil Jun 19, 2023
3ef5395
Prevent UserCleanupScheduler from overwhelming streaming (#25519)
ThisIsMissEm Jun 20, 2023
8acbfc6
Fix wrong view being displayed when a webhook fails validation (#25464)
ClearlyClaire Jun 20, 2023
e65e3a6
Add finer permission requirements for managing webhooks (#25463)
ClearlyClaire Jun 22, 2023
f8930a6
Change /api/v1/statuses/:id/history to always return at least one ite…
ClearlyClaire Jun 22, 2023
79f5b8f
Fix ResolveURLService not resolving local URLs for remote content (#2…
ClearlyClaire Jun 29, 2023
6f484fb
IndexingScheduler: fetch and import in batches (#24285)
VyrCossont Mar 31, 2023
652ff76
Fix Redis client and type errors introduced in #24285 (#24342)
VyrCossont Apr 1, 2023
8eb1bb8
Allow carets in URL search params (#25216)
renchap Jun 1, 2023
a3d69a2
Fix OAuth apps page crashing when listing apps with certain admin API…
ClearlyClaire Jul 4, 2023
fac2c9e
Update rack, rails, nokogiri and doorkeeper gems
ClearlyClaire Jun 28, 2023
9b6c0ca
Add hardened headers to user-uploaded files (#25756)
ClearlyClaire Jul 6, 2023
c4f2609
Merge pull request from GHSA-ccm4-vgcc-73hp
ClearlyClaire Jul 6, 2023
0aa0b71
Merge pull request from GHSA-9928-3cp5-93fm
ClearlyClaire Jul 6, 2023
e75ad1d
Merge pull request from GHSA-9pxv-6qvf-pjwc
ClearlyClaire Jul 6, 2023
32ebeed
Merge pull request from GHSA-55j9-c3mp-6fcq
ClearlyClaire Jul 6, 2023
0d5781c
Bump version to v4.1.3
ClearlyClaire Jun 21, 2023
cf58535
Fix typo in CHANGELOG.md (#25764)
nemobis Jul 7, 2023
015ed99
Fix branding:generate_app_icons failing because of disallowed ICO cod…
ClearlyClaire Jul 7, 2023
f2bbac3
Fix crash in admin interface when viewing a remote user with verified…
ClearlyClaire Jul 7, 2023
53b979d
Fix processing of media files with unusual names (#25788)
ClearlyClaire Jul 7, 2023
cb8ab46
Update dependencies
ClearlyClaire Jul 7, 2023
3f5af76
Bump version to v4.1.4
ClearlyClaire Jul 7, 2023
69c8f26
Add check preventing Sidekiq workers from running with Makara configu…
ClearlyClaire Jul 21, 2023
7a99f07
Fix trending publishers table not rendering correctly on narrow scree…
vmstan Jul 13, 2023
13ec425
Fix remote accounts being possibly persisted to database with incompl…
ClearlyClaire Jul 10, 2023
efd0666
Fix moderation interface for remote instances with a .zip TLD (#25885)
ClearlyClaire Jul 10, 2023
d94a2c8
Change request timeout handling to use a longer deadline (#26055)
ClearlyClaire Jul 18, 2023
8891020
Fix CSP headers being unintendedly wide (#26105)
ClearlyClaire Jul 21, 2023
ebf4f03
Bump version to v4.1.5
ClearlyClaire Jul 21, 2023
1792be3
Fix wrong filters sometimes applying in streaming (#26159)
ClearlyClaire Jul 27, 2023
da23060
Refactor streaming's filtering logic & improve documentation (#26213)
ThisIsMissEm Jul 27, 2023
6c321bb
Fix incorrect connect timeout in outgoing requests (#26116)
ClearlyClaire Jul 22, 2023
2eb1a5b
Fix: Streaming server memory leak in HTTP EventSource cleanup (#26228)
ThisIsMissEm Jul 28, 2023
2fc6117
Fix missing return values in streaming (#26233)
renchap Jul 28, 2023
ac7d40b
Bump version to v4.1.6
ClearlyClaire Jul 27, 2023
1ad64b5
Backport container build changes to the stable-4.1 branch (#26738)
ClearlyClaire Aug 31, 2023
86afbf2
Change text extraction in `PlainTextFormatter` to be faster (#26727)
ClearlyClaire Aug 30, 2023
6339806
Fix blocking subdomains of an already-blocked domain (#26392)
ClearlyClaire Aug 9, 2023
ea7fa04
Fix `/api/v1/timelines/tag/:hashtag` allowing for unauthenticated acc…
danielmbrasil Aug 31, 2023
cf80d54
Allow reports with long comments from remote instances, but truncate …
ThisIsMissEm May 22, 2023
5f88a2d
Bump version to v4.1.7
ClearlyClaire Sep 5, 2023
7f7e068
Update actions for stable-4.1 (#26815)
ClearlyClaire Sep 6, 2023
38a5d92
Change Dockerfile to upgrade packages when building (#26929)
ClearlyClaire Sep 18, 2023
5f9511c
Merge pull request from GHSA-2693-xr3m-jhqr
ClearlyClaire Sep 19, 2023
48ee3ae
Merge pull request from GHSA-v3xf-c9qf-j667
ClearlyClaire Sep 19, 2023
7802837
Fix unexpected audio stream transcoding when uploaded video is eligib…
yufushiro Aug 23, 2023
21bf42b
Fix `frame_rate` for videos where `ffprobe` reports 0/0 (#26500)
NicolaiSoeborg Aug 18, 2023
34959ec
Fix cached posts including stale stats (#26409)
ClearlyClaire Aug 17, 2023
5caade9
Fix crash when encountering invalid URL (#26814)
ClearlyClaire Sep 6, 2023
5fd89e5
Fix moderator rights inconsistencies (#26729)
ClearlyClaire Sep 6, 2023
d6c0ae9
Fix post edits not being forwarded as expected (#26936)
ClearlyClaire Sep 15, 2023
46bd58f
Bump version to v4.1.8
ClearlyClaire Sep 19, 2023
af0ee12
Disable ruby linting for 4.1.x branch (#26993)
ClearlyClaire Sep 20, 2023
5d93c5f
Fix post translation erroring out (v4.1.x) (#26990)
ClearlyClaire Sep 20, 2023
e4c0aaf
Bump version to v4.1.9 (#26997)
ClearlyClaire Sep 20, 2023
9950e59
Disable setting the `latest` tag for 4.1 docker builds (#27023)
ClearlyClaire Sep 21, 2023
b40c42f
Fix inefficient queries in “Follows and followers” as well as several…
ClearlyClaire Sep 25, 2023
f2fff6b
Fix crash when filtering for “dormant” relationships (#27306)
ClearlyClaire Oct 6, 2023
c97fbab
Properly remove tIME chunk from PNG uploads (#27111)
TheEssem Sep 25, 2023
f1d3eda
Fix filtering audit log for entries about disabling 2FA (#27186)
ClearlyClaire Sep 28, 2023
8d73fbe
Change some worker lock TTLs (#27246)
ClearlyClaire Oct 3, 2023
45669ac
Fix importer returning negative row estimates (#27258)
jgillich Oct 3, 2023
f8154cf
Change min age of backup policy from 1 week to 6 days (#27200)
suddjian Oct 3, 2023
15c5727
Add a short-lived lock to trend refresh scheduler (#27253)
ClearlyClaire Oct 3, 2023
3359823
Dont match mention in url query string (#25656)
mjankowski Oct 3, 2023
df60d04
Bump version to v4.1.10
ClearlyClaire Oct 8, 2023
1e896e9
Update dependencies (#27354)
ClearlyClaire Oct 10, 2023
78e4576
Change Content-Security-Policy to be tighter on media paths (#26889)
ClearlyClaire Oct 23, 2023
3ef0a19
Fix report processing notice not mentioning the report number when pe…
ClearlyClaire Oct 26, 2023
ff3a9da
Fix error and incorrect URLs in `/api/v1/accounts/:id/featured_tags` …
ClearlyClaire Oct 27, 2023
1210524
Fix processing LDSigned activities from actors with unknown public ke…
ClearlyClaire Oct 20, 2023
a89a257
Fix some link anchors being recognized as hashtags (#27271)
ClearlyClaire Oct 23, 2023
ab68df9
Fix hashtag matching pattern matching some URLs (#27584)
ClearlyClaire Oct 27, 2023
1d835c9
Fix posts from force-sensitized accounts being able to trend (#27620)
ClearlyClaire Oct 30, 2023
803e15a
Fix incoming status creation date not being restricted to standard IS…
ClearlyClaire Nov 6, 2023
8bbe2b9
Have `Follow` activities bypass availability (#27586)
ShadowJonathan Oct 27, 2023
613d007
Change GIF max matrix size error to explicitly mention GIF files (#27…
ClearlyClaire Nov 24, 2023
cc94c70
Clamp dates when serializing to Elasticsearch API (#28081)
ClearlyClaire Nov 27, 2023
363bedd
Bump version to v4.1.11
ClearlyClaire Nov 27, 2023
2e4d439
Fix SQL query in `/api/v1/directory` (#28412)
ClearlyClaire Dec 18, 2023
a2ddd84
Fix `LinkCrawlWorker` error when encountering empty OEmbed response (…
ClearlyClaire Dec 12, 2023
4c5575e
Fix Undo Announce activity is not sent, when not followed by the rebl…
MitarashiDango Jan 12, 2024
a1a7126
Fix streaming API redirection ignoring the port of `streaming_api_bas…
ClearlyClaire Jan 2, 2024
458620b
Fix potential redirection loop of streaming endpoint (#28665)
ClearlyClaire Jan 10, 2024
92643f4
Convert signature verification specs to request specs (#28443)
ClearlyClaire Dec 22, 2023
9292d99
Fix Mastodon not correctly processing HTTP Signatures with query stri…
ClearlyClaire Jan 3, 2024
90bb870
Ignore RecordNotUnique errors in LinkCrawlWorker (#28748)
tribela Jan 16, 2024
de60322
Retry 401 errors on replies fetching (#28788)
ShadowJonathan Jan 19, 2024
460e4fb
Fix processing of compacted single-item JSON-LD collections (#28816)
ClearlyClaire Jan 19, 2024
e6072a8
Fix error when processing remote files with unusually long names (#28…
ClearlyClaire Jan 19, 2024
2e8943a
Add rate-limit of TOTP authentication attempts at controller level (#…
ClearlyClaire Jan 19, 2024
fc4e2ec
Bump version to v4.1.12
ClearlyClaire Jan 23, 2024
5799bc4
Merge pull request from GHSA-3fjr-858r-92rw
ClearlyClaire Feb 1, 2024
ce9c641
Update dependency nokogiri to 1.16.2
Feb 14, 2024
fdde3cd
Update dependency sidekiq-unique-jobs to 7.1.33
Feb 14, 2024
cdbe285
Disable administrative doorkeeper routes (#29187)
ThisIsMissEm Feb 13, 2024
2f6518c
Add `sidekiq_unique_jobs:delete_all_locks` task and disable `sidekiq-…
ClearlyClaire Feb 14, 2024
d807b39
Merge pull request from GHSA-7w3c-p9j8-mq3x
ClearlyClaire Feb 14, 2024
6f36b63
Merge pull request from GHSA-vm39-j3vx-pch3
ClearlyClaire Feb 14, 2024
6499850
Bump version to v4.1.14
ClearlyClaire Feb 14, 2024
9e5af6b
Fix user creation failure handling in OAuth paths (#29207)
ClearlyClaire Feb 14, 2024
6f29d50
Update dependency pg to 1.5.5
ClearlyClaire Feb 16, 2024
a07fff0
Merge pull request from GHSA-jhrq-qvrm-qr36
ClearlyClaire Feb 16, 2024
b7b03e8
Bump version to v4.1.15
ClearlyClaire Feb 15, 2024
54ae3d5
Add basic CI to 4.1 branch (#29351)
ClearlyClaire Feb 22, 2024
1629ac4
Update dependencies (#29350)
ClearlyClaire Feb 22, 2024
2fc8761
Automatically switch from open to approved registrations in absence o…
ClearlyClaire Feb 22, 2024
c731241
Fix auto-close email being sent to users with devops permissions inst…
ClearlyClaire Feb 22, 2024
3fecb36
Change registrations to be disabled by default for new servers (#29354)
ClearlyClaire Feb 22, 2024
f0541ad
Fix link verifications when page size exceeds 1MB (#29362)
ClearlyClaire Feb 22, 2024
d3c4441
Fix processing of `Link` objects in `Image` objects (#29364)
ClearlyClaire Feb 23, 2024
c2d8666
Bump version to v4.1.16 (#29371)
ClearlyClaire Feb 23, 2024
142dd34
Fix CI not actually running ruby tests in 4.1 branch (#30321)
ClearlyClaire May 16, 2024
37adb14
Fix auto close registration mail (#30323)
ClearlyClaire May 16, 2024
57b72cc
Fix reference to non-existent var in CLI maintenance command (#28363)
mjankowski Dec 14, 2023
079d3e5
Add fallback redirection when getting a webfinger query `WEB_DOMAIN@W…
ClearlyClaire Jan 4, 2024
209632a
Return domain block digests from admin domain blocks API (#29092)
ThisIsMissEm Feb 6, 2024
affbb10
Fix admin account created by `mastodon:setup` not being auto-approved…
ClearlyClaire Feb 23, 2024
3ff575f
Normalize idna domain before account unblock domain (#29530)
tribela Mar 11, 2024
8ce403a
Fix results/query in `api/v1/featured_tags/suggestions` (#29597)
mjankowski Mar 22, 2024
ba5551f
Improve email address validation (#29838)
ClearlyClaire Apr 5, 2024
5973d7a
Remove caching in `cache_collection` (#29862)
ClearlyClaire Apr 8, 2024
a6089cd
Fixed crash when supplying FFMPEG_BINARY environment variable (#30022)
timothyjrogers Apr 22, 2024
70c4d70
Fix Idempotency-Key ignored when scheduling a post (#30084)
ClearlyClaire Apr 26, 2024
33a5088
Fix not being able to block a subdomain of an already-blocked domain …
ClearlyClaire May 2, 2024
984d7d3
Fix missing destory audit logs for Domain Allows (#30125)
ThisIsMissEm Apr 30, 2024
3aec33f
Fix off-by-one in `tootctl media` commands (#30306)
ClearlyClaire May 15, 2024
13bbcdf
Update dependency json-jwt to 1.15.3.1
ClearlyClaire May 16, 2024
c717b7d
Update dependency puma to 5.6.8
ClearlyClaire May 16, 2024
b39fbe7
Update dependency nokogiri to 1.16.5
ClearlyClaire May 16, 2024
b4e3a78
Update dependency rexml to 3.2.8
ClearlyClaire May 29, 2024
257f9ab
Fix leaking Elasticsearch connections in Sidekiq processes (#30450)
ClearlyClaire May 29, 2024
ba240ce
Normalize language code of incoming posts (#30403)
ClearlyClaire May 23, 2024
e292a28
Merge pull request from GHSA-5fq7-3p3j-9vrf
ClearlyClaire May 30, 2024
020228d
Merge pull request from GHSA-q3rg-xx5v-4mxh
ClearlyClaire May 30, 2024
d770b61
Merge pull request from GHSA-c2r5-cfqr-c553
ClearlyClaire May 30, 2024
95ebcff
Fix rate-limiting incorrectly triggering a session cookie on most end…
ClearlyClaire May 30, 2024
1cad857
Bump version to v4.1.17 (#30472)
ClearlyClaire May 30, 2024
2ee88a9
Change PWA start URL from `/home` to `/` (#27377)
ClearlyClaire Oct 12, 2023
8e924e4
Fix `/admin/accounts/:account_id/statuses/:id` for edited posts with …
ClearlyClaire Jun 24, 2024
839147e
Added check for STATSD_ADDR setting to emit a warning and proceed rat…
timothyjrogers Jun 24, 2024
d8e8437
Update dependency rails
ClearlyClaire Jul 2, 2024
815680b
Add size limit for link preview URLs (#30854)
oneiros Jun 27, 2024
2a5819e
Change search modifiers to be case-insensitive (#30865)
Gargron Jun 27, 2024
6cf83a2
Improve encoding detection for link cards (#30780)
oneiros Jun 21, 2024
4b45333
fix: Return HTTP 422 when scheduled status time is less than 5 minute…
ClearlyClaire Jul 3, 2024
1227400
Merge pull request from GHSA-vp5r-5pgw-jwqx
ClearlyClaire Jul 4, 2024
34aeef3
Merge pull request from GHSA-58x8-3qxw-6hm7
ClearlyClaire Jul 4, 2024
a1c7aae
Merge pull request from GHSA-xjvf-fm67-4qc3
ClearlyClaire Jul 4, 2024
ff90ebf
Bump version to v4.1.18 (#30911)
ClearlyClaire Jul 4, 2024
d673b6e
Fix status processing failing halfway when a remote post has a malfor…
ClearlyClaire Aug 2, 2024
67b38a5
Fix incorrect rate limit on PUT requests (#31356)
ClearlyClaire Aug 9, 2024
3e1f1b5
Select correct self link when parsing Webfinger response (#31110)
adamniedzielski Jul 23, 2024
694cf6c
Fix hashtag matching pattern matching some link anchors (#30190)
ClearlyClaire May 6, 2024
f4b4a85
Fix ß bug in regexp for mentions and tags (#31122)
adamniedzielski Jul 25, 2024
aa3fc53
Fix division by zero on some video/GIF files (#30600)
ClearlyClaire Jun 7, 2024
4d994fa
Fix local account search on LDAP login being case-sensitive (#30113)
raucao May 3, 2024
2084f1a
Fix development environment admin account not being auto-approved (#2…
ClearlyClaire Apr 16, 2024
6383a2e
Fix report reason selector in moderation interface not unselecting ru…
ClearlyClaire Feb 6, 2024
3868a63
Fix already-invalid reports failing to resolve (#29027)
ClearlyClaire Feb 6, 2024
3e9238d
Fix OCR when using S3/CDN for assets (#28551)
vmstan Jan 2, 2024
a046dce
Fix error when encountering malformed Tag objects from Kbin (#28235)
ShadowJonathan Dec 5, 2023
52e78d2
Fix not all legal images showing in file picker when uploading custom…
Nov 27, 2023
9776a5d
Fix linting issues
ClearlyClaire Aug 16, 2024
33e0745
Bump version to v4.1.19
ClearlyClaire Aug 14, 2024
b48c830
Merge tag 'v4.1.15' into merge-mastodon-v4.1.19
Nyoho Aug 24, 2024
09de712
Modify name of repository
Nyoho Aug 24, 2024
aedd7f5
Add types of tags for building images
Nyoho Aug 25, 2024
d4348a2
Merge tag 'v4.1.19' into merge-mastodon-v4.1.19
Nyoho Aug 25, 2024
65c482d
Remove linux/arm64 from platforms
Nyoho Aug 25, 2024
ea71bd6
eslint
Nyoho Aug 25, 2024
e7ba535
Add a missing column of schema
Nyoho Aug 26, 2024
5f3b5cf
Remove custom setting of Content-Security-Policy
Nyoho Aug 31, 2024
baabd6d
Modify a test InstancePresenter#source_url
Nyoho Aug 31, 2024
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
  •  
  •  
  •  
23 changes: 0 additions & 23 deletions .deepsource.toml

This file was deleted.

2 changes: 1 addition & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ FROM mcr.microsoft.com/vscode/devcontainers/ruby:${VARIANT}
# The value is a comma-separated list of allowed domains
ENV RAILS_DEVELOPMENT_HOSTS=".githubpreview.dev"

# [Choice] Node.js version: lts/*, 16, 14, 12, 10
# [Choice] Node.js version: lts/*, 18, 16, 14
ARG NODE_VERSION="lts/*"
RUN su vscode -c "source /usr/local/share/nvm/nvm.sh && nvm install ${NODE_VERSION} 2>&1"

Expand Down
10 changes: 8 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "Mastodon",
"dockerComposeFile": "docker-compose.yml",
"service": "app",
"workspaceFolder": "/workspaces/mastodon",
"workspaceFolder": "/mastodon",

// Set *default* container specific settings.json values on container create.
"settings": {},
Expand All @@ -15,12 +15,18 @@
"webben.browserslist"
],

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

// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or the host.
"forwardPorts": [3000, 4000],

// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "bundle install --path vendor/bundle && yarn install && git checkout -- Gemfile.lock && ./bin/rails db:setup",
"postCreateCommand": ".devcontainer/post-create.sh",

// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
Expand Down
4 changes: 2 additions & 2 deletions .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ services:
# Use -bullseye variants on local arm64/Apple Silicon.
VARIANT: '3.0-bullseye'
# Optional Node.js version to install
NODE_VERSION: '14'
NODE_VERSION: '16'
volumes:
- ..:/workspaces/mastodon:cached
- ..:/mastodon:cached
environment:
RAILS_ENV: development
NODE_ENV: development
Expand Down
21 changes: 21 additions & 0 deletions .devcontainer/post-create.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

set -e # Fail the whole script on first error

# Fetch Ruby gem dependencies
bundle install --path vendor/bundle --with='development test'

# Fetch Javascript dependencies
yarn install

# Make Gemfile.lock pristine again
git checkout -- Gemfile.lock

# [re]create, migrate, and seed the test database
RAILS_ENV=test ./bin/rails db:setup

# Precompile assets for development
RAILS_ENV=development ./bin/rails assets:precompile

# Precompile assets for test
RAILS_ENV=test NODE_ENV=tests ./bin/rails assets:precompile
2 changes: 1 addition & 1 deletion .env.production.sample
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ VAPID_PUBLIC_KEY=

# Sending mail
# ------------
SMTP_SERVER=smtp.mailgun.org
SMTP_SERVER=
SMTP_PORT=587
SMTP_LOGIN=
SMTP_PASSWORD=
Expand Down
101 changes: 48 additions & 53 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
module.exports = {
root: true,

extends: [
'eslint:recommended',
'plugin:react/recommended',
'plugin:jsx-a11y/recommended',
],

env: {
browser: true,
node: true,
Expand Down Expand Up @@ -64,8 +70,8 @@ module.exports = {
eqeqeq: 'error',
indent: ['warn', 2],
'jsx-quotes': ['error', 'prefer-single'],
'no-case-declarations': 'off',
'no-catch-shadow': 'error',
'no-cond-assign': 'error',
'no-console': [
'warn',
{
Expand All @@ -75,18 +81,14 @@ module.exports = {
],
},
],
'no-fallthrough': 'error',
'no-irregular-whitespace': 'error',
'no-mixed-spaces-and-tabs': 'warn',
'no-nested-ternary': 'warn',
'no-empty': 'off',
'no-restricted-properties': [
'error',
{ property: 'substring', message: 'Use .slice instead of .substring.' },
{ property: 'substr', message: 'Use .slice instead of .substr.' },
],
'no-self-assign': 'off',
'no-trailing-spaces': 'warn',
'no-undef': 'error',
'no-unreachable': 'error',
'no-unused-expressions': 'error',
'no-unused-vars': [
'error',
Expand All @@ -96,6 +98,7 @@ module.exports = {
ignoreRestSiblings: true,
},
],
'no-useless-escape': 'off',
'object-curly-spacing': ['error', 'always'],
'padded-blocks': [
'error',
Expand All @@ -105,61 +108,47 @@ module.exports = {
],
quotes: ['error', 'single'],
semi: 'error',
strict: 'off',
'valid-typeof': 'error',

'react/jsx-boolean-value': 'error',
'react/jsx-closing-bracket-location': ['error', 'line-aligned'],
'react/jsx-curly-spacing': 'error',
'react/display-name': 'off',
'react/jsx-equals-spacing': 'error',
'react/jsx-first-prop-new-line': ['error', 'multiline-multiprop'],
'react/jsx-indent': ['error', 2],
'react/jsx-no-bind': 'error',
'react/jsx-no-duplicate-props': 'error',
'react/jsx-no-undef': 'error',
'react/jsx-no-target-blank': 'off',
'react/jsx-tag-spacing': 'error',
'react/jsx-uses-react': 'error',
'react/jsx-uses-vars': 'error',
'react/jsx-wrap-multilines': 'error',
'react/no-multi-comp': 'off',
'react/no-string-refs': 'error',
'react/prop-types': 'error',
'react/no-deprecated': 'off',
'react/no-unknown-property': 'off',
'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',
'jsx-a11y/alt-text': 'warn',
'jsx-a11y/anchor-has-content': 'warn',
'jsx-a11y/anchor-is-valid': [
'warn',
{
components: [
'Link',
'NavLink',
],
specialLink: [
'to',
],
aspect: [
'noHref',
'invalidHref',
'preferButton',
],
},
],
'jsx-a11y/aria-activedescendant-has-tabindex': 'warn',
'jsx-a11y/aria-props': 'warn',
'jsx-a11y/aria-proptypes': 'warn',
'jsx-a11y/aria-role': 'warn',
'jsx-a11y/aria-unsupported-elements': 'warn',
'jsx-a11y/heading-has-content': 'warn',
'jsx-a11y/html-has-lang': 'warn',
'jsx-a11y/iframe-has-title': 'warn',
'jsx-a11y/img-redundant-alt': 'warn',
'jsx-a11y/interactive-supports-focus': 'warn',
'jsx-a11y/label-has-for': 'off',
'jsx-a11y/mouse-events-have-key-events': 'warn',
'jsx-a11y/no-access-key': 'warn',
'jsx-a11y/no-distracting-elements': 'warn',
'jsx-a11y/click-events-have-key-events': 'off',
'jsx-a11y/label-has-associated-control': 'off',
'jsx-a11y/media-has-caption': 'off',
'jsx-a11y/no-autofocus': 'off',
// recommended rule is:
// 'jsx-a11y/no-interactive-element-to-noninteractive-role': [
// 'error',
// {
// tr: ['none', 'presentation'],
// canvas: ['img'],
// },
// ],
'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',
{
Expand All @@ -168,8 +157,18 @@ module.exports = {
],
},
],
// recommended rule is:
// 'jsx-a11y/no-noninteractive-tabindex': [
// 'error',
// {
// tags: [],
// roles: ['tabpanel'],
// allowExpressionValues: true,
// },
// ],
'jsx-a11y/no-noninteractive-tabindex': 'off',
'jsx-a11y/no-onchange': 'warn',
'jsx-a11y/no-redundant-roles': 'warn',
// recommended is full 'error'
'jsx-a11y/no-static-element-interactions': [
'warn',
{
Expand All @@ -178,10 +177,6 @@ module.exports = {
],
},
],
'jsx-a11y/role-has-required-aria-props': 'warn',
'jsx-a11y/role-supports-aria-props': 'off',
'jsx-a11y/scope': 'warn',
'jsx-a11y/tabindex-no-positive': 'warn',

'import/extensions': [
'error',
Expand Down
4 changes: 2 additions & 2 deletions .github/ISSUE_TEMPLATE/1.bug_report.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Bug Report
description: If something isn't working as expected
labels: bug
labels: [bug]
body:
- type: markdown
attributes:
Expand Down Expand Up @@ -50,7 +50,7 @@ body:

Google Chrome 106.0.5249.119
Firefox 105.0.3

etc...
validations:
required: true
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/2.feature_request.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Feature Request
description: I have a suggestion
labels: suggestion
labels: [suggestion]
body:
- type: markdown
attributes:
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: GitHub Discussions
url: https://github.com/mastodon/mastodon/discussions
about: Please ask and answer questions here.
about: Please ask and answer questions here.
2 changes: 1 addition & 1 deletion .github/workflows/build-container-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:
BUILDER_NODE_1_AUTH_TLS_KEY: ${{ secrets.DOCKER_BUILDER_HETZNER_ARM64_01_KEY }}

- name: Log in to Docker Hub
if: contains(inputs.push_to_images, 'tootsuite')
if: contains(inputs.push_to_images, 'Nyoho')
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
Expand Down
57 changes: 0 additions & 57 deletions .github/workflows/build-image.yml

This file was deleted.

9 changes: 6 additions & 3 deletions .github/workflows/build-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,19 @@ jobs:
build-image:
uses: ./.github/workflows/build-container-image.yml
with:
platforms: linux/amd64,linux/arm64
platforms: linux/amd64
use_native_arm64_builder: true
push_to_images: |
tootsuite/mastodon
ghcr.io/mastodon/mastodon
Nyoho/mathtodon
ghcr.io/Nyoho/mathtodon
# Do not use cache when building releases, so apt update is always ran and the release always contain the latest packages
cache: false
flavor: |
latest=false
tags: |
type=edge,branch=mathtodon
type=pep440,pattern={{raw}}
type=pep440,pattern=v{{major}}.{{minor}}
type=ref,event=tag
type=ref,event=pr
secrets: inherit
Loading
Loading