Commit graph

261 commits

Author SHA1 Message Date
817ef3d727 Use typed parameters instead of a hashmap 2025-05-21 20:18:31 +02:00
084f7ef445 Add a RON API to search recipes by title + a bit of refactoring 2025-05-21 19:58:31 +02:00
a3f61e3711 Add full-text search for recipe titles 2025-05-21 00:03:20 +02:00
c24b0caeaf Add a API entry point to get all tags 2025-05-20 15:32:54 +02:00
6e017e41a3 Simplify web API (put ids in url) 2025-05-19 22:58:00 +02:00
0c43935bef Avoid creating more than one log subscriber (when integration tests are running) 2025-05-16 00:26:44 +02:00
0f88e6dd90 Update dependencies 2025-05-16 00:25:55 +02:00
92fa462ae2 Refactor [Tag] table: remove lang column. Remove [Tag] when no more recipe uses it. 2025-05-16 00:25:41 +02:00
c16c0987c8 Comments 2025-05-15 00:38:33 +02:00
e4ec80e118 Add some HTTP tests for recipe fields and recipe tags 2025-05-15 00:36:07 +02:00
9c2d89e981 Remove NoLog variant from Log enum and update stdout logging methods 2025-05-15 00:34:25 +02:00
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