Commit Graph
100 Commits
Author SHA1 Message Date
Donkie 841cc8b6df Added sort by remaining weight 2023-09-16 11:13:30 +02:00
Donkie a4d14c5b52 Added X-Total-Count test asserts
Fixed issue with incorrect total count for vendors
2023-09-16 11:13:30 +02:00
Donkie 4e0851e7c3 Added full tests for vendor 2023-09-16 11:13:30 +02:00
Donkie 0f58ddfd88 Modernized vendor tests 2023-09-16 11:13:30 +02:00
Donkie 978773583a Full testing done for filaments
Also added tests for having multiple sorts
2023-09-16 11:13:30 +02:00
Donkie acc6ab56a5 Fixed tests for non-sqlite dbs 2023-09-16 11:13:30 +02:00
Donkie aa28e51c28 Added offset and limit tests for spools 2023-09-16 11:13:30 +02:00
Donkie 13994c486f Added module-level fixtures in tests 2023-09-16 11:13:30 +02:00
Donkie e436aa4975 Added tests for spool find sorting 2023-09-16 11:13:30 +02:00
Donkie 9a7375d781 Added test cases for finding empty spool fields 2023-09-16 11:13:30 +02:00
Donkie f47eacd2a9 Added support for finding empty vendor fields 2023-09-16 11:13:30 +02:00
Donkie 3b8db0b5f7 Expose X-Total-Count header 2023-09-16 11:13:30 +02:00
Donkie de16dd7be0 Added database support for finding empty fields 2023-09-16 11:13:30 +02:00
Donkie f62f9d899b Client: Now uses server side sorting
Still some stuff left to do #98
2023-09-16 11:13:30 +02:00
Donkie 826fde6967 API find nested filters now specified using period
Previously you used underscore, like vendor_name. This made fields like filament_article_number have ambiguous underscores.
2023-09-16 11:13:30 +02:00
Donkie 3bba0b1dce Added pdm cmd to run spoolman 2023-09-16 11:13:30 +02:00
Donkie 5bae67725a Added tanstack query devtools 2023-09-16 11:13:30 +02:00
Donkie 4b33ba0b1c Renamed locations endpoint to location 2023-09-16 11:13:30 +02:00
Donkie 1a031903de Start of serverside client tables 2023-09-16 11:13:30 +02:00
Donkie e2d937aaf1 Added x-total-count response header 2023-09-16 11:13:30 +02:00
Donkie 557ea82171 Added endpoints for getting list of materials, etc 2023-09-16 11:13:30 +02:00
Donkie 9d51ee49ed Serverside sort and limit for vendor and filaments 2023-09-16 11:13:30 +02:00
Donkie b9f1b71c1f Serverside spool find limit and offset 2023-09-16 11:13:30 +02:00
Donkie 4fdea75e3f Serverside spool sorting 2023-09-16 11:13:30 +02:00
Donkie 38d42746d1 Merge pull request #108 from maxkreja/master
Update German translation
2023-09-14 19:42:57 +02:00
Donkie 9d5d4cdc32 Merge pull request #105 from Daviteusz/weblate-spoolman-translate
locale(pl): Update Polish translations
2023-09-14 19:41:47 +02:00
Donkie fb386fe1ab Merge pull request #82 from TomW1605/master 2023-09-11 07:57:49 +02:00
Donkie 8e9ca8e305 Fixed ruff in CI 2023-09-04 20:36:02 +02:00
Donkie e1065d4a3f Format Dockerfile 2023-09-04 20:22:41 +02:00
Donkie 9e46de9007 Moved SPA definition to a new file 2023-09-04 20:22:31 +02:00
Donkie 89c588aaaf Revert "Remove style check"
This reverts commit 6f47fe0eaa.
2023-09-03 21:01:08 +02:00
Donkie 2db9823862 Merge pull request #94 from mkuf/config-permissions
Docker: set permissions for config directory
2023-09-03 20:21:25 +02:00
Donkie 6f47fe0eaa Remove style check 2023-08-28 21:24:55 +02:00
Donkie 992c3220c7 Pre-commit update 2023-08-28 21:17:27 +02:00
Donkie 871e5282e5 Updated python packages 2023-08-28 21:10:07 +02:00
Donkie c3779c4d2c Only release if style passes 2023-08-28 20:47:42 +02:00
Donkie 6e7d9a2e03 Replaced db.flush with db.commit
To try fix some odd cases of greenlet whining
2023-08-28 20:31:25 +02:00
Donkie e6b30da55d Split spool test_find into individual tests 2023-08-21 22:16:52 +02:00
Donkie c820112e11 Split up integration tests into individual files 2023-08-21 22:16:52 +02:00
Donkie d13eca1a72 Update README.md 2023-08-21 21:03:29 +02:00
Donkie 63dbf9c7d2 Update README.md 2023-08-20 13:26:22 +02:00
Donkie 988f045e48 Merge pull request #77 from Daviteusz/weblate-spoolman-translate
locale(pl): Add Polish translation
2023-08-20 10:50:16 +02:00
Donkie 2fcfc3814f Merge pull request #79 from Samuel-0-0/master 2023-08-16 18:11:35 +02:00
Donkie 99c43e6c5c Client: Fixed print dialog producing empty pages
Resolves #73
2023-08-14 20:14:52 +02:00
Donkie d9f9e74d43 Bump version to 0.11.0 2023-08-13 12:21:40 +02:00
Donkie d03a9510a5 Client: Sort filament/vendor dropdowns 2023-08-13 12:11:15 +02:00
Donkie 4f8e0284bb Client: Fixed scanner camera not stopping
Resolves #71
2023-08-13 12:04:39 +02:00
Donkie 26d54d4ca2 Client: Added another error message in scanner 2023-08-13 12:04:17 +02:00
Donkie f032bdcade Client: bumped dependencies 2023-08-13 10:46:06 +02:00
Donkie 980284be1d Client: Improved show page titles 2023-08-13 10:14:48 +02:00
Donkie 373067bd09 Client: Filament and vendor links in show pages
Resolves #70
2023-08-13 10:06:39 +02:00
Donkie 8b048d30b2 Client: Added custom paper sizes
Resolves #67
2023-08-13 09:57:53 +02:00
Donkie 8767e3951a Bump version to 0.10.0 2023-08-12 22:40:44 +02:00
Donkie af77bf6c26 Updated migration to support sqlite 2023-08-12 22:33:20 +02:00
Donkie 4cb2542a41 Added support for color_hex alpha channel 2023-08-12 21:32:20 +02:00
Donkie 6934748b14 Client: Enabled search in vendor/filament dropdown
Closes #60
2023-08-12 21:10:44 +02:00
Donkie ecabc425c3 Client: Rich URLs in comments
Closes #51
2023-08-12 20:59:37 +02:00
Donkie 5a8a5b185d Client: Notifications now appear in center instead
Closes #59
2023-08-12 20:38:26 +02:00
Donkie 130aed4ed6 Client: Show used/remaining length in spool show 2023-08-12 20:20:39 +02:00
Donkie 0631c5f7a1 Client: Made decimals more consistent
Closes #58
2023-08-12 20:20:25 +02:00
Donkie 7bdde571a7 Client: Fixed variable decimals amount in fields 2023-08-12 20:19:47 +02:00
Donkie 16bed68b90 Client: Improved form number parser 2023-08-12 20:19:18 +02:00
Donkie e81bf8b8e7 Client: Reformatted all files with new line length 2023-08-12 19:54:24 +02:00
Donkie 163aa2badc Client: Added horizontal and vertical spacing 2023-08-12 15:52:43 +02:00
Donkie 153e891d6e Client: Added toggles for all label contents
Can now print spool/filament/vendor comments on the labels.
Translated label contents
2023-08-12 15:36:49 +02:00
Donkie 3662d89575 Client: Cleaned up layout form with collapsibles 2023-08-12 15:03:45 +02:00
Donkie 2b489a3866 Client: Added ability to skip X items 2023-08-10 21:46:38 +02:00
Donkie 3f18c32c8a Client: Replaced block-system with safe-zone 2023-08-10 21:40:30 +02:00
Donkie ec80973f96 Client: Added some info to qr code printing label 2023-08-09 18:50:04 +02:00
Donkie 3dc678a575 Merge branch 'qrcode' into master 2023-08-08 21:32:41 +02:00
Donkie c6de1c403a Improved dockerfile client builder 2023-08-08 21:32:07 +02:00
Donkie 6ca18b8f94 Client: Improved scanner error if not HTTPS 2023-08-08 21:31:45 +02:00
Donkie 7b1aab41aa Merge pull request #52 from patofoto/master
Spanish Translation
2023-08-08 20:54:50 +02:00
Donkie ef2873ea64 Merge pull request #62 from TomW1605/master
add material to filament select dropdown in spool pages
2023-08-06 11:13:12 +02:00
Donkie f552affa98 Client: Scanner translations update 2023-08-03 22:31:09 +02:00
Donkie b95443228c Client: Removed unsetting lasterror 2023-08-03 22:27:20 +02:00
Donkie edd75e86be Client: Switched to react-qr-scanner 2023-08-03 22:26:17 +02:00
Donkie 3eda3580f6 Client: Added simple qr code scanner 2023-08-03 21:51:49 +02:00
Donkie d7ccd24257 Client: Add ability to block rows/columns in print
Also fixed some issues with drawing the border
2023-08-02 21:55:46 +02:00
Donkie 437213c7d4 Client: QR print updates
* Added grid borders
* Replaced row height with instead choosing number of rows
* Added support for negative margins
* New QR code content format
* Added number inputs to all sliders
2023-08-02 21:00:36 +02:00
Donkie c08b4cb81a Improved monochrome spoolman icon 2023-07-30 10:27:58 +02:00
Donkie 6b1420a3fa Cleaned up svg layers 2023-07-30 10:27:43 +02:00
Donkie 0043f536ee Client: Translations for qr code stuff
Also added error if no spools were selected
2023-07-30 10:20:46 +02:00
Donkie 475e64ff48 Client: Added a spool selection dialog 2023-07-30 09:54:33 +02:00
Donkie 42373baa03 Client: Moved form units to tooltip 2023-07-30 09:51:49 +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 99b8b14f4a Merge branch 'master' into master 2023-07-25 23:15:40 +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 78cccfa2aa Client: Abstracted out the printing dialog 2023-07-15 15:24:06 +02:00
Donkie e6e865a75a Client: Added missing react-to-print dependency 2023-07-15 15:23:35 +02:00
Donkie 884b380b8c Client: Moved QR code printing dialog 2023-07-15 14:40:14 +02:00
Donkie 06e53d05dc Client: Created QR code printing dialog component 2023-07-15 14:39:20 +02:00
Donkie 3cab6166a3 Client: Created general useSavedState function 2023-07-15 14:38:40 +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