Files
CodePress/config.json.example
T
E.Noorlander 6333bc410f 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
2026-08-08 18:02:14 +02:00

76 lines
1.9 KiB
JSON

{
"site_title": "CodePress",
"content_dir": "content",
"active_theme": "default",
"default_page": "auto",
"language": {
"default": "nl",
"available": [
"nl",
"en"
]
},
"seo": {
"description": "CodePress CMS - Lightweight file-based content management system",
"keywords": "cms, php, content management, file-based"
},
"author": {
"name": "E. Noorlander",
"website": "noorlander.info"
},
"show_version": true,
"enabled_plugins": [
"MQTTTracker",
"HTMLBlock"
],
"features": {
"auto_link_pages": true,
"search_enabled": true,
"breadcrumbs_enabled": true
},
"security": {
"block_ai_bots": true,
"block_scrapers": true,
"block_search_engines": false,
"block_empty_user_agent": true,
"rate_limit_enabled": true,
"rate_limit_max": 60,
"rate_limit_window": 60,
"custom_blocked_agents": [],
"blocked_ips": [],
"allowed_ips": []
},
"analytics": {
"enabled": true,
"anonymize_ip": false,
"geoip_provider": "local",
"geoip_mmdb_path": "",
"geoip_api_url": "",
"geoip_api_key": "",
"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
}
}
}