Commit Graph

200 Commits

Author SHA1 Message Date
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
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
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
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
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
scollovati
a8ea05eae8 [localization] add new message notInvolved in ExpenseCard 2025-07-23 15:22:23 +02:00
Uli-Z
81c42e5b8b Add English fallback for i18n messages
Introduced a mergeDeep helper to merge locale-specific messages with the English defaults. src/i18n.ts now loads both the en-US messages and the selected locale’s messages, merges them, and supplies the result so missing translations appear in English instead of as placeholders.
2025-06-24 11:55:30 +02:00
Steven Sengchanh
2814811aea Script to recreate currencies data 2025-04-21 00:49:43 +02:00
Steven Sengchanh
af4bfe3780 Add non-custom currencies per group 2025-04-21 00:49:43 +02:00
Sebastien Castiel
a11efc79c1 Fix Prettier issues
All checks were successful
CI / checks (push) Successful in 1m34s
2025-04-20 11:10:30 -04:00
Sebastien Castiel
e63f3aa68f Fix TypeScript issues
Some checks failed
CI / checks (push) Failing after 1m35s
2025-04-19 15:46:37 -04:00
trandall
94c101cf7b Add recurring expense functionality (#263)
* code complete

* Smaller updates

* delete ambitious TODOs (add to PR)

* add transactionality to recurring expense creation

* Remove unnecessary `let`s

* Add default english labels to non-en-US translations

* Accept `es.json` translations

* add condition to ensure links are only modified when applicable
2025-04-19 15:23:23 -04:00
Yuvaraj Sai
2bced00f82 PWA: add multiple custom size transparent PNGs (#271)
* add id property to manifest for identity of PWA

* add multiple sizes high quality pngs with transparent background to support multiple sizes

* delete unused png
2025-04-19 15:19:00 -04:00
Daniel Thiem
728e072376 Add computed shares per expense to fix #127 (#269)
* Added computed expenses per balance to fix #127

* add missing import that got lost during merge

* if we are in percentage mode or amount mode, the shares have to be multiplied by 100
2025-04-19 15:16:37 -04:00
Peter Smit
a65c3c9dfe Add Dutch translation (#324)
* Add nl-NL locale

* Fix issue raised in pull request #319

* Update

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2025-04-19 15:06:36 -04:00
Thorsten Herfurtner
03712f1503 Fix typo in translation files (#318)
* fix: typo in "lastYear" across multiple language files

* fix: typo in chatGPT prompt
2025-04-19 15:01:07 -04:00
Lorenz Leutgeb
ffbcb6b74d Add expense category 'Life/Donation' (#315)
* Add expense category 'Life/Donation'

* Fix category name in migration

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2025-04-19 15:00:03 -04:00
Sebastien Castiel
75747157f0 Add Brazilian Portuguese locale in menu 2025-04-19 14:27:14 -04:00
Allen
2fda3e453c Ensure the exported data is sorted by the expense date (Fixes #305) (#306) 2025-04-19 14:22:16 -04:00
Sebastien Castiel
92909ce27f Add Turkish locale label 2025-04-19 14:18:53 -04:00
Yuvaraj Sai
6c5c9d5bed Feat: Add export to CSV support (#292)
* install json2csv package

* add necessary labels

* add support convert the JSON to redable CSV format and export

* add a popover to export btton and provide options for exporting to JSON and CSV

* Use a DropdownMenu

* Translations

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2025-04-19 14:11:38 -04:00
Yuvaraj Sai
f9307fd22d Fix the amount validation while creating an expense (#291) 2025-04-19 13:55:24 -04:00
Sebastien Castiel
9302a32f4c Fix destructive color in dark mode (Fixes #268) 2024-12-07 12:14:08 -05:00
Sebastien Castiel
98e2345bb9 Fix group export when name contains non-ASCII characters 2024-12-07 12:03:32 -05:00
Sébastien Beaury
5732f78e80 Fix UTC timezone used in activity tracker (#265) 2024-12-07 11:55:02 -05:00
Yuvaraj Sai
72ad0a4c90 feat(expense-list): Display the attachment count only when the expense includes attachments (#267)
* feat(expense-list): Display the attachment count only when the expense includes attachments

* handle attachments - singular & plural

* move documents count between amount and date

* Remove label

* Use document count only instead of whole document list

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2024-12-07 11:53:14 -05:00
Sebastien Castiel
2c973f976f Put locale labels outside of translations 2024-12-07 11:37:39 -05:00
icarusxxy
5374d9e9c7 [Translation] Add Traditional Chinese (zh-TW) (#260)
* Add zh-TW translation file

* Add zh-TW to other translations

Co-authored-by: Yutung Chung <yutung.chung@d8ai.com>
2024-12-07 11:36:48 -05:00
Sebastian Goscinski
5111f3574f Feature: Default currency symbol (#259)
* Added a env parameter to define a default currency symbol

* Fixed prettier formatting
2024-12-07 11:07:54 -05:00
Sebastien Castiel
4db788680e Use tRPC for recent groups page (#253)
* Use tRPC for recent groups page

* Use tRPC for adding group by URL

* Use tRPC for saving visited group

* Group context
2024-10-20 17:50:52 -04:00
stefansn
f5154393e2 Add Romanian translations (#248)
* Add Romanian translations

Create ro.json.

* Add ro option.

Add ro option.

* Update ro.json

* Prettier

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2024-10-19 23:10:58 -04:00
Sebastien Castiel
21d0c02687 Use tRPC for expense form (#251) 2024-10-19 22:59:47 -04:00
Sebastien Castiel
2281316d58 Use tRPC for group create form (#250) 2024-10-19 21:48:17 -04:00
Sebastien Castiel
210c12b7ef Use tRPC in other group pages (#249)
* Use tRPC in group edition + group layout

* Use tRPC in group modals

* Use tRPC in group stats

* Use tRPC in group activity
2024-10-19 21:29:53 -04:00
Sebastien Castiel
66e15e419e Add tRPC, use it for group expenses, balances and information page (#246)
* Add tRPC, use it for group expense list

* Use tRPC for balances

* Use tRPC in group information + better loading states
2024-10-19 17:42:11 -04:00
Thorsten Herfurtner
7add7efea2 Fix missing translation for expense title in expense-form when making a reinbursement (#244) 2024-10-14 19:13:10 -04:00
Serge D.
1e4edf7504 add ua-UA (#241) 2024-10-11 17:10:04 -04:00
Maxco10
343363d54f Added Italian language (#233)
* Update i18n.ts

* Update de-DE.json

* Update en-US.json

* Update es.json

* Update fi.json

* Update fr-FR.json

* Update ru-RU.json

* Update zh-CN.json

* Create it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Update it-IT.json

* Prettier

---------

Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
2024-10-05 10:30:45 -04:00
Mert Demir
8742bd59da Fix format for integer amounts (#231)
* support both fractions and integer values

* test fractions

* prettier
2024-09-29 09:24:10 -04:00
Kostas Vrouvas
8eea062218 Fix form columns not working properly (#224) 2024-09-28 18:41:19 -04:00
Mert Demir
9a5674e239 Fix amount preview for scanned receipts (#227)
* no division of amount

* use gpt-4-turbo

* testing setup and naive test

* test multiple variants

* document

* correct locale names

* test large amounts

* test wth strings

* prettier
2024-09-28 18:39:01 -04:00
Tobias Genannt
50b3a2e431 Fix: Correctly display loaded expense (#210)
* Fix #209: Correctly display loaded expense

- Don't load default split options after displaying an existing expense
- Re-validate form after changing the "paidFor" selection.
  This fixes the error message "The expense must be paid for at least one
  participant." after clicking "Select None" and the selecting one participant.

* Fix Paid For Field reset in Edit Expense Page for split Mode 'Unevenly - By amount'

---------

Co-authored-by: partho.kunda <partho.kunda@chaldal.net>
2024-09-28 18:28:27 -04:00