1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-07-05 17:30:05 +01:00
Commit Graph

33 Commits

Author SHA1 Message Date
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
b26799f9fc Improve JSON error handling.
Add support for detection of invalid line breaks in JSON string values.
Fixes #137. Could be improved to fetch the column number and drop the
messy grabbing of the line number from the exception message via regex,
but currently the "jsonlint" library (not to be confused with
"json-lint") only emits an error string. Since this is also the library
that drives http://jsonlint.com, we'll accept the messy regex in return
for more robust error checking when our default json-lint path fails.

All of the above only necessary because standard JSON.parse error
handling is broken in all environments. : )
2016-02-12 17:11:11 -05:00
hacksalot
dd4851498a Remove Resig's class implementation.
Fun while it lasted.
2016-02-02 13:49:02 -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
6801e39f97 Tweak output colorization. 2016-01-22 04:55:29 -05:00
hacksalot
d220cedfeb Improve behavior of PEEK command. 2016-01-18 18:35:38 -05:00
hacksalot
e72564162b Remove custom "extend" method.
Replace with NPM extend.
2016-01-18 17:31:08 -05:00
hacksalot
4c5ccc001a Introduce PEEK command.
Peek at arbitrary resumes and resume objects paths with "hackmyresume
peek <resume> [objectPath]". For ex:

hackmyresume PEEK resume.json
hackmyresume PEEK resume.json info
hackmyresume PEEK resume.json employment[2].keywords
hackmyresume PEEK r1.json r2.json r3.json info.brief
2016-01-15 13:08:01 -05:00
hacksalot
7af50c51f6 Gather. 2016-01-14 08:48:07 -05:00
hacksalot
1966b0a862 Move string transformation out of FRESHResume. 2016-01-12 13:28:20 -05:00
hacksalot
07b23109f9 Use async spawn() by default. 2016-01-12 12:32:32 -05:00
hacksalot
fee21a7b17 Always use JSONLint for SyntaxError post-processing.
Remove the check for SyntaxError's built-in line and character
indicators and always re-parse on error to grab the line/column.
2016-01-10 05:17:28 -05:00
hacksalot
840d17c67b Wrap rasterize.js in IIFE / satisfy jsHint. 2016-01-07 18:33:26 -05:00
hacksalot
96b9bb68e3 Introduce Phantom.js rasterizer script.
Via
https://raw.githubusercontent.com/ariya/phantomjs/master/examples/rasterize.js.
2016-01-07 17:53:42 -05:00
hacksalot
f65cf8880e Add support for external options file. 2016-01-04 02:50:00 -05:00
hacksalot
e4a549ed30 Tests: Add ICE detection test.
ICE is the internal boilerplate we use to freeze/unfreeze themes when
trying to force-feed them Markdown or other formatted data.
2016-01-01 20:26:47 -05:00
hacksalot
b85d40b1b3 Improve XML encoding for Word docs.
Fix various encoding errors.
2015-12-31 06:38:30 -05:00
hacksalot
069c02ddcc Interim changes supporting v1.3.0. 2015-12-31 03:34:41 -05:00
hacksalot
b803eba934 Scrub string.js.
Will probably be retired in favor of Node reusables.
2015-12-29 10:26:30 -05:00
hacksalot
ebad1677bc Replace file-exists.js with NPM path-exists. 2015-12-22 18:55:17 -05:00
hacksalot
cdbb264093 Add string convenience method. 2015-12-20 18:42:02 -05:00
gruebait
78c5081a29 Support Markdown-driven hyperlinks in MS Word. 2015-12-20 15:42:31 -05:00
devlinjd
eabab26eef Update file headers. 2015-12-17 10:15:59 -05:00
devlinjd
5475b081b1 Support basic Markdown in MS Word docs. 2015-12-16 23:26:53 -05:00
devlinjd
541198321e Fix JSHint warnings. 2015-12-09 21:44:35 -05:00
devlinjd
0aaa9ffff8 Introduce FluentLib sources. 2015-10-26 12:30:00 -04:00
devlinjd
4a98e0bb25 Multiple things.
1. Load themes directly in FCMD instead of only through FluentLib.
2. Add support for silent mode (`-s` or `--silent`).
3. Silently create output folder if not present (mkdirp).
2015-10-26 08:01:01 -04:00
devlinjd
8a19009e29 Scrub. 2015-10-06 12:21:22 -04:00
devlinjd
ad653e70dd Package string utils. 2015-09-26 15:05:37 -04:00
devlinjd
8f6c639851 Remove unused Class.js. 2015-09-24 16:11:57 -04:00
devlinjd
ccf6a1a1be Reorganize sources. 2015-09-23 00:26:24 -04:00