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
5962b13d05
Remove an unwrap
2025-04-29 13:14:46 +02:00
ef918dc724
broken link in doc
2025-04-29 13:14:25 +02:00
d98b4ad8fa
Useless CSS rule
2025-04-29 13:13:46 +02:00
bf02420e18
Update to askama 0.14
2025-04-28 23:23:13 +02:00
6651d6e91d
Doc
2025-04-28 23:22:38 +02:00
c296689c6b
Refactor recipe editing logic to use User's method for permission check and update template accordingly
2025-04-28 12:52:45 +02:00
be6905cc3b
Logo for dark theme
2025-04-28 02:34:42 +02:00
2a1f246925
Remove useless error message prefix
2025-04-27 13:02:05 +02:00
cf9c6b2a3f
Refactor toast notifications and modal dialog implementation
...
- Updated SCSS for toast notifications to support multiple toast types (success, info, warning, error) and improved layout.
- Added new SVG icons for error, info, success, and warning notifications.
- Created separate HTML templates for toast notifications and modal dialogs.
- Enhanced the dev panel with buttons to test different toast notifications and modal dialogs.
2025-04-27 12:49:39 +02:00
7b9df97a32
Log errors in the user module
2025-04-27 02:57:08 +02:00
b0f0633338
Move logs view from dev_panel page to a logs page
2025-04-26 16:26:35 +02:00