Parker Moore
ed042de6c4
Oh fine, rubocop.
2016-10-06 10:15:45 -07:00
Parker Moore
6d1bc6c6ea
Revert Commands::Serve#server_address signature change.
2016-10-06 09:48:37 -07:00
Florian Thomas
a945a65818
refactor to use `server_address`
2016-10-04 20:47:36 +02:00
Florian Thomas
01c33907a3
default site.url in dev environment to ` http://localhost:4000 `
...
take `host`, `port` and `ssl` options into account
2016-10-04 20:38:46 +02:00
chrisfinazzo
ed3f745b77
Add baseurl subcommand, fixes #4919
2016-07-25 10:15:15 -04:00
Florian Thomas
f8c038566c
`Serve.process` should receive same config as `Build.process`
...
fixes #4850
2016-05-27 11:46:04 +02:00
Parker Moore
2caff755c4
Set Style/AlignHash EnforcedHashRocketStyle to 'table'
2016-05-16 16:24:01 -07:00
TheLucasMoore
465e7dd8b0
Added Exceptions and Passing ABC Metric
2016-05-13 13:46:42 -05:00
TheLucasMoore
451881efcf
ABC Condition Size too high
2016-05-12 20:21:19 -05:00
TheLucasMoore
894d1fe21e
Tests Passing. Three RuboCop revisions remain
2016-05-12 19:42:04 -05:00
TheLucasMoore
26d0a8db77
Passing RuboCop for commands
2016-05-12 19:11:58 -05:00
Jordon Bedwell
1efb1d7a58
Fix #4689 : Use SSLEnable instead of EnableSSL and make URL HTTPS.
2016-04-12 02:59:48 -05:00
Jordon Bedwell
06ab708edf
Don't blindly assume the last-system.
...
As it was we assumed that any system that wasn't Windows or OS X must be Linux
but the reality of that can be very unlikely. BSD is popular in some places and
it's not Linux and this would cause an error there. If we do not know the
launcher for a platform we should ship an error and have the user file
a bug if they feel it necessary and skip the launch otherwise.
2016-03-27 21:41:23 -05:00
Henry Goodman
d387fd0baa
Add show_dir_listing option for serve command
2016-02-17 20:54:57 -08:00
Pat Hawks
085a778b0a
Rubocop: Style/NestedTernaryOperator
...
- Ternary operators must not be nested. Prefer if/else constructs instead.
2016-01-04 11:46:25 -08:00
Pat Hawks
a70d89a862
Rubocop: Style/SpaceAfterComma
...
- Space missing after comma
2016-01-03 15:56:44 -08:00
Pat Hawks
44d2995277
Rubocop: Style/Semicolon
...
- Do not use semicolons to terminate expressions
2016-01-03 14:40:45 -08:00
Jordon Bedwell
8efbdc01ff
Fix #3791/#3478
...
* Add support for SSL through command line switches.
* Add suppport for file/index.html > file.html > directory.
* Add support for custom-headers through configuration.
* Modernize and split up the serve.
* Add a few basic tests.
2015-12-04 14:07:07 -06:00
Jordon Bedwell
c8edb15820
Prevent shell injection when opening a URL.
2015-11-29 21:22:27 -06:00
Sasha Friedenberg
face3985dc
add "-o" option to serve command which opens server URL
2015-11-28 15:13:44 -05:00
Ryan Tomayko
491cce7a99
Avoid requiring webrick at boot time
...
This is a bit uglier but allows deferring loading webrick until the
serve command is invoked as opposed to when it's required.
2015-02-12 22:16:12 -05:00
Ryan Tomayko
e99a9e5821
Custom WEBrick FileHandler for stripping .html extension
...
This first performs the normal static file check at the exact
location. If no file is found, attempt the check again with an
".html" suffix.
See the following for base class search_file implementation:
https://github.com/ruby/ruby/blob/4607f95/lib/webrick/httpservlet/filehandler.rb#L363-L383
2015-02-12 21:58:35 -05:00
Jordon Bedwell
9ba9c47cd6
Fixes #3339 Add `pkill -f jekyll` to ways to kill.
...
This shows people how to kill Jekyll without knowing the PID using `pkill` (you could also do `kill -9 $(pgrep -f jekyll)` but that is just the long way around doing `pkill -f` so it shouldn't be shown in the Jekyll logger but can be documented here for people.
2015-02-01 06:45:52 -06:00
Sean Collins
5a288e7de4
Add 'b' and 's' aliases for build and serve, respectively
2014-11-05 23:13:08 -05:00
Parker Moore
9cc3085dd0
Turn on FancyIndexing.
2014-10-20 21:23:30 -07:00
Parker Moore
5b37ad57cc
If `--verbose` is given, debug the sh*t out of that.
2014-10-20 21:23:22 -07:00
Parker Moore
3dedcbf894
Sort webrick_options
2014-10-20 21:23:00 -07:00
Parker Moore
6cee2a87cc
Auto-enable watch on 'serve'.
...
Addresses @kneath's and @chibicode's comments in #2695 .
2014-08-30 22:52:41 -07:00
Parker Moore
b126159360
Skip initial build of site on serve with flag.
...
Adds --skip-initial-build flag to jekyll-serve, which serves the destination
immediately rather than waiting for the site to be built.
Fixes #1252 .
2014-06-03 13:30:14 -04:00
Parker Moore
3af22f12bf
Set content-type to text/html with utf-8 charset.
...
Fixes #2289
2014-05-03 18:51:55 -04:00
Parker Moore
513e77635b
Refactor 'jekyll serve' command.
2014-04-27 19:02:33 -04:00
Marcus Stollsteimer
fec6b59950
Use File.exist? instead of deprecated File.exists?
2014-04-06 13:31:34 +02:00
Parker Moore
e746b3bd5f
Initialize each command in its own class so we can be *magical*.
2014-03-13 14:07:05 -04:00
Anthony Smith
86208d8c33
Add index.xml to WEBrick DirectoryIndex
...
Resolves #2040
2014-02-13 23:12:36 +00:00
Matt Rogers
883e16acde
Merge pull request #1910 from pborreli/typos
2014-01-04 08:12:20 -08:00
Pascal Borreli
bdda3a8ef6
Fixed typos
2014-01-04 14:17:38 +00:00
Mort Yao
99b36c7c30
Routing 404 errors to custom 404 page for development server
2014-01-03 03:23:46 +01:00
Parker Moore
924285695c
Print server address when launching a server.
...
Related to: https://github.com/mojombo/jekyll/issues/1583
2013-09-28 19:18:36 -04:00
Parker Moore
4b8bb68e56
Cleanup newlines in Commands::Serve
2013-09-12 14:05:16 -04:00
Parker Moore
c926596be7
Print better messages for detached server. Mute output on detach.
2013-09-12 14:02:52 -04:00
Matt Rogers
d8e0f009d2
Merge pull request #1363 from koron/stop-reverse-lookup
...
disable reverse lookup
2013-09-06 20:37:31 -07:00
ddavison
b163bf637e
final mods
2013-08-24 21:31:05 -04:00
ddavison
4e52869f0f
adding detachment functionality
2013-08-21 20:53:01 +00:00
MURAOKA Taro
d8bf10d761
disable reverse lookup
2013-07-30 21:28:27 +09:00
paco
23a01e7766
Patch for multibyte URI problem. Closes #723 .
2013-03-16 21:20:11 +01:00
Parker Moore
524aa1f36a
Jekyll::Commands::Serve reads in mime.types file.
2013-03-08 20:12:52 +01:00
Parker Moore
b4bea4a586
Merge branch 'code-cleanup' of git://github.com/tombell/jekyll into code-cleanup
...
Module Cleanup
* 'code-cleanup' of git://github.com/tombell/jekyll:
Remove new lines between module and class
Update tag classes moving into a module
Update pagination classes moving into a module
Update converter classes moving into a module
Strip extra newlines
Update command classes moving into a module
Conflicts:
lib/jekyll/commands/serve.rb
2013-01-27 23:13:16 +01:00
Jordon Bedwell
4f7881ba40
Add SVG support to Jekyll/Webrick. Fixes #406 .
2013-01-25 06:20:07 +01:00
Tom Bell
e03f48085a
Update command classes moving into a module
2013-01-19 22:36:46 +00:00
Tom Bell
bd1c8fe760
Update Jekyll.configuration to convert symbol keys
...
Because Commander uses symbol keys in the options hash and I don't want to go
back backport every hash string key to symbols in Jekyll. ⭐
2012-12-18 21:55:00 +00:00