Andy Miller
116c279f01
update changelog
2018-11-12 15:55:29 -07:00
Aaron Dalton
bf86b5a924
Propagate error code if between 400 and 600 for production sites (errors:display = false or -1) ( #2181 )
2018-11-11 21:22:47 -07:00
Emil Hesslow
d0b34d114d
Register theme prefixes as namespaces in twig ( #2210 )
2018-11-11 21:18:57 -07:00
Makara Sok
b9dc2baef1
Remove hardcoded 302 when redirecting trailing slash ( #2155 )
...
When `system.pages.redirect_trailing_slash` is enabled, it's always a 302 even though `redirect_default_code` is set to something else.
By removing it, it works as intended.
2018-11-09 22:30:35 -07:00
Andy Miller
72cc5b9d07
Merge tag '1.5.4' into develop
...
Release v1.5.4
2018-11-05 15:42:04 -07:00
Andy Miller
b9c28c5a7c
Merge branch 'release/1.5.4'
1.5.4
2018-11-05 15:42:03 -07:00
Andy Miller
c56d7ac793
prepare for release
2018-11-05 15:41:54 -07:00
Andy Miller
000bac8cfc
Updated changelog
2018-11-05 15:41:19 -07:00
Scott Hamper
e7d660149e
Fixed markdown parsing for telephone links ( #2235 )
...
Telephone links use the `+` character to specify a country code, but Grav was replacing the `+` with a space character.
2018-11-03 14:57:02 -06:00
John Hamrick
829638c143
Update default.md ( #2245 )
...
Making documentation consistent between sources: Issue Typo! #650
In (grav-learn/pages/01.basics/04.basic-tutorial/docs.md) the text under the heading Adding a New Page is 02.mypage
In (grav/user/pages/01.home/default.md) the text under the heading Adding a New Page is 03.mypage
2018-11-03 14:56:21 -06:00
Matias Griese
d8a627898e
Fixed fatal error if calling $session->invalidate() when there's no active session
2018-10-25 16:29:53 +03:00
MattAppleton
a3caa13c23
fix .webm typo ( #2220 )
...
Media type should be 'video' not file!
2018-10-16 20:18:32 -06:00
Andy Miller
9944486c17
Merge branch 'release/1.5.3'
1.5.3
2018-10-08 17:41:28 -06:00
Andy Miller
da5c9e415f
Merge tag '1.5.3' into develop
...
Release v1.5.3
2018-10-08 17:41:28 -06:00
Andy Miller
7b5a1b2c14
Prepare for release
2018-10-08 17:41:18 -06:00
Andy Miller
235a5cc765
vendor updates
2018-10-08 17:33:49 -06:00
Andy Miller
073d601b67
Updated changelog
2018-10-06 16:37:11 -06:00
Andy Miller
ad1bbba0b3
Added configurable dangerous upload extensions
2018-10-06 16:35:54 -06:00
Matias Griese
b6b5e329aa
Added Utils::getMimeByFilename(), Utils::getMimeByLocalFile() and Utils::checkFilename() methods
2018-10-04 14:44:04 +03:00
Andy Miller
0e973dab07
Merge branch 'release/1.5.2'
1.5.2
2018-10-01 15:33:13 -06:00
Andy Miller
15e371564a
Merge tag '1.5.2' into develop
...
Release v1.5.2
2018-10-01 15:33:13 -06:00
Andy Miller
f0e33dc242
prepare for release
2018-10-01 15:32:29 -06:00
Andy Miller
e67c3c1091
updated changelog
2018-10-01 15:31:39 -06:00
Andy Miller
d5ce0bd93c
updated vendor libs
2018-10-01 15:26:44 -06:00
Andy Miller
44dbcdf2b1
Added new XSS Twig function
2018-10-01 14:07:14 -06:00
Andy Miller
3216442946
Merge branch 'develop' of github.com:getgrav/grav into develop
2018-10-01 12:34:14 -06:00
Andy Miller
9d4471b196
Security refactor
2018-10-01 12:34:09 -06:00
Matias Griese
c48107acd9
Merge remote-tracking branch 'origin/develop' into develop
2018-10-01 21:02:11 +03:00
Matias Griese
4671518409
Fixed missing slug in Page::init()
2018-10-01 21:02:04 +03:00
Andy Miller
41bf943f49
get raw content for all pages
2018-09-30 21:11:46 -06:00
Andy Miller
f40c6a8617
Changelog updated
2018-09-30 18:37:42 -06:00
Andy Miller
fb98ca7b19
Added a new Security CLI command
2018-09-30 18:34:53 -06:00
Andy Miller
451ec49d9c
refactor
2018-09-30 17:45:45 -06:00
Andy Miller
1709eb038c
Fix for array method
2018-09-30 15:24:01 -06:00
Andy Miller
e69d6cefee
ordering
2018-09-30 00:10:44 -06:00
Andy Miller
7abe01ed8c
vertical style
2018-09-30 00:10:04 -06:00
Andy Miller
17a371d86a
lang stuff
2018-09-29 21:37:01 -06:00
Andy Miller
5b787d56e6
Add default XSS security config
2018-09-29 21:24:58 -06:00
Andy Miller
33d98114ba
XSS enhancements
2018-09-29 21:24:21 -06:00
Andy Miller
51f29e112a
updated composer.json
2018-09-19 13:56:09 -06:00
Matias Griese
ca8805683d
Added onHttpPostFilter event to allow plugins to globally clean up XSS in the forms and tasks
2018-09-19 12:09:32 +03:00
Matias Griese
8295bd8243
Added Utils::detectXssFromArray() and Utils::detectXss() methods
2018-09-19 12:06:49 +03:00
Matias Griese
da95d1bb1e
Session expires in 30 mins independent from config settings ( https://github.com/getgrav/grav-plugin-login/issues/178 )
2018-09-13 17:31:11 +03:00
Matias Griese
bbc4fd6c79
Allow twig tags {% script %}, {% style %} and {% switch %} to be placed outside of blocks
2018-09-07 13:13:33 +03:00
Matias Griese
732ff8ecab
Fixed nicetime() twig function
2018-09-07 10:36:56 +03:00
Matias Griese
41b7aadbda
Fixed duplicate language strings (Yaml 4.1)
2018-09-06 12:34:50 +03:00
Matias Griese
834d6938db
Fixed is_safe twig filter option
2018-09-06 10:28:40 +03:00
Andy Miller
dfabceb3d2
Fix for Page::translatedLanguages() #2163
2018-09-05 19:08:42 -06:00
Matias Griese
1808fd3d6e
Allow $page->slug() to be called before $page->init() without breaking the page
2018-08-29 15:46:46 +03:00
Matias Griese
0b5c1dcfa7
Deprecation handling fixes
2018-08-26 11:01:17 +03:00