Commit Graph

265 Commits

Author SHA1 Message Date
Savanni D'Gerinel 3294262d8d Set up temperory working directories 2023-09-25 00:58:35 -04:00
Savanni D'Gerinel afa8134644 Correctly set up file ids from list_files 2023-09-25 00:17:34 -04:00
Savanni D'Gerinel f7012ee11a Refactor PathResolver so it cannot fail 2023-09-25 00:05:45 -04:00
Savanni D'Gerinel 759a4b6a1a Remove old test files 2023-09-24 23:52:44 -04:00
Savanni D'Gerinel 4fa3a89e08 Lots more refactoring :( 2023-09-24 23:52:29 -04:00
Savanni D'Gerinel 6c1fa7cc2f Clean up the filehandle logic 2023-09-24 12:08:09 -04:00
Savanni D'Gerinel b0641bf5e9 Add cool_asserts 2023-09-23 20:20:57 -04:00
Savanni D'Gerinel 98a07ce03e Provide a unified interface for the File and Thumbnail 2023-09-23 20:20:35 -04:00
Savanni D'Gerinel 809861a38e Load file by ID 2023-09-23 19:15:56 -04:00
Savanni D'Gerinel bda0caff95 Get thumbnail creation working again 2023-09-23 15:17:49 -04:00
Savanni D'Gerinel 90f9b80dd9 Add some tests to verify that a file can be added to the system
Still gutting a lot of the old code, but this MR focuses more on ensuring that a file can be added and that the metadata gets saved.
2023-09-22 23:43:45 -04:00
Savanni D'Gerinel 163e1e1de1 Add some testing for the PathResolver 2023-09-22 21:56:43 -04:00
Savanni D'Gerinel d658747202 Start ripping out lots of infrastructure
Much of the infrastructure is old and seems to be based on some assumptions about how Iron handled multipart posts. I don't understand how much of this works, so I'm slowly ripping parts out and rebuilding how the separation of concerns works.
2023-09-22 20:03:58 -04:00
Savanni D'Gerinel 8c099d0586 Set up the delete route
Sets up the delete route, including post-delete redirect back to the root.
Also adds logging.

Delete does not actually delete things yet.
2023-09-22 00:38:26 -04:00
Savanni D'Gerinel f440e6f7ad Refactor file and thumbnail serving to common code 2023-09-21 22:15:58 -04:00
Savanni D'Gerinel 1bb6bd78e6 Attempt to add etag caching 2023-09-21 00:00:09 -04:00
Savanni D'Gerinel f4b3e811fc Render thumbnails 2023-09-20 23:31:52 -04:00
Savanni D'Gerinel 56d7fae43c Update cargo.lock 2023-09-20 23:07:01 -04:00
Savanni D'Gerinel a02e335492 Swap from iron to warp and start rebuilding the app 2023-09-20 23:06:34 -04:00
Savanni D'Gerinel 75bfae02c4 Add orizentic and file-service to the build 2023-09-19 19:01:09 -04:00
Savanni D'Gerinel 81aa7410de Import a questionably refactored version of file-service 2023-09-19 18:55:53 -04:00
Savanni D'Gerinel 356395a503 Import orizentic 2023-09-19 18:31:30 -04:00
Savanni D'Gerinel d6c2a9519b Overhaul the sgf representation 2023-08-29 23:14:35 -04:00
Savanni D'Gerinel 7805a55322 Added the build scripts for kifu-gtk 2023-08-29 23:12:53 -04:00
Savanni D'Gerinel 1489121877 Get the width of the application back under control 2023-08-25 00:07:29 -04:00
Savanni D'Gerinel 562d4871a1 Create padding within the content view 2023-08-24 22:33:36 -04:00
Savanni D'Gerinel 16c8dcb682 Add a CSS stylesheet 2023-08-24 22:10:05 -04:00
Savanni D'Gerinel cc828c417a Change the layout/app_window to an ordinary object with necessary objects 2023-08-24 21:56:03 -04:00
Savanni D'Gerinel 784f3ff7f4 Be able to update the library path in the core 2023-08-24 20:52:27 -04:00
Savanni D'Gerinel 5439e2ac04 Set up a configuration UI 2023-08-24 20:24:41 -04:00
Savanni D'Gerinel 0bf6e079a2 Set up the configuration action 2023-08-23 17:51:51 -04:00
Savanni D'Gerinel 3998538e88 Set up the hamburger menu 2023-08-23 17:31:34 -04:00
Savanni D'Gerinel 793cd67218 Add a header bar and content field for applications 2023-08-23 15:57:09 -04:00
Savanni D'Gerinel ff13ff3c0e Update to a libadwaita app 2023-08-20 22:12:00 -04:00
Savanni D'Gerinel cc3ad372e6 Flip totally to a libadwaita program 2023-08-20 21:37:40 -04:00
Savanni D'Gerinel 3c063af525 Add the game result to the list of visible games 2023-08-20 13:17:54 -04:00
Savanni D'Gerinel aa64bf4c7e Remove the launch screen 2023-08-20 12:58:58 -04:00
Savanni D'Gerinel f75e0d4d65 Remove the library_view 2023-08-20 12:56:42 -04:00
Savanni D'Gerinel d8534a08eb Show the name of the game, and create one if it doesn't exist 2023-08-20 12:53:14 -04:00
Savanni D'Gerinel e5d0b7d20f Improve formatting. Rename GameDatabase to Library 2023-08-20 12:40:46 -04:00
Savanni D'Gerinel e9ffab1187 Construct a game preview component and render basic information into it 2023-08-20 12:31:44 -04:00
Savanni D'Gerinel a584fb4de3 Get the scrollbar to expand with the window 2023-08-19 23:45:19 -04:00
Savanni D'Gerinel e3f4ca246d Create the list of games 2023-08-19 23:24:01 -04:00
Savanni D'Gerinel 07b7351501 Flatten configuration by one level 2023-08-19 20:46:43 -04:00
Savanni D'Gerinel 70a295d4b1 Start combining the new game and library views 2023-08-19 20:09:50 -04:00
Savanni D'Gerinel 5478d388cb Set up a reflowing layout for the cards 2023-08-19 19:52:01 -04:00
Savanni D'Gerinel e203b17c8b Try to set up a title bar 2023-08-19 19:52:01 -04:00
Savanni D'Gerinel 69583dfd64 Create placeholder elements for each playlist card 2023-08-19 19:52:01 -04:00
Savanni D'Gerinel d59c2585db Set up configuration 2023-08-19 19:52:01 -04:00
Savanni D'Gerinel a6fcbfac71 Make the main app window appear, start working on config 2023-08-19 19:52:01 -04:00