Commit graph

134 commits

Author SHA1 Message Date
91cbca6b15 feat: cache names no longer include .zip 2024-11-21 16:39:23 -08:00
814aaad260 fixup! feat: begone memory map 2024-11-21 16:25:29 -08:00
1dc9f4c877 chore: update .sqlx 2024-11-21 16:17:05 -08:00
5f4158e27d feat: begone memory map 2024-11-21 16:15:33 -08:00
87f68efd61 feat: typed get queries 2024-11-21 16:00:19 -08:00
a817502793 feat: delete no longer touches records 2024-11-21 15:30:08 -08:00
72210b211e chore: update .sqlx 2024-11-21 14:33:41 -08:00
07273fad14 feat: db downloads 2024-11-21 14:08:51 -08:00
ec6b1b6477 add cache cleaning queries 2024-11-21 11:06:41 -08:00
923103c5ef add query and data types in prep for bulk record json response 2024-11-21 10:19:16 -08:00
29936813f0 refactor: downloads remaining block in link.html 2024-11-21 10:08:07 -08:00
31e2cab280 feat: deny non hx-requests on fragment 2024-11-21 10:01:32 -08:00
1da83c0016 change: refetch remaining once a minute 2024-11-21 09:34:22 -08:00
10cf09ee76 refactor: extract service variable 2024-11-21 07:54:03 -08:00
c3334d41f9 chore: update sqlx prepare 2024-11-21 07:38:34 -08:00
51b5b5cd3b feat: db backed record removal 2024-11-21 07:07:15 -08:00
7db8ac69c9 refactor: remove code duplication 2024-11-21 06:58:06 -08:00
54280087dc feat: use db in LinkList 2024-11-21 06:45:08 -08:00
84c3513987 dev: sqlfluff ignore comment line length 2024-11-20 23:46:06 -08:00
fc625b50d7 dev: ignore special chars sqlfluff rule
inferred type columns with sqlx require aliases containing spaces and
special characters

See:
https://docs.rs/sqlx/latest/sqlx/macro.query_as.html#column-type-override-infer-from-struct-field
2024-11-20 23:43:33 -08:00
805723f10d add db structs 2024-11-20 23:34:22 -08:00
66a59df6ab temp: get and update 2024-11-20 08:06:08 -08:00
88e1cd98f2 feat: use rinja instead of axum 2024-11-20 07:30:16 -08:00
4f6c7422f5 feat: sqlx offline mode 2024-11-20 06:01:33 -08:00
83c31d679d feat: get_record query 2024-11-20 01:09:16 -08:00
b70d988c9d fix: semicolon on increment downloads query 2024-11-19 20:42:48 -08:00
1e3e53aa6d refactor: rename new.sql to new_record.sql 2024-11-19 20:41:53 -08:00
e44d80ee4c feat: increment on cache_name 2024-11-16 05:47:02 -08:00
5d577df56a feat: upload sql error "handling" and reorder 2024-11-16 05:47:02 -08:00
99adbd4ea4 breaking: cache_name on records table 2024-11-16 05:47:02 -08:00
5a000e6b42 feat: upload creates db record 2024-11-16 05:47:02 -08:00
47bc1b6016 dev: ignore sqlite wal related files 2024-11-15 23:34:44 -08:00
856369e370 feat: connection pool in AppState 2024-11-15 22:57:24 -08:00
d55a906dde feat: count_records query 2024-11-15 22:52:55 -08:00
5c662ba716 breaking: uploaded defaults to datetime('now')
sneaky not null id
2024-11-15 22:39:30 -08:00
7338b3c31f feat: increment_download query 2024-11-15 22:39:30 -08:00
a3112d96ae feat: new record query 2024-11-15 22:39:30 -08:00
9a664a4771 flake: sqlite dependency 2024-11-15 22:05:30 -08:00
56e9cc7af3 sqlfluff: capitalize keywords 2024-11-15 21:57:53 -08:00
2ff0d37313 cargo: sqlx expansion 2024-11-15 18:02:19 -08:00
c50374a36a flake: include rust-analzyer 2024-11-15 17:30:23 -08:00
a053acd83c feat: darwin dep 2024-11-15 17:25:21 -08:00
47b72f6f04 fix: get lock as late as possible 2024-11-15 11:56:12 -08:00
b8d8b2918a dep: sqlx 2024-11-15 11:43:31 -08:00
a831d4fc61 feat: simple records schema 2024-11-15 11:43:23 -08:00
eeac5f2575 feat: sql dev tooling 2024-11-15 10:53:47 -08:00
ab5b2a4ac7 flake: aarch64 support 2024-11-15 10:14:19 -08:00
a0f4b8e3e7 feat: add sqlx-cli to shell.nix 2024-11-15 07:37:46 -08:00
832cc4ad33 feat: include DATABASE_URL in shell.nix 2024-11-15 07:14:36 -08:00
12b0feba96 feat: clone cache to drop guard before writing to file cache 2024-11-14 19:27:19 -08:00