Commit Graph

12 Commits

Author SHA1 Message Date
Karina Kwiatek b02375985a Add option to send question to own inbox 2023-12-11 23:14:58 +01:00
Karina Kwiatek aaee04b5ed Restore `QuestionWorker` for compatibility during upgrade
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2023-12-11 19:54:56 +01:00
Karina Kwiatek 83ac156382 Refactor `QuestionWorker` to send to individual users rather than all followers at once 2023-11-01 08:45:56 +01:00
Georg Gadinger 9fadeea3fe rubodog 2023-02-13 22:17:46 +01:00
Georg Gadinger bc6806aa89 initial metrics 2023-02-13 22:17:46 +01:00
Georg Gadinger 86441cda57 rubodog 2023-01-02 09:24:34 +01:00
Georg Gadinger 9d38292d4a question/create_followers: fix incrementing asked_count 2023-01-02 09:20:59 +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 a8e99723cc Return hashes from question use cases 2022-07-30 15:40:37 +02:00
Andreas Nedbal bea98fa917 Always set follower created questions to not be direct explicitly 2022-07-24 22:24:24 +02:00
Karina Kwiatek 22a66f4d1a Fix lint errors 2022-07-17 10:05:20 +02:00
Karina Kwiatek d9ff4d5765 Refactor Ajax::QuestionController#create into separate UseCases
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-17 10:05:20 +02:00