Commit Graph
100 Commits
Author SHA1 Message Date
Donkie f76c18ea3a Client: Define vendor_name field in list 2023-07-06 18:26:04 +02:00
Donkie 5ac96c7166 Client: Some type fixes 2023-07-06 18:16:20 +02:00
Donkie 2b33f73b28 Client: Typing for spool and vendor useTable 2023-07-06 16:41:25 +02:00
Donkie 096f75ffb5 Client: Sort state is now saved in local storage 2023-07-06 16:18:14 +02:00
Donkie 4c17b8ea30 Client: Perform pagination using AntD instead
If we let Refine do the pagination, it will only return a page's worth of items in the dataSource. This makes the sorting useless if the items span multiple pages.

Now we let Ant Design to the pagination instead.
2023-07-06 16:06:04 +02:00
Donkie 23a3b3bbe1 Client: Vendor table is now sortable 2023-07-06 15:40:07 +02:00
Donkie d0f67d766c Client: Spool table is now sortable 2023-07-06 15:38:42 +02:00
Donkie f0403b3afb Client: Filament table is now sortable
Can only sort by 1 column for now
2023-07-06 15:36:10 +02:00
Donkie 97170719b2 Client: 20 item pagination 2023-07-06 14:54:48 +02:00
Donkie fe85caa44b Client: Fixed filament clone fail if no vendor 2023-07-06 14:52:41 +02:00
Donkie 635c9c5856 Fixed license in pyproject.toml 2023-07-04 14:59:14 +02:00
Donkie f24b9610e8 Added automatic nightly SQLite backups
Resolves #22
2023-07-04 14:59:05 +02:00
Donkie 51783afe92 Fixed invalid type in spool model 2023-07-04 14:28:52 +02:00
Donkie 243d634f75 Documented SPOOLMAN_LOGGING_LEVEL 2023-07-04 13:34:33 +02:00
Donkie 45eebb363f Force ruff version in pre-commit 2023-07-04 12:20:40 +02:00
Donkie 8dad76f277 Update .pre-commit-config.yaml 2023-07-04 12:14:08 +02:00
Donkie 899b4ee77d Fixed health check return type 2023-07-04 12:10:45 +02:00
Donkie d201f17e5e Improved manually specifying sqlite db 2023-07-04 12:10:14 +02:00
Donkie 57fdfaf0dc Update alembic logging format 2023-07-04 11:45:25 +02:00
Donkie 8b4b1bd3e9 Added a health-check endpoint 2023-07-02 22:55:29 +02:00
Donkie 0cdb496a1d Client: Move refine CLI to devdeps 2023-06-30 23:43:58 +02:00
Donkie 555370f191 Ignore .vscode folder 2023-06-30 23:29:51 +02:00
Donkie d6d5d4dad7 Delete launch.json 2023-06-30 23:29:22 +02:00
Donkie 720ec30812 Fixed dependencies on Python >3.9 versions 2023-06-30 23:28:30 +02:00
Donkie 94d8cbf227 SQLite dbs now handle concurrent reqs better
Closes #7
2023-06-30 22:28:01 +02:00
Donkie 1fd89807d4 Contract test for concurrent spool use 2023-06-30 21:53:01 +02:00
Donkie 11eec3c259 Improved local integration test script 2023-06-30 21:52:33 +02:00
Donkie bbe1dc0f83 Added extra check if a spool has no filament 2023-06-28 20:53:24 +02:00
Donkie 64aaf2a06a 404 error is now more descriptive 2023-06-28 20:44:22 +02:00
Donkie 43a3e3f1f2 Client: Better locale comma support 2023-06-27 22:51:22 +02:00
Donkie d4afc56173 Added Moonraker info to README 2023-06-27 20:28:41 +02:00
Donkie d127602904 Extended README with basic docker info 2023-06-27 20:26:20 +02:00
Donkie 852ff9cb3b Client: Updated packages 2023-06-25 18:21:20 +02:00
Donkie 8c6675beb0 Client: Added clone button for vendors 2023-06-25 18:10:58 +02:00
Donkie e24834f161 Client: Added clone button for filaments 2023-06-25 18:08:46 +02:00
Donkie 58426b075f Clarified timezone in response model 2023-06-25 18:06:40 +02:00
Donkie b665a1ebe8 Client: Merged clone spool into create spool page 2023-06-25 18:00:15 +02:00
Donkie 3aec319b6a Now correctly handles datetimes with timezone set 2023-06-25 17:57:17 +02:00
Donkie 9ac3c56bbf Client: Added spool clone button 2023-06-25 17:25:02 +02:00
Donkie 1791f3fbbd Client: Fixed first/last used for unused spools 2023-06-25 16:56:01 +02:00
Donkie 7c8d13e8a3 Cleaned up logging code 2023-06-25 16:28:23 +02:00
Donkie 2caee6120e Added note in README about data folder and it's permissions 2023-06-25 15:38:58 +02:00
Donkie 50abc5c74f Client: Added color edit 2023-06-03 21:33:14 +02:00
Donkie d74393d12d Client: Updated packages 2023-06-03 21:15:35 +02:00
Donkie 06dfbf67f8 armv7 actually works now 2023-06-03 20:50:25 +02:00
Donkie 2ae4b88a14 armv7 build working 2023-06-03 19:55:03 +02:00
Donkie 9a6572d197 Fix .venv folder name 2023-06-03 13:40:51 +02:00
Donkie e4806591cc Progress towards armv7 Docker build 2023-06-03 12:26:19 +02:00
Donkie 524a8ffc42 Fixed redoc title name 2023-06-01 20:03:15 +02:00
Donkie 4e409f6bb6 Added filament color code field 2023-06-01 19:56:24 +02:00
Donkie 27731974fd Added pre-commit 2023-05-28 23:10:36 +02:00
Donkie 235236d435 Ruff fixes 2023-05-28 22:55:11 +02:00
Donkie 639f91bd49 Client: app is now properly loaded at any URL 2023-05-28 22:50:04 +02:00
Donkie 6de7deb77f Attempt to fix cockroachdb integration test 2023-05-28 22:32:26 +02:00
Donkie 7c7ee9296c Added extruder/bed temp override settings
Closes #4
2023-05-28 21:52:51 +02:00
Donkie 424856c710 Improved tests for add in integration tests 2023-05-28 21:40:17 +02:00
Donkie de1bf05922 Added Alembic for migrations 2023-05-27 23:14:06 +02:00
Donkie adda3e6f25 Less yank mariadb healthcheck 2023-05-21 23:46:44 +02:00
Donkie 5e75d6d70e Run integration tests on all db types 2023-05-21 23:38:41 +02:00
Donkie ba6fb62c7b Enabled pool_pre_ping to mitigate postgres drop 2023-05-21 23:38:21 +02:00
Donkie 1c9785be95 Fixed cockroachdb connection 2023-05-21 23:38:03 +02:00
Donkie 5f639b7a89 Full API integration test coverage 2023-05-21 23:06:23 +02:00
Donkie 1d87235f9e Fixed spool find filament_name type 2023-05-21 23:06:05 +02:00
Donkie 6bc9c3c4fa Added script to easily run integration tests locally 2023-05-18 17:53:20 +02:00
Donkie 89cff893aa Full integration test coverage for the vendor API 2023-05-18 17:53:02 +02:00
Donkie 01464b5dea Attempt to fix artifacts again 2023-05-18 16:22:08 +02:00
Donkie 0f95afe9cb Fixed incorrect artifact names, added build cache 2023-05-18 16:14:22 +02:00
Donkie b720088135 Another attempt at splitting up into multiple jobs 2023-05-18 16:10:14 +02:00
Donkie f57d5c797a Split action into multiple jobs 2023-05-18 16:01:38 +02:00
Donkie 750a641c75 Attempt to fix build issue 3 2023-05-18 15:58:17 +02:00
Donkie a35ca3e9ba Use venv in docker to try fix build issues 2023-05-18 15:46:41 +02:00
Donkie dce4cebb00 Attempt to fix build issue 2 2023-05-18 15:32:51 +02:00
Donkie 04c2423fa6 Only publish API docs on release 2023-05-18 14:48:11 +02:00
Donkie 4802693579 Attempt to fix build issue 2023-05-18 14:47:21 +02:00
Donkie c6ee7df535 Start of integration tests 2023-05-18 14:38:28 +02:00
Donkie d3703d0d92 Removed trailing slash from API URLs 2023-05-18 14:33:57 +02:00
Donkie 646ade1721 Client: Date time zones now handled correctly 2023-05-18 13:38:38 +02:00
Donkie 60ea450ce2 Client: Updated color theme 2023-05-18 13:27:57 +02:00
Donkie afdc809b9d Client: Fixed svg import error 2023-05-17 22:20:52 +02:00
Donkie 3f12f97240 Updated license in dockerfile 2023-05-17 22:16:32 +02:00
Donkie 70e4054727 Client: Some nicer icons for the drawer 2023-05-17 22:15:26 +02:00
Donkie 40dc48668b Client: Fixed incorrect units for some numbers 2023-05-17 22:03:19 +02:00
Donkie 9ae6bafd35 Client: Removed unused tsx icon 2023-05-17 21:49:21 +02:00
Donkie c8b4aabe7a Client: Updated icon 2023-05-17 21:49:21 +02:00
Donkie a8a0de3daa Update README.md 2023-05-17 21:47:38 +02:00
Donkie 166c6fa0d1 Client: Improved the lists a bit 2023-05-16 21:50:09 +02:00
Donkie 9a063fcf5d Update README.md 2023-05-16 21:06:01 +02:00
Donkie ce5fcce7c3 Added a custom icon to client 2023-05-16 20:51:26 +02:00
Donkie 1f90d7c3b1 Client: Better spool filament select 2023-05-14 22:07:46 +02:00
Donkie e774c15a92 Client: Packages update 2023-05-14 20:23:41 +02:00
Donkie 329c4c4675 Client: Don't hard code the API endpoint anymore 2023-05-14 20:21:25 +02:00
Donkie 77a3f65111 Client: Fixed model interfaces exports 2023-05-14 20:09:55 +02:00
Donkie caa25ccf93 Client: Better datetime field support 2023-05-14 20:06:44 +02:00
Donkie 43919ac90e Client: Filament/Vendor selects now work 2023-05-14 20:06:17 +02:00
Donkie 8e21cd2e12 Updated Dockerfile command 2023-05-14 18:59:48 +02:00
Donkie ecc34f3669 Added a debug mode 2023-05-14 18:54:05 +02:00
Donkie 24083b42f9 Don't expose raw exceptions to client 2023-05-14 10:01:11 +02:00
Donkie 8b4ba1f1c5 Switched to MIT license 2023-05-14 09:47:58 +02:00
Donkie 3a9bc167ae Update README.md 2023-05-14 09:45:20 +02:00
Donkie 87690b06ca Fixed find spools not working if no vendor 2023-05-10 22:32:58 +02:00