Commit Graph

158 Commits

Author SHA1 Message Date
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
Andreas Nedbal 00959a8645 add exporting of mute relationships 2023-01-01 22:42:50 +01:00
Andreas Nedbal 8017d97784 Don't receive questions from muted users 2023-01-01 22:42:50 +01:00
Andreas Nedbal 409c8372ba Add mute action support in user action handler 2023-01-01 22:42:50 +01:00
Andreas Nedbal 361b8df798 Add mute relationship and user methods 2023-01-01 22:42:50 +01:00
Georg Gadinger 6e30bc73cf let Zeitwerk handle the requiring of data export use cases 2022-12-29 20:57:28 +01:00
Georg Gadinger 6e54b4daba remove requires for types
autoloaded by zeitwerk
2022-12-29 20:57:28 +01:00
Georg Gadinger fb07eda972 remove errors 2022-12-29 20:57:28 +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
Andreas Nedbal 099665022f Use `id` from `source_user` inside query
With the proper presence check using `source_user_id` we guarantee `source_user` is there, and so we can use it like in the other query
2022-12-28 00:10:59 +01:00
Andreas Nedbal 97736a956d Track question users in anonymous blocks 2022-12-28 00:10:59 +01:00
Georg Gadinger 01974fcf1e Bump version to 2022.1225.0 2022-12-25 13:47:13 +00:00
Georg Gadinger 9895782a02 data_export/user: remove rescue since local image handling works now for sure 2022-12-22 17:29:38 +01:00
Georg Gadinger 3e143954e3 data_export: yeet inbox_entries 2022-12-10 15:47:54 +01:00
Georg Gadinger 2b3e7ab609 add specs for new exporters 2022-12-10 03:28:17 +01:00
Georg Gadinger 4229c7f579 first draft of the new data exporter 2022-12-10 00:39:50 +01:00
Karina Kwiatek ebc3319eb2 Bump version to 2022.1204.0 2022-12-04 23:50:08 +01:00
Karina Kwiatek 854b2fd5c6 Use `Rails.public_path.join` 2022-12-04 23:48:21 +01:00
Karina Kwiatek 5b29c78496 Fix exporter creating empty archives 2022-12-04 23:48:21 +01:00
Karina Kwiatek 31e5e30e15 Bump version to 2022.1120.0 2022-11-20 15:12:51 +01:00
Karina Kwiatek fe6a03bfaf Prevent exports crashing out if a related object is nil 2022-11-20 12:30:37 +01:00
Karina Kwiatek a62704c61e Bump version to 2022.1114.0 2022-11-14 20:08:44 +01:00
Andreas Nedbal 3cefc829f8
Merge branch 'main' into feature/privacy-require-user 2022-11-13 17:27:53 +01:00
Andreas Nedbal 9393374eab `LoginRequired` -> `NotAuthorized` 2022-11-13 14:38:11 +01:00
Andreas Nedbal 16c6e7c096 Show message in questionbox that users need to log in 2022-11-13 14:27:33 +01:00
Andreas Nedbal 32d270113d Check for users being logged in if a user requires it in questions 2022-11-13 14:26:49 +01:00
Andreas Nedbal fa12b19b8a Prevent questions being sent to users that lock their inbox 2022-11-06 15:01:01 +01:00
Karina Kwiatek 7ee0aff7d9 Bump version to 2022.1026.0 2022-10-26 11:37:53 +02:00
Karina Kwiatek 3062741487 Bump version to 2022.1025.0 2022-10-25 21:11:17 +02:00
Karina Kwiatek 0b625453e7 Bump version to 2022.1012.0 2022-10-12 09:02:16 +02:00
Karina Kwiatek 41a338599d Bump version to 2022.1011.0 2022-10-11 23:35:57 +02:00
Karina Kwiatek fbabae9f51 Bump version to 2022.0831.2 2022-08-31 20:21:01 +02:00
Karina Kwiatek 3599dac506 Bump version to 2022.0831.1 2022-08-31 19:45:01 +02:00
Karina Kwiatek b0799f07cd Bump version to 2022.0831.0 2022-08-31 16:27:25 +02:00
Karina Kwiatek e12d5da249 Bump version to 2022.0821.0 2022-08-21 20:02:43 +02:00
Karina Kwiatek 74e309e9fc Apply anonymous blocks without an owner as global 2022-08-20 19:02:37 +02:00
Karina Kwiatek dec147a5d9 Bump version to 2022.0804.2 2022-08-04 21:10:55 +02:00
Karina Kwiatek 9a59980df8 Bump version to 2022.0804.1 2022-08-04 15:48:45 +02:00
Karina Kwiatek 33fdf1e394 Bump version to 2022.0804.0 2022-08-04 15:36:39 +02:00
Karina Kwiatek d9a2e7dde8
Merge pull request #559 from Retrospring/return-hashes-from-use-cases 2022-07-31 10:30:14 +02:00
Karina Kwiatek bd41bc171a Bump version to 2022.0731.1 2022-07-31 02:40:56 +02:00
Karina Kwiatek 06eec43051 Bump version to 2022.0731.0 2022-07-31 02:19:40 +02:00
Karina Kwiatek 481333d9dc Bump version to 2022.0730.0 2022-07-30 20:45:36 +02:00
Karina Kwiatek 050d7d5b56 Return hashes from user ban use cases 2022-07-30 15:40:37 +02:00
Karina Kwiatek a8e99723cc Return hashes from question use cases 2022-07-30 15:40:37 +02:00
Karina Kwiatek 2243a3ff99 Bump version to 2022.0725.0 2022-07-25 20:51:25 +02:00
Andreas Nedbal ed69d84d48
Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-07-24 22:45:04 +02:00
Andreas Nedbal 2692783518 Turn direct setting into an option for the use case 2022-07-24 22:24:48 +02:00
Andreas Nedbal bea98fa917 Always set follower created questions to not be direct explicitly 2022-07-24 22:24:24 +02:00