Thomas Reynolds
4b53549ae4
Merge in recent changes from v3-stable
2014-04-08 09:27:18 -07:00
Thomas Reynolds
6d2f8cd50c
Add options hash to asset methods to allow special options to be passed through from extensions
2014-03-31 14:15:46 -07:00
Thomas Reynolds
1c37cc6a34
Merge pull request #1238 from bhollis/asciidoc
...
Remove Asciidoc support in favor of a middleman-asciidoc extension
2014-03-30 10:52:40 -07:00
Ben Hollis
5ce8549f03
Remove Asciidoc support in favor of a middleman-asciidoc extension.
2014-03-29 19:24:51 -07:00
Ben Hollis
c1f7299cfd
Fix some references to extensions[:frontmatter]
2014-03-29 17:21:49 -07:00
Ben Hollis
abeee38126
Remove yet another way to register extensions and register/activate FrontMatter like a normal extension.
2014-03-29 17:17:00 -07:00
Ben Hollis
a6c37f3dd3
Clean up extensions a bit. Removes newest form of registering extensions, more consistently sets and uses an extension's ext_name, and makes a lot of things errors instead of just log messages in hopes that people can't get too far with a messed-up config.
2014-03-29 14:29:42 -07:00
Ben Hollis
60f712e6ba
Merge branch 'v3-stable'
...
Conflicts:
.travis.yml
Gemfile
middleman-cli/lib/middleman-cli/build.rb
middleman-core/lib/middleman-core/core_extensions/file_watcher.rb
middleman-core/lib/middleman-core/templates.rb
middleman-core/lib/middleman-core/util.rb
middleman-core/middleman-core.gemspec
2014-03-25 22:35:19 -07:00
Thomas Reynolds
91675c4588
move sprockets init
2014-03-25 17:00:17 -07:00
Thomas Reynolds
37a8caf3fa
Bring back extension block register syntax. Closes #1192
2014-03-25 11:00:43 -07:00
Thomas Reynolds
ce7636ad18
remove Implied Extensions feature. Closes #1211
2014-03-20 17:12:41 -07:00
Thomas Reynolds
1721dff4c7
add node_modules to filewatcher ignore
2014-03-20 10:03:44 -07:00
Thomas Reynolds
fde93ffed4
add node_modules to filewatcher ignore
2014-03-20 10:02:18 -07:00
Ben Hollis
67689e60d2
Prevent the file watcher from recursively enumerating into paths that it should ignore. This should fix the issue in #1197 as well as provide a performance boost when starting 'middleman server'.
2014-03-18 21:17:50 -07:00
Ben Hollis
5de4e337c1
Merge middleman-more back into middleman-core
2014-03-03 22:32:12 -08:00
Ben Hollis
477f87e98a
Prefer loading layouts from layouts_dir
over layouts with the same name in the source root. This also includes a bunch of refactoring/cleanup of rendering.rb. Fixes #1176 .
2014-02-20 08:50:07 -08:00
Nico Hagenburger
2ad91339bb
use instance hooks provided by hooks instead of changing the gem’s source
2014-02-02 11:12:57 +01:00
Thomas Reynolds
504a1c2eba
remove confusing and broken data.page variable
2014-01-03 16:18:16 -08:00
Thomas Reynolds
98e3c8aa79
remove instance variable and page block support
2014-01-03 15:49:54 -08:00
Thomas Reynolds
614d69dc18
move current_path in to the template context, one less piece of global state
2014-01-03 14:56:16 -08:00
Thomas Reynolds
f40903e663
move rendering into specialized File and Template rendering classes.
2014-01-03 13:40:37 -08:00
Thomas Reynolds
c06fbcfc93
rely directly on rack-mock
2014-01-02 21:45:42 -08:00
Thomas Reynolds
bea2515a41
Move CLI into middleman-cli
2014-01-02 16:39:06 -08:00
Thomas Reynolds
305d2f99ed
Put template rendering in a jail
2014-01-02 16:05:39 -08:00
Thomas Reynolds
95eaeba960
Start cleaning up Rack internals
2014-01-01 19:09:47 -08:00
Thomas Reynolds
a610608785
remove old style extension support
2014-01-01 15:10:49 -08:00
Thomas Reynolds
c95c924d53
build a config file jail
2013-12-31 18:21:30 -08:00
Thomas Reynolds
2e2415612a
spring cleaning util and discovery of nasty variable mutating in url_for
2013-12-31 14:41:17 -08:00
Karl Freeman
a31aa5d8be
TrailingWhitespace 'cop' fix
2013-12-28 18:14:15 +00:00
Karl Freeman
03d6e6c990
Implemented Rubocop
...
- just took a stab at running the StringLiterals cop to get a taste.
2013-12-28 00:47:39 +00:00
Ben Hollis
34d399f580
Fix yard options
2013-11-25 00:12:39 -08:00
Ben Hollis
7ad5b2bdef
Ignore this new .cache folder that's shown up
2013-11-24 23:31:51 -08:00
Thomas Reynolds
19c155349d
Merge pull request #1044 from mojavelinux/asciidoc-renderer
...
resolves #1043 added a renderer for AsciiDoc files
2013-10-29 09:37:36 -07:00
Ben Hollis
da34153e0c
Support HEAD requests. Fixes #1021 .
2013-10-19 16:18:11 -07:00
Dan Allen
55d844f667
resolves #1043 added a renderer for AsciiDoc files
2013-10-17 00:49:53 -06:00
Linus Pettersson
e77e615314
Fixed encoding for new buffer
2013-08-18 00:07:26 +02:00
Ben Hollis
f92ae94728
Escape filenames in regexes. Fixes #942 .
2013-08-15 22:04:18 -07:00
Aggelos Orfanakos
2a8b22558a
Don't set resp Content-Type for some status codes
...
There must not be a Content-Type set when the Status is 1xx, 204, 205 or
304, otherwise Rack blows up with the following error: "Content-Type
header found in 304 response, not allowed"
2013-07-13 05:01:32 +03:00
Ben Hollis
bef6e13c5f
I never meant to actually name this parameter blockm
2013-07-08 22:17:12 -07:00
Ben Hollis
8979fe9f18
Print file where YAML/JSON errors occur. Fixes #954 .
2013-07-08 22:16:03 -07:00
Alan Larkin
26b7f46978
Fixed typo in middleman-core/core-extensions/request.rb.
2013-06-25 14:55:12 +01:00
Thomas Reynolds
37752dc291
fix layouts with implied extensions
2013-06-24 13:39:14 -07:00
Thomas Reynolds
3399ee207e
dont hardcode ignored build dir name
2013-06-23 15:15:43 -07:00
Thomas Reynolds
7d7d5e683e
Set current_engine on the context, not self, since we dup self and use that for each render loop. Closes #860
2013-06-12 15:21:31 -07:00
Thomas Reynolds
265f90e240
Add callback so v4 extensions can see when other extensions are activated
2013-06-04 15:51:03 -07:00
Thomas Reynolds
69c36e691f
use latest padrino
2013-06-04 09:56:33 -07:00
Thomas Reynolds
d3d85f8bc7
Merge pull request #923 from pulletsforever/feature/rack-block
...
Allow block to be passed through from Middleman.server()
2013-06-03 13:35:01 -07:00
David W. Keith
f2f17c33b3
Allow block to be passed through from Middleman.server()
2013-06-03 11:48:16 -07:00
Karl Freeman
32b113dc93
include '/vendor' in ignored files / folders
2013-06-03 17:06:43 +01:00
Thomas Reynolds
d0cd3e3cf9
layouts_dir is now configurable. Closes #899
2013-06-01 15:25:44 -07:00