Files
Grav/system/config/system.yaml

240 lines
18 KiB
YAML
Raw Normal View History

absolute_urls: false # Absolute or relative URLs for `base_url`
timezone: '' # Valid values: http://php.net/manual/en/timezones.php
default_locale: # Default locale (defaults to system)
param_sep: ':' # Parameter separator, use ';' for Apache on windows
wrapped_site: false # For themes/plugins to know if Grav is wrapped by another platform
reverse_proxy_setup: false # Running in a reverse proxy scenario with different webserver ports than proxy
force_ssl: false # If enabled, Grav forces to be accessed via HTTPS (NOTE: Not an ideal solution)
2017-11-06 19:50:59 -07:00
force_lowercase_urls: true # If you want to support mixed cased URLs set this to false
custom_base_url: '' # Set the base_url manually, e.g. http://yoursite.com/yourpath
username_regex: '^[a-z0-9_-]{3,16}$' # Only lowercase chars, digits, dashes, underscores. 3 - 16 chars
pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}' # At least one number, one uppercase and lowercase letter, and be at least 8+ chars
intl_enabled: true # Special logic for PHP International Extension (mod_intl)
http_x_forwarded: # Configuration options for the various HTTP_X_FORWARD headers
protocol: true
host: false
port: true
ip: true
languages:
supported: [] # List of languages supported. eg: [en, fr, de]
default_lang: # Default is the first supported language. Must be one of the supported languages
include_default_lang: true # Include the default lang prefix in all URLs
include_default_lang_file_extension: true # If true, include language code for the default language in file extension: default.en.md
translations: true # If false, translation keys are used instead of translated strings
translations_fallback: true # Fallback through supported translations if active lang doesn't exist
session_store_active: false # Store active language in session
http_accept_language: false # Attempt to set the language based on http_accept_language header in the browser
override_locale: false # Override the default or system locale with language specific one
content_fallback: {} # Custom language fallbacks. eg: {fr: ['fr', 'en']}
pages_fallback_only: false # DEPRECATED: Use `content_fallback` instead
2023-06-08 14:50:52 -06:00
debug: false # Debug language detection
2014-08-02 12:11:33 -07:00
home:
alias: '/home' # Default path for home, ie /
hide_in_urls: false # Hide the home route in URLs
2014-08-02 12:11:33 -07:00
pages:
2020-01-21 10:02:29 +02:00
type: regular # EXPERIMENTAL: Page type: regular or flex
2022-10-05 06:38:32 -06:00
dirs: ['page://'] # Advanced functionality, allows for multiple page paths
theme: quark # Default theme (defaults to "quark" theme)
2014-08-02 12:11:33 -07:00
order:
by: default # Order pages by "default", "alpha" or "date"
dir: asc # Default ordering direction, "asc" or "desc"
2014-08-02 12:11:33 -07:00
list:
count: 20 # Default item count per page
2014-08-02 12:11:33 -07:00
dateformat:
default: # The default date format Grav expects in the `date: ` field
short: 'jS M Y' # Short date format
long: 'F jS \a\t g:ia' # Long date format
publish_dates: true # automatically publish/unpublish based on dates
2014-08-02 12:11:33 -07:00
process:
markdown: true # Process Markdown
twig: false # Process Twig
twig_first: false # Process Twig before markdown when processing both on a page
never_cache_twig: false # Only cache content, never cache twig processed in content (incompatible with `twig_first: true`)
2014-08-02 12:11:33 -07:00
events:
page: true # Enable page level events
twig: true # Enable Twig level events
markdown:
extra: false # Enable support for Markdown Extra support (GFM by default)
auto_line_breaks: false # Enable automatic line breaks
auto_url_links: false # Enable automatic HTML links
escape_markup: false # Escape markup tags into entities
special_chars: # List of special characters to automatically convert to entities
'>': 'gt'
'<': 'lt'
valid_link_attributes: # Valid attributes to pass through via markdown links
- rel
- target
- id
- class
- classes
types: [html,htm,xml,txt,json,rss,atom] # list of valid page types
append_url_extension: '' # Append page's extension in Page urls (e.g. '.html' results in /path/page.html)
expires: 604800 # Page expires time in seconds (604800 seconds = 7 days)
2017-07-26 12:33:35 -06:00
cache_control: # Can be blank for no setting, or a valid `cache-control` text value
last_modified: false # Set the last modified date header based on file modification timestamp
etag: true # Set the etag header tag
vary_accept_encoding: false # Add `Vary: Accept-Encoding` header
redirect_default_code: 302 # Default code to use for redirects: 301|302|303
redirect_trailing_slash: 1 # Always redirect trailing slash with redirect code 0|1|301|302 (0: no redirect, 1: use default code)
redirect_default_route: 0 # Always redirect to page's default route using code 0|1|301|302, also removes .htm and .html extensions
ignore_files: [.DS_Store] # Files to ignore in Pages
ignore_folders: [.git, .idea] # Folders to ignore in Pages
ignore_hidden: true # Ignore all Hidden files and folders
hide_empty_folders: false # If folder has no .md file, should it be hidden
url_taxonomy_filters: true # Enable auto-magic URL-based taxonomy filters for page collections
frontmatter:
process_twig: false # Should the frontmatter be processed to replace Twig variables?
ignore_fields: ['form','forms'] # Fields that might contain Twig variables and should not be processed
2014-08-02 12:11:33 -07:00
cache:
enabled: true # Set to true to enable caching
2014-08-02 12:11:33 -07:00
check:
method: file # Method to check for updates in pages: file|folder|hash|none
interval: 0 # Seconds to reuse previous filesystem hash before rechecking (0 = every request)
driver: auto # One of: auto|file|apcu|memcached|redis
prefix: 'g' # Cache prefix string (prevents cache conflicts)
2019-02-18 12:59:47 -07:00
purge_at: '0 4 * * *' # How often to purge old file cache (using new scheduler)
clear_at: '0 3 * * *' # How often to clear cache (using new scheduler)
clear_job_type: 'standard' # Type to clear when processing the scheduled clear job `standard`|`all`
2021-10-26 11:39:15 -06:00
clear_images_by_default: false # By default grav does not include processed images in cache clear, this can be enabled
cli_compatibility: false # Ensures only non-volatile drivers are used (file, redis, memcached, etc.)
lifetime: 604800 # Lifetime of cached data in seconds (0 = infinite)
purge_max_age_days: 30 # Maximum age of cache items in days before they are purged
gzip: false # GZip compress the page output
allow_webserver_gzip: false # If true, `content-encoding: identity` but connection isn't closed before `onShutDown()` event
redis:
socket: false # Path to redis unix socket (e.g. /var/run/redis/redis.sock), false = use server and port to connect
password: # Optional password
database: # Optional database ID
2014-08-02 12:11:33 -07:00
twig:
cache: true # Set to true to enable Twig caching
debug: true # Enable Twig debug
auto_reload: true # Refresh cache on changes
autoescape: true # Autoescape Twig vars (DEPRECATED, always enabled in strict mode)
undefined_functions: true # Allow undefined functions
undefined_filters: true # Allow undefined filters
safe_functions: [] # List of PHP functions which are allowed to be used as Twig functions
safe_filters: [] # List of PHP functions which are allowed to be used as Twig filters
2014-08-02 12:11:33 -07:00
assets: # Configuration for Assets Manager (JS, CSS)
css_pipeline: false # The CSS pipeline is the unification of multiple CSS resources into one file
css_pipeline_include_externals: true # Include external URLs in the pipeline by default
css_pipeline_before_excludes: true # Render the pipeline before any excluded files
css_minify: true # Minify the CSS during pipelining
css_minify_windows: false # Minify Override for Windows platforms. False by default due to ThreadStackSize
css_rewrite: true # Rewrite any CSS relative URLs during pipelining
js_pipeline: false # The JS pipeline is the unification of multiple JS resources into one file
js_pipeline_include_externals: true # Include external URLs in the pipeline by default
js_pipeline_before_excludes: true # Render the pipeline before any excluded files
2022-01-09 13:29:40 -07:00
js_module_pipeline: false # The JS Module pipeline is the unification of multiple JS Module resources into one file
js_module_pipeline_include_externals: true # Include external URLs in the pipeline by default
js_module_pipeline_before_excludes: true # Render the pipeline before any excluded files
js_minify: true # Minify the JS during pipelining
enable_asset_timestamp: false # Enable asset timestamps
enable_asset_sri: false # Enable asset SRI
collections:
2021-06-15 10:15:12 -06:00
jquery: system://assets/jquery/jquery-3.x.min.js
errors:
display: 0 # Display either (1) Full backtrace | (0) Simple Error | (-1) System Error
log: true # Log errors to /logs folder
log:
handler: file # Log handler. Currently supported: file | syslog
syslog:
facility: local6 # Syslog facilities output
tag: grav # Syslog tag. Default: "grav".
2014-08-02 12:11:33 -07:00
debugger:
enabled: false # Enable Grav debugger and following settings
2019-06-14 13:43:24 -06:00
provider: clockwork # Debugger provider: debugbar | clockwork
censored: false # Censor potentially sensitive information (POST parameters, cookies, files, configuration and most array/object data in log messages)
shutdown:
close_connection: true # Close the connection before calling onShutdown(). false for debugging
images:
adapter: gd # Image adapter to use: gd | imagick
default_image_quality: 85 # Default image quality to use when resampling images (85%)
cache_all: false # Cache all image by default
cache_perms: '0755' # MUST BE IN QUOTES!! Default cache folder perms. Usually '0755' or '0775'
debug: false # Show an overlay over images indicating the pixel depth of the image when working with retina for example
auto_fix_orientation: true # Automatically fix the image orientation based on the Exif data
seofriendly: false # SEO-friendly processed image names
cls: # Cumulative Layout Shift: See https://web.dev/optimize-cls/
auto_sizes: false # Automatically add height/width to image
aspect_ratio: false # Reserve space with aspect ratio style
retina_scale: 1 # scale to adjust auto-sizes for better handling of HiDPI resolutions
defaults:
loading: auto # Let browser pick [auto|lazy|eager]
decoding: auto # Let browser pick [auto|sync|async]
fetchpriority: auto # Let browser pick [auto|high|low]
watermark:
image: 'system://images/watermark.png' # Path to a watermark image
position_y: 'center' # top|center|bottom
position_x: 'center' # left|center|right
scale: 33 # percentage of watermark scale
watermark_all: false # automatically watermark all images
2015-04-13 14:44:56 +02:00
media:
2017-05-12 23:28:40 +02:00
enable_media_timestamp: false # Enable media timestamps
unsupported_inline_types: [] # Array of supported media types to try to display inline
allowed_fallback_types: [] # Array of allowed media types of files found if accessed via Page route
auto_metadata_exif: false # Automatically create metadata files from Exif data where possible
session:
enabled: true # Enable Session support
initialize: true # Initialize session from Grav (if false, plugin needs to start the session)
timeout: 1800 # Timeout in seconds
name: grav-site # Name prefix of the session cookie. Use alphanumeric, dashes or underscores only. Do not use dots in the session name
uniqueness: path # Should sessions be `path` based or `security.salt` based
secure: false # Set session secure. If true, indicates that communication for this cookie must be over an encrypted transmission. Enable this only on sites that run exclusively on HTTPS
secure_https: true # Set session secure on HTTPS but not on HTTP. Has no effect if you have `session.secure: true`. Set to false if your site jumps between HTTP and HTTPS.
httponly: true # Set session HTTP only. If true, indicates that cookies should be used only over HTTP, and JavaScript modification is not allowed.
samesite: Lax # Set session SameSite. Possible values are Lax, Strict and None. See https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Set-Cookie/SameSite
split: true # Sessions should be independent between site and plugins (such as admin)
domain: # Domain used by sessions.
path: # Path used by sessions.
gpm:
releases: stable # Set to either 'stable' or 'testing'
official_gpm_only: true # By default GPM direct-install will only allow URLs via the official GPM proxy to ensure security
2025-10-15 10:29:26 -06:00
updates:
safe_upgrade: true # Enable guarded staging+rollback pipeline for Grav self-updates
http:
method: auto # Either 'curl', 'fopen' or 'auto'. 'auto' will try fopen first and if not available cURL
2021-10-01 11:42:41 -06:00
enable_proxy: true # Enable proxy server configuration
proxy_url: # Configure a manual proxy URL for GPM (eg 127.0.0.1:3128)
proxy_cert_path: # Local path to proxy certificate folder containing pem files
concurrent_connections: 5 # Concurrent HTTP connections when multiplexing
verify_peer: true # Enable/Disable SSL verification of peer certificates
verify_host: true # Enable/Disable SSL verification of host certificates
Squashed commit of the following: commit 6522db9beb579ee9ccb4f8b73f22bd0a57af5294 Merge: e047173f a1c8cb9f Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 21:25:18 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit e047173fe0acf79a593db5b2e9db87cdc6f416a1 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 21:09:18 2019 +0200 Updated FlexCollection to match object isAuthorized() call (fixed oopsie) commit a937a5834fab908c915d9859479b07088cbe1677 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 21:02:21 2019 +0200 Updated FlexCollection to match object isAuthorized() call commit 24ea31364632dddc38057e243075787340c3e86b Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 20:48:13 2019 +0200 Fixed infinite loop when creating DataUser object commit 5da9fa8e1a4d213e16d8ca5c64a898c1712a28aa Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 17:34:54 2019 +0200 Renamed `FlexAuthorizeInterface::authorize()` to `isAuthorized()` commit 42fcf352a53a89e2082449ff6280804d913cac99 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 10:10:41 2019 +0200 Added proper security check for user access levels commit 43f8051305909f4579a65026de020c4ccdb1d15a Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 10:07:35 2019 +0200 Added configuration options for system.accounts fields commit 9ff8cc6e984744cb1031184721cb3a03d38ca33a Author: Andy Miller <rhuk@mac.com> Date: Wed Feb 6 13:20:02 2019 -0700 Cleanly handle session corruption due to changing Flex object types commit 472c7e5367d7e27044e6bf1629800c69178a4b70 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 21:50:48 2019 +0200 Added isValid() method for Data/FlexUser classes commit 3098479d5e5f0ae370495f77e0615f1a50d9501c Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 14:00:06 2019 +0200 Changelog update commit 56956e178c93b8eefe055f645693b44f0ce71092 Merge: 84510cdc 466374ba Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 13:32:03 2019 +0200 Merge remote-tracking branch 'origin/1.7' into 1.7 commit 84510cdc24bf445aeb3b4787c6a3198d31789e8c Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 13:31:40 2019 +0200 Restructure Users logic to allow us to switch between old and new classes commit 466374ba33ba89b396a36cc4fc0bd53f0d974bd0 Merge: 3a84c382 26de0340 Author: Andy Miller <rhuk@mac.com> Date: Tue Feb 5 20:37:33 2019 -0700 Merge branch '1.6' into 1.7 commit 8f9c0e513a48161e97ca8940036c94984b9e814e Author: Matias Griese <matias@trilbymedia.com> Date: Tue Feb 5 16:23:21 2019 +0200 Restructure FlexUsers to allow us to switch between old and new classes commit 3a84c3822b4374dd767fed235003f426a0e48f4b Merge: 6412498a 34bf8fb5 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Feb 5 14:24:09 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # system/defines.php commit 6412498acab51bfe96ff2fd071a6875e3f8e435b Merge: 3467f1d8 b1d43d29 Author: Andy Miller <rhuk@mac.com> Date: Mon Feb 4 16:48:04 2019 -0700 Merge branch '1.6' into 1.7 commit 3467f1d8d0448e588a8902ff70f13e24c4117e33 Merge: 49cf9820 c713625a Author: Matias Griese <matias@trilbymedia.com> Date: Mon Feb 4 22:27:56 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 49cf9820be70b37ae9ac69e7a35950e5b9fb6c25 Merge: e0aca2f6 24e6b6c8 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Feb 4 22:21:37 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit e0aca2f6a0823b7346dc3eeaed698d55d9ae2f4f Merge: 0bc93fae 632a2d79 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Feb 1 09:06:50 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # system/src/Grav/Common/User/User.php commit 0bc93faec721e497867bdba224a61bdd397ff8c6 Merge: 91e17b8b e4b1d2ed Author: Andy Miller <rhuk@mac.com> Date: Thu Jan 31 18:42:25 2019 -0700 Merge branch '1.6' into 1.7 commit 91e17b8b14d4eeeccdd2f297dd27efbc4f515a19 Merge: 959cd21d 9fadb992 Author: Andy Miller <rhuk@mac.com> Date: Thu Jan 31 15:41:51 2019 -0700 Merge branch '1.7' of github.com:getgrav/grav into 1.7 # Conflicts: # CHANGELOG.md commit 959cd21da6a3aa3d15e67ad25114b4238fd5eba9 Merge: 22eedbfd a3fea3d0 Author: Andy Miller <rhuk@mac.com> Date: Thu Jan 31 15:40:21 2019 -0700 Merge branch '1.6' into 1.7 # Conflicts: # CHANGELOG.md # system/defines.php commit 9fadb992a409473ec047cee329adfd2fc001ec99 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Feb 1 00:11:05 2019 +0200 Added search() for user collection commit fb1193e465fa0f6719a43215d0218d9e774519f1 Merge: d633eabf d50e5d95 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 21:19:35 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit d633eabf58216f18c3bd2ac179f474f621206d5a Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 21:17:35 2019 +0200 Index username and email in lowercase letters commit 86db584b0075ef7ad523d97bbe600c83815648e0 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 15:21:40 2019 +0200 Rework FlexUser index commit 540dbcd24c790114cec122f8bfbdc4d199cd9e2b Merge: 28e41fb7 7a044c73 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 15:08:38 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # CHANGELOG.md commit 28e41fb7e76bc1e569c0fcb8440c16d228396c73 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 11:17:29 2019 +0200 Remove useless check commit bd7b91efcba0914a3b4a664319c73b230e0e0755 Merge: 22eedbfd 4f80a156 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 10:16:33 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # CHANGELOG.md # system/defines.php commit 22eedbfd1160a38f24525c50cb4ca61caec4a1f8 Author: Andy Miller <rhuk@mac.com> Date: Wed Jan 30 17:18:59 2019 -0700 Defines update commit 338d40993e16e5c233c5fd010a259bbb37433de3 Merge: 1ecb6c4c f312c44a Author: Andy Miller <rhuk@mac.com> Date: Wed Jan 30 17:15:38 2019 -0700 Merge branch '1.6' into 1.7 commit 1ecb6c4c2b42e61785c473348bbeaffd2319344a Merge: 22fc6ede 60436104 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 30 21:05:13 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 22fc6edea286a51bb15f23dd8762960b5bb1821f Merge: 21b9e2cd d45efb48 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 30 20:51:30 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 21b9e2cd7c06e9f286428f2794ebd7d4e8f0e64d Merge: 09f9eb22 610c6c34 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 30 11:20:39 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 09f9eb228f5980a56602b0a82ca73929d1d0336c Author: Andy Miller <rhuk@mac.com> Date: Tue Jan 29 17:16:42 2019 -0700 updated changelog commit d2641c89e5a8e25d5a8d20cb10d7d0d302661ac7 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 23:08:04 2019 +0200 Added support for looking up user by key, flex_key and storage_key commit 2482ae7b8ca46e9cd6c7759ee5c3a62cb1e58363 Merge: 354bfd95 bbdac0fd Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 22:22:29 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 354bfd95fccf169357591a7f4c6b603121012f12 Merge: c0299f0d 5f5bfdaa Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 19:32:41 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit c0299f0de81ebc3a0d05e147443a1602e7f86a34 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 19:22:24 2019 +0200 Log alert if user index file gets corrupted or cannot be read commit a9bd316868c45ada12ba7756ef6abc46daa3638d Merge: 318cff10 ad7fdd5c Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 18:15:00 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 318cff102747c863e785f3bdbf3e538c84884b29 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 18:00:18 2019 +0200 FlexUser: Do not fail hard if user index is corrupted commit a402e675e485c2ccaa9e15f0d4f444073efe1fc5 Merge: a6179018 1321e582 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 16:09:10 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit a6179018d3e57acf6a0e00ed8cbe65be1b214ae7 Merge: eaeb9d30 f7865873 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Jan 28 19:48:39 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit eaeb9d30251e9e31cd72c34c2f0f3a9b8e448f6c Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 12:20:16 2019 +0200 FlexUser: Fixed original avatar image saving if there wasn't any before resize commit 6e9b880dba19e3e717065e1d6b9adce4eb4fa100 Merge: d02f1c3d 5ad4ffd3 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 12:13:03 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # system/src/Grav/Common/Form/FormFlash.php commit d02f1c3dd6b9e621fd1da5d9fb845faf2efb14d2 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 11:42:56 2019 +0200 Fixed a bug on Form file crop with existing data commit 17221a2a31fb7153e83e6a949bd004fe6aa73af8 Merge: c1c0467e 0700e4bf Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 11:08:14 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit c1c0467ea1510bf7a7dceadefccb1358a6e74b28 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 24 16:20:51 2019 +0200 Added `FlexCollection::sort()` method commit a07f36995573646ce08fa8fb70adcb9f6ccbb95b Merge: 4929c700 6d89108c Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 21:25:35 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 4929c700065c10c6e047fd46169d121aea8c0fad Merge: 13aac576 4e31a114 Author: Andy Miller <rhuk@mac.com> Date: Wed Jan 23 12:17:23 2019 -0700 Merge branch '1.6' into feature/1.6-flex-users commit 13aac576f81c0ef1a6721652c04432512c3bb669 Merge: 81b47c21 18d53079 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 20:54:29 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 81b47c21ff58d5c6c876857dd9ea24d9cef97880 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:43:23 2019 +0200 Move user search index into user-data://accounts folder commit c7bf4fc71abd1298d729da08e0770dd94ab4f708 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:41:48 2019 +0200 Fixed fatal error when user has no avatar commit 586f6252d84c657b58fe84b79955c4542900e56a Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:41:18 2019 +0200 Added configuration option for account storage type, default to old structure commit 78cd6d05aa06e132ba4090edac5b4a4dab54d13b Merge: 2d554b55 57de7cc0 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:14:17 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 2d554b5577224bdd160e1319a9ba51b0b0ee6a34 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 12:46:50 2019 +0200 FlexUser: Added original/cropped image support commit 3f78f1b82316cf4d8bb2d0109c11ec6bf73c2bc5 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 12:13:54 2019 +0200 FlexUser: Added original image/crop support commit f8b7e7922cb036d57345d5587e9ba70271722503 Merge: f6b81fde e6b6e218 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 11:21:16 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit f6b81fde528a2b6ef17b784a5b695bb371b4617c Merge: d82eeeac 24305528 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 11:11:39 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit d82eeeac9b50290d17b852e2221d9ae97b375fdc Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 10:28:58 2019 +0200 MediaTrait: Clearing cache should unset media variable commit ddaa9117ed7e795f95d897b6dd07a604482ca60b Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 10:11:26 2019 +0200 FlexUser: Fixed issue on avatar if the field isn't what is expected by default (an array) commit 8b23a47708106557c41fe497211e4dc3c7c1767e Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 22:03:47 2019 +0200 Added User::getAvatarMedia() method commit bb175341a5cb556c698481731fe73e9fa4b07643 Merge: bc9d60ca 5b0e2e40 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 21:44:18 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users # Conflicts: # system/src/Grav/Common/User/User.php commit bc9d60ca79888c1c7eb0087bc841f409a67017b0 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 21:25:19 2019 +0200 FlexUser: Fix extra parameter commit 93b4b03706e8440e8e7ccad473fc5595ac85b631 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 11:10:51 2019 +0200 FlexUser: Added support for avatar (or images in general) commit fcd5756d2747cc4126c03fc53c2bd1bd35f0e8dc Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 09:29:54 2019 +0200 Add `FormFlash::clearFiles()` method commit 9da3c566188fa3f68077292d82a68b793763dc6a Author: Matias Griese <matias@trilbymedia.com> Date: Mon Jan 21 20:57:07 2019 +0200 Added media support for User commit bb94022b709cebc73be4b3f010568b6504535aa2 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Jan 21 11:44:35 2019 +0200 Store users with unique ids commit 6a184c4011ed3ed90cec4d536ead067896a580aa Merge: 698a291c bd27d6fe Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 14:14:23 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users # Conflicts: # system/src/Grav/Common/User/User.php commit 698a291cc844605dd8e969784883207308bc3a5f Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 14:02:02 2019 +0200 Make sure that `authenticated` and `authorized` will not be saved into the file commit 59c7dd59af86c7e0feaf4a9fa3832bad8a85b631 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 13:09:43 2019 +0200 FlexUser: Fixed missing username in the object commit b139e5daaa67d51baa26222e6155b359ac5a17f5 Merge: 426dae47 254fe990 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 12:22:22 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users # Conflicts: # system/src/Grav/Common/User/User.php commit 426dae4731383bfd64f7e8e611f3721f58776feb Merge: f4ff6713 0afe9d4f Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 11:00:36 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit f4ff6713ac1c930b3f932b285c762552f99c79b0 Merge: eaab0b0a 751d1da7 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 11 13:04:04 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit eaab0b0ae9c50ca5995ea7aa769720fc647ec4c2 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 11 12:57:15 2019 +0200 Fixed merge conflict commit 531dd1a788a6496c228c56103d4512d39c4d7650 Merge: 3bd925d6 f0cf4ed8 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 11 12:50:46 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 3bd925d61b96c12ea77cad19f4a9c01ba9afba8f Merge: a383fbac a224c8b3 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 8 18:37:22 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit a383fbac0447d3226ee3a6109b99edca5210c5e5 Merge: 422e1f70 b38a143c Author: Matias Griese <matias@trilbymedia.com> Date: Tue Dec 4 15:32:39 2018 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/flex-users # Conflicts: # system/src/Grav/Common/Grav.php commit 422e1f7027389fd1727dac4e269309a33187ea69 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Nov 26 19:57:28 2018 +0200 Implement Flex User classes
2019-02-07 14:36:07 -07:00
accounts:
2020-01-21 10:02:29 +02:00
type: regular # EXPERIMENTAL: Account type: regular or flex
storage: file # EXPERIMENTAL: Flex storage type: file or folder
2022-03-08 10:45:44 -07:00
avatar: gravatar # Avatar generator [multiavatar|gravatar]
Squashed commit of the following: commit 6522db9beb579ee9ccb4f8b73f22bd0a57af5294 Merge: e047173f a1c8cb9f Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 21:25:18 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit e047173fe0acf79a593db5b2e9db87cdc6f416a1 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 21:09:18 2019 +0200 Updated FlexCollection to match object isAuthorized() call (fixed oopsie) commit a937a5834fab908c915d9859479b07088cbe1677 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 21:02:21 2019 +0200 Updated FlexCollection to match object isAuthorized() call commit 24ea31364632dddc38057e243075787340c3e86b Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 20:48:13 2019 +0200 Fixed infinite loop when creating DataUser object commit 5da9fa8e1a4d213e16d8ca5c64a898c1712a28aa Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 17:34:54 2019 +0200 Renamed `FlexAuthorizeInterface::authorize()` to `isAuthorized()` commit 42fcf352a53a89e2082449ff6280804d913cac99 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 10:10:41 2019 +0200 Added proper security check for user access levels commit 43f8051305909f4579a65026de020c4ccdb1d15a Author: Matias Griese <matias@trilbymedia.com> Date: Thu Feb 7 10:07:35 2019 +0200 Added configuration options for system.accounts fields commit 9ff8cc6e984744cb1031184721cb3a03d38ca33a Author: Andy Miller <rhuk@mac.com> Date: Wed Feb 6 13:20:02 2019 -0700 Cleanly handle session corruption due to changing Flex object types commit 472c7e5367d7e27044e6bf1629800c69178a4b70 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 21:50:48 2019 +0200 Added isValid() method for Data/FlexUser classes commit 3098479d5e5f0ae370495f77e0615f1a50d9501c Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 14:00:06 2019 +0200 Changelog update commit 56956e178c93b8eefe055f645693b44f0ce71092 Merge: 84510cdc 466374ba Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 13:32:03 2019 +0200 Merge remote-tracking branch 'origin/1.7' into 1.7 commit 84510cdc24bf445aeb3b4787c6a3198d31789e8c Author: Matias Griese <matias@trilbymedia.com> Date: Wed Feb 6 13:31:40 2019 +0200 Restructure Users logic to allow us to switch between old and new classes commit 466374ba33ba89b396a36cc4fc0bd53f0d974bd0 Merge: 3a84c382 26de0340 Author: Andy Miller <rhuk@mac.com> Date: Tue Feb 5 20:37:33 2019 -0700 Merge branch '1.6' into 1.7 commit 8f9c0e513a48161e97ca8940036c94984b9e814e Author: Matias Griese <matias@trilbymedia.com> Date: Tue Feb 5 16:23:21 2019 +0200 Restructure FlexUsers to allow us to switch between old and new classes commit 3a84c3822b4374dd767fed235003f426a0e48f4b Merge: 6412498a 34bf8fb5 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Feb 5 14:24:09 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # system/defines.php commit 6412498acab51bfe96ff2fd071a6875e3f8e435b Merge: 3467f1d8 b1d43d29 Author: Andy Miller <rhuk@mac.com> Date: Mon Feb 4 16:48:04 2019 -0700 Merge branch '1.6' into 1.7 commit 3467f1d8d0448e588a8902ff70f13e24c4117e33 Merge: 49cf9820 c713625a Author: Matias Griese <matias@trilbymedia.com> Date: Mon Feb 4 22:27:56 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 49cf9820be70b37ae9ac69e7a35950e5b9fb6c25 Merge: e0aca2f6 24e6b6c8 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Feb 4 22:21:37 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit e0aca2f6a0823b7346dc3eeaed698d55d9ae2f4f Merge: 0bc93fae 632a2d79 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Feb 1 09:06:50 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # system/src/Grav/Common/User/User.php commit 0bc93faec721e497867bdba224a61bdd397ff8c6 Merge: 91e17b8b e4b1d2ed Author: Andy Miller <rhuk@mac.com> Date: Thu Jan 31 18:42:25 2019 -0700 Merge branch '1.6' into 1.7 commit 91e17b8b14d4eeeccdd2f297dd27efbc4f515a19 Merge: 959cd21d 9fadb992 Author: Andy Miller <rhuk@mac.com> Date: Thu Jan 31 15:41:51 2019 -0700 Merge branch '1.7' of github.com:getgrav/grav into 1.7 # Conflicts: # CHANGELOG.md commit 959cd21da6a3aa3d15e67ad25114b4238fd5eba9 Merge: 22eedbfd a3fea3d0 Author: Andy Miller <rhuk@mac.com> Date: Thu Jan 31 15:40:21 2019 -0700 Merge branch '1.6' into 1.7 # Conflicts: # CHANGELOG.md # system/defines.php commit 9fadb992a409473ec047cee329adfd2fc001ec99 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Feb 1 00:11:05 2019 +0200 Added search() for user collection commit fb1193e465fa0f6719a43215d0218d9e774519f1 Merge: d633eabf d50e5d95 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 21:19:35 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit d633eabf58216f18c3bd2ac179f474f621206d5a Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 21:17:35 2019 +0200 Index username and email in lowercase letters commit 86db584b0075ef7ad523d97bbe600c83815648e0 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 15:21:40 2019 +0200 Rework FlexUser index commit 540dbcd24c790114cec122f8bfbdc4d199cd9e2b Merge: 28e41fb7 7a044c73 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 15:08:38 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # CHANGELOG.md commit 28e41fb7e76bc1e569c0fcb8440c16d228396c73 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 11:17:29 2019 +0200 Remove useless check commit bd7b91efcba0914a3b4a664319c73b230e0e0755 Merge: 22eedbfd 4f80a156 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 31 10:16:33 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # CHANGELOG.md # system/defines.php commit 22eedbfd1160a38f24525c50cb4ca61caec4a1f8 Author: Andy Miller <rhuk@mac.com> Date: Wed Jan 30 17:18:59 2019 -0700 Defines update commit 338d40993e16e5c233c5fd010a259bbb37433de3 Merge: 1ecb6c4c f312c44a Author: Andy Miller <rhuk@mac.com> Date: Wed Jan 30 17:15:38 2019 -0700 Merge branch '1.6' into 1.7 commit 1ecb6c4c2b42e61785c473348bbeaffd2319344a Merge: 22fc6ede 60436104 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 30 21:05:13 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 22fc6edea286a51bb15f23dd8762960b5bb1821f Merge: 21b9e2cd d45efb48 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 30 20:51:30 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 21b9e2cd7c06e9f286428f2794ebd7d4e8f0e64d Merge: 09f9eb22 610c6c34 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 30 11:20:39 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 09f9eb228f5980a56602b0a82ca73929d1d0336c Author: Andy Miller <rhuk@mac.com> Date: Tue Jan 29 17:16:42 2019 -0700 updated changelog commit d2641c89e5a8e25d5a8d20cb10d7d0d302661ac7 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 23:08:04 2019 +0200 Added support for looking up user by key, flex_key and storage_key commit 2482ae7b8ca46e9cd6c7759ee5c3a62cb1e58363 Merge: 354bfd95 bbdac0fd Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 22:22:29 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 354bfd95fccf169357591a7f4c6b603121012f12 Merge: c0299f0d 5f5bfdaa Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 19:32:41 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit c0299f0de81ebc3a0d05e147443a1602e7f86a34 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 19:22:24 2019 +0200 Log alert if user index file gets corrupted or cannot be read commit a9bd316868c45ada12ba7756ef6abc46daa3638d Merge: 318cff10 ad7fdd5c Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 18:15:00 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit 318cff102747c863e785f3bdbf3e538c84884b29 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 18:00:18 2019 +0200 FlexUser: Do not fail hard if user index is corrupted commit a402e675e485c2ccaa9e15f0d4f444073efe1fc5 Merge: a6179018 1321e582 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 29 16:09:10 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit a6179018d3e57acf6a0e00ed8cbe65be1b214ae7 Merge: eaeb9d30 f7865873 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Jan 28 19:48:39 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit eaeb9d30251e9e31cd72c34c2f0f3a9b8e448f6c Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 12:20:16 2019 +0200 FlexUser: Fixed original avatar image saving if there wasn't any before resize commit 6e9b880dba19e3e717065e1d6b9adce4eb4fa100 Merge: d02f1c3d 5ad4ffd3 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 12:13:03 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 # Conflicts: # system/src/Grav/Common/Form/FormFlash.php commit d02f1c3dd6b9e621fd1da5d9fb845faf2efb14d2 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 11:42:56 2019 +0200 Fixed a bug on Form file crop with existing data commit 17221a2a31fb7153e83e6a949bd004fe6aa73af8 Merge: c1c0467e 0700e4bf Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 25 11:08:14 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into 1.7 commit c1c0467ea1510bf7a7dceadefccb1358a6e74b28 Author: Matias Griese <matias@trilbymedia.com> Date: Thu Jan 24 16:20:51 2019 +0200 Added `FlexCollection::sort()` method commit a07f36995573646ce08fa8fb70adcb9f6ccbb95b Merge: 4929c700 6d89108c Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 21:25:35 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 4929c700065c10c6e047fd46169d121aea8c0fad Merge: 13aac576 4e31a114 Author: Andy Miller <rhuk@mac.com> Date: Wed Jan 23 12:17:23 2019 -0700 Merge branch '1.6' into feature/1.6-flex-users commit 13aac576f81c0ef1a6721652c04432512c3bb669 Merge: 81b47c21 18d53079 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 20:54:29 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 81b47c21ff58d5c6c876857dd9ea24d9cef97880 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:43:23 2019 +0200 Move user search index into user-data://accounts folder commit c7bf4fc71abd1298d729da08e0770dd94ab4f708 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:41:48 2019 +0200 Fixed fatal error when user has no avatar commit 586f6252d84c657b58fe84b79955c4542900e56a Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:41:18 2019 +0200 Added configuration option for account storage type, default to old structure commit 78cd6d05aa06e132ba4090edac5b4a4dab54d13b Merge: 2d554b55 57de7cc0 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 15:14:17 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 2d554b5577224bdd160e1319a9ba51b0b0ee6a34 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 12:46:50 2019 +0200 FlexUser: Added original/cropped image support commit 3f78f1b82316cf4d8bb2d0109c11ec6bf73c2bc5 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 12:13:54 2019 +0200 FlexUser: Added original image/crop support commit f8b7e7922cb036d57345d5587e9ba70271722503 Merge: f6b81fde e6b6e218 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 11:21:16 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit f6b81fde528a2b6ef17b784a5b695bb371b4617c Merge: d82eeeac 24305528 Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 11:11:39 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit d82eeeac9b50290d17b852e2221d9ae97b375fdc Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 10:28:58 2019 +0200 MediaTrait: Clearing cache should unset media variable commit ddaa9117ed7e795f95d897b6dd07a604482ca60b Author: Matias Griese <matias@trilbymedia.com> Date: Wed Jan 23 10:11:26 2019 +0200 FlexUser: Fixed issue on avatar if the field isn't what is expected by default (an array) commit 8b23a47708106557c41fe497211e4dc3c7c1767e Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 22:03:47 2019 +0200 Added User::getAvatarMedia() method commit bb175341a5cb556c698481731fe73e9fa4b07643 Merge: bc9d60ca 5b0e2e40 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 21:44:18 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users # Conflicts: # system/src/Grav/Common/User/User.php commit bc9d60ca79888c1c7eb0087bc841f409a67017b0 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 21:25:19 2019 +0200 FlexUser: Fix extra parameter commit 93b4b03706e8440e8e7ccad473fc5595ac85b631 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 11:10:51 2019 +0200 FlexUser: Added support for avatar (or images in general) commit fcd5756d2747cc4126c03fc53c2bd1bd35f0e8dc Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 22 09:29:54 2019 +0200 Add `FormFlash::clearFiles()` method commit 9da3c566188fa3f68077292d82a68b793763dc6a Author: Matias Griese <matias@trilbymedia.com> Date: Mon Jan 21 20:57:07 2019 +0200 Added media support for User commit bb94022b709cebc73be4b3f010568b6504535aa2 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Jan 21 11:44:35 2019 +0200 Store users with unique ids commit 6a184c4011ed3ed90cec4d536ead067896a580aa Merge: 698a291c bd27d6fe Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 14:14:23 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users # Conflicts: # system/src/Grav/Common/User/User.php commit 698a291cc844605dd8e969784883207308bc3a5f Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 14:02:02 2019 +0200 Make sure that `authenticated` and `authorized` will not be saved into the file commit 59c7dd59af86c7e0feaf4a9fa3832bad8a85b631 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 13:09:43 2019 +0200 FlexUser: Fixed missing username in the object commit b139e5daaa67d51baa26222e6155b359ac5a17f5 Merge: 426dae47 254fe990 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 12:22:22 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users # Conflicts: # system/src/Grav/Common/User/User.php commit 426dae4731383bfd64f7e8e611f3721f58776feb Merge: f4ff6713 0afe9d4f Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 18 11:00:36 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit f4ff6713ac1c930b3f932b285c762552f99c79b0 Merge: eaab0b0a 751d1da7 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 11 13:04:04 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit eaab0b0ae9c50ca5995ea7aa769720fc647ec4c2 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 11 12:57:15 2019 +0200 Fixed merge conflict commit 531dd1a788a6496c228c56103d4512d39c4d7650 Merge: 3bd925d6 f0cf4ed8 Author: Matias Griese <matias@trilbymedia.com> Date: Fri Jan 11 12:50:46 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit 3bd925d61b96c12ea77cad19f4a9c01ba9afba8f Merge: a383fbac a224c8b3 Author: Matias Griese <matias@trilbymedia.com> Date: Tue Jan 8 18:37:22 2019 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/1.6-flex-users commit a383fbac0447d3226ee3a6109b99edca5210c5e5 Merge: 422e1f70 b38a143c Author: Matias Griese <matias@trilbymedia.com> Date: Tue Dec 4 15:32:39 2018 +0200 Merge branch '1.6' of https://github.com/getgrav/grav into feature/flex-users # Conflicts: # system/src/Grav/Common/Grav.php commit 422e1f7027389fd1727dac4e269309a33187ea69 Author: Matias Griese <matias@trilbymedia.com> Date: Mon Nov 26 19:57:28 2018 +0200 Implement Flex User classes
2019-02-07 14:36:07 -07:00
2020-01-21 10:02:29 +02:00
flex:
cache:
index:
enabled: true # Set to true to enable Flex index caching. Is used to cache timestamps in files
lifetime: 60 # Lifetime of cached index in seconds (0 = infinite)
object:
enabled: true # Set to true to enable Flex object caching. Is used to cache object data
lifetime: 600 # Lifetime of cached objects in seconds (0 = infinite)
render:
enabled: true # Set to true to enable Flex render caching. Is used to cache rendered output
lifetime: 600 # Lifetime of cached HTML in seconds (0 = infinite)
strict_mode:
yaml_compat: false # Set to true to enable YAML backwards compatibility
twig2_compat: false # Set to true to enable deprecated Twig settings (autoescape: false)
twig3_compat: true # Set to true to enable automatic fixes for Twig 3 syntax changes
blueprint_compat: false # Set to true to enable backward compatible strict support for blueprints