beb80cc183
fix: solve warnings when not all features
2024-01-03 23:35:12 +01:00
06bfb9157b
fix: imports only if web feat is enabled
2024-01-03 23:25:40 +01:00
6daf50a81e
feat: allow configuring redirect url
2024-01-03 23:21:22 +01:00
7fe7463b54
fix: interpolate template only once
2024-01-03 22:33:08 +01:00
5d83cf39b9
feat: bundle and serve logo + favicon too
...
~500kB more, but binary is already ~24MB
to change those just replace files inside ./web/ and rebuild, at runtime
it's possible to add hrefs to other locations but not to change the
static file served (because we don't read fs at runtime)
2024-01-03 22:30:44 +01:00
6ad5bc86bb
feat: integrated frontend
...
also fix `$ guestbook default` and refactored a little
2024-01-03 18:16:54 +01:00
53c84839b8
feat: added super crude review command
2024-01-03 03:47:30 +01:00
0afc79934d
feat: add sql drivers with sqlx
...
had to compromise on a lot of stuff because sqlx 0.7+ broke the AnyDb
driver, but ehhh it works
2024-01-03 03:32:03 +01:00
9659bee4e1
feat: default config action, pass more options
2024-01-02 04:46:38 +01:00
d8fa2173cb
fix: made rustc happy, now compiles
2024-01-02 03:12:29 +01:00
d83b3d73d6
chore: separated in/out model and conversions
...
also initial work on overrides coming from CLI
2023-12-28 18:19:16 +01:00
0ebf01ceb1
fix: properly catch empty contact, small refactor
2023-12-23 16:54:42 +01:00
c959b4e18a
fix: sanitize html!!!
2023-12-23 04:21:40 +01:00
533ec27418
fix: redirect back to root on send
2023-12-23 04:06:36 +01:00
d6b5ff42be
fix: slicing larger indexes explodes
2023-12-23 03:24:45 +01:00
7aee304b70
feat: add date, md5, url server-side on insertion
2023-12-23 03:15:06 +01:00
4943339964
feat: richer guest page rows
2023-12-23 03:14:18 +01:00
e21be6b917
fix: renamed routes to api, added debug logging
2023-12-23 01:26:31 +01:00
b28e8fc394
feat: strategy! modularized it, added getter route
2023-12-22 23:37:23 +01:00