Commit graph

39 commits

Author SHA1 Message Date
Ninjdai
b4d42113aa feat: more CLI config options: port, token expiry time 2025-08-07 21:28:15 +02:00
Ninjdai
6ca7916012 feat: websocket authentication now takes place in the websocket instead of using headers, for broader API compatibility
eg Javascript WebSocket API
2025-08-07 17:25:55 +02:00
Ninjdai
fa3017ce44 fix: JWT expiration is 2 minutes instead of 6 months 2025-08-06 12:41:28 +02:00
Ninjdai
f47388015d feat: JWTs expire after 6 months 2025-08-06 11:14:46 +02:00
Ninjdai
eb41bfb899 feat: check-token endpoint to verify token validity 2025-08-05 20:55:07 +02:00
Ninjdai
af579811a9 feat: option to add a corresponding owner when creating users in CLI 2025-08-05 15:39:49 +02:00
Ninjdai
2cddc4e7a8 configure release profile to reduce binary size 2025-08-05 15:15:44 +02:00
Ninjdai
528f40c58a feat: replace book instance status with available boolean 2025-08-05 14:15:17 +02:00
Ninjdai
7c7bda5f94 fix: change price and sold price to f32s 2025-08-05 12:49:21 +02:00
Ninjdai
5dbbe23103 feat: list books of a bal with specific EAN 2025-08-05 01:11:11 +02:00
Ninjdai
5ce3e7a62c fix: wrong BAL doc schema title 2025-08-04 21:09:30 +02:00
Ninjdai
c5e5b1332c refactor: use native-tls for sea-orm 2025-08-04 20:21:47 +02:00
Ninjdai
595d28b69b refactor: remove unused imports 2025-08-04 19:58:06 +02:00
Ninjdai
08c6cfeb1f refactor: rename bnf deserializer structs to be more accurate 2025-08-04 19:55:33 +02:00
Ninjdai
eb3181242b feat: new book price in database and book data endpoints 2025-08-04 15:01:47 +02:00
Ninjdai
3320d1400c replace OpenLibrary calls with BNF calls 2025-08-04 13:17:05 +02:00
Ninjdai
fc494d2135 feat: get bal owner book instances endpoint 2025-08-04 13:16:24 +02:00
Ninjdai
aff6c429ce feat: BNF API instead of openlibrary to expand the available book search 2025-08-04 13:15:15 +02:00
Ninjdai
c36a38cd7a feat: BAL API 2025-08-03 23:12:38 +02:00
Ninjdai
a657d672be check user permissions for book instance API 2025-08-03 23:11:15 +02:00
Ninjdai
9fb527f9df check user permissions for owner API 2025-08-03 23:08:28 +02:00
Ninjdai
e078bffc25 feat: bal and user permission checks 2025-08-03 20:10:00 +02:00
Ninjdai
e3f954679a remove redoc and further swagger configuration 2025-08-03 12:26:51 +02:00
Ninjdai
684eba8c70 feat: create_book endpoint 2025-08-03 12:03:31 +02:00
Ninjdai
6ddb24e563 feat: use vendored openssl to allow MUSL as a build target
to avoid relying on recent glibc versions on production servers
2025-08-03 02:20:05 +02:00
Ninjdai
37153c6e36 feat: authentication system 2025-08-03 01:50:18 +02:00
Ninjdai
d8c29e1ec8 feat: Book instance bulk creation endpoint 2025-08-01 14:46:04 +02:00
Ninjdai
62a1d9e2a7 feat: Book instance PATCH route 2025-08-01 14:28:41 +02:00
Ninjdai
1c4abab453 feat: Owner PATCH route 2025-08-01 14:00:03 +02:00
Ninjdai
8a7cfac885 feat: outbound websocket messages logging 2025-08-01 13:03:28 +02:00
Ninjdai
00b38c4989 feat: list owners endpoint (/owners) 2025-08-01 13:01:28 +02:00
Ninjdai
53c95f90fd refactor: remove unused imports 2025-08-01 11:25:27 +02:00
Ninjdai
b51aa94d5f docs: add API documentation for websocket connection 2025-08-01 11:24:37 +02:00
Ninjdai
24afa3407e chore: bump serde_json 2025-08-01 11:15:12 +02:00
Ninjdai
c016fc915b update logging system and send websocket message on owner creation via api 2025-08-01 11:14:04 +02:00
Ninjdai
3e1c744db1 initial websocket implementation 2025-08-01 01:27:25 +02:00
Ninjdai
4aa5cf463f fix: misleading example for fetching books with EAN 2025-07-30 22:59:48 +02:00
Ninjdai
5d709d658b feat: initial API and docs 2025-07-30 16:55:07 +02:00
Ninjdai
79be4eb543 Initial commit 2025-06-27 19:13:33 +02:00