Commit graph

18 commits

Author SHA1 Message Date
Peter Goodhall
e34afd51eb Allow partial option saves and surface save errors
Change success logic in Options controller to treat the save as successful if any individual option update persisted (use OR instead of AND), preventing a single-failure from marking the whole operation as failed. Fix Options_model to return TRUE after inserting a new option so inserts are reported as successful. Add a saveFailed flash message display in the email options view so users see explicit failure alerts when appropriate.
2026-04-26 18:04:58 +01:00
Peter Goodhall
03b36980bc Use form_open in email options view
Insert form_open('options/email_save') into the normal email configuration branch in application/views/options/email.php so the form is properly opened and will post to the email_save handler, enabling saving of email settings.

Fixes #3429
2026-04-24 21:54:21 +01:00
Peter Goodhall
f99a10e13b Enhance options UI with icons and improved layout
Added FontAwesome icons to options pages and sidebar for better visual distinction. Improved the options index page with overview cards for each settings category. Updated CSS for active and hover states in the options sidebar, providing a more modern and user-friendly interface. Added a subscription management link to the header if configured.
2025-12-09 16:23:21 +00:00
Peter Goodhall
2bd503cdcd Add support for managed email configuration
Introduces logic to detect and enforce centrally managed email settings. When managed, email options are displayed as read-only and cannot be changed by users; attempts to save changes are blocked with a notice. The email options view now conditionally renders a read-only summary and test email form if management is enabled.
2025-12-09 16:09:15 +00:00
Peter Goodhall
476b59abc4 Add logbook sharing email notification
Introduces email notifications when a logbook is shared with a new user, including a new email template and improved error logging for email sending. Also enhances the test email UI with a loading spinner and updates error messages for better clarity.
2025-11-22 15:09:44 +00:00
HB9HIL
ced2f519b7
Merge pull request #27 from magicbug/dev
Dev
2023-11-22 16:08:35 +01:00
HB9HIL
dbcc5ed91f no need to press save twice 2023-11-22 15:07:16 +01:00
HB9HIL
865d4bdbe6 Merge remote-tracking branch 'upstream/dev' into bootstrap_5 2023-11-21 22:48:01 +01:00
HB9HIL
5854f28c82 form hints 2023-11-21 21:49:32 +01:00
HB9HIL
b586d5889c testmail set up 2023-11-21 21:03:40 +01:00
HB9HIL
1d701a0c8b removed crlf and newline option 2023-11-21 12:22:14 +01:00
HB9HIL
ea9f3000bf flashdata 2023-11-21 12:14:14 +01:00
HB9HIL
8c4bae8453 run migration script 2023-11-14 13:35:53 +01:00
Andreas
d5196ed829 [Email] Added default email sender name 2023-06-17 09:14:56 +02:00
Andreas
020fd96ef9 [Email] Added email sender name 2023-06-17 09:03:00 +02:00
Andreas
bfcfad780b [Email] Added email address option 2023-06-16 10:56:06 +02:00
cats-shadow
fe69759afb Options 2023-05-19 12:48:29 +03:00
Peter Goodhall
7b0862e7be [Global Options] Added Email settings
Added email settings under global options to select whether its using smtp or sendmail on the server.
2022-01-19 14:26:36 +00:00