Donkie
b6b6fcf6bd
Remove .venv in CI build job
2024-02-01 20:04:00 +01:00
Donkie
ad177a4cba
Merge pull request #293 from Donkie/weblate
...
Translations update
2024-02-01 18:25:33 +01:00
Donkie
cccb0de982
Merge pull request #279 from hcooper/dynamic-port
...
Support dynamic ports
2024-02-01 18:25:04 +01:00
Donkie
88fa4b636a
Create .gitattributes
2024-01-30 20:12:16 +01:00
Donkie
23f383dd63
Fixed edit forms refreshing after you start editing
2024-01-30 20:02:54 +01:00
Donkie
41a40d9fa3
Minor spool edit cleanup, added enum
2024-01-30 19:29:17 +01:00
Donkie
81b7a9b4ec
Added tooltip in filament filter menu
...
To differentiate between different filaments that may be named the same.
Resolves #276
2024-01-30 19:21:38 +01:00
Donkie
36926c9ccf
Added "Add Spool" button on filament list page
...
Resolves #281
2024-01-30 18:57:23 +01:00
Donkie
4d65dea1e9
Fixed sorting by filament in spool page
...
Previously it sorted by filament ID which gave wonky results, now it properly sorts by filament combined name instead
Resolves #219
2024-01-30 18:20:53 +01:00
Donkie
290eb5cb81
Added backend ability to sort by combined_name
2024-01-30 18:20:53 +01:00
Donkie
414c11cd7f
Merge pull request #270 from Donkie/weblate
...
Translations update
2024-01-29 22:29:23 +01:00
Daniel Hultgren
a6cb08a587
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (209 of 209 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
2024-01-29 21:01:46 +01:00
Donkie
9d3fb02231
Fixed spool edit page being in render loop
2024-01-26 17:30:34 +01:00
Donkie
d0a958decb
Removed camera constraints from QR scanner
...
By default camera needs to be at least 640x640 but I don't see why that's necessary.
Fixes #285
2024-01-26 17:14:45 +01:00
Donkie
f7c9c44ea7
Write build info earlier when we still have git
2024-01-25 22:58:25 +01:00
Donkie
721733551f
Fix git commit in ci.yml
2024-01-25 22:54:26 +01:00
Donkie
46c95eb5dd
Fixed valueerror on invalid build date
2024-01-25 22:14:31 +01:00
Donkie
b40da6e2ee
Updated commit and build date capturing
...
It's now written to a build.txt file instead of using environment variables internally. Standalone installs now has this properly as well.
2024-01-25 22:03:18 +01:00
Donkie
c0b4951a68
Read Spoolman version directly from pyproject.toml instead
2024-01-25 21:54:10 +01:00
Donkie
e77623bab0
Fixed start script
2024-01-25 21:53:48 +01:00
Donkie
1479e13d94
Some script permission fixes
2024-01-25 20:49:16 +01:00
Donkie
2786eff3da
Fixed release publishing happening outside tag push
2024-01-25 20:21:42 +01:00
Donkie
52cdb01110
Updated scripts to not use PDM anymore
2024-01-25 20:13:24 +01:00
Donkie
44d3ed72b0
CI job now builds a requirement.txt into the spoolman.zip
2024-01-25 20:11:12 +01:00
Donkie
f294561d57
Merge pull request #256 from Donkie/custom-fields
...
New backend custom fields system
2024-01-23 19:37:33 +01:00
Donkie
40d3a3184f
Implemented extra fields for spools and vendors as well
2024-01-23 19:27:34 +01:00
Donkie
fb23024ed0
Extra fields now finished for filaments
2024-01-23 18:58:58 +01:00
Donkie
23818c1005
Made a nicer button for Show Spools in filament show page
2024-01-23 18:58:58 +01:00
Donkie
f8cc9f7eda
Updated integration tests to not require exact match
...
This matches how we want clients to behave, they should ignore any extra fields that are sent in the response.
2024-01-23 18:58:58 +01:00
Donkie
7972f4d401
Update test_add.py
2024-01-23 18:58:58 +01:00
Donkie
3340da3067
Allow relative imports in tests
2024-01-23 18:58:57 +01:00
Donkie
1caae75d81
Update conftest.py
2024-01-23 18:58:57 +01:00
Donkie
f9787158b8
Extra field settings UI done
2024-01-23 18:58:57 +01:00
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