From d3b79efda771eb66fdf9addb5982a3d87efeb2bf Mon Sep 17 00:00:00 2001 From: Mischa Date: Thu, 18 Jun 2026 00:38:54 +0200 Subject: [PATCH] Local dev config: fix account format, site_host, base URL, disable admin notifications --- accounts/mischa.yaml | 2 +- config/media.yaml | 0 config/plugins/admin.yaml | 6 + config/plugins/login.yaml | 1 + config/security.yaml | 1 + config/system.yaml | 252 ++++++++++++++++++++++++++++++++++---- config/versions.yaml | 6 + 7 files changed, 244 insertions(+), 24 deletions(-) create mode 100644 config/media.yaml create mode 100644 config/plugins/admin.yaml create mode 100644 config/security.yaml create mode 100644 config/versions.yaml diff --git a/accounts/mischa.yaml b/accounts/mischa.yaml index 2388d12..3323025 100644 --- a/accounts/mischa.yaml +++ b/accounts/mischa.yaml @@ -9,5 +9,5 @@ state: enabled title: Mischa email: mischa@gorinskat.nl fullname: Mischa -password: '$2y$10$o6jsBdRfmjbvs9B.zkEy1ux1pUUQRJsFPpD.mhm/EritwW.So5Rj6' +hashed_password: '$2y$10$dUEYTopGEDouFoAa/Wxw6.vsOA71yr3gSStfDvr10aKm4ih9ObQ7m' language: en diff --git a/config/media.yaml b/config/media.yaml new file mode 100644 index 0000000..e69de29 diff --git a/config/plugins/admin.yaml b/config/plugins/admin.yaml new file mode 100644 index 0000000..0b3e22f --- /dev/null +++ b/config/plugins/admin.yaml @@ -0,0 +1,6 @@ +enabled: true +notifications: + feed: false + dashboard: false + plugins: false + themes: false diff --git a/config/plugins/login.yaml b/config/plugins/login.yaml index 9f444c2..f801626 100644 --- a/config/plugins/login.yaml +++ b/config/plugins/login.yaml @@ -9,3 +9,4 @@ route: /login built_in_css: true built_in_js: true redirect_after_login: /tracker +site_host: https://intotheeast.com diff --git a/config/security.yaml b/config/security.yaml new file mode 100644 index 0000000..518492b --- /dev/null +++ b/config/security.yaml @@ -0,0 +1 @@ +salt: lsUHWFkCwvGZrL diff --git a/config/system.yaml b/config/system.yaml index a836f12..802fbb9 100644 --- a/config/system.yaml +++ b/config/system.yaml @@ -1,37 +1,243 @@ +absolute_urls: false +timezone: Europe/Amsterdam +param_sep: ':' +wrapped_site: false +reverse_proxy_setup: false +force_ssl: false +force_lowercase_urls: true +custom_base_url: 'http://100.96.115.96:8081' +username_regex: '^[a-z0-9_-]{3,16}$' +pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' +intl_enabled: true +http_x_forwarded: + protocol: true + host: false + port: true + ip: true +languages: + supported: + - en + default_lang: null + include_default_lang: false + include_default_lang_file_extension: true + translations: true + translations_fallback: true + session_store_active: false + http_accept_language: false + override_locale: false + pages_fallback_only: false + debug: false home: alias: /tracker - + hide_in_urls: false pages: + type: regular + dirs: + - 'page://' theme: intotheeast + order: + by: default + dir: asc + list: + count: 20 dateformat: default: 'd M Y' - short: 'd M' - long: 'l, d F Y' - + short: 'D, d M Y G:i:s' + long: 'D, d M Y G:i:s' + publish_dates: true + process: + markdown: true + twig: false + twig_first: false + never_cache_twig: false + events: + page: true + twig: true + markdown: + extra: true + auto_line_breaks: false + auto_url_links: false + escape_markup: false + special_chars: + '>': gt + '<': lt + valid_link_attributes: + - rel + - target + - id + - class + - classes + types: + - html + - htm + - xml + - txt + - json + - rss + - atom + append_url_extension: null + expires: 604800 + cache_control: null + last_modified: false + etag: true + vary_accept_encoding: false + redirect_default_code: '302' + redirect_trailing_slash: 1 + redirect_default_route: 0 + ignore_files: + - .DS_Store + ignore_folders: + - .git + - .idea + ignore_hidden: true + hide_empty_folders: false + url_taxonomy_filters: true + frontmatter: + process_twig: false + ignore_fields: + - form + - forms cache: enabled: true check: method: folder driver: auto - -debugger: - enabled: false - -languages: - supported: [en] - -media: - enable_media_timestamp: false - -uploads_privacy: - enabled: false - -session: - enabled: true - timeout: 1800 - + prefix: g + purge_at: '0 4 * * *' + clear_at: '0 3 * * *' + clear_job_type: standard + clear_images_by_default: false + cli_compatibility: false + lifetime: 604800 + purge_max_age_days: 30 + gzip: true + allow_webserver_gzip: false + redis: + socket: '0' + password: null + database: null + server: null + port: null + memcache: + server: null + port: null + memcached: + server: null + port: null +twig: + cache: true + debug: true + auto_reload: true + autoescape: true + undefined_functions: true + undefined_filters: true + safe_functions: { } + safe_filters: { } + umask_fix: false +assets: + css_pipeline: false + css_pipeline_include_externals: true + css_pipeline_before_excludes: true + css_minify: true + css_minify_windows: false + css_rewrite: true + js_pipeline: false + js_pipeline_include_externals: true + js_pipeline_before_excludes: true + js_module_pipeline: false + js_module_pipeline_include_externals: true + js_module_pipeline_before_excludes: true + js_minify: true + enable_asset_timestamp: true + enable_asset_sri: false + collections: + jquery: 'system://assets/jquery/jquery-3.x.min.js' errors: display: 0 log: true - -timezone: 'Europe/Amsterdam' +log: + handler: file + syslog: + facility: local6 + tag: grav +debugger: + enabled: false + provider: clockwork + censored: false + shutdown: + close_connection: true +images: + adapter: gd + default_image_quality: 85 + cache_all: false + cache_perms: '0755' + debug: false + auto_fix_orientation: true + seofriendly: false + url_actions: false + max_pixels: 25000000 + cls: + auto_sizes: false + aspect_ratio: false + retina_scale: '1' + defaults: + loading: auto + decoding: auto + fetchpriority: auto + watermark: + image: 'system://images/watermark.png' + position_y: center + position_x: center + scale: 33 + watermark_all: false +media: + enable_media_timestamp: false + unsupported_inline_types: null + allowed_fallback_types: null + auto_metadata_exif: false + upload_limit: 2097152 +session: + enabled: true + initialize: true + timeout: 1800 + name: grav-site + uniqueness: path + secure: false + secure_https: true + httponly: true + samesite: Lax + split: true + domain: null + path: null +gpm: + releases: stable + official_gpm_only: true +http: + method: curl + enable_proxy: true + proxy_url: null + proxy_cert_path: null + concurrent_connections: 5 + verify_peer: true + verify_host: true +accounts: + type: regular + storage: file + avatar: gravatar +flex: + cache: + index: + enabled: true + lifetime: 60 + object: + enabled: true + lifetime: 600 + render: + enabled: true + lifetime: 600 +strict_mode: + yaml_compat: false + twig_compat: false + blueprint_compat: false +uploads_privacy: + enabled: false diff --git a/config/versions.yaml b/config/versions.yaml new file mode 100644 index 0000000..7c71bc3 --- /dev/null +++ b/config/versions.yaml @@ -0,0 +1,6 @@ +core: + grav: + version: 1.7.53 + schema: 1.7.53_2026-06-09_0 + history: + - { version: 1.7.53, date: '2026-06-17 22:27:48' }