Andy Miller
cea43a2d21
Prepare for release
2018-07-31 11:23:24 -06:00
Andy Miller
8ee367e52e
Don't allow null to be set as Page content
2018-07-27 15:05:45 -06:00
Hugh Barnes
c9367ba4f3
Add Grav version to debug bar Messages tab ( #2106 )
2018-07-18 19:03:25 -06:00
Andy Miller
a5e97ef846
Prepare for release
2018-07-13 16:38:46 -06:00
Timothy Cyrus
79bff58021
Change getBasename to getFilename where possible ( #2087 )
...
* Update Pages.php
* Update Themes.php
* Update Installer.php
* Update Plugins.php
* Update ConfigFileFinder.php
2018-07-05 14:14:57 -06:00
Timothy Cyrus
a0918dfc4f
Update Media.php ( #2083 )
...
Fixes getgrav/grav-plugin-admin#1330
2018-07-02 23:46:44 +01:00
Andy Miller
a09c6b1088
Fix for Page::routeCanonical accpeting string #2069
2018-06-22 11:59:22 +01:00
Andy Miller
dfed333e1b
Set html in admin not in here…
2018-06-20 23:38:41 +01:00
Andy Miller
578e12940b
Fix for modular page preview #2066
2018-06-20 22:56:27 +01:00
Andy Miller
290e5be534
Prepare for release
2018-06-19 18:42:40 +01:00
Matias Griese
bf5e742a7f
Revert Medium object cloning for now (has unexpected side effects) [ #2045 ]
2018-06-15 09:51:42 +03:00
Matias Griese
bd21b7f966
Fixed image resource memory deallocation (part 2) [ #2045 ]
2018-06-15 09:17:50 +03:00
Matias Griese
6d7e9ba107
Fixed image resource memory deallocation [ #2045 ]
2018-06-15 09:03:51 +03:00
Matias Griese
2e3a64fcef
Fixed incorrect routing with setup.php based base [ #1892 ]
2018-06-14 14:55:08 +03:00
Matias Griese
ecdbff68d8
Fixed crash on IIS (Windows) with open_basedir in effect [ #2053 ]
2018-06-14 14:31:29 +03:00
Jean-Baptiste Alleaume
036fc2d2af
Modular template extension follows the master page extension ( #2044 )
2018-06-08 22:00:07 +00:00
Hydraner
ab58cca3f7
Add getter methods for original and action to the Page object. ( #2005 )
2018-06-08 21:37:44 +00:00
Jeremy Bouquain
f883820c6a
Handle multibyte strings in truncateLetters ( #2007 )
2018-06-08 21:37:06 +00:00
Lauri Nurmi
9053f9ab44
Use @example.com in default email addresses. ( #2020 )
...
It could be a bad idea to use default email addresses that could really
exist. Instead, use example.com, which RFC2606 defines as one of the
domains reserved for examples.
2018-06-08 21:36:38 +00:00
Tuukka Norri
da7a93527d
Fix image memory use ( #2045 )
...
* Add a method for freeing the image file, free each derivative after it has been created
* Save the scaled derivative on disk before freeing it, store its path
2018-06-08 21:33:40 +00:00
Andy Miller
3b4296c7a4
fix for URI’s with no authority // eg mailto:blah@blah.com
2018-05-31 17:48:48 -06:00
Andy Miller
8e065e1109
Fix classes on non-http based protocol links #2034
2018-05-31 14:28:48 -06:00
Andy Miller
27a9390ec7
Re-added SSL off-loading that was lost with Grav v1.4.0 merge #1888
2018-05-31 14:05:33 -06:00
Andy Miller
636bc97d29
handle errors.display properly admin#1452
2018-05-29 09:26:52 -06:00
Andy Miller
1426a7ec95
prepare for release
2018-05-15 12:55:27 -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
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
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
18f46d902d
Prepare for release
2018-05-11 16:07:27 -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
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
3607124e55
Prepare for release
2018-04-12 15:54:16 -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
47037e3f5e
moved sortArrayByKey logic into Utils::
2018-04-09 14:35:44 -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
Djamil Legato
3248b97997
Reverted zip changes while adding extra details about unzip failure
2018-03-29 13:07:11 -07:00