This website requires JavaScript.
964ab26007
Set title on unacceptable merch type error
master
Tyler Hallada
2021-02-28 18:48:14 -05:00
6b07ec7d07
Check keywords on transaction, update shop gold
Tyler Hallada
2021-02-12 00:35:19 -05:00
a64caa4081
Add keywords to transactions table
Tyler Hallada
2021-02-09 23:46:42 -05:00
80345c3a6f
Add keywords to Merchandise
Tyler Hallada
2021-02-09 01:00:28 -05:00
55c68fee2c
Fix incorrect constraint in error handler
Tyler Hallada
2021-01-15 17:22:50 -05:00
2f95fab825
Update sqlx-data.json
Tyler Hallada
2020-11-29 02:26:50 -05:00
81840b3d34
Add shelves list to interior_ref_lists
Tyler Hallada
2020-11-21 01:29:25 -05:00
0adbf7c5c0
Use non-blocking logging io and LTO in release
Tyler Hallada
2020-11-18 23:28:03 -05:00
b214786415
Nicer 404 error with problem JSON
Tyler Hallada
2020-11-15 00:41:47 -05:00
d9a891c6b5
Update sqlx-data.json
Tyler Hallada
2020-11-14 22:46:18 -05:00
50184da1f6
Fixed bincode responses, refactored content_type handling, better error reporting
Tyler Hallada
2020-11-14 02:19:33 -05:00
0bc94e4b7d
Add custom server header to responses
Tyler Hallada
2020-11-12 21:05:04 -05:00
a1107b7100
Better readme instructions for docker and tls
Tyler Hallada
2020-11-12 21:01:29 -05:00
9949c537a0
Add more docker setup instructions
Tyler Hallada
2020-11-12 01:41:06 -05:00
d277b5c5cd
Allow configuring port, serve over https
Tyler Hallada
2020-11-11 18:41:38 -05:00
5e7a3480a1
Start prod config
prod
Tyler Hallada
2020-11-11 17:58:02 -05:00
9334c3a47d
Get rid of log file
Tyler Hallada
2020-11-11 18:06:13 -05:00
9410cbf6a5
Fully working docker setup, switch to sqlx migrate
Tyler Hallada
2020-11-11 17:21:50 -05:00
e44aa9ddfc
Run server in docker container, added log file
Tyler Hallada
2020-11-09 02:00:14 -05:00
5413fba309
Enable sqlx offline mode, add sqlx-data.json
Tyler Hallada
2020-11-09 00:47:59 -05:00
780f0be433
Upgrade to sqlx 0.4 beta master branch
Tyler Hallada
2020-11-09 00:37:04 -05:00
1a1806ffc3
Initial docker setup using rust-musl-builder
Tyler Hallada
2020-11-08 21:12:28 -05:00
377a260a2f
Simplify handler content_type switching
Tyler Hallada
2020-11-08 20:10:32 -05:00
e0cc81c97e
Update all endpoints to accept and send bincode
Tyler Hallada
2020-11-08 17:58:11 -05:00
6ac4b03a0a
Conditionally reply with bincode or json
Tyler Hallada
2020-11-08 03:09:40 -05:00
2f69c86645
Add bincode format to endpointI'm testing out serializing data with bincode and using the Accept header to switch between formats for GET responses.If this works, I'll extend it to all endpoints and also add deserializing bincode from POST and PATCH requests.
Tyler Hallada
2020-11-07 02:57:46 -05:00
a53eeffb0f
Delay set cache after response, make cache static
Tyler Hallada
2020-11-07 00:28:54 -05:00
0980d01640
Return etag in create & update responses
Tyler Hallada
2020-11-05 18:09:43 -05:00
8cb76d6ff4
Add ETag headers to get/list endpoints
Tyler Hallada
2020-11-02 20:22:12 -05:00
4074ad0c97
Filter noisy bit of debug log
Tyler Hallada
2020-11-02 01:27:46 -05:00
08c8dcb07b
Working create_transaction endpoint
Tyler Hallada
2020-10-31 20:34:20 -04:00
c87c35021e
New transactions endpoint, split up handlers file
Tyler Hallada
2020-10-30 00:22:26 -04:00
fb5c78ac4f
Simplify form_list check constraint
Tyler Hallada
2020-10-28 23:56:53 -04:00
e482e7764d
Handle update merchandise quantity to 0 and < 0
Tyler Hallada
2020-10-28 23:40:38 -04:00
e831a925f5
Simplify db migrations
Tyler Hallada
2020-10-28 22:20:39 -04:00
e73d5d5f88
Attempt to migrate to sqlx 0.4.0-beta.1
sqlx-0.4
Tyler Hallada
2020-10-28 12:25:36 -04:00
e0bba0254c
Add buy_merchandise endpoint
Tyler Hallada
2020-10-26 00:51:01 -04:00
58583a553a
Add update by shop id handlers
Tyler Hallada
2020-10-25 03:16:46 -04:00
df48b64ffd
one interior_ref_list and merchandise_list per shop
Tyler Hallada
2020-10-24 03:01:38 -04:00
3f124ce439
Move filters into main.rs for SPEED
Tyler Hallada
2020-10-20 21:50:01 -04:00
0dc4247224
Add latest_interior_ref_list_by_shop_id endpoint
Tyler Hallada
2020-10-20 01:13:40 -04:00
97a2ac52dc
Add update shop & owner endpoints
Tyler Hallada
2020-10-18 02:31:17 -04:00
441bc979f2
Update related projects in README
Tyler Hallada
2020-10-12 21:40:25 -04:00
2b1db3e438
Add related projects to README
Tyler Hallada
2020-10-12 21:06:09 -04:00
db8ccb3ca4
Rename the project and add more README docs
Tyler Hallada
2020-10-12 20:53:19 -04:00
7fa6fe2b04
Update README with Windows setup and db seeding
Tyler Hallada
2020-10-11 03:03:09 -04:00
fc057e86dd
Add merchandise_lists endpoint
Tyler Hallada
2020-10-11 01:20:55 -04:00
8d5fe7f75d
Update schema, add status endpoint
Tyler Hallada
2020-09-07 16:51:01 -04:00
170a3a8b02
Remove bytes dependency
Tyler Hallada
2020-08-01 02:24:39 -04:00
d1c933e1ea
Add authentication to more handlers
Tyler Hallada
2020-08-01 02:18:31 -04:00
eb7706974e
Fix readme
Tyler Hallada
2020-08-01 00:44:05 -04:00
519fcb4c5a
Add caching with LRU cache under mutex
Tyler Hallada
2020-08-01 00:25:04 -04:00
68b04b4f4c
Add auth to delete endpoints
Tyler Hallada
2020-07-30 01:09:29 -04:00
79b45551fd
Add delete endpoints and clean up filters
Tyler Hallada
2020-07-29 00:02:48 -04:00
17cd3f12d2
Improve model query performance tracing
Tyler Hallada
2020-07-28 22:01:57 -04:00
b16ba3e3f7
Swap out old log for shiny tracing
Tyler Hallada
2020-07-27 22:36:48 -04:00
fb99afdc26
Encode/decode InteriorRef struct from jsonb column
Tyler Hallada
2020-07-27 00:09:45 -04:00
29eadabc8a
interior_refs -> interior_ref_lists, finish insert
Tyler Hallada
2020-07-23 00:13:31 -04:00
0275143559
Update setup instructions
Tyler Hallada
2020-07-23 00:12:56 -04:00
a84694042f
Add test JSON payloads to repo
Tyler Hallada
2020-07-22 23:30:20 -04:00
6eb58935e3
Move interior refs list to interior_refs table
Tyler Hallada
2020-07-22 22:42:17 -04:00
65e6ba1f8a
WIP adding interior_refs endpoints
Tyler Hallada
2020-07-19 03:01:20 -04:00
9985f123c9
Remove refinery.toml from source control
Tyler Hallada
2020-07-19 03:00:54 -04:00
9ea3e35359
Allow no ORDER BY clause by default in list method
Tyler Hallada
2020-07-18 18:10:45 -04:00
359096e0bf
Gitignore Session.vim
Tyler Hallada
2020-07-18 18:02:43 -04:00
9ec7fc1518
Modularize, Model trait, list_owners
Tyler Hallada
2020-07-18 17:46:33 -04:00
6b1f31f246
Add list_shops endpoint
Tyler Hallada
2020-07-17 01:05:58 -04:00
28d6e50a5a
Clean up filter chain a bit
Tyler Hallada
2020-07-16 00:56:51 -04:00
3df7af7032
Easier to read handler reply style
Tyler Hallada
2020-07-16 00:48:41 -04:00
aebcaf7d21
Working shops and owners create/get endpoints
Tyler Hallada
2020-07-16 00:42:04 -04:00
25641ed8da
Remove .env file
Tyler Hallada
2020-07-16 00:41:03 -04:00
91ff001c53
Initial commit. WIP shops endpoint
Tyler Hallada
2020-07-13 01:52:22 -04:00