Commit Graph

244 Commits

Author SHA1 Message Date
Donkie
66b6770ddd Backup API now instead returns 500 on failure
Removed the "success" flag
2023-07-07 17:33:19 +02:00
Donkie
4548b8ef77 Don't apply 404 model to all endpoints 2023-07-06 23:55:41 +02:00
Donkie
006512a1b3 Fixed backup openapi description field 2023-07-06 23:49:14 +02:00
Donkie
26fd390da2 Updated python dependencies 2023-07-06 23:29:14 +02:00
Donkie
40a9f1cd2a Client: Updated packages 2023-07-06 23:22:40 +02:00
Donkie
eeac30a963 Client: Fixed up pagination, now also stored 2023-07-06 23:18:39 +02:00
Donkie
58833f2203 Client: Apply some memoization 2023-07-06 23:00:08 +02:00
Donkie
b1af320a54 Client: Stricter typing 2023-07-06 22:36:41 +02:00
Donkie
04a39dfcbe Client: Safeguard against missing localStorage 2023-07-06 19:56:54 +02:00
Donkie
30934842ff Client: Save/load state cleanup, sync with rest 2023-07-06 19:49:04 +02:00
Donkie
f36eb86fc7 Client: Added clear filters button 2023-07-06 19:33:30 +02:00
Donkie
3c8e414aef Client: Make table use the refine sorters/filters
That way, Refine is in charge of the sorters/filters state, instead of Refine and AntD each having their own state for it.
2023-07-06 19:32:48 +02:00
Donkie
e42b206d7d Client: Filter state is now saved in local storage 2023-07-06 19:18:11 +02:00
Donkie
887748402d Client: Improved filament label if name not set 2023-07-06 19:05:28 +02:00
Donkie
a954ef3df5 Client: Added filtering capabilities to filaments 2023-07-06 19:00:32 +02:00
Donkie
391d38a3a5 Client: Moved defaultSortOrder func to utils 2023-07-06 18:59:26 +02:00
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