Mark Felder
fe40f6f291
Switch from the deprecated "use Mix.config" to "import Config"
pirms 3 gadiem
Alex Gleason
e3173a279d
Put Plugs in runtime mode in :dev, :test to speed up recompilation
pirms 3 gadiem
Mark Felder
db7d6f337f
Avoid unnecessary 500ms sleeps from CommonAPI.follow when the target user is remote
pirms 3 gadiem
Mark Felder
5627f3642f
Not needed in test.exs
pirms 3 gadiem
lain
c7cd9bd591
Password: Add password module
Replaces Pbkdf2.
pirms 3 gadiem
Mark Felder
8b28dce82a
Deprecate Pleroma.Uploaders.S3, :public_endpoint
pirms 3 gadiem
lain
8e5904daa5
SideEffects.DeleteTest: asyncify.
Replace Mock with Mox, mock out Logger.
pirms 3 gadiem
lain
5db1e6c8d3
Pipeline test: Switch from Mock to Mox.
Speeds up the test and makes it possible to run async.
pirms 3 gadiem
lain
ecd39a8fe5
Test config: Raise pool size for postgres.
Given all the async tests, this can become a bottleneck.
pirms 3 gadiem
lain
95a9bdfc37
Tests: Use NullCache for async tests.
Caching can't work in async tests, so for them it is mocked to a
null cache that is always empty. Synchronous tests are stubbed
with the real Cachex, which is emptied after every test.
pirms 3 gadiem
Alexander Strizhakov
94480c6607
removing fed sockets settings
pirms 3 gadiem
Alexander Strizhakov
3be8ab5103
RemoteIp module name
pirms 4 gadiem
Alexander Strizhakov
cbdaabad34
web push http_client fix
pirms 3 gadiem
Steven Fuchs
f2ef9735c5
Federate data through persistent websocket connections
pirms 3 gadiem
Haelwenn (lanodan) Monnier
788dececff
test: remove extraneous :instances_favicons config bits
pirms 3 gadiem
rinpatch
ce3474f4d3
Disable favicon scraping in tests
pirms 3 gadiem
Alexander Strizhakov
696bf09433
passing adapter options directly without adapter key
pirms 3 gadiem
lain
52a79506c7
Test config: Default to filename for descriptions
pirms 3 gadiem
lain
988ca4ab6a
Test Config: Don't have any MRFs by default
pirms 3 gadiem
Maksim Pechnikov
61ef1fca4b
remove duplicate module
pirms 3 gadiem
Alexander Strizhakov
b376442325
MediaProxy whitelist setting now supports hosts with scheme
added deprecation warning about using bare domains
pirms 4 gadiem
Haelwenn (lanodan) Monnier
312fc55f14
Add [:instances_favicons, :enabled] setting, defaults to false
pirms 4 gadiem
Maksim Pechnikov
a8d967762e
migrate to oban 2.0-rc1
pirms 4 gadiem
Maksim
3d0c567fbc
Pleroma.Web.TwitterAPI.TwoFactorAuthenticationController -> Pleroma.Web.PleromaAPI.TwoFactorAuthenticationController
pirms 4 gadiem
Egor Kislitsyn
1cb89aac1e
Enable strict validation mode in dev and test environments
pirms 4 gadiem
rinpatch
c46d035f7b
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
pirms 4 gadiem
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
pirms 4 gadiem
Alexander Strizhakov
884d9710b2
refactoring for gun api modules
pirms 4 gadiem
Ivan Tashkinov
6f2efb1c45
Runtime configurability of RateLimiter. Refactoring. Disabled default rate limits in tests.
pirms 4 gadiem
Alexander Strizhakov
514c899275
adding gun adapter
pirms 4 gadiem
Alexander Strizhakov
bfd16fe41e
set oban crontab to false in tests
pirms 4 gadiem
Egor Kislitsyn
aa0f0d4edd
Disable NewUsersDigestEmail by default
pirms 4 gadiem
Egor Kislitsyn
fc484e5ce6
Add Kocaptcha endpoint to config.exs
pirms 4 gadiem
Egor Kislitsyn
8d242f52d4
Revert "Add default endpoint to Pleroma.Captcha.Kocaptcha"
This reverts commit 82c62c5028
.
pirms 4 gadiem
Egor Kislitsyn
82c62c5028
Add default endpoint to Pleroma.Captcha.Kocaptcha
pirms 4 gadiem
rinpatch
3ecdd13bb2
Add Kocaptcha endpoint to the test config
pirms 4 gadiem
Egor Kislitsyn
470a3a678d
Add Kocaptcha endpoint to the test config
pirms 4 gadiem
stwf
63ffa0e3ed
try local sheduling
pirms 4 gadiem
Egor Kislitsyn
a75d4a41e0
Add a test for custom runtime modules
pirms 4 gadiem
Maksim Pechnikov
a4f834a687
moved DigestEmail to Oban Periodic jobs
pirms 4 gadiem
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.
pirms 4 gadiem
Mark Felder
c65190c799
Console backend's log format should be prefixed and suffixed with newlines.
This is how upstream does it by default.
pirms 4 gadiem
Mark Felder
1c17f18329
Be specific about format for logs in test as we have tests that check it
pirms 4 gadiem
Mark Felder
cb513a599c
Allow test builds to have info and debug logs stripped
pirms 4 gadiem
Mark Felder
ff9133b978
Allow mix tasks to always run with debug logging
pirms 4 gadiem
Ekaterina Vaartis
7e4c8b56ea
Add tests for emoji pack sharing
pirms 4 gadiem
Ivan Tashkinov
a90ea8ba15
[ #1149 ] Addressed code review comments (code style, jobs pruning etc.).
pirms 4 gadiem
Ivan Tashkinov
581123f8bb
[ #1149 ] Introduced `quantum` job scheduler. Documentation & config changes.
pirms 4 gadiem
Egor Kislitsyn
8d899d6197
Add `:ap_routes` rate limit
pirms 4 gadiem
Ivan Tashkinov
23d279e03e
[ #1149 ] Replaced RetryQueue with oban-based retries.
pirms 4 gadiem