Commit graph

18 commits

Author SHA1 Message Date
Sung
ce5c9b242a
Rename webUrl to baseUrl (#711) 2025-11-01 00:57:37 -07:00
Sung
e72322f847
Simplify email backend and remove --appEnv (#710)
* Improve logging

* Remove AppEnv

* Simplify email backend
2025-11-01 00:54:27 -07:00
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
ae290a226f
Auto vacuum and manage connections (#705)
* Test concurrent sync

* Auto vacuum and manage connection
2025-10-26 16:59:53 -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
0a5728faf3
Merge user and account (#701) 2025-10-19 21:05:47 -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
850f9cc6c9
Manage users with server CLI (#696) 2025-10-19 11:01:48 -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
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
e0f68fc8d8
Rate limit client (#689) 2025-10-11 16:14:20 -07:00
Sung
ca5af5e34a
Run server on port 3001 (#687)
* Simplify docker compose file

* Run on port 3001
2025-10-11 12:41:51 -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
a26037f83a
Add sync test (#678) 2025-09-28 22:25:34 -07:00