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
Karina Kwiatek
0c6d79ce0b
Add `permanent?` method to `UserBan`
2022-06-26 18:32:18 +02:00
Andreas Nedbal
bafe92968d
Adjust usages of route definitions
2022-06-26 17:52:44 +02:00
Andreas Nedbal
54c89d7247
More lint fixes
2022-06-26 17:52:44 +02:00
Andreas Nedbal
417eee2ddc
Appease the dog overlords
2022-06-26 17:52:44 +02:00
Andreas Nedbal
298c7d625e
Move theme actions from `UserController` to `Settings::ThemeController`
2022-06-26 17:52:44 +02:00
Andreas Nedbal
936b49eef0
WIP: Add UI to manage (anonymous) blocks
2022-06-25 15:39:30 +02:00
Karina Kwiatek
be8ba63b95
Add a way for moderators to view user inboxes
2022-06-23 22:17:14 +02:00
Karina Kwiatek
768d360ce7
Add profile setting for anon display name
2022-06-23 21:29:27 +02:00
Karina Kwiatek
e404b61ec1
Sort relationship lists by relationship IDs rather than user IDs
2022-06-18 17:50:41 +02:00
Karina Kwiatek
cca8795b01
Allow anonymous questions to be returned when the user has disabled anonymous questions
...
Fixes #267
2022-06-15 17:49:04 +02:00
Karina Kwiatek
41e476a2f7
Prevent other user's anon blocks from affecting each other
2022-06-15 14:26:48 +02:00
Karina Kwiatek
abd07373e3
Fix double-hashing in `Ajax::AnonymousBlockController#create`
2022-06-15 14:26:48 +02:00
Karina Kwiatek
e660b731d7
Appease the dog overlords
2022-06-15 14:26:48 +02:00