Commit Graph

3058 Commits

Author SHA1 Message Date
Andreas Nedbal 07cafb9b30 Use new date format in notifications 2024-03-10 17:29:55 +01:00
Andreas Nedbal 04931b627c Adjust manual tooltip initializations 2024-03-10 17:29:32 +01:00
Andreas Nedbal 95c79216cb Update tooltip helper to use `data-controller` instead 2024-03-10 17:29:32 +01:00
Andreas Nedbal 7f93fabb62 Remove tooltip initializer from Bootstrap file 2024-03-10 17:29:32 +01:00
Andreas Nedbal 94f027f546 Add Stimulus tooltip controller 2024-03-10 17:29:32 +01:00
Georg Gadinger 96794029b3 use time_tooltip for comments, fixes #1650 2024-03-10 01:59:13 +01:00
Andreas Nedbal 900fc1c646 Remove linking of (possibly) anonymous questions
I'll come back to properly linking this up later
2024-03-02 22:43:39 +01:00
Andreas Nedbal 54cff294b2 Re-add pinned indicator to answerboxes 2024-03-02 22:43:39 +01:00
Andreas Nedbal 6c38f61d5c Fix coloring of action toggle in new inbox entries 2024-03-02 22:43:39 +01:00
Andreas Nedbal b3cbfc762b Initialize Bootstrap dropdowns on the toggle data attribute 2024-03-02 22:43:39 +01:00
Andreas Nedbal e264a785f4 Remove hidden overflow styling from question user heading 2024-03-02 22:43:39 +01:00
Andreas Nedbal 45907c9260 Use ellipsis icon for action dropdowns 2024-03-02 22:43:39 +01:00
Andreas Nedbal f4095c42ec Adjust `time_tooltip` method to show shorter time format 2024-03-02 22:43:39 +01:00
Andreas Nedbal e8f661f555 Remove hidespan helper method 2024-03-02 22:43:39 +01:00
Andreas Nedbal 9bc41e31ec Remove human-readable "Answered by" answerbox text 2024-03-02 22:43:39 +01:00
Andreas Nedbal fb6e6458c4 Remove conditional profile layout in answerboxes 2024-03-02 22:43:39 +01:00
Andreas Nedbal 8b3690fcf2 Remove full-width class from reaction icons 2024-03-02 22:43:39 +01:00
Andreas Nedbal 92c9ed011f Fix rubocop nits 2024-03-01 23:58:35 +01:00
Andreas Nedbal 3a801baf1a Add highlight to moderation panel link if there are new reports 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 507c27da06 Add Bluesky to answerbox sharing options 2024-03-01 21:14:59 +01:00
Andreas Nedbal 4ed9cf5a32 Add Bluesky to inbox entry sharing dialog 2024-03-01 21:14:59 +01:00
Andreas Nedbal e90b4b8580 Add Bluesky link to sharing options 2024-03-01 21:14:59 +01:00
Andreas Nedbal 50097d629e Add `SocialHelper::BlueskyMethods` 2024-03-01 21:14:59 +01:00
Andreas Nedbal 04d3e050ab Show actions to moderators on banned profiles 2024-02-29 00:06:19 +01:00
Andreas Nedbal 1914c56b05 Adjust what content gets hidden on banned user profiles 2024-02-29 00:06:19 +01:00
Andreas Nedbal 22886934db Use `dropdown` instead of `btn-group` for dropdowns 2024-02-28 22:23:06 +01:00
Andreas Nedbal 5077039035 Give answerbox actions proper margins and paddings 2024-02-28 22:23:06 +01:00
Andreas Nedbal fbb6fcdf7b Fix text color of answerbox actions 2024-02-28 22:23:06 +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 d87a4adf96 Add links to user actions to filter reports by/from users 2024-02-27 23:58:05 +01:00
Andreas Nedbal aa66ac4500 Fix haml-lint nits 2024-02-27 22:55:54 +01:00
Andreas Nedbal 50126cc4c4 Implement report filtering interface 2024-02-27 22:55:54 +01:00
Andreas Nedbal 6211747ec4 Remove report filtering navigation entries 2024-02-27 22:55:54 +01:00
Andreas Nedbal 020b7db712 Remove ordered_inbox method and related paginator 2024-01-27 20:28:45 +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 ba7ba359b4 Rename user/question associations to `:inbox_entries` 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 af9cbcdb11 Rename `Inbox` model to `InboxEntry` 2024-01-27 19:21:07 +01:00
Andreas Nedbal b96651fa70 Disallow `author` and `anonymous` inbox filter combination 2024-01-25 22:08:37 +01:00
Andreas Nedbal 134c575e40 Add missing expire times to cache keys 2024-01-25 21:23:02 +01:00
Andreas Nedbal baa1f3f319 Fix rubocop nits 2024-01-25 20:52:19 +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 5a17466999 Fix rubocop nits 2024-01-24 21:08:44 +01:00
Andreas Nedbal 05634ae69d Move target user resolving code into `report` method 2024-01-24 21:08:44 +01:00