system.yaml 57 KB

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