minibikini
f9380289eb
Add `remote_ip` plug
4 lat temu
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/'
4 lat temu
Ivan Tashkinov
b17f217bf3
[ #1234 ] Addressed code analysis issue.
4 lat temu
Ivan Tashkinov
76068873db
[ #1234 ] Defined admin OAuth scopes, refined other scopes. Added tests.
4 lat temu
minibikini
11e12b5761
Add Pleroma.Plugs.Cache
4 lat temu
Ivan Tashkinov
b63faf9819
[ #1234 ] Mastodon 2.4.3 hierarchical scopes initial support (WIP).
4 lat temu
Maksim
a320358703
added test helpers to clear config after tests
4 lat temu
Maksim
55341ac717
tests WebFinger
5 lat temu
Sergey Suprunenko
9340896c9e
Exclude tests that use :crypt.crypt/2 on macOS
5 lat temu
Sergey Suprunenko
43a7cd27fe
[tests] Mock :crypt.crypt/2 function in AuthenticationPlugTest
5 lat temu
Ariadne Conill
c947cfec5a
mapped signature plug: use `user` assign like authentication plug
5 lat temu
Maksim
f435217e50
tests for Plugs.AuthenticationPlug
5 lat temu
Ariadne Conill
621cacf667
tests: add tests for mapped signature plug
5 lat temu
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.
5 lat temu
Ivan Tashkinov
369e9bb42f
[ #1041 ] Rate-limited status actions (per user and per user+status).
5 lat temu
Egor Kislitsyn
c2a589d9a3
Fix credo warning
5 lat temu
Egor Kislitsyn
0d54a571ca
Add SetLocalePlug
5 lat temu
feld
93a0eeab16
Add license/copyright to all project files
5 lat temu
Egor Kislitsyn
889a9c3a3f
Polish IdempotencyPlug
5 lat temu
Egor Kislitsyn
825077a5b0
Add Idempotency plug
5 lat temu
Egor Kislitsyn
fc6e661672
Fix rate limiter tests
5 lat temu
Egor Kislitsyn
ad04d12de6
Replace `MastodonAPIController.account_register/2` rate limiter
5 lat temu
Egor Kislitsyn
2e5affce61
Add RateLimiter
5 lat temu
feld
f916e4cdd9
Move the Cache Control header test to its own file
We can consolidate our cache control header tests here
5 lat temu
Alexander Strizhakov
7ed682213f
Fix/902 random compile failing
5 lat temu
Alex S
aa11fa4864
add report uri and report to
5 lat temu
William Pitcock
4429c1b7da
tests: fixup
5 lat temu
Aaron Tinio
7b8dc99ef1
Implement Pleroma.Plugs.EnsurePublicOrAuthenticated
5 lat temu
Alexander Strizhakov
a2be420f94
differences_in_mastoapi_responses.md: fullname & bio are optionnal
[ci skip]
5 lat temu
AkiraFukushima
a53a6c9d64
Add oauth plug tests for url and body parameters
5 lat temu
Sergey Suprunenko
e9c075d05c
Mock :crypt.crypt/2 because otherwise the test fails on Mac OS
5 lat temu
rinpatch
355f285a86
Fix uploaded media plug test
5 lat temu
rinpatch
e2fe796c63
Add some tests
5 lat temu
Ivan Tashkinov
337367d764
[ #468 ] More OAuth scopes-specific tests.
5 lat temu
William Pitcock
3c08d229db
tests: add legal boilerplate
5 lat temu
href
adbb265fc6
daaa8cd6
take two
5 lat temu
lain
f3eb414e28
Add a way to use the admin api without a user.
5 lat temu
href
daaa8cd66a
SetUserSessionIdPlugTest: try to fix random ci failures
5 lat temu
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.
5 lat temu
Maksim Pechnikov
89b3729afa
fix warnings
5 lat temu
Maksim Pechnikov
c524c50509
fix/273
5 lat temu
lain
f18b86fd5f
More fixes for Info schema.
5 lat temu
lain
1c67277c80
Fix admin api.
5 lat temu
Haelwenn (lanodan) Monnier
76bd80d462
test/plugs/user_is_admin_plug_test: New test
5 lat temu
AkiraFukushima
62944b47fb
Reset http security settings to fix plug test
5 lat temu
William Pitcock
ee5932a504
http security: allow referrer-policy to be configured
5 lat temu
William Pitcock
fe67665e19
rename CSPPlug to HTTPSecurityPlug.
5 lat temu
William Pitcock
54fdce9107
tests: add tests for CSPPlug
5 lat temu
William Pitcock
a4fe14de02
tests: break the cycle using pleroma.factory
5 lat temu
William Pitcock
fc92bb28b4
tests: try breaking the cycle a different way
5 lat temu