Maksim Pechnikov
61ef1fca4b
remove duplicate module
4 years ago
Alexander Strizhakov
b376442325
MediaProxy whitelist setting now supports hosts with scheme
added deprecation warning about using bare domains
4 years ago
Haelwenn (lanodan) Monnier
312fc55f14
Add [:instances_favicons, :enabled] setting, defaults to false
4 years ago
Maksim Pechnikov
a8d967762e
migrate to oban 2.0-rc1
4 years ago
Maksim
3d0c567fbc
Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController
4 years ago
Egor Kislitsyn
1cb89aac1e
Enable strict validation mode in dev and test environments
4 years ago
rinpatch
fc4496d4fa
rate limiter: disable based on if remote ip was found, not on if the plug was enabled
The current rate limiter disable logic won't trigger when the remote ip
is not forwarded, only when the remoteip plug is not enabled, which is
not the case on most instances since it's enabled by default. This
changes the behavior to warn and disable when the remote ip was not forwarded,
even if the RemoteIP plug is enabled.
Also closes #1620
4 years ago
Alexander Strizhakov
884d9710b2
refactoring for gun api modules
4 years ago
Ivan Tashkinov
6f2efb1c45
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.
4 years ago
Alexander Strizhakov
514c899275
adding gun adapter
4 years ago
Alexander Strizhakov
bfd16fe41e
set oban crontab to false in tests
4 years ago
Egor Kislitsyn
aa0f0d4edd
Disable NewUsersDigestEmail by default
4 years ago
Egor Kislitsyn
fc484e5ce6
Add Kocaptcha endpoint to config.exs
4 years ago
Egor Kislitsyn
8d242f52d4
Revert "Add default endpoint to Pleroma.Captcha.Kocaptcha"
This reverts commit 82c62c5028
.
4 years ago
Egor Kislitsyn
82c62c5028
Add default endpoint to Pleroma.Captcha.Kocaptcha
4 years ago
rinpatch
3ecdd13bb2
Add Kocaptcha endpoint to the test config
4 years ago
Egor Kislitsyn
470a3a678d
Add Kocaptcha endpoint to the test config
4 years ago
stwf
63ffa0e3ed
try local sheduling
4 years ago
Egor Kislitsyn
a75d4a41e0
Add a test for custom runtime modules
4 years ago
Maksim Pechnikov
a4f834a687
moved DigestEmail to Oban Periodic jobs
4 years ago
Mark Felder
edaae845af
Some tasks try to set log level in test environment, but we were stripping logs belog :warn.
Ensure console backend logs in test environment are :warn, but mix tasks run in test env
do not run with :debug because it's far too verbose.
4 years ago
Mark Felder
c65190c799
Console backend's log format should be prefixed and suffixed with newlines.
This is how upstream does it by default.
4 years ago
Mark Felder
1c17f18329
Be specific about format for logs in test as we have tests that check it
4 years ago
Mark Felder
cb513a599c
Allow test builds to have info and debug logs stripped
4 years ago
Mark Felder
ff9133b978
Allow mix tasks to always run with debug logging
4 years ago
Ekaterina Vaartis
7e4c8b56ea
Add tests for emoji pack sharing
4 years ago
Ivan Tashkinov
a90ea8ba15
[ #1149 ] Addressed code review comments (code style, jobs pruning etc.).
4 years ago
Ivan Tashkinov
581123f8bb
[ #1149 ] Introduced `quantum` job scheduler. Documentation & config changes.
4 years ago
Egor Kislitsyn
8d899d6197
Add `:ap_routes` rate limit
4 years ago
Ivan Tashkinov
23d279e03e
[ #1149 ] Replaced RetryQueue with oban-based retries.
4 years ago
Mike Verdone
b729402774
Make test.exs read config in the same way as dev.exs
This way, if your test.secret.exs has an error, you'll actually see it.
5 years ago
Ariadne Conill
1345e0c2bf
tests: add tests for signed object fetches
5 years ago
Alexander Strizhakov
10f82c88b8
mastoapi password reset
added rate limit to password reset
configure rate limit in runtime
5 years ago
rinpatch
e8fa477793
Refactor Follows/Followers counter syncronization
- Actually sync counters in the database instead of info cache (which got
overriden after user update was finished anyway)
- Add following count field to user info
- Set hide_followers/hide_follows for remote users based on http status
codes for the first collection page
5 years ago
Eugenij
4198c3ac39
Extend Pleroma.Pagination to support offset-based pagination, use async/await to execute status and account search in parallel
5 years ago
Maksim
12b1454245
[ #1062 ] added option to disable send email
5 years ago
Alexander Strizhakov
4e6e5d8042
reverse proxy tests
5 years ago
lain
abe2e8881f
Testing: Don't federate in testing.
5 years ago
Maksim Pechnikov
4ad15ad2a9
add ignore hosts and TLDs for rich_media
5 years ago
Egor Kislitsyn
ce823fa88e
Fix rate limit test
5 years ago
Egor Kislitsyn
ad04d12de6
Replace `MastodonAPIController.account_register/2` rate limiter
5 years ago
lain
76fc4c92bb
Fix tests.
5 years ago
Ivan Tashkinov
3eefb274f4
OAuth consumer: tests fix, comments, Keycloak config notes.
5 years ago
Roman Chvanikov
bd325132ca
Fix tests
5 years ago
William Pitcock
56fd7dbdd7
remove @websub and @ostatus module-level constants
5 years ago
William Pitcock
80d55d428f
tests: websub: check only that signature validation succeeds or fails
5 years ago
William Pitcock
290f5b2cfe
config: make sending the user agent configurable, disable sending the user agent in tests
5 years ago
lain
8784a7d1b4
RUM: Set rum status by the environment.
5 years ago
Alex S
aa11fa4864
add report uri and report to
5 years ago
rinpatch
2ca8d20053
Fix rate-limiting tests
5 years ago