Commit Graph
1168 Commits
Author SHA1 Message Date
Donkie 5f7a063125 Added resource field in websocket message
Used to differentiate resources for root-level subscriptions
2023-10-15 20:39:53 +02:00
Donkie 3e2bbed17e Added more websocket endpoints
Can now subscribe to:
- spool/filament/vendor level events, not specific to any specific ID
- root level events, captures all events sent
2023-10-15 20:36:48 +02:00
Donkie 03be75abca Subscription tree data structure for websockets
It holds the subscriptions in a tree fashion, sending the message down the branches while broadcasting on each node.
2023-10-15 20:16:29 +02:00
Donkie 7a3c2e3a68 Added event response model in api documentation 2023-10-15 19:46:28 +02:00
Donkie a6d527aaf0 Added/deleted-type websocket messages
Events are now sent for not only when an object changes but also when one is created or deleted.

For now it's not really possible to subscribe to these events however.

This breaks backwards-compatibility with the websocket messages.
2023-10-15 19:46:10 +02:00
Donkie 3c5b3cea5a Added websocket endpoints for filament and vendors 2023-10-15 15:39:39 +02:00
Donkie 0fab369518 Added live updates to spools in client
Will automatically refresh the list and show pages if any of the shown spools are updated in the backend.
On the edit page, it will warn you if the spool has been updated since you opened the page.
2023-10-15 15:28:08 +02:00
Donkie bec130d038 Minor ko-fi button fixes 2023-10-15 15:15:25 +02:00
Donkie 9b4b438aa9 Minor ko-fi icon fix 2023-10-14 13:46:22 +02:00
Donkie e59eb816ed Added client building pipeline 2023-10-14 13:28:48 +02:00
Donkie 04a39b8230 Removed ts-expect-error 2023-10-14 12:42:40 +02:00
Donkie c790465857 Added tip button to bottom of page 2023-10-14 12:35:55 +02:00
Donkie f3be2a90d5 Updated client packages 2023-10-14 12:10:41 +02:00
Donkie 088e8333f3 Added Hungarian and Italian to i18n file 2023-10-14 11:20:39 +02:00
Donkie 0085b2f0f8 Merge pull request #152 from Donkie/weblate
Translations update
2023-10-14 11:16:39 +02:00
Giadej 76d875ebe2 Translated using Weblate (Italian)
Currently translated at 100.0% (193 of 193 strings)

Co-authored-by: Giadej <Giadej@users.noreply.hosted.weblate.org>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2023-10-14 09:03:55 +00:00
Mick#6366 093ca08469 Translated using Weblate (Czech)
Currently translated at 100.0% (193 of 193 strings)

