Commit graph

21 commits

Author SHA1 Message Date
Sung Won Cho
4079dd4db9
Add vscode (#241) 2019-08-01 10:52:28 +10:00
Sung Won Cho
12a933d8ec
Simplify remove book command (#240)
* Allow to skip confirmation when removing

* Allow to pass book name directly as an argument when removing
2019-08-01 10:45:30 +10:00
Sung Won Cho
e84e8ed2f3
Allow to rename books (#239)
* Allow to rename books

* Avoid mutating the flag variable

* Validate book name upon edit

* Write integration test

* Add missing licenses

* Mark book as dirty upon renaming so it can be synced

* Remove TODO that is no longer needed
2019-08-01 09:21:24 +10:00
Sung Won Cho
8f54e3b3e6
Fix conflict report format (#237)
* Improve assert output

* Get editor input as is

* Avoid appending a linebreak to a normal diff

* Test multi-line conflict diff
2019-07-30 18:57:23 +10:00
Sung Won Cho
b45952968b
Implement structured logging (#232)
* Implement structured logging

* Remove debug

* Log additional information for ncoming requests
2019-07-29 10:05:48 +10:00
Sung Won Cho
0317e7f1de
Allow to move notes to another book (#234)
* Print more information upon edit

* Allow to move notes between books

* Allow to update content and book at the same time

* Fix test
2019-07-27 19:51:30 +10:00
Sung Won Cho
71ca81b3ef
Exclude non-CLI releases from CLI update check (#231)
* Fix CLI release script

* Walk to find CLI releases

* Fix missing homebrew shasum

* Test CLI release walk

* Test pagingated result
2019-07-25 18:45:17 +10:00
Sung Won Cho
2c82e36f7a
Require database connection configuraton (#228)
* Require explicit configuration for database connection

* Test validation

* Remove stutter

* Only use packr for self hosting

* Restart server upon change
2019-07-24 17:32:12 +10:00
Sung Won Cho
a5bcf771d7
Allow empty param in the connection string (#227) 2019-07-23 17:52:00 +10:00
Sung Won Cho
ee14a3c9be
Fix test by enabling database SSL only in production (#226)
* Fix test

* Always specify sslmode
2019-07-23 17:06:03 +10:00
Sung Won Cho
73d66eea07
Simplify the env vars (#225) 2019-07-23 15:55:23 +10:00
Sung Won Cho
6fbe08e2a9
Simplify template path (#224)
* Simplify template path

* Fix
2019-07-22 15:42:56 +10:00
Sung Won Cho
357a587653
Implement server binary (#223) 2019-07-22 13:41:09 +10:00
Sung Won Cho
ddabdd9732
Allow multiple editor sessions (#221)
* Allow to get editor input from multiple sessions at a given time

* Add license
2019-07-13 13:02:09 +10:00
Sung Won Cho
92c3d8376e
Fix test (#217)
* Remove debug

* Fix missing directory
2019-07-02 18:27:29 +10:00
Sung Won Cho
35dc7abfae
Server migration (#214)
* Allow to run server side postgres migration

* Automate migration creation

* Check if sql-migrate exists
2019-06-29 12:31:42 +10:00
Sung Won Cho
6feda8c392
Allow to customize endpoint in CLI (#213)
* Read api endpoint from config

* Migrate config file
2019-06-28 15:38:59 +10:00
Sung Won Cho
04b41bb53f
Fix installation link (#212) 2019-06-28 12:23:53 +10:00
Sung Won Cho
c7a9ceee3c
Fix dependency installation (#209)
* Fix local js dependency installation

* Fix wording

* Fix test
2019-06-27 11:59:42 +10:00
Sung Won Cho
75d1cb42e8
Deps (#208)
* Consolidate deps

* Fix CI
2019-06-26 18:43:39 +10:00
Sung Won Cho
23a511dbe0
Improve package structure (#207)
* Improve package structure

* Set up travis
2019-06-25 19:20:19 +10:00