1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-07-04 09:00:06 +01:00
Commit Graph

187 Commits

Author SHA1 Message Date
devlinjd
228f14d06c Support recursive theme template loading. 2015-12-06 18:19:33 -05:00
devlinjd
307c37dc44 Use "src" subfolder instead of "templates". 2015-12-06 18:18:36 -05:00
devlinjd
3b8d100f39 Add baseline Handlebars support. 2015-12-06 16:19:55 -05:00
devlinjd
e4d098a3ce Add safety for implicit Markdown. 2015-12-06 05:51:03 -05:00
devlinjd
92ca11f23c Adjust output. 2015-12-02 15:10:38 -05:00
devlinjd
5b3a25c461 Support NEW command. 2015-12-02 14:56:36 -05:00
devlinjd
fbc98060ce Fix theme loading glitch. 2015-11-24 10:56:28 -05:00
devlinjd
42770989bc Tweak colors for Linux. 2015-11-22 00:10:08 -05:00
devlinjd
eade6f3a5c Tweak colors. 2015-11-22 00:07:30 -05:00
devlinjd
5735ddc495 Multiple enhancements.
A set of rough enhancements supporting FRESH:

- Added ability to process multiple sources for all commands (BUILD,
VALIDATE, CONVERT).

- Added new HELP command to show usage.

- Improved error-handling and color-coding.
2015-11-21 16:12:22 -05:00
devlinjd
992069b22d Cleanup. 2015-11-21 10:33:16 -05:00
devlinjd
cbddb4b3aa Add convenience filter for links. 2015-11-21 09:13:21 -05:00
devlinjd
317de75a5b Refactor. 2015-11-21 07:59:30 -05:00
devlinjd
9fbab27d73 Improve validation and color-coding. 2015-11-21 05:56:16 -05:00
devlinjd
debd866545 Adjust date references. 2015-11-21 03:11:18 -05:00
devlinjd
5304cbabd9 Tweak converter. 2015-11-20 15:29:38 -05:00
devlinjd
4de997840e Scrub. 2015-11-20 09:53:36 -05:00
devlinjd
9cde39703e Clean up handling of "meta". 2015-11-20 09:28:55 -05:00
devlinjd
c14176a504 Implement "convert" command. 2015-11-20 08:29:19 -05:00
devlinjd
16cf97e08e Improve converter. 2015-11-20 08:27:39 -05:00
devlinjd
0c1b1734ee Update tests. 2015-11-19 15:39:26 -05:00
devlinjd
35b9f2b764 Fix JSON date validation.
JSON "date" type should accept YYYY, YYYY-MM, and YYYY-MM-DD but
is-my-json-valid only validates the last of the three.
2015-11-19 12:36:58 -05:00
devlinjd
87618afa8d Remove unused verb. 2015-11-19 10:39:59 -05:00
devlinjd
0aa9bc2937 Rename Sheet/FreshSheet to JRSResume/FRESHResume. 2015-11-19 10:39:14 -05:00
devlinjd
a410153253 Implement "generate" and "validate" verbs.
Start moving to a more familiar verb-based interface with "generate" and
"validate" commands. Use with "fluentcv generate" or "fluentcv
validate".
2015-11-19 09:46:02 -05:00
devlinjd
9044dff504 Introduce FRESH and JSONResume conversion routines. 2015-11-19 09:39:49 -05:00
devlinjd
ce95593031 Relax copyright notices. 2015-11-19 01:57:15 -05:00
devlinjd
30b6bc4d80 Remove invalid object model reference. 2015-11-19 01:47:23 -05:00
devlinjd
6ce2ae2391 Introduce FRESH sheet class.
Introduce the canonical FRESH sheet class based on the old HackMyResume
(HMR) sources. Prepare to replace JSON Resume-specific handling with
generic FRESH handling.
2015-11-18 23:42:09 -05:00
devlinjd
8a56c61d56 Fix HTML-based PDF generator glitch. 2015-11-07 02:46:12 -05:00
devlinjd
99722e3bd1 Add filename metadata on save. 2015-11-06 14:56:33 -05:00
devlinjd
aa0ef4e8a4 Adjust CSS file handling by generators. 2015-11-05 00:57:57 -05:00
devlinjd
537bd4a7b9 Clear profiles on sheet reset. 2015-11-05 00:57:23 -05:00
devlinjd
9bd41d5825 Don't save "display_progress_bar". 2015-11-05 00:57:10 -05:00
devlinjd
4cc3fd3a1f Comments. 2015-11-05 00:56:41 -05:00
devlinjd
4752c3040e Store theme folder reference. 2015-11-05 00:56:06 -05:00
devlinjd
89b7ed4d5b Expose FluentDate at API level. 2015-11-05 00:53:48 -05:00
devlinjd
1e44ce5e5e Fix: Allow "current" in addition to "present" and "now". 2015-10-27 21:09:54 -04:00
devlinjd
9de5069c20 Fix: Allow year-only dates ('YYYY'). 2015-10-27 21:07:45 -04:00
devlinjd
b0b2af8278 Fix glitch with prettyifying HTML links. 2015-10-27 20:59:21 -04:00
devlinjd
5dee90b8e3 Remove process.exit() call. 2015-10-27 07:37:24 -04:00
devlinjd
330866a518 Rename "FluentCMD" to "FluentCV". 2015-10-27 03:54:50 -04:00
devlinjd
6d6f66bfe2 Rename watermark to fluent-themes. 2015-10-26 13:48:00 -04:00
devlinjd
e34d02facb Always display title on error. 2015-10-26 13:17:58 -04:00
devlinjd
5f50485968 Expose API surface. 2015-10-26 12:54:27 -04: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
06294a90b5 Add YAML output format support. 2015-10-26 02:45:37 -04:00
devlinjd
68f943745c Support "--no-prettify" option.
Add command-line support for "--no-prettify" and "-n". Use a negative
option here since pretty printing is enabled by default.
2015-10-25 03:04:51 -04:00
devlinjd
1b4056371b Objectify options.
Support FCV Desktop requirement.
2015-10-17 11:10:59 -04:00
devlinjd
2e5a68d942 Support explicit -o output parameter.
Allow output files to be explicitly specified via -o, for ex:

