Ante Drnasin
9eded2ef39
Update robots.txt ( #2043 )
...
When using "Fetch and Render as Google" in Google Search console it will report "partial" rendering due to the blocked images in /user/images directory which is blocked because of the Disallow /user/ rule. Proposing this small change as it improves google rendering of the page.
2018-05-30 11:47:21 -06:00
Andy Miller
636bc97d29
handle errors.display properly admin#1452
2018-05-29 09:26:52 -06:00
Andy Miller
1976471982
Merge tag '1.4.5' into develop
...
Release v1.4.5
2018-05-15 12:55:39 -06:00
Andy Miller
03a0c42795
Merge branch 'release/1.4.5'
1.4.5
2018-05-15 12:55:39 -06:00
Andy Miller
1426a7ec95
prepare for release
2018-05-15 12:55:27 -06:00
Andy Miller
2a759eed74
updated changelog
2018-05-15 11:46:54 -06:00
Andy Miller
8980b78220
Revert "Add MIME type to video <source> tag ( #1992 )"
...
This reverts commit e60fd82400 .
2018-05-15 11:45:36 -06:00
Andy Miller
12b0a839e7
Merge branch 'develop' of github.com:getgrav/grav into develop
2018-05-15 11:43:42 -06:00
Andy Miller
b4d570fd21
updated changelog
2018-05-15 11:43:37 -06:00
Christian Weiske
e60fd82400
Add MIME type to video <source> tag ( #1992 )
2018-05-15 11:39:50 -06:00
Davide Liessi
a1abcfd067
Move fix for #1114 to Truncator::truncateLetters ( #2004 )
...
* Move fix for #1114 to Truncator::truncateLetters
The original fix provided by #1125 in Utils::truncateHtml compared the
summary size with the full HTML string length.
Thus, the string was still being truncated (and the HTML rewritten) even
when only the HTML string length, and not the text length, exceeded the
summary size.
* Add fix for #1114 also to Truncator::truncateWords
2018-05-15 11:38:48 -06:00
Christian Weiske
7f90ad8474
Do not crash when generating URLs with arrays as parameters ( #2018 )
...
When using a default image derivatives (#1979 ) setting like
images:
defaults:
derivatives: [300,600]
then Grav crashes when a video gets embedded.
The following error occurs:
rawurlencode() expects parameter 1 to be string, array given
system/src/Grav/Common/Page/Medium/Medium.php:521
This patch encodes array URL parameters correctly.
2018-05-15 11:37:18 -06:00
Andy Miller
e1d52181a3
updated changelog
2018-05-15 11:36:20 -06:00
Matias Griese
d4494cb502
Fixed users getting logged out after Grav upgrade
2018-05-15 16:26:11 +03:00
Andy Miller
2f17b3fa7d
Revert "Add special handling for User authenticated and authorized properties"
...
This reverts commit 8e0e3e8718 .
2018-05-14 18:25:19 -06:00
Matias Griese
afe72d0783
Merge remote-tracking branch 'origin/develop' into develop
2018-05-14 21:24:03 +03:00
Matias Griese
8e0e3e8718
Add special handling for User authenticated and authorized properties
2018-05-14 21:23:56 +03:00
Andy Miller
a17554c951
Merge branch 'release/1.4.4'
1.4.4
2018-05-11 16:07:38 -06:00
Andy Miller
30ff986603
Merge tag '1.4.4' into develop
...
Releaase v1.4.4
2018-05-11 16:07:38 -06:00
Andy Miller
18f46d902d
Prepare for release
2018-05-11 16:07:27 -06:00
Andy Miller
3948ed5618
updated changelog
2018-05-11 16:06:54 -06:00
Matias Griese
e6dd91f698
Added authorized support (2FA)
...
(cherry picked from commit 2c82e15 )
2018-05-10 19:58:39 +03:00
Dmitry Yakovlev
40b475ecb9
Fix hardcoded string ( #1993 )
...
Fix hard-coded string "Modular Setup" to improve internationalization. Needs new string PLUGIN_ADMIN.MODULAR_SETUP in Admin plugin language file.
2018-04-28 11:29:28 -06:00
Gabriel Caruso
4ab0a601ad
Use array_key_exists instead of in_array + array_keys ( #1991 )
2018-04-28 11:25:41 -06:00
Gabriel Caruso
40ba5e9106
Use dedicated PHPUnit assertions ( #1990 )
...
Signed-off-by: Gabriel Caruso <carusogabriel34@gmail.com >
2018-04-28 11:24:43 -06:00
Christian Weiske
d4ec2a25d4
Add default configuration for images ( #1979 )
...
This patch allows configuring image processing instructions
for all images.
A use case is generating a fixed set of sizes (derivatives) for
all images, without having to specify them in the content markdown.
Example configuration in user/config/system.yaml:
images:
defaults:
derivatives: "[300,600,1200]"
2018-04-28 11:24:14 -06:00
Andy Miller
027dbcf6fa
Added Uri::post() and Uri::getConentType()
2018-04-27 15:40:03 -06:00
Andy Miller
692aff3c89
SORT_REGULAR for dates #1910
2018-04-18 18:37:34 -06:00
Andy Miller
3091a14223
Improve support for regex redirects with query and params #1983
2018-04-18 15:02:53 -06:00
Andy Miller
a49f3d460e
allow type to be passed
2018-04-18 10:43:27 -06:00
Andy Miller
b6e0f8b75a
Added a Medium::thumbnailExists() method
2018-04-17 23:29:23 -06:00
Andy Miller
ac8a1191f8
Fix for custom_base_url not routing properly
2018-04-17 19:04:16 -06:00
Matias Griese
33cfa17899
Fix couple of deprecated extend@s
2018-04-14 13:00:40 +03:00
Andy Miller
4db2b75699
Merge tag '1.4.3' into develop
...
Release v1.4.3
2018-04-12 15:54:26 -06:00
Andy Miller
c64590af16
Merge branch 'release/1.4.3'
1.4.3
2018-04-12 15:54:25 -06:00
Andy Miller
3607124e55
Prepare for release
2018-04-12 15:54:16 -06:00
Andy Miller
e7405a13fc
Revert "Test fixes for session/parsedown changes, jquery update, quark default theme"
...
This reverts commit cad10b6095 .
# Conflicts:
# CHANGELOG.md
2018-04-12 15:28:53 -06:00
Andy Miller
46f16ce4db
Note about updated vendor libs
2018-04-12 15:26:26 -06:00
Andy Miller
d3a4466d9b
Updated changelog
2018-04-12 15:25:29 -06:00
Andy Miller
46d682f889
Revert "Fix for audio/video parsedown #1924 "
...
This reverts commit 33cfa5e104 .
# Conflicts:
# CHANGELOG.md
2018-04-12 15:25:19 -06:00
Andy Miller
8e019b7958
Updated changelog
2018-04-09 14:38:46 -06:00
Andy Miller
47037e3f5e
moved sortArrayByKey logic into Utils::
2018-04-09 14:35:44 -06:00
Andy Miller
1ec653268d
Parsedown 1.8 breaks things, need to fix when final is released
2018-04-09 12:00:07 -06:00
Andy Miller
3ee140e77f
Revert "Temporarily using parsedown dev-master to address HTML encoding issues #1921 "
...
This reverts commit ff2df04a58 .
2018-04-09 11:58:52 -06:00
Rex Kelly
cb490a1762
Add overriding of setup.php config file, via constants ( #1945 )
...
I'm working on a custom install of Grav, where being able to dynamically swap setup files was required. I've modified the $file assignment to permit overriding it's value via a defined constant, "GRAV_SETUP_PATH".
And I thought that might be useful to others, so I'm submitting a pull request.
2018-04-09 11:35:49 -06:00
Raul E Watson
6d8ba5ed4d
Update CHANGELOG.md ( #1958 )
...
Fixed small typos in changelog
2018-04-09 11:34:56 -06:00
michielStaes
7020130511
Readme.md was missing info regarding the 'composer test-windows' command ( #1970 )
2018-04-09 11:34:36 -06:00
Andy Miller
ff2df04a58
Temporarily using parsedown dev-master to address HTML encoding issues #1921
2018-04-02 18:04:40 -06:00
Djamil Legato
3248b97997
Reverted zip changes while adding extra details about unzip failure
2018-03-29 13:07:11 -07:00
Djamil Legato
3c26d831fd
Refactored Installer (zip) change to maintain consistency in the errorCode
2018-03-29 12:15:34 -07:00