Andreas Nedbal
3bb91932b5
Appease the robot dog
2022-08-21 01:13:10 +02:00
Andreas Nedbal
3f7a94d56c
Move actions from `ModerationController` to `Moderation::ReportsController`
2022-08-21 01:13:10 +02:00
Karina Kwiatek
4814ccdaa5
Use null-safe navigation for destroying inbox entries when blocking
2022-08-20 19:18:28 +02:00
Karina Kwiatek
2d01d9b365
Apply review suggestions
...
Co-authored-by: Andreas Nedbal <git@pixelde.su>
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-08-20 19:05:55 +02:00
Karina Kwiatek
92a5095c00
Appease the robot canine
2022-08-20 19:05:55 +02:00
Karina Kwiatek
136eac8bdd
Add page for managing site-wide anonymous-blocks
2022-08-20 19:05:55 +02:00
Georg Gadinger
b41983a2bf
Disgustingly merge pull request #598 from Retrospring/feature/norway
...
Add new translations in various places
2022-08-20 17:22:37 +02:00
Andreas Nedbal
6693864fbc
Move `belongs_to_current_user?` to UserController
2022-08-20 17:21:47 +02:00
Andreas Nedbal
87c2ed3ab7
List direct questions for current users or mods
2022-08-20 17:21:47 +02:00
Andreas Nedbal
14221aea71
Fix legacy locale references
2022-08-02 19:13:23 +02:00
Karina Kwiatek
9634aeda62
Fix missing translation in webapp manifest
2022-07-31 23:19:42 +02:00
Karina Kwiatek
abaa33a664
Merge pull request #591 from Retrospring/translation-cleanup
...
Translation cleanup
2022-07-30 20:37:04 +02:00
Karina Kwiatek
a03fe85b33
Re-word strings used in `ServicesController`
2022-07-30 19:01:49 +02:00
Andreas Nedbal
628959d754
Appease the reviewdog overlords
2022-07-30 18:29:32 +02:00
Andreas Nedbal
54e072c98c
Use notification types instead of target types to clear them
2022-07-30 18:14:48 +02:00
Andreas Nedbal
4c67a9b492
Use full locale path for ban flash message
2022-07-30 16:51:07 +02:00
Andreas Nedbal
27eaef45ef
Appease the reviewdog overlords
2022-07-30 16:51:07 +02:00
Andreas Nedbal
39639c2d85
Add new translations for ban flash message
2022-07-30 16:51:07 +02:00
Andreas Nedbal
83dbd5d2e3
Don't list direct questions on user profiles
2022-07-24 21:56:03 +02:00
Karina Kwiatek
6089c57a20
Appease the dog overlords
2022-07-22 16:52:42 +02:00
Karina Kwiatek
0992d44aef
Filter notifications by target type
2022-07-22 16:52:42 +02:00
Karina Kwiatek
d794a69729
Add translation for Public Timeline title
2022-07-21 16:08:51 +02:00
Karina Kwiatek
6e61e0cabe
Deduplicate shared logic in `TimelineController`
2022-07-21 16:08:51 +02:00
Andreas Nedbal
fafefc3dc0
Remove priority action from `ModerationController`
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
b7bdf2de02
Remove comment functionality from `Ajax::ModerationController`
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
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
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
Karina Kwiatek
7e98f427c6
Add endpoint for removing anon blocks
2022-06-15 14:26:48 +02:00
Karina Kwiatek
f379845615
Add frontend for blocking anonymous users
2022-06-15 14:26:48 +02:00
Karina Kwiatek
4e80b4f9ab
Prevent anon questions from being sent while blocked
2022-06-15 14:26:48 +02:00
Karina Kwiatek
1a68c1b46f
Rename `author_email` field to `author_identifier`
2022-06-15 14:26:48 +02:00
Karina Kwiatek
37732ff926
Expose `AjaxController` errors in dev envirnoments
2022-06-13 23:27:54 +02:00
Karina Kwiatek
c8b6689a61
Fix error messages for reacting & listing errors
2022-06-13 11:56:34 +02:00
Karina Kwiatek
6a15a323cf
Add tests for reacting to comments while blocked/blocking
2022-06-13 11:56:34 +02:00
Karina Kwiatek
0eb3f53b45
Add tests for asking questions while blocked
2022-06-13 11:56:34 +02:00
Karina Kwiatek
04243c2ec8
Appease the dog overlords
2022-06-13 11:56:34 +02:00