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
Georg Gadinger
61816aec5f
Remove unnecessary class
2020-05-25 18:10:28 +02:00
Georg Gadinger
ea0685136e
Rename Groups to Lists
...
haha regexp go brrr
special thanks to @seatsea for helping me out with the French locales
2020-05-25 18:04:54 +02:00
Andreas Nedbal
66b2afc976
Turn single-word strings into symbols
2020-05-11 19:40:45 +02:00
Andreas Nedbal
7414471d41
Fix lints in app/views/modal
2020-05-11 19:40:43 +02:00
Andreas Nedbal
4ae8b7ed81
Remove timepicker from ban modal
2020-05-09 03:21:25 +02:00
Andreas Nedbal
936969d72a
Fix ban dialog functionality
2020-05-09 03:09:12 +02:00
Andreas Nedbal
28c21dcc3d
Refactor smile user list styles
2020-05-02 18:12:55 +02:00