Commit graph

17,732 commits

Author SHA1 Message Date
Lain Soykaf
3d7d119782 Linting 2026-01-26 20:51:35 +02:00
Lain Soykaf
b013ec9123 Emoji, AccountView, UtilController: Handle encoding of emoji 2026-01-26 20:51:35 +02:00
Lain Soykaf
7ce7d4d319 Linting 2026-01-26 20:51:35 +02:00
Lain Soykaf
33b8ccf21f Emoji: Handle more edge cases for local emoji with strange filenames. 2026-01-26 20:51:35 +02:00
Lain Soykaf
b552c25039 Add changelog 2026-01-26 20:51:35 +02:00
Lain Soykaf
72fea0c901 Emoji: Unify tag building, fix tests. 2026-01-26 20:51:35 +02:00
Lain Soykaf
1085f6d7cd TransmogrifierTest: Add failing test for EmojiReact url encoding 2026-01-26 20:51:35 +02:00
Lain Soykaf
89ac0b8f0a Add changelog 2026-01-26 20:51:35 +02:00
Lain Soykaf
65456aed12 Release-to-Docker: Add unzip / curl to make updates work 2026-01-26 20:51:35 +02:00
Lain Soykaf
5600634574 Installation: Add Release-Via-Docker option 2026-01-26 20:51:35 +02:00
nicole mikołajczyk
e40bedc601 Add v1/instance/domain_blocks endpoint
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-26 20:51:35 +02:00
Lain Soykaf
8936066427 test(http): cover reverse proxy redirects via CONNECT proxy
Exercises Pleroma.ReverseProxy.Client.Hackney with follow_redirect enabled behind an HTTPS CONNECT proxy, ensuring the client follows a relative redirect and can stream the final body.
2026-01-26 20:51:35 +02:00
Mark Felder
71a4b8d0f2 In-house redirect handler for mediaproxy with Hackney adapter
Also ensure we always pass an absolute URL to Hackney when parsing a redirect response

(cherry picked from commit 00ac6bce8d244eec7e2460358296619e5cacba6b)
2026-01-26 20:51:35 +02:00
Lain Soykaf
f2ad6100f2 test(http): reproduce hackney follow_redirect crash via CONNECT proxy
Hackney 1.25 crashes when follow_redirect is enabled behind an HTTPS CONNECT proxy and the Location header is relative (hackney_http_connect transport).
This test demonstrates the failure and verifies Tesla-level redirects work when hackney redirects are disabled.
2026-01-26 20:51:35 +02:00
Lain Soykaf
500340fc82 test(http): cover pooled redirect with hackney
Reproduces the Hackney 1.25 pooled redirect cleanup issue which can surface as :req_not_found when the adapter returns a Ref and the body is later fetched.
2026-01-26 20:51:35 +02:00
Lain Soykaf
b85507c764 http(hackney): disable adapter redirects by default
Hackney 1.25.x has redirect handling issues behind CONNECT proxies and with pools.
Disable hackney-level redirects and rely on Tesla.Middleware.FollowRedirects instead.
Also default to with_body: true so redirects can be followed reliably.
2026-01-26 20:51:35 +02:00
lain
01d94a0135 Revert "Merge branch 'revert-cdd6df06' into 'develop'"
This reverts merge request !4411
2026-01-26 20:51:35 +02:00
Henry Jameson
8d82808d7a Merge remote-tracking branch 'origin/develop' into shigusegubu 2026-01-03 02:01:33 +02:00
lain
3d42219f12 Merge branch '2.10-mergeback' into 'develop'
Stable mergeback

See merge request pleroma/pleroma!4414
2025-12-31 14:56:45 +00:00
lain
3b99bbd955 Merge branch 'release/2.10' into 'stable'
Release/2.10

