This will replace the `sh` process from the container entrypoint with the node process as PID 1, to properly handle SIGTERM signals and gracefully shut down the container.
Currently, `sh` will intercept any signals and not forward them to node, leaving the container in the terminating state before docker force kills it after the 10s grace period. This means that db connections won't be closed and that requests will get interrupted during shutdown.
* 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>
* 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>
* 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
* 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>
* feat: add German language support
* fix: translate other locale names to German
* chore: integrate recommendations from the PR review
* i18n: add translation recommendations from the PR
* Fix translations
---------
Co-authored-by: Christian Schuller <christianschuller.biz@gmail.com>
Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
* create ES i18n json
* add ES locale to i18n and existing locales
* capitalize words at es.json
* Add missing translation
---------
Co-authored-by: Sebastien Castiel <sebastien@castiel.me>
* Added french version and title/description from json messages
* Revert back default language to en-US
* Code reviewed with prettier :)
* Updated json to add information field
* Updated json to add information block (missed on previous)
* Reviewed code language
* correction traduction "groupes étoilés" en "groupes favoris"
---------
Co-authored-by: Andy Trouvé <andy@strekol.eu>
* add group information field to group and Information tab to display
* add breaks to info page
* Improve UX
---------
Co-authored-by: Sebastien Castiel <sebastien@castiel.me>