Commit graph

13 commits

Author SHA1 Message Date
Andreas Nedbal
25adb11df3 Fix rubocop nits in helper code and specs 2023-10-19 23:41:14 +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
a39960d269 Add tests for TimelineController 2022-07-21 16:08:51 +02:00
Karina Kwiatek
38d6a47372 Appease the dog overlords 2022-06-27 00:41:26 +02:00
Karina Kwiatek
597f8b74cb Fix everyone showing up as anonymous outside of moderation view 2022-06-27 00:41:26 +02:00
Karina Kwiatek
e5b8ea017c Show anon identifier in tooltip when unmasking 2022-06-26 21:07:28 +02:00
Karina Kwiatek
d1ad34eb9c Apply anon display name settings to question author display 2022-06-23 21:29:27 +02:00
Andreas Nedbal
0a52c09684 Apply review suggestion from @nilsding
Co-authored-by: Georg Gadinger <nilsding@nilsding.org>
2022-01-16 14:17:29 +01:00
Andreas Nedbal
a438e414c9 Fix code style in ApplicationHelper 2022-01-16 14:17:29 +01:00
Andreas Nedbal
515e6d09ff Use text ellipsis instead of three single dots for shortening
Co-authored-by: Karina Kwiatek <6197148+raccube@users.noreply.github.com>
2022-01-10 22:53:58 +01:00
Andreas Nedbal
b9c968d3fd Move title and bootstrap related helpers into their own files 2022-01-10 22:53:58 +01:00
Karina Kwiatek
00496a1596 Update remaining references to profile fields 2021-12-22 00:03:19 +01:00
Karina Kwiatek
d08d0156dc Move graph helpers to separate module 2021-08-06 22:24:21 +02:00