Commit Graph
100 Commits
Author SHA1 Message Date
Donkie 6b1420a3fa Cleaned up svg layers 2023-07-30 10:27:43 +02:00
Donkie cac6220d95 Added a monochrome spoolman icon 2023-07-29 22:03:13 +02:00
Donkie 980a0ab651 Added svg icon source files 2023-07-29 21:50:20 +02:00
Donkie df89a0c8a5 Client: Created general useSavedState function 2023-07-29 21:50:20 +02:00
Donkie 7c23156d85 Don't cache builds for PRs
Doesn't work since they don't have access to write to the registry.
2023-07-25 23:06:33 +02:00
Donkie a335b16abd Added client dev section to README 2023-07-24 19:55:56 +02:00
Donkie a54e28d353 Client: Fixed fallback language 2023-07-15 11:01:25 +02:00
Donkie adb0d6e1f4 Bump version to 0.9.1 2023-07-14 19:05:11 +02:00
Donkie d14fce013c Fixed spools with unset archive state being hidden 2023-07-14 19:04:54 +02:00
Donkie 3bc47cc686 Bump version to 0.9.0 2023-07-14 15:01:47 +02:00
Donkie 5798f91b60 Updated integration tests to support archived 2023-07-14 14:54:59 +02:00
Donkie 7971cda7b5 Client: Support spool archiving in frontend 2023-07-14 14:21:47 +02:00
Donkie f89cf8ecd4 Added archived field to spools
Resolves #13
2023-07-14 14:19:57 +02:00
Donkie 061061cd31 Client: Added custom data provider
Similar to the simple REST provider, but supports any query parameters.
2023-07-14 14:19:03 +02:00
Donkie 346e59151f Client: Added material column in spool table 2023-07-14 12:07:27 +02:00
Donkie bfb63cbfdc Client: Added some missing columns in table
Also configured the default columns to show
2023-07-14 12:05:05 +02:00
Donkie 14e758ea23 Client: Added translation for Unknown 2023-07-14 12:04:35 +02:00
Donkie 9b1e68e5bf Parallel CI builds 2023-07-13 23:23:29 +02:00
Donkie e5d1d7f944 Enabled gzip compression 2023-07-13 23:02:35 +02:00
Donkie 0cfc414b9c Client: Some code-splitting using loadable 2023-07-13 22:57:13 +02:00
Donkie 9fe37b315c Client: Added default exports to all pages 2023-07-13 22:56:54 +02:00
Donkie f21834ce2d Client: Full localization, dynamic title 2023-07-13 22:20:54 +02:00
Donkie e5ef306aa2 Client: Added show/hide columns feature 2023-07-13 19:12:38 +02:00
Donkie 257c8b55ac Client: Disable Refine telemetry 2023-07-12 21:49:18 +02:00
Donkie ece0fbd131 New attempt at registry cache 2023-07-12 15:33:50 +02:00
Donkie 87d30c6d01 Merge pull request #40 from Donkie/dependabot/npm_and_yarn/client/semver-5.7.2
Bump semver from 5.7.1 to 5.7.2 in /client
2023-07-12 15:32:36 +02:00
Donkie 853bcf2c63 Try again with gha and lowercase name
This reverts commit 8e8e49bace.
2023-07-11 15:16:15 +02:00
Donkie 8e8e49bace Try registry cache again but with lowercase repo 2023-07-11 14:35:09 +02:00
Donkie 840c97715d Uppercase image name 2023-07-10 18:07:19 +02:00
Donkie 2da89b046e Revert to gha layer cache 2023-07-10 17:14:24 +02:00
Donkie 0f4f1765a2 Lowercase image name 2023-07-10 17:09:58 +02:00
Donkie 1fb3e82c71 Try different layer caching method 2023-07-10 16:59:34 +02:00
Donkie c31fb6fda2 Condensed github workflows
Resolves #39
2023-07-10 16:38:26 +02:00
Donkie dd84f9d185 Bump version to 0.8.0 2023-07-10 12:40:43 +02:00
Donkie c8974c505d Client: Improved layout of new spool icon 2023-07-10 12:40:32 +02:00
Donkie cfef2beb47 Added caching to release job 2023-07-10 12:13:30 +02:00
Donkie f8dfa8f7f7 Client: Added version text
Resolves #32
2023-07-10 12:11:03 +02:00
Donkie 6173cf1d27 Install app as non-editable in dockerfile 2023-07-10 11:46:35 +02:00
Donkie 247df66736 Added a /info endpoint
Contains useful info like version, and configurations
2023-07-10 11:46:19 +02:00
Donkie b9ee4626d3 Moved version to the FastAPI app instead 2023-07-10 11:45:46 +02:00
Donkie 85aae6119d Fixed one more case of bad type union 2023-07-10 11:26:30 +02:00
Donkie 34257869ba Minor ruff fixes in integration tests 2023-07-10 11:21:36 +02:00
Donkie 5654b5d7bc Added used_length and remaining_length API fields
They're calculated from the weights

Resolves #37
2023-07-10 11:19:46 +02:00
Donkie f995662f05 Conversion math library update
* Now inputs diameter instead of radius to prevent confusion
* Added length_from_weight
2023-07-10 11:02:22 +02:00
Donkie 6afbdb17f3 Build docker image on every push 2023-07-10 02:14:29 +02:00
Donkie 3dc029968b Added a version bumping script 2023-07-10 01:52:05 +02:00
Donkie 97bf2f68ce Formatted pyproject.toml 2023-07-10 01:28:11 +02:00
Donkie 446cfd639b Add PDM lock file pre-commit hook 2023-07-10 01:22:58 +02:00
Donkie 18d4383544 Update apidocs.yml 2023-07-10 01:22:19 +02:00
Donkie f96b2ca077 Removed old requirements.txt files 2023-07-10 01:14:56 +02:00
Donkie a6ac5982cc Switched to PDM for package management 2023-07-10 01:13:40 +02:00
Donkie 5c9b0c3fac Run script now fails if docker build fails 2023-07-09 00:54:01 +02:00
Donkie 9d09655bf7 Now printing pyproject.toml version on startup 2023-07-08 23:34:16 +02:00
Donkie 9561111b90 Client: Added a colored spool icon in the lists
To indicate the filament color_hex field

Resolves #23
2023-07-08 23:21:13 +02:00
Donkie 936b11de24 Backend now fully supports negative consumption
Updated integration tests to verify this.
2023-07-08 20:07:32 +02:00
Donkie 746b891703 Improve local integration test run script
Can now specify what targets to run
2023-07-08 20:05:28 +02:00
Donkie 1deea16163 Add data/ to .gitignore 2023-07-08 20:05:02 +02:00
Donkie 4da5518c10 Improved docker-related info in README 2023-07-07 18:23:03 +02:00
Donkie 517cbfc8b6 Client: Clarify weight/spool_weight a bit 2023-07-07 18:16:52 +02:00
Donkie 2690cd747b Updated backup integration test 2023-07-07 17:47:54 +02:00
Donkie d3a4dcfcf8 Added logging for when scheduled backup runs 2023-07-07 17:37:17 +02:00
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