Commit Graph

188 Commits

Author SHA1 Message Date
hacksalot 42d249b407
chore: decaffeinate: fix eslint violations 2018-02-14 10:02:44 -05:00
decaffeinate 8a46d642e5
chore: decaffeinate: convert error.coffee and 58 other files to JS 2018-02-14 09:56:31 -05:00
decaffeinate b7cd01597e
chore: decaffeinate: rename error.coffee and 58 other files from .coffee to .js 2018-02-14 09:55:12 -05:00
hacksalot c4f7350528
chore: update project dependencies 2018-02-12 00:05:29 -05:00
hacksalot 7196bff27c
feat: support JSON Resume edge schema 2018-02-10 01:10:20 -05:00
hacksalot 7cfdb95a04
feat: convert: support multiple JRS versions 2018-02-09 21:34:24 -05:00
hacksalot 17e5c6c172
style: notate an issue in skills coalescing func 2018-02-09 00:17:10 -05:00
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 f53c316ecb
chore: replace fresca with fresh-resume-schema 2018-02-02 03:42: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 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
Daniele Rapagnani 664eea752f parseJSON has been modified to always include private fields if not otherwise instructed. This is to ensure back-compatibility. The BUILD command instead, excludes private fields by default 2016-02-14 21:50:13 +01:00
Daniele Rapagnani fed59b704e Implemented private fields that can be included or excluded with cli switch 2016-02-14 19:15:47 +01: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 661fb91861 Aerate. 2016-02-04 15:23:47 -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
hacksalot d3194fba19 Relocate internal sources to HackMyAPI.
Move internal sources and related tests to:

https://github.com/hacksalot/HackMyAPI
2016-01-24 09:55:04 -05:00
hacksalot f073c79b8d Better dynamic font handling. 2016-01-22 22:19:28 -05:00
hacksalot 4fe74057f9 Improve font helpers.
Log a warning on incorrect use.
2016-01-22 08:33:01 -05:00
hacksalot 01c053702d Gather. 2016-01-21 23:40:15 -05:00
hacksalot 6b171e69db Improve CSS handling. 2016-01-21 05:21:49 -05:00
hacksalot 984ae95576 Cleanup. 2016-01-20 21:43:11 -05:00
hacksalot f77cced7f3 Improve error handling. 2016-01-20 19:59:36 -05:00
hacksalot 201f39442e Add support for .ignore flag in FRESH and JRS resumes.
Preliminary support for ".ignore" on any non-leaf FRESH or JRS node.
Nodes (employment entries, education stints, etc.) decorated with
".ignore" will be treated by HMR as if they weren't present.
2016-01-19 20:09:59 -05:00
hacksalot d220cedfeb Improve behavior of PEEK command. 2016-01-18 18:35:38 -05:00
hacksalot e72564162b Remove custom "extend" method.
Replace with NPM extend.
2016-01-18 17:31:08 -05:00