summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
2022-05-16Add testsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16Allow submitting an array of rule_ids to /api/v1/reportsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16Add RuleTestmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-16Instance rulesmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-05-09Test local-only in ap c2s outboxTusooa Zhu
Ref: fix-local-public
2022-05-09Allow authenticated users to access local-only posts in MastoAPITusooa Zhu
Ref: fix-local-public
2022-05-08Merge branch 'improve_anti_followbot_policy' into 'develop'Haelwenn
Also use actor_type to determine if an account is a bot in antiFollowbotPolicy Closes #2561 See merge request pleroma/pleroma!3498
2022-05-08Also use actor_type to determine if an account is a bot in antiFollowbotPolicyIlja
2022-05-07Allow users to create backups without providing email addressTusooa Zhu
Ref: backup-without-email
2022-05-06Prevent remote access of local-only posts via /objectsTusooa Zhu
Ref: fix-local-public
2022-05-06LintTusooa Zhu
Ref: fix-local-public
2022-05-06Make local-only statuses searchableTusooa Zhu
Ref: fix-local-public
2022-05-06Test that anonymous users cannot see local-only postsTusooa Zhu
Ref: fix-local-public
2022-05-06Show local-only statuses in public timeline for authenticated usersTusooa Zhu
Ref: fix-local-public
2022-05-06Skip cache when /objects or /activities is authenticatedTusooa Zhu
Ref: fix-local-public
2022-05-06Allow to skip cache in Cache plugTusooa Zhu
Ref: fix-local-public
2022-05-06Skip cache when /objects or /activities is authenticatedTusooa Zhu
Ref: fix-local-public
2022-05-06Allow to skip cache in Cache plugTusooa Zhu
Ref: fix-local-public
2022-04-25Add "status" notification typemarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-04-17Fix incorrect fallback when English is set to first languageTusooa Zhu
2022-04-05Fix eratic test for POST /api/pleroma/admin/reports/:id/notesIlja
It retrieved two ReportNotes and then checked one of them. But the order isn't guaranteed, while the test tested on the content of the first ReportNote. I made the test on the content more generic
2022-04-02Restrict mastodon api announcements to logged-in users onlyTusooa Zhu
2022-03-20Fix lint errorsSean King
2022-03-20Merge branch 'from/upstream-develop/tusooa/translate-pages' into 'develop'Haelwenn
Translate backend-rendered pages See merge request pleroma/pleroma!3634
2022-03-20Merge branch 'delete_report_notifs_when_demoting_from_superuser' into 'develop'Haelwenn
Delete report notifs when demoting from superuser Closes #2840 See merge request pleroma/pleroma!3642
2022-03-19Rewrite integration-test websocket client with Mint.WebSocketSean King
2022-03-18Use utc_datetime in db schemaTusooa Zhu
2022-03-17AttachmentValidator: Use custom ecto type and regex for "mediaType"Haelwenn (lanodan) Monnier
2022-03-16Use `types` for filtering notificationsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-16Use reject_follow_requestmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-16POST /api/v1/accounts/:id/remove_from_followersmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2022-03-08Format announcements into htmlTusooa Zhu
2022-03-08Add pagination to AdminAPI.AnnouncementController.indexTusooa Zhu
2022-03-08Implement update announcement admin apiTusooa Zhu
2022-03-08Remove GET /api/v1/announcements/:idTusooa Zhu
2022-03-08Show only visible announcements in MastodonAPITusooa Zhu
2022-03-08Add starts_at, ends_at and all_day parametersTusooa Zhu
2022-03-08Implement visibility filtering for announcementsTusooa Zhu
2022-03-08Implement POST /api/v1/announcements/:id/dismissTusooa Zhu
2022-03-08Implement GET /api/v1/announcements/:idTusooa Zhu
2022-03-08Implement announcement read relationshipsTusooa Zhu
2022-03-08Implement first pass of announcement admin apiTusooa Zhu
CCBUG: https://git.pleroma.social/pleroma/pleroma/-/issues/2836 CCBUG: https://git.pleroma.social/pleroma/pleroma/-/issues/1470
2022-03-06Merge branch 'fix_test_get_user_apps' into 'develop'Haelwenn
Fix test get_user_apps/1 See merge request pleroma/pleroma!3636
2022-03-06Support fallbacking to other languagesTusooa Zhu
2022-03-06Delete report notifs when demoting from superuserIlja
When someone isn't a superuser any more, they shouldn't see the reporsts any more either. Here we delete the report notifications from a user when that user gets updated from being a superuser to a non-superuser.
2022-03-03LintTusooa Zhu
2022-03-03Support multiple locales from userLanguage cookieTusooa Zhu
2022-03-03Support multiple locales formallyTusooa Zhu
elixir gettext current does not fully support fallback to another language [0]. But it might in the future. We adapt it so that all languages in Accept-Language headers are received by Pleroma.Web.Gettext. User.languages is now a comma-separated list. [0]: https://github.com/elixir-gettext/gettext/issues/303
2022-03-02Add test for fallbacking to a general languageTusooa Zhu
2022-03-02Fallback to a variant if the language in general is not supportedTusooa Zhu
For an example, here, zh is not supported, but zh_Hans and zh_Hant are. If the user asks for zh, we should choose a variant for them instead of fallbacking to default. Some browsers (e.g. Firefox) does not allow users to customize their language codes. For example, there is no zh-Hans, but only zh, zh-CN, zh-TW, zh-HK, etc. This provides a workaround for those users suffering from bad design decisions.