282 Commits

Author SHA1 Message Date
Ulrich Zorn
19c009f6b8 fix(db): Correct local db script volume mount for modern postgres images (minimal fix) (#460)
All checks were successful
CI / checks (push) Successful in 1m1s
The scripts/start-local-db.sh script was failing for modern PostgreSQL Docker images (version 18+) due to an incorrect volume mount point.

This commit provides a minimal fix by changing the volume mount from /var/lib/postgresql/data to /var/lib/postgresql, which is the correct path for modern postgres images.
2025-11-13 16:34:22 +01:00
Peter Smit
3b83a5f442 prettier
All checks were successful
CI / checks (push) Successful in 58s
1.19.0
2025-11-08 13:48:37 +01:00
Peter Smit
6b34b187f1 Limit height on dropdown menu to 80vh 2025-11-08 13:43:35 +01:00
Peter Smit
547adafcda Add (and reorder) languages added from Weblate 2025-11-08 13:30:39 +01:00
Weblate (bot)
8cc5689724 Translations update from Hosted Weblate (#415)
* Translated using Weblate (German)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/de/

* Translated using Weblate (French)

Currently translated at 99.6% (302 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/fr/

* Translated using Weblate (Spanish)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/es/

* Translated using Weblate (Chinese (Simplified Han script))

Currently translated at 97.3% (295 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/zh_Hans/

* Added translation using Weblate (Korean)

* Translated using Weblate (Korean)

Currently translated at 82.8% (251 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/ko/

* Translated using Weblate (Catalan)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/ca/

* Translated using Weblate (Russian)

Currently translated at 87.1% (264 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/ru/

* Added translation using Weblate (Basque)

* Translated using Weblate (Basque)

Currently translated at 48.5% (147 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/eu/

* Translated using Weblate (Basque)

Currently translated at 56.7% (172 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/eu/

* Translated using Weblate (Italian)

Currently translated at 90.7% (275 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/it/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 94.7% (287 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/pt_BR/

* Translated using Weblate (Basque)

Currently translated at 82.1% (249 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/eu/

* Translated using Weblate (Basque)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/eu/

* Added translation using Weblate (Indonesian)

* Translated using Weblate (Indonesian)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/id/

* Translated using Weblate (Japanese)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/ja/

* Added translation using Weblate (Portuguese)

* Translated using Weblate (Portuguese)

Currently translated at 27.3% (83 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/pt/

* Added translation using Weblate (Hebrew)

* Translated using Weblate (Hebrew)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/he/

* Translated using Weblate (Basque)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/eu/

---------

Co-authored-by: Panoloo <chr.gee@t-online.de>
Co-authored-by: Meryl Street <e.kergrene+osm@gmail.com>
Co-authored-by: Aire Sur <andreser@gmail.com>
Co-authored-by: Leo Li <leo_li2001@outlook.com>
Co-authored-by: MinjiK <km.minjikim@gmail.com>
Co-authored-by: Jose <seriamente.fs@gmail.com>
Co-authored-by: Roman Miller <rmn.miller@googlemail.com>
Co-authored-by: Alexander Gabilondo <alexgabi@openmailbox.org>
Co-authored-by: Arthur Bonavita <arthur.bonavita@gmail.com>
Co-authored-by: Stefan Tanuwijaya <st.navybloo1@gmail.com>
Co-authored-by: susui <susui@hatsuyoake.com>
Co-authored-by: Pedro Gaspar <19785870+p-gaspar@users.noreply.github.com>
Co-authored-by: 12 123 <rohin.kaelin@moonfee.com>
2025-11-08 11:18:01 +01:00
Peter Smit
fc0feee736 Use decimal.js to validate uneven amounts
All checks were successful
CI / checks (push) Successful in 56s
2025-11-08 11:11:43 +01:00
Derek
548a8dc5ee Add cascading delete behavior to activity.group. (#448) 2025-11-08 09:49:40 +01:00
Derek
157ed4fd96 bugfix: Fix share values being incorrectly divided by 100 in expense form (#453)
* Update expense-form.tsx to handle shares as strings

Proposing fix to #424

The issue is in the data flow between the form and the schema transform function:

When editing existing expenses: Form loads shares by dividing database values by 100 (e.g., 200 / 100 = 2), but loads them as numbers
When users change values: Input fields return strings via enforceCurrencyPattern
Schema transform: Only multiplies by 100 for string values, not number values
Result: Modified shares (strings) get multiplied by 100, unmodified shares (numbers) stay as-is

Proposed fix: handle all shares consistently as strings throughout the form

* Add type assertions to fix TypeScript errors in expense form

Fix formatting.

---------

Co-authored-by: yllar <yllar.pajus@gmail.com>
2025-11-08 09:34:57 +01:00
Peter Smit
0f4c96fc46 Move padding from body to prevent jumping when toggling Selects
All checks were successful
CI / checks (push) Successful in 1m1s
2025-11-07 09:53:05 +01:00
Peter Smit
858114657c Merge branch 'dev' of github.com:CicadaCinema/spliit into CicadaCinema-dev
# Conflicts:
#	package-lock.json
2025-11-07 09:49:34 +01:00
Peter Smit
fca040a44d chore(deps): bump prisma to 6.18.0
All checks were successful
CI / checks (push) Successful in 1m3s
2025-11-03 20:19:05 +01:00
Derek
b2f9498142 Prevent date offset for expenses in local timezones (#433) 2025-11-03 19:46:24 +01:00
CicadaCinema
ed97deadd3 bump @radix-ui/react-select from 2.0.0 to 2.2.6 2025-11-01 09:25:58 +00:00
Axel Fahy
8875b98980 Add multi-platform build in workflow (#419)
All checks were successful
CI / checks (push) Successful in 52s
2025-09-20 15:41:02 +02:00
Weblate (bot)
eb78848601 Translations update from Hosted Weblate (#407)
All checks were successful
CI / checks (push) Successful in 50s
* Add currency and exchange rate with Frankfurter per expense

* Remove as unknown as

* Translated using Weblate (German)

Currently translated at 99.6% (273 of 274 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/de/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (274 of 274 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/nl/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (283 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/nl/

* Translated using Weblate (German)

Currently translated at 97.1% (275 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/de/

* Translated using Weblate (German)

Currently translated at 97.1% (275 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/de/

* Translated using Weblate (French)

Currently translated at 95.0% (269 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/fr/

* Translated using Weblate (German)

Currently translated at 100.0% (283 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/de/

* Translated using Weblate (Portuguese (Brazil))

Currently translated at 100.0% (283 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/pt_BR/

* Translated using Weblate (French)

Currently translated at 96.4% (273 of 283 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/fr/

* Translated using Weblate (French)

Currently translated at 91.4% (277 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/fr/

* Translated using Weblate (Dutch)

Currently translated at 100.0% (303 of 303 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/nl/

---------

Co-authored-by: Steven Sengchanh <91092101+whimcomp@users.noreply.github.com>
Co-authored-by: Peter Smit <petersmit27@gmail.com>
Co-authored-by: Marcel Herhold <herhold.marcel@gmail.com>
Co-authored-by: Julian van Santen <julian@julianvansanten.nl>
Co-authored-by: Femke <femkeweijsenfeld2003@gmail.com>
Co-authored-by: Rico Stendel <rico@stendel.family>
Co-authored-by: renardyre <renardyre@gmail.com>
Co-authored-by: Antonin <atooo57@gmail.com>
1.18.0
2025-09-14 17:35:26 +02:00
Peter Smit
a9f008683f Remove as unknown as
All checks were successful
CI / checks (push) Successful in 55s
(cherry picked from commit 4e7733286a)
2025-09-13 17:20:55 +02:00
Peter Smit
52a2b552cb Merge branch 'currency-conversion' of github.com:whimcomp/spliit into whimcomp-currency-conversion
# Conflicts:
#	src/app/groups/[groupId]/expenses/expense-form.tsx
2025-09-13 17:20:39 +02:00
Peter Smit
0e77a666f4 Fix prettier issues
All checks were successful
CI / checks (push) Successful in 55s
2025-09-13 11:44:07 +02:00
Peter Smit
c49d0ea220 Always round minor units to an integer 2025-09-13 11:41:33 +02:00
Peter Smit
05a793ee39 Remove unneeded as unknown ases 2025-09-13 11:32:39 +02:00
Peter Smit
763c8c42e5 Remove ghrc pull example from README since it's not available yet
All checks were successful
CI / checks (push) Successful in 55s
1.17.0
2025-09-05 16:55:57 +02:00
Peter Smit
5fee0440c2 Add main currency code for groups feedback (#329)
Clarify group currency field description

Use default currency code instead of symbol

Hide currency symbol field when using a non-custom Currency

Run prettier

Update currency data

Update package-lock.json
2025-09-05 13:11:56 +02:00
Peter Smit
da8473406e Merge branch 'group-currency-code' of github.com:whimcomp/spliit into whimcomp-group-currency-code 2025-09-05 10:46:04 +02:00
Peter Smit
39d55d908a Fix prettier issues
All checks were successful
CI / checks (push) Successful in 54s
2025-09-05 09:56:50 +02:00
Julen Dixneuf
409784672c Add health check endpoint and resolve locale detection bug (#387)
* Add health check API endpoint with database connectivity

* Update locale handling to fallback to default language on invalid input

* Add health check endpoints for application readiness and liveness

- Introduced `/api/health/readiness` endpoint to check if the application can serve requests, including database connectivity.
- Introduced `/api/health/liveness` endpoint to verify if the application is running independently of external dependencies.
- Updated the health check logic to streamline database connectivity checks and response handling.

* Refactor health check logic

---------

Co-authored-by: Julen Dixneuf <julen.d@padoa-group.com>
2025-09-05 09:53:12 +02:00
Izzy Irvine
d27cbdba47 Added pipeline to buid container and push to ghcr.io (#332) 2025-09-05 08:59:09 +02:00
Peter Smit
048ac4da0a Disable provenance and sbom to hide unknown/unknown builds 2025-09-05 08:55:55 +02:00
Izzy Irvine
a86e92e414 Added pipeline to buid container and push to ghcr.io 2025-09-05 08:54:22 +02:00
Peter Smit
76c58a7f61 Use vertical weblate chart in README 2025-09-05 08:18:31 +02:00
Weblate (bot)
a59352d5da Translations update from Hosted Weblate (#405)
All checks were successful
CI / checks (push) Successful in 52s
* Add Discord and Weblate to README

* Translated using Weblate (German)

Currently translated at 98.9% (270 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/de/

* Translated using Weblate (French)

Currently translated at 98.1% (268 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/fr/

* Translated using Weblate (Italian)

Currently translated at 98.9% (270 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/it/

* Translated using Weblate (Czech)

Currently translated at 98.9% (270 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/cs/

* Translated using Weblate (Japanese)

Currently translated at 98.9% (270 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/ja/

* Translated using Weblate (Spanish)

Currently translated at 98.5% (269 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/es/

* Translated using Weblate (Polish)

Currently translated at 98.9% (270 of 273 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/pl/

* Translated using Weblate (Italian)

Currently translated at 100.0% (274 of 274 strings)

Translation: Spliit/Spliit
Translate-URL: https://hosted.weblate.org/projects/spliit/spliit/it/

---------

Co-authored-by: Eryk Michalak <gnu.ewm@protonmail.com>
Co-authored-by: albanobattistella <albano_battistella@hotmail.com>
2025-09-04 20:57:54 +02:00
Peter Smit
ef2062071a Add Discord and Weblate to README
All checks were successful
CI / checks (push) Successful in 59s
2025-09-04 20:36:24 +02:00
Peter Smit
86a20d6b23 Use "everyone" in the expense card if it was paid for all participants (#398) 2025-09-04 20:15:00 +02:00
Peter Smit
a21f0646b5 Merge branch 'ita-localization' of github.com:scollovati/spliit into scollovati-ita-localization
# Conflicts:
#	messages/de-DE.json
#	messages/fr-FR.json
#	messages/it-IT.json
#	messages/nl-NL.json
#	messages/pl-PL.json
2025-09-04 20:09:45 +02:00
Weblate (bot)
4c1a6b9e55 Sync Weblate translations (#404) 2025-09-04 19:46:35 +02:00
Peter Smit
ff42f0ab66 Filter out English strings from non-english translations 2025-09-04 19:21:14 +02:00
Peter Smit
6ea6cfac3e Use deepmerge function from existing dependency 2025-09-04 19:11:26 +02:00
Peter Smit
e3f70d0635 Merge branch 'bug-missing-translation' of github.com:Uli-Z/spliit-room into Uli-Z-bug-missing-translation 2025-09-04 18:54:16 +02:00
jannikac
5bf31e5b99 update de-DE translation for recurrenceRule (#339)
* update de-DE translation

* Update messages/de-DE.json

Co-authored-by: Benjamin Kästner <bkaestner@users.noreply.github.com>
2025-09-04 17:26:40 +02:00
Peter Smit
ed321f9880 Merge branch 'GuillemUJ-main'
# Conflicts:
#	src/i18n.ts
2025-09-04 17:15:19 +02:00
Peter Smit
070f6623b7 Add catalan to the list of locales 2025-09-04 17:13:45 +02:00
starforman
c556c18dc5 Add Czech translation (#358) 2025-09-04 16:59:46 +02:00
susui
65c9e01ad3 Add Japanese translation (#341) 2025-09-04 16:58:17 +02:00
Luca Bizzotto
4bcc9291a4 Update it-IT.json to latest features (#328) 2025-09-04 16:52:08 +02:00
Peter Smit
5fd3204990 Fix formatting of #382 2025-09-04 16:43:12 +02:00
Bernhard Bliem
436aff00d2 Fix missing translation string in de-DE (#382)
* Fix missing translation string in de-DE

* Make placeholder for "paid by" field translatable
2025-09-04 16:32:06 +02:00
Vick Airfull
2710afd560 Update es.json (#348) 2025-09-04 16:29:34 +02:00
Joachim Kołodziejski
4b69306f50 Fix polish translation (#364) 2025-09-04 16:27:18 +02:00
Vick Airfull
d6550e34c1 Update es.json (#349)
Minor update to translation:
"owes" translate to "debe a" in spanish
2025-09-04 16:26:06 +02:00
albanobattistella
de0cbb75ff Update it-IT.json (#392) 2025-09-04 16:24:40 +02:00
Peter Smit
a33b578027 Update Dutch translation (#399) 2025-09-04 16:24:20 +02:00