Commit graph

408 commits

Author SHA1 Message Date
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
43af4acb2c Remove vote functionality from Ajax::ModerationController 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
159ce5c2ae Remove trailing comma 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
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
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
Karina Kwiatek
d9f82c4985 Disallow deletion of accounts when a data export is pending 2022-07-16 21:29:20 +02:00
Andreas Nedbal
9fc3e535d2 Apply review suggestion from @raccube
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-07-06 21:54:34 +02:00
Andreas Nedbal
73ac742332 Add translations for ajax controller error handling 2022-07-06 21:54:34 +02:00
Andreas Nedbal
6d4478b7c4 Remove subscription ajax controller locales 2022-07-06 21:54:34 +02:00
Andreas Nedbal
e670a50adf Add translations for report ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
9460bcfdd7 Add translations for answer ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
80172d0852 Add translations for question ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
2237ff8f04 Add translations for moderation ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
e6e7780142 Add translations for list ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
1c31ff41db Add translations for inbox ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
15946740eb Add translations for comment ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
7381a685ac Add translations for smile ajax controller 2022-07-06 21:54:34 +02:00
Andreas Nedbal
34de119bb1 Add translations for block/relationship ajax controllers 2022-07-06 21:54:34 +02:00
Karina Kwiatek
e7112f0244 Use dependent: :destroy_async instead of DeletionWorker 2022-07-06 20:58:53 +02:00
Karina Kwiatek
1ec99dd767 Appease the dog overlords 2022-07-06 19:56:04 +02:00
Karina Kwiatek
9bcf1a80ad Merge author_name with author_identifier 2022-07-06 19:56:04 +02:00
Karina Kwiatek
19dcb96dcd Update remaining usages of Smile/CommentSmile 2022-07-05 23:23:37 +02:00
Karina Kwiatek
08e5764bf3 Appease the dog overlords 2022-07-05 23:23:37 +02:00
Karina Kwiatek
f20e407cc3 Fix notifications page crashing on reactions 2022-07-05 23:23:37 +02:00
Karina Kwiatek
0cfe5ee964 Replace usages of smiles with reaction appendables 2022-07-05 23:23:37 +02:00
Andreas Nedbal
565f7e4536 Move data action into Settings::DataController 2022-07-05 20:40:19 +02:00
Andreas Nedbal
72d37032e6 Move block action into Settings::BlocksController 2022-07-05 20:40:19 +02:00
Andreas Nedbal
a4bc137aca Move mute action into Settings::MutesController 2022-07-05 20:40:19 +02:00
Andreas Nedbal
fcd1da40a1 Move 2FA settings actions into OtpAuthenticationController 2022-07-03 18:32:36 +02:00
Andreas Nedbal
58d91c9c46 Improve export processing condition on index view 2022-07-02 16:36:14 +02:00
Andreas Nedbal
2ee3aab14d Move export actions into Settings::ExportController 2022-07-02 16:36:14 +02:00
Andreas Nedbal
8cf6be8067 Move privacy actions from user controller to Settings::PrivacyController 2022-06-28 23:20:11 +02:00
Andreas Nedbal
a1ee29d826 Require being logged in to view /settings/blocks 2022-06-26 23:54:55 +02:00
Andreas Nedbal
52de0cddb0 Remove old authentication checks in UserController 2022-06-26 22:45:52 +02:00
Andreas Nedbal
8141db2ca7 Move profile picture actions to Settings::ProfilePictureController 2022-06-26 22:45:52 +02:00
Andreas Nedbal
efa0048c87 WIP: Move profile actions to Settings::ProfileController 2022-06-26 22:45:52 +02:00
Karina Kwiatek
1b09d51443 Add toggle for moderation view 2022-06-26 21:07:28 +02:00
Karina Kwiatek
a533f68c65 Adjust exporter and user count to match new ban system 2022-06-26 18:32:18 +02:00