Andreas Nedbal
|
63922efb1b
|
Fix rubocop nits
|
2024-01-22 19:51:06 +01:00 |
Andreas Nedbal
|
1ac767902b
|
Add more generic implementation of inbox filtering
|
2024-01-22 19:51:06 +01:00 |
Andreas Nedbal
|
d303b5b18e
|
Use `attr_accessor` for `Answer` object properties
|
2024-01-19 22:06:27 +01:00 |
Andreas Nedbal
|
9f823b3dd4
|
Fix rubocop nits
|
2024-01-14 16:03:38 +01:00 |
Andreas Nedbal
|
8b55b2fe81
|
Fix anonymous block model associations
|
2024-01-14 16:03:38 +01:00 |
Karina Kwiatek
|
539868173c
|
Fix `has_reacted` and `is_subscribed` not being set
|
2023-12-19 13:45:25 +01:00 |
Karina Kwiatek
|
13d69cfd43
|
Fix render error on answer create
|
2023-12-09 18:05:50 +01:00 |
Karina J. Kwiatek
|
3c7940ae1b
|
Merge pull request #1482 from Retrospring/task/cache-ban-state
Cache ban state
|
2023-12-09 01:14:10 +01:00 |
Andreas Nedbal
|
93958cb9fd
|
Throw error when unsmile target reaction doesn't exist
|
2023-12-09 00:59:14 +01:00 |
Karina Kwiatek
|
8cab7b0dcc
|
Cache ban state
|
2023-11-27 22:30:10 +01:00 |
Karina Kwiatek
|
8facb44af7
|
Fix lint errors
|
2023-11-27 22:14:21 +01:00 |
Karina Kwiatek
|
b55e6da9a5
|
Use subqueries to check reaction/subscription state
|
2023-11-26 19:32:50 +01:00 |
Andreas Nedbal
|
1e29d3f86f
|
Rename `Appendable::Reaction` to `Reaction`
|
2023-10-28 02:44:48 +02:00 |
Karina Kwiatek
|
65e802f51d
|
Stop eager loading comments and smiles
|
2023-10-22 21:51:21 +02:00 |
Karina Kwiatek
|
491fb359d2
|
Ensure user profiles and questions are eager loaded
|
2023-10-22 19:54:51 +02:00 |
Georg Gadinger
|
c4da510fe7
|
fix deletion of notification entries when deleting a user
|
2023-10-18 22:13:25 +02:00 |
Georg Gadinger
|
a85ce45b25
|
appease the paw patrol
|
2023-10-18 21:57:09 +02:00 |
Georg Gadinger
|
8a26232fe6
|
bad dog
|
2023-10-18 21:53:30 +02:00 |
Georg Gadinger
|
dc41f15097
|
fix deletion of inbox entries when deleting an user
|
2023-10-18 21:52:47 +02:00 |
Andreas Nedbal
|
ffcaa5c4d9
|
Remove superfluous rubocop:disable comments
|
2023-10-15 10:42:58 +02:00 |
Andreas Nedbal
|
f6e26f1751
|
Remove superfluous rubocop:disable comments
|
2023-10-15 10:42:58 +02:00 |
Andreas Nedbal
|
f3f8e99045
|
Use `length` validation instead of `presence` for `MuteRule`
|
2023-10-15 10:16:21 +02:00 |
Karina Kwiatek
|
d39f37072d
|
Fix lint errors
|
2023-08-18 19:43:59 +02:00 |
Karina Kwiatek
|
54ac832c91
|
Ensure inbox caching timestamp gets updated when answering questions and returning to inbox
|
2023-08-16 21:57:31 +02:00 |
Karina Kwiatek
|
ece64669a1
|
Update caching timestamps in model events
|
2023-06-16 18:18:40 +02:00 |
Karina Kwiatek
|
f1863e5309
|
Fix notification created_at not being set for comment notifications
|
2023-05-26 20:39:19 +02:00 |
Karina Kwiatek
|
50531d3b6b
|
Cache notifications dropdown based on `notifications_updated_at`
|
2023-05-07 12:47:29 +02:00 |
Karina Kwiatek
|
4221f8cee9
|
Fix incorrect user being notified and mutes not being respected
|
2023-05-05 16:01:48 +02:00 |
Karina Kwiatek
|
9c4b2e452a
|
Prevent error when no one is subscribed
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
b93058b11d
|
Fix remaining lint errors
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
fb83f48adf
|
Fix lint errors
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
36d59d100e
|
Remove unused `destruct_by` method
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
f73fc87991
|
Simplify `notify` and `denotify` methods
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
0132d7b251
|
Remove usages of `is_active`
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
904eab8daa
|
Remove now unused `is_subscribed` method
|
2023-05-05 16:01:40 +02:00 |
Karina Kwiatek
|
55090a42f8
|
Merge pull request #1148 from Retrospring/moar-metrics
metrics: add counter for created/destroyed users
|
2023-04-29 09:54:53 +02:00 |
Georg Gadinger
|
a9cf00f75e
|
metrics: add counter for created/destroyed users
|
2023-03-29 08:01:35 +02:00 |
Georg Gadinger
|
6f59abe9dd
|
Update app/models/user/relationship/mute.rb
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
|
2023-03-26 18:28:19 +02:00 |
Georg Gadinger
|
1ffa2e5125
|
filter out non-anon questions from blocked/muted users in questions view
|
2023-03-26 18:28:19 +02:00 |
Georg Gadinger
|
920187bc88
|
filter out non-anon questions from blocked/muted users in public timeline
|
2023-03-26 18:28:19 +02:00 |
Georg Gadinger
|
f1a1321a25
|
filter out non-anon questions from blocked/muted users in list timeline
|
2023-03-26 18:28:19 +02:00 |
Georg Gadinger
|
765397d813
|
filter out non-anon questions from blocked/muted users in home timeline
|
2023-03-26 18:28:19 +02:00 |
Karina Kwiatek
|
3c052e9e0e
|
Fix trivial lint issues
|
2023-03-07 19:14:20 +01:00 |
Karina Kwiatek
|
b93453dee4
|
Remove eager load from notifications
Unsure of how this managed to work before but eager loading polymorphic associations is not possible in this way.
|
2023-03-07 19:14:14 +01:00 |
Karina Kwiatek
|
14379acbd3
|
Fix incorrect access of `unread_inbox_count` in `notification_data`
|
2023-03-07 19:14:14 +01:00 |
Karina Kwiatek
|
68e0f02a2d
|
Adapt tests to match new counter methods
|
2023-03-07 19:14:14 +01:00 |
Karina Kwiatek
|
369ae1b378
|
Update PWA badge on push notification
|
2023-03-07 19:14:14 +01:00 |
Karina Kwiatek
|
1ec5ffa6d2
|
Cache inbox and notification counters
|
2023-03-07 19:14:14 +01:00 |
Karina Kwiatek
|
8cbfd273bc
|
Refactor counters to use `counter_cache`
|
2023-02-24 23:31:38 +01:00 |
Georg Gadinger
|
b937a10096
|
add some more metrics for answers and comments
|
2023-02-13 22:24:52 +01:00 |