Commit Graph
100 Commits
Author SHA1 Message Date
Donkie 483c48151b Work on extra fields settings UI
Almost finished
2024-01-23 18:58:57 +01:00
Donkie 77e781f1ea Added settings menu with working currency editing 2024-01-23 18:58:57 +01:00
Donkie 9362d04dad Add caching for extra fields retrieval 2024-01-23 18:58:57 +01:00
Donkie 4adee1327b Ruff fix 2024-01-23 18:58:57 +01:00
Donkie a868e1889f Added integration tests for using extra fields 2024-01-23 18:58:57 +01:00
Donkie 36a346bf64 Added restrictions on changing existing fields 2024-01-23 18:58:57 +01:00
Donkie 09b8705133 Existing extra fields for entities are now cleared if a field is deleted 2024-01-23 18:58:57 +01:00
Donkie 86e126f775 Added some basic field CRUD tests 2024-01-23 18:58:57 +01:00
Donkie 06e3849862 No longer need to specify entity_type in body 2024-01-23 18:58:57 +01:00
Donkie 77ac9d6a5c Added custom extra fields to backend
No integration tests yet, TBD
2024-01-23 18:58:57 +01:00
Donkie 71c29d2467 Merge pull request #278 from hcooper/patch-1
Switch tests from "docker-compose" to "docker compose"
2024-01-23 18:14:46 +01:00
Donkie 4acb649a21 Merge pull request #275 from Donkie/dependabot/npm_and_yarn/client/vite-5.0.12
Bump vite from 5.0.10 to 5.0.12 in /client
2024-01-23 18:14:18 +01:00
Donkie 9ef4f16214 Merge pull request #248 from Donkie/settings-backend
New backend settings system
2024-01-16 19:26:50 +01:00
Donkie 5900f2248a Updated settings migration 2024-01-16 19:20:44 +01:00
Donkie 44da991d47 Added a new backend settings system
This can be used for saving runtime-configurable settings in the database.
2024-01-16 19:17:06 +01:00
Donkie cad6d4a7f7 Merge pull request #233 from Donkie/weblate
Translations update
2024-01-16 19:14:55 +01:00
Daniel Hultgren d8ce41cb71 Translated using Weblate (Italian)
Currently translated at 94.7% (198 of 209 strings)

Translated using Weblate (Hungarian)

Currently translated at 94.7% (198 of 209 strings)

Translated using Weblate (Norwegian Bokmål)

Currently translated at 94.7% (198 of 209 strings)

Translated using Weblate (Chinese (Simplified))

Currently translated at 94.7% (198 of 209 strings)

Co-authored-by: Daniel Hultgren <daniel.cf.hultgren@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/hu/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/it/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/nb_NO/
Translate-URL: https://hosted.weblate.org/projects/spoolman/web-client/zh_Hans/
Translation: Spoolman/Web Client
2024-01-16 19:05:57 +01:00
Donkie 46f9dd827f Merge pull request #240 from pdsccode/master
Adding prices to spools
2024-01-16 18:23:30 +01:00
Donkie a63e401583 Merge pull request #259 from Donkie/dependabot/npm_and_yarn/client/follow-redirects-1.15.4 2024-01-11 06:50:51 +01:00
Donkie ee22904383 Updated development chapter 2024-01-07 09:55:41 +01:00
Donkie 5904683b8f Merge pull request #251 from Copro/patch-1
Update README.md fix prerequisites typo
2024-01-06 16:04:22 +01:00
Donkie d424383ebb Fixed CI zip not including dot-files 2023-12-29 20:18:45 +01:00
Donkie cf4add2753 Updated install script and README with new build setup 2023-12-29 13:02:24 +01:00
Donkie dc84c8cd08 Moved to tmp dir instead 2023-12-29 12:42:05 +01:00
Donkie dec34df6bd Fixed some release publish issues 2023-12-29 12:33:51 +01:00
Donkie 96f1c86616 Update ci.yml 2023-12-29 12:13:21 +01:00
Donkie 0dfaa0ede4 Trigger release with PAT
This is needed because the regular GITHUB_TOKEN does allow repo write, but it doesn't trigger any new actions.
2023-12-29 12:00:48 +01:00
Donkie f083ed9c5c Updated push method in trigger release to hopefully push the tag also 2023-12-29 11:43:21 +01:00
Donkie 64528b08e6 Added git name and email to release trigger job 2023-12-29 11:36:08 +01:00
Donkie 57daa961f3 Fixed issue in bump script 2023-12-29 11:33:34 +01:00
Donkie 57ea0f5af9 Combine release workflow into CI 2023-12-29 11:18:25 +01:00
Donkie 0be9ab5a8f Added PUID and PGID environment variable support 2023-12-29 11:18:25 +01:00
Donkie 66189caeb4 Update issue templates 2023-12-29 00:41:38 +01:00
Donkie 3ee7d355b6 Added new CI jobs for release automation 2023-12-29 00:35:51 +01:00
Donkie 315ff1d980 Added node package bumping to bump script 2023-12-29 00:14:26 +01:00
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