1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-30 00:10:31 +02:00

feat(core): updates for #586 #585 #584

This commit is contained in:
Awilum
2022-09-09 15:59:43 +03:00
parent 7de0b86eed
commit 7f443bea9b
55 changed files with 796 additions and 461 deletions

View File

@@ -18,13 +18,13 @@ locale: en_US
# Application Base url
#
# Define application base url
# Define application base url (without trailing slash)
base_url: ''
# Application Base Path
#
# Define application base path if application located in subdirectory
base_path: '/'
# Define application base path (without trailing and without starting slash) if application located in subdirectory
base_path: ''
# Valid date format
#
@@ -76,81 +76,11 @@ entries:
directory: 'entries'
cache:
string: ""
vars:
debug: false
expressions:
math:
enabled: true
class: "Flextype\\Entries\\Expressions\\MathExpression"
date:
enabled: true
class: "Flextype\\Entries\\Expressions\\DateExpression"
actions:
enabled: true
class: "Flextype\\Entries\\Expressions\\ActionsExpression"
registry:
enabled: true
class: "Flextype\\Entries\\Expressions\\RegistryExpression"
entries:
enabled: true
class: "Flextype\\Entries\\Expressions\\EntriesExpression"
fetch:
enabled: true
has:
enabled: true
registry:
enabled: true
create:
enabled: false
move:
enabled: false
update:
enabled: false
delete:
enabled: false
fetch:
enabled: true
class: "Flextype\\Entries\\Expressions\\FetchExpression"
filesystem:
enabled: true
class: "Flextype\\Entries\\Expressions\\FilesystemExpression"
i18n:
enabled: true
class: "Flextype\\Entries\\Expressions\\I18nExpression"
serializers:
enabled: true
class: "Flextype\\Entries\\Expressions\\SerializersExpression"
parsers:
enabled: true
class: "Flextype\\Entries\\Expressions\\ParsersExpression"
slugify:
enabled: true
class: "Flextype\\Entries\\Expressions\\SlugifyExpression"
strings:
enabled: true
class: "Flextype\\Entries\\Expressions\\StringsExpression"
collection:
enabled: true
class: "Flextype\\Entries\\Expressions\\CollectionExpression"
csrf:
enabled: true
class: "Flextype\\Entries\\Expressions\\CsrfExpression"
var:
enabled: true
class: "Flextype\\Entries\\Expressions\\VarExpression"
field:
enabled: true
class: "Flextype\\Entries\\Expressions\\FieldExpression"
const:
enabled: true
class: "Flextype\\Entries\\Expressions\\ConstExpression"
directives:
expressions:
enabled: true
enabled_globally: true
path: "src/flextype/core/Entries/Directives/ExpressionsDirective.php"
opening_tag: "[["
closing_tag: "]]"
shortcodes:
enabled: true
enabled_globally: true
@@ -172,9 +102,6 @@ entries:
path: "src/flextype/core/Entries/Directives/TypesDirective.php"
macros:
debug: false
vars:
enabled: true
path: "src/flextype/core/Entries/Macros/VarsMacros.php"
php:
enabled: true
path: "src/flextype/core/Entries/Macros/PhpMacros.php"
@@ -333,17 +260,6 @@ cache:
ssl_enabled: false
ssl_verify: false
default_ttl: 900
cookie:
aware_of_untrustable_data: false
limited_memory_by_object: 4096
default_ttl: 900
couchbase:
host: '127.0.0.1'
port: 8091
username: ''
password: ''
bucket_name: default
default_ttl: 900
couchdb:
database: 'flextype'
path: '/'
@@ -356,25 +272,20 @@ cache:
timeout: 10
default_ttl: 900
devnull: {}
devfalse: {}
devtrue: {}
phparray:
path: '/data'
security_key: 'auto'
htaccess: true
secure_file_manipulation: false
default_ttl: 900
files:
path: '/data'
security_key: 'auto'
htaccess: true
secure_file_manipulation: false
cache_file_extension: txt
default_ttl: 900
leveldb:
path: '/data'
security_key: 'auto'
htaccess: true
default_ttl: 900
memcache:
host: '127.0.0.1'
@@ -421,15 +332,9 @@ cache:
database: 0
opt_prefix: ''
default_ttl: 900
riak:
host: '127.0.0.1'
port: 8098
prefix: 'riak'
default_ttl: 900
sqlite:
path: '/data'
security_key: auto
htaccess: true
default_ttl: 900
ssdb:
host: 127.0.0.1
@@ -674,12 +579,12 @@ parsers:
path: "src/flextype/core/Parsers/Shortcodes/EntriesShortcode.php"
fetch:
enabled: true
php:
enabled: true
path: "src/flextype/core/Parsers/Shortcodes/PhpShortcode.php"
date:
enabled: true
path: "src/flextype/core/Parsers/Shortcodes/DateShortcode.php"
php:
enabled: true
path: "src/flextype/core/Parsers/Shortcodes/PhpShortcode.php"
raw:
enabled: true
path: "src/flextype/core/Parsers/Shortcodes/RawShortcode.php"
@@ -741,6 +646,85 @@ parsers:
type:
enabled: true
path: "src/flextype/core/Parsers/Shortcodes/TypeShortcode.php"
expressions:
cache:
enabled: true
string: ''
opening_variable_tag: "[["
closing_variable_tag: "]]"
opening_block_tag: "[%"
closing_block_tag: "%]"
opening_comment_tag: "[#"
closing_comment_tag: "#]"
expressions:
math:
enabled: true
class: "Flextype\\Parsers\\Expressions\\MathExpression"
date:
enabled: true
class: "Flextype\\Parsers\\Expressions\\DateExpression"
actions:
enabled: true
class: "Flextype\\Parsers\\Expressions\\ActionsExpression"
registry:
enabled: true
class: "Flextype\\Parsers\\Expressions\\RegistryExpression"
entries:
enabled: true
class: "Flextype\\Parsers\\Expressions\\EntriesExpression"
fetch:
enabled: true
has:
enabled: true
registry:
enabled: true
create:
enabled: false
move:
enabled: false
update:
enabled: false
delete:
enabled: false
fetch:
enabled: true
class: "Flextype\\Parsers\\Expressions\\FetchExpression"
filesystem:
enabled: true
class: "Flextype\\Parsers\\Expressions\\FilesystemExpression"
i18n:
enabled: true
class: "Flextype\\Parsers\\Expressions\\I18nExpression"
serializers:
enabled: true
class: "Flextype\\Parsers\\Expressions\\SerializersExpression"
parsers:
enabled: true
class: "Flextype\\Parsers\\Expressions\\ParsersExpression"
slugify:
enabled: true
class: "Flextype\\Parsers\\Expressions\\SlugifyExpression"
strings:
enabled: true
class: "Flextype\\Parsers\\Expressions\\StringsExpression"
collection:
enabled: true
class: "Flextype\\Parsers\\Expressions\\CollectionExpression"
csrf:
enabled: true
class: "Flextype\\Parsers\\Expressions\\CsrfExpression"
field:
enabled: true
class: "Flextype\\Parsers\\Expressions\\FieldExpression"
var:
enabled: true
class: "Flextype\\Parsers\\Expressions\\VarExpression"
const:
enabled: true
class: "Flextype\\Parsers\\Expressions\\ConstExpression"
url:
enabled: true
class: "Flextype\\Parsers\\Expressions\\UrlExpression"
# CORS
#