aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web
AgeCommit message (Collapse)Author
2021-11-24Merge remote-tracking branch 'pleroma/develop' into manifestAlex Gleason
2021-11-24Expose /manifest.json for PWAAlex Gleason
2021-11-21Update testmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-21MastoAPI: Add user notes on accountsmarcin mikołajczak
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2021-11-15Merge branch 'fix-tests' into 'develop'lain
Test fixes See merge request pleroma/pleroma!3532
2021-11-15Merge branch 'block-behavior' into 'develop'lain
Configurable block visibility, fixes #2123 Closes #2123 See merge request pleroma/pleroma!3242
2021-11-15Merge branch 'instance-deletion' into 'develop'lain
AdminAPI: endpoint to delete all content from a remote instance See merge request pleroma/pleroma!3483
2021-11-15Merge branch 'userfeed-fe-fallback' into 'develop'lain
UserController: fall back to frontend when user isn't found Closes #2730 See merge request pleroma/pleroma!3515
2021-11-14MediaProxyCacheControllerTest: Fix unstable tests.Lain Soykaf
Cachex order isn't stable, so we can not depend on the order in tests. This adds some sorting to make the tests stable.
2021-11-14StealEmojiPolicyTest: Make mocks explicit.Lain Soykaf
2021-10-10object_validators: Group common fields in CommonValidationsHaelwenn (lanodan) Monnier
Notes: - QuestionValidator didn't have a :name field but that seems like a mistake - `_fields` functions can't inherit others because of some Validators - bto/bcc fields were absent in activities, also seems like a mistake (Well IIRC we don't or barely support bto/bcc anyway)
2021-10-06CI: Bump lint stage to elixir-1.12Haelwenn (lanodan) Monnier
Elixir 1.12 changed formatting rules, this allows to avoid having to rollback to run `mix format`
2021-10-06Merge branch 'from/develop/tusooa/add-remove-emails' into 'develop'Haelwenn
Allow users to remove their emails if instance does not need email to register See merge request pleroma/pleroma!3522
2021-09-07Merge branch 'remove/mastofe' into 'develop'Haelwenn
Remove MastoFE from Pleroma, fixes #2625 Closes #2625 See merge request pleroma/pleroma!3392
2021-09-05Allow users to remove their emails if instance does not need email to registerTusooa Zhu
2021-08-28Add unit test for Pleroma API app controllerSean King
2021-08-28List available frontends also when no static/frontends folder is present yetIlja
* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array. * Installing still works since the folder is created during installation already Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3510
2021-08-28Merge branch 'features/ingestion-no-nil' into 'develop'Haelwenn
ObjectValidator.stringify_keys: filter out nil values See merge request pleroma/pleroma!3506
2021-08-17UserController: fall back to frontend when user isn't foundAlex Gleason
2021-08-14Merge branch ↵Haelwenn
'show_frontends_also_when_no_static_frontends_folder_is_created_yet' into 'develop' List available frontends also when no static/frontends folder is present yet Closes admin-fe#201 See merge request pleroma/pleroma!3510
2021-08-14List available frontends also when no static/frontends folder is present yetIlja
* To see what front ends are installed, it ls static/frontends. When this folder doesn't exists yet, it will return an empty array. * Installing still works since the folder is created during installation already
2021-08-14Merge branch 'builder-note' into 'develop'Haelwenn
CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1 See merge request pleroma/pleroma!3511
2021-08-14Builder.note/1: return {:ok, map(), keyword()} like other Builder functionsAlex Gleason
2021-08-14CommonAPI.Utils.make_note_data/1 --> ActivityPub.Builder.note/1Alex Gleason
2021-08-13TwitterAPI: Make change_email require body params instead of queryHaelwenn (lanodan) Monnier
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3503
2021-08-13TwitterAPI: Make change_password require body params instead of queryHaelwenn (lanodan) Monnier
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3503
2021-08-13ObjectAgePolicy: Fix pattern matching on publishedHaelwenn (lanodan) Monnier
Backport of: https://git.pleroma.social/pleroma/pleroma/-/merge_requests/3500
2021-08-11ObjectValidator.stringify_keys: filter out nil valuesHaelwenn (lanodan) Monnier
2021-08-10Merge branch 'bugfix/change_password' into 'develop'Haelwenn
TwitterAPI: Make change_password require body params instead of query Closes #2740 See merge request pleroma/pleroma!3503
2021-08-10TwitterAPI: Make change_email require body params instead of queryHaelwenn (lanodan) Monnier
2021-08-10TwitterAPI: Make change_password require body params instead of queryHaelwenn (lanodan) Monnier
Closes: https://git.pleroma.social/pleroma/pleroma/-/issues/2740
2021-08-10ObjectAgePolicy: Fix pattern matching on publishedHaelwenn (lanodan) Monnier
2021-08-09Merge branch 'poll-notification' into 'develop'Haelwenn
MastodonAPI: Support poll notification See merge request pleroma/pleroma!3484
2021-08-06Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove/mastofeSean King
2021-08-06quarantine instances infoIlja
Added a new field in the nodeinfo called quarantined_instances_info This holds an object like `"quarantined_instances_info":{"quarantined_instances":{"quar.inst":{"reason":"whatever reason"}}}}`
2021-08-06Change what nodeinfo returns without breaking backwards compatibilityIlja
* Only for SimplePolicy for now * I added an extra mrf_simple_info key that has an object as value. The object contains only relevant extra info
2021-08-06Return maps in node_infoIlja
It's easiest (and imo most proper) to use tuples {"instance, "reason"} in BE, but for FE maps like %{"instance": "instance", "reason", "reason"} are better. I changed it so that node_info returns maps now for simple_policy and quarantined instances.
2021-08-06config :mrf, :transparency_exclusions works with tumples nowIlja
2021-08-06Make quarentine work with list of tuples instead of stringsIlja
2021-08-06Add tests for setting `:instance, :quarantined_instances`Ilja
No test was done for quarantined instances yet. I added a factory for followers_only notes and checked * That no followers only post is send when the target server is quarantined * That a followers only post is send when the target server is not quarantined
2021-08-06Make mrfSimple work with tuplesIlja
* Changed SimplePolicy * I also grepped in test/ for ':mrf_simple' to see what other things could be affected
2021-08-04Merge remote-tracking branch 'pleroma/develop' into staff-plugAlex Gleason
2021-07-18Merge remote-tracking branch 'pleroma/develop' into poll-notification-fixesAlex Gleason
2021-07-18Poll notification: trigger PollWorker through common_pipelineAlex Gleason
2021-07-17MastodonAPI: Support poll notificationAlex Gleason
2021-07-17Merge remote-tracking branch 'pleroma/develop' into instance-deletionAlex Gleason
2021-07-17AdminAPI.InstanceController: clean up tests, rename actionsAlex Gleason
2021-07-17AdminAPI: add DELETE /instances/:instance to delete all content from a ↵Alex Gleason
remote instance
2021-07-17Create AdminAPI.InstanceControllerAlex Gleason
2021-07-14Merge branch 'admin-api-users-sort' into 'develop'feld
AdminAPI: sort new users at the top Closes #2709 See merge request pleroma/pleroma!3481