Commit Graph

64 Commits

Author SHA1 Message Date
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 e119f29680 Group inputs in ask modal
Co-authored-by: Andreas Nedbal <git@pixelde.su>
2023-12-17 22:34:22 +01:00
Karina Kwiatek b02375985a Add option to send question to own inbox 2023-12-11 23:14:58 +01:00
Andreas Nedbal 0d22f26cea Add note to question modal if current user has no followers 2023-12-11 00:42:26 +01:00
Andreas Nedbal e428d1e0c8 Add note to follower asking modal if on a user profile 2023-12-11 00:16:43 +01:00
Andreas Nedbal f30b1b820e Add `show_reactions` action and move markup into it 2023-10-28 04:39:15 +02:00
Karina Kwiatek 7cdb0e4976 Respect long question setting in frontend 2023-01-08 17:12:46 +01:00
Andreas Nedbal cea1190ab9 Remove and replace usage of media classes 2023-01-05 10:35:52 +01:00
Andreas Nedbal 2efaae6987 Fix modal/alert dismiss toggles 2023-01-05 10:35:52 +01:00
Andreas Nedbal 23c01a97be Fix text alignment classes 2023-01-05 10:35:52 +01:00
Andreas Nedbal 6643c65e23 Remove superfluous close icon 2023-01-05 10:35:52 +01:00
Andreas Nedbal 09954c15d2 Fix data attributes for functionality in Bootstrap 5 2023-01-05 10:35:52 +01:00
Andreas Nedbal 5612f8d2bd Fix close buttons for Bootstrap 5 2023-01-05 10:35:52 +01:00
Andreas Nedbal ec5dda9f66 Fix screen reader classes for Bootstrap 5 2023-01-05 10:35:52 +01:00
Andreas Nedbal 5a0e42fe66 use `has_cached_role?` instead of `has_role?` 2022-12-18 21:47:03 +01:00
Andreas Nedbal 15d05f1699 Merge branch 'main' into feature/stimulus-character-count 2022-10-31 20:56:38 +01:00
Georg Gadinger caf73558d6 views: rename .haml to .html.haml 2022-10-25 20:10:31 +02:00
Andreas Nedbal 724c241bed Count character count downwards instead of up 2022-10-13 22:29:04 +02:00
Andreas Nedbal 93d1a4e2cb Add Stimulus controller to relevant views 2022-10-02 22:10:04 +02:00
Karina Kwiatek e8ceaa48f4 Prevent password prompt submit button from being disabled 2022-08-04 20:56:58 +02:00
Karina Kwiatek e887e8c4fc Refactor action strings 2022-07-30 18:50:46 +02:00
Andreas Nedbal 5f1453103b Add pluralization to list member locale 2022-07-28 12:22:32 +02:00
Andreas Nedbal afa250af01 Fix quote style in user privilege item partial 2022-07-28 12:22:32 +02:00
Andreas Nedbal 76845a55c0 Add new translations for user privilege modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal 1492434e15 Add new translations for modal list items 2022-07-28 12:22:32 +02:00
Andreas Nedbal 8839139a72 Add new translations for list management modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal c4fefbf0aa Add new translations for comment smiles modal 2022-07-28 12:22:32 +02:00
Andreas Nedbal 001e747efe Add new translations for ask modal 2022-07-28 12:22:32 +02:00
Georg Gadinger 66efa5d4f4 clean up routes
- replace `match` with `get`/`post`/`patch`/`delete`
- format routes.rb
- rename the `show_user_{profile,question,answer}` routes to
  `profile`, `question`, `answer` so `url_for` (used by Rails Admin)
  works fine for these things
- also add `to_param` to the `User` model so that `url_for(some_user)`
  uses the user name
2022-07-23 12:14:06 +02:00
Karina Kwiatek b899c1aeb3 Order past bans newest-first 2022-07-02 17:08:44 +02:00
Karina Kwiatek 645469daa5 Correctly display time ago in ban history 2022-07-02 17:08:44 +02:00
Karina Kwiatek 32865b528d Highlight current ban 2022-07-02 17:08:44 +02:00
Karina Kwiatek c838263a2e Allow for ban history to be seen while banned 2022-07-02 17:08:44 +02:00
Karina Kwiatek 990c67baea Move unban into own view 2022-07-02 17:08:44 +02:00
Karina Kwiatek a0877b102a Create tabs for ban modal 2022-07-02 17:08:44 +02:00
Karina Kwiatek 1f3681ef50 Remove unnecessary value from reason field 2022-07-02 17:08:44 +02:00
Karina Kwiatek 5239f69081 Display duration controls on one line 2022-07-02 17:08:44 +02:00
Karina Kwiatek bb23f6b3f0 Add translations for ban modal 2022-07-02 17:08:44 +02:00
Karina Kwiatek 805e3504c7 Set autocomplete attributes on username & password fields 2022-06-28 23:13:30 +02:00
Karina Kwiatek 73274988c1 Add `permanently_banned?` method to user model 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 122c45e154 Fix HAML lint in password modal 2022-02-07 21:51:32 +01:00
Andreas Nedbal 540e5acaba Add translations for account settings 2022-02-07 21:51:32 +01:00
Andreas Nedbal 00cd54e082 Port ban functionality to TypeScript 2022-01-08 20:28:52 +01:00
Karina Kwiatek 6500d7ac71 Update usages of bans 2022-01-02 19:50:44 +01:00
Karina Kwiatek ea62d91014 Make ban UI more intuitive when a user is already banned 2022-01-02 19:50:02 +01:00
Karina Kwiatek 9a35584284 Refactor ban-related functionality into use cases 2022-01-02 19:50:01 +01:00
Dominik Kwiatek cddb50cc22 Update dependencies and fix new lint warnings 2020-11-16 18:18:42 +01:00
Dominik Kwiatek 0f98d7bad8 Fix list styling on Comment Smiles modal 2020-10-21 20:43:58 +02:00
Georg Gadinger b58883e004 Remove "ask a group" feature 2020-05-25 18:34:43 +02:00