Commit Graph
18 Commits
Author SHA1 Message Date
omicron b9fee9bb9b Add stash backups to database transfers in the webui 2023-10-28 23:47:52 +02:00
omicron c14b22f839 Make the items show in a grid 2023-10-28 20:29:44 +02:00
omicron 5cca2ef748 rename /remove to /store and remove junk from css 2023-10-28 14:25:23 +02:00
omicron 0078b71389 Add simple flask webapp to move items from the stash into the database 2023-10-28 06:17:58 +02:00
omicron 5026f58eb8 Fix an issue in rebuilding stash data for socketed items 2023-10-28 06:17:58 +02:00
omicron b73fd9c20e make d2warehouse.db ready for the flask webui
- Add a function to automatically initialize the db with the schema if
   it isn't yet initialized
 - Remove the DROP TABLE queries from the schema in case the above^ goes
   wrong somehow
 - Make Item.write_to_db and Item.load_from_db take a db argument so
   that multiple threads can be supported
 - Add a few properties to d2warehouse.Item to help display items
2023-10-28 06:17:54 +02:00
omicron b9f1520b83 Add basic functionality to add and remove items from stash tabs 2023-10-25 22:38:10 +02:00
omicron bd8e468a43 Add item width/height to items.json 2023-10-25 21:07:28 +02:00
omicron b5b7149c79 Fix issue in item extraction when stackable is "0" instead of "" 2023-10-25 16:41:27 +02:00
omicron 074964aa87 Split stackable property away from the class in items.json 2023-10-25 14:51:21 +02:00
omicron 4a57291ba0 Fix several issues revealed by testing and static analysis
- Fix type annotations in d2warehouse.stash
- Fix invalid escape sequences in d2warehouse.item
- Bump the minimum supported version of python to 3.10
- Fix ambiguous variable name in d2warehouse.huffman
2023-10-24 01:29:58 +02:00
omicron 223c8edf1c Add CD/CI for testing 2023-10-24 01:19:30 +02:00
omicron 78047a057f Add tests for parsing some items and stashes 2023-10-24 00:59:27 +02:00
omicron 95664502dc rename item kind to item code 2023-10-23 21:39:08 +02:00
omicron a4f2e1d354 Ignore some flake8 warnings that conflict with black 2023-10-23 20:08:16 +02:00
omicron 6abd225558 Add license information and update authors 2023-10-22 18:30:00 +02:00
omicron 0d4414f3ab Add some useful item data 2023-10-21 23:13:09 +02:00
omicron a741aa6ff0 Quick and dirty initial commit to share progress 2023-10-21 14:52:16 +02:00