Commit Graph

1363 Commits

Author SHA1 Message Date
Tonya
16bcffac45 Remove shamefully hoist (#660)
* feat: remove shamefully hoist

* chore: remove .npmrc
2025-05-04 13:11:00 -04:00
EdWorth120
b89364d8c5 Create a rotate 90 degrees clockwise button for each image (#666)
* Create a rotate 90 degrees clockwise button for each image

* Added more error handling and turned rotate function to async as recommended by coderabbitai
2025-05-04 09:28:03 +00:00
Weblate
eb21da50e3 Translated using Weblate (Lithuanian)
Currently translated at 15.9% (52 of 326 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (326 of 326 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/lt/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/uk/
Translation: Homebox/Frontend
2025-05-03 23:00:39 +00:00
Matt Kilgore
606a92b5d5 Remove documents table (#618)
* Remove documents table (WIP)

* Further cleanup of documents table

* This should clean up the errors, but actual attachment handling still needs added.

* Full generation to update the JS side of things too

* Further fixes

* Fix cyclic dependency issue

* In theory the API side works now

* Fix go linting issues

* Fix frontend issues

* Way closer, but has a foreign key constrant issue

* UI actually works now

* Fix deduplication feature not working right

* Upgrade to `golangci-lint` v2 file

* Add ability to set primary during attachment creation

* Update swagger with new primary attachment during creation stuff

* Files are actually saved now, but there's still a bug

* Fix critical issue whith how deletions were working

* Fix the byte copy issue

* Hopefully everything is fixed now

* Fix golangci-lint config and lint files

* Fix lint issue

* Fix a few more tests

* Fix lint issues again

* More minor test fixes

* Update backend/internal/core/services/service_items_attachments.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Fix migration (I think)

* Fixed postgres migration

* Change some migration options to work better

* Some more little things that I tried

* Fix merge go.mod

* Fix migrations

* Little lint thing

* Fix AttachmentsList.vue with updated API

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-05-03 10:15:54 -04:00
Weblate
a64d0c5b4c Translated using Weblate (Thai)
Currently translated at 33.4% (109 of 326 strings)

Co-authored-by: yogokawaii <phonanb@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/th/
Translation: Homebox/Frontend
2025-05-03 06:00:39 +00:00
Weblate
a2d9fd9ee0 Translated using Weblate (Czech)
Currently translated at 100.0% (326 of 326 strings)

Co-authored-by: Adam Havránek <adamhavra@seznam.cz>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translation: Homebox/Frontend
2025-05-02 03:00:39 +00:00
Weblate
03860d6053 Translated using Weblate (Lithuanian)
Currently translated at 12.8% (42 of 326 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/lt/
Translation: Homebox/Frontend
2025-05-01 20:00:39 +00:00
Matt Kilgore
1ac86d9c04 Real Migrations System (#645)
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-05-01 15:03:08 -04:00
EdWorth120
6bb196037c Fix create item modal form layout on mobile devices (#662) 2025-05-01 17:56:39 +00:00
Weblate
78c18aa654 Added translation using Weblate (Lithuanian)
Co-authored-by: mondstern <mondstern@monocles.de>
2025-05-01 15:18:17 +00:00
Weblate
88214dfc71 Added translation using Weblate (Luxembourgish)
Translated using Weblate (Romanian)

Currently translated at 86.5% (282 of 326 strings)

Translated using Weblate (Finnish)

Currently translated at 100.0% (326 of 326 strings)

Translated using Weblate (Finnish)

Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: Weblate <noreply@weblate.org>
Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fi/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ro/
Translation: Homebox/Frontend
2025-05-01 15:16:41 +00:00
EdWorth120
60b2ffd023 Add a quantity field to the item create modal form. (#615)
* Add a quantity field to the item create modal form.

* Fix prettier code format complaint.

* Update en.json allowing the label of the field to be translated.

* Including changes generated by swag and typescript-types tasks.

* Fixed tests, item duplication and lint errors.

* Fix linter issues again and an error introduced in 912e5b2

* Fixed a test that creates an item through the go:coverage task
2025-04-30 19:42:24 -04:00
Weblate
ebf42a754a Translated using Weblate (Finnish)
Currently translated at 45.2% (147 of 325 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fi/
Translation: Homebox/Frontend
2025-04-29 22:00:39 +00:00
tonyaellie
f1c9aab9df style: make sure button is always big enough for text on tools page 2025-04-29 09:53:38 +00:00
Weblate
2a6366808c Translated using Weblate (Finnish)
Currently translated at 19.6% (64 of 325 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fi/
Translation: Homebox/Frontend
2025-04-28 23:00:39 +00:00
tonyaellie
3ea3ebb346 fix: incorrect text for TagsInputItem.vue 2025-04-28 22:07:08 +00:00
Matt Kilgore
92bb564dfa Update config.mts 2025-04-28 08:50:20 -04:00
Matt Kilgore
5943e2c7e3 Add Lemmy 2025-04-28 08:48:39 -04:00
Weblate
a22bb0e10e Translated using Weblate (Japanese)
Currently translated at 90.7% (295 of 325 strings)

Translated using Weblate (Japanese)

Currently translated at 90.7% (295 of 325 strings)

Translated using Weblate (Japanese)

Currently translated at 90.7% (295 of 325 strings)

Translated using Weblate (Spanish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Ricardo González <notorius28@gmail.com>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: ななしぃ <weblate@nanasi-rasi.net>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/es/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/ja/
Translation: Homebox/Frontend
2025-04-28 10:00:39 +00:00
Weblate
746dbafcc1 Translated using Weblate (Danish)
Currently translated at 94.4% (307 of 325 strings)

Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/da/
Translation: Homebox/Frontend
2025-04-28 01:00:39 +00:00
Weblate
fe7067f255 Translated using Weblate (Czech)
Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Ukrainian)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Polish)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Swedish)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Martin Joneš <jondytmf@gmail.com>
Co-authored-by: mondstern <mondstern@monocles.de>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/pl/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/sv/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/uk/
Translation: Homebox/Frontend
2025-04-27 17:00:39 +00:00
Katos
0b08d26501 Update update-currencies.yml 2025-04-27 15:46:48 +01:00
Katos
30870bec54 PIP cache on Updating Currencies
Add caching for currencies update
2025-04-27 15:46:18 +01:00
Katos
06524b0f2c Merge pull request #655 from sysadminsmedia/katos/update-currencies-action
Amend the "Update currencies" action
2025-04-27 15:42:59 +01:00
Katos
400a29b993 Update update-currencies.yml 2025-04-27 15:39:01 +01:00
Katos
b7d6b32fdd Update update-currencies.yml 2025-04-27 15:31:11 +01:00
Katos
f99e5739da Update update_currencies.py 2025-04-27 15:30:57 +01:00
Katos
060062b484 Update update_currencies.py
Retries + logging: Set timestamped errors on 5xx/429 or JSON failures.

Empty-array guard: script exits non-zero if the API returns [], so won’t commit an empty file.

Exit codes: any API or I/O error yields sys.exit(1), triggering “no commit on failure” logic.
2025-04-27 15:21:57 +01:00
Katos
6a5d8d2ed7 Update update-currencies.yml
Upgrades to the latest Action versions (checkout@v3, setup-python@v4).

Caches Python dependencies.

Detects both “any file changes” and “empty array” in one step (so won’t ever commit an emty array).

Replaces manual branch/CURL logic with peter-evans/create-pull-request, which handles branch creation, rebasing and PR creation in one go.
2025-04-27 15:15:25 +01:00
Tonya
9afd20c513 Sort themes and remove daisyui (#643)
* feat: sort themes and remove daisyui

* docs: update docs to reflect daisyui being removed

* feat: remove specific colours for better theme compatibility
2025-04-27 09:01:27 +00:00
Weblate
de52959c5b Translated using Weblate (Czech)
Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Adam Havránek <adamhavra@seznam.cz>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translation: Homebox/Frontend
2025-04-26 20:00:39 +00:00
Weblate
472a0577c8 Translated using Weblate (Dutch)
Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: 101br03k <warmerdamm03@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nl/
Translation: Homebox/Frontend
2025-04-26 13:00:39 +00:00
Matt Kilgore
17a4be85d8 Fix required go version for dev 2025-04-24 21:47:25 -04:00
Weblate
0830fd670b Translated using Weblate (French)
Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (French)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: molusk <molusk@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fr/
Translation: Homebox/Frontend
2025-04-25 01:00:39 +00:00
Weblate
eb18f2d1f9 Translated using Weblate (French)
Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (French)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (French)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (French)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Co-authored-by: mcarbonne <maximilien.carbonne@gmail.com>
Co-authored-by: molusk <molusk@gmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/fr/
Translation: Homebox/Frontend
2025-04-24 20:43:51 +00:00
github-actions[bot]
152f31a8c8 Update currencies.json (#647)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-04-23 16:18:54 -04:00
Weblate
fcafce04f2 Translated using Weblate (Dutch)
Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nl/
Translation: Homebox/Frontend
2025-04-23 00:00:39 +00:00
Weblate
e2680b9fa6 Translated using Weblate (Hungarian)
Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Hungarian)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Italian)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Adam Kleizer <adamkleizer@gmail.com>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/hu/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/it/
Translation: Homebox/Frontend
2025-04-22 10:00:39 +00:00
Weblate
6eb626a151 Translated using Weblate (Hungarian)
Currently translated at 99.6% (324 of 325 strings)

Translated using Weblate (Hungarian)

Currently translated at 99.6% (324 of 325 strings)

Translated using Weblate (Hungarian)

Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: Adam Kleizer <adamkleizer@gmail.com>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/hu/
Translation: Homebox/Frontend
2025-04-22 05:21:36 +00:00
Weblate
9e6779a45a Translated using Weblate (Hungarian)
Currently translated at 96.9% (315 of 325 strings)

Translated using Weblate (Dutch)

Currently translated at 99.6% (324 of 325 strings)

Co-authored-by: Erwin van Londen <translate.sysadminsm.treachery437@passmail.net>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/hu/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/nl/
Translation: Homebox/Frontend
2025-04-22 05:12:40 +00:00
Weblate
3e1404490b Translated using Weblate (Czech)
Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (325 of 325 strings)

Translated using Weblate (Czech)

Currently translated at 100.0% (325 of 325 strings)

Co-authored-by: Adam Havránek <adamhavra@seznam.cz>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translation: Homebox/Frontend
2025-04-20 15:00:39 +00:00
Weblate
1f37123899 Translated using Weblate (Czech)
Currently translated at 97.2% (316 of 325 strings)

Translated using Weblate (German)

Currently translated at 99.3% (323 of 325 strings)

Translated using Weblate (German)

Currently translated at 99.3% (323 of 325 strings)

Translated using Weblate (German)

Currently translated at 99.3% (323 of 325 strings)

Co-authored-by: Adam Havránek <adamhavra@seznam.cz>
Co-authored-by: Matt <weblate@neo17k.de>
Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: Weblate Translation Memory <noreply-mt-weblate-translation-memory@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/cs/
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/de/
Translation: Homebox/Frontend
2025-04-20 10:32:46 +00:00
Weblate
d2bdfebe0a Update translation files
Updated by "Cleanup translation files" add-on in Weblate.

Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/
Translation: Homebox/Frontend
2025-04-20 07:58:08 +00:00
Tonya
cbaf483788 migrate pages to shadcn (#628)
* feat: migrate tools page and label generator to shadcn

* chore: lint issues

* feat: also do profile page

* feat: shadcn 404 page

* feat: login page shadcn

* fix: daisyui ironically breaks the z height for the login page

* feat: componentise the language selector and add it to the login page

* feat: use nuxtlink

* feat: card and table made more shadcn

* feat: shadcn statscard

* chore: lint

* feat: shadcn labelchip and locationcard

* feat: shadcn locations page

* refactor: remove unused new item page

* chore: lint

* feat: shadcn item card

* fix: wrapping of location and lint

* feat: ctrl enter in text area in form submits form

* feat: begin shadcn locations page and remove pageqrcode comp in favour of integrating it into labelmaker

* chore: lint + remove unused code

* fix: remove uneeded margin

* feat: shadcn labels page and fix some issues with location

* feat: shadcn scanner

* chore: lint

* feat: begin shadcning item pages

* feat: shadcn maintenance page

* feat: begin shadcn search page

* fix: quick switch blurry text and crashing page when switching + incorrect z height for create menu

* feat: finish shadcn search page

* chore: lint

* feat: shadcn edit item page

* fix: quickmenumodal bug

* feat: shadcn item details page

* feat: remove all non-color related daisyui classes

* fix: type error

* fix: quick menu modal again :(
2025-04-20 08:58:03 +01:00
Matthew Kilgore
400bc3f341 Fix frontend lint 2025-04-19 15:53:21 -04:00
Matthew Kilgore
912e5b231a Fix footer links 2025-04-19 13:35:19 -04:00
Matt Kilgore
177b7344f8 E2E Playwright Testing (#466)
* Add e2e testing for frontend

* Hopefully working CI/CD for playwright

* Fix run name

* Trying to fix the CI/CD stuff

* Try this again, although Vite apparently has playwright?

* Fix vitetest

* Add registration tests

* Safer kill of testing dependencies

* These might not last.

* feat: Add iPhone and Android device testing

* fix: Minor fixes, set registration to "fixme" as it fails frequently for some reason.

* fix: Make sure the OS dependencies get installed

* fix: For now remove mobile, they seem to be very hit or miss.

* Use sharding based testing

* Fix some minor mess ups

* Forgot PNPM for the merge
2025-04-19 13:09:14 -04:00
Weblate
d11627fa28 Translated using Weblate (Portuguese (Portugal))
Currently translated at 81.7% (260 of 318 strings)

Translated using Weblate (Portuguese (Portugal))

Currently translated at 81.7% (260 of 318 strings)

Co-authored-by: MyMemory <noreply-mt-mymemory@weblate.org>
Co-authored-by: bl4ck1c3pt <gilpereira-@hotmail.com>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/pt_PT/
Translation: Homebox/Frontend
2025-04-18 22:00:39 +00:00
Weblate
acf1660574 Translated using Weblate (English)
Currently translated at 100.0% (318 of 318 strings)

Translated using Weblate (English)

Currently translated at 100.0% (316 of 316 strings)

Co-authored-by: Matthew Kilgore <matthew@kilgore.dev>
Co-authored-by: Weblate <noreply@weblate.org>
Translate-URL: https://translate.sysadminsmedia.com/projects/homebox/frontend/en/
Translation: Homebox/Frontend
2025-04-16 06:00:38 +00:00
Matt Kilgore
d644d302a3 Fix the footer links (#635) 2025-04-15 21:19:53 -04:00