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