Flavio Copes
fafd72fcd8
Add a items() method that returns the Data::items array
2015-10-27 18:30:54 +01:00
hwmaier
5c9c378889
onTwigPageVariables event handler gets Page object passed
2015-10-27 23:04:21 +10:00
Andy Miller
8b414c388d
wrapped_site option in system.yaml
2015-10-26 17:14:58 -06:00
Thomas Breuss
293dfad87e
Use of capital and small initial letters
2015-10-26 19:35:08 +01:00
Flavio Copes
edf6f86cb5
Add a Utils::isPositive(). Use that.
2015-10-26 18:29:22 +01:00
Flavio Copes
d086664a61
Check a positive value, not just "true"
2015-10-26 18:06:28 +01:00
Andy Miller
95fd54d909
Moved grav variable into globals and removed from template variables
2015-10-25 16:49:28 -06:00
Andy Miller
79f6380aae
improved merging of meta tags into title/alt/class
2015-10-25 16:43:52 -06:00
Andy Miller
8478d690a0
Optimizations to the TAG regex handling for inline CSS/JS
2015-10-25 16:20:01 -06:00
Andy Miller
5db8197db2
use a regex to remove surrounding tags but not inline ones! #376
2015-10-24 22:35:44 -06:00
Andy Miller
8407e5b295
Metadata return a new Data object so nulls are possible #375
2015-10-24 16:01:22 -06:00
Andy Miller
3e3b4548e9
Fix for inline JS and HTML entities #376
2015-10-24 15:21:25 -06:00
Andy Miller
868a61dd34
Fail quietly if file doesn't exist
2015-10-24 14:53:16 -06:00
Andy Miller
a614c8c7cc
Added CSS Group asset support #374
2015-10-24 12:19:22 -06:00
Andy Miller
7a56a361a0
version update
2015-10-23 14:52:22 -06:00
Andy Miller
d54359d441
missing semicolons in safeEmailFilter()
2015-10-23 14:12:06 -06:00
Andy Miller
98d0538868
Option to allow all hidden files/folders #306
2015-10-23 10:23:01 -06:00
Andy Miller
f03921690c
Created system option for redirect code + allowed [30x] syntax on redirect urls
2015-10-22 14:37:38 -06:00
Andy Miller
46869de29c
don't do work if there are no assets found
2015-10-21 18:08:24 -06:00
Andy Miller
b7b29b3f84
Broke out pipeline into two methods for simplicity
2015-10-21 18:03:01 -06:00
Andy Miller
b9e1d9af6e
Fix for broken CSS caused by variable overwriting
2015-10-21 17:38:13 -06:00
Andy Miller
edf313a7a2
Fix for empty pipeline asset file
2015-10-21 17:21:14 -06:00
Andy Miller
4f22d1c918
Fix for #373 - pipeline not respecting asset groups
2015-10-21 16:06:56 -06:00
Andy Miller
98b8f1f9e5
Fix issue with empty yaml not creating an empty array with native YAML parser
2015-10-20 14:39:08 -06:00
Andy Miller
9324847bac
Added url_taxonomy_filters to the blueprints
2015-10-20 12:36:42 -06:00
Andy Miller
7c6471fe2a
Added option to disable url_taxonomy_filters for page collections globally in system.yaml or in content: page header
2015-10-20 10:53:08 -06:00
Mark de Raaf
667ad5c580
add dutch language file
2015-10-20 16:50:45 +02:00
Mark de Raaf
2e4866f5fa
Add dutch language file nl (nederland)
2015-10-20 16:07:57 +02:00
Andy Miller
077ba28706
Added support for collections with @root page and recurse flag
2015-10-19 15:12:21 -06:00
Andy Miller
ce4350bc63
Fix to address #361 - ability to have multiple collections in a regular list.
2015-10-19 11:18:16 -06:00
Andy Miller
7cb7891fa7
Always fallback to english if other languages translations are not available.
2015-10-19 10:00:44 -06:00
Andy Miller
3848a266d0
Merge pull request #370 from getgrav/feature/configure-mime-for-downloads
...
Use media.yaml to determine downloaded files mime type
2015-10-19 09:04:30 -06:00
Flavio Copes
29b8c1d124
Use the 'file' type for some of the recently added mime types
...
Anything that is an 'image' should be able to have the image
manipulations applied to it. So BMP, Tiff, etc are not valid images in
in this sense. Same goes for Videos, they must be able to be supported
with the tag. -> http://www.w3schools.com/html/html5_video.asp , so
basically that's only: MP4, WebM, and Ogg
Everything else should be under 'files' which are accessible via
media['files'] but not much can be done with them outside of getting
their URL or a simple HTML link
2015-10-19 16:46:26 +02:00
Flavio Copes
813ab70895
Add a remove function to User
2015-10-19 11:39:37 +02:00
Flavio Copes
efcaf00e88
Use media.yaml to determine downloaded files mime type
2015-10-19 10:02:17 +02:00
joomline
5857882417
Update ru.yaml
...
Fix languages
2015-10-16 21:33:07 +02:00
Flavio Copes
fe4d178fb4
Fix #366 SVG content type
2015-10-16 21:24:22 +02:00
joomline
373130d8ac
ru.yaml
...
Russian language for grav cms
2015-10-16 14:43:37 +02:00
Flavio Copes
8e781976eb
Fix #362 , correct Cache-Control: max-age value
2015-10-16 14:17:44 +02:00
Andy Miller
2b8adfee05
Make use of Native YAML parser if available (big speed boost!!)
2015-10-15 17:40:16 -06:00
Andy Miller
1f8aa032c4
ensconced leading @-based strings with quotes
2015-10-15 16:34:24 -06:00
Andy Miller
30f09994d6
Validate hostname to ensure no nefarious attacks are attempted by manipulating it.
2015-10-15 11:31:32 -06:00
Andy Miller
babd50fb6c
Safety check on empty path
2015-10-15 10:23:10 -06:00
Andy Miller
5da88d2751
Ensure error handler is initialized before URI is processed
2015-10-15 10:22:47 -06:00
Andy Miller
1f23f20163
remove multiple slashes in URI
2015-10-15 10:21:56 -06:00
Andy Miller
dadce54a6a
Turn off errors by default in preparation for 1.0
2015-10-15 09:58:43 -06:00
Sommerregen
2a6437a2f1
#357 Improved theme inheritance to support all kinds of streams
2015-10-14 18:22:51 +02:00
Andy Miller
52fcf7c39d
Added for consistency #356
2015-10-14 06:07:39 -06:00
Andy Miller
f47d3faea9
fix for redirecting to external URL when under a language #339
2015-10-13 21:49:37 -06:00
Andy Miller
d1e7ec2e22
Merge pull request #353 from Sommerregen/feature/theme-inheritance
...
Feature/theme inheritance
2015-10-13 17:10:46 -06:00