aboutsummaryrefslogtreecommitdiff
path: root/test/plugs
AgeCommit message (Collapse)Author
2019-12-06[#1427] Fixes / improvements of admin scopes support. Added tests.Ivan Tashkinov
2019-11-19Support authentication via `x-admin-token` HTTP headerEgor Kislitsyn
2019-11-15Merge branch 'bugfix/1395-email-activation' into 'develop'rinpatch
Bugfix/1395 email activation Closes #1395 See merge request pleroma/pleroma!1965
2019-11-13Fix random fails of the rate limiter testsEgor Kislitsyn
2019-11-11New rate limiterSteven Fuchs
2019-11-11UserEnabledPlug: Don't authenticate unconfirmed users.lain
2019-11-06Set better Cache-Control header for static contentrinpatch
Closes #1382
2019-10-16[#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.Ivan Tashkinov
2019-10-02[#1234] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1234-mastodon-2-4-3-oauth-scopes # Conflicts: # CHANGELOG.md # lib/pleroma/web/mastodon_api/controllers/mastodon_api_controller.ex # lib/pleroma/web/router.ex
2019-09-27Add `remote_ip` plugminibikini
2019-09-19[#1234] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1234-mastodon-2-4-3-oauth-scopes # Conflicts: # lib/pleroma/web/admin_api/admin_api_controller.ex
2019-09-18Bump copyright years of files changed in 2019Haelwenn (lanodan) Monnier
Done via the following command: git diff 1e6c102bfcfe0e4835a48f2483f2376f9bf86a20 --stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
2019-09-17[#1234] Addressed code analysis issue.Ivan Tashkinov
2019-09-17[#1234] Defined admin OAuth scopes, refined other scopes. Added tests.Ivan Tashkinov
2019-09-15[#1234] Merge remote-tracking branch 'remotes/upstream/develop' into ↵Ivan Tashkinov
1234-mastodon-2-4-3-oauth-scopes # Conflicts: # lib/pleroma/web/activity_pub/activity_pub_controller.ex # lib/pleroma/web/router.ex
2019-09-09Add Pleroma.Plugs.Cacheminibikini
2019-09-08[#1234] Mastodon 2.4.3 hierarchical scopes initial support (WIP).Ivan Tashkinov
2019-08-19added test helpers to clear config after testsMaksim
2019-07-24tests WebFingerMaksim
2019-07-22Exclude tests that use :crypt.crypt/2 on macOSSergey Suprunenko
2019-07-20[tests] Mock :crypt.crypt/2 function in AuthenticationPlugTestSergey Suprunenko
2019-07-19Merge branch 'refactor/http-signature-plug' into 'develop'kaniini
http signature plug: separation of concerns See merge request pleroma/pleroma!1449
2019-07-18mapped signature plug: use `user` assign like authentication plugAriadne Conill
2019-07-18tests for Plugs.AuthenticationPlugMaksim
2019-07-18tests: add tests for mapped signature plugAriadne Conill
2019-07-18http signature plug: remove redundant checks handled by HTTPSignatures libraryAriadne Conill
the redundant checks assumed a POST request, which will not work for signed GETs. this check was originally needed because the HTTPSignatures adapter assumed that the requests were also POST requests. but now, the adapter has been corrected.
2019-07-13[#1041] Rate-limited status actions (per user and per user+status).Ivan Tashkinov
2019-07-10Fix credo warningEgor Kislitsyn
2019-07-10Add SetLocalePlugEgor Kislitsyn
2019-07-10Add license/copyright to all project filesfeld
2019-06-27Polish IdempotencyPlugEgor Kislitsyn
2019-06-26Add Idempotency plugEgor Kislitsyn
2019-06-21Fix rate limiter testsEgor Kislitsyn
2019-06-11Replace `MastodonAPIController.account_register/2` rate limiterEgor Kislitsyn
2019-06-11Add RateLimiterEgor Kislitsyn
2019-05-24Move the Cache Control header test to its own filefeld
We can consolidate our cache control header tests here
2019-05-17Fix/902 random compile failingAlexander Strizhakov
2019-05-16add report uri and report toAlex S
2019-05-15Merge branch 'fix/public-option-not-working' into 'develop'kaniini
Fix public option not working Closes #873 See merge request pleroma/pleroma!1143
2019-05-15tests: fixupWilliam Pitcock
2019-05-15Implement Pleroma.Plugs.EnsurePublicOrAuthenticatedAaron Tinio
2019-05-13differences_in_mastoapi_responses.md: fullname & bio are optionnalAlexander Strizhakov
[ci skip]
2019-05-02Add oauth plug tests for url and body parametersAkiraFukushima
2019-04-05Mock :crypt.crypt/2 because otherwise the test fails on Mac OSSergey Suprunenko
2019-03-14Fix uploaded media plug testrinpatch
2019-03-14Add some testsrinpatch
2019-02-20[#468] More OAuth scopes-specific tests.Ivan Tashkinov
2018-12-23tests: add legal boilerplateWilliam Pitcock
2018-12-20Merge branch 'ci-test-fix' into 'develop'lambda
SetUserSessionIdPlugTest: try again to fix random ci failures See merge request pleroma/pleroma!579
2018-12-19daaa8cd6 take twohref