Commit graph

37 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
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
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
73c5c9ac67
Remove upgrade (#102)
* Remove upgrade

* Ask for upgrade

* Adopt installation script to unpack

* Remove unused
2018-09-02 16:54:29 +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)
* 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
Sung Won Cho
215685bf6e
Multiline support (#87)
* Allow to add multiline notes

* Add cat command

* Document cat

* 0.3.0
2018-06-10 17:03:41 +10:00
Sung Won Cho
86d75466ca
Improve text output and error messages (#75)
* 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
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
Sung Won Cho
cc9a438800 Add ls as an alias for note (#36) 2017-05-06 12:45:19 +10:00
Sung Won Cho
baed21bd25 Document usage in CLI 2017-04-28 11:55:46 +10:00
Sung Won Cho
a751663543 Allow to direct write to a book without switching. (#30)
* Add missing documentations

* Allow to direct write to a book without switching. Fix #21
2017-04-28 11:42:12 +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
Michiel Alexander Boekhoff
941aafc962 use now creates a new book entry in the Dnote file. 2017-04-20 15:30:48 +01:00
Sung Won Cho
2a1b886d7e Require login to sync 2017-04-09 18:05:20 +10:00
Sung Won Cho
13d615c611 Update interface to work with JSON 2017-04-09 16:52:54 +10:00
Sung Won Cho
d5967bc4c3 Implement JSON migration and get started on sync 2017-04-08 20:01:41 +10:00
Michiel Alexander Boekhoff
f95098f16d Combined list & notes into one command. 2017-04-07 10:07:49 +01:00
Michiel Alexander Boekhoff
2409b1d39d Added book name to print statement. 2017-04-07 09:10:58 +01:00
Michiel Alexander Boekhoff
4d45eec682 Added lookup of notes in current book. 2017-04-07 09:10:58 +01:00
Michiel Alexander Boekhoff
c0cd9f3096 Implement finding all notes in a book. 2017-04-07 09:10:57 +01:00
Sung Won Cho
bb388062e3 Ask for confirmation before checking upgrade 2017-04-07 16:49:38 +10:00
Sung Won Cho
a725f9e61f Fix upgrade 2017-04-07 15:52:56 +10:00
Sung Won Cho
e45f853ded Update the upgrade timestamp on successful update 2017-04-07 14:47:45 +10:00
Sung Won Cho
d64eb8f2b7 Stop heartbeat and autoudpate periodically 2017-04-07 11:44:54 +10:00
Sung Won Cho
216fb74fa7 Document 2017-04-03 21:46:55 +10:00
Sung Won Cho
d623488da7 Check update 2017-04-01 12:11:33 +11:00
Sung Won Cho
ab66b8edad Sort books 2017-03-31 16:36:15 +11:00
Sung Won Cho
e758a59cf2 Rename channel to book 2017-03-31 16:16:50 +11:00
Sung Won Cho
8afa544d13 Add ability to write new note 2017-03-30 21:19:14 +11:00
Sung Won Cho
66cd70e93e Initial commit 2017-03-30 20:15:58 +11:00