Andy Miller
7ba69dd5a1
Fixed Pages test
2017-04-14 12:38:59 -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
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
06e880de57
Fixed a bad method signature causing warning when running tests on GPMTest object
2017-04-01 22:13:43 -06:00
Andy Miller
da2a0f507b
Added a fragment + query test
2017-02-26 14:10:43 -07:00
A----
108312e8c0
Provided empty alt if '' is supplied ( #1262 )
...
* Provided empty alt if '' is supplied
* Fixing some tests
* Regexp tests
* Again.
2017-01-26 16:30:39 -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
Adam Roe
cd15b9197b
Don't truncate HTML if content length is less than summary size ( #1125 ), fixes #1114
2016-10-25 16:25:56 +02:00
Andy Miller
b42366cad2
remote image test
2016-10-19 13:28:35 -06:00
Andy Miller
4715ab7057
One more test
2016-10-11 15:53:31 -06:00
Andy Miller
8d84b94bc7
Some cleanup and a working test
2016-10-06 19:01:48 -06:00
Andy Miller
9a21792b27
Refactored into Excerpts helper but multilang broken
2016-10-06 18:05:56 -06:00
Andy Miller
c6f8fe259a
Removed duplicate method Grav::mime() and used existing (renamed) Utils::getMimeByExtension(), also added Utils::getExtensionByMime()
2016-10-01 17:16:35 -06:00
Andy Miller
53baf47e58
Fixed an issue with inflectorFilter test
2016-09-30 19:11:25 -06:00
Andy Miller
a54f30b8ae
Revamped the Html Truncator code to address issues with invalid HTML #1019
2016-09-06 15:38:36 -06:00
Andy Miller
69133c9118
181st day is in June!
2016-09-01 12:54:33 -06:00
Andy Miller
b58d107ba7
Added RTL in LanguageCodes plus ::getOrientation() and ::isRtl() methods
2016-08-24 16:22:19 -06:00
Andy Miller
5ca2bf4ae8
removed safe email test.. It's random now, not much to test.
2016-08-22 13:50:18 -06:00
Andy Miller
deda94a779
Fix for image not rendering 'id' attribute - #956
2016-08-11 09:56:27 -06:00
Andy Miller
07d95d189c
Added logic to not add timestamp on remote references.
2016-08-01 16:20:02 -06:00
Benny
1fb2d7333c
Feature: Better assets pipelining ( #917 )
...
* Add smart assets pipeline generation
* Drop cache key
* Fix absolute path generation in `buildLocalLink`
* Add unit test case
2016-07-11 13:06:05 -06:00
Andy Miller
4de9c94bd5
Remove double URL encode when processing params in links - #860
2016-05-30 17:14:21 -06:00
Andy Miller
7fc2f20f1b
Better handling of params with more complex Urls - #859
2016-05-30 16:41:07 -06:00
Andy Miller
78891add6a
setDotNotation() Test added
2016-05-25 11:12:56 -06:00
Andy Miller
892fb83a32
Replace remove with dotNotation() methods
2016-05-25 11:05:52 -06:00
Flavio Copes
0a8fd26e04
Use correct version number we'll use
2016-04-20 16:11:16 +02:00
Flavio Copes
2e89ea5f19
Make sure alpha / beta / rc releases for 2.0.0 are included in ~2.0
2016-04-20 15:56:52 +02:00
Flavio Copes
5213867611
Don't load plugins and themes in tests
2016-04-14 20:04:38 +02:00
Flavio Copes
a778878ec5
Fix reinitializing Grav in tests
2016-04-14 19:40:13 +02:00
Flavio Copes
e58994d196
Initialize stream in test
2016-04-14 19:25:35 +02:00
Flavio Copes
773e3b68ef
Simplify test initialization code
2016-04-14 18:54:29 +02:00
Flavio Copes
b4cdeba4cf
Drop seconds test
...
Caused false negatives on Travis
2016-04-12 16:36:52 +02:00
Andy Miller
63c2db5c85
Fix for non http/s external links - #738
2016-04-10 19:26:06 -06:00
Flavio Copes
c47c4bcbf5
Test adding rel attribute to CSS assets group
2016-04-07 13:28:55 +02:00
Andy Miller
d349e5d67b
Support localhost environments based on hostname for vhost support - #772
2016-04-06 12:03:39 -06:00
Flavio Copes
2dce488e77
Modify test accordingly to new method behavior
2016-03-14 16:14:36 +01:00
Flavio Copes
db664b2762
Move common GPM methods from InstallCommand to Common\GPM\GPM. Move tests too
2016-03-06 17:25:56 +01:00
Andy Miller
14353c50d8
added fragment support to URI #711
2016-03-04 16:33:18 -07:00
Flavio Copes
0d77e31036
Changing the month, the monthize() results changed. Take that into account for tests
2016-03-01 11:33:21 +01:00
Flavio Copes
4cd0198bd7
Merge branch 'develop' into feature/dependencies
2016-03-01 11:28:20 +01:00
Flavio Copes
ff7d8a4391
Rename dependencies_versions to dependencies in tests
2016-02-29 16:40:21 +01:00
Flavio Copes
aa1b716469
Fix $grav property initialization in tests
2016-02-25 16:59:39 +01:00
Flavio Copes
6791244e38
Merge branch 'develop' into feature/reset-grav-every-test
2016-02-25 16:52:56 +01:00
Andy Miller
f74562987d
Fix for pure URL fragment getting Url prepended - #701
2016-02-24 14:45:57 -07:00
Andy Miller
89fbd4c2bf
Added a regex_replace twig filter/function
2016-02-24 12:07:21 -07:00
Flavio Copes
797e513395
Make sure version dependencies work with alpha / beta / rc versioning too
2016-02-23 22:07:56 +01:00
Flavio Copes
af4a1b884a
Merge branch 'develop' into feature/dependencies
2016-02-23 15:43:21 +01:00
Tyler Cosgrove
01af9dfc46
More TwigExtension Tests
2016-02-21 22:18:26 -05:00
Tyler Cosgrove
bd14963992
Add more TwigExtension tests
2016-02-21 21:18:59 -05:00
Tyler Cosgrove
592fc1b471
Merge remote-tracking branch 'upstream/develop' into develop
2016-02-19 14:10:33 -05:00