Anton Khorev
|
b8247478f4
|
Use resourceful routes for granting/revoking user roles
|
2024-11-06 18:38:26 +03:00 |
|
Tom Hughes
|
74195e38bf
|
Merge remote-tracking branch 'upstream/pull/4771'
|
2024-05-08 18:24:28 +01:00 |
|
Anton Khorev
|
31f4ab5c46
|
Make blank role icons transparent
|
2024-05-08 17:05:57 +03:00 |
|
Anton Khorev
|
e2e77a4229
|
Lighten moderator icon color
|
2024-05-08 14:25:10 +03:00 |
|
Anton Khorev
|
12d797b351
|
Use inline svgs for moderator scope icons
|
2024-05-07 15:51:23 +03:00 |
|
Anton Khorev
|
d9e650fde1
|
Use inline svgs for user role icons
|
2024-05-07 15:51:23 +03:00 |
|
Anton Khorev
|
0fae5627a5
|
Remove <picture>s around <img srcset=...>
|
2023-10-03 03:06:12 +03:00 |
|
Tom Hughes
|
6982903ae7
|
Fix predicate method names in the user model
|
2023-08-15 18:53:14 +01:00 |
|
Tom Hughes
|
0254f7ee09
|
Fix confirmation prompt when granting or revoking roles
|
2023-07-01 15:21:02 +01:00 |
|
Tom Hughes
|
8a9dbc94c8
|
Update rubocop todo and fix new warnings
|
2021-09-14 20:40:36 +01:00 |
|
Tom Hughes
|
baa32464cd
|
Drop last vestiges of ruby 2.5 support
|
2021-06-08 20:33:25 +01:00 |
|
Tom Hughes
|
99e537859a
|
Fix HTML escaping issues with user role icons
|
2020-11-13 15:13:37 +00:00 |
|
Tom Hughes
|
bfffe7ed96
|
Prefer string interpolation to concatenation
|
2020-11-13 11:32:28 +00:00 |
|
Tom Hughes
|
39b60219fe
|
Fix new rubocop warnings
|
2020-06-11 19:21:41 +01:00 |
|
Andy Allan
|
3ec67ea2d3
|
Rename user_controller to users_controller
|
2018-10-03 15:31:10 +02:00 |
|
Tom Hughes
|
64146b4f36
|
Fix Style/SafeNavigation rubocop warnings
|
2018-09-22 17:21:06 +01:00 |
|
Andy Allan
|
19c26e70a3
|
Rename user#view to user#show
|
2018-09-05 14:21:01 +08:00 |
|
Tom Hughes
|
2c9c427587
|
Convert @user to current_user in helpers
|
2017-07-27 19:27:17 +01:00 |
|
Tom Hughes
|
282ff4936c
|
Fix rubocop warnings
|
2016-10-31 21:24:10 +00:00 |
|
Holger Jeromin
|
37a4fc6dd1
|
Add srcset to img tags inside picture elements
Some browsers (in particular Safari on iOS) don't support picture
yet but do support srcset on the img tag.
|
2015-09-15 08:48:50 +01:00 |
|
Tom Hughes
|
d377e8b4f2
|
Use picture elements to render some more graphics as SVG
|
2015-09-13 22:42:12 +01:00 |
|
Tom Hughes
|
5cbd4038ed
|
Fix rubocop style issues
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
ef7f3d800c
|
Fix most auto-correctable rubocop issues
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
34e3e51456
|
Cleanup trailing whitespace
|
2015-02-20 08:56:16 +00:00 |
|
Tom Hughes
|
75300566e1
|
Move generation of role icons into a helper
|
2012-03-21 19:20:40 +00:00 |
|