Haitao Pan
6ba56841b5
feat: add OAuth2 authentication support with new API endpoints, configuration, and identity storage.
2026-01-30 08:46:24 +08:00
Haitao Pan
de5847d1f0
feat: add internal service-to-service authentication middleware
2026-01-29 22:25:40 +08:00
Haitao Pan
983c1ef84a
docs: Add runbook for fixing CloudRun Stunnel startup failures.
2026-01-29 13:14:33 +08:00
Haitao Pan
d37b0e0ee9
chore: Update stunnel pid file path to /tmp and disable output logging.
2026-01-28 23:00:41 +08:00
Haitao Pan
0cc3acf24f
chore: update account service database DSN to use specific credentials and port 15432.
2026-01-28 22:47:00 +08:00
Haitao Pan
5d3721bdff
chore: Update PostgreSQL hostname from postgresql.onwalk.net to postgresql.svc.plus in stunnel configurations.
2026-01-27 22:44:38 +08:00
Haitao Pan
9a711b2574
chore: Update Xray certificate and key file paths to Caddy ACME dynamic locations.
2026-01-27 22:40:29 +08:00
Haitao Pan
50039d2952
feat: Add default client entries to Xray templates and conditionally omit client flow for xhttp networks.
2026-01-27 22:19:50 +08:00
Haitao Pan
cb542092ce
feat: Template Xray TCP certificate and key file paths using a domain placeholder.
2026-01-27 22:01:07 +08:00
Haitao Pan
e1e22bca62
feat: Introduce nodes table and refactor Xray config syncer to generate multiple protocol-specific configurations using new XHTTP and TCP templates.
2026-01-27 21:56:39 +08:00
Haitao Pan
89243a682c
add skills/docs
2026-01-26 22:52:24 +08:00
Haitao Pan
ccdf676ae9
docs: add full documentation outline
2026-01-26 22:21:11 +08:00
Haitao Pan
3ce371658a
add Runbook/README.md
2026-01-26 15:57:43 +08:00
Haitao Pan
fbe107c13e
feat(api): reuse verification code within TTL and regenerate after 10m
2026-01-25 14:17:30 +08:00
Haitao Pan
9ca661c84d
fix(api): allow registration with code without prior verification call
2026-01-25 13:55:39 +08:00
Haitao Pan
182d1fe662
fix: restore missing resendLabel definition in RegisterContent
2026-01-25 11:44:37 +08:00
Haitao Pan
b83c93e80d
docs: Update SMTP Gmail setup documentation.
2026-01-25 10:24:02 +08:00
Haitao Pan
c7805f13a5
refactor: move NextAuth configuration to a dedicated server file.
2026-01-25 10:12:12 +08:00
Haitao Pan
5237261309
add https://console.svc.plus ->config/account.cloudrun.yaml
2026-01-25 09:15:22 +08:00
c364fcf8ff
Merge pull request #3 from cloud-neutral-toolkit/refactor/makefile-scripts
...
Refactor/makefile scripts
2026-01-25 09:10:18 +08:00
Haitao Pan
fb06e97d6c
Add superadmin integration tests and env-based config
2026-01-25 09:04:08 +08:00
Haitao Pan
ead2ed7fa2
chore: ignore account export output
2026-01-24 23:04:41 +08:00
Haitao Pan
6d76072104
chore: avoid clobbering schema on dump
2026-01-24 23:02:53 +08:00
Haitao Pan
1151ee0c71
chore: improve scripts for local stunnel and env
2026-01-24 22:57:37 +08:00
Haitao Pan
52a575535f
chore: fix phony init-db and go proxy
2026-01-24 22:42:40 +08:00
Haitao Pan
c7c6e14ad5
refactor: move make targets to scripts
2026-01-24 22:36:29 +08:00
Haitao Pan
f7b71da95f
chore: update cloud run image tag
2026-01-24 00:51:25 +08:00
Haitao Pan
d74372e592
fix: avoid duplicate healthz route
2026-01-24 00:50:47 +08:00
Haitao Pan
d0e8a4436f
chore: update cloud run image tag
2026-01-24 00:00:53 +08:00
Haitao Pan
08a0a7a61b
feat: add healthz endpoint
2026-01-24 00:00:30 +08:00
Haitao Pan
6928b9a6ff
chore: update cloud run image tag
2026-01-23 23:51:15 +08:00
Haitao Pan
60a2490e86
fix: wait for stunnel before starting
2026-01-23 23:50:52 +08:00
Haitao Pan
67b8cac467
build: bump go builder image to 1.25.1
2026-01-23 23:34:46 +08:00
Haitao Pan
62e037795d
chore: adapt cloud run + stunnel client config
2026-01-23 23:32:41 +08:00
Haitao Pan
29ee491acf
reset accounts.svc.plus repo
2026-01-23 23:16:37 +08:00
Haitao Pan
e0915541a7
feat: add Cloud Run sidecar deployment for Stunnel and update client-side setup
2026-01-23 19:45:32 +08:00
Haitao Pan
b0c1ce813e
update cmd/accountsvc/main.go
2026-01-23 19:23:48 +08:00
Haitao Pan
315517c047
fix: update entrypoint and config to bind to 0.0.0.0 for Cloud Run
2026-01-23 18:38:32 +08:00
Haitao Pan
3c5a018b63
merged
2026-01-23 17:35:18 +08:00
0bd40091e6
Merge pull request #2 from cloud-neutral-toolkit/fine-tune-dockerfile-entrypoint-4806566025323220590
...
Fix: Improve entrypoint script and Dockerfile for Cloud Run deployment
2026-01-21 17:01:09 +08:00
google-labs-jules[bot]
5226b2d9cf
Fix: Improve entrypoint script and Dockerfile for Cloud Run deployment
...
- Update `entrypoint.sh` to support `DB_HOST`, `DB_PORT`, `DB_USER`, `DB_NAME` environment variables for dynamic DSN construction.
- Ensure proper escaping of special characters in `entrypoint.sh` when using `sed`.
- Update `Dockerfile` to accept `GOPROXY` build argument.
- Update `Dockerfile` to include `curl` in runtime image for debugging.
- Use `-ldflags="-s -w"` in `go build` to reduce binary size.
2026-01-21 08:49:49 +00:00
ad39ac335c
Merge pull request #1 from cloud-neutral-toolkit/fix-cloud-run-build-and-startup-3517540955516058013
...
Fix Cloud Run build failure and stunnel startup issues
2026-01-21 15:59:28 +08:00
google-labs-jules[bot]
f4ec90bbfd
Fix Cloud Run build and stunnel startup support
...
- Downgrade Go version from 1.25.1 to 1.24.0 in go.mod and Dockerfile to resolve build failure (Go 1.25 is not yet released).
- Add `netcat-openbsd` to Dockerfile runtime image to ensure `nc` command is available for health checks.
- Update `entrypoint.sh` to robustly wait for `stunnel` to start using `nc` loop, preventing app startup failure when DB TLS is enabled.
- Add explicit error handling in `entrypoint.sh` if `stunnel` fails to start within timeout.
2026-01-21 07:57:08 +00:00
Haitao Pan
19ab008c30
deployment with GitHub Actions, Stunnel for TLS database connections, and dynamic configuration injection.
2026-01-20 21:05:30 +08:00
Haitao Pan
ecf11b948f
fix: update sql module imports
2026-01-16 16:20:06 +08:00
Haitao Pan
ee6e1a6363
feat: move account service to repo root
...
# Conflicts:
# account/Makefile
# account/go.mod
# docs/account-admin-settings.md
# docs/account-svc-plus.md
2026-01-16 16:15:23 +08:00
Haitao Pan
dce981a529
chore: move account sql assets and update migrate docs
2026-01-16 11:47:10 +08:00
Haitao Pan
5e57fdeac2
chore: update repo content and deployment/docs assets
2026-01-16 00:20:54 +08:00
f5f02330e8
Initialize neurapress package exports ( #795 )
2025-12-14 21:22:08 +08:00
bb7ca95c03
Add NeuraPress submodule metadata ( #794 )
2025-12-14 21:01:34 +08:00