12 Commits

Author SHA1 Message Date
8b5a249450 Make URL building more resilient and add tests. (#38)
Some checks failed
Run unit tests / run-unit-tests (push) Has been cancelled
Since the base URL and base path are user inputs, I'd like tkr to be resilient to any combination of leading and trailing slashes so people don't have to worry about that. This adds some helper functions to normalize URLs and adds tests to confirm that all combinations are handled correctly.

Reviewed-on: https://gitea.subcultureofone.org/greg/tkr/pulls/38
Co-authored-by: Greg Sarjeant <greg@subcultureofone.org>
Co-committed-by: Greg Sarjeant <greg@subcultureofone.org>
2025-07-31 02:39:09 +00:00
Greg Sarjeant
d4f6b16756 Enable strict accessibility toggle on navbar and homepage. 2025-06-23 09:21:51 -04:00
Greg Sarjeant
33aee7ad71 Add tabindex to anchors to account for bad browser defaults. More cleanup. 2025-06-21 17:44:55 -04:00
Greg Sarjeant
4ce938e7bc Fix frontpage keyboard navigation. More cleanup. 2025-06-20 22:37:54 -04:00
Greg Sarjeant
9eafadde2f Accessibility improvements and simplification. Fix ticks. 2025-06-20 20:31:42 -04:00
Greg Sarjeant
d94bf1e3b9 Simplify default css. 2025-06-19 22:27:35 -04:00
Greg Sarjeant
a15cfc5876 Convert dropdown menus to details/summary tags 2025-06-17 18:05:14 -04:00
Greg Sarjeant
77ec1bbb3b fix setup. consolidate navbar 2025-06-17 09:36:13 -04:00
Greg Sarjeant
8f2534568d custom emoji 2025-06-13 23:46:33 -04:00
Greg Sarjeant
4f5ea22dfd Add CSS upload. Refactor templates. General cleanup. 2025-06-10 20:00:18 -04:00
Greg Sarjeant
3690317206 Refactor models. Handle empty ticks. Prep for CSS upload. 2025-06-09 14:12:59 -04:00
Greg Sarjeant
78ebb67fc0 Naming fixes. Add partials. Get single ticks working with clean urls. 2025-06-03 21:22:20 -04:00