summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2024-12-09Verify a local Update sent through AP C2S so users can only update their own ↵tusooa
objects
2024-11-21LintingLain Soykaf
2024-11-21B ReleaseTasks: Fix task module finding.Lain Soykaf
2024-11-13Merge branch 'mastodon-websocket-fix' into 'develop'lain
Fix Mastodon WebSocket authentication See merge request pleroma/pleroma!4206
2024-11-12Merge branch 'token-view-scopes' into 'develop'lain
Include session scopes in TokenView See merge request pleroma/pleroma!4273
2024-11-12Merge branch 'activity-pub-metadata' into 'develop'lain
Add metadata provider for ActivityPub alternate links See merge request pleroma/pleroma!4286
2024-11-12B TwitterAPI/ControllerTest: Actually test the keysLain Soykaf
2024-11-12Merge branch 'develop' into pleroma-token-view-scopesLain Soykaf
2024-11-12B Providers/ActivityPub: Ensure that nothing explodes on unexpected input.Lain Soykaf
2024-11-12Merge branch 'develop' into 'tusooa/se-opt-out'lain
# Conflicts: # lib/pleroma/web/metadata/providers/feed.ex
2024-11-12Merge branch 'atom-tag' into 'develop'lain
Metadata: Do not include .atom feed links for remote accounts See merge request pleroma/pleroma!4281
2024-11-12B DedupeTest: Add explicit test for the sharding structureLain Soykaf
2024-10-29Pleroma.Upload.Filter.Dedupe: sharding directory structureMark Felder
Dedupe now uses a three-level sharding directory structure to improve performance when many files are uploaded and stored on a filesystem instead of an object store. (note: Minio still affected as it still uses a traditional filesystem) This does not help if you already have hundreds of thousands of files uploaded. The media URLs are permanently part of the activity so the files cannot be relocated. A motivated user could write a tool to move the files and perhaps write an Nginx or equivalent redirect to make the files still accessible, but that is beyond the scope of this change.
2024-10-27Fix /api/v2/media returning the wrong status code for media processed ↵Mark Felder
synchronously The API should return a 202 only if data cannot be returned yet and a followup GET /api/v1/media/:id should be called to retrieve it. This is something Mastodon does when it needs to transcode large media files. It does not apply to Pleroma and causes apps to waste an API call when posting a status which causes apps to appear to hang on higher latency environments, such as on mobile networks. https://docs.joinmastodon.org/methods/media/#v2
2024-10-12Add metadata provider for ActivityPub alternate linksmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-11Merge branch 'remote-report-policy' into 'develop'feld
Remote report policy See merge request pleroma/pleroma!4280
2024-10-11Merge branch 'tusooa/3331-fix-incoming-block' into 'develop'feld
Fix incoming Blocks being rejected Closes #3331 See merge request pleroma/pleroma!4282
2024-10-10Merge branch 'poll-refresh' into 'develop'feld
Refactor Poll Refreshing See merge request pleroma/pleroma!4278
2024-10-09Test the final refresh behavior of a PollWorker poll_end jobMark Felder
2024-10-09Merge branch 'hashtag-feeds-restricted' into 'develop'marcin mikołajczak
Repesct :restrict_unauthenticated for hashtag rss/atom feeds See merge request pleroma/pleroma!4266
2024-10-08Fix incoming Blocks being rejectedtusooa
2024-10-06Merge branch 'profile-image-descriptions' into 'develop'marcin mikołajczak
Federate avatar/header descriptions See merge request pleroma/pleroma!4264
2024-10-06Metadata: Do not include .atom feed links for remote accountsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-10-03RemoteReportPolicy: Fix third-party report detectionMint
2024-10-03RemoteReportPolicy: add `reject_third_party` optionMint
2024-10-03RemoteReportPolicy: add `:reject_all` option, fix testsAlex Gleason
2024-10-03Add RemoteReportPolicy to reject reports without enough informationAlex Gleason
2024-10-03Remove test superceded by logic changeMark Felder
We will not be inserting jobs that should be skipped due to updated_at
2024-10-03Check if a refresh is permitted by comparing timestamps before attempting to ↵Mark Felder
insert an Oban job It's better to avoid inserting an Oban job that will just be rejected if it's not expensive to check.
2024-10-02Fix nonexisting user will not generate metadata for search engine opt-outtusooa
2024-10-02Do not attempt to schedule poll refresh jobs for local activitiesMark Felder
2024-09-30Improve assertionMark Felder
2024-09-30Test that a poll refresh is cancelled if updated_at on the object is newer ↵Mark Felder
than the poll closing time
2024-09-30Permit backdating the poll closed timestampMark Felder
2024-09-30Test Poll refresh jobs stream out updates after refetching the objectMark Felder
2024-09-30Schedule a final poll refresh before streaming out the notificationsMark Felder
2024-09-30Validate an Oban job is inserted for poll refreshesMark Felder
2024-09-30Remove Object.get_by_id_and_maybe_refetch/2Mark Felder
This was only used for poll refreshing and is not a good approach to the problem.
2024-09-21MRF.SimplePolicy: Add id_filter/1Haelwenn (lanodan) Monnier
2024-09-19Include session scopes in TokenViewmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-17Fix testsMark Felder
We do not need to mock and verify connections are closed as the new Pleroma.LDAP GenServer will handle managing the connection lifetime
2024-09-16Repesct :restrict_unauthenticated for hashtag rss/atom feedsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-15Merge branch 'notifications-group-key' into 'develop'marcin mikołajczak
Add `group_key` to notifications See merge request pleroma/pleroma!4262
2024-09-14Federate avatar/header descriptionsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-14Merge branch 'profile-image-descriptions' into 'develop'marcin mikołajczak
Allow providing avatar/header descriptions See merge request pleroma/pleroma!4227
2024-09-14Merge branch 'list-id-visibility' into 'develop'marcin mikołajczak
Include list id in StatusView See merge request pleroma/pleroma!4246
2024-09-12Add `group_key` to notificationsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-09-08Authentication: convert argon2 passwords, add testsMint
2024-09-06Merge branch 'well-known' into 'develop'feld
NodeInfo: Accept application/activity+json requests See merge request pleroma/pleroma!4242
2024-09-06Add tests for Mastodon mention hashtag classMark Felder