Phantasm
5f321b0b5b
Favicon Plug: Halt Plug pipeline when favicon not found
2026-03-05 20:21:19 +00:00
Phantasm
d0db1f00c3
Favicon Plug: assert HTTP 200 status in tests
2026-03-05 20:21:19 +00:00
Phantasm
2388964b14
Favicon Plug: Add tests
2026-03-05 20:21:19 +00:00
Yonle
848b3f5d5b
reverse_proxy,endpoint,uploaded_media: add immutable cache-control flag
2026-03-05 20:21:19 +00:00
Phantasm
ca38217898
Fix AccountController Plug warning
...
the URI path used in plug tests must start with "/", got: "api/v1/blocks"
(plug 1.19.1) lib/plug/adapters/test/conn.ex:14: Plug.Adapters.Test.Conn.conn/4
(phoenix 1.7.14) lib/phoenix/test/conn_test.ex:236: Phoenix.ConnTest.dispatch_endpoint/5
(phoenix 1.7.14) lib/phoenix/test/conn_test.ex:225: Phoenix.ConnTest.dispatch/5
test/pleroma/web/mastodon_api/controllers/account_controller_test.exs:2099: Pleroma.Web.MastodonAPI.AccountControllerTest."test getting a list of blocks"/1
(ex_unit 1.19.5) lib/ex_unit/runner.ex:528: ExUnit.Runner.exec_test/2
(ex_unit 1.19.5) lib/ex_unit/capture_log.ex:121: ExUnit.CaptureLog.with_log/2
(ex_unit 1.19.5) lib/ex_unit/runner.ex:477: anonymous fn/3 in ExUnit.Runner.maybe_capture_log/3
(stdlib 7.2) timer.erl:599: :timer.tc/2
(ex_unit 1.19.5) lib/ex_unit/runner.ex:450: anonymous fn/6 in ExUnit.Runner.spawn_test_monitor/4
2026-03-03 23:11:39 +01:00
nicole mikołajczyk
65c7d0c7b9
Merge pull request 'Update comment for prepare_object, rename prepare_outgoing' ( #7818 ) from mkljczk/pleroma:update-comment into develop
...
Reviewed-on: https://git.pleroma.social/pleroma/pleroma/pulls/7818
2026-03-03 12:49:50 +00:00
nicole mikołajczyk
c3b779036d
Merge branch 'develop' into pleroma-database-config-whitelist
2026-03-01 22:44:08 +00:00
nicole mikołajczyk
6405a2e682
Merge pull request 'Move avatar_description and header_description fields to the account object' ( #7828 ) from mkljczk/pleroma:avatar-description-mastodon-api into develop
...
Reviewed-on: https://git.pleroma.social/pleroma/pleroma/pulls/7828
2026-03-01 22:40:01 +00:00
Phantasm
ef7be0a1e5
DB prune: Add test for hashtags
2026-02-22 21:46:41 +00:00
nicole mikołajczyk
3d9ac413af
Move avatar_description and header_description fields to the account object
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-17 14:00:21 +01:00
nicole mikołajczyk
2e80c786bb
Update comment for prepare_object, rename prepare_outgoing
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-10 14:37:30 +01:00
nicole mikołajczyk
833e9829ba
Merge branch 'relationship-expires-at' into 'develop'
...
MastoAPI AccountView: Add mute/block expiry to the relationship object (simplified)
See merge request pleroma/pleroma!4433
2026-01-30 07:08:21 +01:00
nicole mikołajczyk
bc0c7fb310
Fix tests, relationship should always define _expires_at
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-28 13:58:33 +01:00
Phantasm
c1e33bfadb
MastoAPI AccountView AccountController: Add more block/mute expiry tests
2026-01-28 13:50:34 +01:00
Phantasm
e7a4d5ea66
MastoAPI AccountView: Add mute/block expiry to the relationship key
2026-01-28 13:50:23 +01:00
nicole mikołajczyk
80ede85f75
Allow assigning users to reports
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-28 10:35:19 +01:00
Lain Soykaf
0b871ff1f2
ConfigController: Don't allow updating the whitelist
2026-01-17 12:32:10 +04:00
Lain Soykaf
77a1d79f92
ConfigTest: Don't crash when whitelist is unset / disabled
2026-01-17 12:31:35 +04:00
Lain Soykaf
e7d2d9bd89
mrf(media_proxy_warming): avoid adapter-level redirects
...
Drop follow_redirect/force_redirect from the HTTP options used when warming MediaProxy, relying on Tesla middleware instead (Hackney redirect handling can crash behind CONNECT proxies).
Also add a regression assertion in the policy test and document the upstream Hackney issues in ReverseProxy redirect handling.
2026-01-17 02:24:07 +04:00
nicole mikołajczyk
49985b1614
Update tests
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-16 21:37:02 +01:00
nicole mikołajczyk
b66b93a94a
Add task for filtering non-whitelisted configs
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-16 21:35:22 +01:00
nicole mikołajczyk
f0669997d3
Add test for default whitelist config
...
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-16 21:34:06 +01:00
Lain Soykaf
346014b897
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into revert-d6888e24
2026-01-16 22:43:10 +04:00
Lain Soykaf
1a6a8f6fb4
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-16 22:14:27 +04:00
Lain Soykaf
e67b4cd8b2
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-16 21:17:40 +04:00
Lain Soykaf
52fc344b0a
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-16 21:17:40 +04:00
Lain Soykaf
ef0f04ca48
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-16 21:17:40 +04:00
Lain Soykaf
e91bb2144d
InstanceView: Omit comment if it's empty
2026-01-16 16:17:21 +04:00
Lain Soykaf
656c4368d3
Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into pleroma-instance-domain-blocks
2026-01-16 14:24:14 +04:00
lain
09aad75b33
Merge branch 'fix-oauth-app-registration' into 'develop'
...
Change redirect_uris to accept array of strings
See merge request pleroma/pleroma!4423
2026-01-16 10:21:41 +00:00
Lain Soykaf
4df7f93a23
Fix OAuth registration redirect_uris array support
2026-01-16 12:10:21 +04:00
MediaFormat
12002830bc
fix tests
2026-01-11 17:47:27 +00:00
lain
9fcf918e1c
Merge branch 'phnt/oban-web' into 'develop'
...
Add Oban Web and upgrade LiveView, plug
See merge request pleroma/pleroma!4422
2026-01-11 05:40:47 +00:00
lain
c945a8a467
Merge branch 'less-flaky-tests' into 'develop'
...
Less flaky tests
See merge request pleroma/pleroma!4421
2026-01-11 05:38:17 +00:00
Phantasm
5e114931f5
Move LiveDashboard to /pleroma/live_dashboard
2026-01-09 11:55:16 +01:00
Haelwenn
792d473778
Merge branch 'paginate-follow-requests' into 'develop'
...
Paginate follow requests (adapted from Akkoma)
See merge request pleroma/pleroma!4420
2026-01-08 10:25:45 +00:00
Lain Soykaf
4984aaa183
Streamer: Fix Marker streaming bug, fix caching in tests.
2026-01-08 14:06:24 +04:00
Lain Soykaf
3ecc861fa7
StripLocation, ReadDescription: Silence noisy errors.
2026-01-08 13:40:25 +04:00
Phantasm
619ff5b9e3
Remove /pleroma/oban and /phoenix/live_dashboard from API routes
...
This is needed to prevent admin frontend overrides from misbehaving when
overriding AdminFE located at /pleroma/admin, since API routes are
interpreted as the first portion of their full path, ie:
/api/v1/pleroma/admin -> /api
2026-01-08 00:33:18 +01:00
floatingghost
0ec0ad8559
paginate follow requests ( #460 )
...
matches https://docs.joinmastodon.org/methods/follow_requests/#get mostly
Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/460
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-01-07 15:32:16 +01:00
Lain Soykaf
227c7fafa0
Tests: Syncify tests that mutate global state.
2026-01-07 17:59:37 +04:00
Lain Soykaf
3ef98652f7
Emoji, AccountView, UtilController: Handle encoding of emoji
2026-01-07 10:40:45 +04:00
Lain Soykaf
19f3e2050e
Emoji: Handle more edge cases for local emoji with strange filenames.
2026-01-06 15:12:49 +04:00
Lain Soykaf
bac607c7c0
Emoji: Unify tag building, fix tests.
2026-01-05 11:57:38 +04:00
Lain Soykaf
033618b25e
TransmogrifierTest: Add failing test for EmojiReact url encoding
2026-01-05 11:57:02 +04:00
Lain Soykaf
6c73ebe484
Merge branch 'phnt/mastoapi-misattribution-3381' into release/2.10-sec
2025-12-29 09:47:54 +04: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 Soykaf
4c537534ad
NoteHandlingTest: Replies go on an object, not an activity.
2025-12-24 13:33:03 +04:00