retoor
79900bfaf6
fix: rename bug card anchor to div with _card_link include and add admin role tests
...
The bug list template wraps each bug in a `<div class="bug-card card-link-host">` instead of a bare `<a>`, pulling in `_card_link.html` for proper link semantics. Two new integration tests (`test_bug_detail_renders_for_member` and `test_bug_detail_renders_for_admin`) verify that the `/bugs/{number}` endpoint returns 200 for both roles, that the "Close ticket" button is absent for members and present for admins, and that the JSON response exposes `viewer_is_admin` as a boolean. Supporting helpers `_role_user` and `_open_ticket` create users with a specific role and open a Gitea-backed ticket.
2026-06-12 20:50:27 +00:00
..
2026-05-10 07:08:12 +00:00
2026-06-12 05:43:33 +00:00
2026-06-12 05:19:26 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-11 20:28:17 +00:00
2026-06-11 20:28:17 +00:00
2026-06-11 20:28:17 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 03:37:12 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 20:50:27 +00:00
2026-06-12 18:31:40 +00:00
2026-06-05 18:34:03 +00:00
2026-06-09 18:02:50 +00:00
2026-06-12 03:37:12 +00:00
2026-06-12 03:37:12 +00:00
2026-06-09 18:02:50 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-10 22:17:25 +00:00
2026-06-09 16:48:08 +00:00
2026-06-11 20:28:17 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 04:30:08 +00:00
2026-06-12 05:43:33 +00:00
2026-06-09 16:48:08 +00:00
2026-05-23 03:44:04 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-05-23 03:44:04 +00:00
2026-06-12 03:37:12 +00:00
2026-06-12 04:30:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-10 03:22:44 +00:00
2026-06-12 04:37:12 +00:00
2026-06-12 03:37:12 +00:00
2026-06-10 03:22:44 +00:00
2026-05-23 03:44:04 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 04:30:08 +00:00
2026-06-12 03:37:12 +00:00
2026-06-12 04:30:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 04:55:10 +00:00
2026-06-10 22:17:25 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 03:37:12 +00:00
2026-06-12 04:55:10 +00:00
2026-06-12 03:37:12 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-10 03:22:44 +00:00
2026-06-09 18:02:50 +00:00
2026-06-12 04:30:08 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 03:37:12 +00:00
2026-06-09 16:48:08 +00:00
2026-06-12 03:37:12 +00:00
2026-06-10 22:17:25 +00:00
2026-06-09 16:48:08 +00:00
2026-06-10 03:22:44 +00:00
2026-06-12 03:37:12 +00:00
2026-06-09 16:48:08 +00:00