Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Adding core importer. * Adding trashedNotes import. * First WIP of evernote importing Todo: Tags! * Pull in the systemTags if they're available (for markdown) Cleaner (and fixed!) check for no activeNotes or trashedNotes props. * Also import the tags to the tag bucket, if there's any present. * Added a boolean argument to determine whether an imported note should be marked deleted. Probably a better way to do this? * README cleanup! * Use fat arrow instead of `bind` in tests. * Adding an optional argument to `importNotes` to signify which importer the note came from. * Adding support for tags, and pass tagBucket through to the Simplenote importer. * Cleaning up importer class, configured for file path to be passed in. * Removing importedFrom property because the note schema doesn't allow it. Fixed bug where creationDate could be `NaN`. * Cleaning up app.jsx from my testing UI :) * Adding `pinned` and `markdown` props to the systemTags if present. Fixed date parsing to get correct timestamp. * Updated to a class that emits status events for things like progress or errors encountered. * Use `importNote` from the core importer so we don't have to create a large array. * Wrapping the core importer in a class, which also now emits errors instead of throwing. * Use the new `CoreImporter` class. * Add a default empty tags array if none was present in the imported note. * Added some formatting fixes for evernote imports. * Tweaked `importEvernotes` to take an array of `File` objects. We only process the first file in the array for this importer. * * Renamed `importEvernotes` to `importNotes` (will do the same for text file impoter). * Class constructor takes an object constructor so we can't muck up the bucket assignments. * Constructor now takes an object so we don't muck up the bucket assignments. * Add a markdown override option to the core importer. * Add an options object to be passed to `importNote` of the core importer. * Add fallback object to fix exception if no options are passed. * Updating `fs` to be null by default to fix browser support.
- Loading branch information