Commit Graph
100 Commits
Author SHA1 Message Date
Donkie 3c8ea136b3 Update README.md 2023-10-08 12:39:43 +02:00
Donkie 8ade10db11 Bump version to 0.12.2 2023-10-08 11:40:49 +02:00
Donkie a4dce01661 Merge pull request #135 from Donkie/weblate
Translations update
2023-10-08 11:38:28 +02:00
Donkie b1447d03d1 Merge pull request #137 from Donkie/dependabot/npm_and_yarn/client/postcss-8.4.31
Bump postcss from 8.4.27 to 8.4.31 in /client
2023-10-08 11:38:11 +02:00
Donkie a3ec58d0fc Mainsail now supports Spoolman! 2023-10-07 21:25:26 +02:00
Donkie 9595aec675 Fixed registered field having wrong timezone
This happened with at least Postgres, which took it's server's timezone. It's complicated. Let's just set it from our side instead where we have some control.
2023-10-02 21:36:50 +02:00
Donkie 205574fa2c Fixed timezone being returned incorrectly
Happened if you've set TZ to non-UTC.

Apparently astimezone and replace doesn't do the same thing even if tzinfo is None.
2023-10-02 21:36:50 +02:00
Donkie e07436bd8c Merge pull request #128 from Donkie/weblate
Translations update
2023-10-01 21:39:52 +02:00
Donkie 909e7217ae Fixed Czech language 2023-09-26 19:07:59 +02:00
Donkie d7bed054c5 Enabled new languages 2023-09-26 19:07:40 +02:00
Donkie f9e364b567 Merge pull request #117 from Donkie/weblate
Translations update from Hosted Weblate
2023-09-26 19:01:58 +02:00
Daniel Hultgren bde712f5dd Translated using Weblate (Swedish)
Currently translated at 100.0% (189 of 189 strings)

Translated using Weblate (English)

Currently translated at 100.0% (189 of 189 strings)

Co-authored-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/en/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sv/
Translation: Spoolman/Web Client
2023-09-26 19:00:23 +02:00
Donkie 324bd7a650 Added weblate link 2023-09-24 11:18:02 +02:00
Donkie bd9583e047 Merge pull request #116 from MickCZ/master
add Czech translation
2023-09-23 10:37:51 +02:00
Donkie f7fb9fdf43 Clarified docker volume a bit 2023-09-23 10:37:13 +02:00
Donkie cacd38a9f5 Bump version to 0.12.1 2023-09-20 21:12:51 +02:00
Donkie 82600347da Improved API documentation regarding empty fields 2023-09-20 21:10:38 +02:00
Donkie 597dca7c28 Fixed combining empty and non-empty filter
Previously it would then act as a wildcard filter
2023-09-20 21:02:49 +02:00
Donkie f967aef2cb Client: Fixed UI not handle empty filters properly 2023-09-20 20:56:29 +02:00
Donkie 556b80a5ce Bump version to 0.12.0 2023-09-20 20:26:04 +02:00
Donkie b795680226 Added missing timezone in responses
Fixes #114
2023-09-20 20:13:02 +02:00
Donkie 5f5473481e Merge pull request #113 from DrPerryCoke/master
Add Russian localization
2023-09-20 19:17:32 +02:00
Donkie cadb707fdd Added WebSocket notify API for spools 2023-09-17 22:00:00 +02:00
Donkie e8d91bc4ce Client: Show commit and build in version element 2023-09-17 11:11:05 +02:00
Donkie 1a3efd9ea9 Added git commit and build date env and API 2023-09-17 10:51:28 +02:00
Donkie a1a4ad6b45 Revert "Add git hash to version for master builds"
This reverts commit af1f3b45c5.
2023-09-17 09:43:25 +02:00
Donkie a8080f507e Merge pull request #112 from Samuel-0-0/master
locale(zh): Update Chinese (zh) localization
2023-09-16 20:16:24 +02:00
Donkie af1f3b45c5 Add git hash to version for master builds 2023-09-16 20:06:14 +02:00
Donkie af54f07349 Client: Number formatting/parsing update
Can now use comma or period in any locale and it will handle it correctly. To do this, it now always uses a blank space as a thousands separator to prevent ambiguity with the decimal separator.
2023-09-16 14:16:30 +02:00
Donkie df66abe80c Client: Fix missing period in english i18n 2023-09-16 14:14:30 +02:00
Donkie 12b19c2c63 Client: Disabled vite dev https
It's causing loading issues
2023-09-16 13:54:10 +02:00
Donkie f722adec22 Client: Fixed incorrect column name keys 2023-09-16 13:47:50 +02:00
Donkie 3b32361c6e Merge pull request #99 from Donkie/sorting
Sorting
2023-09-16 13:38:38 +02:00
Donkie 91e4171ff8 Client: Added lazy-loading for filter drop downs 2023-09-16 11:13:30 +02:00
Donkie 58fdbb4d85 Client: Fixed spool select table formatting 2023-09-16 11:13:30 +02:00
Donkie 9c2504d073 Client: Added indeterminate state to spool select 2023-09-16 11:13:30 +02:00
Donkie dc5e3a0fbd Client: Filament name filtering/sorting now works 2023-09-16 11:13:30 +02:00
Donkie 6f94c17050 Renamed vendor.x to filament.vendor.x in spool API 2023-09-16 11:13:30 +02:00
Donkie 6ee3b8df70 Added support for multiple int where's 2023-09-16 11:13:30 +02:00
Donkie 6d68a40313 Added support for multiple string where's 2023-09-16 11:13:30 +02:00
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