Commit Graph

142 Commits

Author SHA1 Message Date
The Magician ef6aa4fde5 Fix insert bug 2024-06-03 18:18:23 +01:00
The Magician 14e5a81ca6 Update primary key type in CardPrinting to fix duplicate update bug 2024-06-03 17:08:15 +01:00
The Magician 343421362c Ignore testing database backups 2024-06-03 16:05:43 +01:00
The Magician 1ab69e8980 Improve UI 2024-06-01 22:54:15 +01:00
The Magician a5934a1d9f Fix position increment bug 2024-06-01 22:18:33 +01:00
The Magician 7dba7e4649 Allow the user to quit properly 2024-05-31 22:44:52 +01:00
The Magician 4018f26998 Implement basic search-and-store functionality 2024-05-31 20:32:44 +01:00
The Magician 867143c511 Get storage location from user 2024-05-30 15:21:41 +01:00
The Magician 5e2d8e7cff Get list of available search options 2024-05-30 15:19:31 +01:00
The Magician dd70490290 Clear screen in loop 2024-05-30 15:19:18 +01:00
The Magician 1ccdfa0941 Add screen package 2024-05-30 15:19:09 +01:00
The Magician 7c9f9f4110 Fix storage typos 2024-05-30 14:33:37 +01:00
The Magician cb8435b652 Implement storage logic 2024-05-30 14:32:04 +01:00
The Magician deda3fc12d Remove inserts.go 2024-05-30 13:03:35 +01:00
The Magician 3cef5bea71 Add CardStrorageLocation database operations 2024-05-30 13:03:12 +01:00
The Magician ea2227e1b1 Remove old files 2024-05-30 13:02:08 +01:00
The Magician 405ef9edc5 Create CardStorageLocation table 2024-05-29 22:03:40 +01:00
The Magician f84f19a0b7 Refactor import/update code 2024-05-29 20:55:38 +01:00
The Magician 708bfdf90b Ask user if update should be performed 2024-05-28 15:38:30 +01:00
The Magician 8b7ec980f4 Check if update is required 2024-05-28 15:29:13 +01:00
The Magician 57cb56b3a1 Add assertion library for unit testing 2024-05-27 18:34:30 +01:00
The Magician 43aa63c55b Remove cmd directory again 2024-05-27 18:34:16 +01:00
The Magician bf4e7d9a11 Make Makefile only for database operations 2024-05-27 18:33:47 +01:00
The Magician c107bffd42 Move SQL files to database directory 2024-05-27 18:33:21 +01:00
The Magician 2f005d7775 Reorganize scryfall package 2024-05-27 18:32:54 +01:00
The Magician 5ddf405e4c Remove test.json 2024-05-27 17:46:46 +01:00
The Magician 33001f7421 Create printing search and pipe to fzf for selection 2024-05-27 17:45:22 +01:00
The Magician 2fd868ee9c Write basic loop for inserter program 2024-05-27 13:48:38 +01:00
The Magician 3cee8b7b9b Add storagemanager script 2024-05-27 13:31:53 +01:00
The Magician 27e7e94050 Remove unused dependencies 2024-05-27 13:30:44 +01:00
The Magician bba293d974 Abandon Bubbletea 2024-05-27 13:29:00 +01:00
The Magician 9732516222 Add directory for storagemgr code 2024-05-27 12:23:30 +01:00
The Magician 3482ba70eb Implement skeleton of UI 2024-05-27 12:15:42 +01:00
The Magician ce63add5c1 Add Bubbletea 2024-05-27 12:07:29 +01:00
The Magician 42a019b730 Add database code for storage 2024-05-27 12:05:52 +01:00
The Magician 1dc003211a Add stub for storagemgr program 2024-05-24 18:37:12 +01:00
The Magician 974893605d Create unified "importer" command 2024-05-24 18:28:02 +01:00
The Magician 411abd66f6 Skip digital-only cards, close insert statements 2024-05-21 15:52:26 +01:00
The Magician d21f1274a6 Remove debug code 2024-05-21 15:27:36 +01:00
The Magician a7b8b66db3 Add card insert code 2024-05-21 15:27:05 +01:00
The Magician af6a9d0feb Minor fixen 2024-05-21 15:17:25 +01:00
The Magician bd581e1c60 Add correct foil flags 2024-05-21 15:17:00 +01:00
The Magician 07e8277a00 Remove importcards command 2024-05-21 15:16:43 +01:00
The Magician 9fa8bb563f Unmarshal card data into slice 2024-05-21 15:15:58 +01:00
The Magician 4c8beb0eb5 Add Card Scryfall type with only required fields 2024-05-21 14:41:35 +01:00
The Magician d1fa838bfe Cache bulk data file 2024-05-21 14:31:54 +01:00
The Magician 01e06c0152 Fix timestamp SELECT code 2024-05-21 14:31:20 +01:00
The Magician 411383704c Import set data 2024-05-21 13:25:08 +01:00
The Magician fd4c2048e1 Modify Makefile to use unified importer 2024-05-21 12:35:01 +01:00
The Magician 787794ac97 Move set import code to main.go 2024-05-21 12:33:14 +01:00
The Magician a01e591e5f Create cache directories 2024-05-21 12:28:08 +01:00
The Magician f31186add2 Write outline for combined importer 2024-05-21 12:24:16 +01:00
The Magician e98b0ec72f Move filesystem constants to main.go 2024-05-21 12:19:01 +01:00
The Magician a6463b0b25 Implement check function 2024-05-21 12:17:50 +01:00
The Magician b25cab0104 Remove test code from main.go 2024-05-21 12:17:24 +01:00
The Magician 5f7f07edea Move loop to main package 2024-05-20 17:33:40 +01:00
The Magician c4f87dc451 Change Makefile targets 2024-05-20 17:26:18 +01:00
The Magician d3583cee0e Make "CacheTimestamp" table name singular 2024-05-20 17:21:16 +01:00
The Magician d74d299418 Skip importing digital-only sets 2024-05-20 17:20:27 +01:00
The Magician 75b425c849 Import sets into database 2024-05-20 17:17:45 +01:00
The Magician 3f9d3a9dd6 Add missing comma 2024-05-20 16:54:49 +01:00
The Magician 2131a54e64 Remove unused struct 2024-05-20 16:50:57 +01:00
The Magician 72452ee2fa Start working on speeding up imports 2024-05-19 20:29:50 +01:00
The Magician af27b138bc Finish bulk json caching feature 2024-05-19 17:11:42 +01:00
The Magician e5b87bb8ae Remove unused API method 2024-05-19 15:01:52 +01:00
The Magician c8133803f7 Cache bulk data file 2024-05-19 15:01:18 +01:00
The Magician 6def107873 Remove broken decklist functionality 2024-05-19 10:06:28 +01:00
The Magician 87a94f800d Fix SQL syntax 2024-05-19 10:05:29 +01:00
The Magician e89495ba80 Add table to store cache timestamps 2024-05-19 10:01:57 +01:00
The Magician 5aa1854757 Start writing code to get decklists 2024-04-28 19:58:48 +01:00
The Magician 09a0ea0fbc Add DB schema for tournament decklists 2024-04-28 15:14:22 +01:00
The Magician 9c566e997f Download card data from Scryfall 2024-04-28 15:13:47 +01:00
The Magician b491315cd0 Upgrade to colly v2 2024-04-28 15:11:19 +01:00
The Magician b93df37bd4 Get all cards from bulk data endpoint 2024-04-24 14:29:38 +01:00
The Magician d6e558f9e3 Simplify database schema for current use case 2024-04-24 11:54:49 +01:00
The Magician 424bca2d4d Import colors to database 2024-04-23 21:45:55 +01:00
The Magician 4a6579a0a2 Add Card-related objects to Scryfall API package 2024-04-23 21:45:28 +01:00
The Magician 960adebd93 Import Set data from Scryfall 2024-04-23 17:52:48 +01:00
The Magician 7806b11cbf Fix Makefile 2024-04-19 10:01:59 +01:00
The Magician 34ed8b8751 Allow SetCode to be five characters 2024-04-19 09:19:42 +01:00
The Magician 85eaa5df0c Make cmd folder names match Makefile actions 2024-04-19 09:14:59 +01:00
The Magician 4805299fa7 Add SetType column to ExpansionSet table 2024-04-19 09:12:42 +01:00
The Magician f09472a505 Move responsibility for importing Colors 2024-04-19 09:09:52 +01:00
The Magician 256b6e96f2 Set up command to import data from Scryfall 2024-04-19 09:07:19 +01:00
The Magician 896a6666a9 Merge branch 'main' of git.themagician.cc:TheMagician/TheMathemagicians 2024-04-19 08:58:17 +01:00
The Magician 0312a8266a Finish SQL schema 2024-04-14 21:28:35 +01:00
The Magician d15cc864bc Add updates to database schema 2024-04-13 14:35:00 +01:00
The Magician 07ad091168 Design first draft of database schema 2024-04-12 22:28:00 +01:00
The Magician 3d273eb738 Merge branch 'main' of git.themagician.cc:TheMagician/TheMathemagicians 2024-04-12 09:59:43 +01:00
The Magician b6f08c2c1b Add main.go 2024-04-12 09:59:09 +01:00
The Magician 529860f2bc Start creating database schema 2024-04-12 09:56:47 +01:00
The Magician f562f6d697 Add dummy SQL code 2024-04-04 14:55:12 +01:00