Oneric
3059884c90
Fix Accept headers when fetching AP objects to match spec
...
ActivityPub spec section 3.2 reads
> The client MUST specify an Accept header with the
> `application/ld+json; profile="https://www.w3.org/ns/activitystreams "`
> media type in order to retrieve the activity.
Currently Mastodon omits the profile in its dereferences (but not the
fetch service) and only lists application/ld+json as one of several
possible types. This breaks spec and allows spec-compliant
implementations to refuse any such fetch requests.
Resolve this by adding the required profile and while at it,
make the only spec-compliant type the first listed choice in all
relevant places and drop profile-less JSON-LD.
Section 7 also specifies the same media type MUST be used
in the Content-Type header of for POST requests, but here
we can't specify alternatives, so for now keep the current type.
Fixes a part of https://github.com/mastodon/mastodon/issues/22720
2024-11-22 17:00:14 +01:00
Christian Schmidt
2e66dd09e2
Show default time zone ( #31803 )
2024-11-22 14:48:41 +00:00
Claire
99f36f1b7b
Tweak antispam a bit ( #33024 )
2024-11-22 14:43:16 +00:00
Claire
04ce5939ae
Prevent delivery of new posts to suspended followers ( #27509 )
2024-11-22 14:36:08 +00:00
Claire
9d34146aaa
Remove redundant temporary index creation in tootctl status remove
( #33023 )
2024-11-22 14:19:11 +00:00
シュンジョーァ
35683ac154
Remove webauthn credentials on tootctl accounts modify --disable-2fa
( #29883 )
...
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
2024-11-22 10:04:48 +00:00
Oliver Geer
0ad5c212c1
Fix accounts table long display name ( #29316 )
2024-11-22 09:50:47 +00:00
Christian Schmidt
9ebed5d410
Fix CSS warnings ( #32266 )
2024-11-22 08:58:04 +00:00
renovate[bot]
d0753ec276
Update dependency aws-sdk-s3 to v1.173.0 ( #33019 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-22 08:54:58 +00:00
github-actions[bot]
47190087f8
New Crowdin Translations (automated) ( #33020 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-22 08:44:09 +00:00
renovate[bot]
2e5abe4720
Update Yarn to v4.5.2 ( #33021 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-22 08:33:43 +00:00
Matt Jankowski
be2d4615ab
Rely on Rails to enable YJIT when available ( #33017 )
2024-11-22 08:31:23 +00:00
Eugen Rochko
d75088d699
Fix pushing hashtag-followed posts to feeds of inactive users ( #33018 )
2024-11-22 08:30:57 +00:00
Christian Schmidt
0518613dd7
LinkDetailsExtractor adjustments ( #31357 )
2024-11-22 08:00:14 +00:00
Joshix-1
68c7782940
improve nginx.conf by setting gzip_static to on ( #30698 )
2024-11-21 16:39:56 +00:00
Claire
4bfb8887bf
Fix duplicate notifications in notification groups when using slow mode ( #33014 )
2024-11-21 16:10:07 +00:00
Eugen Rochko
62603508c7
Change design of lists in web UI ( #32881 )
2024-11-21 16:10:04 +00:00
Christian Schmidt
7385016837
rel="me"
check should be case-insenstive (#32238 )
2024-11-21 14:37:25 +00:00
Claire
dbddd40c1c
Add stop-gap antispam code ( #32981 )
2024-11-21 14:06:57 +00:00
Emelia Smith
4517e18b79
Update dependency doorkeeper to v5.8.0 ( #33000 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-21 13:48:30 +00:00
github-actions[bot]
e4d5cc0ca6
New Crowdin Translations (automated) ( #33010 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-21 10:58:45 +00:00
Eugen Rochko
420ed155ba
Fix wrong video dimensions for some rotated videos ( #33008 )
2024-11-21 10:58:04 +00:00
Paulo Vilarinho
2526b32ad3
block scheduled status from frozen users ( #30729 )
2024-11-20 19:06:41 +00:00
Eugen Rochko
683db3ab25
Add ability to middle-mouse click posts in web UI ( #32988 )
2024-11-20 15:56:35 +00:00
Claire
e68b26c8df
Fix posts made in the future being allowed to trend ( #32996 )
2024-11-20 12:41:22 +00:00
renovate[bot]
174c687ca0
Update dependency json-schema to v5.1.0 ( #32992 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 09:01:13 +00:00
github-actions[bot]
4252b13a4b
New Crowdin Translations (automated) ( #32990 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-20 08:24:50 +00:00
Matt Jankowski
b66fbaeec2
Add AccountWarning
case to Report#history
spec ( #32984 )
2024-11-20 07:52:00 +00:00
renovate[bot]
41b033e381
Update dependency opentelemetry-instrumentation-rails to '~> 0.33.0' ( #32987 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-20 07:42:53 +00:00
Claire
30e9c7137b
Fix error when viewing statuses to deleted replies in moderation view ( #32986 )
2024-11-19 20:21:12 +00:00
Matt Jankowski
37f00fb018
Use hash arguments to group
when possible ( #32916 )
2024-11-19 10:36:02 +00:00
Eugen Rochko
2b5faa2ba3
Change lists to reflect added and removed users retroactively ( #32930 )
2024-11-19 10:04:12 +00:00
Matt Jankowski
f2976ec9a4
Extract Notification::Groups
concern ( #32968 )
2024-11-19 10:02:01 +00:00
Matt Jankowski
87e7ad9b8f
Add LoginActivity
model spec and BrowserDetection
concern shared example ( #32959 )
2024-11-19 09:15:05 +00:00
github-actions[bot]
9fc2fc2251
New Crowdin Translations (automated) ( #32969 )
...
Co-authored-by: GitHub Actions <noreply@github.com>
2024-11-19 09:05:39 +00:00
renovate[bot]
436a5d295b
Update dependency aws-sdk-s3 to v1.172.0 ( #32964 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-19 08:57:47 +00:00
Eugen Rochko
e856838e0c
Fix notification polling showing a loading bar in web UI ( #32960 )
2024-11-19 08:57:12 +00:00
Shlee
06fcee099a
DB Replica database_tasks as ENV ( #32908 )
2024-11-19 08:54:28 +00:00
Matt Jankowski
425982841d
Use group/count approach in annual report classes ( #32914 )
2024-11-19 08:51:34 +00:00
Matt Jankowski
295ad6f19a
Prep work for coverage addition to ActivityPub::DeliveryWorker
spec ( #32944 )
2024-11-18 16:37:21 +00:00
Matt Jankowski
30a7986569
Add coverage for fixing the thing with the dates in the search area ( #32958 )
2024-11-18 15:42:45 +00:00
Matt Jankowski
da826fe959
Use hash arguments to order
when possible (Rails 7.2) ( #32915 )
2024-11-18 15:07:53 +00:00
Matt Jankowski
477412d62a
Use hash arguments to select
when possible (Rails 7.2) ( #32917 )
2024-11-18 14:58:45 +00:00
Andrew W. Lee
3e44dca0b4
Change dependency from annotate to annotaterb ( #30232 )
2024-11-18 14:40:02 +00:00
Matt Jankowski
c0c34d35e2
Move self destruct check to config_for
and add constant for verifier string ( #32943 )
2024-11-18 09:57:16 +00:00
Eugen Rochko
911d7dbbf6
Fix min_id
and max_id
causing error in search API ( #32857 )
2024-11-18 09:37:01 +00:00
Emelia Smith
9a46329fbd
Streaming: add development logging of database queries ( #32945 )
2024-11-18 09:34:34 +00:00
Matt Jankowski
03ee08c2da
Use nil
instead of false
for datetime value in spec ( #32926 )
2024-11-18 09:31:25 +00:00
renovate[bot]
d8e907fae3
Update dependency aws-sdk-s3 to v1.171.0 ( #32901 )
...
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-11-18 09:25:11 +00:00
Matt Jankowski
c511cbcd6c
Extract constants for controller LIMIT
queries ( #32921 )
2024-11-18 09:23:38 +00:00