aboutsummaryrefslogtreecommitdiff
path: root/test/pleroma/web/plugs
AgeCommit message (Collapse)Author
2021-12-27EnsureStaffPrivilegedPlug: add testsAlex Gleason
2021-12-25Merge remote-tracking branch 'origin/develop' into notice-routesAlex Gleason
2021-12-22Merge branch 'erratic-tests' into 'develop'Alex Gleason
Skip erratic tests See merge request pleroma/pleroma!3572
2021-12-21Skip erratic testsAlex Gleason
2021-12-19Merge branch 'manifest' into 'develop'Alex Gleason
Expose /manifest.json for PWA Closes #882 See merge request pleroma/pleroma!3544
2021-12-19Merge remote-tracking branch 'origin/develop' into manifestAlex Gleason
2021-12-15Merge remote-tracking branch 'origin/develop' into live-dashboardAlex Gleason
2021-12-15Add Phoenix LiveDashboardAlex Gleason
Co-authored-by: Egor Kislitsyn <egor@kislitsyn.com>
2021-12-03Fix frontend_status_plug_test.exsAlex Gleason
2021-11-24Merge remote-tracking branch 'pleroma/develop' into manifestAlex Gleason
2021-11-24Expose /manifest.json for PWAAlex Gleason
2021-08-06Merge branch 'develop' of git.pleroma.social:pleroma/pleroma into remove/mastofeSean King
2021-08-04Merge remote-tracking branch 'pleroma/develop' into staff-plugAlex Gleason
2021-07-12Moderators: add UserIsStaffPlugAlex Gleason
2021-06-04Fix merge conflicts with upstreamSean King
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-05-05Add notice compatibility routes for other frontendsAlex Gleason
Fixes: https://git.pleroma.social/pleroma/pleroma/-/issues/1785
2021-04-15Remove no longer necessary unit tests for MastoFESean King
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