fluentcmd resume.json -o out/resume.html -o out/resume.pdf
2015-10-10 21:39:32 -04:00
devlinjd
cf15738f58 Fix explicit output file bug.
Fixes a bug that occurs when an explicit output file with an extension
other than .all is specified on the command line.
2015-10-10 21:38:06 -04:00
devlinjd
d4a3a08aff Add JSON format support. 2015-10-10 20:11:26 -04:00
devlinjd
189f37b6a1 Add Markdown format support. 2015-10-10 17:49:29 -04:00
devlinjd
6e4263e58c Change default theme to "modern". 2015-10-10 15:39:13 -04:00
devlinjd
7ab2df6696 Improve error handling. 2015-10-07 09:29:41 -04:00
devlinjd
11f76d920f Code cleanup.
Use _.reduceRight in lieue of Array.prototype.reduce to ease logging
during resume merge and clean up code, comments, and whitespace
throughout.
2015-10-07 03:53:38 -04:00
devlinjd
0c7325322a Fix merge logic.
Allow multiple resumes to be merged, extend()-style, and output a
notification for the same.
2015-10-06 16:09:40 -04:00
devlinjd
7c578703c4 Remove unused require()s. 2015-10-06 12:24:29 -04:00
devlinjd
8a19009e29 Scrub. 2015-10-06 12:21:22 -04:00
devlinjd
4fa15f59a0 Emit an additional blank line. 2015-10-06 09:55:35 -04:00
devlinjd
90440ae253 Use relative paths in output. 2015-10-04 15:05:44 -04:00
devlinjd
e622918fee Add external logger callback. 2015-09-29 04:15:04 -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
76f718dc3e Revamp command-line functionality.
Get resume generation CLI up and running again after recent API updates.
Tool name has changed to "fluentcmd" from "scrappy" and now depends on
external "fluentlib" instead of embedding those sources.
2015-09-24 16:09:48 -04:00
devlinjd
1715a66514 Scrub sheet.js. 2015-09-24 11:21:50 -04:00
devlinjd
7df7a3f894 Introduce a Markdown generator. 2015-09-23 00:26:56 -04:00
devlinjd
ccf6a1a1be Reorganize sources. 2015-09-23 00:26:24 -04:00
devlinjd
7363e48019 Introduce formal generators.
Introduce a shallow hierarchy of simple generator classes, collecting
common functionality and allowing for future snap-in generator
replacement. Use John Resig's "class"-based inheritance per
http://ejohn.org/blog/simple-javascript-inheritance/.
2015-09-23 00:03:49 -04:00
devlinjd
7bf25469de Support additional date formats.
Support "Now" in addition to "Present" along with year-only dates of the
form "YYYY".
2015-09-21 11:34:42 -04:00
devlinjd
f03d2a05e7 Scrub. 2015-09-19 21:35:39 -04:00
devlinjd
1a1310cef5 Improve date parsing and sorting. 2015-09-19 21:07:53 -04:00
devlinjd
c55a2f9f35 Add JSON validation to Sheet prototype. 2015-09-18 20:10:35 -04:00
devlinjd
ffa06118a0 Minor extensions to Sheet class. 2015-09-17 07:27:30 -04:00
devlinjd
8b57f9ce57 Fix template expansion error. 2015-09-17 05:06:09 -04:00
devlinjd
ed3fc12806 Merge JSON properties onto sheet. 2015-09-16 19:32:42 -04:00
devlinjd
ce740922e9 Emit correct CSS filename in generated HTML.
Instead of hard-coding the CSS file to "resume.css", base it on the
input file name.
2015-09-13 05:49:45 -04:00
devlinjd
0b4522c149 Update w/ recent folder changes. 2015-09-11 17:21:44 -04:00
devlinjd
c54137a493 Cleanup. 2015-09-10 09:13:12 -04:00
James Devlin
aa58edd853 Restore PDF generation. 2015-09-08 23:08:07 -04:00
James Devlin
c9ec8a81a0 Introduce "Sheet" class.
Start formalizing some of the key domain nouns, starting with the
concept of the "sheet" or "character sheet".
2015-09-08 23:05:12 -04:00
James Devlin
a90139dd6f Return processed resume data.
Return the array of processed resume (string/text) data in addition to
the rendered output files.
2015-09-04 23:46:53 -04:00
James Devlin
cc0c7512d8 Switch to wkhtmltopdf by default.
Better fidelity for nominal use and doesn't give weak/dnode errors in
Electron.
2015-09-03 17:06:30 -04:00
James Devlin
ad94fcbcef Fix path glitch from recent changes. 2015-09-02 17:13:14 -04:00
James Devlin
2aeec2334f Update with recent project changes. 2015-09-01 20:13:21 -04:00
James Devlin
3b92065c14 Introduce scrappy sources from main dev tree.
Add existing "HackMyResume" command-line sources from commit 59 on the
original dev tree, without modification except for a partial rename of
"HackMyResume" to "scrappy".

See: https://github.com/gruebait/HackMyResume/tree/master/HMR.Console
2015-09-01 01:05:47 -04:00