Commit Graph

59 Commits

Author SHA1 Message Date
Haitao Pan
daec229c7b feat(xworkmate): add tenant-aware profile storage 2026-03-17 13:27:30 +08:00
Haitao Pan
d1f10e2170 Handle Go bootstrap during process deploy 2026-03-15 16:59:43 +08:00
Haitao Pan
7a5e9fda08 Add deploy and uninstall flows for process and docker modes 2026-03-15 16:56:55 +08:00
Haitao Pan
59546be8ca docs(setup): add root README and setup script 2026-02-09 11:29:36 +08:00
Haitao Pan
51358586e1 chore: unblock push by tuning gitleaks + report path 2026-02-06 13:24:49 +08:00
Haitao Pan
27835a8259 feat: add git security and commit standards skills and hooks 2026-01-30 10:10:43 +08:00
Haitao Pan
fb06e97d6c Add superadmin integration tests and env-based config 2026-01-25 09:04:08 +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
29ee491acf reset accounts.svc.plus repo 2026-01-23 23:16:37 +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
ac41055ab2 Update Go base images to Ubuntu 24.04 (#745) 2025-12-04 14:31:24 +08:00
e13c5a6c28 Add base container images and build helpers (#731) 2025-12-02 22:26:48 +08:00
Haitao Pan
f175a794cf add manifest generation scripts
🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-12 12:30:48 +08:00
Haitao Pan
fe4b236a71 feat: merge quick wrapper into main manifest scripts
### Changes:

1. **gen_offline-package_manifest.py**
   - Merged gen_offline-package_manifest_quick.py functionality
   - Added auto-derivation of --root from --output path
   - Auto-discovers subdirectories when --include not specified
   - Outputs to offline-package-manifest.json
   - Removed quick wrapper script (merged into main)

2. **gen_docs_manifest.py**
   - Added auto-discovery of subdirectories
   - Scans all category/version/*.html and *.pdf when --include not specified

### Usage:

For gen_offline-package_manifest.py:
  # Auto-derive root from output
  python3 scripts/gen_offline-package_manifest.py \
    --output /data/update-server/dl-index

  # Or specify root explicitly
  python3 scripts/gen_offline-package_manifest.py \
    --root /data/update-server/offline-package \
    --output /data/update-server/dl-index

For gen_docs_manifest.py:
  # Auto-discover all subdirectories
  python3 scripts/gen_docs_manifest.py \
    --root /data/update-server/docs \
    --output /data/update-server/dl-index

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:58:37 +08:00
Haitao Pan
b488646de7 feat: enhance scripts with filtering and offline-package support
### Changes:

1. **scripts/gen_docs_manifest.py**
   - Added --include parameter with default "docs"
   - Filters documentation files to only include specified directories
   - Can be provided multiple times for multiple directories
   - Updated docstring to document the new parameter

2. **scripts/gen_mirror_manifest.py**
   - Added generation of offline-package.json file
   - Filters listings to only include offline-package directory entries
   - Writes to the same output directory alongside manifest.json

### Usage:

For gen_docs_manifest.py:
  python3 scripts/gen_docs_manifest.py \
    --root /data/update-server/docs \
    --base-url-prefix https://dl.svc.plus/docs \
    --include docs

For gen_mirror_manifest.py:
  python3 scripts/gen_mirror_manifest.py \
    --root /data/update-server \
    --include offline-package \
    --output dl-index/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 18:33:04 +08:00
Haitao Pan
d4a4dc186b feat: enhance scripts with filtering and offline-package support
### Changes:

1. **scripts/gen_docs_manifest.py**
   - Added --include parameter with default "docs"
   - Filters documentation files to only include specified directories
   - Can be provided multiple times for multiple directories
   - Updated docstring to document the new parameter

2. **scripts/gen_mirror_manifest.py**
   - Added generation of offline-package.json file
   - Filters listings to only include offline-package directory entries
   - Writes to the same output directory alongside manifest.json

### Usage:

For gen_docs_manifest.py:
  python3 scripts/gen_docs_manifest.py \
    --root /data/update-server/docs \
    --base-url-prefix https://dl.svc.plus/docs \
    --include docs

For gen_mirror_manifest.py:
  python3 scripts/gen_mirror_manifest.py \
    --root /data/update-server \
    --include offline-package \
    --output dl-index/

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 17:53:36 +08:00
Haitao Pan
fefe3511ef feat: update base-url-prefix default in gen_mirror_manifest.py
### Changes:
- Changed --base-url-prefix default from "/" to "https://dl.svc.plus/offline-package"
- Updated docstring usage example to reflect the new default

### Reason:
Sets a more specific default URL prefix for offline package downloads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 17:44:07 +08:00
Haitao Pan
a58a6aa9ab feat: enhance gen_mirror_manifest.py with configurable options
### Changes:
1. Set ROOT default to `/data/update-server/`
   - Changed --root from required to optional with default value

2. Add --include [dirlist] parameter
   - Default: offline-package
   - Can be provided multiple times
   - Filters which directories to include in manifest
   - Only processes directories matching the include list

3. Add --output parameter
   - Default: dl-index/
   - Specifies where to write manifest.json
   - Creates directory if it doesn't exist

### Usage:
  python3 scripts/gen_mirror_manifest.py \
    --root /data/update-server \
    --base-url-prefix / \
    --include offline-package \
    --output dl-index/ \
    [--exclude docs --exclude xray-core]

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-11 17:37:01 +08:00
Haitao Pan
8edeb75391 feat(auth): implement dual-layer token authentication with config support
- Add auth.enable configuration field (default: true)
- Add TokenService initialization in account service
- Implement token exchange endpoint (/api/auth/token/exchange)
- Implement token refresh endpoint (/api/auth/token/refresh)
- Protect routes with JWT authentication middleware
- Update configuration structures for all services
- Support accessSecret with configurable expiry times
- Update token management script to handle all token types
- Validate auth configuration consistency across services
2025-11-05 20:11:23 +08:00
Haitao Pan
7ef1f960fb feat(auth): implement token authentication system across services
- Add token service and MFA service to account service
- Implement auth middleware for request validation
- Add token-based auth to dashboard and RAG server
- Update configuration files for auth settings
2025-11-05 19:28:23 +08:00
Haitao Pan
8d88877dad add scripts/install_stalwart_mailserver.sh 2025-11-01 20:27:32 +08:00
Haitao Pan
03a221f41d --amend 2025-11-01 18:10:46 +08:00
Haitao Pan
44a67a90fe scripts/install_postfix_sendonly.sh: udpate show_dns_record 2025-11-01 18:10:46 +08:00
Haitao Pan
05cd8ba1cb add scripts/install_postfix_sendonly.sh 2025-11-01 18:10:46 +08:00
Haitao Pan
d11ad1bbda scripts/install_opensmtpd_sendonly.sh: update check_send_email() 2025-11-01 13:09:55 +08:00
shenlan
0339b347fd Add SMTP app config and send test utilities (#619) 2025-11-01 13:03:00 +08:00
Haitao Pan
5a5e6e575f scripts: add install_exim_sendonly and install_opensmtpd_sendonly 2025-11-01 12:15:29 +08:00
shenlan
a3fe439711 feat: add cross-platform OpenResty installer (#608) 2025-10-31 15:27:49 +08:00
Haitao Pan
3edad8474c refactor(postgresql): replace zhparser+scws with pg_jieba; update Makefile and setup scripts 2025-10-30 15:16:32 +08:00
shenlan
302794d2a6 Add CMS configuration schema, docs, and validation (#551) 2025-10-17 16:41:22 +08:00
shenlan
c72aa73b17 Revert "feat: add markdown content pipeline (#547)" (#548)
This reverts commit 02cd16102f.
2025-10-17 15:44:26 +08:00
shenlan
02cd16102f feat: add markdown content pipeline (#547) 2025-10-17 15:27:29 +08:00
shenlan
0f82735149 Move dashboard frontend out of ui namespace (#538) 2025-10-17 12:36:27 +08:00
shenlan
2c45c0eb22 chore: clear stale next cache before builds (#533) 2025-10-16 19:20:30 +08:00
root
14012fe497 update rag-server/Makefile 2025-10-15 14:36:37 +08:00
shenlan
d8c5f418db refactor: unify pglogical region schema (#498) 2025-10-13 01:30:28 +08:00
Haitao Pan
cc7eb1f6a8 add scripts/clean_git_history.sh 2025-10-10 11:41:54 +08:00
root
9ee3ee54b0 chore(sql): add export/import clean schema scripts for pglogical-safe sync 2025-10-08 20:35:01 +08:00
root
e8635c1758 chore(sql,pglogical): migrate schema for pglogical compatibility & cleanup
- rename old migration files to standard *.migrate.*.sql
- add 20251008.migrate.generated-columns.sql (fix generated columns)
- update Makefile for MIGRATION_FILES auto-detection
- add sql/readme.md & generate-postgres-tls.sh
- cleanup deprecated git-branch-keeper.sh
- update pglogical.md and setup_ubuntu_2204.sh
2025-10-08 19:45:20 +08:00
Haitao Pan
5174d2dcdd add scripts/git-branch-keeper.sh 2025-10-08 13:48:17 +08:00
shenlan
a34f24656b Update PostgreSQL install to 16 (#426) 2025-10-06 17:47:34 +08:00
root
984f1dafae fix(setup): make NodeSource GPG key import more robust by adding proxy + direct fallback 2025-10-06 17:44:38 +08:00
shenlan
c14ee21cc4 Move Ubuntu setup script into scripts directory (#425) 2025-10-06 17:34:04 +08:00
shenlan
f44633ba44 feat(docs): add version-aware doc routing (#305) 2025-09-24 21:32:34 +08:00
shenlan
a9148d05b6 feat: redesign docs listing with version selector (#300) 2025-09-23 13:41:43 +08:00
shenlan
ac3a315f3a fix: ensure release notes path matches workflow (#299) 2025-09-23 12:59:52 +08:00
shenlan
c95716c487 feat: fallback to previous tag when missing (#298) 2025-09-23 11:53:25 +08:00