319a7ab890
fix: enable io and time on tokio rt
2024-01-04 03:40:59 +01:00
051ff967fc
chore: removed some unused deps
2024-01-04 03:11:45 +01:00
952279f0a8
fix: use single thread rt, removed tokio macros
2024-01-04 03:03:55 +01:00
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
632a4a179c
fix: only do checks for included drivers
2024-01-03 23:23:21 +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
eb858264ca
feat: allow customizing footer/descr with html
2024-01-03 22:32:42 +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
da2f1bf9d0
chore: bump crate version
2024-01-03 20:00:15 +01:00
878db4c3c3
fix: larger tiny text
2024-01-03 20:00:05 +01:00
87828a51f5
fix: use serde_inline_default and serde_default
...
now config behaves as expected, with fallback fields merged with the
main struct, also less impl Default and values right next to the field
2024-01-03 19:54:42 +01:00
9e5b2ffb13
feat: guestbook config <file> shows merged config
2024-01-03 19:54:13 +01:00
32b20000c1
chore: update lockfile and bump deps, add metadata
2024-01-03 19:16:02 +01:00
a685765138
chore: version bump, fix docs, push lockfile
2024-01-03 18:25:42 +01:00
7b7866b382
docs: will typescript improve syntax?
2024-01-03 18:21:43 +01:00
b7fb79f202
docs: fix code blocks
2024-01-03 18:20:31 +01:00
74b820925c
docs: added a somewhat complete README.md
2024-01-03 18:17:56 +01:00
94b64f98ed
fix: renamed default to config
2024-01-03 18:17:49 +01:00
6ad5bc86bb
feat: integrated frontend
...
also fix `$ guestbook default` and refactored a little
2024-01-03 18:16:54 +01:00
6fc27b47db
fix: return pages in descending order of timestamp
2024-01-03 14:29:38 +01:00
41f86634e5
fix: sqlx AnyDb is kinda broken...
2024-01-03 13:46:09 +01:00
460ebef1bf
chore: better sanitize() function
2024-01-03 12:14:23 +01:00
6c6c0fd62b
feat: added crude email notifier
...
also default to console notifier enabled
2024-01-03 04:25:31 +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
b424579002
chore: tweaked config structure
2024-01-02 23:02:30 +01:00
4078963c9e
fix: add config.rs
...
should have pushed this before oops
2024-01-02 04:55:13 +01:00
3c0ba7e35d
feat: add telegram notifier
2024-01-02 04:55:02 +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
2e97bffc82
fix: make file storage threadsafe
2024-01-02 02:43:38 +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
a48b98cea9
chore: bump vers, rename project
2023-12-23 03:35:48 +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
dbcf022019
chore: moved telegram notifier as optional feature
2023-12-22 23:37:02 +01:00
62a7cdbbef
feat: add GET with help
2023-10-15 04:56:33 +02:00
c11b12a03f
fix: initial impl
2023-10-15 04:27:34 +02:00
0115c7bafb
initial commit
2023-10-15 04:27:14 +02:00