Matias Griese
62a8d8b203
Add method MediaInterface::getMediaOrder() and implement it
2018-05-31 20:04:16 +03:00
Matias Griese
d7bd0bf1df
Merge branch 'develop' of https://github.com/getgrav/grav into 1.5
...
# Conflicts:
# CHANGELOG.md
2018-05-31 12:28:19 +03:00
Andy Miller
636bc97d29
handle errors.display properly admin#1452
2018-05-29 09:26:52 -06:00
Matias Griese
3ccadded97
Fixed blueprint field validation: Allow numeric inputs in text fields
2018-05-22 10:42:30 +03:00
Andy Miller
b82c17ea56
Fixed typo in trucate #1943
2018-05-20 12:01:38 -06:00
Matias Griese
a0946c67b9
Implement SessionInterface
2018-05-17 10:46:13 +03:00
Matias Griese
00376d3118
Session code cleanup, add changelog entries
2018-05-17 10:22:14 +03:00
Matias Griese
e8fd5405a7
Merge branch 'feature/session' of https://github.com/getgrav/grav into 1.5
2018-05-17 10:14:10 +03:00
Matias Griese
eae017a30a
Merge branch 'develop' of https://github.com/getgrav/grav into feature/session
2018-05-17 10:10:16 +03:00
Andy Miller
718dfa9b5d
Merge branch 'develop' into 1.5
...
# Conflicts:
# CHANGELOG.md
# system/defines.php
# system/src/Grav/Common/User/User.php
2018-05-15 17:55:50 -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
11266ce8f8
Revert "Add special handling for User authenticated and authorized properties"
...
This reverts commit 8e0e3e8718 .
2018-05-14 18:25:36 -06: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
dab595f571
Merge branch 'develop' of https://github.com/getgrav/grav into 1.5
...
# Conflicts:
# system/defines.php
2018-05-14 21:25:35 +03: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
Matias Griese
5ab956a8ec
Fixed Route::withQueryParam() to accept array values
2018-05-14 12:30:30 +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
Matias Griese
2c82e15fa1
Added authorized support (2FA)
2018-05-10 19:56:56 +03:00
Andy Miller
2c7d866724
alignment of parens
2018-05-09 22:43:26 -06:00
Djamil Legato
9c7008e225
Enable markdown support for 2FA account field description
2018-05-09 10:41:23 -07:00
Matias Griese
342aa0ff04
Added MediaTrait::getMediaUri()
2018-05-09 14:01:20 +03:00
Matias Griese
f03eb693e6
Rename object key back to _key
2018-05-08 21:00:16 +03:00
Matias Griese
68428a714a
Change exception type in ContentBlock::fromArray()
2018-05-07 15:24:43 +03:00
Matias Griese
58db31a7d8
Added support for ContentBlock checksums
2018-05-07 14:58:50 +03:00
Matias Griese
2917345b56
Improve ObjectTrait
2018-05-04 21:43:12 +03:00
Matias Griese
1cfd3482bb
Added Grav\Common\Media interfaces and trait; use those in Page and Media classes
...
Added `Grav\Common\Page` interface to allow custom page types in the future
2018-05-04 19:06:37 +03:00
Matias Griese
4d690938a8
Merge branch 'develop' of https://github.com/getgrav/grav into 1.5
2018-04-30 12:37:01 +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
0b1c18d63e
Added Uri::post() and Uri::getConentType()
2018-04-27 16:44:38 -06:00
Andy Miller
f681f1c60b
resolve streams earlier
2018-04-27 16:18:16 -06:00
Andy Miller
27df27d1df
resolve streams earlier
2018-04-27 16:17:52 -06:00
Andy Miller
027dbcf6fa
Added Uri::post() and Uri::getConentType()
2018-04-27 15:40:03 -06:00
Matias Griese
91e98cd32e
Added RouteFactory::createFromString() rename MarkdownFormatter configuration option
2018-04-27 20:41:05 +03:00
Matias Griese
1cef2a182a
Added Grav\Common\Media interfaces and trait; use those in Page and Media classes
...
Added `Grav\Common\Page` interface to allow custom page types in the future
2018-04-27 20:38:57 +03:00
Matias Griese
ad8764897a
New classes have wrong namespace
2018-04-24 15:47:31 +03:00
Matias Griese
d2e700eea2
Formatters: Better error handling, allow custom file extension
2018-04-24 12:22:06 +03:00
Matias Griese
895e145d82
Added new Grav\Framework\File\Formatter classes for encoding/decoding YAML, MarkDown, JSON, INI and PHP serialized formats
2018-04-24 11:41:55 +03:00
Matias Griese
78ab2aa476
Minor improvement on session check (using PHP 5.4+ way)
2018-04-23 09:40:31 +03:00
Matias Griese
261ea62472
Added compatibility mode to fall back to Symfony YAML 2.8 when needed
2018-04-20 14:03:49 +03:00
Matias Griese
fb7230ec9a
Merge branch 'develop' of https://github.com/getgrav/grav into 1.5
...
# Conflicts:
# CHANGELOG.md
2018-04-20 10:24:06 +03:00
Andy Miller
692aff3c89
SORT_REGULAR for dates #1910
2018-04-18 18:37:34 -06:00