Commit graph

371 commits

Author SHA1 Message Date
Sung
10b13fea84 Update self-hosting doc 2025-11-01 15:00:28 -07:00
Sung
f1d7123596
Fix log level (#712) server-v3.0.0 2025-11-01 14:06:33 -07:00
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) cli-v0.15.5 server-v3.0.0-rc4
* 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
e3380a4dfa
Remove unused templates (#702) 2025-10-19 21:42:53 -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
83ac43b737
Specify DBPath for docker (#699) 2025-10-19 15:38:52 -07:00
Sung
505fc67966
Fix server release for freebsd (#698) cli-v0.15.4 server-v3.0.0-rc3 2025-10-19 14:57:29 -07:00
Sung
7d44c541a4
Add Docker images for linux arm64, armv7, 386 (#697)
* Add multi-platform Docker support for ARM64, ARMv7, and 386

* Support freebsd amd64 for server

* Build docker images locally
2025-10-19 14:30:55 -07:00
Sung
850f9cc6c9
Manage users with server CLI (#696) 2025-10-19 11:01:48 -07:00
Sung
41f25514f0
Link to the doc (#695) 2025-10-19 01:01:26 -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) cli-v0.15.3
* 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
74119b1d0b
Automate release process (#691) server-v3.0.0-rc2 2025-10-12 13:02:59 -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
fd7b2a78b2
Remove email verification (#688)
* Remove email verified flag

* Fix sass deprecation warnings
2025-10-11 13:35:39 -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
162ceb4ad1
Simplify installation (#686) 2025-10-10 21:20:33 -07:00
Sung
637d4c6861
Simplify contribution (#685) 2025-10-05 22:26:48 -07:00
Sung
a62c7f9e93
Build cli v0.15.2 (#684) cli-v0.15.2 2025-10-05 21:26:12 -07:00
Sung
5df3e7af70
Document change (#683) 2025-10-05 17:59:19 -07:00
Sung
b141b677bb
Cross-platform build for server (#682) 2025-10-05 17:56:13 -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
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
dependabot[bot]
895dcaa59f
Bump braces from 3.0.2 to 3.0.3 in /pkg/server/assets (#670)
Bumps [braces](https://github.com/micromatch/braces) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md)
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3)

---
updated-dependencies:
- dependency-name: braces
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-30 17:43:11 +10:00
dependabot[bot]
1ff4c07528
Bump golang.org/x/net from 0.20.0 to 0.23.0 (#669)
Bumps [golang.org/x/net](https://github.com/golang/net) from 0.20.0 to 0.23.0.
- [Commits](https://github.com/golang/net/compare/v0.20.0...v0.23.0)

---
updated-dependencies:
- dependency-name: golang.org/x/net
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-11 13:50:36 +10:00
Sung
bdc980e5ce
Release CLI 0.15.1 (#661) 2024-02-03 11:54:46 +11:00
Sung
f1c0d0bc04
Upgrade color library (#660) cli-v0.15.1 2024-02-03 10:29:28 +11:00
Sung
f0ba8a1fa6
Upgrade to Go 1.21 (#658) 2024-01-28 14:44:21 +11:00
Sung
4dded18395
Update the instruction to use Docker compose v2 (#657) 2024-01-28 12:50:26 +11:00
Sung
818ebcce69
Add 2024 (#656) 2024-01-28 11:50:22 +11:00
Sung
94ad949453
Release CLI v0.15.0 (#647) cli-v0.15.0 2023-05-27 18:08:19 +10:00
Sung
5eae1299f7
Allow to disable automatic upgrade check in CLI (#646) 2023-05-27 17:49:34 +10:00
Sung
2de1798fdd
Remove Darwin release (#644) 2023-03-18 16:57:40 +11:00
Sung
558bf8dbe1
Run CI (#643)
This reverts commit f18677e498.
2023-03-18 16:55:16 +11:00
Sung
664520e027
Allow to download darwin/arm64 using the installation script (#642) 2023-03-18 16:52:34 +11:00
Sung
f18677e498
Remove autoclose of inactive issue (#641) 2023-03-12 13:48:14 +11:00
Sung
b47c792d5f
Fix homebrew release (#640) 2023-03-10 21:32:10 +11:00
Sung
489d4f407a
Document CLI 0.14.0 release (#639) 2023-03-10 21:26:23 +11:00