Commit graph

105 commits

Author SHA1 Message Date
Sung Won Cho
fa1da50fc5
Implement state-based sync (#144) v0.4.9
* Migrate uuids of books that already exist in server

* Remove actions

* Add dirty flag for notes and books

* Drop actions table

* Implement sync

* Add debug

* Update uuid after posting resources to the server

* Fix dev script
2018-12-02 11:04:16 +10:00
Sung Won Cho
44238a272f
Revert "Remove deprecated ls and cat commands (#142)" (#143)
This reverts commit d3a805c09f.
2018-12-02 07:46:52 +10:00
Sung Won Cho
d3a805c09f
Remove deprecated ls and cat commands (#142) 2018-11-25 17:37:53 +11:00
Sung Won Cho
04f4538945
Fix build checksum filename (#136) 2018-10-14 15:22:38 +10:00
Sung Won Cho
332fd8f8ca
Cross compile (#135) v0.4.8
* Cross compile

* Fix tarball name
2018-10-14 14:51:11 +10:00
Sung Won Cho
3d4c8ea8f4
Drop platform suports due to cross compilation with cgo (#134) 2018-10-14 10:56:17 +10:00
Sung Won Cho
4bb24db67d
Fix distribution (#132) v0.4.7 2018-10-14 08:53:10 +10:00
Sung Won Cho
07f6a745cf
Fix endpoint (#131) v0.4.6 2018-10-13 17:30:44 +10:00
Sung Won Cho
0d35ee9538
Fix install (#130) 2018-10-13 17:23:01 +10:00
Sung Won Cho
c9ebebab6a
Fix a bug where current legacy version is not parsed (#129) v0.4.5 2018-10-13 16:57:03 +10:00
Sung Won Cho
9de73bebbe
v0.4.5 (#128)
* lock dep

* Compare checksum and automate release
2018-10-13 15:35:03 +10:00
Sung Won Cho
8d3e7cce6c
Implement migration (#120)
* Make easier to copy paste to execute

* Make migration work

* Bump edit_note action schema to v3

* Use UnixNano for timstamps

* Fix schema
2018-10-07 20:37:02 +10:00
Kleber Correia
0f13829209 Keep cli output consitent by using same output format in add and edit commands (#123) 2018-10-07 19:56:51 +10:00
Sung Won Cho
e7940229cf
Use SQLite (#119)
* Make commands use sqlite

* Migrate system

* Fix tests to use sqlite

* Write test for reducer

* Avoid corrupt state in case error occurs in client after server succeeds

* Export test functions
2018-09-24 06:25:53 +10:00
Sung Won Cho
0b349a686f
Fix note_uuid in action when removing note (#117) v0.4.4 2018-09-18 06:58:52 +10:00
martaccmoreno
a8702062fe Fixed typo in the example for edit (#112) 2018-09-11 18:20:03 +10:00
Sung Won Cho
49754b58a4
Add debug statements (#109) v0.4.3
* Add debug

* Document usage
2018-09-08 16:21:55 +10:00
Sung Won Cho
0a2413070f
Fix edit_note data (#108)
* Lock in dep

* Log v2 edit data when editing

* Migrate edit_note actions with incorrect data
2018-09-08 15:52:57 +10:00
Sung Won Cho
fed12fa8a9
Add homebrew instruction (#103) 2018-09-02 18:22:46 +10:00
Sung Won Cho
4ad2bdabe3 Add contributor guide 2018-09-02 18:06:34 +10:00
Sung Won Cho
4355b0c75b Configure brew 2018-09-02 17:24:35 +10:00
Sung Won Cho
73c5c9ac67
Remove upgrade (#102) v0.4.2
* Remove upgrade

* Ask for upgrade

* Adopt installation script to unpack

* Remove unused
2018-09-02 16:54:29 +10:00
Sung Won Cho
b76cbba5de Make binary name backward compatible v0.4.1 2018-09-01 16:55:41 +10:00
Sung Won Cho
ca662f8450
Fix checksum filename (#101) 2018-09-01 16:44:54 +10:00
Sung Won Cho
6ad1c83d3f
Configure goreleaser (#100) 2018-09-01 16:37:57 +10:00
Sung Won Cho
b3a12aed85
Deprecate upgrade (#99)
* Deprecate upgrade

* Automate using goreleaser

* Fix name and version

* Automate
2018-09-01 16:30:15 +10:00
Sung Won Cho
50cfd9923d
Use actions package and add view command (#95) v0.4.0
* Use actions package

* Add view command

* Upgrade dependencies

* Bump

* Check update less frequently

* Simplify doc
2018-08-26 15:04:34 +10:00
Sung Won Cho
3148d3705b
Rename dnote-io to dnote (#94) 2018-08-23 08:11:39 +10:00
Matthew Loseke
0fa9133822 removes 'add' from 'Add a add note' (#91) 2018-08-20 19:41:40 +10:00
Sung Won Cho
021173e1d9
Fix output of multi-line notes (#89) v0.3.1
* Make output more condensed

* Fix broken output when adding notes with multiple lines

* 0.3.1
2018-07-07 23:46:14 +10:00
Sung Won Cho
215685bf6e
Multiline support (#87) v0.3.0
* Allow to add multiline notes

* Add cat command

* Document cat

* 0.3.0
2018-06-10 17:03:41 +10:00
Sung Won Cho
01dc58f754
Change book (#85) v0.2.2
* Migrate edit_book action data and action

* Fix test

* Reduce change of books

* Bump version

* Add uuid
2018-06-06 21:45:25 +10:00
Sung Won Cho
7210d13a78
Improve README (#83) 2018-04-01 15:48:52 +10:00
Ryo Nakao
e8acad1f87 Add examples of usage to README.md (#78) 2018-04-01 15:33:43 +10:00
Robert Kuska
a5ae890b96 Add support for neovim editor (#80) 2018-04-01 15:33:09 +10:00
Sung Won Cho
86d75466ca
Improve text output and error messages (#75) v0.2.1
* Fix newline

* Allow to specify default for confirmation

* Improve error handling

* Include more options and default to vi

* 0.2.1

* Improve error output
2018-02-17 11:48:09 +11:00
Anton Postov
4d25b84363 Fix issues from gometalinter and add code badges (#74) 2018-02-17 10:54:22 +11:00
Daniel Hume
a7e7364332 Fix windows console colours, include installer script for windows (#73)
* partial fix of ls and add commands

* completing log changes for windows-compatible colours

* Added Windows installer batch script

* cleanup

* ran dep ensure
2018-02-17 10:53:30 +11:00
Evgeniy Kulikov
b1386722a9 [FIX] Cleanup code (#69)
- cleanup code
- fix linter warnings
2018-02-14 20:24:42 +11:00
Sung Won Cho
c699636225
Allow to confirm on Windows (#68) v0.2.1-beta 2018-02-13 22:20:08 +11:00
Anthony Ng
fd655f2cc4 Update README.md (#60)
Fix broken image.
2018-02-13 21:27:20 +11:00
Liam JACK
a0e7fd2e09 Fix #58 - Implements fix provided by @expz (#62) 2018-02-13 20:12:17 +11:00
Sung Won Cho
1bfaa61ccd
Update README.md 2018-01-23 21:49:51 +11:00
Sung Won Cho
922bb4ba04
0.2.0 (#57) v0.2.0 2018-01-21 15:25:16 +11:00
Sung Won Cho
5456ccecf5 0.2.0-beta.1 v0.2.0-beta.1 2018-01-14 18:39:28 +11:00
Sung Won Cho
4d1532b216
Sort books by note count (#56) 2018-01-14 18:38:35 +11:00
Sung Won Cho
3f57d446e8 v0.2.0-alpha.4 v0.2.0-alpha.4 2018-01-10 21:29:48 +11:00
Sung Won Cho
6d0f569be3
Replace books command with ls (#55)
* Replace books command with ls

* Avoid prompting check update all the time
2018-01-10 21:29:10 +11:00
Sung Won Cho
41ee8eba0f
Use editor for add and edit by default (#54) v0.2.0-alpha.3
* Open text editor for add and edit

* Remove unused test

* Improve output

* Remove support for current book

* Improve ls output and add an alias

* Simplify logic

* v0.2.0-alpha.3

* Add migration for editor

* Add ASCII art
2018-01-09 21:31:52 +11:00
Sung Won Cho
d31b22aed0
Improve output and edit command (#52) v0.2.0-alpha.2
* Refine output

* Show note content while editing

* v0.2.0-alpha.2
2018-01-07 18:18:47 +11:00