system.yaml 52 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722
  1. title: PLUGIN_ADMIN.SYSTEM
  2. form:
  3. validation: loose
  4. fields:
  5. system_tabs:
  6. type: tabs
  7. classes: side-tabs
  8. fields:
  9. content:
  10. type: tab
  11. title: PLUGIN_ADMIN.CONTENT
  12. fields:
  13. content_section:
  14. type: section
  15. title: PLUGIN_ADMIN.CONTENT
  16. underline: true
  17. home.alias:
  18. type: pages
  19. size: large
  20. classes: fancy
  21. label: PLUGIN_ADMIN.HOME_PAGE
  22. show_all: false
  23. show_modular: false
  24. show_root: false
  25. show_slug: true
  26. help: PLUGIN_ADMIN.HOME_PAGE_HELP
  27. home.hide_in_urls:
  28. type: toggle
  29. label: PLUGIN_ADMIN.HIDE_HOME_IN_URLS
  30. help: PLUGIN_ADMIN.HIDE_HOME_IN_URLS_HELP
  31. highlight: 0
  32. options:
  33. 1: PLUGIN_ADMIN.YES
  34. 0: PLUGIN_ADMIN.NO
  35. validate:
  36. type: bool
  37. pages.theme:
  38. type: themeselect
  39. classes: fancy
  40. selectize: true
  41. size: medium
  42. label: PLUGIN_ADMIN.DEFAULT_THEME
  43. help: PLUGIN_ADMIN.DEFAULT_THEME_HELP
  44. pages.process:
  45. type: checkboxes
  46. label: PLUGIN_ADMIN.PROCESS
  47. help: PLUGIN_ADMIN.PROCESS_HELP
  48. default: [markdown: true, twig: true]
  49. options:
  50. markdown: Markdown
  51. twig: Twig
  52. use: keys
  53. pages.types:
  54. type: array
  55. label: PLUGIN_ADMIN.PAGE_TYPES
  56. help: PLUGIN_ADMIN.PAGE_TYPES_HELP
  57. size: small
  58. default: ['html','htm','json','xml','txt','rss','atom']
  59. value_only: true
  60. timezone:
  61. type: select
  62. label: PLUGIN_ADMIN.TIMEZONE
  63. size: medium
  64. classes: fancy
  65. help: PLUGIN_ADMIN.TIMEZONE_HELP
  66. data-options@: '\Grav\Common\Utils::timezones'
  67. default: ''
  68. options:
  69. '': 'Default (Server Timezone)'
  70. pages.dateformat.default:
  71. type: select
  72. size: medium
  73. selectize:
  74. create: true
  75. label: PLUGIN_ADMIN.DEFAULT_DATE_FORMAT
  76. help: PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_HELP
  77. placeholder: PLUGIN_ADMIN.DEFAULT_DATE_FORMAT_PLACEHOLDER
  78. data-options@: '\Grav\Common\Utils::dateFormats'
  79. validate:
  80. type: string
  81. pages.dateformat.short:
  82. type: dateformat
  83. size: medium
  84. classes: fancy
  85. label: PLUGIN_ADMIN.SHORT_DATE_FORMAT
  86. help: PLUGIN_ADMIN.SHORT_DATE_FORMAT_HELP
  87. default: "jS M Y"
  88. options:
  89. "F jS \\a\\t g:ia": Date1
  90. "l jS \\of F g:i A": Date2
  91. "D, d M Y G:i:s": Date3
  92. "d-m-y G:i": Date4
  93. "jS M Y": Date5
  94. pages.dateformat.long:
  95. type: dateformat
  96. size: medium
  97. classes: fancy
  98. label: PLUGIN_ADMIN.LONG_DATE_FORMAT
  99. help: PLUGIN_ADMIN.LONG_DATE_FORMAT_HELP
  100. options:
  101. "F jS \\a\\t g:ia": Date1
  102. "l jS \\of F g:i A": Date2
  103. "D, d M Y G:i:s": Date3
  104. "d-m-y G:i": Date4
  105. "jS M Y": Date5
  106. pages.order.by:
  107. type: select
  108. size: large
  109. classes: fancy
  110. label: PLUGIN_ADMIN.DEFAULT_ORDERING
  111. help: PLUGIN_ADMIN.DEFAULT_ORDERING_HELP
  112. options:
  113. default: PLUGIN_ADMIN.DEFAULT_ORDERING_DEFAULT
  114. folder: PLUGIN_ADMIN.DEFAULT_ORDERING_FOLDER
  115. title: PLUGIN_ADMIN.DEFAULT_ORDERING_TITLE
  116. date: PLUGIN_ADMIN.DEFAULT_ORDERING_DATE
  117. pages.order.dir:
  118. type: toggle
  119. label: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION
  120. highlight: asc
  121. default: desc
  122. help: PLUGIN_ADMIN.DEFAULT_ORDER_DIRECTION_HELP
  123. options:
  124. asc: PLUGIN_ADMIN.ASCENDING
  125. desc: PLUGIN_ADMIN.DESCENDING
  126. pages.list.count:
  127. type: text
  128. size: x-small
  129. append: PLUGIN_ADMIN.PAGES
  130. label: PLUGIN_ADMIN.DEFAULT_PAGE_COUNT
  131. help: PLUGIN_ADMIN.DEFAULT_PAGE_COUNT_HELP
  132. validate:
  133. type: number
  134. min: 1
  135. pages.publish_dates:
  136. type: toggle
  137. label: PLUGIN_ADMIN.DATE_BASED_PUBLISHING
  138. help: PLUGIN_ADMIN.DATE_BASED_PUBLISHING_HELP
  139. highlight: 1
  140. options:
  141. 1: PLUGIN_ADMIN.YES
  142. 0: PLUGIN_ADMIN.NO
  143. validate:
  144. type: bool
  145. pages.events:
  146. type: checkboxes
  147. label: PLUGIN_ADMIN.EVENTS
  148. help: PLUGIN_ADMIN.EVENTS_HELP
  149. default: [page: true, twig: true]
  150. options:
  151. page: Page Events
  152. twig: Twig Events
  153. use: keys
  154. pages.append_url_extension:
  155. type: text
  156. size: x-small
  157. placeholder: "e.g. .html"
  158. label: PLUGIN_ADMIN.APPEND_URL_EXT
  159. help: PLUGIN_ADMIN.APPEND_URL_EXT_HELP
  160. pages.redirect_default_code:
  161. type: select
  162. size: medium
  163. classes: fancy
  164. label: PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE
  165. help: PLUGIN_ADMIN.REDIRECT_DEFAULT_CODE_HELP
  166. default: 302
  167. options:
  168. 301: PLUGIN_ADMIN.REDIRECT_OPTION_301
  169. 302: PLUGIN_ADMIN.REDIRECT_OPTION_302
  170. 303: PLUGIN_ADMIN.REDIRECT_OPTION_303
  171. pages.redirect_default_route:
  172. type: select
  173. size: medium
  174. classes: fancy
  175. label: PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE
  176. help: PLUGIN_ADMIN.REDIRECT_DEFAULT_ROUTE_HELP
  177. default: 0
  178. options:
  179. 0: PLUGIN_ADMIN.REDIRECT_OPTION_NO_REDIRECT
  180. 1: PLUGIN_ADMIN.REDIRECT_OPTION_DEFAULT_REDIRECT
  181. 301: PLUGIN_ADMIN.REDIRECT_OPTION_301
  182. 302: PLUGIN_ADMIN.REDIRECT_OPTION_302
  183. validate:
  184. type: int
  185. pages.redirect_trailing_slash:
  186. type: select
  187. size: medium
  188. classes: fancy
  189. label: PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH
  190. help: PLUGIN_ADMIN.REDIRECT_TRAILING_SLASH_HELP
  191. default: 1
  192. options:
  193. 0: PLUGIN_ADMIN.REDIRECT_OPTION_NO_REDIRECT
  194. 1: PLUGIN_ADMIN.REDIRECT_OPTION_DEFAULT_REDIRECT
  195. 301: PLUGIN_ADMIN.REDIRECT_OPTION_301
  196. 302: PLUGIN_ADMIN.REDIRECT_OPTION_302
  197. validate:
  198. type: int
  199. pages.ignore_hidden:
  200. type: toggle
  201. label: PLUGIN_ADMIN.IGNORE_HIDDEN
  202. help: PLUGIN_ADMIN.IGNORE_HIDDEN_HELP
  203. highlight: 1
  204. options:
  205. 1: PLUGIN_ADMIN.YES
  206. 0: PLUGIN_ADMIN.NO
  207. validate:
  208. type: bool
  209. pages.ignore_files:
  210. type: selectize
  211. size: large
  212. label: PLUGIN_ADMIN.IGNORE_FILES
  213. help: PLUGIN_ADMIN.IGNORE_FILES_HELP
  214. classes: fancy
  215. validate:
  216. type: commalist
  217. pages.ignore_folders:
  218. type: selectize
  219. size: large
  220. label: PLUGIN_ADMIN.IGNORE_FOLDERS
  221. help: PLUGIN_ADMIN.IGNORE_FOLDERS_HELP
  222. classes: fancy
  223. validate:
  224. type: commalist
  225. pages.hide_empty_folders:
  226. type: toggle
  227. label: PLUGIN_ADMIN.HIDE_EMPTY_FOLDERS
  228. help: PLUGIN_ADMIN.HIDE_EMPTY_FOLDERS_HELP
  229. highlight: 0
  230. options:
  231. 1: PLUGIN_ADMIN.YES
  232. 0: PLUGIN_ADMIN.NO
  233. validate:
  234. type: bool
  235. pages.url_taxonomy_filters:
  236. type: toggle
  237. label: PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS
  238. help: PLUGIN_ADMIN.ALLOW_URL_TAXONOMY_FILTERS_HELP
  239. highlight: 1
  240. options:
  241. 1: PLUGIN_ADMIN.YES
  242. 0: PLUGIN_ADMIN.NO
  243. validate:
  244. type: bool
  245. pages.twig_first:
  246. type: toggle
  247. label: PLUGIN_ADMIN.TWIG_FIRST
  248. help: PLUGIN_ADMIN.TWIG_FIRST_HELP
  249. highlight: 0
  250. options:
  251. 1: PLUGIN_ADMIN.YES
  252. 0: PLUGIN_ADMIN.NO
  253. validate:
  254. type: bool
  255. pages.never_cache_twig:
  256. type: toggle
  257. label: PLUGIN_ADMIN.NEVER_CACHE_TWIG
  258. help: PLUGIN_ADMIN.NEVER_CACHE_TWIG_HELP
  259. highlight: 0
  260. options:
  261. 1: PLUGIN_ADMIN.YES
  262. 0: PLUGIN_ADMIN.NO
  263. validate:
  264. type: bool
  265. pages.frontmatter.process_twig:
  266. type: toggle
  267. label: PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG
  268. help: PLUGIN_ADMIN.FRONTMATTER_PROCESS_TWIG_HELP
  269. highlight: 0
  270. options:
  271. 1: PLUGIN_ADMIN.YES
  272. 0: PLUGIN_ADMIN.NO
  273. validate:
  274. type: bool
  275. pages.frontmatter.ignore_fields:
  276. type: selectize
  277. size: large
  278. placeholder: "e.g. forms"
  279. label: PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS
  280. help: PLUGIN_ADMIN.FRONTMATTER_IGNORE_FIELDS_HELP
  281. classes: fancy
  282. validate:
  283. type: commalist
  284. languages:
  285. type: tab
  286. title: PLUGIN_ADMIN.LANGUAGES
  287. fields:
  288. languages-section:
  289. type: section
  290. title: PLUGIN_ADMIN.LANGUAGES
  291. underline: true
  292. languages.supported:
  293. type: selectize
  294. size: large
  295. placeholder: "e.g. en, fr"
  296. label: PLUGIN_ADMIN.SUPPORTED
  297. help: PLUGIN_ADMIN.SUPPORTED_HELP
  298. classes: fancy
  299. validate:
  300. type: commalist
  301. languages.default_lang:
  302. type: text
  303. size: x-small
  304. label: PLUGIN_ADMIN.DEFAULT_LANG
  305. help: PLUGIN_ADMIN.DEFAULT_LANG_HELP
  306. languages.include_default_lang:
  307. type: toggle
  308. label: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG
  309. help: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_HELP
  310. highlight: 1
  311. options:
  312. 1: PLUGIN_ADMIN.YES
  313. 0: PLUGIN_ADMIN.NO
  314. validate:
  315. type: bool
  316. languages.include_default_lang_file_extension:
  317. type: toggle
  318. label: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_FILE_EXTENSION
  319. help: PLUGIN_ADMIN.INCLUDE_DEFAULT_LANG_HELP_FILE_EXTENSION
  320. highlight: 1
  321. options:
  322. 1: PLUGIN_ADMIN.YES
  323. 0: PLUGIN_ADMIN.NO
  324. validate:
  325. type: bool
  326. languages.content_fallback:
  327. type: list
  328. label: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACKS
  329. help: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACKS_HELP
  330. fields:
  331. key:
  332. type: key
  333. label: PLUGIN_ADMIN.LANGUAGE
  334. help: PLUGIN_ADMIN.CONTENT_FALLBACK_LANGUAGE_HELP
  335. placeholder: fr-ca
  336. value:
  337. type: selectize
  338. size: large
  339. placeholder: "fr, en"
  340. label: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACK
  341. help: PLUGIN_ADMIN.CONTENT_LANGUAGE_FALLBACK_HELP
  342. classes: fancy
  343. # TODO: does not work.
  344. # validate:
  345. # type: commalist
  346. languages.pages_fallback_only:
  347. type: toggle
  348. label: PLUGIN_ADMIN.PAGES_FALLBACK_ONLY
  349. help: PLUGIN_ADMIN.PAGES_FALLBACK_ONLY_HELP
  350. highlight: 0
  351. options:
  352. 1: PLUGIN_ADMIN.YES
  353. 0: PLUGIN_ADMIN.NO
  354. validate:
  355. type: bool
  356. languages.translations:
  357. type: toggle
  358. label: PLUGIN_ADMIN.LANGUAGE_TRANSLATIONS
  359. help: PLUGIN_ADMIN.LANGUAGE_TRANSLATIONS_HELP
  360. highlight: 1
  361. options:
  362. 1: PLUGIN_ADMIN.YES
  363. 0: PLUGIN_ADMIN.NO
  364. validate:
  365. type: bool
  366. languages.translations_fallback:
  367. type: toggle
  368. label: PLUGIN_ADMIN.TRANSLATIONS_FALLBACK
  369. help: PLUGIN_ADMIN.TRANSLATIONS_FALLBACK_HELP
  370. highlight: 1
  371. options:
  372. 1: PLUGIN_ADMIN.YES
  373. 0: PLUGIN_ADMIN.NO
  374. validate:
  375. type: bool
  376. languages.session_store_active:
  377. type: toggle
  378. label: PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION
  379. help: PLUGIN_ADMIN.ACTIVE_LANGUAGE_IN_SESSION_HELP
  380. highlight: 0
  381. options:
  382. 1: PLUGIN_ADMIN.YES
  383. 0: PLUGIN_ADMIN.NO
  384. validate:
  385. type: bool
  386. languages.http_accept_language:
  387. type: toggle
  388. label: PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE
  389. help: PLUGIN_ADMIN.HTTP_ACCEPT_LANGUAGE_HELP
  390. highlight: 0
  391. options:
  392. 1: PLUGIN_ADMIN.YES
  393. 0: PLUGIN_ADMIN.NO
  394. validate:
  395. type: bool
  396. languages.override_locale:
  397. type: toggle
  398. label: PLUGIN_ADMIN.OVERRIDE_LOCALE
  399. help: PLUGIN_ADMIN.OVERRIDE_LOCALE_HELP
  400. highlight: 0
  401. options:
  402. 1: PLUGIN_ADMIN.YES
  403. 0: PLUGIN_ADMIN.NO
  404. validate:
  405. type: bool
  406. http_headers:
  407. type: tab
  408. title: PLUGIN_ADMIN.HTTP_HEADERS
  409. fields:
  410. http_headers_section:
  411. type: section
  412. title: PLUGIN_ADMIN.HTTP_HEADERS
  413. underline: true
  414. pages.expires:
  415. type: text
  416. size: x-small
  417. append: GRAV.NICETIME.SECOND_PLURAL
  418. label: PLUGIN_ADMIN.EXPIRES
  419. help: PLUGIN_ADMIN.EXPIRES_HELP
  420. validate:
  421. type: number
  422. min: 1
  423. pages.cache_control:
  424. type: text
  425. size: medium
  426. label: PLUGIN_ADMIN.CACHE_CONTROL
  427. help: PLUGIN_ADMIN.CACHE_CONTROL_HELP
  428. placeholder: 'e.g. public, max-age=31536000'
  429. pages.last_modified:
  430. type: toggle
  431. label: PLUGIN_ADMIN.LAST_MODIFIED
  432. help: PLUGIN_ADMIN.LAST_MODIFIED_HELP
  433. highlight: 0
  434. options:
  435. 1: PLUGIN_ADMIN.YES
  436. 0: PLUGIN_ADMIN.NO
  437. validate:
  438. type: bool
  439. pages.etag:
  440. type: toggle
  441. label: PLUGIN_ADMIN.ETAG
  442. help: PLUGIN_ADMIN.ETAG_HELP
  443. highlight: 0
  444. options:
  445. 1: PLUGIN_ADMIN.YES
  446. 0: PLUGIN_ADMIN.NO
  447. validate:
  448. type: bool
  449. pages.vary_accept_encoding:
  450. type: toggle
  451. label: PLUGIN_ADMIN.VARY_ACCEPT_ENCODING
  452. help: PLUGIN_ADMIN.VARY_ACCEPT_ENCODING_HELP
  453. highlight: 0
  454. options:
  455. 1: PLUGIN_ADMIN.YES
  456. 0: PLUGIN_ADMIN.NO
  457. validate:
  458. type: bool
  459. markdown:
  460. type: tab
  461. title: PLUGIN_ADMIN.MARKDOWN
  462. fields:
  463. markdow_section:
  464. type: section
  465. title: PLUGIN_ADMIN.MARKDOWN
  466. underline: true
  467. pages.markdown.extra:
  468. type: toggle
  469. label: Markdown extra
  470. help: PLUGIN_ADMIN.MARKDOWN_EXTRA_HELP
  471. highlight: 0
  472. options:
  473. 1: PLUGIN_ADMIN.YES
  474. 0: PLUGIN_ADMIN.NO
  475. validate:
  476. type: bool
  477. pages.markdown.auto_line_breaks:
  478. type: toggle
  479. label: PLUGIN_ADMIN.AUTO_LINE_BREAKS
  480. help: PLUGIN_ADMIN.AUTO_LINE_BREAKS_HELP
  481. highlight: 0
  482. options:
  483. 1: PLUGIN_ADMIN.YES
  484. 0: PLUGIN_ADMIN.NO
  485. validate:
  486. type: bool
  487. pages.markdown.auto_url_links:
  488. type: toggle
  489. label: PLUGIN_ADMIN.AUTO_URL_LINKS
  490. help: PLUGIN_ADMIN.AUTO_URL_LINKS_HELP
  491. highlight: 0
  492. options:
  493. 1: PLUGIN_ADMIN.YES
  494. 0: PLUGIN_ADMIN.NO
  495. validate:
  496. type: bool
  497. pages.markdown.escape_markup:
  498. type: toggle
  499. label: PLUGIN_ADMIN.ESCAPE_MARKUP
  500. help: PLUGIN_ADMIN.ESCAPE_MARKUP_HELP
  501. highlight: 0
  502. options:
  503. 1: PLUGIN_ADMIN.YES
  504. 0: PLUGIN_ADMIN.NO
  505. validate:
  506. type: bool
  507. pages.markdown.valid_link_attributes:
  508. type: selectize
  509. size: large
  510. label: PLUGIN_ADMIN.VALID_LINK_ATTRIBUTES
  511. help: PLUGIN_ADMIN.VALID_LINK_ATTRIBUTES_HELP
  512. placeholder: "rel, target, id, class, classes"
  513. classes: fancy
  514. validate:
  515. type: commalist
  516. caching:
  517. type: tab
  518. title: PLUGIN_ADMIN.CACHING
  519. fields:
  520. caching_section:
  521. type: section
  522. title: PLUGIN_ADMIN.CACHING
  523. underline: true
  524. cache.enabled:
  525. type: toggle
  526. label: PLUGIN_ADMIN.CACHING
  527. help: PLUGIN_ADMIN.CACHING_HELP
  528. highlight: 1
  529. options:
  530. 1: PLUGIN_ADMIN.YES
  531. 0: PLUGIN_ADMIN.NO
  532. validate:
  533. type: bool
  534. cache.check.method:
  535. type: select
  536. size: medium
  537. classes: fancy
  538. label: PLUGIN_ADMIN.CACHE_CHECK_METHOD
  539. help: PLUGIN_ADMIN.CACHE_CHECK_METHOD_HELP
  540. options:
  541. file: Markdown + Yaml file timestamps
  542. folder: Folder timestamps
  543. hash: All files timestamps
  544. none: No timestamp checking
  545. cache.driver:
  546. type: select
  547. size: small
  548. classes: fancy
  549. label: PLUGIN_ADMIN.CACHE_DRIVER
  550. help: PLUGIN_ADMIN.CACHE_DRIVER_HELP
  551. options:
  552. auto: Auto detect
  553. file: File
  554. apc: APC
  555. apcu: APCu
  556. xcache: Xcache
  557. memcache: Memcache
  558. memcached: Memcached
  559. wincache: WinCache
  560. redis: Redis
  561. cache.prefix:
  562. type: text
  563. size: x-small
  564. label: PLUGIN_ADMIN.CACHE_PREFIX
  565. help: PLUGIN_ADMIN.CACHE_PREFIX_HELP
  566. placeholder: PLUGIN_ADMIN.CACHE_PREFIX_PLACEHOLDER
  567. cache.purge_at:
  568. type: cron
  569. label: PLUGIN_ADMIN.CACHE_PURGE_JOB
  570. help: PLUGIN_ADMIN.CACHE_PURGE_JOB_HELP
  571. default: '* 4 * * *'
  572. cache.clear_at:
  573. type: cron
  574. label: PLUGIN_ADMIN.CACHE_CLEAR_JOB
  575. help: PLUGIN_ADMIN.CACHE_CLEAR_JOB_HELP
  576. default: '* 3 * * *'
  577. cache.clear_job_type:
  578. type: select
  579. size: medium
  580. label: PLUGIN_ADMIN.CACHE_JOB_TYPE
  581. help: PLUGIN_ADMIN.CACHE_JOB_TYPE_HELP
  582. options:
  583. standard: Standard Cache Folders
  584. all: All Cache Folders
  585. cache.clear_images_by_default:
  586. type: toggle
  587. label: PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT
  588. help: PLUGIN_ADMIN.CLEAR_IMAGES_BY_DEFAULT_HELP
  589. highlight: 1
  590. options:
  591. 1: PLUGIN_ADMIN.YES
  592. 0: PLUGIN_ADMIN.NO
  593. validate:
  594. type: bool
  595. cache.cli_compatibility:
  596. type: toggle
  597. label: PLUGIN_ADMIN.CLI_COMPATIBILITY
  598. help: PLUGIN_ADMIN.CLI_COMPATIBILITY_HELP
  599. highlight: 0
  600. options:
  601. 1: PLUGIN_ADMIN.YES
  602. 0: PLUGIN_ADMIN.NO
  603. validate:
  604. type: bool
  605. cache.lifetime:
  606. type: text
  607. size: small
  608. append: GRAV.NICETIME.SECOND_PLURAL
  609. label: PLUGIN_ADMIN.LIFETIME
  610. help: PLUGIN_ADMIN.LIFETIME_HELP
  611. validate:
  612. type: number
  613. cache.gzip:
  614. type: toggle
  615. label: PLUGIN_ADMIN.GZIP_COMPRESSION
  616. help: PLUGIN_ADMIN.GZIP_COMPRESSION_HELP
  617. highlight: 0
  618. options:
  619. 1: PLUGIN_ADMIN.YES
  620. 0: PLUGIN_ADMIN.NO
  621. validate:
  622. type: bool
  623. cache.allow_webserver_gzip:
  624. type: toggle
  625. label: PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP
  626. help: PLUGIN_ADMIN.ALLOW_WEBSERVER_GZIP_HELP
  627. highlight: 0
  628. options:
  629. 1: PLUGIN_ADMIN.YES
  630. 0: PLUGIN_ADMIN.NO
  631. validate:
  632. type: bool
  633. cache.memcache.server:
  634. type: text
  635. size: medium
  636. label: PLUGIN_ADMIN.MEMCACHE_SERVER
  637. help: PLUGIN_ADMIN.MEMCACHE_SERVER_HELP
  638. placeholder: "localhost"
  639. cache.memcache.port:
  640. type: text
  641. size: small
  642. label: PLUGIN_ADMIN.MEMCACHE_PORT
  643. help: PLUGIN_ADMIN.MEMCACHE_PORT_HELP
  644. placeholder: "11211"
  645. cache.memcached.server:
  646. type: text
  647. size: medium
  648. label: PLUGIN_ADMIN.MEMCACHED_SERVER
  649. help: PLUGIN_ADMIN.MEMCACHED_SERVER_HELP
  650. placeholder: "localhost"
  651. cache.memcached.port:
  652. type: text
  653. size: small
  654. label: PLUGIN_ADMIN.MEMCACHED_PORT
  655. help: PLUGIN_ADMIN.MEMCACHED_PORT_HELP
  656. placeholder: "11211"
  657. cache.redis.socket:
  658. type: text
  659. size: medium
  660. label: PLUGIN_ADMIN.REDIS_SOCKET
  661. help: PLUGIN_ADMIN.REDIS_SOCKET_HELP
  662. placeholder: "/var/run/redis/redis.sock"
  663. cache.redis.server:
  664. type: text
  665. size: medium
  666. label: PLUGIN_ADMIN.REDIS_SERVER
  667. help: PLUGIN_ADMIN.REDIS_SERVER_HELP
  668. placeholder: "localhost"
  669. cache.redis.port:
  670. type: text
  671. size: small
  672. label: PLUGIN_ADMIN.REDIS_PORT
  673. help: PLUGIN_ADMIN.REDIS_PORT_HELP
  674. placeholder: "6379"
  675. cache.redis.password:
  676. type: text
  677. size: small
  678. label: PLUGIN_ADMIN.REDIS_PASSWORD
  679. cache.redis.database:
  680. type: text
  681. size: medium
  682. label: PLUGIN_ADMIN.REDIS_DATABASE
  683. help: PLUGIN_ADMIN.REDIS_DATABASE_HELP
  684. placeholder: "0"
  685. validate:
  686. type: number
  687. min: 0
  688. flex_caching:
  689. type: section
  690. title: PLUGIN_ADMIN.FLEX_CACHING
  691. flex.cache.index.enabled:
  692. type: toggle
  693. label: PLUGIN_ADMIN.FLEX_INDEX_CACHE_ENABLED
  694. highlight: 1
  695. default: 1
  696. options:
  697. 1: PLUGIN_ADMIN.ENABLED
  698. 0: PLUGIN_ADMIN.DISABLED
  699. validate:
  700. type: bool
  701. flex.cache.index.lifetime:
  702. type: text
  703. label: PLUGIN_ADMIN.FLEX_INDEX_CACHE_LIFETIME
  704. default: 60
  705. validate:
  706. type: int
  707. flex.cache.object.enabled:
  708. type: toggle
  709. label: PLUGIN_ADMIN.FLEX_OBJECT_CACHE_ENABLED
  710. highlight: 1
  711. default: 1
  712. options:
  713. 1: PLUGIN_ADMIN.ENABLED
  714. 0: PLUGIN_ADMIN.DISABLED
  715. validate:
  716. type: bool
  717. flex.cache.object.lifetime:
  718. type: text
  719. label: PLUGIN_ADMIN.FLEX_OBJECT_CACHE_LIFETIME
  720. default: 600
  721. validate:
  722. type: int
  723. flex.cache.render.enabled:
  724. type: toggle
  725. label: PLUGIN_ADMIN.FLEX_RENDER_CACHE_ENABLED
  726. highlight: 1
  727. default: 1
  728. options:
  729. 1: PLUGIN_ADMIN.ENABLED
  730. 0: PLUGIN_ADMIN.DISABLED
  731. validate:
  732. type: bool
  733. flex.cache.render.lifetime:
  734. type: text
  735. label: PLUGIN_ADMIN.FLEX_RENDER_CACHE_LIFETIME
  736. default: 600
  737. validate:
  738. type: int
  739. twig:
  740. type: tab
  741. title: PLUGIN_ADMIN.TWIG_TEMPLATING
  742. fields:
  743. twig_section:
  744. type: section
  745. title: PLUGIN_ADMIN.TWIG_TEMPLATING
  746. underline: true
  747. twig.cache:
  748. type: toggle
  749. label: PLUGIN_ADMIN.TWIG_CACHING
  750. help: PLUGIN_ADMIN.TWIG_CACHING_HELP
  751. highlight: 1
  752. options:
  753. 1: PLUGIN_ADMIN.YES
  754. 0: PLUGIN_ADMIN.NO
  755. validate:
  756. type: bool
  757. twig.debug:
  758. type: toggle
  759. label: PLUGIN_ADMIN.TWIG_DEBUG
  760. help: PLUGIN_ADMIN.TWIG_DEBUG_HELP
  761. highlight: 1
  762. options:
  763. 1: PLUGIN_ADMIN.YES
  764. 0: PLUGIN_ADMIN.NO
  765. validate:
  766. type: bool
  767. twig.auto_reload:
  768. type: toggle
  769. label: PLUGIN_ADMIN.DETECT_CHANGES
  770. help: PLUGIN_ADMIN.DETECT_CHANGES_HELP
  771. highlight: 1
  772. options:
  773. 1: PLUGIN_ADMIN.YES
  774. 0: PLUGIN_ADMIN.NO
  775. validate:
  776. type: bool
  777. twig.autoescape:
  778. type: toggle
  779. label: PLUGIN_ADMIN.AUTOESCAPE_VARIABLES
  780. help: PLUGIN_ADMIN.AUTOESCAPE_VARIABLES_HELP
  781. highlight: 1
  782. default: 1
  783. options:
  784. 1: PLUGIN_ADMIN.YES
  785. 0: PLUGIN_ADMIN.NO
  786. validate:
  787. type: bool
  788. twig.umask_fix:
  789. type: toggle
  790. label: PLUGIN_ADMIN.TWIG_UMASK_FIX
  791. help: PLUGIN_ADMIN.TWIG_UMASK_FIX_HELP
  792. highlight: 0
  793. options:
  794. 1: PLUGIN_ADMIN.YES
  795. 0: PLUGIN_ADMIN.NO
  796. validate:
  797. type: bool
  798. assets:
  799. type: tab
  800. title: PLUGIN_ADMIN.ASSETS
  801. fields:
  802. assets_section:
  803. type: section
  804. title: PLUGIN_ADMIN.ASSETS
  805. underline: true
  806. assets.css_pipeline:
  807. type: toggle
  808. label: PLUGIN_ADMIN.CSS_PIPELINE
  809. help: PLUGIN_ADMIN.CSS_PIPELINE_HELP
  810. highlight: 0
  811. options:
  812. 1: PLUGIN_ADMIN.YES
  813. 0: PLUGIN_ADMIN.NO
  814. validate:
  815. type: bool
  816. assets.css_pipeline_include_externals:
  817. type: toggle
  818. label: PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS
  819. help: PLUGIN_ADMIN.CSS_PIPELINE_INCLUDE_EXTERNALS_HELP
  820. highlight: 1
  821. options:
  822. 1: PLUGIN_ADMIN.YES
  823. 0: PLUGIN_ADMIN.NO
  824. validate:
  825. type: bool
  826. assets.css_pipeline_before_excludes:
  827. type: toggle
  828. label: PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES
  829. help: PLUGIN_ADMIN.CSS_PIPELINE_BEFORE_EXCLUDES_HELP
  830. highlight: 1
  831. options:
  832. 1: PLUGIN_ADMIN.YES
  833. 0: PLUGIN_ADMIN.NO
  834. validate:
  835. type: bool
  836. assets.css_minify:
  837. type: toggle
  838. label: PLUGIN_ADMIN.CSS_MINIFY
  839. help: PLUGIN_ADMIN.CSS_MINIFY_HELP
  840. highlight: 1
  841. options:
  842. 1: PLUGIN_ADMIN.YES
  843. 0: PLUGIN_ADMIN.NO
  844. validate:
  845. type: bool
  846. assets.css_minify_windows:
  847. type: toggle
  848. label: PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE
  849. help: PLUGIN_ADMIN.CSS_MINIFY_WINDOWS_OVERRIDE_HELP
  850. highlight: 0
  851. options:
  852. 1: PLUGIN_ADMIN.YES
  853. 0: PLUGIN_ADMIN.NO
  854. validate:
  855. type: bool
  856. assets.css_rewrite:
  857. type: toggle
  858. label: PLUGIN_ADMIN.CSS_REWRITE
  859. help: PLUGIN_ADMIN.CSS_REWRITE_HELP
  860. highlight: 1
  861. options:
  862. 1: PLUGIN_ADMIN.YES
  863. 0: PLUGIN_ADMIN.NO
  864. validate:
  865. type: bool
  866. assets.js_pipeline:
  867. type: toggle
  868. label: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE
  869. help: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_HELP
  870. highlight: 0
  871. options:
  872. 1: PLUGIN_ADMIN.YES
  873. 0: PLUGIN_ADMIN.NO
  874. validate:
  875. type: bool
  876. assets.js_pipeline_include_externals:
  877. type: toggle
  878. label: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS
  879. help: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_INCLUDE_EXTERNALS_HELP
  880. highlight: 1
  881. options:
  882. 1: PLUGIN_ADMIN.YES
  883. 0: PLUGIN_ADMIN.NO
  884. validate:
  885. type: bool
  886. assets.js_pipeline_before_excludes:
  887. type: toggle
  888. label: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES
  889. help: PLUGIN_ADMIN.JAVASCRIPT_PIPELINE_BEFORE_EXCLUDES_HELP
  890. highlight: 1
  891. options:
  892. 1: PLUGIN_ADMIN.YES
  893. 0: PLUGIN_ADMIN.NO
  894. validate:
  895. type: bool
  896. assets.js_minify:
  897. type: toggle
  898. label: PLUGIN_ADMIN.JAVASCRIPT_MINIFY
  899. help: PLUGIN_ADMIN.JAVASCRIPT_MINIFY_HELP
  900. highlight: 1
  901. options:
  902. 1: PLUGIN_ADMIN.YES
  903. 0: PLUGIN_ADMIN.NO
  904. validate:
  905. type: bool
  906. assets.enable_asset_timestamp:
  907. type: toggle
  908. label: PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS
  909. help: PLUGIN_ADMIN.ENABLED_TIMESTAMPS_ON_ASSETS_HELP
  910. highlight: 0
  911. options:
  912. 1: PLUGIN_ADMIN.YES
  913. 0: PLUGIN_ADMIN.NO
  914. validate:
  915. type: bool
  916. assets.enable_asset_sri:
  917. type: toggle
  918. label: PLUGIN_ADMIN.ENABLED_SRI_ON_ASSETS
  919. help: PLUGIN_ADMIN.ENABLED_SRI_ON_ASSETS_HELP
  920. highlight: 0
  921. options:
  922. 1: PLUGIN_ADMIN.YES
  923. 0: PLUGIN_ADMIN.NO
  924. validate:
  925. type: bool
  926. assets.collections:
  927. type: multilevel
  928. label: PLUGIN_ADMIN.COLLECTIONS
  929. placeholder_key: collection_name
  930. placeholder_value: collection_path
  931. validate:
  932. type: array
  933. errors:
  934. type: tab
  935. title: PLUGIN_ADMIN.ERROR_HANDLER
  936. fields:
  937. errors_section:
  938. type: section
  939. title: PLUGIN_ADMIN.ERROR_HANDLER
  940. underline: true
  941. errors.display:
  942. type: select
  943. label: PLUGIN_ADMIN.DISPLAY_ERRORS
  944. help: PLUGIN_ADMIN.DISPLAY_ERRORS_HELP
  945. size: medium
  946. highlight: 1
  947. options:
  948. -1: PLUGIN_ADMIN.ERROR_SYSTEM
  949. 0: PLUGIN_ADMIN.ERROR_SIMPLE
  950. 1: PLUGIN_ADMIN.ERROR_FULL_BACKTRACE
  951. validate:
  952. type: int
  953. errors.log:
  954. type: toggle
  955. label: PLUGIN_ADMIN.LOG_ERRORS
  956. help: PLUGIN_ADMIN.LOG_ERRORS_HELP
  957. highlight: 1
  958. options:
  959. 1: PLUGIN_ADMIN.YES
  960. 0: PLUGIN_ADMIN.NO
  961. validate:
  962. type: bool
  963. log.handler:
  964. type: select
  965. size: small
  966. label: PLUGIN_ADMIN.LOG_HANDLER
  967. help: PLUGIN_ADMIN.LOG_HANDLER_HELP
  968. default: 'file'
  969. options:
  970. 'file': 'File'
  971. 'syslog': 'Syslog'
  972. log.syslog.facility:
  973. type: select
  974. size: small
  975. label: PLUGIN_ADMIN.SYSLOG_FACILITY
  976. help: PLUGIN_ADMIN.SYSLOG_FACILITY_HELP
  977. default: local6
  978. options:
  979. auth: auth
  980. authpriv: authpriv
  981. cron: cron
  982. daemon: daemon
  983. kern: kern
  984. lpr: lpr
  985. mail: mail
  986. news: news
  987. syslog: syslog
  988. user: user
  989. uucp: uucp
  990. local0: local0
  991. local1: local1
  992. local2: local2
  993. local3: local3
  994. local4: local4
  995. local5: local5
  996. local6: local6
  997. local7: local7
  998. debugger:
  999. type: tab
  1000. title: PLUGIN_ADMIN.DEBUGGER
  1001. fields:
  1002. debugger_section:
  1003. type: section
  1004. title: PLUGIN_ADMIN.DEBUGGER
  1005. underline: true
  1006. debugger.enabled:
  1007. type: toggle
  1008. label: PLUGIN_ADMIN.DEBUGGER
  1009. help: PLUGIN_ADMIN.DEBUGGER_HELP
  1010. highlight: 0
  1011. options:
  1012. 1: PLUGIN_ADMIN.YES
  1013. 0: PLUGIN_ADMIN.NO
  1014. validate:
  1015. type: bool
  1016. debugger.provider:
  1017. type: select
  1018. label: PLUGIN_ADMIN.DEBUGGER_PROVIDER
  1019. help: PLUGIN_ADMIN.DEBUGGER_PROVIDER_HELP
  1020. size: medium
  1021. default: debugbar
  1022. options:
  1023. debugbar: PLUGIN_ADMIN.DEBUGGER_DEBUGBAR
  1024. clockwork: PLUGIN_ADMIN.DEBUGGER_CLOCKWORK
  1025. debugger.censored:
  1026. type: toggle
  1027. label: PLUGIN_ADMIN.DEBUGGER_CENSORED
  1028. help: PLUGIN_ADMIN.DEBUGGER_CENSORED_HELP
  1029. highlight: 0
  1030. options:
  1031. 1: PLUGIN_ADMIN.YES
  1032. 0: PLUGIN_ADMIN.NO
  1033. validate:
  1034. type: bool
  1035. debugger.shutdown.close_connection:
  1036. type: toggle
  1037. label: PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION
  1038. help: PLUGIN_ADMIN.SHUTDOWN_CLOSE_CONNECTION_HELP
  1039. highlight: 1
  1040. options:
  1041. 1: PLUGIN_ADMIN.YES
  1042. 0: PLUGIN_ADMIN.NO
  1043. validate:
  1044. type: bool
  1045. media:
  1046. type: tab
  1047. title: PLUGIN_ADMIN.MEDIA
  1048. fields:
  1049. media_section:
  1050. type: section
  1051. title: PLUGIN_ADMIN.MEDIA
  1052. underline: true
  1053. images.default_image_quality:
  1054. type: range
  1055. append: '%'
  1056. label: PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY
  1057. help: PLUGIN_ADMIN.DEFAULT_IMAGE_QUALITY_HELP
  1058. validate:
  1059. min: 1
  1060. max: 100
  1061. images.cache_all:
  1062. type: toggle
  1063. label: PLUGIN_ADMIN.CACHE_ALL
  1064. help: PLUGIN_ADMIN.CACHE_ALL_HELP
  1065. highlight: 0
  1066. options:
  1067. 1: PLUGIN_ADMIN.YES
  1068. 0: PLUGIN_ADMIN.NO
  1069. validate:
  1070. type: bool
  1071. images.cache_perms:
  1072. type: select
  1073. size: small
  1074. label: PLUGIN_ADMIN.CACHE_PERMS
  1075. help: PLUGIN_ADMIN.CACHE_PERMS_HELP
  1076. highlight: '0755'
  1077. options:
  1078. '0755': '0755'
  1079. '0775': '0775'
  1080. images.debug:
  1081. type: toggle
  1082. label: PLUGIN_ADMIN.IMAGES_DEBUG
  1083. help: PLUGIN_ADMIN.IMAGES_DEBUG_HELP
  1084. highlight: 0
  1085. options:
  1086. 1: PLUGIN_ADMIN.YES
  1087. 0: PLUGIN_ADMIN.NO
  1088. validate:
  1089. type: bool
  1090. images.auto_fix_orientation:
  1091. type: toggle
  1092. label: PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION
  1093. help: PLUGIN_ADMIN.IMAGES_AUTO_FIX_ORIENTATION_HELP
  1094. highlight: 1
  1095. options:
  1096. 1: PLUGIN_ADMIN.YES
  1097. 0: PLUGIN_ADMIN.NO
  1098. validate:
  1099. type: bool
  1100. images.defaults.loading:
  1101. type: select
  1102. size: small
  1103. label: PLUGIN_ADMIN.IMAGES_LOADING
  1104. help: PLUGIN_ADMIN.IMAGES_LOADING_HELP
  1105. highlight: auto
  1106. options:
  1107. auto: Auto
  1108. lazy: Lazy
  1109. eager: Eager
  1110. images.seofriendly:
  1111. type: toggle
  1112. label: PLUGIN_ADMIN.IMAGES_SEOFRIENDLY
  1113. help: PLUGIN_ADMIN.IMAGES_SEOFRIENDLY_HELP
  1114. highlight: 0
  1115. options:
  1116. 1: PLUGIN_ADMIN.YES
  1117. 0: PLUGIN_ADMIN.NO
  1118. validate:
  1119. type: bool
  1120. media.enable_media_timestamp:
  1121. type: toggle
  1122. label: PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP
  1123. help: PLUGIN_ADMIN.ENABLE_MEDIA_TIMESTAMP_HELP
  1124. highlight: 0
  1125. options:
  1126. 1: PLUGIN_ADMIN.YES
  1127. 0: PLUGIN_ADMIN.NO
  1128. validate:
  1129. type: bool
  1130. media.auto_metadata_exif:
  1131. type: toggle
  1132. label: PLUGIN_ADMIN.ENABLE_AUTO_METADATA
  1133. help: PLUGIN_ADMIN.ENABLE_AUTO_METADATA_HELP
  1134. highlight: 0
  1135. options:
  1136. 1: PLUGIN_ADMIN.YES
  1137. 0: PLUGIN_ADMIN.NO
  1138. validate:
  1139. type: bool
  1140. media.allowed_fallback_types:
  1141. type: selectize
  1142. size: large
  1143. label: PLUGIN_ADMIN.FALLBACK_TYPES
  1144. help: PLUGIN_ADMIN.FALLBACK_TYPES_HELP
  1145. classes: fancy
  1146. validate:
  1147. type: commalist
  1148. media.unsupported_inline_types:
  1149. type: selectize
  1150. size: large
  1151. label: PLUGIN_ADMIN.INLINE_TYPES
  1152. help: PLUGIN_ADMIN.INLINE_TYPES_HELP
  1153. classes: fancy
  1154. validate:
  1155. type: commalist
  1156. section_images_cls:
  1157. type: section
  1158. title: PLUGIN_ADMIN.IMAGES_CLS_TITLE
  1159. underline: true
  1160. images.cls.auto_sizes:
  1161. type: toggle
  1162. label: PLUGIN_ADMIN.IMAGES_CLS_AUTO_SIZES
  1163. help: PLUGIN_ADMIN.IMAGES_CLS_AUTO_SIZES_HELP
  1164. highlight: 0
  1165. options:
  1166. 1: PLUGIN_ADMIN.YES
  1167. 0: PLUGIN_ADMIN.NO
  1168. validate:
  1169. type: bool
  1170. images.cls.aspect_ratio:
  1171. type: toggle
  1172. label: PLUGIN_ADMIN.IMAGES_CLS_ASPECT_RATIO
  1173. help: PLUGIN_ADMIN.IMAGES_CLS_ASPECT_RATIO_HELP
  1174. highlight: 0
  1175. options:
  1176. 1: PLUGIN_ADMIN.YES
  1177. 0: PLUGIN_ADMIN.NO
  1178. validate:
  1179. type: bool
  1180. images.cls.retina_scale:
  1181. type: select
  1182. label: PLUGIN_ADMIN.IMAGES_CLS_RETINA_SCALE
  1183. help: PLUGIN_ADMIN.IMAGES_CLS_RETINA_SCALE_HELP
  1184. size: small
  1185. highlight: 1
  1186. options:
  1187. 1: 1X
  1188. 2: 2X
  1189. 3: 3X
  1190. 4: 4X
  1191. session:
  1192. type: tab
  1193. title: PLUGIN_ADMIN.SESSION
  1194. fields:
  1195. session_section:
  1196. type: section
  1197. title: PLUGIN_ADMIN.SESSION
  1198. underline: true
  1199. session.enabled:
  1200. type: hidden
  1201. label: PLUGIN_ADMIN.ENABLED
  1202. help: PLUGIN_ADMIN.SESSION_ENABLED_HELP
  1203. highlight: 1
  1204. options:
  1205. 1: PLUGIN_ADMIN.YES
  1206. 0: PLUGIN_ADMIN.NO
  1207. default: true
  1208. validate:
  1209. type: bool
  1210. session.initialize:
  1211. type: toggle
  1212. label: PLUGIN_ADMIN.SESSION_INITIALIZE
  1213. help: PLUGIN_ADMIN.SESSION_INITIALIZE_HELP
  1214. highlight: 1
  1215. options:
  1216. 1: PLUGIN_ADMIN.YES
  1217. 0: PLUGIN_ADMIN.NO
  1218. default: true
  1219. validate:
  1220. type: bool
  1221. session.timeout:
  1222. type: text
  1223. size: small
  1224. append: GRAV.NICETIME.SECOND_PLURAL
  1225. label: PLUGIN_ADMIN.TIMEOUT
  1226. help: PLUGIN_ADMIN.TIMEOUT_HELP
  1227. validate:
  1228. type: number
  1229. min: 0
  1230. session.name:
  1231. type: text
  1232. size: small
  1233. label: PLUGIN_ADMIN.NAME
  1234. help: PLUGIN_ADMIN.SESSION_NAME_HELP
  1235. session.uniqueness:
  1236. type: select
  1237. size: medium
  1238. label: PLUGIN_ADMIN.SESSION_UNIQUENESS
  1239. help: PLUGIN_ADMIN.SESSION_UNIQUENESS_HELP
  1240. highlight: path
  1241. default: path
  1242. options:
  1243. path: Grav's root file path
  1244. salt: Grav's random security salt
  1245. session.secure:
  1246. type: toggle
  1247. label: PLUGIN_ADMIN.SESSION_SECURE
  1248. help: PLUGIN_ADMIN.SESSION_SECURE_HELP
  1249. highlight: 1
  1250. options:
  1251. 1: PLUGIN_ADMIN.YES
  1252. 0: PLUGIN_ADMIN.NO
  1253. default: false
  1254. validate:
  1255. type: bool
  1256. session.httponly:
  1257. type: toggle
  1258. label: PLUGIN_ADMIN.SESSION_HTTPONLY
  1259. help: PLUGIN_ADMIN.SESSION_HTTPONLY_HELP
  1260. highlight: 1
  1261. options:
  1262. 1: PLUGIN_ADMIN.YES
  1263. 0: PLUGIN_ADMIN.NO
  1264. default: true
  1265. validate:
  1266. type: bool
  1267. session.domain:
  1268. type: text
  1269. size: small
  1270. label: PLUGIN_ADMIN.SESSION_DOMAIN
  1271. help: PLUGIN_ADMIN.SESSION_DOMAIN_HELP
  1272. session.path:
  1273. type: text
  1274. size: small
  1275. label: PLUGIN_ADMIN.SESSION_PATH
  1276. help: PLUGIN_ADMIN.SESSION_PATH_HELP
  1277. session.samesite:
  1278. type: text
  1279. size: small
  1280. label: PLUGIN_ADMIN.SESSION_SAMESITE
  1281. help: PLUGIN_ADMIN.SESSION_SAMESITE_HELP
  1282. session.split:
  1283. type: toggle
  1284. label: PLUGIN_ADMIN.SESSION_SPLIT
  1285. help: PLUGIN_ADMIN.SESSION_SPLIT_HELP
  1286. highlight: 1
  1287. options:
  1288. 1: PLUGIN_ADMIN.YES
  1289. 0: PLUGIN_ADMIN.NO
  1290. default: true
  1291. validate:
  1292. type: bool
  1293. advanced:
  1294. type: tab
  1295. title: PLUGIN_ADMIN.ADVANCED
  1296. fields:
  1297. advanced_section:
  1298. type: section
  1299. title: PLUGIN_ADMIN.ADVANCED
  1300. underline: true
  1301. gpm.releases:
  1302. type: toggle
  1303. label: PLUGIN_ADMIN.GPM_RELEASES
  1304. highlight: stable
  1305. help: PLUGIN_ADMIN.GPM_RELEASES_HELP
  1306. options:
  1307. stable: PLUGIN_ADMIN.STABLE
  1308. testing: PLUGIN_ADMIN.TESTING
  1309. gpm.proxy_url:
  1310. type: text
  1311. size: medium
  1312. placeholder: "e.g. 127.0.0.1:3128"
  1313. label: PLUGIN_ADMIN.PROXY_URL
  1314. help: PLUGIN_ADMIN.PROXY_URL_HELP
  1315. gpm.method:
  1316. type: toggle
  1317. label: PLUGIN_ADMIN.GPM_METHOD
  1318. highlight: auto
  1319. help: PLUGIN_ADMIN.GPM_METHOD_HELP
  1320. options:
  1321. auto: PLUGIN_ADMIN.AUTO
  1322. fopen: PLUGIN_ADMIN.FOPEN
  1323. curl: PLUGIN_ADMIN.CURL
  1324. gpm.official_gpm_only:
  1325. type: toggle
  1326. label: PLUGIN_ADMIN.GPM_OFFICIAL_ONLY
  1327. highlight: 1
  1328. help: PLUGIN_ADMIN.GPM_OFFICIAL_ONLY_HELP
  1329. options:
  1330. 1: PLUGIN_ADMIN.YES
  1331. 0: PLUGIN_ADMIN.NO
  1332. default: true
  1333. validate:
  1334. type: bool
  1335. gpm.verify_peer:
  1336. type: toggle
  1337. label: PLUGIN_ADMIN.GPM_VERIFY_PEER
  1338. highlight: 1
  1339. help: PLUGIN_ADMIN.GPM_VERIFY_PEER_HELP
  1340. options:
  1341. 1: PLUGIN_ADMIN.YES
  1342. 0: PLUGIN_ADMIN.NO
  1343. validate:
  1344. type: bool
  1345. reverse_proxy_setup:
  1346. type: toggle
  1347. label: PLUGIN_ADMIN.REVERSE_PROXY
  1348. highlight: 0
  1349. help: PLUGIN_ADMIN.REVERSE_PROXY_HELP
  1350. options:
  1351. 1: PLUGIN_ADMIN.YES
  1352. 0: PLUGIN_ADMIN.NO
  1353. validate:
  1354. type: bool
  1355. username_regex:
  1356. type: text
  1357. size: large
  1358. label: PLUGIN_ADMIN.USERNAME_REGEX
  1359. help: PLUGIN_ADMIN.USERNAME_REGEX_HELP
  1360. pwd_regex:
  1361. type: text
  1362. size: large
  1363. label: PLUGIN_ADMIN.PWD_REGEX
  1364. help: PLUGIN_ADMIN.PWD_REGEX_HELP
  1365. intl_enabled:
  1366. type: toggle
  1367. label: PLUGIN_ADMIN.INTL_ENABLED
  1368. highlight: 1
  1369. help: PLUGIN_ADMIN.INTL_ENABLED_HELP
  1370. options:
  1371. 1: PLUGIN_ADMIN.YES
  1372. 0: PLUGIN_ADMIN.NO
  1373. validate:
  1374. type: bool
  1375. wrapped_site:
  1376. type: toggle
  1377. label: PLUGIN_ADMIN.WRAPPED_SITE
  1378. highlight: 0
  1379. help: PLUGIN_ADMIN.WRAPPED_SITE_HELP
  1380. options:
  1381. 1: PLUGIN_ADMIN.YES
  1382. 0: PLUGIN_ADMIN.NO
  1383. validate:
  1384. type: bool
  1385. absolute_urls:
  1386. type: toggle
  1387. label: PLUGIN_ADMIN.ABSOLUTE_URLS
  1388. highlight: 0
  1389. help: PLUGIN_ADMIN.ABSOLUTE_URLS_HELP
  1390. options:
  1391. 1: PLUGIN_ADMIN.YES
  1392. 0: PLUGIN_ADMIN.NO
  1393. validate:
  1394. type: bool
  1395. param_sep:
  1396. type: select
  1397. size: medium
  1398. label: PLUGIN_ADMIN.PARAMETER_SEPARATOR
  1399. classes: fancy
  1400. help: PLUGIN_ADMIN.PARAMETER_SEPARATOR_HELP
  1401. default: ''
  1402. options:
  1403. ':': ': (default)'
  1404. ';': '; (for Apache running on Windows)'
  1405. force_ssl:
  1406. type: toggle
  1407. label: PLUGIN_ADMIN.FORCE_SSL
  1408. highlight: 0
  1409. help: PLUGIN_ADMIN.FORCE_SSL_HELP
  1410. options:
  1411. 1: PLUGIN_ADMIN.YES
  1412. 0: PLUGIN_ADMIN.NO
  1413. validate:
  1414. type: bool
  1415. force_lowercase_urls:
  1416. type: toggle
  1417. label: PLUGIN_ADMIN.FORCE_LOWERCASE_URLS
  1418. highlight: 1
  1419. default: 1
  1420. help: PLUGIN_ADMIN.FORCE_LOWERCASE_URLS_HELP
  1421. options:
  1422. 1: PLUGIN_ADMIN.YES
  1423. 0: PLUGIN_ADMIN.NO
  1424. validate:
  1425. type: bool
  1426. custom_base_url:
  1427. type: text
  1428. size: medium
  1429. placeholder: "e.g. http://yoursite.com/yourpath"
  1430. label: PLUGIN_ADMIN.CUSTOM_BASE_URL
  1431. help: PLUGIN_ADMIN.CUSTOM_BASE_URL_HELP
  1432. http_x_forwarded.protocol:
  1433. type: toggle
  1434. label: HTTP_X_FORWARDED_PROTO Enabled
  1435. highlight: 1
  1436. default: 1
  1437. options:
  1438. 1: PLUGIN_ADMIN.YES
  1439. 0: PLUGIN_ADMIN.NO
  1440. validate:
  1441. type: bool
  1442. http_x_forwarded.host:
  1443. type: toggle
  1444. label: HTTP_X_FORWARDED_HOST Enabled
  1445. highlight: 0
  1446. default: 0
  1447. options:
  1448. 1: PLUGIN_ADMIN.YES
  1449. 0: PLUGIN_ADMIN.NO
  1450. validate:
  1451. type: bool
  1452. http_x_forwarded.port:
  1453. type: toggle
  1454. label: HTTP_X_FORWARDED_PORT Enabled
  1455. highlight: 1
  1456. default: 1
  1457. options:
  1458. 1: PLUGIN_ADMIN.YES
  1459. 0: PLUGIN_ADMIN.NO
  1460. validate:
  1461. type: bool
  1462. http_x_forwarded.ip:
  1463. type: toggle
  1464. label: HTTP_X_FORWARDED IP Enabled
  1465. highlight: 1
  1466. default: 1
  1467. options:
  1468. 1: PLUGIN_ADMIN.YES
  1469. 0: PLUGIN_ADMIN.NO
  1470. validate:
  1471. type: bool
  1472. strict_mode.blueprint_compat:
  1473. type: toggle
  1474. label: PLUGIN_ADMIN.STRICT_BLUEPRINT_COMPAT
  1475. highlight: 0
  1476. default: 0
  1477. help: PLUGIN_ADMIN.STRICT_BLUEPRINT_COMPAT_HELP
  1478. options:
  1479. 1: PLUGIN_ADMIN.YES
  1480. 0: PLUGIN_ADMIN.NO
  1481. validate:
  1482. type: bool
  1483. strict_mode.yaml_compat:
  1484. type: toggle
  1485. label: PLUGIN_ADMIN.STRICT_YAML_COMPAT
  1486. highlight: 0
  1487. default: 0
  1488. help: PLUGIN_ADMIN.STRICT_YAML_COMPAT_HELP
  1489. options:
  1490. 1: PLUGIN_ADMIN.YES
  1491. 0: PLUGIN_ADMIN.NO
  1492. validate:
  1493. type: bool
  1494. strict_mode.twig_compat:
  1495. type: toggle
  1496. label: PLUGIN_ADMIN.STRICT_TWIG_COMPAT
  1497. highlight: 0
  1498. default: 0
  1499. help: PLUGIN_ADMIN.STRICT_TWIG_COMPAT_HELP
  1500. options:
  1501. 1: PLUGIN_ADMIN.YES
  1502. 0: PLUGIN_ADMIN.NO
  1503. validate:
  1504. type: bool
  1505. experimental:
  1506. type: tab
  1507. title: PLUGIN_ADMIN.EXPERIMENTAL
  1508. fields:
  1509. experimental_section:
  1510. type: section
  1511. title: PLUGIN_ADMIN.EXPERIMENTAL
  1512. underline: true
  1513. # flex_pages:
  1514. # type: section
  1515. # title: Flex Pages
  1516. #
  1517. # pages.type:
  1518. # type: select
  1519. # label: PLUGIN_ADMIN.PAGES_TYPE
  1520. # highlight: regular
  1521. # help: PLUGIN_ADMIN.PAGES_TYPE_HELP
  1522. # options:
  1523. # regular: PLUGIN_ADMIN.REGULAR
  1524. # flex: PLUGIN_ADMIN.FLEX
  1525. pages.type:
  1526. type: hidden
  1527. flex_accounts:
  1528. type: section
  1529. title: Flex Accounts
  1530. accounts.type:
  1531. type: select
  1532. label: PLUGIN_ADMIN.ACCOUNTS_TYPE
  1533. highlight: stable
  1534. help: PLUGIN_ADMIN.ACCOUNTS_TYPE_HELP
  1535. options:
  1536. regular: PLUGIN_ADMIN.REGULAR
  1537. flex: PLUGIN_ADMIN.FLEX
  1538. accounts.storage:
  1539. type: select
  1540. label: PLUGIN_ADMIN.ACCOUNTS_STORAGE
  1541. highlight: stable
  1542. help: PLUGIN_ADMIN.ACCOUNTS_STORAGE_HELP
  1543. options:
  1544. file: PLUGIN_ADMIN.FILE
  1545. folder: PLUGIN_ADMIN.FOLDER