Commit graph

171 commits

Author SHA1 Message Date
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
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
1bb0f05fc0 Enhance logging display in dev panel with structured output and improved styling 2025-04-26 15:56:56 +02:00
2d1aa4bdfd Toast and modal dialog CSS (WIP). 2025-04-26 01:50:37 +02:00
9dccd553bc Current recipe id was not set 2025-04-21 19:37:09 +02:00
812ba9dc3b Add logging functionality to the dev panel 2025-04-21 16:52:14 +02:00
c8dd82a5e0 Add support for first day of the week based on territory 2025-04-19 13:53:09 +02:00
475024a97b Add doc 2025-04-19 12:17:07 +02:00
fdbf2e4f27 Add first day of the week feature to user settings and calendar functionality 2025-04-19 12:01:46 +02:00
eda1ef2582 Add a mixin for markdown 2025-04-15 12:00:24 +02:00
f2e0aa3b43 Form CSS style + dev panel (WIP) 2025-04-15 11:34:18 +02:00
9daa852add Refactor recipe fetching logic to use a new constructor for Recipes, improving code clarity and reducing duplication. 2025-04-12 18:45:51 +02:00
aebca7a7e2 Add tracing-appender for improved logging with daily rotation. 2025-04-12 17:27:03 +02:00
719cfafefc Cleaning 2025-04-12 16:01:20 +02:00
b4411ae892 Directories for database file, backups and logs are defined in configuration file now 2025-04-12 15:58:19 +02:00
4b31c4513f Replace scripts nu files by one 2025-04-11 14:51:25 +02:00
f1bf2e3e1d Remove old and useless comment 2025-04-10 10:52:33 +02:00
2a288abb07 CSS: use a $margin constant. Some CSS improvements (WIP). 2025-04-09 15:08:43 +02:00
c1fc9aa46f Log thread ID and name in debug mode 2025-04-08 18:11:49 +02:00
24aa046f8c Add application version to footer in base template and define VERSION constant 2025-04-08 18:11:23 +02:00
2b230ae96a Update dependencies 2025-04-08 18:09:46 +02:00
182c951fd2 Refactor backup file removal logic to simplify error handling and improve clarity 2025-04-06 23:30:47 +02:00
07cdadbdac Enhance backup process with gzip compression 2025-04-06 00:21:44 +02:00
0c2e4b7624 Add markdown rendering for recipe descriptions using comrak 2025-04-02 18:19:06 +02:00
9b89117a66 Replace endpoint /calendar/schedule_recipe by /calendar/sheduled_recipe 2025-04-02 02:14:17 +02:00
4f739593b8 Rename 'published' to 'public' (for recipe) 2025-04-02 01:53:02 +02:00
221d813c2b Fix the theme toggle 2025-04-01 23:47:39 +02:00
9874497469 Better email title + translation 2025-04-01 23:46:25 +02:00
c7b6f58655 Watch for both scss files 2025-04-01 18:14:52 +02:00
bb9a6ba9ec Documentation 2025-04-01 18:14:35 +02:00
63266dec56 Use the default OS theme (dark or light) 2025-03-31 23:37:58 +02:00