Commit Graph
100 Commits
Author SHA1 Message Date
Donkie 1bf77f7539 Added a link to how to setup Caddy for reverse proxy 2023-11-15 18:01:16 +01:00
Donkie c8600c1cb0 Merge pull request #197 from mkevenaar/docs/faq
(docs) add initial list of FAQs
2023-11-14 18:57:25 +01:00
Donkie dbcc282d93 Enabled the new greek translation 2023-11-08 18:38:22 +01:00
Donkie bdb8c3a47c Merge pull request #190 from Donkie/weblate
Translations update
2023-11-07 22:30:31 +01:00
Donkie fef41a5628 Added warning if in docker and data dir isn't mounted
Had to remove the VOLUME definition in the dockerfile for this, otherwise the data dir would always be mounted by an anonymous volume if the user didn't mount it correctly, so the python script wouldn't be able to detect it.
2023-11-07 21:45:58 +01:00
Donkie d55dde5bfe Merge pull request #170 from Donkie/weblate
Translations update
2023-11-07 20:05:38 +01:00
Donkie a9f19774e4 Added an explicit data folder permissions check on startup
It will try resolve the permission issue on its own, but if not successful it will crash with a helpful message.
2023-11-06 22:17:36 +01:00
Donkie dcf9a8f393 Force PDM to use venv as backend in the install script 2023-11-06 22:17:36 +01:00
Donkie 97fca7640a Merge pull request #185 from Disane87/patch-1
docs: added reference to home assistant integration
2023-11-06 20:12:46 +01:00
Donkie 53b0875569 Re-ordered action list to have the show button be first 2023-10-30 22:30:11 +01:00
Donkie bc55f5e9af Fixed table layout being fixed by the new sticky headers
This caused the columns to not get auto-sized, which broke it especially bad on iOS
2023-10-30 22:30:01 +01:00
Donkie 2c8d3602f0 Open actions menu on click instead of contextClick
context click is a bit hit-and-miss if it works on phones
2023-10-30 22:29:12 +01:00
Donkie 1bc3cfe586 Updated spool select modal with new table style 2023-10-29 20:47:51 +01:00
Donkie 151c3c7f4f Client Table update
* Columns are now specified using the ant design columns property instead of being Table.Column components. This should make this WoW a bit more sense, we're not pretending to be components anymore. column.tsx now only returns objects, not nodes.
* Added filament/spool collapsing as a useTable queryOptions so that the output object is directly the one we want, which will make the types play better together.
* Added a more unified record action system. This enables us to add actions to column rightclick/long press, which is better UX for mobile devices.
* Actions column is now hidden on smaller screens thanks to the above bullet.
2023-10-29 20:37:58 +01:00
Donkie e31aeebe97 Added sticky table headers
Resolves #133
2023-10-29 19:00:45 +01:00
Donkie 09a308b2ce Merge pull request #172 from clevelandcs/master
#76 spool list, no reload on page change
2023-10-29 10:06:01 +01:00
Donkie 33b1c4f9ff Bump version to 0.13.1 again 2023-10-24 20:31:33 +02:00
Donkie 9b823af4f1 Fixed formatting in saveload.ts 2023-10-24 20:27:00 +02:00
Donkie e52675e131 Bump version to 0.13.1 2023-10-24 20:23:20 +02:00
Donkie 2bd6722444 Merge pull request #168 from clevelandcs/urlfilter
Add support for sharing table views via link
2023-10-24 20:13:33 +02:00
Donkie 4c38557283 Fixed scripts not being executable 2023-10-23 21:45:42 +02:00
Donkie 03ab676f58 Fixed lowercase d in vendor field ID
Resolves #167
2023-10-22 20:19:50 +02:00
Donkie 6e2f2b08f3 Added systemd path verification to install script 2023-10-22 20:12:23 +02:00
Donkie 292ecbf166 Fixed install script systemd service script path 2023-10-21 23:20:39 +02:00
Donkie aa2e79b101 Bump version to 0.13.0 2023-10-21 11:57:01 +02:00
Donkie 9eb3aef08d Removed unused default registered func 2023-10-21 11:49:00 +02:00
Donkie ecec122420 Added standalone installation
Resolves #27
2023-10-21 11:49:00 +02:00
Donkie 5cb92d89ea Merge pull request #158 from Donkie/weblate
Translations update
2023-10-21 11:18:33 +02:00
Donkie 6324979913 Fixed client websocket URL converter TLS 2023-10-18 19:24:27 +02:00
Donkie f064ea589c Formatted all .ts files 2023-10-18 19:21:57 +02:00
Donkie 42cd250a92 Added Ukrainian to i18n.ts 2023-10-17 17:40:58 +02:00
Donkie f41c579b0f Merge pull request #154 from Donkie/weblate
Translations update
2023-10-17 17:37:37 +02:00
Daniel Hultgren f3718c31d2 Translated using Weblate (Swedish)
Currently translated at 100.0% (196 of 196 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (193 of 193 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-16 19:15:32 +02:00
Donkie d5bd18f931 Added live updates to vendors in client 2023-10-15 21:36:02 +02:00
Donkie 886519e3b4 Added live updates to filaments in client 2023-10-15 21:35:49 +02:00
Donkie 37ae1f7de1 Generalized the useLiveify hook 2023-10-15 21:20:56 +02:00
Donkie f7faa6ccdc Auto-update for added/deleted spools in client 2023-10-15 21:05:42 +02:00
Donkie aa28bd1f19 Updated client to support new message format 2023-10-15 21:04:34 +02:00
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
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
Donkie 4ddd80bebd Merge pull request #146 from Donkie/weblate 2023-10-13 21:25:59 +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
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
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
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