1
0
mirror of https://github.com/JuanCanham/HackMyResume.git synced 2024-11-25 01:40:10 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
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
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
db6ec47dcc
chore: update stale JavaScript 2018-02-02 04:48:28 -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
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
069506e86d
feat: support custom theme helpers 2018-01-31 21:11:21 -05:00
hacksalot
94fc54174c
refactor: remove unnecessary var 2018-01-31 16:17:46 -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
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
097e81caf8
Merge pull request #191 from ryneeverett/theme-helpers
Register handlebars helpers in themes. Fix #158.
2018-01-27 17:44:36 -05:00
ryneeverett
ec591b9432 Register handlebars helpers in themes. Fix #158.
Try to register all javascript files found in themes as handlebars
helpers.

Note that, unlike all other theme files currently, format directories
are ignored. I don't think there's a use case for format-specific
helpers, and this gives theme developers the flexibility to put them
either in top level files or organize them in subdirectories however
they see fit.

Note also that the theme format seems to be primarily documented in
<https://github.com/fresh-standard/fresh-themes>. This newly recognized
theme file type should be documented there should this branch be merged.
2017-01-20 22:53:16 -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
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
dbef9f0a35 Improve VALIDATE error handling. 2016-02-13 00:11:52 -05:00
hacksalot
f87eb46549 Fix theme generation error. 2016-02-11 22:04: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
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
70f45d468d Asynchrony. 2016-02-01 22:52:13 -05:00
hacksalot
212b01092c Improve proc spawn behavior.
Interim until async / promises support is in.
2016-02-01 09:25:22 -05:00
hacksalot
27c7a0264a Improve date handling. 2016-01-30 20:06:04 -05:00
hacksalot
8e806dc04f Improve duration calcs, intro base resume class. 2016-01-30 16:40:22 -05:00
hacksalot
1c416f39d3 Fix JSON Resume theme breakage.
Fixes #128.
2016-01-30 11:31:39 -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