hacksalot
7262578c81
feat: allow standalone FRESH themes to inherit
2018-02-05 23:43:38 -05:00
hacksalot
66f3cb15c9
style: remove unused var
2018-02-05 23:41:40 -05:00
hacksalot
6f07141b0d
test: remove image files from freeze test
2018-02-05 00:06:14 -05:00
hacksalot
dc88073bcc
test: reactivate Awesome theme and ice check
2018-02-04 23:35:42 -05:00
hacksalot
8c81a54565
fix: resolve issues around @@@@ characters in dates
...
Simplify resume freezing; avoid transformations on foreign fields. Fixes #198
but needs followup to allow users to specify how and when freezing, encoding,
and transformations occur.
2018-02-04 23:06:34 -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
2767b16b47
test: use direct dependency for fresh-resume-underscore
2018-02-04 05:34:47 -05:00
hacksalot
f1343add71
test: remove hard-coded submodule path
2018-02-04 04:44:47 -05:00
hacksalot
81d9d5f157
test: add fresh-theme-underscore to suite
2018-02-04 04:06:49 -05:00
hacksalot
caca653666
style: remove unnecessary expression
2018-02-04 01:43:51 -05:00
hacksalot
55196c2766
fix: prevent weird characters in date fields
2018-02-04 01:13:02 -05:00
hacksalot
00067d012a
fix: correctly replace frozen fields in JRS-themed resumes
2018-02-03 16:15:17 -05:00
hacksalot
02f0af1ff8
chore: update HackMyResume version to 1.9.0
2018-02-03 04:35:07 -05:00
hacksalot
b1515fc656
docs: update fresh-resume-schema link
2018-02-03 04:31:22 -05:00
hacksalot
ba719166f7
test: replace fresca with fresh-resume-schema
2018-02-02 04:49:26 -05:00
hacksalot
db6ec47dcc
chore: update stale JavaScript
2018-02-02 04:48:28 -05:00
hacksalot
f53c316ecb
chore: replace fresca with fresh-resume-schema
2018-02-02 03:42:50 -05:00
hacksalot
e889481ad8
chore: bump HackMyResume version to 2.0.0
...
With this upcoming release we've introduced potentially breaking functionality
so a major version bump is indicated. Additionally, it's been over a year since
the last HackMyResume release; a major version bump allows us to accept some
fruitful breakage, giving us a clean basis as we move forward on new features.
2018-02-02 02:56:59 -05:00
hacksalot
7912ec9ef5
chore: add fresh-test-themes dependency
2018-02-01 22:02:50 -05:00
hacksalot
e6e0b135ed
style: clean up comments in jrs-theme.coffee
2018-02-01 19:22:17 -05:00
hacksalot
54d056c4b7
fix: exclude theme.json from interrogation
2018-02-01 17:56:43 -05:00
hacksalot
157a2a6145
chore: bump fresh-themes to 0.16.0-beta
2018-02-01 09:37:20 -05:00
hacksalot
688767d415
feat: improve ad hoc theme loading
2018-02-01 07:20:12 -05:00
hacksalot
1dbb78c53f
feat: improve custom theme helper registration
2018-02-01 07:00:59 -05:00
hacksalot
9c096541ce
feat: allow FRESH themes to specify base folder
...
Currently, FRESH themes contain a `src` folder that contains theme artifacts.
This commit allows the theme to specify a different folder (including "." or
""), supporting arbitrary folder structures.
2018-02-01 06:52:06 -05:00
hacksalot
5161a3a823
feat: include private fields during convert
2018-02-01 06:44:07 -05:00
hacksalot
76a386c9df
chore: bump fresh-test-resumes version to 0.9.1
2018-02-01 06:22:53 -05:00
hacksalot
7d78deec5f
test: replace 'resumes/' folder with fresh-test-resumes
2018-02-01 05:58:35 -05:00
hacksalot
a265fb633d
chore: add 'glob' dependency
2018-01-31 22:01:28 -05:00
hacksalot
069506e86d
feat: support custom theme helpers
2018-01-31 21:11:21 -05:00
hacksalot
7f656175f0
chore: bump jrs-fresh-converter to 0.2.3
2018-01-31 16:19:03 -05:00
hacksalot
94fc54174c
refactor: remove unnecessary var
2018-01-31 16:17:46 -05:00
hacksalot
231357badc
[fix] Replace legacy theme detection code.
2018-01-31 16:00:09 -05:00
hacksalot
fde2146a0b
[fix] Private fields: resolve off-by-one error [2].
2018-01-31 15:22:15 -05:00
hacksalot
c6adab7f9e
[fix] Private fields: Resolve off-by-one error.
2018-01-31 00:10:37 -05:00
hacksalot
7f7c936897
[chore] Test: Increase resume generation timeout.
2018-01-30 13:04:08 -05:00
hacksalot
a9e35203c2
[style] Tighten syntax in html-pdf-cli-generator.coffee|js.
2018-01-30 12:40:17 -05:00
hacksalot
c913de4bf7
CONVERT: Improve command consistency.
2018-01-30 02:34:58 -05:00
hacksalot
6b125ed907
Support no-escape option for Handlebars themes.
2018-01-29 05:21:46 -05:00
hacksalot
17259cedbf
Detect bad option files supplied via --options.
2018-01-29 02:04:00 -05:00
hacksalot
12a14dadeb
Merge branch 'master' into dev
2018-01-28 22:38:08 -05:00
hacksalot and GitHub
35fb2f5dac
Fix Travis build issues. ( #204 )
2018-01-28 22:34:05 -05:00
hacksalot and GitHub
097e81caf8
Merge pull request #191 from ryneeverett/theme-helpers
...
Register handlebars helpers in themes. Fix #158 .
2018-01-27 17:44:36 -05:00
hacksalot
6adf195281
Travis: Update Node.js versions.
2018-01-26 10:02:26 -05:00
hacksalot
79c304a08b
Update text exemplars.
2018-01-25 15:04:49 -05:00
hacksalot
394d5cf821
Merge branch 'master' into dev
2018-01-25 14:48:35 -05:00
hacksalot
6092f985f2
Merge branch 'dev' of https://github.com/hacksalot/HackMyResume into dev
2018-01-25 14:48:14 -05:00
hacksalot
2c26c21144
Bump fresh resume versions.
2018-01-25 14:47:22 -05:00
hacksalot and GitHub
6bd0b817af
Merge pull request #177 from ael-code/pdf-margins
...
instruct wkhtmltopdf to insert top/bottom margins
2018-01-25 13:05:35 -05:00
hacksalot and GitHub
97fe171775
Merge branch 'master' into pdf-margins
2018-01-25 13:05:24 -05:00
hacksalot and GitHub
9718c652ab
Merge pull request #164 from jonathanGB/master
...
little fix in the "Use" base case
2018-01-25 12:51:06 -05:00
hacksalot and GitHub
9aad6d6138
Merge pull request #183 from peternowee/fix-issue165
...
Update fresh-resume-starter dependancy to 0.3.x
2018-01-25 12:44:34 -05:00
hacksalot and GitHub
d25f8d0f97
Merge pull request #186 from ryneeverett/same-value-dateRange
...
When date ranges are identical, only show one.
2018-01-25 12:43:48 -05:00
hacksalot and GitHub
d2d9039abb
Merge pull request #189 from ryneeverett/weasyprint
...
Add WeasyPrint pdf generator support.
2018-01-25 12:10:25 -05:00
hacksalot and GitHub
3dc6ff2158
Merge pull request #184 from ryneeverett/noescape
...
Don't do html escaping. Fix #157 .
2018-01-25 02:27:32 -05:00
hacksalot and GitHub
36f5f46753
Merge pull request #192 from peternowee/fix-example-options-file
...
Mark options file example JSON and remove comments
2018-01-24 23:46:50 -05:00
hacksalot
8cc6334cd1
Bump FRESCA dependency to 0.6.1.
2018-01-24 21:30:19 -05:00
hacksalot
b7ef40709e
Update copyright notice.
2018-01-24 21:29:47 -05:00
hacksalot
efe97ad793
Update tests.
...
Knock the dust off the HackMyResume test suite.
2018-01-24 21:29:24 -05:00
hacksalot
a243354044
Change admin email to admin@fluentdesk.com.
2018-01-24 21:26:45 -05:00
hacksalot
0cd59416b8
Remove unused dependency.
2016-04-02 15:01:28 -04:00
hacksalot
abdeeb4385
Introduce placeholder logo (interim).
...
Add quick 'n dirty .AI and .PNG assets for interim logo; link through
LFS.
2016-02-16 21:08:35 -05:00
hacksalot
bb7944bee7
Update resume exemplars w/ --private.
2016-02-15 16:56:00 -05:00
hacksalot
9de1156144
Update contributors.
...
CC @daniele-rapagnani.
2016-02-15 16:48:05 -05:00
hacksalot
9ae2703eeb
Bump version to 1.9.0.
2016-02-15 16:39:37 -05:00
hacksalot
a3ed56dd15
Update JS.
...
Keep dist/ updated with src/ for the CLI and require() folks.
(package.json goes off dist).
2016-02-15 16:38:01 -05:00
hacksalot
214c53a3ab
Merge pull request #142 from daniele-rapagnani/feature-private-fields
...
Implements private fields as requested in #88
2016-02-15 15:52:29 -05:00
hacksalot
3cf850ea0e
Update test exemplars.
2016-02-14 05:32:33 -05:00
hacksalot
1b0bc87b60
Update changelog and version.
2016-02-14 04:54:44 -05:00
hacksalot
5d3b993737
Bump fresh-themes to 0.15.1-beta.
...
Not 100% necessary given "^" but support naive stripping of the "^"
decorator.
2016-02-14 04:32:39 -05:00
hacksalot
917fd8e3f3
Refactor helpers.
...
Rebind Handlebars helpers to drop the pesky options hash for standalone
helpers that don't need it. Move block helpers (which do need the
Handlebars options/context) to a separate file for special handling.
2016-02-14 04:10:23 -05:00
hacksalot
6ac2cd490b
Bump fresh-test-resumes to 0.7.0.
2016-02-13 23:45:53 -05:00
hacksalot
8100190978
Bump fresh-themes to 0.15.0-beta.
2016-02-13 22:54:43 -05:00
hacksalot
7c36ff8331
Introduce "date" helper.
2016-02-13 22:54:07 -05:00
hacksalot
255a518565
Set test timeout to 30 seconds.
...
Most themes should generate in < 1s but allow up to 30 seconds for
network latency when opening a remote file, or for fetching remote
resources (CSS, JS, etc) during a local build.
2016-02-13 20:42:03 -05:00
hacksalot
2d595350c6
Escape LaTeX during generation.
2016-02-13 20:40:17 -05:00
hacksalot
ca92d41d9e
Numerous fixes.
2016-02-13 16:08:45 -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
9927e79900
Clean up CoffeeScript.
2016-02-13 00:40:10 -05:00
hacksalot
dbef9f0a35
Improve VALIDATE error handling.
2016-02-13 00:11:52 -05:00
hacksalot
c889664c31
More VALIDATE fixups.
2016-02-12 23:47:08 -05:00
hacksalot
7a60cd0bab
Fixup VALIDATE command.
...
Introduce MISSING and UNKNOWN states alongside BROKEN, VALID, and
INVALID and fix regressions introduced in previous refactorings.
2016-02-12 22:49:56 -05:00
hacksalot
964350d3c7
Bump fresh-jrs-converter to 0.2.2.
...
Technically the "^0.2.1" implies v0.2.2 but eventually we'll drop the
"^" and use shrinkwrapped versions in dev, so explicitly bump for now.
2016-02-12 21:42:50 -05:00
hacksalot
b57d9f05af
jsHint: Allow == null.
...
Relax jsHint's barbaric and antiquated default behavior on triple-equals
null comparisons. Allow expressive, precise, and subtle expressions such
as CoffeeScript's use of "== null" for testing against null OR undefined
under the existential operator.
2016-02-12 17:42:48 -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
daeffd27b5
Remove HB reference from generic helpers.
2016-02-11 22:06:43 -05:00
hacksalot
f87eb46549
Fix theme generation error.
2016-02-11 22:04:11 -05:00
hacksalot
da7cd28734
Remove unused var.
2016-02-11 22:03:49 -05:00
hacksalot
31e0bb69cc
Introduce "pad()" helper.
...
Introduce a helper to emit padded strings / arrays of strings.
2016-02-11 22:02:50 -05:00
hacksalot
5c248cca2a
Remove output folder.
2016-02-11 12:09:47 -05:00
hacksalot
f83eb018e8
Scrub tests.
2016-02-11 12:08:11 -05:00
hacksalot
317a250917
Gather.
2016-02-11 11:48:44 -05:00
hacksalot
aaa5e1fc1f
Refactor generation.
...
Merge implicit and explicit generation paths, start emitting file
transform & copy signals, fix various bugs, introduce new bugs, support
better --debug outputs in the future.
2016-02-09 15:27:34 -05:00
hacksalot
1bc4263a46
Aerate.
2016-02-09 10:50:10 -05:00
hacksalot
e191af1fb0
Fix glitch in converted CoffeeScript.
...
Replace naked ternary with if then else.
2016-02-09 10:41:48 -05:00
hacksalot
7c0a9bcc02
Aerate.
2016-02-09 10:37:33 -05:00
hacksalot
d894f62607
Add ResumeFactory to facade.
...
Until facade is decommissioned and mothballed
2016-02-09 08:55:00 -05:00
hacksalot
2758038858
Cleanup and bug fixes.
...
Remove file-based open methods from resume classes; force clients to use
clean string-based or JSON overloads; fix processing glitch in
validate(); tweak outputs; adjust tests; update CHANGELOG; etc.
2016-02-04 18:49:16 -05:00
hacksalot
661fb91861
Aerate.
2016-02-04 15:23:47 -05:00
hacksalot
3c551eb923
Point package.json "main" at "dist" folder.
2016-02-04 14:38:11 -05:00