Thomas Reynolds
a47b2138f8
Add specific check for TLD-like strings when replacing inline urls. Fixes #1751
2016-01-14 14:29:45 -08:00
Thomas Reynolds
be2788b6ca
Fix automatic images with absolute (or images dir missing) paths in markdown. Fixes #1755
2016-01-14 14:14:50 -08:00
Thomas Reynolds
ff9c34bca9
Allow sorting of rewriters. Fixes #1752
2016-01-14 14:02:33 -08:00
Thomas Reynolds
d82ac590db
Cop
2016-01-14 11:21:42 -08:00
Thomas Reynolds
5f8beba4b3
Perf
2016-01-14 11:05:41 -08:00
Thomas Reynolds
c213bd19df
Move block run
2016-01-12 17:11:56 -08:00
Thomas Reynolds
8daa5eba3e
Add back app.ignore
2016-01-12 10:53:25 -08:00
Thomas Reynolds
95c7a53291
Convert more basic config commands to ConfigExtensions
2016-01-12 10:38:53 -08:00
Jim Dalton
f954415c95
Add app method to detect mode
2016-01-11 14:24:28 -08:00
Thomas Reynolds
edd5eb2057
Prep
2016-01-11 13:58:19 -08:00
Thomas Reynolds
179268a4f6
Create ConfigExtension to simplify the APIs for config vs Step. Fixes #1743 . Fixes #1745
2016-01-11 13:05:41 -08:00
Thomas Reynolds
98fe7ce7d2
WIP encoding test
2016-01-10 17:24:43 -08:00
Thomas Reynolds
c6401f1cd9
Fixes #1716
2016-01-10 17:14:41 -08:00
Thomas Reynolds
5cac6a1896
Add test for #1718
2016-01-10 16:56:18 -08:00
Thomas Reynolds
b4a6a503b3
Fixes #1719
2016-01-10 16:47:24 -08:00
Thomas Reynolds
47d0e1cb7b
update changelog
2016-01-10 16:47:24 -08:00
Nathan Feaver
17df162e7b
consider all MS Office files to be binary
2016-01-10 06:28:18 -07:00
Nick Muerdter
37be89ed68
Add rewrite_ignore option to asset_host, cache_buster, relative_assets.
2016-01-09 08:06:47 -07:00
Nick Muerdter
0563523a81
Add rewrite_ignore option to asset_hash extension.
...
This allows for configuring the files that will be skipped when
performing URL rewriting on the file content. This differs from the
existing `ignore` option, which configures the files that won't have
hashes added to the filename.
2016-01-08 15:04:45 -07:00
Thomas Reynolds
1e8080b44c
Merge pull request #1739 from douo/patch-1
...
Fixes #1723
2016-01-07 11:38:06 -08:00
Tiou Lims
a7631b2f0d
Fixes #1723
2016-01-07 23:23:50 +08:00
Johnny Shields
133c02d05c
Add SVG to the default list of gzipped exts
2016-01-07 09:43:35 +09:00
Thomas Reynolds
1605f425e8
Fixes #1733
2016-01-05 10:58:22 -08:00
Thomas Reynolds
bfb6a7fa16
Merge pull request #1725 from maxmeyer/feature/phantomjs
...
Added phantomjs as gem to make test suite pass
2016-01-05 10:34:46 -08:00
Thomas Reynolds
62b17d38ad
Merge pull request #1734 from GhostGambler/issue-1702
...
Issue #1702
2016-01-05 09:50:41 -08:00
Ulrich Gabor
298b3909ed
First fix to actually use the encoding option again
2016-01-05 15:15:06 +01:00
Ulrich Gabor
1ca5be7b19
Tests for issue #1702
2016-01-05 15:15:01 +01:00
Ulrich Gabor
bdeb19059a
Test for issue 1709; parent relations with localized and non-localized sources
2016-01-05 15:08:26 +01:00
Dennis Günnewig
b0a4d53963
Added phantomjs as gem to make test suite pass
2016-01-01 20:51:26 +01:00
Thomas Reynolds
5684caeee6
Merge pull request #1721 from bhollis/issue1721-relative-paths
...
relative URLs don't work in image_tag
2015-12-30 16:04:09 -08:00
Ben Hollis
9311a72e4a
Use our relative_path_from_resource helper in asset_url.
2015-12-28 20:52:22 -08:00
Ben Hollis
412f6ac1fc
Fix #1721 by passing through options to url_for.
2015-12-28 20:52:22 -08:00
Ben Hollis
d464162e8e
Fix #1715 by passing along path in DefaultHelpers#asset_url.
2015-12-28 17:40:21 -08:00
Thomas Reynolds
4a8cd4c3d2
fix extension test
2015-12-21 13:27:44 -08:00
Thomas Reynolds
a5821bccec
Fix asset hash with query string or hash params. Closes #1411
2015-12-21 13:07:01 -08:00
jordanandree
e035d625c8
skip front matter on ingored resources
2015-12-17 14:01:37 -05:00
Thomas Reynolds
b2b461935d
Here we go
2015-12-15 19:58:04 -08:00
Thomas Reynolds
9e5b137ed8
Really fix #1689
2015-12-15 09:58:22 -08:00
Thomas Reynolds
6af784d5d5
One more RC
2015-12-14 11:02:07 -08:00
Thomas Reynolds
0e620a1ba1
Resolve Contracts warning
2015-12-14 10:22:27 -08:00
Johnny Shields
308ea6db5a
Include :locales and :data in live-reloadable types
2015-12-14 09:51:25 -08:00
Jim Dalton
f3296815c8
Add explicit option to prevent external option from running in background
2015-12-13 22:12:11 -08:00
Thomas Reynolds
4122bd7351
Add back compass sprite prerender step
2015-12-13 14:30:10 -08:00
Thomas Reynolds
defa6daa6d
pt 3
2015-12-13 14:19:33 -08:00
Thomas Reynolds
82220eab4e
fix git issue pt 2
2015-12-13 14:19:05 -08:00
Thomas Reynolds
3c1d28ce1b
fix git issue pt 1
2015-12-13 14:18:54 -08:00
Thomas Reynolds
01f899f529
Print a failing build so I can debug on travis
2015-12-13 13:59:44 -08:00
Thomas Reynolds
b6befd3fc3
Rubocop and disable an annoying test
2015-12-13 13:29:33 -08:00
Thomas Reynolds
28a0071be7
Rename langs to locales in i18n. Provide backwards compat. Closes #1652
2015-12-13 13:20:48 -08:00
Thomas Reynolds
76f591788e
Change inline URL matcher to only match strings, not newlines. Fixes #1689
2015-12-13 13:06:05 -08:00
Thomas Reynolds
d3a5494062
Handle invalid URLs in rewriter. Fixed #1638
2015-12-13 12:32:21 -08:00
Thomas Reynolds
2674981d0b
Fix yesterday's bone-headed commit. again
2015-12-09 17:08:58 -08:00
Thomas Reynolds
9b0b82c00b
Fix yesterday's bone-headed commit
2015-12-09 17:03:55 -08:00
Thomas Reynolds
cb6e8bcd95
Fix first-run issue with pipeline
2015-12-08 14:46:03 -08:00
Thomas Reynolds
2178a755e2
Minor SassC load_paths fix
2015-11-30 17:40:14 -08:00
Thomas Reynolds
7b3f5384e9
Add SassC message
2015-11-30 17:29:46 -08:00
Thomas Reynolds
07a216d5ca
Remove sprockets/compass references
2015-11-30 17:14:02 -08:00
Thomas Reynolds
578ff18fa0
Bump some deps
2015-11-30 16:58:17 -08:00
Thomas Reynolds
ae15d203a8
Fix some tests
2015-11-28 19:32:45 -08:00
Thomas Reynolds
e47b0ae29a
import_file and import_path APIs. Addresses #1632
2015-11-28 18:03:05 -08:00
Thomas Reynolds
16b997498b
Generic related files check
2015-11-28 16:48:08 -08:00
Thomas Reynolds
a546e0f523
See if that fixes travis
2015-11-28 14:51:37 -08:00
Thomas Reynolds
f2db1567a4
Use SassC in tests
2015-11-27 16:19:26 -08:00
Thomas Reynolds
6de88a832e
Make Ruby Sass the default, but use SassC if available. Addresses #1648
2015-11-27 15:41:42 -08:00
Thomas Reynolds
dd0ee24ca3
Work around Listen :only weirdness. Addresses #1637
2015-11-27 15:26:46 -08:00
Thomas Reynolds
822a9f0ecc
Fix layout detection on non-html files
2015-11-27 14:26:34 -08:00
Thomas Reynolds
4594f46fb8
Minor tweak to #1695
2015-11-27 14:16:55 -08:00
Johnny Shields
13a14d43d4
In SourceWatcher, add a subroutine to find files which should be considered "also dirty" when a given file is touched.
2015-11-27 15:20:20 +09:00
Steven Sloan
6ab6669456
fix(Util::asset_url): allow use without passing a current_resource
...
Most cases the current_resource isn’t actually needed, so calls could be made
from extensions and still get the correct path back.
An exception will be raised with a descriptive message if the current_resource
is needed but not given. (for example, if relative is true — it needs a resource
to base the url on)
2015-11-13 16:48:52 -05:00
Steven Sloan
49a7435dc9
spec(Util::asset_url): add specs covering each conditional branch
2015-11-13 16:37:58 -05:00
Steven Sloan
f16fc2229e
feat(testing): add a fixture/file helper for rspec tests
2015-11-13 16:34:08 -05:00
Thomas Reynolds
37d96a9b14
Adapt to style changes and removal of on
2015-11-11 15:30:40 -08:00
Dennis Günnewig
8c7e156bd4
Make middleman's preview server a daemon
2015-11-11 23:28:38 +01:00
Thomas Reynolds
916a5a508b
fix some tests
2015-11-11 13:46:09 -08:00
Thomas Reynolds
b4457c98d2
Merge pull request #1647 from middleman/frontmatter_delims
...
Frontmatter delims
2015-11-11 13:20:15 -08:00
Thomas Reynolds
684a80c906
Change no-layout to the default, except for .html
2015-11-11 12:58:07 -08:00
Dennis Günnewig
0f8ea86119
Add hook for before_server
2015-11-08 11:03:25 +01:00
Dennis Günnewig
a61b2e3b87
Move HTTPS to server_information
2015-11-07 18:50:55 +01:00
Dan Allen
c48c81cbba
resolves #1656 don't mangle URL inside tag
2015-10-26 15:30:44 -06:00
Dan Allen
4995bd23d7
resolves #1653 don't rewrite paths that start with //
2015-10-26 00:39:48 -06:00
Eliott Appleford
19d21d2295
make frontmatter delims configurable
2015-10-23 09:40:24 +00:00
Thomas Reynolds
3cd84eb4d1
move_file as a replacement for import_asset
2015-10-22 20:23:39 -07:00
Thomas Reynolds
62d7fa0676
remove unused file
2015-10-12 12:37:42 -07:00
Thomas Reynolds
d2251de898
Bump Padrino
2015-10-12 12:37:33 -07:00
Thomas Reynolds
6357f4f5b8
Add back app.set, but mark as deprecated
2015-10-12 12:37:07 -07:00
Thomas Reynolds
eb82f402a0
gem bumps
2015-10-05 09:48:17 -07:00
yuuji.yaginuma
e26f83e1c2
remove unnecessary require
...
`require 'rubygems'` is already required in Ruby 1.9 or later.
2015-10-04 07:24:21 +09:00
Thomas Reynolds
e9abfe1134
rubocop
2015-10-01 13:54:54 -07:00
inoue_sachiro
67fc3d0c05
Fix: Can't clean files when the project is under a hidden directory.
2015-10-01 13:54:45 -07:00
Thomas Reynolds
fd6a2376bd
Fix frontmatter on 2.0
2015-10-01 10:25:53 -07:00
Thomas Reynolds
d828067189
Fix sass helpers in SassC context
2015-09-30 11:16:57 -07:00
Thomas Reynolds
0698d7f5aa
Revert "Frontmatter parseing changes broke some whitespace in tests, but shouldn't be a regression"
...
This reverts commit 5e3ddbf988
.
2015-09-30 10:24:12 -07:00
Eliott Appleford
b389c26b4e
Fix frontmatter regex
2015-09-30 04:58:59 +00:00
Eliott Appleford
9df1a45301
Strip newline after frontmatter
...
Closes #1610
2015-09-30 05:00:57 +01:00
Thomas Reynolds
5e3ddbf988
Frontmatter parseing changes broke some whitespace in tests, but shouldn't be a regression
2015-09-29 10:27:53 -07:00
Thomas Reynolds
d9fc7a95e1
Fix a bad i18n regression
2015-09-28 14:52:16 -07:00
Thomas Reynolds
04c133c90f
Fix minify css tests
2015-09-28 13:58:49 -07:00
Thomas Reynolds
32891dc6fe
SassC, woot
2015-09-28 11:24:37 -07:00
Eliott Appleford
97cd1c1411
Fix JSON frontmatter parsing
2015-09-24 20:27:36 +01:00
Thomas Reynolds
fe66beacc3
Test fix WIP
2015-09-23 16:20:16 -07:00
Eliott Appleford
ddc4a3cabc
Update data.rb
2015-09-23 23:40:42 +01:00
Eliott Appleford
47bdcb2d9c
Fix frontmatter parsing changes from #1608
...
Only allow frontmatter at the top of the page:
Now manually removing encoding lines as before
Fix handling of postscript data:
If there is no frontmatter and the filetype is known,
parse the whole file
Allow empty frontmatter
Update the documentation comments
2015-09-23 21:45:52 +00:00
Eliott Appleford
11fc90f93c
Merge pull request #1604 from middleman/frontmatter
...
Refactor frontmatter parsing
2015-09-21 13:33:43 +01:00
Eliott Appleford
91a06a1a35
Refactor util/data.rb further
2015-09-20 12:34:15 +00:00
Eliott Appleford
62f431b5ae
Refactor frontmatter parsing
...
Closes #1603
2015-09-20 12:24:48 +00:00
Thomas Reynolds
d3d32731e1
more test fixes
2015-09-19 16:00:38 -07:00
Thomas Reynolds
765de5ab11
Remove ancient twitter bootstrap test. Use npm or bower, y'all
2015-09-19 14:39:55 -07:00
Thomas Reynolds
3e1fc0aa1f
Change test to respect global relative assets change
2015-09-19 14:26:30 -07:00
Thomas Reynolds
3ae28874bf
Fix test breakage
2015-09-19 14:07:42 -07:00
Thomas Reynolds
2907761556
tweak logger ref
2015-09-17 14:46:27 -07:00
Thomas Reynolds
fdabd87957
merge in fixes from stable
2015-09-17 13:53:43 -07:00
Thomas Reynolds
409a892da7
Forward port some stable changes
2015-09-17 09:41:17 -07:00
Thomas Reynolds
a251c82562
Add test for #1568
2015-09-17 09:25:04 -07:00
Thomas Reynolds
8c02eb2a26
Some tweaks to get blog working
2015-09-14 17:37:35 -07:00
Thomas Reynolds
40f023f01c
Let's do this
2015-09-12 16:15:32 -07:00
Thomas Reynolds
441dc2faa6
Revert breaking resource source_file api. For #1595
2015-09-09 11:55:56 -07:00
Rafał Komorowski
0d4d82a01a
Update middleman-livereload version to more current
...
As discussed https://github.com/middleman/middleman-livereload/issues/69 but I forgot to apply the fix to source code inside MM. @tdreyno, should it be `~> 3.3.0` or `~> 3.4.0`? I looked into 3.4 changes and they seem to be MM v4 related?
2015-09-03 18:25:43 +02:00
Thomas Reynolds
d849930e51
Don't set mode AND environment with the same ENV
2015-09-01 09:58:13 -07:00
Thomas Reynolds
5cab7c46a9
Store intermediate resources in reducer so the array is not empty the first run. Addresses #1590
2015-08-31 11:18:45 -07:00
Brad Gessler
8bdeab50ee
Fix typo in server CLI.
2015-08-28 13:08:56 -07:00
Thomas Reynolds
f76561d101
Add logger require in rack. Addresses #1550
2015-08-28 09:58:10 -07:00
Thomas Reynolds
9ed0796b4a
Move some extension setup to ready event
2015-08-20 17:45:18 -07:00
Thomas Reynolds
3485f49f74
Use Hashie Mash for recursive indifferent
2015-08-18 16:22:32 -07:00
Thomas Reynolds
0861fad2e1
Adding ignore
2015-08-17 15:59:48 -07:00
Thomas Reynolds
241fe69f7d
Adding ignore
2015-08-17 14:33:19 -07:00
Thomas Reynolds
9886e04a95
Patch around seemingly invalid logic in Listen v3
2015-08-17 14:28:15 -07:00
Thomas Reynolds
226099d64e
Bump listen for test
2015-08-17 10:55:34 -07:00
Thomas Reynolds
50bf848ee8
Add config CLI command
2015-08-17 10:48:56 -07:00
Thomas Reynolds
bb6b8c7f13
Replace Hamster hash for user-accessible data with Hashie Indifferent access
2015-08-12 15:29:06 -07:00
Thomas Reynolds
fb6bca234f
Update to newer cucumber and aruba
2015-08-10 16:58:36 -07:00
Jim Dalton
1a3f96b58f
Fix misnamed config value which was causing --force-polling flag to be ignored by file_watcher extension
2015-08-10 15:04:47 -07:00
Thomas Reynolds
8cce9b8a8c
Loudly announce external pipeline errors and exit with failure.
2015-08-10 10:00:23 -07:00
Thomas Reynolds
dcbeb7dc76
Remove fivemat
2015-08-06 11:06:34 -07:00
Thomas Reynolds
0fba2ae2f6
Fix config meta page
2015-08-05 13:37:03 -07:00
Thomas Reynolds
a528659034
Bump listen to 3.0
2015-07-24 14:20:04 -07:00
Dennis Günnewig
63e9cd9b5f
Substitue whitespace in name
2015-07-24 13:48:32 -07:00
Thomas Reynolds
c69099c451
Really fix #1568
2015-07-24 13:46:33 -07:00
Thomas Reynolds
0a8ceb24b0
Add test for #1568
2015-07-20 12:13:10 -07:00
Mauro Otonelli
dcc52d967c
Applied Rubocop feedback.
2015-07-19 20:45:45 -03:00
Eliott Appleford
4364d754a5
Merge pull request #1564 from mauro-oto/remove_dir_related_deprec_warnings
...
Removed most deprecation warnings from the build.
2015-07-17 01:07:17 +01:00
Thomas Reynolds
d2f8dc9932
Merge pull request #1528 from maxmeyer/feature/listener
...
Support Bind to address for middleman
2015-07-16 15:12:09 -07:00
Thomas Reynolds
df13c62a6b
Revert "Attempt to help #1563 "
...
This reverts commit 55f909d9cf
.
2015-07-16 11:34:46 -07:00
Mauro Otonelli
68a6eacc33
Removed most deprecation warnings from the build.
2015-07-15 22:03:41 -03:00
Thomas Reynolds
55f909d9cf
Attempt to help #1563
2015-07-15 14:08:51 -07:00
Mauro Otonelli
63d6a00ed9
Use native Ruby JSON implementation instead of ActiveSupport's.
2015-07-14 19:30:17 -03:00
Mauro Otonelli
c14fd72d04
Remove unused integer/inflections extension.
2015-07-14 19:26:59 -03:00
Max Meyer
6aa7ce741a
Refactor preview server to support server_name and bind_address
2015-07-01 20:56:56 +02:00
Max Meyer
232aca91bc
Make testing a little bit easier and require features-directory to make subdirectories in cucumber work
2015-07-01 20:56:48 +02:00
Thomas Reynolds
724e249b49
Experiment with activersupport bump
2015-06-23 15:53:12 -07:00
Thomas Reynolds
9abcdaa7f7
Experiment with activersupport bump
2015-06-23 15:49:36 -07:00