Commit Graph
93 Commits
Author SHA1 Message Date
hacksalot a95b52acd0 Refactor command processing. 2016-01-02 00:15:46 -05:00
hacksalot 47553b6def Fix ICE encoding issues.
Fix issue where @@@@ is appearing in generated resumes.
2016-01-01 20:27:46 -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 d8b9d86896 Scrub. 2016-01-01 17:30:57 -05:00
hacksalot 13fc903b2b Catch JSON syntax errors for all commands.
...and emit line/column info.
2016-01-01 17:20:42 -05:00
hacksalot 8c8dbfed72 Adjust test paths. 2016-01-01 15:06:36 -05:00
hacksalot 2b669cf35c Tweak error handling for cmd params. 2016-01-01 15:06:16 -05:00
hacksalot 5a2d892b85 Scrub error-handler.js. 2016-01-01 14:59:21 -05:00
hacksalot 37a7c318d5 Remove stack trace for ENOENT. 2016-01-01 14:58:56 -05:00
hacksalot 43873efcab Tweak analyze command error. 2016-01-01 14:38:52 -05:00
hacksalot bb28e5aa8e Support --help option.
Support standard syntax for the HELP command.
2016-01-01 14:38:00 -05:00
hacksalot 84ad6cf356 Add missing chalk references. 2016-01-01 04:57:50 -05:00
hacksalot b96526da31 Replace chalk with colors in tests. 2016-01-01 04:48:20 -05:00
hacksalot cb14452df3 Replace colors with chalk.
Chalk has a few more options and doesn't mess around with
String.prototype.
2016-01-01 04:44:14 -05:00
hacksalot d54b9a6d6c Remove unused method. 2016-01-01 03:45:14 -05:00
hacksalot 6285c2db3b Introduce "analyze" verb and framework.
Introduce a new "analyze" command and start setting up the inspector /
analyzer pipeline with a simple "gap analysis" inspector using a
reference-counted gap detection approach.
2016-01-01 03:39:48 -05:00
hacksalot 3453293c79 Bump version to 1.3.1. 2015-12-31 20:41:54 -05:00
hacksalot fb32cb0d78 Tests: Bump Johnny's expected duration to 4 years.
Happy New Year, everybody.
2015-12-31 20:00:39 -05:00
hacksalot baccb75256 Tests: fix Travis error on Node 0.10.
Node 0.10 doesn't have path.parse, so use require('parse-filepath') as a
workaround.
2015-12-31 19:51:06 -05:00
hacksalot 5c39c1c93d Remove extraneous console.log. 2015-12-31 19:47:55 -05:00
hacksalot 48cc315fc8 Update Travis shields.
Add version and a badge for the /dev branch.
2015-12-31 19:17:56 -05:00
hacksalot ea8da6811a Include Node 0.10 in Travis tests.
We've already done some work to support legacy Node 0.10 (ex
https://github.com/hacksalot/HackMyResume/issues/31#issuecomment-167155845)
no reason to drop this support by omitting tests.
2015-12-31 18:31:39 -05:00
hacksalot dbda48c16d Add additional validate tests. 2015-12-31 18:24:45 -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 1f6d77fc28 Bump version to 1.3.0. 2015-12-31 03:18:02 -05:00
hacksalot 2b3c83c57e Merge branch 'master' of https://github.com/hacksalot/HackMyResume 2015-12-30 22:03:38 -05:00
hacksalot df27924ac2 Add Johnny Trouble to tests. 2015-12-30 21:07:28 -05:00
hacksalot 3cf24cfb40 Fix PNG generation glitch. 2015-12-30 20:11:21 -05:00
hacksalot 3acf648eb4 Expose helpers to Underscore engine.
Get the same set of helpers working for Underscore and Handlebars
engines. Needs refactoring.
2015-12-30 20:11:09 -05:00
hacksalot 76cafa4249 Fix reference error in explicit themes. 2015-12-30 20:10:14 -05:00
hacksalot 55943bf49a Fix missing semicolon. 2015-12-30 20:09:39 -05:00
hacksalot a280d8acb2 Support CSS embedding vs. linking. 2015-12-30 19:45:50 -05:00
hacksalot 558a321fe8 Refactor generator logic. 2015-12-30 18:52:41 -05:00
hacksalot d901047043 Update fluent-themes --> fresh-themes. 2015-12-30 18:50:58 -05:00
hacksalot d4e0a0fa05 Add {{styleSheet}} helper (placeholder). 2015-12-30 18:19:00 -05:00
hacksalot 22554c61c5 Rename and bump fluent-themes dependency. 2015-12-30 18:18:11 -05:00
hacksalot 72de1bbd33 Scrub. 2015-12-30 15:21:58 -05:00
hacksalot 2ff912e687 Scrub. 2015-12-30 15:11:18 -05:00
hacksalot ccadb0416f Move freebie formats out of theme class. 2015-12-30 15:03:26 -05:00
hacksalot 5e51beddf7 Refactor. 2015-12-30 14:48:22 -05:00
hacksalot 97c9ba08d0 Fix: Broken HELP command. 2015-12-30 14:00:09 -05:00
hacksalot 39d61c66b9 Finish Theme --> FreshTheme rename. 2015-12-30 13:22:18 -05:00
hacksalot 7a1eadb3fc Tweak error messages.
Stay away from language like "please specify a valid input resume". The
fluentcv fork can use corporate-speak. HackMyResume is more like a
gremlin -- feed it, but never after midnight.
2015-12-30 13:12:51 -05:00
hacksalot 1bcc2f7d0c Add formal support for aliases.
new/create and build/generate
2015-12-30 13:00:30 -05:00
hacksalot e3cb949992 Fix: Exception when HMR is run without params. 2015-12-30 12:59:21 -05:00
hacksalot a0c356941c Remove unnecessary line. 2015-12-30 12:44:16 -05:00
hacksalot 3c7868a750 Scrub. 2015-12-30 12:38:01 -05:00
hacksalot 3e7d9c0411 Integrate JRSTheme class. 2015-12-30 12:37:26 -05:00
hacksalot b21fd93d66 Introduce JRSTheme class.
Start splitting out logic into dedicated abstractions for both FRESH and
JSON Resume themes given the different structure and use cases of each.
2015-12-30 12:08:46 -05:00
hacksalot 37e75acd86 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2015-12-30 12:06:02 -05:00
hacksalot 5bc8b9c987 Merge remote-tracking branch 'refs/remotes/origin/dev' 2015-12-29 17:58:41 -05:00
hacksalot 0c570f8512 Update README. 2015-12-29 17:43:27 -05:00
hacksalot 7593afa586 Adjust package.json versions.
Relax to v1.3.0-beta and bump fluent-themes version.
2015-12-29 17:33:16 -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 483207e5a0 Improve Markdown support for JSON Resume themes. 2015-12-29 10:01:45 -05:00
hacksalot 02ef2b2241 Improve error handling.
Better support for spawn errors encountered during generation (for ex,
PDFs through wkhtml) + general refactoring.
2015-12-29 06:35:55 -05:00
hacksalot 13430bcad5 Refactor status codes. 2015-12-29 05:09:05 -05:00
hacksalot e65c0e128e Fix tests glitch. 2015-12-29 03:50:00 -05:00
hacksalot bf5c040971 Copy JRS theme assets to target. 2015-12-29 03:10:26 -05:00
hacksalot 6bc6b3262e Add tests for FRESH/JRS cross-generation.
Ability to generate JSON Resume themes from FRESH format resumes and
vice-versa.
2015-12-28 04:39:03 -05:00
hacksalot 3c1ae4cbd1 Add baseline support for local generation of JSON Resume themes. 2015-12-28 04:37:42 -05:00
hacksalot 547b87afc6 LINT prior to running tests. 2015-12-28 04:17:48 -05:00
hacksalot db31744c98 Adjust "npm test" command.
Fix issue with tests being run twice and run tests through Grunt for
LINTing and other pre/post processing.
2015-12-28 04:16:53 -05:00
hacksalot 9423a19842 Remove extraneous references to "tests" plural. 2015-12-28 04:01:30 -05:00
hacksalot 07b303e530 Bump version to 1.3.0. 2015-12-28 03:51:39 -05:00
hacksalot ec51148374 Introduce interim contribution guidelines. 2015-12-27 00:08:45 -05:00
hacksalot 0514f7805c Add contributors to package.json.
Contributors first, author last.
2015-12-26 22:47:39 -05:00
hacksalot 5e7abb66bd Safer source format conversions.
Quick fix against missing fields in FRESH and/or JRS (ahead of introing
more robust standalone converter thing). Address portions of #31 and
#33.
2015-12-24 17:51:26 -05:00
hacksalot 358c397bb9 Show call stack on error.
Hat tip @Furchin.
2015-12-24 16:22:29 -05:00
hacksalot 3d41528059 Fix path parsing issue on prev versions of Node.js.
Work around absence of path.parse in Node versions < v0.12. Addresses
#31 and #33.
2015-12-24 16:18:38 -05:00
hacksalot 79637b611a Bump version to 1.2.2. 2015-12-24 16:09:37 -05:00
hacksalot bf84341acf Version -> 1.2.1
Holding off on 1.3.0 pending HTTP/HTTPS support. #rebase #semver
2015-12-24 07:42:07 -05:00
hacksalot bbac1fdceb Improve test coverage around incomplete JRS resumes.
Add quick sanity checks around incomplete or irregular JRS-format
resumes. Also decorate existing JRS test resumes (/tests/resumes/) with
current 0.0.0 JRS version ahead of 1.0.0 release.
2015-12-24 06:08:45 -05:00
hacksalot c5ee1ee33c Quick fix for ".history" errors.
Affects #31 and #33.
2015-12-24 04:05:56 -05:00
hacksalot c74eda90ed Introduce lodash dependency. 2015-12-24 04:05:17 -05:00
hacksalot ef2fe95bd8 Remove unused method. 2015-12-24 04:04:44 -05:00
hacksalot e2589b3730 Fix validate command error.
Still hitting some inconsistent behavior in different NPM
versions/platforms with invalid uppercase dependency names per
https://github.com/npm/npm/issues/3692. Partial fix for #33.
2015-12-24 03:23:56 -05:00
hacksalot ebad1677bc Replace file-exists.js with NPM path-exists. 2015-12-22 18:55:17 -05:00
hacksalot dab6ebfd82 Bump fluent-themes version to 0.8.0-beta. 2015-12-22 18:49:29 -05:00
hacksalot dd61b5360a Update package.json contact info. 2015-12-22 18:49:11 -05:00
hacksalot fced92a5a0 Bump version to 1.3.0. 2015-12-22 18:47:23 -05:00
hacksalot 31830ee759 Silence tests. 2015-12-21 03:04:40 -05:00
hacksalot 1c05846a4f Add CLI tests. 2015-12-21 02:58:16 -05:00
hacksalot 1db9c2e420 Fix README glitch. 2015-12-21 02:58:01 -05:00
hacksalot c966f6766c Refactor verbs to separate files. 2015-12-21 02:56:02 -05:00
hacksalot 65b6359fd8 Bump version to 1.2.0. 2015-12-21 00:52:23 -05:00
hacksalot a54476eede Reaffirm string-based generation.
In recent commits, HackMyResume generation logic, much like the pilots
in Top Gun who became too reliant on air-to-air missiles and lost the
true art of dogfighting, has become dependent on file-based generation
as implicit file assumptions have crept in. This commit reaffirms the
file-less, string-based nature of the generation process and, as a side
effect, adjusts the behavior of (binary) PDF generation to match.
2015-12-21 00:36:08 -05:00
hacksalot 43cd1c7e52 Allow TO keyword to be omitted.
If the TO keyword is missing, assume the last file passed in is the
destination file.
2015-12-20 20:53:21 -05:00
hacksalot f80c333361 Scrub. 2015-12-20 20:22:46 -05:00
hacksalot cdbb264093 Add string convenience method. 2015-12-20 18:42:02 -05:00
hacksalot 87b3bbe785 Bump version to 1.1.0. 2015-12-20 18:41:51 -05:00
hacksalot b92cf7298a Refactor helpers.
Helpers shouldn't be specific to a given template engine (eg,
Handlebars) in order to allow sharing of helpers between different
template engines. Isolate abstract helpers in another module and apply
them via Handlebars.registerHelper and as necessary for other template
engines.
2015-12-20 18:24:28 -05:00