aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web/plugs
AgeCommit message (Collapse)Author
2021-05-28Pleroma.Web.get_api_routes/0 --> Pleroma.Web.Router.get_api_routes/0Alex Gleason
Reduce recompilation time by breaking compile-time cycles
2021-02-25Leave a note for future explorersMark Felder
2021-02-25No need to filter out Mix.env() from the API routes.Mark Felder
2021-02-25Filter out MIX_ENV from route list and add a testMark Felder
2021-02-17Remove `:auth, :enforce_oauth_admin_scope_usage`rinpatch
`admin` scope has been required by default for more than a year now and all apps that use the API seems to request a proper scope by now.
2021-01-27Add testsEgor Kislitsyn
2021-01-27Merge branch 'chore/tests-use-clear_config' into 'develop'lain
Convert tests to all use clear_config instead of Pleroma.Config.put See merge request pleroma/pleroma!3282
2021-01-26Merge branch 'service-worker-allowed-header' into 'develop'feld
Ability to set custom HTTP headers per each frontend See merge request pleroma/pleroma!3247
2021-01-26Convert tests to all use clear_config instead of Pleroma.Config.putMark Felder
2021-01-21Allow to define custom HTTP headers per each frontendeugenijm
2021-01-21Ability to set the Service-Worker-Allowed headereugenijm
2021-01-18Merge branch 'develop' into refactor/deactivated_user_fieldMark Felder
2021-01-15Change user.confirmation_pending field to user.is_confirmedMark Felder
2021-01-15Change user.deactivated field to user.is_activeMark Felder
2021-01-14Pbkdf2: Use it everywhere.Lain Soykaf
2021-01-13Password: Replace Pbkdf2 with Password.lain
2021-01-13Bump Copyright to 2021Haelwenn (lanodan) Monnier
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/>;'
2020-12-21Test: More async/sync tweaks.lain
2020-12-21Tests: Make as many tests as possible async.lain
In general, tests that match these criteria can be made async: - Doesn't use real Cachex. - Doesn't write to the Config / Application Environment. - Uses Mock. Using Mox is fine. - Uses the streamer.
2020-12-18Tests: Use NullCache for async tests.lain
Caching can't work in async tests, so for them it is mocked to a null cache that is always empty. Synchronous tests are stubbed with the real Cachex, which is emptied after every test.
2020-12-18Tests: Remove unneeded explicit cachex use.lain
Only use cachex when we're actually testing it.
2020-12-06[#3112] Ensured presence and consistency of :user and :token assigns ↵Ivan Tashkinov
(EnsureUserTokenAssignsPlug). Refactored auth info dropping functions.
2020-11-28Merge remote-tracking branch 'remotes/origin/develop' into auth-improvementsIvan Tashkinov
2020-11-27digest algorithm is taken from headerAlexander Strizhakov
2020-11-25Session token setting on token exchange. Auth-related refactoring.Ivan Tashkinov
2020-11-21Session-based OAuth auth fixes (token expiration check), refactoring, tweaks.Ivan Tashkinov
2020-10-31Auth subsystem refactoring and tweaks.Ivan Tashkinov
Added proper OAuth skipping for SessionAuthenticationPlug. Integrated LegacyAuthenticationPlug into AuthenticationPlug. Adjusted tests & docs.
2020-10-30Remove unused aliasesEgor Kislitsyn
2020-10-27FrontStatic plug: excluded invalid urlMaksim Pechnikov
2020-10-13JPEG content_type must be image/jpegMark Felder
2020-10-13changes after rebaseAlexander Strizhakov
2020-10-13alias alphabetically orderAlexander Strizhakov
2020-10-13AdminSecretAuthenticationPlug module nameAlexander Strizhakov
2020-10-13AuthenticationPlug module nameAlexander Strizhakov
2020-10-13BasicAuthDecoderPlug module nameAlexander Strizhakov
2020-10-13Cache plug module nameAlexander Strizhakov
2020-10-13EnsureAuthenticatedPlug module nameAlexander Strizhakov
2020-10-13EnsurePublicOrAuthenticatedPlug module nameAlexander Strizhakov
2020-10-13EnsureUserKeyPlug module nameAlexander Strizhakov
2020-10-13ExpectAuthenticatedCheckPlug module nameAlexander Strizhakov
2020-10-13ExpectPublicOrAuthenticatedCheckPlug module nameAlexander Strizhakov
2020-10-13FederatingPlug module nameAlexander Strizhakov
2020-10-13IdempotencyPlug module nameAlexander Strizhakov
2020-10-13LegacyAuthenticationPlug module nameAlexander Strizhakov
2020-10-13OAuthPlug module nameAlexander Strizhakov
2020-10-13OAuthScopesPlug module nameAlexander Strizhakov
2020-10-13PlugHelper module nameAlexander Strizhakov
2020-10-13RateLimiter module nameAlexander Strizhakov
2020-10-13RemoteIp module nameAlexander Strizhakov
2020-10-13SessionAuthenticationPlug module nameAlexander Strizhakov