Commit Graph

30 Commits

Author SHA1 Message Date
hacksalot 42d249b407
chore: decaffeinate: fix eslint violations 2018-02-14 10:02:44 -05:00
decaffeinate 8a46d642e5
chore: decaffeinate: convert error.coffee and 58 other files to JS 2018-02-14 09:56:31 -05:00
decaffeinate b7cd01597e
chore: decaffeinate: rename error.coffee and 58 other files from .coffee to .js 2018-02-14 09:55:12 -05:00
hacksalot c4f7350528
chore: update project dependencies 2018-02-12 00:05:29 -05:00
hacksalot a9e35203c2
[style] Tighten syntax in html-pdf-cli-generator.coffee|js. 2018-01-30 12:40:17 -05:00
ryneeverett 419c935d82 Add weasyprint pdf generator support.
Note: This is based off
<https://github.com/hacksalot/HackMyResume/pull/185> because I changed
the generator expected arguments in that branch.
2017-01-16 00:15:04 -05:00
ryneeverett 7e2a3c3e7e Add option to pass wkhtmltopdf options. Fix #176.
It seems that some time in the last couple years wkhtmltopdf's default
margins were changed from '10mm' to zero. As an alternative to #177,
this PR adds an option to pass in arbitrary wkhtmltopdf long arguments
and sets the default top and bottom margin to '10mm'.
2017-01-06 19:10:27 -05:00
hacksalot ca92d41d9e Numerous fixes. 2016-02-13 16:08:45 -05:00
hacksalot 3f8e795c61 Fix generation glitches.
Fix output file name glitch, writing CSS files to destination folder,
and an issue where the process would evaporate before PDF/PNG generation
could complete.
2016-02-13 03:27:11 -05:00
hacksalot 9927e79900 Clean up CoffeeScript. 2016-02-13 00:40:10 -05:00
hacksalot 317a250917 Gather. 2016-02-11 11:48:44 -05:00
hacksalot aaa5e1fc1f Refactor generation.
Merge implicit and explicit generation paths, start emitting file
transform & copy signals, fix various bugs, introduce new bugs, support
better --debug outputs in the future.
2016-02-09 15:27:34 -05:00
hacksalot 49ae016f08 Deglitch. 2016-02-02 19:02:56 -05:00
hacksalot f72b02a0f4 Refactor generators to CoffeeScript classes. 2016-02-02 13:38:12 -05:00
hacksalot 70f45d468d Asynchrony. 2016-02-01 22:52:13 -05:00
hacksalot 212b01092c Improve proc spawn behavior.
Interim until async / promises support is in.
2016-02-01 09:25:22 -05:00
hacksalot 0f65e4c9f3 Finish HackMyCore reshaping.
Reintroduce HackMyCore, dropping the interim submodule, and reorganize
and improve tests.
2016-01-29 15:23:57 -05:00
hacksalot d3194fba19 Relocate internal sources to HackMyAPI.
Move internal sources and related tests to:

https://github.com/hacksalot/HackMyAPI
2016-01-24 09:55:04 -05:00
hacksalot f6f383751f Fix JSON Resume theme rendering glitch. 2016-01-22 03:05:41 -05:00
hacksalot 6b171e69db Improve CSS handling. 2016-01-21 05:21:49 -05:00
hacksalot e72564162b Remove custom "extend" method.
Replace with NPM extend.
2016-01-18 17:31:08 -05:00
hacksalot c98d05270e Improve error handling. 2016-01-18 17:13:37 -05:00
hacksalot 3e3803ed85 Improve error handling. 2016-01-18 14:10:35 -05:00
hacksalot c9e45d4991 Capture. 2016-01-17 21:46:58 -05:00
hacksalot 19b30d55ec Move error handling out of core. 2016-01-13 15:28:02 -05:00
hacksalot 07b23109f9 Use async spawn() by default. 2016-01-12 12:32:32 -05:00
hacksalot 732bc9809a Start moving logging out of core. 2016-01-09 13:58:47 -05:00
hacksalot 62c967526f Fix PDF exception glitch. 2016-01-08 18:15:12 -05:00
hacksalot 9fdfd1b5a6 Add baseline support for -d or --debug flag.
For now, -d just force-emits the stack when there is one. In the future,
it can trigger more detailed logging info.
2016-01-08 16:08:33 -05:00
hacksalot 8d24087faa Rename src/gen --> src/generators. 2016-01-08 10:02:47 -05:00