minibikini
f9380289eb
Add `remote_ip` plug
5 years ago
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/'
5 years ago
minibikini
11e12b5761
Add Pleroma.Plugs.Cache
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'
...
http signature plug: separation of concerns
See merge request pleroma/pleroma!1449
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
...
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 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
...
We can consolidate our cache control header tests here
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'
...
Fix public option not working
Closes #873
See merge request pleroma/pleroma!1143
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
...
[ci skip]
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'
...
SetUserSessionIdPlugTest: try again to fix random ci failures
See merge request pleroma/pleroma!579
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
...
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.
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