Commit graph

521 commits

Author SHA1 Message Date
Jorge Israel Peña
999252ece1 add preview port Configuration field
Make it possible to specify the default port to listen on when the
preview server is run. This is useful if another service on the system
already runs on port 8000 (the default), since it's a hassle to keep
providing the port overriding option. For example: ./site preview vs.
./site preview -p 4000
2013-08-29 22:43:57 -07:00
Eric Stolten
866a282f19 * Preview now shows the deprecation message and calls watch.
* Details on how to disable the server in the command description.
2013-08-28 13:11:44 -04:00
Eric Stolten
f01b641649 1. Added the WATCH_SERVER flag that is enabled by default
1. Added an argument to watch, --no-server which will disable the embedded server.
1. Added a deprecation message to the preview mode
2013-08-25 22:49:50 -04:00
Eric Stolten
fbc43b3a04 Merge branch 'upstream-master' 2013-08-20 22:03:04 -04:00
Eric Stolten
f14f52040a Added a watch command that will continually poll for changes and rebuild them. 2013-08-20 21:59:39 -04:00
Jasper Van der Jeugt
5679681ac1 Change type: metadataField :: Context a
Closes #175
2013-08-16 11:48:26 +02:00
Jasper Van der Jeugt
64569d7b72 Fix versions & metadata loading issue
Closes #171
2013-08-14 00:18:31 +02:00
Jasper Van der Jeugt
faa90283bf Explode when using mapContext over ListField 2013-08-13 01:38:18 +02:00
Jasper Van der Jeugt
fad9134fd4 Add functionField again 2013-08-10 16:19:23 +02:00
Jasper Van der Jeugt
ab0aebb3c3 Add mapContext again 2013-08-05 12:25:55 +02:00
Marc-Antoine Perennou
82a38a742a check: unescape internal uris
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2013-07-07 19:02:21 +02:00
uu1101
b5803bc7b6 Correct example code: parseGlob ==> fromGlob 2013-06-30 19:21:17 +02:00
Jasper Van der Jeugt
a3c4d06ff9 Merge pull request #162 from uu1101/seq-stderr
Deepseq stderr before closing the handle
2013-06-17 04:43:06 -07:00
Jasper Van der Jeugt
6814ff2e9b Only add teaser when <!--more--> is there 2013-06-17 12:01:22 +02:00
Simonas Kazlauskas
72ed15e174 Make toUri sanitise all characters needed 2013-06-16 15:11:04 +03:00
Jasper Van der Jeugt
537e72333f Sanitize URLs in toUrl
Closes #163
2013-06-15 20:15:33 +02:00
uu1101
a1e778d1e5 Set handle encoding as per locale 2013-06-14 01:02:14 +02:00
uu1101
cf501485b1 Deepseq stderr before closing the handle
Otherwise laziness allows for the handle to be closed withouth receiving the
input. This caused that no error messages were printed when `unixFilter`s
failed.
2013-06-14 00:32:45 +02:00
Jasper Van der Jeugt
e687662ba0 teaserContext -> teaserField 2013-06-06 10:21:18 +02:00
Jasper Van der Jeugt
0409d6110c Merge pull request #155 from blaenk/win32-preview-fix
fix preview functionality on windows
2013-05-24 00:47:06 -07:00
Jorge Israel Peña
294c48ea48 finish incomplete comment 2013-05-22 17:28:32 -07:00
Jorge Israel Peña
e987485e2d add max-retries to waitOpen and gracefully handle remove/delete events 2013-05-22 17:06:17 -07:00
Simonas Kazlauskas
0a818d0725 Deploy should propagate error code
And return 1 if neither deployCommand and deploySite is set.
2013-05-22 15:24:26 +03:00
Jorge Israel Peña
2fba64c5ad fix preview functionality on windows 2013-05-22 01:20:43 -07:00
Evan Cofsky
8c73820abc Clean up type declarations, use fst and <$>. 2013-05-21 09:01:00 -07:00
Evan Cofsky
c236cda401 Have Build and Rebuild exit with a status to the shell. 2013-05-20 21:17:31 -07:00
Jasper Van der Jeugt
d32307aa1c Add partials to template system 2013-05-07 09:28:09 +02:00
Jasper Van der Jeugt
cf138a415b Implement foreach structure 2013-05-06 23:32:25 +02:00
Jasper Van der Jeugt
738fd3d1ad Paginate simplification 2013-05-06 22:34:07 +02:00
Anton Dubovik
1966163c55 Added pagination support. 2013-05-05 17:05:15 +03:00
Ivan N. Veselov
946723dc9d Logged dependencies adding for debugging purposes. 2013-05-05 12:58:31 +03:00
Ivan N. Veselov
0e6441885c Changed the teaser separator to "more" to use the same format as WordPress does. 2013-05-04 17:57:51 +03:00
Ivan N. Veselov
9ad0d38f43 Added a comment explaining "teaserContext" function. 2013-05-04 17:48:51 +03:00
Ivan N. Veselov
2651627189 Added "teasers" support to be used in posts index.
Just add "<!-- teaser_end -->" to separate the teaser and the rest of the article and use "$teaser$" key in the template!

Closes issue #35.
2013-05-04 17:26:22 +03:00
Jasper Van der Jeugt
ca80171caf Minor style changes 2013-05-04 15:18:26 +02:00
noxx
f4ee3e7fcb Created tests and fixed isMember function 2013-05-04 15:42:28 +03:00
noxx
0f779a8c53 Added isMember to load function 2013-05-04 13:05:47 +03:00
noxx
a3021bc703 Added isMember functions for Store 2013-05-04 12:51:58 +03:00
Jasper Van der Jeugt
4100083709 Style changes, move stuff to common parser module 2013-05-04 11:36:58 +02:00
Jasper Van der Jeugt
28bc3f1f3b Merge remote-tracking branch 'sphynx/master' 2013-05-04 11:14:35 +02:00
Ivan N. Veselov
9c5300440e Removed unnecessary import. 2013-05-03 19:28:19 +03:00
Ivan N. Veselov
f86b9c5b0c Added support for "$if$" statement in templates. 2013-05-03 19:10:57 +03:00
Ivan N. Veselov
617322ae8c Added MonadError's instance for Compiler. 2013-05-03 19:10:11 +03:00
Jasper Van der Jeugt
ec1f961c4e Close open cache files as soon as possible
See #124
2013-05-03 16:21:14 +02:00
Jasper Van der Jeugt
8f534400be More granular dependencies for routes
See #121
2013-05-03 11:03:49 +02:00
Jasper Van der Jeugt
553350a5c8 Merge pull request #138 from christopheryoung/master
Documentation tweaks: two small typos and $PATH variable documentation for OS X
2013-04-29 06:48:38 -07:00
Parnell Springmeyer
625c73feb2 Adding in the short form date parsing 2013-04-23 17:33:25 -05:00
Jasper Van der Jeugt
2895a05a19 Micro cleanup 2013-04-22 20:24:19 +02:00
Jasper Van der Jeugt
79215f71eb Merge pull request #133 from simukis/scheme-relative
Account for scheme-relative URLs
2013-04-22 11:16:54 -07:00
Ian Ross
fa7f0fe001 Fix indent 2013-04-21 15:14:38 +02:00