Commit Graph

43 Commits

Author SHA1 Message Date
hacksalot 8cccd2ffbb
chore: reset rasterize.js 2018-02-14 11:23:15 -05:00
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 58fe46dc83
feat: introduce FRESH version regex 2018-02-09 21:32:44 -05:00
hacksalot 2bf5bb72cf
fix: prevent broken XML in Word docs 2018-02-06 08:22:31 -05:00
hacksalot 8dca5b76e7
refactor: remove AbstractResume base class
(1) AbstractResume adds complexity without contributing utility. There's not
really a clean "class" abstraction in JavaScript to begin with; CoffeeScript
classes, as nice as they are syntactically, occlude the issue even further.

(2) AbstractResume currently functions as a container for exactly two functions
which arguably should live outside the resume class anyway.
2018-02-04 22:49:58 -05:00
hacksalot c913de4bf7
CONVERT: Improve command consistency. 2018-01-30 02:34:58 -05:00
hacksalot 17259cedbf Detect bad option files supplied via --options. 2018-01-29 02:04:00 -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 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