Various changes

mobile-friendly ui updates
admin user-edit bugfix
file cleanup
added searchFields
add blog search
remove unused code
add maintenance mode config
This commit is contained in:
Joey Kimsey
2025-01-30 13:11:02 -05:00
parent b5996dc7db
commit 5e621883ff
106 changed files with 1154 additions and 787 deletions

View File

@ -274,12 +274,14 @@ class TheTempusProject extends Bedrock {
"logo" => [
"type" => "file",
"pretty" => "Site Logo (Used mostly in emails)",
"default" => "images/logo.png"
"default" => "images/logo.png",
"value" => "images/logo.png",
],
"logoLarge" => [
"type" => "file",
"pretty" => "Large Site Logo (Used mostly when sharing images on social media)",
"default" => "images/logoLarge.jpg"
"default" => "images/logoLarge.png",
"value" => "images/logoLarge.png",
],
"name" => [
"type" => "text",
@ -289,27 +291,46 @@ class TheTempusProject extends Bedrock {
"template" => [
"type" => "text",
"pretty" => "Default Site Template",
"default" => "default"
"default" => "default",
"value" => "default",
],
"tokenEnabled" => [
"type" => "radio",
"pretty" => "Enable CSRF Token for all forms.",
"default" => true
"default" => true,
"value" => true,
],
"registrationEnabled" => [
"type" => "radio",
"pretty" => "Allow new users to register an account.",
"default" => true
"default" => true,
"value" => true,
],
"loginLimit" => [
"type" => "text",
"pretty" => "Maximum Login Attempts per hour",
"default" => 5
"default" => 5,
"value" => 5,
],
"loginTimer" => [
"type" => "text",
"pretty" => "Maximum Login session length. (in seconds)",
"default" => 604800 // 60 * 60 * 24 * 7
"default" => 604800, // 60 * 60 * 24 * 7
"value" => 604800, // 60 * 60 * 24 * 7
]
],
"maintenance" => [
"enabled" => [
"type" => "radio",
"pretty" => "Maintenance mode enabled ( login will be required for access to any pages )",
"default" => false,
"value" => false,
],
"maintenanceMessage"=> [
"type" => "text",
"pretty" => "This message will be shown on the login page.",
"default" => "Currently the site is undergoing maintenance. Only administrators will be able to sign in.",
"value" => "Currently the site is undergoing maintenance. Only administrators will be able to sign in.",
]
],
"uploads" => [