Commit Graph

903 Commits

Author SHA1 Message Date
Donkie
535fa40ad2 Updated most python dependencies
Primarily FastAPI and Pydantic to v2. Also ruff to latest.

Updated some code to support Pydantic v2
2024-05-23 19:42:27 +02:00
Donkie
306dbe40af Bump version to 0.18.1 2024-05-22 20:16:22 +02:00
Donkie
26f5eaa2f7 Fixed base path issues 2024-05-22 20:15:39 +02:00
Donkie
620febc3ab Moved hishel cache directory into spoolmans data directory
This is to prevent permission issues
2024-05-21 11:25:08 +02:00
Donkie
0ab6e92d65 Fixed postgres db type example 2024-05-21 11:21:00 +02:00
Donkie
59295a3e5a Added permission error catch for setting up hishel cache 2024-05-21 00:00:10 +02:00
Donkie
4eee6712c1 Bump version to 0.18.0 2024-05-20 22:55:22 +02:00
Donkie
ca545b72b9 Fixed spool price sorting not working
Resolves #349
2024-05-20 22:42:44 +02:00
Donkie
52c52bcfd8 Updated external db sync to handle spool types and new color hex format 2024-05-20 22:39:25 +02:00
Donkie
5dcc28aa98 Merge pull request #378 from Donkie/weblate
Translations update
2024-05-20 22:36:18 +02:00
Maurice Kevenaar
c834d3dd01 Translated using Weblate (Dutch)
Currently translated at 100.0% (254 of 254 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-05-20 22:36:10 +02:00
Constanza Ortiz Simpson
2f1776cbb6 Translated using Weblate (Spanish)
Currently translated at 92.5% (235 of 254 strings)

Co-authored-by: Constanza Ortiz Simpson <constanza.ortiz@uc.cl>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-05-20 22:36:10 +02:00
Miloslav Kos
cef3eba46c Translated using Weblate (Romanian)
Currently translated at 68.1% (173 of 254 strings)

Translated using Weblate (Polish)

Currently translated at 87.0% (221 of 254 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (254 of 254 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ro/
Translation: Spoolman/Web Client
2024-05-20 22:36:10 +02:00
Donkie
7bd2eac94b Merge pull request #381 from StuSerious/master
feat: lossless image optimization.
2024-05-20 22:36:05 +02:00
Stefano Serioli
6fea0b77b9 merge: lossless image optimization
using imgbot, for more see https://github.com/StuSerious/Spoolman/pull/1
2024-05-20 01:13:13 -07:00
ImgBotApp
835235257c [ImgBot] Optimize images
*Total -- 113.52kb -> 77.34kb (31.87%)

/client/public/icon512_maskable.png -- 20.26kb -> 10.24kb (49.45%)
/client/public/apple-touch-icon.png -- 20.26kb -> 10.24kb (49.45%)
/client/icons/spoolman_monochrome.svg -- 4.60kb -> 3.03kb (34.2%)
/client/public/icon512_rounded.png -- 30.93kb -> 20.97kb (32.2%)
/client/icons/spool.svg -- 4.66kb -> 3.27kb (29.83%)
/client/icons/spoolman.svg -- 8.86kb -> 7.44kb (16.11%)
/client/src/icon_spool.svg -- 3.92kb -> 3.41kb (12.93%)
/client/public/favicon.svg -- 8.56kb -> 7.93kb (7.41%)
/client/src/icon.svg -- 8.56kb -> 7.93kb (7.41%)
/client/public/kofi_s_logo_nolabel.png -- 2.89kb -> 2.88kb (0.51%)

Signed-off-by: ImgBotApp <ImgBotHelp@gmail.com>
2024-05-16 12:27:52 +00:00
Donkie
c4693d3f34 Implemented used_length spool sort 2024-05-15 20:18:24 +02:00
Donkie
51c3b46f1f Fixed wrong remaining weight and length spool sort 2024-05-15 20:17:00 +02:00
Donkie
090cbadf3b Fixed selected filament re-rendering too much 2024-05-15 19:40:34 +02:00
Donkie
69bb3cec77 Merge pull request #377 from zarthross/patch-1
Update OctoPrint plugin in README.md
2024-05-14 21:30:47 +02:00
Darren Gibson
98aa1fdf8b Update README.md 2024-05-14 14:29:52 -05:00
Darren Gibson
c6520d336e Update OctoPrint plugin in README.md
original plugins repo was archived, putting in new link found from Octoprint plugin site
2024-05-13 16:16:18 -05:00
Donkie
ccd4026279 Fixed typing error in filament create form 2024-05-13 22:11:31 +02:00
Donkie
5a8d71fe70 Added import external filament in filament create form 2024-05-13 21:55:18 +02:00
Donkie
46ab709f72 Added extruder and bed temp to materials external db 2024-05-12 22:12:13 +02:00
Donkie
55471062ab External filament select for edit spool form 2024-05-12 22:08:47 +02:00
Donkie
4598d8f520 Some cleanup in create spool page 2024-05-12 21:58:01 +02:00
Donkie
3de2c94098 Create internal filament from external flow done 2024-05-12 21:58:01 +02:00
Donkie
e4d2ecf0dc Filament/vendor find by ext id + integration tests 2024-05-12 21:58:01 +02:00
Donkie
4af975d390 Removed 404 codes from find apis because they will never return that 2024-05-12 21:58:01 +02:00
Donkie
c2f2f845f6 Removed hashtag from external db color 2024-05-12 21:58:01 +02:00
Donkie
7f8606050b Made external db density field required 2024-05-12 21:58:00 +02:00
Donkie
1e4c73138c Added external ID fields to filaments and vendors 2024-05-12 21:58:00 +02:00
Donkie
36945f449d Show external filaments in spool create 2024-05-12 21:58:00 +02:00
Donkie
8d03a53228 Formatted client files 2024-05-12 21:57:43 +02:00
Donkie
eca8e32a55 Removed plural from new api to match others 2024-05-12 21:57:43 +02:00
Donkie
987f357f97 Merge pull request #373 from Donkie/weblate
Translations update
2024-05-12 20:11:37 +02:00
Donkie
cbaa7b81df Added API for fetching external database, removed parameters structure, 2024-05-12 12:14:25 +02:00
Donkie
595fd82b56 Minor fix in readme 2024-05-12 10:49:09 +02:00
Donkie
21d541a680 Added script to download files from external db 2024-05-12 10:48:33 +02:00
Diogo Resende
c7347cf512 Translated using Weblate (Portuguese)
Currently translated at 100.0% (247 of 247 strings)

Co-authored-by: Diogo Resende <dresende@thinkdigital.pt>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pt/
Translation: Spoolman/Web Client
2024-05-11 19:03:17 +02:00
RR-Rico
8454825999 Translated using Weblate (German)
Currently translated at 100.0% (247 of 247 strings)

Co-authored-by: RR-Rico <schmitt@raceresult.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translation: Spoolman/Web Client
2024-05-11 19:03:17 +02:00
Miloslav Kos
35a6e1cc09 Translated using Weblate (Czech)
Currently translated at 100.0% (247 of 247 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-05-11 19:03:17 +02:00
Daniel Hultgren
78e91a199a Translated using Weblate (Swedish)
Currently translated at 100.0% (247 of 247 strings)

Translated using Weblate (English)

Currently translated at 100.0% (247 of 247 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
2024-05-11 19:03:17 +02:00
Donkie
1962ffb43e Added install from source guide 2024-05-11 19:03:08 +02:00
Donkie
9040a55204 Merge pull request #368 from Donkie/weblate
Translations update
2024-05-10 13:51:40 +02:00
gallegonovato
1ed06912ba Translated using Weblate (Spanish)
Currently translated at 100.0% (247 of 247 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2024-05-10 12:57:48 +02:00
Miloslav Kos
a46188adca Translated using Weblate (Czech)
Currently translated at 100.0% (247 of 247 strings)

Co-authored-by: Miloslav Kos <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2024-05-10 12:57:48 +02:00
Mikolaj Ostrowski
986d06d912 Translated using Weblate (Polish)
Currently translated at 97.5% (241 of 247 strings)

Co-authored-by: Mikolaj Ostrowski <mikolaj.p.ostrowski@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2024-05-10 12:57:47 +02:00
Maurice Kevenaar
e1d5493f15 Translated using Weblate (Dutch)
Currently translated at 100.0% (247 of 247 strings)

Translated using Weblate (English)

Currently translated at 100.0% (247 of 247 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/en/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2024-05-10 12:57:47 +02:00