Andreas Nedbal
6d1aa013f9
Clean up records of banned users
...
* Inbox entries for their questions get removed
* All reports related to them get resolved
2025-03-09 19:42:44 +01:00
Georg Gadinger
9413d23a02
let Zeitwerk autoload the lib/
directory
...
this also allows the UseCase classes to be hot reloaded in dev 🎉
- remove use_case requires (except for the exporter as Zeitwerk
doesn't know about the subclasses)
- move version.rb to lib/retrospring so that Zeitwerk knows where
to find Retrospring::Version
2022-12-29 20:57:28 +01:00
Karina Kwiatek
050d7d5b56
Return hashes from user ban use cases
2022-07-30 15:40:37 +02:00
Karina Kwiatek
3247d1c746
Move ban invalidation to User#unban
method
2022-06-26 18:32:18 +02:00
Karina Kwiatek
94aec26588
Move ban creation to User#ban
method
2022-06-26 18:32:18 +02:00
Karina Kwiatek
7677ed21a4
Update tests for unbanning users
2022-01-02 19:50:44 +01:00
Karina Kwiatek
6500d7ac71
Update usages of bans
2022-01-02 19:50:44 +01:00
Karina Kwiatek
9a35584284
Refactor ban-related functionality into use cases
2022-01-02 19:50:01 +01:00