Matias Griese
7371a11891
Deprecated GravTrait
2017-04-21 21:34:41 +03:00
Matias Griese
48d5183e07
Added Debugger::getCaller() to figure out where the method was called from
2017-04-21 21:33:35 +03:00
Matias Griese
28d3866eb0
Minor code improvements on processors
2017-04-21 13:26:39 +03:00
Matias Griese
f5517035ba
Merge branches 'develop' and 'feature/objects' of https://github.com/getgrav/grav into feature/objects
2017-04-21 12:23:53 +03:00
Matias Griese
bc9dfe736d
Move output handling into the render processor
2017-04-21 12:23:19 +03:00
Matias Griese
aee07203a2
Add support for custom output providers like Slim Framework
2017-04-21 11:22:08 +03:00
Andy Miller
13b3b9875e
Should address uery strings at the root of multilang sites #1436
2017-04-20 11:02:54 -06:00
Matias Griese
7fc92dcaa2
Merge branch 'develop' of https://github.com/getgrav/grav into feature/objects
2017-04-20 15:48:32 +03:00
Matias Griese
6539931387
Add support for extra context vars in Twig::processSite()
2017-04-20 15:46:59 +03:00
Andy Miller
85a25d0adc
Fix for Gantry5 init'ing theme as well as Admin plugin
2017-04-19 17:08:56 -06:00
Andy Miller
7bbcefbb4d
Prepare for release
2017-04-19 15:59:48 -06:00
Matias Griese
bd2f06e72f
Merge branch 'develop' of https://github.com/getgrav/grav into feature/objects
2017-04-19 14:41:29 +03:00
Matias Griese
bc6bf737b9
Add Pages::baseUrl(), Pages::homeUrl() and Pages::url() functions and use them
2017-04-19 14:30:34 +03:00
Andy Miller
00206d5957
Merge branch 'develop' of https://github.com/getgrav/grav into develop
2017-04-14 11:39:29 -06:00
Andy Miller
d214bb5b94
Improved getList() method to do more stuff
2017-04-14 11:39:24 -06:00
Ole Vik
1203b0d900
Fix typo in GPM.php ( #1427 )
2017-04-14 13:29:05 +02:00
Andy Miller
c06b2573a1
Added new pwd_regex and username_regex system configuration options
2017-04-13 15:03:20 -06:00
Benny
50dd834bc4
Allow user/account.yaml overrides + implemented more robust theme init ( #1416 )
...
* Allow `user/accounts.yaml` overrides and implemented more robust theme initialization
* Allow to override `theme://` in theme config
2017-04-13 14:38:54 -06:00
Matias Griese
7b13ceb9a3
Add new ContentBlock classes
2017-04-13 12:04:31 +03:00
Matias Griese
22effeac42
Move new Collection/Object classes into Grav\Framework
2017-04-13 12:04:14 +03:00
Matias Griese
0e77103883
Merge branches 'develop' and 'feature/objects' of https://github.com/getgrav/grav into feature/objects
...
# Conflicts:
# composer.lock
2017-04-12 20:58:10 +03:00
Andy Miller
56e58f3b5e
Return "" if no childType set rather than default
2017-04-12 10:28:55 -06:00
Andy Miller
0fe676c34b
Preparing release
2017-04-11 14:21:03 -06:00
Andy Miller
60f97f27be
Fix for redirects breaking #1420
2017-04-11 13:32:25 -06:00
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