Flavio Copes
1d7f41e4a8
Fix #1405 issue in direct-install with github-style dependencies
2017-04-11 11:30:27 +02:00
Andy Miller
be94947d38
Prepare for release
2017-04-10 18:36:42 -06:00
Andy Miller
840a349ace
Updated changelog
2017-04-10 15:18:10 -06:00
Andy Miller
b85e595bbb
Little cleanup
2017-04-10 12:10:55 -06:00
Josh Weiss
082d4e3435
Ancestor and Inherited functions for Page & Pages ( #1362 )
...
* Ancestor and inherited functions for Page & Pages
Addes both helper methods to `Grav\Common\Page` and Grav instance utility functions to `Grav\Common\Pages`.
* Ancestor Page return considering field criteria
* Updates according to code review issue
Made changes to act on current Page object only for the Page functions
Changed variable name to better reflect the intention of the passed param for the Pages class functions
* Simplify duplicate code
* Simplify Pages logic
Simpilfied duplicate code. Also clarified variable naming for similar functions.
2017-04-10 12:00:58 -06:00
Andy Miller
8dc2ced94c
Fix for direct-install of plugins with languages.yaml #1396
2017-04-04 13:24:10 -06:00
OliverO2
f510e136c8
Add {'loading': 'inline'} option for Js and CSS assets ( #1377 )
...
* Assets.php: Extract common functionaly of addCss() and addJs() into
addTo(), make css() and js() honor $attributes['loading'],
make pipelineCss() and pipelineJs() return generated content
instead of URL depending on new option $returnURL.
* AssetsTest.php: Accept new 'loading' option for CSS, add tests for
adding and pipelining local and remote assets with inline loading.
2017-04-04 11:25:39 -06:00
Gilles van Eeden
4aa6dce853
add function isajaxrequest() ( #1400 )
...
* Update Taxonomy.php
* Update TwigExtension.php
* Update TwigExtension.php
Incorrect comment updated.
* Update TwigExtension.php
Add function ishuman() to detect agent disposition.
* Update TwigExtension.php
* Revert "Merge remote-tracking branch 'origin/develop' into develop"
This reverts commit 7a59a84290 , reversing
changes made to 102973d22c .
* Revert "Revert "Merge remote-tracking branch 'origin/develop' into develop""
This reverts commit 50fc775c69 .
* Attempt to resolve conflicts
* param comment corrected
* Update TwigExtension.php
* Update TwigExtension.php
* Update TwigExtension.php
* Update TwigExtension.php
* add isajaxrequest
Check HTTP_X_REQUESTED_WITH header. Non critical use only. Handy for
streamlining ajax presentation.
* remove ishuman
* remove Browser class
2017-04-04 08:53:27 -06:00
Flavio Copes
d338d79acb
When determining language from HTTP_ACCEPT_LANGUAGE, also try base language only ( #1402 )
...
Fixes Safari sending the language code always with a locale (e.g. it-it
or fr-fr)
2017-04-04 08:51:16 -06:00
Frédéric Potvin
459b7c4a33
Fix #1389 related to bin/gpm direct-install ( #1397 )
...
Add --all-yes and --destination options
Fix a problem where temporary package files will not be
cleaned upon command error.
2017-04-02 18:45:57 -06:00
Andy Miller
ca4f6f3c5c
Prepare for release
2017-03-31 11:28:34 -06:00
Andy Miller
6564ea98b1
Analysis fixes
2017-03-30 14:30:20 -07:00
Andy Miller
8fe018a7dd
Add file upload for user avatar in admin profile
2017-03-29 22:43:26 -07:00
Hugh Barnes
5c40337ff0
CSS pipeline rewrite URL fix for webserver root-based paths ( #1383 )
...
* Implement fix to not rewrite paths in CSS pipeline when CSS URLs use a path startng at webserver root (e.g. url('/path/to/asset')) - fixes #1382
* Amend CSS pipeline's resource location checking predicates to use Utils::startsWith, and consolidate into a single predicate
* Add back colon to data URL prefix test
Copy error in last commit would have broken any relative path beginning with the string 'data'
2017-03-26 17:50:22 -07:00
Frédéric Potvin
41e7142dfc
[ #1200 ] Clarified install and direct-install ( #1384 )
...
To help user that need to install specific version of a package.
So far it wasn't absolutely clear how to achieve and some
users ended up asking for help or opening issues asking
for the feature.
2017-03-26 10:02:50 -07:00
Andy Miller
f8fbc82196
Prepare for release
2017-03-22 17:30:00 -06:00
Andy Miller
c153039457
Fixed loading issues with improperly named themes #1373
2017-03-22 17:29:47 -06:00
Andy Miller
88ccc25c47
Added an admin only section for child ordering
2017-03-22 17:12:36 -06:00
Andy Miller
a1d4199e68
Merge branch 'feature/ordering-refactor' into develop
2017-03-22 12:09:47 -06:00
Andy Miller
30f8eca905
Allow Twig url() function to pass through external URLs
2017-03-22 12:04:24 -06:00
Andy Miller
ef7ff9ec4e
Improved reorder logic and removed old logic
2017-03-21 20:20:08 -06:00
Andy Miller
0d471599d7
Changed logic for order handling
2017-03-21 15:35:16 -06:00
Andy Miller
13bc19f1e3
Moved debugger logic to avoid null page instances.
2017-03-20 15:25:41 -06:00
Andy Miller
da61196b7b
Cleanup package files via GPM install to make them more windows-friendly #1361
2017-03-20 13:30:53 -06:00
Andy Miller
330a90b0ab
Added language_codes to Twig init to allow for easy language name/code/native-name lookup
2017-03-20 10:36:26 -06:00
Andy Miller
5c34556246
Fix for page-level debugger override changing the option site-wide
2017-03-20 10:19:37 -06:00
Andy Miller
10a15ef33f
Simplified some logic and fixed an issue with system-level process twig logic #1351
2017-03-19 21:24:46 -06:00
Andy Miller
4eebc81808
Merge branch 'develop' of https://github.com/getgrav/grav into develop
2017-03-18 13:54:29 -06:00
Andy Miller
cd37ea0689
Chaned image quality field to use new range field
2017-03-18 13:54:25 -06:00
ricardo118
7e50c340c7
Fix class for Config/System"Default ordering" ( #1359 )
...
Fix class for both "Default ordering" and "Append URL extension"
2017-03-18 11:50:37 -06:00
Ole Vik
701f18e782
Fix field class for Config/Site "Default language" ( #1357 )
2017-03-18 11:50:18 -06:00
Andy Miller
66a21db504
Prepare for release
2017-03-17 15:52:39 -06:00
Andy Miller
0290ffd26e
Added the ability for a specific page to disable debugger
2017-03-17 15:13:12 -06:00
Matias Griese
020cc6f39b
Merge remote-tracking branch 'origin/feature/objects' into feature/objects
2017-03-17 11:18:58 +02:00
Matias Griese
3897506c7f
Add ObjectCollectionTrait::group() function
2017-03-17 11:18:50 +02:00
Andy Miller
252b2f71a0
Stopped invalid derivates throwing fatal error #1341
2017-03-15 18:15:34 -06:00
Andy Miller
874160480f
Optimized theme autoloader to work with hyphenated classnames #1353
2017-03-15 17:21:49 -06:00
Andy Miller
79d6b8ab22
Set default release to testing during RC
2017-03-13 19:20:08 -06:00
Andy Miller
04228ecee9
Prepare for release
2017-03-13 18:38:06 -06:00
Andy Miller
3cf8bd5928
Improved evaluate() Twig function to use environment/context
2017-03-13 13:39:17 -06:00
Djamil Legato
9f57af80cf
Merge branch 'develop' into feature/objects
...
# Conflicts:
# CHANGELOG.md
2017-03-10 11:46:57 -08:00
Josh Weiss
c86d791d44
Fix for the blueprint fix. ( #1334 )
...
Discussed with @mahagr.
Saved YAML configs gave undesired extra parameter (!!float 1 for example) because floats were not being cast back to integers upon save. This was even true when the filterNumber function was giving back a correct parameter. filter_var from validateFloat was actually perserving the float variable type which the YAML engine perserved upon Yaml::dump.
This is a unconventional fix, but it is the simplest way to handle this edge case.
2017-03-09 07:54:26 -07:00
Andy Miller
ec9342ced1
Removed ID from nonce_field() twig function causing validation error
...
https://github.com/getgrav/grav-plugin-form/issues/115
2017-03-08 17:08:22 -07:00
Andy Miller
23ba8a1386
Fixed Page::expires(0) that was not getting picked up
2017-03-08 15:35:15 -07:00
Andy Miller
ebb8786cd9
Fixed Page::expires(0) that was not getting picked up
2017-03-08 15:34:54 -07:00
Matias Griese
703080a329
Start using StorageTrait for AbstractObject and AbstractObjectCollection
2017-03-07 15:45:15 +02:00
Matias Griese
c1ee217cef
Update Object classes
2017-03-07 12:06:26 +02:00
Matias Griese
d0eed03fef
Merge remote-tracking branch 'origin/feature/objects' into feature/objects
2017-03-06 18:59:04 +02:00
Matias Griese
9ba038b2b3
Implement ObjectStorageTrait
2017-03-06 18:58:55 +02:00
Matias Griese
34cff72fce
Add FilesystemStorage::exists()
2017-03-06 14:27:40 +02:00