Commit graph

  • 1566363e8f refactor: remove where in favor of <T: > for generics master Ninjdai 2025-08-20 09:39:35 +02:00
  • 44ba33035f remove total_collected_money from bal accounting data Ninjdai 2025-08-18 17:56:00 +02:00
  • c201601e22 fix: return method should be post Ninjdai 2025-08-18 11:46:59 +02:00
  • bd122f6a7b feat: book data in accouting response Ninjdai 2025-08-18 00:04:45 +02:00
  • 810fdde741 refactor: bal accounting data responses Ninjdai 2025-08-17 19:07:28 +02:00
  • b551f856df feat: updated book instance search results Ninjdai 2025-08-15 23:05:06 +02:00
  • ff94003595 feat: create bal stats table if not present Ninjdai 2025-08-15 17:39:53 +02:00
  • bc7feb09d4 feat: bulk book instance sell Ninjdai 2025-08-15 13:46:21 +02:00
  • b817d36816 feat: book return and bal stats Ninjdai 2025-08-15 13:14:11 +02:00
  • 910b10de35 feat: update dependencies Ninjdai 2025-08-14 17:54:51 +02:00
  • 65b95f2958 feat: bal accounting endpoint Ninjdai 2025-08-14 17:16:18 +02:00
  • 08fe5949be feat: GET self owner and refactor self owner to remove circular dependency between user and owner Ninjdai 2025-08-14 12:29:47 +02:00
  • 4225fcb36f feat: check bal timestamps as time cannot go backwards Ninjdai 2025-08-14 09:23:58 +02:00
  • ffa19712bd feat: error when starting BAL if user already has an ongoing one Ninjdai 2025-08-11 17:26:08 +02:00
  • c667608fbb feat: bal state Ninjdai 2025-08-11 11:15:27 +02:00
  • 2facdcb2ea chore: remove unused cargo dependency Ninjdai 2025-08-10 19:28:05 +02:00
  • 37102f9014 feat: bal start and end timestamps Ninjdai 2025-08-10 02:29:14 +02:00
  • 7500a129bd fix(ci): remove rustup calls Ninjdai 2025-08-09 21:09:11 +02:00
  • 87bb75d2b9 fix(ci): install rust toolchain Ninjdai 2025-08-09 21:06:49 +02:00
  • b78e7d9bf4 fix(ci): wrong formatting Ninjdai 2025-08-09 20:58:51 +02:00
  • d48ac9db62 fix(ci): wrong formatting Ninjdai 2025-08-09 20:57:44 +02:00
  • f95af8a0b8 feat(ci): use custom cache for rust Ninjdai 2025-08-09 20:56:27 +02:00
  • 2803891108 feat: forgejo test action Ninjdai 2025-08-09 18:01:09 +02:00
  • 82f2bb4a61 feat: tests and big refactor Ninjdai 2025-08-09 17:43:31 +02:00
  • 05e8366611 fix(docs): get_bals doesn't require an id parameter Ninjdai 2025-08-09 15:09:18 +02:00
  • 4d451ace79 feat: additionnal bal features: ended field, current_bal for users Ninjdai 2025-08-09 13:56:21 +02:00
  • 61aac4bd80 feat: add author optional parameter to the BookInstance search payload Ninjdai 2025-08-09 11:03:48 +02:00
  • 9bbdb9decb feat: current bal field on users and corresponding API routes Ninjdai 2025-08-09 02:11:07 +02:00
  • 5d4ece3c34 feat: book instance search API endpoint Ninjdai 2025-08-08 18:58:04 +02:00
  • 44be2c83ba feat: auth confirmation message after authenticating on websocket Ninjdai 2025-08-08 11:54:43 +02:00
  • c0f0d0521b feat: API version endpoint Ninjdai 2025-08-08 01:34:50 +02:00
  • 88aaf3d0d6 feat: make API available at /api instead of at root of the server Ninjdai 2025-08-07 21:43:37 +02:00
  • b4d42113aa feat: more CLI config options: port, token expiry time Ninjdai 2025-08-07 21:28:15 +02:00
  • 6ca7916012 feat: websocket authentication now takes place in the websocket instead of using headers, for broader API compatibility Ninjdai 2025-08-07 17:25:55 +02:00
  • fa3017ce44 fix: JWT expiration is 2 minutes instead of 6 months Ninjdai 2025-08-06 12:41:28 +02:00
  • f47388015d feat: JWTs expire after 6 months Ninjdai 2025-08-06 11:14:46 +02:00
  • eb41bfb899 feat: check-token endpoint to verify token validity Ninjdai 2025-08-05 20:53:20 +02:00
  • af579811a9 feat: option to add a corresponding owner when creating users in CLI Ninjdai 2025-08-05 15:39:49 +02:00
  • 2cddc4e7a8 configure release profile to reduce binary size Ninjdai 2025-08-05 15:15:44 +02:00
  • 528f40c58a feat: replace book instance status with available boolean Ninjdai 2025-08-05 14:15:17 +02:00
  • 7c7bda5f94 fix: change price and sold price to f32s Ninjdai 2025-08-05 12:49:21 +02:00
  • 5dbbe23103 feat: list books of a bal with specific EAN Ninjdai 2025-08-05 01:11:11 +02:00
  • 5ce3e7a62c fix: wrong BAL doc schema title Ninjdai 2025-08-04 21:09:30 +02:00
  • c5e5b1332c refactor: use native-tls for sea-orm Ninjdai 2025-08-04 20:21:47 +02:00
  • 595d28b69b refactor: remove unused imports Ninjdai 2025-08-04 19:58:06 +02:00
  • 08c6cfeb1f refactor: rename bnf deserializer structs to be more accurate Ninjdai 2025-08-04 19:55:33 +02:00
  • eb3181242b feat: new book price in database and book data endpoints Ninjdai 2025-08-04 15:01:47 +02:00
  • 3320d1400c replace OpenLibrary calls with BNF calls Ninjdai 2025-08-04 13:17:05 +02:00
  • fc494d2135 feat: get bal owner book instances endpoint Ninjdai 2025-08-04 13:16:24 +02:00
  • aff6c429ce feat: BNF API instead of openlibrary to expand the available book search Ninjdai 2025-08-04 13:15:15 +02:00
  • c36a38cd7a feat: BAL API Ninjdai 2025-08-03 23:12:38 +02:00
  • a657d672be check user permissions for book instance API Ninjdai 2025-08-03 23:11:15 +02:00
  • 9fb527f9df check user permissions for owner API Ninjdai 2025-08-03 23:08:28 +02:00
  • e078bffc25 feat: bal and user permission checks Ninjdai 2025-08-03 20:10:00 +02:00
  • e3f954679a remove redoc and further swagger configuration Ninjdai 2025-08-03 12:26:51 +02:00
  • 684eba8c70 feat: create_book endpoint Ninjdai 2025-08-03 12:03:31 +02:00
  • 6ddb24e563 feat: use vendored openssl to allow MUSL as a build target Ninjdai 2025-08-03 02:20:05 +02:00
  • 37153c6e36 feat: authentication system Ninjdai 2025-08-03 01:50:18 +02:00
  • d8c29e1ec8 feat: Book instance bulk creation endpoint Ninjdai 2025-08-01 14:46:04 +02:00
  • 62a1d9e2a7 feat: Book instance PATCH route Ninjdai 2025-08-01 14:28:41 +02:00
  • 1c4abab453 feat: Owner PATCH route Ninjdai 2025-08-01 14:00:03 +02:00
  • 8a7cfac885 feat: outbound websocket messages logging Ninjdai 2025-08-01 13:03:28 +02:00
  • 00b38c4989 feat: list owners endpoint (/owners) Ninjdai 2025-08-01 13:01:28 +02:00
  • 53c95f90fd refactor: remove unused imports Ninjdai 2025-08-01 11:25:27 +02:00
  • b51aa94d5f docs: add API documentation for websocket connection Ninjdai 2025-08-01 11:24:37 +02:00
  • 24afa3407e chore: bump serde_json Ninjdai 2025-08-01 11:15:12 +02:00
  • c016fc915b update logging system and send websocket message on owner creation via api Ninjdai 2025-08-01 11:14:04 +02:00
  • 3e1c744db1 initial websocket implementation Ninjdai 2025-08-01 01:27:25 +02:00
  • 4aa5cf463f fix: misleading example for fetching books with EAN Ninjdai 2025-07-30 22:59:48 +02:00
  • 5d709d658b feat: initial API and docs Ninjdai 2025-07-30 16:55:07 +02:00
  • 79be4eb543 Initial commit Ninjdai 2025-06-27 19:13:33 +02:00