Karina Kwiatek
c919b4913f
Merge branch 'main' into feature/long-questions
2023-01-11 22:24:58 +01:00
Georg Gadinger
1ef9fadf69
add specs for version bump rake task
2023-01-11 21:18:07 +01:00
Karina Kwiatek
8bff5f6494
Bump version to 2023.0111.0
2023-01-11 12:37:11 +01:00
Andreas Nedbal
00e677886f
Prevent global anon blocks blocking every anon question with a user
2023-01-11 01:47:32 +01:00
Karina Kwiatek
3a6814b908
Respect allow long questions setting
2023-01-08 14:03:54 +01:00
Georg Gadinger
b6121b16f0
Merge pull request #929 from Retrospring/locale-gen
...
re-enable locale switching, add rake task to generate testing locales
2023-01-06 12:47:49 +00:00
Georg Gadinger
68f5fad5f8
tasks/locale: add some more substitutions
...
Co-authored-by: Karina Kwiatek <kjk@kjk.dog>
2023-01-06 13:00:30 +01:00
Georg Gadinger
bbdc3ac652
tasks/locale: define substituted characters in a hash
...
reducing code by adding moar!
2023-01-06 12:56:20 +01:00
Georg Gadinger
6dbed2a43a
add rake task to generate testing locales
2023-01-05 15:19:41 +01:00
Karina Kwiatek
992f31676c
Bump version to 2023.0105.2
2023-01-05 14:34:57 +01:00
Karina Kwiatek
00d25c0aff
Bump version to 2023.0105.1
2023-01-05 12:54:25 +01:00
Karina Kwiatek
95f0ad5779
Bump version to 2023.0105.0
2023-01-05 12:34:00 +01:00
Karina Kwiatek
45ceb27795
Bump version to 2023.0102.1
2023-01-02 13:53:52 +01:00
Karina Kwiatek
d403cdde75
Prevent error when creating questions
...
This error didn't prevent the question from being sent.
2023-01-02 13:51:02 +01:00
Karina Kwiatek
7ffd07a959
Bump version to 2023.0102.0
2023-01-02 13:07:10 +01:00
Karina Kwiatek
cc1c262256
Merge pull request #678 from Retrospring/feature/webpush
...
WebPush support
2023-01-02 11:57:34 +00:00
Karina Kwiatek
8178d75a57
Add use cases for creating and destroying mute rules
2023-01-02 12:45:35 +01:00
Karina Kwiatek
ee9c48fd06
Clean up question create use case
2023-01-02 11:50:48 +01:00
Karina Kwiatek
10c224b2fe
Address review comments from @nilsding
...
Co-authored-by: nilsding <nilsding@nilsding.org>
2023-01-02 11:50:48 +01:00
Karina Kwiatek
062e293607
Fix missing namespace qualifier for Rpush
2023-01-02 11:50:48 +01:00
Karina Kwiatek
93d4af3f0d
Deduplicate notification sending logic and replace placeholder string
2023-01-02 11:50:47 +01:00
Karina Kwiatek
8b98c278da
Send push notifications on question create
2023-01-02 11:50:47 +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
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