Commit Graph

132 Commits (c1277be041167be255e966eebf95a5137f49e34b)

Author SHA1 Message Date
Egor Kislitsyn 36686f5245
Support authentication via `x-admin-token` HTTP header
5 years ago
rinpatch 22554ac5ca Merge branch 'bugfix/1395-email-activation' into 'develop'
5 years ago
Egor Kislitsyn 72cf6a76f4
Fix random fails of the rate limiter tests
5 years ago
Steven Fuchs 94627baa5c New rate limiter
5 years ago
lain f6056e9c9c UserEnabledPlug: Don't authenticate unconfirmed users.
5 years ago
rinpatch 84175fe30e Set better Cache-Control header for static content
5 years ago
Ivan Tashkinov 10ff01acd9 [#1304] Moved all non-mutes / non-blocks fields from User.Info to User. WIP.
5 years ago
Ivan Tashkinov 64095961fe [#1234] Merge remote-tracking branch 'remotes/upstream/develop' into 1234-mastodon-2-4-3-oauth-scopes
5 years ago
minibikini f9380289eb Add `remote_ip` plug
5 years ago
Ivan Tashkinov 6f67aed3ac [#1234] Merge remote-tracking branch 'remotes/upstream/develop' into 1234-mastodon-2-4-3-oauth-scopes
5 years ago
Haelwenn (lanodan) Monnier 447514dfa2
Bump copyright years of files changed in 2019
5 years ago
Ivan Tashkinov b17f217bf3 [#1234] Addressed code analysis issue.
5 years ago
Ivan Tashkinov 76068873db [#1234] Defined admin OAuth scopes, refined other scopes. Added tests.
5 years ago
Ivan Tashkinov efbc2edba1 [#1234] Merge remote-tracking branch 'remotes/upstream/develop' into 1234-mastodon-2-4-3-oauth-scopes
5 years ago
minibikini 11e12b5761 Add Pleroma.Plugs.Cache
5 years ago
Ivan Tashkinov b63faf9819 [#1234] Mastodon 2.4.3 hierarchical scopes initial support (WIP).
5 years ago
Maksim a320358703 added test helpers to clear config after tests
5 years ago
Maksim 55341ac717 tests WebFinger
5 years ago
Sergey Suprunenko 9340896c9e Exclude tests that use :crypt.crypt/2 on macOS
5 years ago
Sergey Suprunenko 43a7cd27fe [tests] Mock :crypt.crypt/2 function in AuthenticationPlugTest
5 years ago
kaniini 716afc83ce Merge branch 'refactor/http-signature-plug' into 'develop'
5 years ago
Ariadne Conill c947cfec5a mapped signature plug: use `user` assign like authentication plug
5 years ago
Maksim f435217e50 tests for Plugs.AuthenticationPlug
5 years ago
Ariadne Conill 621cacf667 tests: add tests for mapped signature plug
5 years ago
Ariadne Conill 88d064d80e http signature plug: remove redundant checks handled by HTTPSignatures library
5 years ago
Ivan Tashkinov 369e9bb42f [#1041] Rate-limited status actions (per user and per user+status).
5 years ago
Egor Kislitsyn c2a589d9a3 Fix credo warning
5 years ago
Egor Kislitsyn 0d54a571ca Add SetLocalePlug
5 years ago
feld 93a0eeab16 Add license/copyright to all project files
5 years ago
Egor Kislitsyn 889a9c3a3f Polish IdempotencyPlug
5 years ago
Egor Kislitsyn 825077a5b0 Add Idempotency plug
5 years ago
Egor Kislitsyn fc6e661672 Fix rate limiter tests
5 years ago
Egor Kislitsyn ad04d12de6 Replace `MastodonAPIController.account_register/2` rate limiter
5 years ago
Egor Kislitsyn 2e5affce61 Add RateLimiter
5 years ago
feld f916e4cdd9 Move the Cache Control header test to its own file
5 years ago
Alexander Strizhakov 7ed682213f Fix/902 random compile failing
5 years ago
Alex S aa11fa4864 add report uri and report to
5 years ago
kaniini 62516be9c4 Merge branch 'fix/public-option-not-working' into 'develop'
5 years ago
William Pitcock 4429c1b7da tests: fixup
5 years ago
Aaron Tinio 7b8dc99ef1 Implement Pleroma.Plugs.EnsurePublicOrAuthenticated
5 years ago
Alexander Strizhakov a2be420f94 differences_in_mastoapi_responses.md: fullname & bio are optionnal
5 years ago
AkiraFukushima a53a6c9d64 Add oauth plug tests for url and body parameters
5 years ago
Sergey Suprunenko e9c075d05c
Mock :crypt.crypt/2 because otherwise the test fails on Mac OS
6 years ago
rinpatch 355f285a86 Fix uploaded media plug test
6 years ago
rinpatch e2fe796c63 Add some tests
6 years ago
Ivan Tashkinov 337367d764 [#468] More OAuth scopes-specific tests.
6 years ago
William Pitcock 3c08d229db tests: add legal boilerplate
6 years ago
lambda 61a88a6757 Merge branch 'ci-test-fix' into 'develop'
6 years ago
href adbb265fc6
daaa8cd6 take two
6 years ago
lain f3eb414e28 Add a way to use the admin api without a user.
6 years ago
href daaa8cd66a
SetUserSessionIdPlugTest: try to fix random ci failures
6 years ago
href b1860fe85a
Instance/Static runtime plug
6 years ago
Maksim Pechnikov 89b3729afa fix warnings
6 years ago
Maksim Pechnikov c524c50509 fix/273
6 years ago
lain f18b86fd5f More fixes for Info schema.
6 years ago
lain 1c67277c80 Fix admin api.
6 years ago
Haelwenn (lanodan) Monnier 76bd80d462
test/plugs/user_is_admin_plug_test: New test
6 years ago
AkiraFukushima 62944b47fb Reset http security settings to fix plug test
6 years ago
William Pitcock ee5932a504 http security: allow referrer-policy to be configured
6 years ago
William Pitcock fe67665e19 rename CSPPlug to HTTPSecurityPlug.
6 years ago
William Pitcock 54fdce9107 tests: add tests for CSPPlug
6 years ago
William Pitcock a4fe14de02 tests: break the cycle using pleroma.factory
6 years ago
William Pitcock fc92bb28b4 tests: try breaking the cycle a different way
6 years ago
William Pitcock 33a5294fad test: user enabled plug tests: fix circular reference
6 years ago
lain d22af29bb4 Fix warning.
6 years ago
lain 44b094908c Update legacy passwords automatically.
6 years ago
lain e601165426 Add UserEnabledPlug.
6 years ago
lain 5ce1ebb179 Add SetUserSessionIdPlug.
6 years ago
lain 12bc73dd28 Add EnsureUserKeyPlug, smaller fixes
6 years ago
lain 32465b9939 Simplify AuthenticationPlug
6 years ago
lain 9a96c93be7 Add SessionAuthenticationPlug.
6 years ago
lain a3f54fca4d Add LegacyAuthenticationPlug
6 years ago
lain 3cf17dc402 Add EnsureAuthenticatedPlug
6 years ago
lain faf5347748 Add UserFetcherPlug.
6 years ago
lain 42bd985e66 Add BasicAuthDecoderPlug
6 years ago
Moon Man 1a8bc26e52 auth against sha512-crypt password hashes, upgrade to pbkdf2
6 years ago
lain 0a14d155d6 Fail faster.
7 years ago
lain 4afbef39f4 Format the code.
7 years ago
Lain Iwakura 0ec5aeb8a7 Don't log in deactivated users.
7 years ago
Roger Braun 70024632ba AP refactoring.
7 years ago
Roger Braun 32aa83f3a2 Short circuit user verification if cookie is present.
8 years ago
Roger Braun e32dbfc9a5 Add basic auth.
8 years ago