system.yaml 50 KB

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