Commit Graph
100 Commits
Author SHA1 Message Date
hacksalot 95df8e5af4 Rename src/eng --> src/renderers
A renderer is a thing that renders or "paints" an arbitrary format using
a templating engine like Handlebars or Underscore. A generator is a
thing responsible for generating a given output format like HTML or MS
Word.
2016-01-08 09:59:47 -05:00
hacksalot 8a1da777b0 Bump version to 1.5.0. 2016-01-08 09:38:53 -05:00
hacksalot 44555da00f Fix PNG output format for JSON Resume themes. 2016-01-08 09:36:32 -05:00
hacksalot 46bd5d51cc Support implicit PDF generation (interim). 2016-01-08 09:00:43 -05:00
hacksalot 3964d300aa Update README. 2016-01-08 08:59:43 -05:00
hacksalot d6280e6d89 Start integrating JRS and FRESH rendering paths. 2016-01-08 08:40:19 -05:00
hacksalot 4a2a47f551 Tweak casing. 2016-01-08 07:08:12 -05:00
hacksalot ae51930c9c Tweak indentation. 2016-01-08 07:06:26 -05:00
hacksalot fb33455bea Refactor JRS rendering. 2016-01-08 06:48:04 -05:00
hacksalot 28c703daf7 Improve error handling: PDFs. 2016-01-08 05:11:38 -05:00
hacksalot 0246a5da19 Remove html-pdf-generator class.
PDF generation now performed via html-pdf-cli-generator.
2016-01-07 18:34:43 -05:00
hacksalot 840d17c67b Wrap rasterize.js in IIFE / satisfy jsHint. 2016-01-07 18:33:26 -05:00
hacksalot 97ebecd84a Support CLI-based PDF generation.
Support Phantom and wkhtmltopdf generation via CLI.
2016-01-07 18:24:25 -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 c5a5d3761d Remove explicit Phantom and wkhtmltopdf dependency.
Phantom is too heavy to impose on casual users and wkhtmltopdf errors
out on half the systems out there. We're better off speaking to both
tools, when present, via CLI or a secondary script.
2016-01-07 16:47:59 -05:00
hacksalot a2723452c2 Improve ENOENT handling. 2016-01-07 16:13:09 -05:00
hacksalot cb3488276d Refactor error handling.
Work towards better debug/log/stack trace options for error cases.
2016-01-07 15:54:10 -05:00
hacksalot 43419c27cf Refactor API surface. 2016-01-07 13:44:39 -05:00
hacksalot 0f0c399dd5 Update CLI tests. 2016-01-07 13:12:21 -05:00
hacksalot cb46497346 Rename generate.js to build.js.
Should match the canonical verb name -- "build". Generate is an alias.
2016-01-07 12:03:44 -05:00
hacksalot 850c640368 Annotate Phantom gen method. 2016-01-07 10:54:46 -05:00
hacksalot 60e455b36d Emit call stack for wkhtmltopdf errors. 2016-01-07 10:54:27 -05:00
hacksalot af896c85ea Bump version to 1.4.2. 2016-01-07 02:06:55 -05:00
hacksalot 6a7bb5ea5b Update README. 2016-01-07 01:09:48 -05:00
hacksalot 3b6f2ad37e Introduce FAQ.
Use a separate Markdown document instead of the GH wiki so that the FAQ
is present after clone and advertises itself in the root folder.
2016-01-07 00:58:40 -05:00
hacksalot 101eebdd95 Update tests. 2016-01-06 14:17:27 -05:00
hacksalot 830c36818e Tweak missing file message for "new" command. 2016-01-06 14:15:27 -05:00
hacksalot 39e995213f Improve starter resume.
"hackmyresume new" should emit a starter resume that a) has example
information and b) validates.
2016-01-06 14:09:22 -05:00
hacksalot 37a053722d Update Travis URLs. 2016-01-06 11:36:40 -05:00
hacksalot 12fcf3b0cb Fix package.json glitch. 2016-01-06 11:28:09 -05:00
hacksalot 43ad9c1c71 Merge branch 'master' of https://github.com/hacksalot/HackMyResume 2016-01-06 11:24:02 -05:00
hacksalot ae436a3b84 Scrub. 2016-01-06 11:18:50 -05:00
hacksalot 202bb44c76 Update contributors.
@robertmain @jjanusch
2016-01-06 11:18:31 -05:00
hacksalot 712b504168 Support global theme partials (interim). 2016-01-06 10:48:51 -05:00
hacksalot bc9f0d468f Update tests w/ new validation behavior. 2016-01-06 00:44:46 -05:00
hacksalot 2d20077c08 Support --assert option for validate command.
Cause HMR to return an error code if validation fails and the --assert
option is present.
2016-01-06 00:44:34 -05:00
hacksalot f61deda4e8 Fix format detection error in validate logic. 2016-01-06 00:21:18 -05:00
hacksalot 8203fa50ae Prep convert.js. 2016-01-06 00:20:30 -05:00
hacksalot c5eab0fd9c Scrub. 2016-01-05 23:59:41 -05:00
hacksalot 40e71238ac Scrub. 2016-01-05 23:46:01 -05:00
hacksalot 9d75b207d1 Formalize empty-fresh.json dependency. 2016-01-05 23:28:49 -05:00
hacksalot 9b52c396d3 Fix missing method rename. 2016-01-05 22:32:46 -05:00
hacksalot 2759727984 Add convenience method. 2016-01-05 22:26:16 -05:00
hacksalot e230d640cb Rename imp() to i() (interim). 2016-01-05 22:02:11 -05:00
hacksalot d69688697c Update README. 2016-01-05 19:48:11 -05:00
hacksalot 9f7ec62b18 Bump fresh-themes to 0.11.0-beta. 2016-01-05 10:26:29 -05:00
hacksalot b1a02918ff Support --no-tips flag. 2016-01-05 10:10:24 -05:00
hacksalot ec05f6737a Emit JSON Resume theme instructions. 2016-01-05 10:10:12 -05:00
hacksalot da5db6477b Introduce --color and --no-color options.
These are handled by Chalk, but need to be registered with Commander.js
in order for Chalk to see them.
2016-01-05 09:42:39 -05:00
hacksalot 0f580efb2b Mention ANALYZE command in man page. 2016-01-05 09:38:42 -05:00
hacksalot ff23ee508b Restore app title. 2016-01-05 09:38:21 -05:00
hacksalot 2819faeb6f Improve theme/format inheritance (interim). 2016-01-05 09:28:40 -05:00
hacksalot d205e882f6 Introduce FRESH theme/format inheritance.
Support "inherits" property in theme.json (FRESH themes only).
2016-01-05 06:34:56 -05:00
hacksalot 3f40441b0a Bump FRESCA version to 0.3.0. 2016-01-05 05:09:29 -05:00
hacksalot 6185f20ec9 Sort project history by default. 2016-01-05 05:00:04 -05:00
hacksalot 6a61989eb4 Introduce {{dateRange}} and {{camelCase}} helpers. 2016-01-05 04:59:51 -05:00
hacksalot d658a069cd Rename {{hasSection}} helper to {{section}}. 2016-01-05 04:59:26 -05:00
hacksalot 25688dbe8e Bump fresh-test-resume to 0.2.1. 2016-01-05 01:41:04 -05:00
hacksalot 98362b9687 Bump fresh-test-resumes version. 2016-01-05 00:04:10 -05:00
hacksalot 4c31c96891 Introduce has/hasSection helpers. 2016-01-05 00:03:54 -05:00
hacksalot 219209c6ca Fix logic glitch in {{sectionTitle}} helper. 2016-01-04 19:46:45 -05:00
hacksalot eff9fc51cb Integrate fresh-test-resumes module. 2016-01-04 19:45:49 -05:00
hacksalot 2ba23ee80d Add support for user-definable section titles.
Introduce a {{sectionTitle}} helper; requires theme updates.
2016-01-04 16:20:48 -05:00
hacksalot 0f83f8f5c2 Merge remote-tracking branch 'refs/remotes/origin/master' into dev 2016-01-04 16:13:37 -05:00
hacksalot 4ba3a3f2a9 Merge branch 'master' of https://github.com/hacksalot/HackMyResume 2016-01-04 08:09:12 -05:00
hacksalot db486a48aa Update README. 2016-01-04 08:06:51 -05:00
hacksalot 2cab1195e8 Fix 'create' alias. 2016-01-04 07:25:48 -05:00
hacksalot ce75f09210 Refactor API interface. 2016-01-04 07:23:20 -05:00
hacksalot a8fed1b69b Add missing semicolon. 2016-01-04 04:15:13 -05:00
hacksalot 62ca2020d8 Bump FRESH themes version. 2016-01-04 04:15:01 -05:00
hacksalot f65cf8880e Add support for external options file. 2016-01-04 02:50:00 -05:00
hacksalot c8d4a3deb3 Handle global options.
Fix broken --silent flag and set up -o/-opts.
2016-01-04 01:49:35 -05:00
hacksalot d5e2a45034 Output theme message on generate. 2016-01-04 00:58:41 -05:00
hacksalot 2465f2ce1c Fix gap analysis glitches. 2016-01-04 00:14:43 -05:00
hacksalot f2001bcbb1 Add a couple baseline "analyze" tests. 2016-01-03 23:18:35 -05:00
hacksalot d5afb3eb2e Handle missing dates during gap inspection. 2016-01-03 23:17:36 -05:00
hacksalot c711cb7922 Improve sorting. 2016-01-03 23:17:18 -05:00
hacksalot e45e0316f6 Remove extraneous regex. 2016-01-03 10:07:58 -05:00
hacksalot 08ab512f4c Add overlap analysis. 2016-01-03 09:48:43 -05:00
hacksalot f2bf09bf96 Allow variable-unit resume duration. 2016-01-03 09:48:22 -05:00
hacksalot 75e2b1c131 Improve keyword acquisition. 2016-01-03 09:48:02 -05:00
hacksalot 0b7ef16a41 Improve accuracy of keyword counts. 2016-01-03 07:36:05 -05:00
hacksalot 247eec396c Fix string iteration filtering glitch. 2016-01-03 07:35:47 -05:00
hacksalot 46c7fa9838 Add baseline keyword analysis. 2016-01-03 06:39:46 -05:00
hacksalot b3fb2c7130 Scrub. 2016-01-03 05:06:54 -05:00
hacksalot c3ec3f28bd Introduce section totals inspector. 2016-01-03 05:03:31 -05:00
hacksalot 0a8ee721e8 Allow for multiple PDF engines / support Phantom PDFs.
Start formalizing PDF generation apparatus and support a `--pdf`
parameter allowing the user to specify the flavor of PDF generation.
2016-01-03 04:11:42 -05:00
hacksalot 8d7cf32988 Finish Commander.js integration. 2016-01-03 03:18:56 -05:00
hacksalot 655ecebaa5 Clean up comments. 2016-01-03 02:40:04 -05:00
hacksalot 8fc0fa99d3 Remove unnecessary indirection. 2016-01-03 02:39:43 -05:00
hacksalot 69e8adc1cc Remove 'minimist' dependency. 2016-01-03 02:25:39 -05:00
hacksalot 6b3396e01b Use Commander.js for invocations. 2016-01-03 02:22:26 -05:00
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