8 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
4712aa8da6 Make mood picker tab-navigable. Other cleanup. 2025-06-23 11:33:37 -04:00
Greg Sarjeant
d94bf1e3b9 Simplify default css. 2025-06-19 22:27:35 -04:00
Greg Sarjeant
a3a6471ced Remove a bunch of trailing whitespace. 2025-06-17 22:08:50 -04:00
Greg Sarjeant
f72896892b cleanup. Improve homepage semantics. Add .htaccess files to blocked directories. 2025-06-17 16:25:31 -04:00
Greg Sarjeant
856677659e Add flash messages. 2025-06-16 16:47:35 -04:00
Greg Sarjeant
3b8d54460c Single column delete view, test for mbstring extension 2025-06-14 00:23:59 -04:00
Greg Sarjeant
8f2534568d custom emoji 2025-06-13 23:46:33 -04:00