Commit graph

2098 commits

Author SHA1 Message Date
Karina Kwiatek
6e61e0cabe Deduplicate shared logic in TimelineController 2022-07-21 16:08:51 +02:00
Karina Kwiatek
fa712a547f Update pagination to match template changes 2022-07-20 23:21:21 +02:00
Karina Kwiatek
0e2e2f35e1 Remove list styling from notification list 2022-07-20 23:21:21 +02:00
Karina Kwiatek
84abd1226d Use only card classes 2022-07-20 23:21:21 +02:00
Karina Kwiatek
7c96627106 Add card to empty notifications list 2022-07-20 23:21:21 +02:00
Karina Kwiatek
83e0f7a711 Place notifications in individual cards 2022-07-20 23:21:21 +02:00
Karina Kwiatek
9a79670e53 Appease the dog overlords 2022-07-20 21:46:41 +02:00
Karina Kwiatek
5a33c77c3a Prevent notification content from overflowing outside the container 2022-07-20 21:46:41 +02:00
Karina Kwiatek
e8f20d1fd8 Restore missing modifiers to notifications badge 2022-07-20 21:46:41 +02:00
Karina Kwiatek
c4b241f9e1 Prevent notifications dropdown from going off-screen 2022-07-20 21:46:41 +02:00
Andreas Nedbal
7623213f96 Remove priority action views and links 2022-07-19 22:53:50 +02:00
Andreas Nedbal
fafefc3dc0 Remove priority action from ModerationController 2022-07-19 22:53:50 +02:00
Andreas Nedbal
67b6847311 Remove links to ip action from views 2022-07-19 22:53:50 +02:00
Andreas Nedbal
94bd339671 Remove ip action from ModerationController 2022-07-19 22:53:50 +02:00
Andreas Nedbal
cbd9106a87 Remove ModerationComment model, relations and methods 2022-07-19 11:17:45 +02:00
Andreas Nedbal
5c3d003c2b Remove moderation comment functionality from TypeScript 2022-07-19 11:17:45 +02:00
Andreas Nedbal
b7bdf2de02 Remove comment functionality from Ajax::ModerationController 2022-07-19 11:17:45 +02:00
Andreas Nedbal
4df4e41a47 Remove moderation comments from report view 2022-07-19 11:17:45 +02:00
Karina Kwiatek
8d8c07371f Remove FAQ action
This was removed a while ago
2022-07-18 23:24:05 +02:00
Karina Kwiatek
977ebdfe4d Appease the dog overlords 2022-07-18 23:24:05 +02:00
Karina Kwiatek
6344b55b44 Move public & list timelines into TimelineController 2022-07-18 23:24:05 +02:00
Karina Kwiatek
98d7bec924 Move link filter into its own controller 2022-07-18 23:24:05 +02:00
Karina Kwiatek
7abdac2d8a Move About, ToS & Privacy Policy into AboutController 2022-07-18 23:24:05 +02:00
Karina Kwiatek
f3b58c1d33 Split front page into separate actions 2022-07-18 23:24:05 +02:00
Andreas Nedbal
e283648ce0 Remove ModerationVote model, relations and methods 2022-07-18 23:10:07 +02:00
Andreas Nedbal
3cabd39b89 Remove vote functionality from TypeScript 2022-07-18 23:10:07 +02:00
Andreas Nedbal
43af4acb2c Remove vote functionality from Ajax::ModerationController 2022-07-18 23:10:07 +02:00
Andreas Nedbal
4ab391a09e Remove moderation vote from report view 2022-07-18 23:10:07 +02:00
Karina Kwiatek
7fdb2168a6 Move web app manifest into its own controller 2022-07-18 23:09:53 +02:00
Karina Kwiatek
5bd186bbe2 Deduplicate navigation dropdowns; Restore notification dropdown to mobile 2022-07-18 23:09:53 +02:00
Karina Kwiatek
159ce5c2ae Remove trailing comma 2022-07-18 23:09:53 +02:00
Karina Kwiatek
52d4efbd03 Use maskable icons for Apple web app icon 2022-07-18 23:09:53 +02:00
Karina Kwiatek
c384dde809 Split up web app manifest action 2022-07-18 23:09:53 +02:00
Karina Kwiatek
b3092d2070 Add PWA metadata endpoint and icons 2022-07-18 23:09:53 +02:00
Karina Kwiatek
4f88b82361 Use null-safe navigation for denotify 2022-07-17 21:21:37 +02:00
Andreas Nedbal
851c74f228 Fix logged-out users sending wrong data to question endpoint 2022-07-17 10:05:20 +02:00
Karina Kwiatek
5d542161a0 Add tests for question create use case 2022-07-17 10:05:20 +02:00
Karina Kwiatek
0e9be78588 Create use case for deleting questions 2022-07-17 10:05:20 +02:00
Karina Kwiatek
72906ca549 Fix lint errors 2022-07-17 10:05:20 +02:00
Karina Kwiatek
1216c249e8 Return different responses for use case errors 2022-07-17 10:05:20 +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
Andreas Nedbal
2722f4fffb Fix comment notifications displaying escaped HTML 2022-07-17 09:40:47 +02:00
Andreas Nedbal
ca2cf727e1 Require user param for ListController#create 2022-07-17 09:40:34 +02:00
Andreas Nedbal
47120e8d24 Appease the dog overlords 2022-07-17 09:40:34 +02:00
Andreas Nedbal
a5b6ef07d3 Refactor Ajax::ListController
* remove inline authentication checks and use before_action instead
* remove begin/rescue catches as those are handled by the base controller and validations now
2022-07-17 09:40:34 +02:00
Andreas Nedbal
a3f80380dd Adjust validations for List 2022-07-17 09:40:34 +02:00
Karina Kwiatek
e1e45b04a3 Use double quotes instead of single quotes 2022-07-16 21:29:20 +02:00
Karina Kwiatek
c59a70844b Display if a context question has been deleted when viewing anon blocks 2022-07-16 21:29:20 +02:00
Karina Kwiatek
8005fc8ae6 Skip denotify if recipient doesn't exist 2022-07-16 21:29:20 +02:00