Commit Graph
100 Commits
Author SHA1 Message Date
Donkie 42155b0121 Removed some unnecessary pre-commit checks 2023-12-29 00:13:54 +01:00
Donkie ded503667f Merge pull request #227 from Donkie/weblate
Translations update
2023-12-28 11:43:53 +01:00
Daniel Hultgren 7ed7de19ad Translated using Weblate (Swedish)
Currently translated at 100.0% (207 of 207 strings)

Translated using Weblate (English)

Currently translated at 100.0% (207 of 207 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-12-28 11:43:17 +01:00
Donkie 86af6434a9 Fixed CI name collision with built docker images 2023-12-28 11:43:16 +01:00
Donkie 75a8128f19 New CI step to produce a full Spoolman build zip 2023-12-28 11:23:34 +01:00
Donkie cf8d7472f5 Added backend filament search by similar color 2023-12-19 21:37:07 +01:00
Donkie 8322451f26 Converted description translation to one line 2023-12-18 21:54:52 +01:00
Donkie 4dcb965b87 Translated help page 2023-12-18 21:52:22 +01:00
Donkie bd956412d8 Added translation for Ko-fi button 2023-12-18 21:48:13 +01:00
Donkie 0e57d93ec8 Moved help stuff to a new dedicated Help page
Also added some cool stats on home page
2023-12-18 21:25:23 +01:00
Donkie d1a5690c81 Added beginnings of a home page 2023-12-18 20:20:48 +01:00
Donkie 4287b2d6bc Delete build-client.yml
It's now redundant since the CI job does it as well
2023-12-17 23:07:20 +01:00
Donkie b66a2c5242 Removed unnecessary zip in ci client build 2023-12-17 23:01:25 +01:00
Donkie 8e2302f50c Update .dockerignore 2023-12-17 23:01:16 +01:00
Donkie 60b67ee758 Dockerfile no longer builds client
This proved to be extremely slow on emulated hardware to build e.g. the linux/arm/v7 image.
Since the built client is architecture agnostic, it's instead now built on the native hardware and inserted into the docker image.
2023-12-17 22:53:17 +01:00
Donkie fe6422597f Updated to node 20 in build client workflow 2023-12-17 22:51:56 +01:00
Donkie 879ac15c2d Updated axios version to fix build issue 2023-12-17 21:16:20 +01:00
Donkie c9220b3dbd Some client html meta updates, apple standalone
Resolves #214
2023-12-17 21:11:29 +01:00
Donkie f5b2ffa029 Fixed show page titles double-escaping HTML entities
Fixes #187
2023-12-17 20:46:03 +01:00
Donkie b0fbe7dea7 Formatted some client files 2023-12-17 20:36:13 +01:00
Donkie 83081c3ade Updated package dependencies and node to 20 2023-12-17 20:29:19 +01:00
Donkie cf417845e9 Implemented Danish language in selector 2023-12-17 20:11:03 +01:00
Donkie a1ab9a6c0f Merge pull request #222 from Donkie/weblate
Translations update
2023-12-17 16:55:20 +01:00
Donkie 8cf8b88aee Merge pull request #216 from Donkie/dependabot/npm_and_yarn/client/vite-4.4.12
Bump vite from 4.4.11 to 4.4.12 in /client
2023-12-17 16:55:09 +01:00
Donkie 286e519eaa Bump version to 0.14.0 2023-12-02 12:05:31 +01:00
Donkie 59b1603f6b New standalone installation instructions 2023-12-02 12:05:05 +01:00
Donkie 0dee856e80 Added env vars to override all storage dirs 2023-11-25 21:59:05 +01:00
Donkie 796523a860 Fixed db backups not using the fancy get_backups_dir function 2023-11-25 21:58:20 +01:00
Donkie d119a27cc2 Added separate get_logs_dir function for logs dir
Instead of piggy-backing on the data dir
2023-11-25 21:42:56 +01:00
Donkie b59e0e12a5 Install script now installs Spoolman as a system-level service instead of user level 2023-11-25 21:38:18 +01:00
Donkie 26b5545a29 Fixed pip related stuff in install script not working on debian bookworm
It uses this new "externally managed environment" thing where you can't install system/user level pip packages
2023-11-25 21:38:18 +01:00
Donkie 6f241605f4 Run apt-get update in install script 2023-11-25 21:38:18 +01:00
Donkie 543b04e3a7 Merge pull request #192 from Donkie/weblate
Translations update
2023-11-25 11:16:12 +01:00
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