Commit Graph

677 Commits

Author SHA1 Message Date
Jyrki Gadinger ca98b9dd7f move site config from initialiser to own module for potential improvements in how to access common configs when needed ... way better than using `.dig` by hand everywhere i'd say 2024-08-10 01:52:00 +02:00
Jyrki Gadinger 076f71860f herr inspektor, bei allem respekt, gusch herst 2024-08-10 01:52:00 +02:00
Andreas Nedbal 6cc8ebcba3 Add ability to disable registrations 2024-08-10 01:52:00 +02:00
Andreas Nedbal cc7fa787e8 Pass IDs to Reaction usecases instead of user instances
For some wild reason this locally sometimes causes coercion errors in the user instance check, restarting fixes it (temporarily?) so letting the UseCase resolve users is a cleaner solution here.
2024-03-19 22:45:19 +01:00
Andreas Nedbal 92c9ed011f Fix rubocop nits 2024-03-01 23:58:35 +01:00
Andreas Nedbal 34421b34f3 Set `has_new_reports` global in ApplicationController 2024-03-01 23:58:35 +01:00
Andreas Nedbal f3cba7b620 Set `last_reports_visit` when visiting the reports listing 2024-03-01 23:58:35 +01:00
Andreas Nedbal e90b4b8580 Add Bluesky link to sharing options 2024-03-01 21:14:59 +01:00
Andreas Nedbal af666c7733 Fix lint nits 2024-02-28 00:57:26 +01:00
Andreas Nedbal 2db1d998b7 Fix not being able to unset administrator privileges in UI 2024-02-28 00:57:26 +01:00
Andreas Nedbal 50126cc4c4 Implement report filtering interface 2024-02-27 22:55:54 +01:00
Andreas Nedbal d12e3b020e Use `InboxFilter` in `Moderation::InboxController` 2024-01-27 20:28:45 +01:00
Andreas Nedbal 62ba205d3e Fix rubocop nits 2024-01-27 19:21:07 +01:00
Andreas Nedbal 658cb0442b Rename all occurences of associative inbox entry access 2024-01-27 19:21:07 +01:00
Andreas Nedbal 06b2421f2c Rename all occurences of `Inbox` class to `InboxEntry` 2024-01-27 19:21:07 +01:00
Andreas Nedbal fa81ef2ba6 Remove legacy report pagination methods 2024-01-25 20:52:19 +01:00
Andreas Nedbal 311fc0812b Add report filtering capabilities 2024-01-25 20:52:19 +01:00
Andreas Nedbal 05634ae69d Move target user resolving code into `report` method 2024-01-24 21:08:44 +01:00
Andreas Nedbal 27a57e304d Set target user in report action 2024-01-24 21:08:44 +01:00
Andreas Nedbal 1ac767902b Add more generic implementation of inbox filtering 2024-01-22 19:51:06 +01:00
Karina Kwiatek 539868173c Fix `has_reacted` and `is_subscribed` not being set 2023-12-19 13:45:25 +01:00
Karina J. Kwiatek ca2088ba8f
Merge pull request #1513 from Retrospring/fix/image-upload-constraints 2023-12-17 23:13:31 +01:00
Karina J. Kwiatek 60b7c23a8b
Merge pull request #1512 from Retrospring/feature/send-to-own-inbox 2023-12-17 23:13:20 +01:00
Karina Kwiatek 4df74d6ff5 Ensure errors display when updating profile images 2023-12-17 22:58:25 +01:00
Andreas Nedbal acf9595d71 Fix rubocop nits 2023-12-11 23:20:40 +01:00
Andreas Nedbal 66878544bf Disclose permanent ban duration in login notice 2023-12-11 23:20:40 +01:00
Karina Kwiatek b02375985a Add option to send question to own inbox 2023-12-11 23:14:58 +01:00
Karina J. Kwiatek 5d89e21e33
Merge pull request #1442 from Retrospring/refactor/send-to-followers-individually
Split up question worker to send to an individual user rather than to all followers
2023-12-11 20:04:15 +01:00
Karina Kwiatek b2b9826071 Fix lint errors 2023-12-11 19:59:07 +01:00
Karina Kwiatek 64ac18843e Replace usages of `QuestionWorker` 2023-12-11 19:56:50 +01:00
Karina J. Kwiatek 25b5d08889
Merge pull request #1496 from Retrospring/fix/answer-create-render-error
Fix render error on answer create
2023-12-09 18:20:09 +01:00
Karina Kwiatek 13d69cfd43 Fix render error on answer create 2023-12-09 18:05:50 +01:00
Karina Kwiatek 8589ebf2d7 Reformat `DiscoverController` 2023-12-09 14:05:59 +01:00
Karina Kwiatek df1832dc5a Fix NameError in Discover 2023-12-09 14:05:42 +01:00
Andreas Nedbal 8ddfcef259 Fix rubocop nits 2023-12-09 00:59:14 +01:00
Andreas Nedbal a00d268f56 Move target class code into a private method 2023-12-09 00:59:14 +01:00
Andreas Nedbal 4e434dd268 Remove legacy SmileController 2023-12-09 00:59:14 +01:00
Andreas Nedbal 9872d3aace Implement reaction create/destroy with Turbo Streams 2023-12-09 00:59:14 +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
Karina Kwiatek f91d2f2d7f Pre-emptively fetch answer reaction state 2023-11-07 22:53:10 +01:00
Andreas Nedbal 80b0df1ddd
Merge branch 'main' into task/refactor-comment-controller 2023-10-29 21:54:32 +01:00
Andreas Nedbal ca043d56ef Rename `ReactionController` to `ReactionsController` 2023-10-29 21:52:38 +01:00
Andreas Nedbal 5d093c621b Rename `#show` to `#index` action for comment reactions 2023-10-29 21:48:41 +01:00
Andreas Nedbal e8e833f9bd Move comment reactions into own controller 2023-10-29 21:32:39 +01:00
Andreas Nedbal 5afaef427c Rename `CommentController` to `CommentsController` 2023-10-29 21:30:32 +01:00
Andreas Nedbal e802e0197d Make `turbo does not succeed` example for in `RelationshipsController` 2023-10-28 10:41:24 +02:00
Andreas Nedbal 54fb4d09fd Fix lint nits 2023-10-28 10:41:24 +02:00
Andreas Nedbal 10473f4ed0 Remove `Ajax::RelationshipController` and spec 2023-10-28 10:41:24 +02:00
Andreas Nedbal be947bf4e2 Add `RelationshipsController` 2023-10-28 10:41:20 +02:00