Mark Felder
e854c35e65
Convert tests to all use clear_config instead of Pleroma.Config.put
преди 3 години
Mark Felder
f868dcf3ac
Ensure consistent behavior between pleroma.user activate/deactivate mix tasks
преди 3 години
Mark Felder
5e8da27e14
Provide pleroma.user mix task for both activate and deactivate
преди 3 години
Mark Felder
2c0fe2ea9e
Remove toggle_confirmation; require explicit state change
Also cosmetic changes to make the code clearer
преди 3 години
Mark Felder
d36182c088
Change user.confirmation_pending field to user.is_confirmed
преди 3 години
Mark Felder
7516660753
Remove toggle_activation
преди 3 години
Mark Felder
860b5c7804
Change user.deactivated field to user.is_active
преди 3 години
Haelwenn (lanodan) Monnier
c4439c630f
Bump Copyright to 2021
grep -rl '# Copyright © .* Pleroma' * | xargs sed -i 's;Copyright © .* Pleroma .*;Copyright © 2017-2021 Pleroma Authors <https://pleroma.social/ >;'
преди 3 години
lain
e1e7e4d379
Object: Rework how Object.normalize works
Now it defaults to not fetching, and the option is named.
преди 3 години
Haelwenn (lanodan) Monnier
aa848cbd75
pleroma.instance: Fix Exiftool module name
преди 3 години
Alexander Strizhakov
538af14d52
possibility to run rollback in test env
преди 3 години
lain
b17c36c45a
Tests: More test fixes.
преди 3 години
lain
9ba60f70d2
Tests: Make as many tests as possible async.
In general, tests that match these criteria can be made async:
- Doesn't use real Cachex.
- Doesn't write to the Config / Application Environment.
- Uses Mock. Using Mox is fine.
- Uses the streamer.
преди 3 години
lain
b4b68b71fc
Tests: Remove unneeded explicit cachex use.
Only use cachex when we're actually testing it.
преди 3 години
Alexander Strizhakov
cebe3c7def
Fix for dropping posts/notifs in WS when mix task is executed
- start oban in mix tasks with empty queues, plugins and crontab
- fix for update_users_following_followers_counts
- fix for removed logo.png
- typo in resend confirmation emails mix task docs
- fix for uploads mix task (start Majic.Pool)
- fix for creating user mix task (start :fast_html app)
преди 3 години
Mark Felder
e3dd0d45b7
Slip in a test to ensure we can use the atom syntax in mix task arguments
преди 3 години
Ivan Tashkinov
e00c667145
[ #3174 ] Refactoring: ConfigDB fetching functions, ConfigDB tests.
Minor fixes.
преди 3 години
Mark Felder
657002e738
Answer new prompt interactively
преди 3 години
Mark Felder
e379ab8277
Add --force flag for delete and reset commands
Bunch of reorganization and consolidation
преди 3 години
Mark Felder
13947999ad
Use a callback strategy to short circuit the functions and print a nice error
преди 3 години
Mark Felder
3e6d9187a7
Add tests for config dumping
преди 3 години
Egor Kislitsyn
35ba48494f
Stream follow updates
преди 3 години
Haelwenn (lanodan) Monnier
e2f573d68b
pleroma.instance: Fix Exiftool module name
преди 3 години
rinpatch
cc45c69fff
Remove release_env
While taking a final look at instance.gen before releasing I noticed
that the release_env task outputs messages in broken english. Upon
further inspection it seems to have even more severe issues which, in
my opinion, warrant it's at least temporary removal:
- We do not explain what it actually does, anywhere. Neither the task
docs nor instance.gen, nor installation instructions.
- It does not respect FHS on OTP releases (uses /opt/pleroma/config even
though we store the config in /etc/pleroma/config.exs).
- It doesn't work on OTP releases, which is the main reason it exists.
Neither systemd nor openrc service files for OTP include it.
- It is not mentioned in install guides other than the ones for Debian
and OTP releases.
преди 3 години
Maksim Pechnikov
2030ffd490
fix test
преди 3 години
Maksim Pechnikov
20e68b30f0
added generated `pleroma.env`
преди 4 години
Alex Gleason
dc38dc8472
Replace User.toggle_confirmation/1 with User.confirm/1, fixes #2235
преди 3 години
Mark Felder
09be8cb336
Credo
преди 3 години
Alexander Strizhakov
b081080dd9
fixes after rebase
преди 3 години
Alexander Strizhakov
6bf85440b3
mix tasks consistency
преди 4 години
Sergey Suprunenko
75a5dd41ee
Add more tests for Database tasks and DigestEmailWorker
преди 4 години
Ivan Tashkinov
a180c1360e
[ #1149 ] Oban mailer job. Adjusted tests.
преди 4 години
Egor Kislitsyn
4b7f1c6995
Improve digest email template
преди 4 години
Roman Chvanikov
f6036ce3b9
Fix tests
преди 5 години
Roman Chvanikov
bd325132ca
Fix tests
преди 5 години
Roman Chvanikov
3e17610587
Add task to test emails
преди 5 години