Yimaru/Yimaru-BackEnd
production
77de56d8012e07ae652f52d277acb96be4708ee0
success
No local changes to save
HEAD is now at 0027b74 List module and course practices by direct parent link only.
From https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd * branch production -> FETCH_HEAD
Your branch is behind 'origin/production' by 6 commits, and can be fast-forwarded. (use "git pull" to update your local branch)
Already on 'production'
Updating 0027b74..77de56d Fast-forward README.md | 2 +- cmd/main.go | 6 +- ...09_user_practice_progress_parent_scope.down.sql | 40 ++ ...0109_user_practice_progress_parent_scope.up.sql | 87 +++ db/query/exam_prep_admin_activity.sql | 3 + db/query/exam_prep_progress.sql | 59 +- db/query/lms_admin_activity.sql | 9 + db/query/lms_progress.sql | 246 ++++---- db/query/practice_progress.sql | 20 +- db/query/user_recent_activity.sql | 9 + docs/web-checkout-client-integration.md | 633 +++++++++++++++++++++ gen/db/exam_prep_admin_activity.sql.go | 3 + gen/db/exam_prep_progress.sql.go | 72 ++- gen/db/lms_admin_activity.sql.go | 9 + gen/db/lms_progress.sql.go | 246 ++++---- gen/db/models.go | 3 + gen/db/practice_progress.sql.go | 57 +- gen/db/user_recent_activity.sql.go | 9 + internal/config/config.go | 4 + internal/domain/activity_log.go | 1 + internal/domain/exam_prep_practice.go | 35 ++ internal/domain/practice.go | 53 +- internal/domain/subscription_checkout_link.go | 88 +++ internal/domain/subscription_checkout_link_test.go | 67 +++ internal/ports/questions.go | 2 +- internal/repository/exam_prep_access.go | 4 +- internal/repository/lms_progress_tx.go | 45 +- internal/repository/questions.go | 5 +- internal/repository/user.go | 36 +- internal/repository/user_contact.go | 38 +- internal/services/authentication/google.go | 54 +- internal/services/lmsprogress/service.go | 6 +- internal/services/questions/service.go | 4 +- internal/services/rbac/seeds.go | 7 +- internal/web_server/handlers/auth_handler.go | 6 +- internal/web_server/handlers/questions.go | 44 +- .../handlers/subscription_checkout_link.go | 222 ++++++++ internal/web_server/routes.go | 1 + 38 files changed, 1913 insertions(+), 322 deletions(-) create mode 100644 db/migrations/000109_user_practice_progress_parent_scope.down.sql create mode 100644 db/migrations/000109_user_practice_progress_parent_scope.up.sql create mode 100644 docs/web-checkout-client-integration.md create mode 100644 internal/domain/subscription_checkout_link.go create mode 100644 internal/domain/subscription_checkout_link_test.go create mode 100644 internal/web_server/handlers/subscription_checkout_link.go
From https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd * branch production -> FETCH_HEAD
Seeding /home/yimaru/Yimaru-BackEnd/db/data/001_initial_seed_data.sql...
CREATE EXTENSION
INSERT 0 0
INSERT 0 1
UPDATE 0
INSERT 0 0
INSERT 0 1
INSERT 0 1
INSERT 0 1
UPDATE 1
UPDATE 1
INSERT 0 0
Seeding /home/yimaru/Yimaru-BackEnd/db/data/003_fix_autoincrement_desync.sql...
setval
---------
1910735
(1 row)
setval
--------
14
(1 row)
setval
--------
9577
(1 row)
setval
---------
2906447
(1 row)
Seeding /home/yimaru/Yimaru-BackEnd/db/data/004_activity_logs_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/005_issue_reporting_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/006_notifications_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/008_account_deletion_requests_seed.sql...
Seeding /home/yimaru/Yimaru-BackEnd/db/data/009_question_types_seed.sql...
/home/yimaru/Yimaru-BackEnd/db/data/001_initial_seed_data.sql: NOTICE: extension "pgcrypto" already exists, skipping