Commit Graph

786 Commits

Author SHA1 Message Date
shenlan
4ccfbcee47 Ensure auth forms fall back to same-origin account endpoints (#517) 2025-10-13 16:33:21 +08:00
shenlan
80a0bcb680 Fix register endpoint to prefer same-origin URL (#516) 2025-10-13 16:10:54 +08:00
shenlan
37be131d0c Remove homepage rewrite proxy (#515) 2025-10-13 15:18:43 +08:00
shenlan
0c73cfb3c6 Fix tenant normalization types and add QR code typings (#514) 2025-10-13 14:14:26 +08:00
shenlan
b8e251db31 Fix account service base URL on hosted register page (#513) 2025-10-13 13:52:21 +08:00
shenlan
fcc80b860f Align admin settings persistence with public schema (#512) 2025-10-13 13:40:00 +08:00
shenlan
af87bb30fd Fix public schema reset script (#511) 2025-10-13 13:07:52 +08:00
shenlan
eef20d1ff1 Avoid dropping public schema during reinit (#510) 2025-10-13 13:03:19 +08:00
shenlan
98ddbf293f Refine database reinitialization targets (#509) 2025-10-13 12:49:21 +08:00
shenlan
0e8dbe2c1d Fix account schema embed import (#508) 2025-10-13 11:59:20 +08:00
root
7a3d6ac84e fix(makefile): normalize tab indentation and remove redundant comments 2025-10-13 11:47:24 +08:00
shenlan
1403d6f3e6 feat(account): add merge-aware importer with dry-run support (#507) 2025-10-13 11:24:36 +08:00
shenlan
c9fc23d804 docs: outline sequential tasks for account sync plan (#505) 2025-10-13 10:12:21 +08:00
shenlan
cfdb269cca docs: outline sequential tasks for account sync plan (#506) 2025-10-13 10:11:13 +08:00
shenlan
6e04cba470 docs: outline account import/export enhancement plan (#504) 2025-10-13 09:18:44 +08:00
shenlan
b72d9e54b2 chore: normalize tabs in account makefile (#503) 2025-10-13 09:00:45 +08:00
shenlan
126290a022 Fix Makefile indentation for drop-db recipe (#502) 2025-10-13 08:31:16 +08:00
root
056a809bef fix(makefile): fix indentation and syntax errors; unify tab formatting for GNU Make compatibility 2025-10-13 08:09:57 +08:00
shenlan
67122cc8df Improve account Makefile database maintenance (#501) 2025-10-13 08:05:54 +08:00
shenlan
64e35c60b2 Make schema reinit work without dropping schema (#500) 2025-10-13 07:56:52 +08:00
root
d735ef5c39 removed all sql/migrations 2025-10-13 07:47:01 +08:00
root
490356fa83 add Makefile sql/functions_fix.sql 2025-10-13 07:34:30 +08:00
shenlan
395091a09b Handle pglogical schema when reinitializing account DB (#499) 2025-10-13 07:19:38 +08:00
shenlan
d8c5f418db refactor: unify pglogical region schema (#498) 2025-10-13 01:30:28 +08:00
shenlan
a64c7e530d docs: clarify pglogical extension creation (#495) 2025-10-12 07:54:49 +08:00
shenlan
ab8b5fe4cf docs: clarify cn pglogical init permissions (#494) 2025-10-12 07:46:02 +08:00
shenlan
c6c874c781 Handle pglogical init without superuser (#493) 2025-10-12 00:14:58 +08:00
shenlan
34116c5490 Ensure pglogical schema exists before region setup (#492) 2025-10-11 23:51:34 +08:00
shenlan
a4a353381d Add Makefile targets for regional pglogical schemas (#491) 2025-10-11 23:40:22 +08:00
Haitao Pan
987a49d730 feat(sql): enhance schema for bidirectional pglogical sync and update migration guide 2025-10-11 09:27:57 +08:00
shenlan
d6c900d5f7 Fix account import for generated email_verified column (#467) 2025-10-10 22:17:30 +08:00
shenlan
68282708f4 Skip pglogical init when missing superuser privileges (#466) 2025-10-10 22:05:07 +08:00
shenlan
3082b2ee1d Separate pglogical initialization from schema snapshot (#465) 2025-10-10 20:46:43 +08:00
shenlan
f6ccb7432c Fix schema initialization permissions (#464) 2025-10-10 13:54:15 +08:00
shenlan
dd34c735e8 Fix migrate exporter for legacy columns (#463) 2025-10-10 13:32:55 +08:00
shenlan
e4f94f34f2 Add Makefile targets for account data transfer (#462) 2025-10-10 13:07:56 +08:00
Haitao Pan
cc7eb1f6a8 add scripts/clean_git_history.sh 2025-10-10 11:41:54 +08:00
Haitao Pan
44f17bfa3c chore: re-add cleaned files after history purge 2025-10-10 11:35:42 +08:00
Haitao Pan
2431d714a7 restored: server/config of sit and prod 2025-10-09 16:38:28 +08:00
Haitao Pan
9a69a0ac24 merged: docs/pglogical.md 2025-10-09 16:35:57 +08:00
Haitao Pan
9c1cf504b2 feat(pglogical): add region CN/Global schema and sync guide 2025-10-09 09:09:28 +08:00
root
3e442148ab feat(makefile): add verify-db and fix migrate path 2025-10-09 09:08:27 +08:00
shenlan
0a8ff47c12 feat(account): add migratectl CLI and golang-migrate workflows (#460) 2025-10-08 21:56:50 +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
61c9fe82ce add sql/20251008.migrate.email_verified.sql 2025-10-08 20:20:47 +08:00
root
48fdc445a1 feat(db): enhance Makefile migrate-db to run all *.migrate.*.sql sequentially 2025-10-08 20:02:50 +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
shenlan
01d6594df6 Update pglogical.md 2025-10-08 19:03:15 +08:00
shenlan
d2f8cf8f38 Update pglogical.md 2025-10-08 18:54:57 +08:00
shenlan
9a85defd66 Update pglogical.md 2025-10-08 18:43:37 +08:00