Commit graph

38 commits

Author SHA1 Message Date
Sung
e0c4cb1545
Use Apache 2.0 license (#708) 2025-10-31 23:41:21 -07:00
Sung
6314749263
Improve empty server sync when multiple clients exist (#706)
* Fix dbPath

* Require full sync when after another client uploads to an empty server

* Avoid orphan notes with empty sync
2025-10-26 17:54:24 -07:00
Sung
a46afb821f
Fix an edge case of repeated syncs due to orphaned note (#704)
* Split sync test

* Reproduce a bug

* Fix a bug

* Fix in a more correct way

* Add debug logs
2025-10-26 11:43:17 -07:00
Sung
f6a4c6344c
Remove public from CLI (#703)
* Remove public from CLI

* Write migration and test

* Use in-memory db for a test server

* Simplify CLI test db teardown

* Restructure packages to reduce duplication
2025-10-25 20:51:57 -07:00
Sung
b03ca999a5
Remove the unused encrypted and public fields (#700)
* Remove encrypted fields from notes and books

* Remove public from notes

* Use consistent flags
2025-10-19 18:32:20 -07:00
Sung
03889a3d7e
Converge if using same book names while syncing (#694)
* Add healthcheck for Docker

* Prevent nil pointer if endpoint is wrong

* Converge if using same book names while syncing
2025-10-18 16:03:12 -07:00
Sung
c8238aa327
Handle errors (#693) 2025-10-12 16:17:01 -07:00
Sung
346bd9afb1
Add dbPath flag and update apiEndpoint flag (#692)
* Allow to specify CLI db path as a flag

* Make API endpoint flag per command and change case
2025-10-12 15:08:11 -07:00
Sung
24491bc68a
Allow to upload all data to an empty server (#690)
* Handle server switch

* Avoid losing data in case of race

* Simplify
2025-10-12 12:03:20 -07:00
Sung
a62c7f9e93
Build cli v0.15.2 (#684) 2025-10-05 21:26:12 -07:00
Sung
61162e2add
Use SQLite on the server (#681)
* Use SQLite on server

* Remove pro

* Simplify

* Use flag

* Automate release
2025-10-05 17:02:30 -07:00
Sung
5928f9619f
Upgrade go and dependencies (#679) 2025-10-04 00:25:12 -07:00
Sung
b37820da1f
Remove Pro (#674) 2025-09-28 21:09:22 -07:00
Sung
8ffd44f362
Add 2025 (#673) 2025-08-08 22:31:20 -07:00
Sung
818ebcce69
Add 2024 (#656) 2024-01-28 11:50:22 +11:00
Sung
17b4c7d6cf
Disable completion command (#637) 2023-03-10 21:05:18 +11:00
Sung
dd6f8c7f65
Upgrade dependencies (#630)
* Upgrade dependencies

* Fix broken test due to upstream behavior
2023-03-03 22:10:25 +11:00
Zach Nickel
ff0ae9ac29
Add note from stdin content (#616)
* add note from stdin content

* add tests and update help text
2023-02-10 21:34:23 +11:00
Sung
ee45144cd7
Add 2023 (#615) 2023-02-05 11:02:25 +11:00
Sung Won Cho
8e5c051437
Add 2022 (#600) 2022-05-10 20:19:04 +10:00
Sung Won Cho
504ba44852
Add 2021 (#574) 2021-12-08 22:26:15 +11:00
Sung Won Cho
a4640977b5
Allow to skip frontmatter when viewing note (#528) 2021-01-03 12:32:24 +11:00
Sung Won Cho
e9f3b080d5
Use XDG base directory (#527)
* Create platform specific directory definitions

* Fix CLI integration test

* Rename dirs to paths and get config path

* Namespace

* Fix initialization of dirs

* Simplify and change description

* Simplify

* Fix build flag

* Bump sqlite version

* Bump xgo
2021-01-03 12:11:22 +11:00
Sung Won Cho
ebe360d7ff
Dynamic hostname (#454)
* Display dynamic hostname for login

* Document change
2020-04-25 16:56:33 +10:00
Monomax Bot
96d3c50780
Upgrade dependencies (#450)
* Upgrade dependencies.

* Fix test

* Improve name

* Update doc

* Upgrade deps

* Fix lint

* Fix lint

Co-authored-by: Sung Won Cho <sung@monomax.sh>
2020-04-25 11:38:39 +10:00
Sung Won Cho
58a2b581aa
Allow to specify username and password as flags (#403)
* Allow to specify username and password as flags

* Format
2020-02-04 12:30:26 +10:00
Sung Won Cho
952e0e62f3
Update copyright notice for the new year (#382)
* Update script

* Update the year in the license
2020-01-07 11:59:40 +11:00
Sung Won Cho
5902585216
Allow to specify repetition rule (#280)
* Implement data model and basic UI for repetition rules

* Implement tooltip

* Allow to update and write test

* Stop processing the first repetition until having waited at least the frequency amount

* Set up email dev server reload

* Test pro only

* Allow to toggle repetition using token

* Remove unused

* Add last active

* Simplify nextActive calculation

* Create weekly digest repetition rules for existing users

* Fix style

* Fix link

* Create default repetition rule upon signup

* Get notes with thresholds

* Fix test

* Fix test
2019-10-28 00:34:59 -07:00
Sung Won Cho
1250825578
Include license notices (#255) 2019-09-30 11:55:11 +08:00
Sung Won Cho
2758923c34
Implement personal knowedge base version (#254)
* Allow to add and edit notes

* Implement search

* Implement settings

* Implement checkout page

* Implement paywall

* Fix inconsistent margin

* Render mobile menu

* Allow to logout

* emails

* Implement user migration

* Always build standalone

* Embed digest in email

* Move browser extension

* Fix test

* Use system font

* Add favicon and app icons

* Make tabbar smaller

* Initialize focus on editor

* Fix various UI audit issues

* Simplify asset serving

* Register sw

* Upgrade deps
2019-09-30 11:02:09 +08:00
Sung Won Cho
2c80340e19
Fix homebrew release (#242) 2019-08-01 11:42:43 +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
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
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
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
23a511dbe0
Improve package structure (#207)
* Improve package structure

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