Co-authored-by: Mick#6366 <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2023-10-14 09:03:55 +00:00
Donkie fd8d2e98d0 Merge pull request #150 from Donkie/weblate
Translations update
2023-10-14 11:03:49 +02:00
Donkie 64416f2ec2 Create FUNDING.yml 2023-10-14 11:02:53 +02:00
Giadej Giado 4519d3cf65 Translated using Weblate (Italian)
Currently translated at 100.0% (193 of 193 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (193 of 193 strings)

Co-authored-by: Giadej Giado <giadejg@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translation: Spoolman/Web Client
2023-10-13 23:07:13 +02:00
Donkie 4ddd80bebd Merge pull request #146 from Donkie/weblate 2023-10-13 21:25:59 +02:00
Giadej Giado f34abf0c4f Added translation using Weblate (Italian)
Co-authored-by: Giadej Giado <giadejg@gmail.com>
2023-10-13 21:22:49 +02:00
Vegard Fladby 0fef10c5bb Translated using Weblate (Norwegian Bokmål)
Currently translated at 100.0% (193 of 193 strings)

Co-authored-by: Vegard Fladby <vegard.fladby@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nb_NO/
Translation: Spoolman/Web Client
2023-10-13 21:22:49 +02:00
Donkó Márk 7a91b2404b Translated using Weblate (Hungarian)
Currently translated at 100.0% (193 of 193 strings)

Added translation using Weblate (Hungarian)

Co-authored-by: Donkó Márk <donkomark@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hu/
Translation: Spoolman/Web Client
2023-10-13 21:22:49 +02:00
Maurice Kevenaar 60d96608d9 Translated using Weblate (Dutch)
Currently translated at 100.0% (193 of 193 strings)

Translated using Weblate (Dutch)

Currently translated at 98.4% (190 of 193 strings)

Co-authored-by: Maurice Kevenaar <maurice@kevenaar.name>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translation: Spoolman/Web Client
2023-10-13 21:22:49 +02:00
Daviteusz 73911d5376 Translated using Weblate (Polish)
Currently translated at 100.0% (193 of 193 strings)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2023-10-13 21:22:49 +02:00
gallegonovato e9ed0c041c Translated using Weblate (Spanish)
Currently translated at 100.0% (193 of 193 strings)

Co-authored-by: gallegonovato <fran-carro@hotmail.es>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2023-10-13 21:22:49 +02:00
Allan Nordhøy d19984bead Translated using Weblate (Norwegian Bokmål)
Currently translated at 63.5% (122 of 192 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nb_NO/
Translation: Spoolman/Web Client
2023-10-13 21:22:49 +02:00
Donkie 1452a2828b Minor fix to spool weight editing 2023-10-10 21:16:20 +02:00
Donkie 41889ee83f Fixed spool weight field not being hidden 2023-10-10 21:03:56 +02:00
Donkie 3f5902516c Added max values on density and diameter inputs
This is to prevent accidentally putting in a too big value
2023-10-10 20:45:27 +02:00
Donkie 30d4019d7d Number inputs now show error if bad value
Previously it just prevented you from inputting it, which was a bit bad UX
2023-10-10 20:45:01 +02:00
Donkie e2dbe8be66 Updated english spool weight help text 2023-10-10 20:44:08 +02:00
Donkie ea322559d9 Localized new location textbox 2023-10-10 20:36:55 +02:00
Donkie 43168fc75e Added dropdown of existing locations in spool edit
Resolves #119
2023-10-10 20:21:23 +02:00
Donkie 76e5450bea Merge pull request #140 from Donkie/weblate
Translations update
2023-10-10 07:59:58 +02:00
Mick#6366 878034623a Translated using Weblate (Czech)
Currently translated at 99.4% (191 of 192 strings)

Co-authored-by: Mick#6366 <kos.m@post.cz>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translation: Spoolman/Web Client
2023-10-09 12:50:45 +02:00
Allan Nordhøy 4312875426 Translated using Weblate (French)
Currently translated at 100.0% (192 of 192 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 34.8% (67 of 192 strings)

Translated using Weblate (Dutch)

Currently translated at 97.9% (188 of 192 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (192 of 192 strings)

Translated using Weblate (Russian)

Currently translated at 98.4% (189 of 192 strings)

Translated using Weblate (Spanish)

Currently translated at 98.4% (189 of 192 strings)

Translated using Weblate (German)

Currently translated at 95.3% (183 of 192 strings)

Translated using Weblate (Czech)

Currently translated at 99.4% (191 of 192 strings)

Translated using Weblate (English)

Currently translated at 100.0% (192 of 192 strings)

Co-authored-by: Allan Nordhøy <epost@anotheragency.no>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/cs/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/de/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/en/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nl/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/ru/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sv/
Translation: Spoolman/Web Client
2023-10-09 12:50:45 +02:00
Daniel Hultgren a84920c837 Translated using Weblate (Swedish)
Currently translated at 100.0% (192 of 192 strings)

Co-authored-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/sv/
Translation: Spoolman/Web Client
2023-10-09 12:50:45 +02:00
Daviteusz 55e33efee9 Translated using Weblate (Polish)
Currently translated at 100.0% (192 of 192 strings)

Co-authored-by: Daviteusz <daviteusz0@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/pl/
Translation: Spoolman/Web Client
2023-10-09 12:50:45 +02:00
Bahoué f9bce77238 Translated using Weblate (French)
Currently translated at 100.0% (192 of 192 strings)

Translated using Weblate (French)

Currently translated at 100.0% (189 of 189 strings)

Co-authored-by: Bahoué <stef.griv@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/fr/
Translation: Spoolman/Web Client
2023-10-09 12:50:45 +02:00
Donkie bdc47fd0a2 Localized create filament page title 2023-10-08 17:45:00 +02:00
Donkie 5fdd218ead Localized show page titles 2023-10-08 17:45:00 +02:00
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
dependabot[bot] 5d8dbeb751 Bump postcss from 8.4.27 to 8.4.31 in /client
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.27 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.27...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-08 01:00:33 +00:00
Patricio Suarez ab8f48cd88 Translated using Weblate (Spanish)
Currently translated at 100.0% (189 of 189 strings)

Co-authored-by: Patricio Suarez <dp@psuarez.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/es/
Translation: Spoolman/Web Client
2023-10-07 19:25:33 +00:00
Donkie a3ec58d0fc Mainsail now supports Spoolman! 2023-10-07 21:25:26 +02:00