Commit graph

14 commits

Author SHA1 Message Date
Sung Won Cho
14b0cf623f
Find command (#149)
* Implement basic full text search

* Avoid lag in log while making network calls

* Allow to restrict search by book name
2019-01-01 14:59:57 +11:00
Sung Won Cho
fa1da50fc5
Implement state-based sync (#144)
* 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
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
martaccmoreno
a8702062fe Fixed typo in the example for edit (#112) 2018-09-11 18:20:03 +10:00
Sung Won Cho
3148d3705b
Rename dnote-io to dnote (#94) 2018-08-23 08:11:39 +10:00
Anton Postov
4d25b84363 Fix issues from gometalinter and add code badges (#74) 2018-02-17 10:54:22 +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)
* 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)
* Refine output

* Show note content while editing

* v0.2.0-alpha.2
2018-01-07 18:18:47 +11:00
Sung Won Cho
19d383ac90
Sync across multiple machine (#51)
* Write migrations

* Use custom context

* Write test and run CI

* Save actions

* Implement reducer

* Supply api endpoint during build

* Remove uuid for book and use name instead

* Make bookmark id not timestamp

* Use book_name

* Fix migration to get sync to work
2018-01-06 17:53:07 +11:00
Sung Won Cho
8b9038112e Use Cobra (#38) 2017-05-06 18:08:04 +10:00
Yii Kuo Chong
c9c288373f Implement edit and delete interface (#26)
* Updated the code to suit maintainer's proposal

* Bug fixes and minor changes

* Minor changes

* Add files via upload

* Add files via upload

* Updated README.md

* Implement a simpler delete interface
2017-04-28 10:48:10 +10:00