Commit graph

250 commits

Author SHA1 Message Date
0201517e20 Forgot to remove "cd .." 2025-05-15 00:33:52 +02:00
9c368e82ab Add a HTTP test for recipe edit (WIP) 2025-05-14 00:30:40 +02:00
a4e321e66d Remove scanf dependency 2025-05-13 23:42:52 +02:00
7304300720 Add a test command to the nushell script 2025-05-11 12:11:01 +02:00
1c2e910dea Replace mime type "application/ron" by "text/ron" and put it in the common crate 2025-05-09 23:45:32 +02:00
f9899c1aeb Set authentication cookie as secure 2025-05-07 21:47:24 +02:00
6f014ef238 Cleaning 2025-05-07 20:12:49 +02:00
198bff6e4a Only set the cookie if the user is not connected 2025-05-07 16:07:49 +02:00
deb6b8649e Set the language in the title url 2025-05-07 15:59:34 +02:00
79c6b01c12 Change the test to the new language behavior 2025-05-07 15:53:03 +02:00
a175595e23 - Do not force the language in the url when sign in (to use the user language preference).
- Do not force the language in the url when sign out to use the cookie or Accept-Language settings
2025-05-07 15:51:19 +02:00
2a93456350 Enhance sign up test 2025-05-07 15:24:28 +02:00
fcadaf855f Little changes on forms presentation 2025-05-07 13:38:01 +02:00
3ab168fd67 Do not update user email if there is an error when sending the validation link to the new email 2025-05-07 01:12:51 +02:00
45f4e2d169 Remove unnecessary spaces at the end of HTML tag. 2025-05-06 22:35:40 +02:00
1b85c275e2 Enhance data validation with additional CHECK constraints for User, Recipe, and ShoppingEntry tables; add lang field to Tag table. 2025-05-06 17:10:54 +02:00
eb47844f05 Check on [Recipe].[lang] 2025-05-06 16:40:17 +02:00
d2733ccf01 Add some CHECK constraints for data validation. 2025-05-06 16:24:45 +02:00
c13bc47d75 Add a commented line to systemd service launch script to use jemalloc 2025-05-06 00:36:52 +02:00
6010c8600f Split translation file in multiple files: one per language 2025-05-05 23:58:09 +02:00
ec36391ec8 Dispaly a user message when a recipe is successfully deleted 2025-05-05 23:28:17 +02:00
d86c8ab6fe Cleaning frontend/Cargo.toml 2025-05-05 12:15:26 +02:00
424bb7f3a1 Add text color 2025-05-05 11:14:41 +02:00
c8ac7a31de Update sign-in test to include user message in redirection header 2025-05-05 02:01:36 +02:00
348b0f24e9 Update dependencies, add translation endpoint, and display a user message when logged in 2025-05-05 01:59:30 +02:00
6b043620b8 Add an integration test for sign in 2025-05-02 16:55:40 +02:00
8c70f90234 Use the crate mockall to mock the email service in integration tests 2025-05-02 13:38:41 +02:00
3626f8a11b Update dependencies and implement email service integration
- Refactor app and email modules to include email service
- Add tests for user sign-up and mock email service
2025-05-02 00:57:32 +02:00
f31167dd95 Factorize RON error response for not authorized content 2025-05-01 20:56:20 +02:00
f23fd2b832 Add alt and src attribute to toas icon img 2025-05-01 18:45:26 +02:00
9c755c6487 Use nu command instead of rm to remove a file 2025-05-01 18:42:25 +02:00
630ad418bd Refactor for clearer code 2025-05-01 16:16:05 +02:00
8be2aa0129 - CSS for modal dialog
- User can click outside modal dialog to close it
2025-05-01 00:48:51 +02:00
3bc17cea79 Translate an error message 2025-04-30 19:29:35 +02:00
2b7e88ae95 Doc + little CSS adjustement 2025-04-30 19:29:03 +02:00
58e299b337 Set parameter SameSite to Lax for both cookies *dark_theme* and *lang* 2025-04-30 17:38:16 +02:00
983002b5ec Doc+log 2025-04-30 17:36:58 +02:00
4f749c7d88 Log message when the dark theme cookie can't be read 2025-04-30 17:35:31 +02:00
44eb2bbe42 Disable log for integration tests 2025-04-30 12:07:36 +02:00
ee4c2038b8 Add tests recipe_view and user_edit 2025-04-30 12:00:41 +02:00
710a134966 Refactor MessageTemplate initialization to use Context directly instead of Tr and user parameters 2025-04-30 11:26:53 +02:00
c8e0aa918c Check user is validated before creating a new recipe 2025-04-30 11:11:01 +02:00
104ae6b38e Use asynchronous file removal in backup process 2025-04-30 01:51:09 +02:00
8152d3d9b0 Replace all event! by a specific macro: warn!, error!, etc. 2025-04-30 01:50:50 +02:00
1485110204 Integration tests: homepage (WIP) 2025-04-30 01:39:11 +02:00
fb62288161 Implement Default trait for Config type 2025-04-29 18:09:58 +02:00
7f94159852 Extract some functions to the app module: preparation for integration tests. 2025-04-29 17:51:46 +02:00
898f2e1160 Update dependencies 2025-04-29 13:16:01 +02:00
38265f15e2 Remove a local file from .gitignore 2025-04-29 13:15:33 +02:00
aa7a7a23fc Display the final path (compressed backup) in log 2025-04-29 13:15:06 +02:00