CMS 2.0 - Theme engine, logging, admin improvements
Major changes: - New ThemeManager with Twig templating and SCSS compilation - Dynamic themes system (themes/default, themes/demo) - LogManager with SQLite storage and syslog forwarding - RequestLogger with static helper methods - Admin UI overhaul (Bootstrap 5, dark mode) - Admin config page with logging and theme settings - Admin logs page with filters and search - Removed legacy Mustache templates - Removed test plugin and theme - Composer dependencies: Twig, scssphp, CommonMark, MaxMind GeoIP
This commit is contained in:
+25
-3
@@ -1,7 +1,6 @@
|
||||
{
|
||||
"site_title": "CodePress",
|
||||
"content_dir": "content",
|
||||
"templates_dir": "cms/templates",
|
||||
"active_theme": "default",
|
||||
"default_page": "auto",
|
||||
"language": {
|
||||
@@ -17,7 +16,7 @@
|
||||
},
|
||||
"author": {
|
||||
"name": "E. Noorlander",
|
||||
"website": "https://noorlander.info"
|
||||
"website": "noorlander.info"
|
||||
},
|
||||
"show_version": true,
|
||||
"enabled_plugins": [
|
||||
@@ -48,6 +47,29 @@
|
||||
"geoip_mmdb_path": "",
|
||||
"geoip_api_url": "",
|
||||
"geoip_api_key": "",
|
||||
"retention_days": 400
|
||||
"retention_days": 400,
|
||||
"excluded_ips": [
|
||||
"192.168.0.0/16",
|
||||
"10.0.0.0/8",
|
||||
"172.16.0.0/12",
|
||||
"127.0.0.1",
|
||||
"::1"
|
||||
]
|
||||
},
|
||||
"logging": {
|
||||
"enabled": true,
|
||||
"driver": "sqlite",
|
||||
"syslog_host": "",
|
||||
"syslog_port": 514,
|
||||
"syslog_facility": "local0",
|
||||
"syslog_ident": "codepress",
|
||||
"events": {
|
||||
"admin": true,
|
||||
"requests": true,
|
||||
"errors": true,
|
||||
"security": true,
|
||||
"content": true,
|
||||
"system": true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user