minibikini
f9380289eb
Add `remote_ip` plug
před 4 roky
Haelwenn (lanodan) Monnier
447514dfa2
Bump copyright years of files changed in 2019
Done via the following command:
git diff 1e6c102bfc
--stat --name-only | cat - | xargs sed -i 's/2017-2018 Pleroma Authors/2017-2019 Pleroma Authors/'
před 4 roky
Ivan Tashkinov
b17f217bf3
[ #1234 ] Addressed code analysis issue.
před 4 roky
Ivan Tashkinov
76068873db
[ #1234 ] Defined admin OAuth scopes, refined other scopes. Added tests.
před 4 roky
minibikini
11e12b5761
Add Pleroma.Plugs.Cache
před 4 roky
Ivan Tashkinov
b63faf9819
[ #1234 ] Mastodon 2.4.3 hierarchical scopes initial support (WIP).
před 4 roky
Maksim
a320358703
added test helpers to clear config after tests
před 4 roky
Maksim
55341ac717
tests WebFinger
před 5 roky
Sergey Suprunenko
9340896c9e
Exclude tests that use :crypt.crypt/2 on macOS
před 5 roky
Sergey Suprunenko
43a7cd27fe
[tests] Mock :crypt.crypt/2 function in AuthenticationPlugTest
před 5 roky
Ariadne Conill
c947cfec5a
mapped signature plug: use `user` assign like authentication plug
před 5 roky
Maksim
f435217e50
tests for Plugs.AuthenticationPlug
před 5 roky
Ariadne Conill
621cacf667
tests: add tests for mapped signature plug
před 5 roky
Ariadne Conill
88d064d80e
http signature plug: remove redundant checks handled by HTTPSignatures library
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.
před 5 roky
Ivan Tashkinov
369e9bb42f
[ #1041 ] Rate-limited status actions (per user and per user+status).
před 5 roky
Egor Kislitsyn
c2a589d9a3
Fix credo warning
před 5 roky
Egor Kislitsyn
0d54a571ca
Add SetLocalePlug
před 5 roky
feld
93a0eeab16
Add license/copyright to all project files
před 5 roky
Egor Kislitsyn
889a9c3a3f
Polish IdempotencyPlug
před 5 roky
Egor Kislitsyn
825077a5b0
Add Idempotency plug
před 5 roky
Egor Kislitsyn
fc6e661672
Fix rate limiter tests
před 5 roky
Egor Kislitsyn
ad04d12de6
Replace `MastodonAPIController.account_register/2` rate limiter
před 5 roky
Egor Kislitsyn
2e5affce61
Add RateLimiter
před 5 roky
feld
f916e4cdd9
Move the Cache Control header test to its own file
We can consolidate our cache control header tests here
před 5 roky
Alexander Strizhakov
7ed682213f
Fix/902 random compile failing
před 5 roky
Alex S
aa11fa4864
add report uri and report to
před 5 roky
William Pitcock
4429c1b7da
tests: fixup
před 5 roky
Aaron Tinio
7b8dc99ef1
Implement Pleroma.Plugs.EnsurePublicOrAuthenticated
před 5 roky
Alexander Strizhakov
a2be420f94
differences_in_mastoapi_responses.md: fullname & bio are optionnal
[ci skip]
před 5 roky
AkiraFukushima
a53a6c9d64
Add oauth plug tests for url and body parameters
před 5 roky
Sergey Suprunenko
e9c075d05c
Mock :crypt.crypt/2 because otherwise the test fails on Mac OS
před 5 roky
rinpatch
355f285a86
Fix uploaded media plug test
před 5 roky
rinpatch
e2fe796c63
Add some tests
před 5 roky
Ivan Tashkinov
337367d764
[ #468 ] More OAuth scopes-specific tests.
před 5 roky
William Pitcock
3c08d229db
tests: add legal boilerplate
před 5 roky
href
adbb265fc6
daaa8cd6
take two
před 5 roky
lain
f3eb414e28
Add a way to use the admin api without a user.
před 5 roky
href
daaa8cd66a
SetUserSessionIdPlugTest: try to fix random ci failures
před 5 roky
href
b1860fe85a
Instance/Static runtime plug
This allows to set-up an arbitrary directory which overrides most of the
static files: index.html static/ emoji/ packs/ sounds/ images/ instance/
favicon.png.
If the files are not present in the directory, the bundled ones in
priv/static will be used.
před 5 roky
Maksim Pechnikov
89b3729afa
fix warnings
před 5 roky
Maksim Pechnikov
c524c50509
fix/273
před 5 roky
lain
f18b86fd5f
More fixes for Info schema.
před 5 roky
lain
1c67277c80
Fix admin api.
před 5 roky
Haelwenn (lanodan) Monnier
76bd80d462
test/plugs/user_is_admin_plug_test: New test
před 5 roky
AkiraFukushima
62944b47fb
Reset http security settings to fix plug test
před 5 roky
William Pitcock
ee5932a504
http security: allow referrer-policy to be configured
před 5 roky
William Pitcock
fe67665e19
rename CSPPlug to HTTPSecurityPlug.
před 5 roky
William Pitcock
54fdce9107
tests: add tests for CSPPlug
před 5 roky
William Pitcock
a4fe14de02
tests: break the cycle using pleroma.factory
před 5 roky
William Pitcock
fc92bb28b4
tests: try breaking the cycle a different way
před 5 roky