lain
bd41d15100
Merge branch 'nginx-config-update' into 'develop'
...
Update Nginx config example
See merge request pleroma/pleroma!4277
2025-12-22 12:23:42 +00:00
Lain Soykaf
2b8a366f9b
Nginx example: Add headers and use same paths we use in other places
2025-12-22 16:10:02 +04:00
Lain Soykaf
0f32134ea5
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into nginx-config-update
2025-12-22 13:51:25 +04:00
lain
1d366c0138
Merge branch 'transmogrifier/handle-as-public' into 'develop'
...
Transmogrifier: convert "as:Public" to full w3 URL
See merge request pleroma/pleroma!4394
2025-12-22 07:39:44 +00:00
lain
d19b992417
Merge branch 'webfinger-actual-fix' into 'develop'
...
Fix WebFinger for split-domain setups
See merge request pleroma/pleroma!4405
2025-12-22 07:38:55 +00:00
Lain Soykaf
e9d9724637
WebFinger: Tighten the requirements.
2025-12-21 17:46:39 +04:00
Lain Soykaf
f70d1a436b
WebFingerTest: Add test for more webfinger spoofing.
2025-12-21 17:46:20 +04:00
lain
985a0a28c7
Merge branch 'docs-rum-idx' into 'develop'
...
Docs RUM: add OTP command, recommend vacuum after migration
See merge request pleroma/pleroma!4363
2025-12-21 11:36:39 +00:00
Lain Soykaf
ec58b6a4cc
CommonFixes, Transmogrifier: Fix tests.
2025-12-21 15:19:38 +04:00
Lain Soykaf
4496dc81c4
TransmogrifierTest, CreateGenericValidatorTest: Add regression tests for addressing.
2025-12-21 15:19:05 +04:00
lain
1d44640655
Merge branch 'relayd-ipv6' into 'develop'
...
OpenBSD relayd: Fix IPv6 example
See merge request pleroma/pleroma!4408
2025-12-21 10:24:38 +00:00
nicole mikołajczyk
45611c9881
Merge branch 'mastodon-quote-id-api' into 'develop'
...
Support `quoted_status_id` parameter in post creation request
See merge request pleroma/pleroma!4392
2025-12-17 20:52:08 +01:00
Phantasm
ed7ad7d96a
OpenBSD relayd: Fix IPv6 example
...
relayd has problems loading certs when IPv4 and IPv6 listens are in the
same relay block.
2025-12-17 19:11:20 +01:00
nicole mikołajczyk
e0ab2c9c9c
Merge remote-tracking branch 'origin/develop' into mastodon-quote-id-api
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-12-17 13:43:45 +01:00
nicole mikołajczyk
c06fcc7f5d
Merge branch 'order-favourites-reblogs' into 'develop'
...
Order favourites and reblogs list from newest to oldest
See merge request pleroma/pleroma!4399
2025-12-16 23:49:01 +01:00
nicole mikołajczyk
d41e2fbaaf
Merge branch 'preferred-frontend' into 'develop'
...
Port Akkoma frontend preference code
See merge request pleroma/pleroma!4398
2025-12-16 20:54:00 +01:00
nicole mikołajczyk
8c9e130cc9
Merge branch 'description-improvement' into 'develop'
...
Use :list_behaviour_implementations for LanguageDetector and Translation providers
See merge request pleroma/pleroma!4407
2025-12-16 20:53:52 +01:00
nicole mikołajczyk
c6298be9f0
Merge branch 'scrobbles-scope' into 'develop'
...
Add `write:scrobbles` and `read:scrobbles` scope for scrobbling
See merge request pleroma/pleroma!4379
2025-12-16 20:53:32 +01:00
HJ
de022de4ce
Merge branch 'scrubber-span-classes' into 'develop'
...
Allow "invisible" and "ellipsis" classes for span tags to match Mastodon behavior
See merge request pleroma/pleroma!4357
2025-12-16 16:56:11 +00:00
nicole mikołajczyk
d9baa0980d
Merge branch 'normalize-actor-image-hrefs' into 'develop'
...
Add Actor images normalization from array of urls to string
See merge request pleroma/pleroma!4404
2025-12-16 10:49:51 +01:00
nicole mikołajczyk
c05d2d02c2
Use :list_behaviour_implementations for LanguageDetector and Translation providers
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-12-16 00:04:39 +01:00
nicole mikołajczyk
45af48520b
this shouldn't be available outside the module
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-12-15 18:10:00 +01:00
nicole mikołajczyk
cacb2ce377
Update changelog
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-12-15 17:25:57 +01:00
nicole mikołajczyk
e5be1d04d6
Update tests, make the mastodon subdomain example not have the /.well-known/host-meta redirect, as the docs don't include it
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-12-15 17:01:56 +01:00
nicole mikołajczyk
3e2573f1c4
Fix WebFinger for split-domain set ups
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2025-12-15 17:01:53 +01:00
Phantasm
4985902b02
Add Actor images normalization from array of urls to string
2025-12-15 00:00:57 +01:00
nicole mikołajczyk
c8fc821a0e
Merge branch 'nodeinfo-content-type' into 'develop'
...
Fix NodeInfo content-type
See merge request pleroma/pleroma!4401
2025-12-11 13:09:43 +01:00
lain
ed931a668f
Merge branch 'url-encode-pt2' into 'develop'
...
Fix URL encoding of HTTP requests Pt2
See merge request pleroma/pleroma!4364
2025-12-10 16:34:31 +00:00
Phantasm
7d8a188967
Disable Hackney URL encoding function
...
Hackney interferes with out URI encoding and implements older RFC 2396
instead of RFC 3986 which we and Elixir implement. As an example "'"
and "!" will get encoded by it and cause problems with our MediaProxy
making unexpected 302 redirects.
If an admin supplies a different function via *.secret.exs, we
don't override it.
https://github.com/benoitc/hackney/issues/399
2025-12-10 14:56:07 +01:00
Phantasm
73b337245b
Make URI encoding query quirks host-aware
2025-12-10 14:56:06 +01:00
Phantasm
0f7ad318d3
Add encode_url @spec and docs, and a check whether opts are booleans
2025-12-10 14:56:06 +01:00
Phantasm
07ba3bb829
Remove "support" for path encoding quirks
...
Currently there isn't any known quirk that would be needed
and this is just dead code that does nothing.
2025-12-10 14:56:06 +01:00
Phantasm
bcdd78fba5
Add changelog
2025-12-10 14:56:06 +01:00
Phantasm
0935823be9
Add test for mangling incorrect URL in MediaProxy link generation
2025-12-10 14:56:06 +01:00
Phantasm
bfe8372ad2
Remove "preserve ASCII encoding" test in MediaProxy
...
issue 580: Should not happen again, tested in HTTPTest
issue 1055: Fixed with quirk support in query encoding, tested
in HTTPTest
2025-12-10 14:56:06 +01:00
Phantasm
c31454fac1
Fix unicode URL encoding test
2025-12-10 14:56:05 +01:00
Phantasm
f290b15987
Move custom URI encoding functions to Pleroma.Utils.URIEncoding
2025-12-10 14:56:05 +01:00
Phantasm
6487c93c47
credo lint 2
2025-12-10 14:56:05 +01:00
Phantasm
f36851acbd
credo lint
2025-12-10 14:56:05 +01:00
Phantasm
cfd2c08ef6
lint
2025-12-10 14:56:05 +01:00
Phantasm
a0f73d0e2f
Reimplement URI.encode_query/2 to support quirks, add Guardian quirk
...
This solves the issue with Guardian rich media cards not loading, thanks
to them using "," and ":" in queries which get improperly encoded.
Guardian also needs specific ordering of the query keys, this also fixes
that.
2025-12-10 14:56:05 +01:00
Phantasm
1b438fd167
MediaProxy: fix query params test
...
Elixir and Erlang both add a traling = when encoding queries
2025-12-10 14:56:04 +01:00
Phantasm
d413f9bf70
MediaProxy: fix Pleroma.HTTP.encode_url not being available in test env
2025-12-10 14:56:04 +01:00
Phantasm
004ea90b29
MediaProxy: Fix 424 caused by inconsistent %-encoding from remote instances
...
Notably this would fail to redirect to original proxied file when
preview generation criteria haven't been met.
2025-12-10 14:56:04 +01:00
Phantasm
9445ab9096
ReverseProxy: Log request after potentional %-encoding
2025-12-10 14:56:04 +01:00
Phantasm
99a1c0890a
URI.encode_query needs an enum, add test for this case
2025-12-10 14:56:04 +01:00
Phantasm
80db6f1328
Fix character escaping test for Pleroma.Upload
2025-12-10 14:56:04 +01:00
Phantasm
0a8423fdf7
Add ability to bypass url decode/parse in Pleroma.HTTP, fix encode in Pleroma.Upload
2025-12-10 14:56:03 +01:00
Phantasm
619f247e38
Add more URL-encoding tests
2025-12-10 14:56:03 +01:00
Phantasm
0f3b1808fd
Check what chars to encode in the path segment of URIs, add list to Constants
...
https://datatracker.ietf.org/doc/html/rfc3986
2025-12-10 14:56:03 +01:00