Commit graph

13 commits

Author SHA1 Message Date
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
0848a9b4c0 Add open registration and public signup feature
Introduces open registration settings in the options area, allowing administrators to enable or disable public user signup. Adds a registration options page, updates sidebar navigation, and implements a public signup form and controller logic. Also refines user model to ensure correct data types for user fields and updates language strings for registration. The login page now links to signup when open registration is enabled.
2025-12-02 18:10:37 +00:00
Peter Goodhall
c0f812baeb Hopefully now works correctly 2022-10-11 14:59:17 +01:00
Peter Goodhall
930d80c1fb Fix redirect loop 2022-10-11 14:29:02 +01:00
Peter Goodhall
4b6cd68717 [Welcome] Add final checks to carry out the needed migration 2022-10-11 14:26:46 +01:00
Peter Goodhall
eaf814b336 [Options] Fixes shoddy get_option() function 2022-03-25 16:14:51 +00:00
Peter Goodhall
1b64410649 Check if the config items already in session before running a database query 2022-02-16 22:59:59 +00: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
Peter Goodhall
405c9da68a Temproary turned off setting language in Global Options as fallback to english wasn't working 2021-02-09 17:55:51 +00:00
Peter Goodhall
4770340c45 [Options] Load the default language setting 2021-01-31 13:25:44 +00:00
Peter Goodhall
a012d73df2 [Options] Adds new Save & Update funcs to OptionsLib, Creates /options with the abilty to change the theme globally 2020-12-13 16:55:10 +00:00
Peter Goodhall
b2d7565e63
[Options] This fixes previous error where options tables missing by running migrate every page load
run migrate before loading any page content.
2020-12-13 10:42:44 +00:00
Peter Goodhall
8dfaf47c79 [Options] Greates OptionsLib library, sets default theme and others
This commit does a couple of things

- Creates OptionsLib which stores the 'Options' within the CI config system prefixed with "options_"
- Loads the OptionsLib automatically
- Adds function to OptionsLib for selecting the active stylesheet.
- Adds function to get an option_value that isn't automatically loaded.
2020-12-12 22:03:42 +00:00