See merge request pleroma/pleroma!4413
2025-12-31 08:27:19 +00:00
Lain Soykaf
856bd7622e GitlabCI: Fix. 2025-12-31 11:40:27 +04:00
Lain Soykaf
e1e16656ce Merge in stable 2025-12-31 11:05:47 +04:00
Lain Soykaf
a5da6ce58e Changelog: Update changelog 2025-12-31 10:49:28 +04:00
Lain Soykaf
92fc8f0012 Merge branch 'release/2.10' into release/2.10-sec 2025-12-29 17:08:46 +04:00
Lain Soykaf
b9e333c307 Frontend: Actually use the correct build. 2025-12-29 17:08:20 +04:00
Lain Soykaf
e204bc150e Merge branch 'release/2.10' into release/2.10-sec 2025-12-29 09:49:53 +04:00
Lain Soykaf
c313c15d73 Mix: Fix version 2025-12-29 09:49:22 +04:00
Lain Soykaf
6c73ebe484 Merge branch 'phnt/mastoapi-misattribution-3381' into release/2.10-sec 2025-12-29 09:47:54 +04:00
Lain Soykaf
0127a10621 Changelog: Update changelog 2025-12-29 08:44:19 +04:00
Lain Soykaf
325c29c3fc Static: Update bundled frontend to 2.10 2025-12-29 08:32:29 +04:00
Lain Soykaf
19add4036d Mix: Bump version to 2.10 2025-12-29 08:23:14 +04:00
lain
d6888e24e4 Merge branch 'revert-cdd6df06' into 'develop'
Revert "Merge branch 'hackney-bump' into 'develop'"

See merge request pleroma/pleroma!4411
2025-12-26 05:08:43 +00:00
lain
23cb42a436 Revert "Merge branch 'hackney-bump' into 'develop'"
This reverts merge request !4409
2025-12-26 05:07:51 +00:00
Phantasm
38b3bff4e8
MastoAPI: Add more post attribution tests when fetched by Activity ID
Types returning 404:
- Accept
- Reject
- Delete
- Flag
- Follow
- Undo

Types returning posts:
- Create
- Update
- Like
- Announce
- EmojiReact
- Add/Remove
2025-12-25 20:40:21 +01:00
Phantasm
96de44b3d8
Tests AP Factory: fix featured collection factories
Internally it created Objects, tests passed Activities
2025-12-25 20:40:12 +01:00
lain
1a313fa30c Merge branch 'replies_collection' into 'develop'
Provide full replies collection in ActivityPub objects (ported from akkoma)

See merge request pleroma/pleroma!4370
2025-12-25 10:22:53 +00:00
lain
cdd6df0621 Merge branch 'hackney-bump' into 'develop'
Update Hackney

See merge request pleroma/pleroma!4409
2025-12-25 09:25:23 +00:00
Lain Soykaf
916c8c0581 ActivityPubController: Don't crash on unknown params 2025-12-25 13:04:09 +04:00
Lain Soykaf
e07b3d2442 ObjectView: Make the first reply collection a page, so it shows the actual items. 2025-12-25 12:54:09 +04:00
Lain Soykaf
8e94c5ca38 UserView: Followers != Follows 2025-12-25 12:53:36 +04:00
Lain Soykaf
fc15c25889 Transmogrifier: Only set replies on objects, not activities. 2025-12-25 12:50:55 +04:00
Lain Soykaf
4c537534ad NoteHandlingTest: Replies go on an object, not an activity. 2025-12-24 13:33:03 +04:00
Lain Soykaf
73b446bb07 ActivityPubControllerTest, UserViewTest: Add failing tests for reply collection related issues. 2025-12-24 12:20:11 +04:00
Mark Felder
3f9466e3a9 Update Hackney, the default HTTP client, to the latest release which supports Happy Eyeballs for improved IPv6 federation 2025-12-23 11:44:21 -08:00
Phantasm
07849927da
add changelogs 2025-12-23 18:38:34 +01:00
Phantasm
df375662d6
AP: simplify visible_for_user? conditions.
`true or true` returns `true`
2025-12-23 17:04:08 +01:00
Phantasm
7c93cd351b
MastoAPI StatusController: add tests for fetching context via Activity 2025-12-23 16:52:45 +01:00
Phantasm
ba8235ef50
lint 2025-12-23 16:51:59 +01:00
lain
2f48544937 Merge branch 'akkoma-fixes-1014-1018' into 'develop'
Status visibility checks for post interactions, stop leaking internal Activity representation (Akkoma PR 1014 and 1018)

Closes #3383

See merge request pleroma/pleroma!4400
2025-12-23 13:55:18 +00:00
Phantasm
b9601ae11a
MastoAPI: Add Announce and EmojiReact attribution tests
Introduces a new EmojiReact Activity factory
2025-12-23 00:17:16 +01:00