Flavio Copes
dc92498cd0
Fix #900 issue with modular pages folders validation
2016-12-22 17:36:53 +01:00
Andy Miller
364209a27d
Fixed type on template not found
2016-12-21 15:16:30 -07:00
Andy Miller
e0f17a48d5
Prepare for release
2016-12-21 13:06:42 -07:00
Andy Miller
befaf5d387
Improved theme/plugin detect logic
2016-12-21 12:35:58 -07:00
Flavio Copes
e40bed5be2
Explicitly expose array_unique Twig filter
2016-12-20 17:37:32 +01:00
Flavio Copes
442249c3a1
Fix issue with Inflector when translation is disabled [ https://github.com/getgrav/grav-plugin-simplesearch/issues/87 ]( https://github.com/getgrav/grav-plugin-simplesearch/issues/87 )
2016-12-19 21:07:43 +01:00
Flavio Copes
8b8d8bcc5b
Fix https://github.com/getgrav/grav-plugin-admin/issues/891 Add pattern for frontend validation of folder slugs
2016-12-17 18:10:19 +01:00
Andy Miller
81fc0d47ac
Reworked PHP CLI router PR #1218 ( #1219 )
2016-12-17 15:07:40 +01:00
ChrisGitIt
8450f77443
fixed array handling ( #1208 )
...
if the input array looks like this:
array('valA','valB') (not a keyed array)
The return result before my change was:
array(array('valA'),array('valB'))
The return result after my change is:
array('valA','valB')
2016-12-16 12:09:23 -07:00
Flavio Copes
0ccc34d860
Improve detection of home path. Also allow ~/.grav on Windows, drop ConsoleTrait::isWindows() method, used just for that. ( #1204 )
...
* Improve detection of home path. Also allow ~/.grav on Windows, drop ConsoleTrait::isWindows() method, used just for that.
* Extract loadLocalConfig method to ConsoleTrait
* Fix issue with using Yaml::parse direcly on a filename, now deprecated
* Changelog
2016-12-16 19:10:00 +01:00
Flavio Copes
5b6452d89e
Revert "Fix #635 use mv instead of rename as that does not support cross volume operations"
...
This reverts commit d61d260ef1 .
2016-12-14 23:17:02 +01:00
Flavio Copes
d61d260ef1
Fix #635 use mv instead of rename as that does not support cross volume operations
2016-12-14 22:40:42 +01:00
Djamil Legato
1125b51f27
Fixed case where extracting a package would cause an error during rename
2016-12-13 18:45:34 -08:00
Andy Miller
d23f829559
prepare for release
2016-12-13 13:05:57 -07:00
Matias Griese
9db04abd1c
Add support for calling Media object as function to get medium by filename
2016-12-12 09:31:33 +02:00
Andy Miller
156f645576
Set Grav to be in 'testing' while in RC state
2016-12-11 18:22:54 -07:00
Flavio Copes
d3b654bdb0
Added checks before accessing admin reference during Page::blueprints() call
2016-12-10 18:34:13 +01:00
Andy Miller
7ed078ce31
unused 'use' statements
2016-12-08 16:10:44 -07:00
Andy Miller
3c6df48b8b
Insight fixes
2016-12-08 15:49:45 -07:00
Matias Griese
833cd497bb
YAML syntax fixes
2016-12-08 12:57:40 +02:00
Matias Griese
625f3d3a34
Better error handling in cache clear
...
Added new parameter `remove` for `onBeforeCacheClear` event
2016-12-08 12:57:18 +02:00
Andy Miller
380157f9cc
prepare for release
2016-12-07 16:05:12 -07:00
Andy Miller
74c005d39c
Added new onBeforeCacheClear event
2016-12-07 14:48:00 -07:00
Aaron Dalton
7b2716dab1
Added warning to command when new Grav version is available ( #1194 )
2016-12-07 14:16:00 -07:00
Djamil Legato
906c090bd4
Fixed issue with redirect of a page getting moved to a different location
2016-12-07 12:56:00 -08:00
Matias Griese
83fdecbdd1
Added stream support for images ()
...
Added stream support for links (`[Download PDF](user://data/pdf/my.pdf)`)
2016-12-07 19:51:06 +02:00
Flavio Copes
6c1a76b901
Use permissions field in group details. Fix saving permissions
2016-12-05 19:17:46 +01:00
Flavio Copes
896fb8138b
Fix #1184 Fix issue with using a multiple taxonomy filter of which one had no results
...
If there are 2+ taxonomies required but one has 0 items, it was just
picking the ones corresponding to the other taxonomy, thus generating a
wrong result. Adding an empty array will later make array_intersect_key
generate an empty array if the operation is `and`
2016-12-03 13:47:25 +01:00
Fredrik Ekelund
36428e4735
Added ability to pass an array of explicit widths to ImageMedium#derivatives ( #1133 )
...
* Added ability to pass an array of explicit widths to ImageMedium#derivatives
Allows for more precise control than the min-width, max-width and
step parameters.
* ImageMedium#derivatives can now be called with an array from Markdown as well
Previously it was only possible from Twig code or PHP code
2016-12-02 10:21:59 -07:00
Vivien HAAG
10da784d53
Fix Page Collections problem with @page.modular ( #1178 )
2016-12-02 10:16:05 -07:00
Djamil Legato
52b68a0a1b
Add range(int min, int max, int step) twig function to generate an array of numbers between min and max, inclusive
2016-12-01 12:40:21 -08:00
Matias Griese
6315283a3a
Fix publish date ordering
2016-11-29 12:29:16 +02:00
Flavio Copes
d8b3f215a2
Use new permissions field in user account
2016-11-28 19:00:25 +01:00
Flavio Copes
3838de1d97
If an array field has ignore_empty: true, only save options with a value
2016-11-28 18:59:41 +01:00
Flavio Copes
f6ddba52d8
Added alias selfupdate to the self-upgrade bin/gpm CLI command
2016-11-28 13:27:23 +01:00
Andy Miller
f7b35c3b79
Updated version
2016-11-26 20:22:33 -07:00
Flavio Copes
3064fe8ad9
Fix #713 Remove mappings missing if not cloned from github
2016-11-25 18:33:52 +01:00
Matias Griese
287a329a4d
Added two new sort order options for pages: publish_date and unpublish_date
2016-11-24 15:03:51 +02:00
Flavio Copes
923b2469f9
Fix https://github.com/getgrav/grav-plugin-admin/issues/874 use updated class namespace
2016-11-24 13:50:15 +01:00
Flavio Copes
55bb4cf2fa
Fix #1179 issue when we have a meta file without corresponding media
...
Also update changelog entries
2016-11-22 17:22:27 +01:00
Flavio Copes
5105be338a
Decode single taxonomy params ( #1164 )
...
Allows to use commas in taxonomy terms
2016-11-19 11:32:54 -07:00
Amélie Turgeon
20e36c8a00
Add 2 new language values for French ( #1174 )
...
set the name and native name for these two.
(fr-FR and fr-CA)
2016-11-19 11:32:05 -07:00
Flavio Copes
9dd4f690a8
Allow to override sorting flags for page header-based or default ordering. ( #1173 )
...
If the `intl` PHP extension is loaded, only these flags are available:
https://secure.php.net/manual/en/collator.asort.php . Otherwise, you can
use the PHP standard sorting flags
(https://secure.php.net/manual/en/array.constants.php )
[#1169 ](https://github.com/getgrav/grav/issues/1169 )
2016-11-19 11:29:28 -07:00
Matias Griese
9a15b5ebdc
Multisite: Create image cache folder if it doesn't exist
2016-11-15 16:10:34 +02:00
Andy Miller
5c003d38be
Ready for an RC.1 release
2016-11-09 10:58:13 -07:00
Andy Miller
95ab80b8f9
Added message service into core Grav
2016-11-09 10:48:36 -07:00
Andy Miller
079468c609
Added User::find() method
2016-11-08 11:17:01 -07:00
Andy Miller
7c98ca7134
Added Base32 encode/decode class
2016-11-07 12:19:04 -07:00
Matias Griese
fbf9c345b9
Fixed URI path in multi-site when query parameters were used in front page
2016-11-07 08:45:02 +02:00
Andy Miller
491e73eade
Fixed CompiledJsonFile as it was not caching properly
2016-11-04 06:47:27 -06:00