|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Your verification code
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}use the code below to continue signing in to Yimaru Academy.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}use the code below to continue signing in to Rezina.
|
One-time password
{{.OTP}}
@@ -49,7 +49,7 @@ Please do not share this code with anyone.',
If you did not request this code, you can safely ignore this email.
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $otp_html$,
'["OTP", "FirstName", "ExpiresMinutes"]'::jsonb,
@@ -59,31 +59,31 @@ Please do not share this code with anyone.',
(
'invitation',
'User Invitation',
- 'You are invited to Yimaru Academy',
+ 'You are invited to Rezina',
'Hi{{if .FirstName}} {{.FirstName}}{{end}},
-You have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Yimaru Academy.
+You have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Rezina.
Accept your invitation: {{.InviteLink}}',
$invite_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
You’re invited
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}you have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Yimaru Academy.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}you have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Rezina.
Accept invitation
Or copy this link: {{.InviteLink}}
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $invite_html$,
'["FirstName", "InviterName", "InviteLink"]'::jsonb,
@@ -93,7 +93,7 @@ Accept your invitation: {{.InviteLink}}',
(
'password_reset',
'Password Reset',
- 'Reset your Yimaru Academy password',
+ 'Reset your Rezina password',
'Hi{{if .FirstName}} {{.FirstName}}{{end}},
Reset your password: {{.ResetLink}}
@@ -101,23 +101,23 @@ Reset your password: {{.ResetLink}}
This link expires in {{.ExpiresMinutes}} minutes.',
$reset_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Reset your password
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}we received a request to reset your Yimaru Academy password. The link below expires in {{.ExpiresMinutes}} minutes.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}we received a request to reset your Rezina password. The link below expires in {{.ExpiresMinutes}} minutes.
Reset password
If you did not request a reset, ignore this email.
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $reset_html$,
'["FirstName", "ResetLink", "ExpiresMinutes"]'::jsonb,
@@ -127,28 +127,28 @@ This link expires in {{.ExpiresMinutes}} minutes.',
(
'welcome',
'Welcome Email',
- 'Welcome to Yimaru Academy',
+ 'Welcome to Rezina',
'Hi{{if .FirstName}} {{.FirstName}}{{end}},
-Welcome to Yimaru Academy! Sign in to get started: {{.LoginURL}}',
+Welcome to Rezina! Sign in to get started: {{.LoginURL}}',
$welcome_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Welcome aboard
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}your Yimaru Academy account is ready. Start learning at your own pace.
-Sign in to Yimaru Academy
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}your Rezina account is ready. Start learning at your own pace.
+Sign in to Rezina
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $welcome_html$,
'["FirstName", "LoginURL"]'::jsonb,
@@ -162,13 +162,13 @@ Welcome to Yimaru Academy! Sign in to get started: {{.LoginURL}}',
'{{.Message}}',
$custom_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
|
@@ -176,7 +176,7 @@ Welcome to Yimaru Academy! Sign in to get started: {{.LoginURL}}',
{{.Message}}
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $custom_html$,
'["Subject", "Message"]'::jsonb,
diff --git a/db/migrations/000067_branded_email_template_seeds.up.sql b/db/migrations/000067_branded_email_template_seeds.up.sql
index c14e3432..6a6147a4 100644
--- a/db/migrations/000067_branded_email_template_seeds.up.sql
+++ b/db/migrations/000067_branded_email_template_seeds.up.sql
@@ -1,10 +1,10 @@
--- Refresh system email templates with Yimaru Academy branded HTML (admin portal colors).
+-- Refresh system email templates with Rezina branded HTML (admin portal colors).
-- Safe to run after 000066 when seeds used the original plain layout.
UPDATE email_templates SET
name = 'One-Time Password',
- subject = 'Yimaru Academy — Your verification code',
- body_text = 'Yimaru Academy{{if .FirstName}}, {{.FirstName}}{{end}}
+ subject = 'Rezina — Your verification code',
+ body_text = 'Rezina{{if .FirstName}}, {{.FirstName}}{{end}}
Your verification code is {{.OTP}}.
It expires in {{.ExpiresMinutes}} minutes.
@@ -12,18 +12,18 @@ It expires in {{.ExpiresMinutes}} minutes.
Please do not share this code with anyone.',
body_html = $otp_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Your verification code
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}use the code below to continue signing in to Yimaru Academy.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}use the code below to continue signing in to Rezina.
|
One-time password
{{.OTP}}
@@ -32,7 +32,7 @@ Please do not share this code with anyone.',
If you did not request this code, you can safely ignore this email.
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $otp_html$,
updated_at = NOW()
@@ -40,31 +40,31 @@ WHERE slug = 'otp';
UPDATE email_templates SET
name = 'User Invitation',
- subject = 'You are invited to Yimaru Academy',
+ subject = 'You are invited to Rezina',
body_text = 'Hi{{if .FirstName}} {{.FirstName}}{{end}},
-You have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Yimaru Academy.
+You have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Rezina.
Accept your invitation: {{.InviteLink}}',
body_html = $invite_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
You’re invited
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}you have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Yimaru Academy.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}you have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Rezina.
Accept invitation
Or copy this link: {{.InviteLink}}
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $invite_html$,
updated_at = NOW()
@@ -72,7 +72,7 @@ WHERE slug = 'invitation';
UPDATE email_templates SET
name = 'Password Reset',
- subject = 'Reset your Yimaru Academy password',
+ subject = 'Reset your Rezina password',
body_text = 'Hi{{if .FirstName}} {{.FirstName}}{{end}},
Reset your password: {{.ResetLink}}
@@ -80,23 +80,23 @@ Reset your password: {{.ResetLink}}
This link expires in {{.ExpiresMinutes}} minutes.',
body_html = $reset_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Reset your password
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}we received a request to reset your Yimaru Academy password. The link below expires in {{.ExpiresMinutes}} minutes.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}we received a request to reset your Rezina password. The link below expires in {{.ExpiresMinutes}} minutes.
Reset password
If you did not request a reset, ignore this email.
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $reset_html$,
updated_at = NOW()
@@ -104,28 +104,28 @@ WHERE slug = 'password_reset';
UPDATE email_templates SET
name = 'Welcome Email',
- subject = 'Welcome to Yimaru Academy',
+ subject = 'Welcome to Rezina',
body_text = 'Hi{{if .FirstName}} {{.FirstName}}{{end}},
-Welcome to Yimaru Academy! Sign in to get started: {{.LoginURL}}',
+Welcome to Rezina! Sign in to get started: {{.LoginURL}}',
body_html = $welcome_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Welcome aboard
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}your Yimaru Academy account is ready. Start learning at your own pace.
-Sign in to Yimaru Academy
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}your Rezina account is ready. Start learning at your own pace.
+Sign in to Rezina
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $welcome_html$,
updated_at = NOW()
@@ -135,13 +135,13 @@ UPDATE email_templates SET
name = 'Custom Message',
body_html = $custom_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
|
@@ -149,7 +149,7 @@ UPDATE email_templates SET
{{.Message}}
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $custom_html$,
updated_at = NOW()
diff --git a/db/migrations/000092_users_email_phone_unique.up.sql b/db/migrations/000092_users_email_phone_unique.up.sql
index 7b106109..c8ab0053 100644
--- a/db/migrations/000092_users_email_phone_unique.up.sql
+++ b/db/migrations/000092_users_email_phone_unique.up.sql
@@ -56,7 +56,7 @@ WITH email_ranked AS (
)
UPDATE users u
SET
- email = 'dedup-' || u.id || '@invalid.yimaru.local',
+ email = 'dedup-' || u.id || '@invalid.rezina.local',
status = CASE WHEN u.status = 'ACTIVE' THEN 'DEACTIVATED' ELSE u.status END,
updated_at = CURRENT_TIMESTAMP
FROM email_ranked r
@@ -120,7 +120,7 @@ SET
phone_number = NULL,
email = COALESCE(
NULLIF(TRIM(u.email), ''),
- 'dedup-' || u.id || '@invalid.yimaru.local'
+ 'dedup-' || u.id || '@invalid.rezina.local'
),
status = CASE WHEN u.status = 'ACTIVE' THEN 'DEACTIVATED' ELSE u.status END,
updated_at = CURRENT_TIMESTAMP
diff --git a/db/migrations/000096_subscription_activated_email_template.up.sql b/db/migrations/000096_subscription_activated_email_template.up.sql
index 04c8824c..bb54565d 100644
--- a/db/migrations/000096_subscription_activated_email_template.up.sql
+++ b/db/migrations/000096_subscription_activated_email_template.up.sql
@@ -2,7 +2,7 @@ INSERT INTO email_templates (slug, name, subject, body_text, body_html, variable
VALUES (
'subscription_activated',
'Subscription Activated',
- 'Your Yimaru Academy subscription is active',
+ 'Your Rezina subscription is active',
'Hi{{if .FirstName}} {{.FirstName}}{{end}},
Your "{{.PlanName}}" {{.PackageLabel}} subscription is now active{{if .ExpiresLabel}} until {{.ExpiresLabel}}{{else if .IsLifetime}} with lifetime access{{end}}.
@@ -10,23 +10,23 @@ Your "{{.PlanName}}" {{.PackageLabel}} subscription is now active{{if .ExpiresLa
Sign in to start learning: {{.LoginURL}}',
$subscription_html$
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
Subscription active
{{if .FirstName}}Hi {{.FirstName}}, {{end}}your {{.PlanName}} {{.PackageLabel}} package is now active.{{if .IsLifetime}} You have lifetime access.{{else if .ExpiresLabel}} It is valid until {{.ExpiresLabel}}.{{end}}
Start learning
-Thank you for subscribing to Yimaru Academy.
+Thank you for subscribing to Rezina.
|
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| $subscription_html$,
'["FirstName", "PlanName", "PackageLabel", "LoginURL", "ExpiresLabel", "IsLifetime"]'::jsonb,
diff --git a/db/migrations/000112_rezina_email_brand.down.sql b/db/migrations/000112_rezina_email_brand.down.sql
new file mode 100644
index 00000000..7c68541e
--- /dev/null
+++ b/db/migrations/000112_rezina_email_brand.down.sql
@@ -0,0 +1,8 @@
+-- Restore the previous email branding if this migration is rolled back.
+UPDATE email_templates
+SET name = REPLACE(name, 'Rezina', 'Yimaru Academy'),
+ subject = REPLACE(subject, 'Rezina', 'Yimaru Academy'),
+ body_text = REPLACE(body_text, 'Rezina', 'Yimaru Academy'),
+ body_html = REPLACE(body_html, 'Rezina', 'Yimaru Academy'),
+ updated_at = NOW()
+WHERE slug IN ('otp', 'invitation', 'password_reset', 'welcome', 'custom_message', 'subscription_activated');
diff --git a/db/migrations/000112_rezina_email_brand.up.sql b/db/migrations/000112_rezina_email_brand.up.sql
new file mode 100644
index 00000000..2589606a
--- /dev/null
+++ b/db/migrations/000112_rezina_email_brand.up.sql
@@ -0,0 +1,11 @@
+-- Update system email templates to the Rezina brand for existing installations.
+UPDATE email_templates
+SET name = REPLACE(name, 'Yimaru Academy', 'Rezina'),
+ subject = REPLACE(subject, 'Yimaru Academy', 'Rezina'),
+ body_text = REPLACE(body_text, 'Yimaru Academy', 'Rezina'),
+ body_html = REPLACE(body_html, 'Yimaru Academy', 'Rezina'),
+ updated_at = NOW()
+WHERE name ILIKE '%Yimaru Academy%'
+ OR subject ILIKE '%Yimaru Academy%'
+ OR body_text ILIKE '%Yimaru Academy%'
+ OR body_html ILIKE '%Yimaru Academy%';
diff --git a/docker-compose.yml b/docker-compose.yml
index 79758d8c..b1b0e839 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -2,7 +2,7 @@ version: "3.8"
services:
postgres:
- container_name: yimaru-backend-postgres-1
+ container_name: rezina-backend-postgres-1
image: postgres:16-alpine
ports:
- "5592:5422"
@@ -22,7 +22,7 @@ services:
- ./exports:/exports
pgadmin:
- container_name: yimaru-pgadmin
+ container_name: rezina-pgadmin
image: dpage/pgadmin4:latest
restart: always
ports:
@@ -39,7 +39,7 @@ services:
- pgadmin_data:/var/lib/pgadmin
mongo:
- container_name: yimaru-mongo
+ container_name: rezina-mongo
image: mongo:7.0.11
restart: always
ports:
@@ -58,7 +58,7 @@ services:
retries: 5
minio:
- container_name: yimaru-minio
+ container_name: rezina-minio
image: minio/minio:latest
restart: always
ports:
diff --git a/docs/Yimaru_Backend_Developer_Documentation.docx b/docs/Rezina_Backend_Developer_Documentation.docx
similarity index 63%
rename from docs/Yimaru_Backend_Developer_Documentation.docx
rename to docs/Rezina_Backend_Developer_Documentation.docx
index 99a3555c..3b3f0087 100644
Binary files a/docs/Yimaru_Backend_Developer_Documentation.docx and b/docs/Rezina_Backend_Developer_Documentation.docx differ
diff --git a/docs/activity-logs-admin-panel-integration.md b/docs/activity-logs-admin-panel-integration.md
index 2b5a3871..333b5567 100644
--- a/docs/activity-logs-admin-panel-integration.md
+++ b/docs/activity-logs-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Activity Logs — Admin Panel Integration Guide
-This guide documents how to integrate the **platform activity log (audit trail)** into the Yimaru admin panel. It covers authentication, RBAC permissions, read-only APIs, filtering, pagination, action/resource catalogs, actor resolution, recommended UI patterns, TypeScript types, and how activity logs relate to other “activity” endpoints on user profiles.
+This guide documents how to integrate the **platform activity log (audit trail)** into the Rezina admin panel. It covers authentication, RBAC permissions, read-only APIs, filtering, pagination, action/resource catalogs, actor resolution, recommended UI patterns, TypeScript types, and how activity logs relate to other “activity” endpoints on user profiles.
---
@@ -71,7 +71,7 @@ flowchart LR
UserAudit["User audit filter (actor_id)"]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
ListRoute["GET /activity-logs"]
GetRoute["GET /activity-logs/:id"]
end
@@ -310,7 +310,7 @@ Authorization: Bearer eyJhbG...
"actor_id": 7,
"actor_role": "ADMIN",
"actor_name": "Jane Admin",
- "actor_email": "jane@yimaru.com",
+ "actor_email": "jane@rezina.com",
"actor_kind": "team_member",
"action": "FAQ_UPDATED",
"resource_type": "FAQ",
@@ -362,7 +362,7 @@ Authorization: Bearer
"actor_id": 7,
"actor_role": "ADMIN",
"actor_name": "Jane Admin",
- "actor_email": "jane@yimaru.com",
+ "actor_email": "jane@rezina.com",
"actor_kind": "team_member",
"action": "NOTIFICATION_BULK_SENT",
"resource_type": "NOTIFICATION",
diff --git a/docs/admin-subscription-grant-extend-cancel-admin-panel-integration.md b/docs/admin-subscription-grant-extend-cancel-admin-panel-integration.md
index 373ace3f..40685d17 100644
--- a/docs/admin-subscription-grant-extend-cancel-admin-panel-integration.md
+++ b/docs/admin-subscription-grant-extend-cancel-admin-panel-integration.md
@@ -1,6 +1,6 @@
-# Admin Subscription Grant / Extend / Cancel — Admin Panel Integration Guide
+# Admin Subscription Grant / Extend / Cancel — Admin Panel Integration Guide
-This guide documents how to integrate **admin-managed learner subscriptions** into the Yimaru admin panel: a **unified grant-or-extend** action (pick a plan), and **cancel**.
+This guide documents how to integrate **admin-managed learner subscriptions** into the Rezina admin panel: a **unified grant-or-extend** action (pick a plan), and **cancel**.
**Use this guide when:** building or updating the learner profile "Subscriptions / Billing" section.
@@ -68,7 +68,7 @@ Admins manage learner access without Chapa/ArifPay checkout via **one** apply en
```mermaid
sequenceDiagram
participant Admin as Admin panel
- participant API as Yimaru API
+ participant API as Rezina API
participant DB as Postgres
participant Notif as Learner notifications
diff --git a/docs/bulk-scheduled-notifications-integration.md b/docs/bulk-scheduled-notifications-integration.md
index 82f1b672..abae94aa 100644
--- a/docs/bulk-scheduled-notifications-integration.md
+++ b/docs/bulk-scheduled-notifications-integration.md
@@ -1,6 +1,6 @@
# Bulk & Scheduled Notifications — Integration Guide
-This guide documents how admin clients integrate with the Yimaru backend to send **immediate** or **scheduled** bulk notifications across four channels:
+This guide documents how admin clients integrate with the Rezina backend to send **immediate** or **scheduled** bulk notifications across four channels:
| Channel | Value | Endpoint |
|---------|-------|----------|
@@ -43,7 +43,7 @@ Bulk and single **email** sends support optional **email template** selection (`
```mermaid
sequenceDiagram
participant Admin as Admin client
- participant API as Yimaru API
+ participant API as Rezina API
participant DB as PostgreSQL
participant Worker as Scheduler worker
participant Channel as SMS / Email / FCM / WS
@@ -291,7 +291,7 @@ Content-Type: application/json
```json
{
- "message": "Welcome to Yimaru!",
+ "message": "Welcome to Rezina!",
"phone_numbers": ["+251911000000"],
"scheduled_at": "2026-06-15T09:00:00Z"
}
diff --git a/docs/chapa-direct-charge-client-app-integration.md b/docs/chapa-direct-charge-client-app-integration.md
index 7ca0da83..84aa760d 100644
--- a/docs/chapa-direct-charge-client-app-integration.md
+++ b/docs/chapa-direct-charge-client-app-integration.md
@@ -1,6 +1,6 @@
# Chapa Direct Charge (USSD) — Client App Integration Guide
-This guide documents how to integrate **Chapa Direct Charge** subscription payments into the Yimaru **learner client app** (mobile or web). Direct charge lets users pay with Ethiopian mobile wallets **inside your app** — no browser redirect to Chapa’s hosted checkout page. For Telebirr and similar wallets, the user receives a **USSD push** on their phone and approves the payment there.
+This guide documents how to integrate **Chapa Direct Charge** subscription payments into the Rezina **learner client app** (mobile or web). Direct charge lets users pay with Ethiopian mobile wallets **inside your app** — no browser redirect to Chapa’s hosted checkout page. For Telebirr and similar wallets, the user receives a **USSD push** on their phone and approves the payment there.
> **Scope:** Subscription checkout only. Uses `POST /api/v1/payments/chapa/direct` and related endpoints. **Hosted Chapa checkout** (`POST /api/v1/payments/subscribe` with `provider: "CHAPA"`) remains available and unchanged — use it when you want a full payment page with cards and all wallets.
@@ -72,7 +72,7 @@ This guide covers **Chapa Direct Charge** only.
```mermaid
sequenceDiagram
participant App as Client app
- participant API as Yimaru API
+ participant API as Rezina API
participant Chapa as Chapa API
participant Wallet as User wallet (Telebirr)
@@ -96,7 +96,7 @@ sequenceDiagram
```mermaid
sequenceDiagram
participant App as Client app
- participant API as Yimaru API
+ participant API as Rezina API
participant Chapa as Chapa API
App->>API: POST /payments/chapa/direct
@@ -132,7 +132,7 @@ Replace `{API_BASE}` with your environment:
| Environment | Example |
|-------------|---------|
-| Production | `https://api.yimaru.com` |
+| Production | `https://api.rezina.com` |
| Staging | Your staging API host |
All paths below are prefixed with `/api/v1`.
@@ -572,7 +572,7 @@ Invalid or empty phone → `400` with `"phone is required for direct charge"`.
## TypeScript types & API client
```typescript
-const API_BASE = "https://api.yimaru.com";
+const API_BASE = "https://api.rezina.com";
export interface ApiResponse {
message: string;
diff --git a/docs/csv-export-admin-panel-integration.md b/docs/csv-export-admin-panel-integration.md
index 9c6c1b11..a4774e14 100644
--- a/docs/csv-export-admin-panel-integration.md
+++ b/docs/csv-export-admin-panel-integration.md
@@ -1,6 +1,6 @@
# CSV Export — Admin Panel Integration Guide
-This guide documents how to integrate **server-side CSV export** into the Yimaru admin panel. Exports mirror each resource’s **list filters** (same query parameters as the JSON list APIs) and return a downloadable file instead of paginated JSON.
+This guide documents how to integrate **server-side CSV export** into the Rezina admin panel. Exports mirror each resource’s **list filters** (same query parameters as the JSON list APIs) and return a downloadable file instead of paginated JSON.
> **Scope:** Tier 1 admin exports — payments, users, subscriptions, activity logs, and team members.
> **Related:** List API guides for each resource (e.g. [activity-logs-admin-panel-integration.md](./activity-logs-admin-panel-integration.md)).
@@ -71,7 +71,7 @@ flowchart LR
BlobDL["Blob download"]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
ExportRoute["GET .../export"]
StreamCSV["StreamCSV helper"]
ListSvc["List service + DB"]
diff --git a/docs/docs.go b/docs/docs.go
index 3b1415c8..229cd747 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -4868,7 +4868,7 @@ const docTemplate = `{
},
"/api/v1/payments/arifpay/success": {
"get": {
- "description": "Displays the Yimaru Academy success page after ArifPay redirects the learner back to the backend.",
+ "description": "Displays the Rezina success page after ArifPay redirects the learner back to the backend.",
"produces": [
"text/html"
],
@@ -4948,7 +4948,7 @@ const docTemplate = `{
},
"/api/v1/payments/chapa/success": {
"get": {
- "description": "Displays the Yimaru Academy success page after Chapa redirects the learner to return_url",
+ "description": "Displays the Rezina success page after Chapa redirects the learner to return_url",
"produces": [
"text/html"
],
@@ -11672,7 +11672,7 @@ const docTemplate = `{
},
"/payment/success": {
"get": {
- "description": "Displays the Yimaru Academy success page after Chapa redirects the learner to return_url",
+ "description": "Displays the Rezina success page after Chapa redirects the learner to return_url",
"produces": [
"text/html"
],
@@ -15458,8 +15458,8 @@ var SwaggerInfo = &swag.Spec{
Host: "",
BasePath: "",
Schemes: []string{},
- Title: "Yimaru API",
- Description: "This is server for Yimaru.",
+ Title: "Rezina API",
+ Description: "This is server for Rezina.",
InfoInstanceName: "swagger",
SwaggerTemplate: docTemplate,
LeftDelim: "{{",
diff --git a/docs/faq-admin-panel-integration.md b/docs/faq-admin-panel-integration.md
index 41c11db6..a0791df9 100644
--- a/docs/faq-admin-panel-integration.md
+++ b/docs/faq-admin-panel-integration.md
@@ -1,6 +1,6 @@
# FAQ Admin Panel — Integration Guide
-This guide documents how to integrate the **FAQ management** feature into the Yimaru admin panel. It covers authentication, RBAC permissions, admin CRUD APIs, response shapes, validation, UI recommendations, and how admin content relates to the public help center.
+This guide documents how to integrate the **FAQ management** feature into the Rezina admin panel. It covers authentication, RBAC permissions, admin CRUD APIs, response shapes, validation, UI recommendations, and how admin content relates to the public help center.
---
@@ -53,7 +53,7 @@ flowchart LR
Preview[Preview public view]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
AdminRoutes["/admin/faqs CRUD"]
PublicRoutes["/faqs read-only"]
end
@@ -711,7 +711,7 @@ export interface UpdateFAQInput {
### Example client (fetch)
```typescript
-const API_BASE = import.meta.env.VITE_API_BASE_URL; // e.g. https://api.yimaru.com
+const API_BASE = import.meta.env.VITE_API_BASE_URL; // e.g. https://api.rezina.com
function authHeaders(token: string): HeadersInit {
return {
diff --git a/docs/file-upload-admin-panel-integration.md b/docs/file-upload-admin-panel-integration.md
index b1597f72..81f4d9bd 100644
--- a/docs/file-upload-admin-panel-integration.md
+++ b/docs/file-upload-admin-panel-integration.md
@@ -1,6 +1,6 @@
# File Upload — Admin Panel Integration Guide
-This guide documents how the Yimaru admin panel should upload **images, audio, PDFs, and videos** using **direct-to-storage uploads** with accurate client-side progress tracking.
+This guide documents how the Rezina admin panel should upload **images, audio, PDFs, and videos** using **direct-to-storage uploads** with accurate client-side progress tracking.
**Use this guide instead of `POST /api/v1/files/upload`.** That legacy endpoint accepts `multipart/form-data` and streams the entire file through the API server. The browser cannot report true upload progress for that path in a meaningful way, and large files (especially video) add load and timeout risk on the backend.
@@ -43,10 +43,10 @@ The admin panel uploads files when creating or editing content: lesson media, pe
The backend exposes two **progress-friendly** upload paths:
-1. **MinIO presigned upload** — three-step flow for static files stored in the Yimaru MinIO bucket.
+1. **MinIO presigned upload** — three-step flow for static files stored in the Rezina MinIO bucket.
2. **Vimeo TUS upload** — two-step flow (create slot + client TUS upload) for video hosted on Vimeo.
-Both flows upload **directly from the browser to the storage provider**. The Yimaru API only:
+Both flows upload **directly from the browser to the storage provider**. The Rezina API only:
- Authenticates the admin user
- Issues upload credentials (presigned URL or TUS upload link)
@@ -93,7 +93,7 @@ flowchart TB
Form[Content form save]
end
- subgraph API["Yimaru API (authenticated)"]
+ subgraph API["Rezina API (authenticated)"]
Presign["POST /files/presign-upload"]
Complete["POST /files/complete-upload"]
TusCreate["POST /vimeo/uploads/tus"]
@@ -470,7 +470,7 @@ Save **`vimeo_id`** and **`upload_link`** immediately. The upload link is single
### Step 2 — Upload file with TUS (progress tracked here)
-Upload **directly to `upload_link`** using a TUS 1.0.0 client. Do not send the video bytes to the Yimaru API.
+Upload **directly to `upload_link`** using a TUS 1.0.0 client. Do not send the video bytes to the Rezina API.
**Recommended library:** [`tus-js-client`](https://github.com/tus/tus-js-client) (browser).
@@ -1104,14 +1104,14 @@ Always surface both `message` and `error` from API JSON when present.
### MinIO CORS (required for browser PUT)
-The admin panel origin (e.g. `https://admin.yimaru.com`) must be allowed to **`PUT`** to the MinIO endpoint host embedded in `upload_url`.
+The admin panel origin (e.g. `https://admin.rezina.com`) must be allowed to **`PUT`** to the MinIO endpoint host embedded in `upload_url`.
Example MinIO CORS rule (adjust origins):
```json
[
{
- "AllowedOrigin": ["https://admin.yimaru.com", "http://localhost:5173"],
+ "AllowedOrigin": ["https://admin.rezina.com", "http://localhost:5173"],
"AllowedMethod": ["GET", "PUT", "HEAD"],
"AllowedHeader": ["*"],
"ExposeHeader": ["ETag"],
@@ -1124,7 +1124,7 @@ Without this, step 2 fails in the browser with a CORS error even though presign
### Vimeo TUS
-Vimeo upload endpoints accept browser TUS from public origins; no Yimaru MinIO CORS applies. Ensure outbound HTTPS to `*.upload.vimeo.com` is not blocked by corporate firewalls.
+Vimeo upload endpoints accept browser TUS from public origins; no Rezina MinIO CORS applies. Ensure outbound HTTPS to `*.upload.vimeo.com` is not blocked by corporate firewalls.
### Environment variables (backend ops)
diff --git a/docs/generate_backend_developer_docx.py b/docs/generate_backend_developer_docx.py
index ca2c3c81..4370a777 100644
--- a/docs/generate_backend_developer_docx.py
+++ b/docs/generate_backend_developer_docx.py
@@ -1,5 +1,5 @@
#!/usr/bin/env python3
-"""Generate Yimaru Backend Developer Documentation (.docx)."""
+"""Generate Rezina Backend Developer Documentation (.docx)."""
from datetime import date
from pathlib import Path
@@ -10,7 +10,7 @@ from docx.enum.text import WD_ALIGN_PARAGRAPH, WD_LINE_SPACING
from docx.oxml.ns import qn
from docx.shared import Inches, Pt, RGBColor
-OUT = Path(__file__).resolve().parent / "Yimaru_Backend_Developer_Documentation.docx"
+OUT = Path(__file__).resolve().parent / "Rezina_Backend_Developer_Documentation.docx"
def set_run_font(run, name="Calibri", size=11, bold=False, italic=False, color=None):
@@ -117,7 +117,7 @@ def build():
doc.add_paragraph()
add_para(
doc,
- "Yimaru Backend",
+ "Rezina Backend",
size=28,
bold=True,
align=WD_ALIGN_PARAGRAPH.CENTER,
@@ -133,7 +133,7 @@ def build():
)
add_para(
doc,
- "A practical guide for engineers working on the Yimaru Academy API",
+ "A practical guide for engineers working on the Rezina API",
size=12,
italic=True,
align=WD_ALIGN_PARAGRAPH.CENTER,
@@ -141,17 +141,17 @@ def build():
)
add_para(
doc,
- f"Version aligned with repository module Yimaru-Backend (Go 1.25)\n"
+ f"Version aligned with repository module Rezina-Backend (Go 1.25)\n"
f"Document generated {date.today().isoformat()}\n"
f"Audience: Backend developers & maintainers\n"
- f"Source: https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd.git",
+ f"Source: https://gitea.yaltopia.com/Rezina/Rezina-BackEnd.git",
size=10,
align=WD_ALIGN_PARAGRAPH.CENTER,
space_after=12,
)
add_para(
doc,
- "Internal / proprietary — Yaltopia Tech · Yimaru Academy",
+ "Internal / proprietary — Yaltopia Tech · Rezina",
size=9,
italic=True,
align=WD_ALIGN_PARAGRAPH.CENTER,
@@ -162,7 +162,7 @@ def build():
add_heading_custom(doc, "1. Introduction", 1)
add_para(
doc,
- "If you are opening this document because you just joined the Yimaru backend team "
+ "If you are opening this document because you just joined the Rezina backend team "
"(or you are returning after a few months away), welcome. The codebase is larger than "
"it looks at first glance: one Fiber HTTP server, two content trees (Learn English LMS "
"and exam-prep / Duolingo–IELTS), a full subscription and payments stack, team RBAC for "
@@ -185,7 +185,7 @@ def build():
add_bullets(
doc,
[
- "Admin panel: https://gitea.yaltopia.com/Yimaru/Yimaru-Admin.git (consumes /api/v1)",
+ "Admin panel: https://gitea.yaltopia.com/Rezina/Rezina-Admin.git (consumes /api/v1)",
"Swagger UI on a running server: /swagger/index.html",
"Feature contracts for admin: docs/*-admin-panel-integration.md in this repo",
"README.md at the repo root (quick start & env tables)",
@@ -195,7 +195,7 @@ def build():
add_heading_custom(doc, "1.1 What this service is responsible for", 2)
add_para(
doc,
- "Yimaru-Backend is the system of record for learner accounts, learning content, "
+ "Rezina-Backend is the system of record for learner accounts, learning content, "
"practice assessments, subscription entitlements, payment attempts, team (staff) "
"accounts, RBAC permissions, operational notifications, support issues, FAQs, ratings, "
"and the analytics dashboard used by admins. Mobile apps and the admin SPA are clients; "
@@ -319,7 +319,7 @@ Catalog courses
add_numbered(
doc,
[
- "Clone https://gitea.yaltopia.com/Yimaru/Yimaru-BackEnd.git and check out production (or the branch your team uses).",
+ "Clone https://gitea.yaltopia.com/Rezina/Rezina-BackEnd.git and check out production (or the branch your team uses).",
"Copy or create .env. Ask a teammate for a working local template—never invent payment webhook secrets.",
"make db-up — brings up Postgres, runs migrations container, starts Mongo.",
"Optionally make seed_data and/or make seed_dev_data.",
@@ -726,7 +726,7 @@ Catalog courses
add_heading_custom(doc, "16. Closing notes", 1)
add_para(
doc,
- "Yimaru’s backend is not a toy CRUD service. Learners depend on entitlements being "
+ "Rezina’s backend is not a toy CRUD service. Learners depend on entitlements being "
"correct; teachers and content managers depend on reorder and publish semantics staying "
"stable; finance depends on payment webhooks being trustworthy. When in doubt, add a "
"test, write the integration note, and ask in review before merging something that "
@@ -740,7 +740,7 @@ Catalog courses
)
add_para(
doc,
- "— Yaltopia engineering, for Yimaru Academy backend developers",
+ "— Yaltopia engineering, for Rezina backend developers",
space_before=16,
italic=True,
)
diff --git a/docs/initial-assessment-client-app-integration.md b/docs/initial-assessment-client-app-integration.md
index b4218bfc..dc879ea3 100644
--- a/docs/initial-assessment-client-app-integration.md
+++ b/docs/initial-assessment-client-app-integration.md
@@ -1,8 +1,8 @@
# Initial Placement Assessment — Client App Integration Guide
-This guide documents how to integrate the **initial placement assessment** into the Yimaru **learner mobile app** (iOS / Android / React Native / Flutter). The feature runs a **progressive, one-set-per-CEFR-level** flow: the learner starts at **A1**, answers that level’s published set, and advances to the next level only when they meet that level’s **pass score**. Failing a level (or running out of published higher sets) finalizes `knowledge_level` as the highest level already passed (A1 if none).
+This guide documents how to integrate the **initial placement assessment** into the Rezina **learner mobile app** (iOS / Android / React Native / Flutter). The feature runs a **progressive, one-set-per-CEFR-level** flow: the learner starts at **A1**, answers that level’s published set, and advances to the next level only when they meet that level’s **pass score**. Failing a level (or running out of published higher sets) finalizes `knowledge_level` as the highest level already passed (A1 if none).
-> **Scope:** Learner-facing placement flow only. Admin configuration (per-level sets, questions, pass thresholds) is managed in **Yimaru Admin** under **Content → Initial assessment** and is out of scope for the mobile client.
+> **Scope:** Learner-facing placement flow only. Admin configuration (per-level sets, questions, pass thresholds) is managed in **Rezina Admin** under **Content → Initial assessment** and is out of scope for the mobile client.
---
@@ -88,7 +88,7 @@ Before the app can run a successful placement flow:
```mermaid
sequenceDiagram
participant App as Mobile app
- participant API as Yimaru API
+ participant API as Rezina API
participant DB as Postgres
App->>API: GET /user/user-profile (auth)
diff --git a/docs/initial-assessment-question-writing-guide.md b/docs/initial-assessment-question-writing-guide.md
new file mode 100644
index 00000000..1127dad3
--- /dev/null
+++ b/docs/initial-assessment-question-writing-guide.md
@@ -0,0 +1,137 @@
+# Writing questions for the initial assessment
+
+This guide is for anyone building or reviewing the question sets used to place a learner at a starting English level. The aim is to get a useful estimate of what a learner can do, not to catch them out or produce a long exam.
+
+## How the placement assessment works
+
+The assessment is organized into separate question sets for CEFR levels A1 through C2. A learner works through the levels progressively. The system grades a level set against its configured pass threshold: a pass moves the learner on to the next level, while a non-pass ends the progression and records the resulting level. As a result, each level set needs enough questions to give a stable signal, and the questions should genuinely reflect that level.
+
+The backend currently auto-grades `MCQ`, `TRUE_FALSE`, `SHORT_ANSWER`, and supported `DYNAMIC` questions whose response contains multiple-choice or option slots. `AUDIO` and other dynamic response types are returned to the learner, but are skipped in the placement score. A set with no gradable questions cannot be submitted successfully. This distinction matters: a question can be useful in a broader language course but still contribute nothing to placement as the feature currently works.
+
+## Recommended mix
+
+Use a mix of the following, weighted toward questions that can be marked consistently:
+
+| Format | Best use in placement | Scoring status |
+|---|---|---|
+| Multiple choice (`MCQ`) | Vocabulary, grammar in context, reading comprehension | Auto-graded |
+| True/false (`TRUE_FALSE`) | A small number of checks against a short text or dialogue | Auto-graded; use sparingly |
+| Short answer (`SHORT_ANSWER`) | A word, phrase, or tightly constrained form with known acceptable answers | Auto-graded against configured answers |
+| Dynamic multiple choice / option | Builder-based versions of selected-answer questions, such as a cloze passage with selectable answers | Auto-graded when the response slot is supported |
+| Audio or open response | Listening or speaking evidence, if useful to the learning program | Currently not included in placement scoring |
+
+For a first version, make multiple choice the backbone. Add short answers only where the accepted response can be defined without ambiguity. Use dynamic item types only after confirming that their answer format is one the placement grader supports. Do not count on audio, free writing, speaking, matching, ordering, or other builder formats to affect a learner's placement result unless grading support has been added and verified.
+
+True/false is easy to answer by guessing, so it should not dominate a set. If used, tie it to a short passage or exchange and make the statement test understanding rather than a tiny wording detail.
+
+## What to assess
+
+### Vocabulary
+
+Test whether the learner can understand a word in a realistic sentence or exchange. Avoid isolated definitions when context can show how the word is used. At early levels, common everyday words are appropriate; at higher levels, test nuance, collocation, and meaning in context.
+
+### Grammar
+
+Ask learners to choose or supply a form that makes sense in a sentence or short conversation. Cover a range of useful structures at each level. Avoid questions where two answers are acceptable in ordinary English, even if one is the answer key you had in mind.
+
+### Reading
+
+Use short, level-appropriate passages such as a message, notice, short story, or practical instruction. Ask about the main point, a stated detail, or a simple inference. Keep the passage and question together so the answer does not depend on outside knowledge.
+
+### Listening
+
+Listening can add valuable evidence, but audio questions currently do not count toward the automatic placement score. They may be included for a separate, non-scored experience, but should not be used to determine the level until the scoring path supports them. If listening is made gradable later, use clear recordings, provide any necessary replay rules, and test comprehension rather than audio quality or accent familiarity.
+
+### Writing and speaking
+
+Open writing and speaking can reveal more than selected-answer questions, especially at higher levels. They also need rubrics and usually human review. The current placement score does not grade open-ended responses. Treat them as separate diagnostic evidence unless a reliable scoring process is implemented.
+
+## Build a clear progression across CEFR levels
+
+Each published set should represent its own CEFR band, not just be a harder copy of the previous one. Keep instructions and language accessible at the level being assessed. A learner should be able to understand what the question asks even when they do not know the answer.
+
+- **A1:** familiar people, places, routines, basic needs, simple present forms, common words, and very short messages.
+- **A2:** everyday exchanges, routine past and future references, simple descriptions, and short practical texts.
+- **B1:** familiar topics and experiences, connected text, opinions with simple reasons, and common less-predictable situations.
+- **B2:** more detailed explanations, main ideas and implications in longer texts, and a broader range of vocabulary and structures.
+- **C1:** nuanced meaning, tone, argument structure, less predictable language, and demanding but still fair texts.
+- **C2:** precise interpretation, subtle distinctions, complex arguments, and flexible command of language. Avoid making specialist subject knowledge the hidden test.
+
+These are drafting cues, not a substitute for a CEFR-aligned review. Have a language educator check that the vocabulary, text length, and task demand fit the intended level.
+
+## Writing good multiple-choice items
+
+1. Put one clear task in the prompt. State the context needed to answer it.
+2. Make sure exactly one option is correct, unless the interface and scoring are deliberately configured for multiple correct selections.
+3. Write plausible distractors based on likely learner errors. Avoid joke answers or options that are obviously unrelated.
+4. Keep options similar in length and grammatical form. Do not let the correct answer stand out by style.
+5. Avoid “all of the above,” “none of the above,” tricky negatives, and clues copied from the prompt.
+6. Check that no distractor is also acceptable in common usage or a different reasonable interpretation of the context.
+7. Keep each question independent unless a shared passage is intentionally used. One wrong answer should not give away or determine another.
+
+**Example (A2 vocabulary)**
+
+> The bus leaves at 8:15. We should arrive at the station by 8:00 so we have time to ___ our tickets.
+>
+> A. buy
+> B. borrow
+> C. invite
+> D. explain
+
+The context makes the intended meaning clear, and the distractors are possible English verbs without being equally suitable answers.
+
+## Writing short-answer items
+
+Short-answer questions work best when the response is brief and predictable: a word, a form, or a short phrase. The system compares the learner's response with the acceptable answers configured for the question. It is not a substitute for assessing an open paragraph.
+
+- List ordinary variants that should receive credit, such as a common spelling or contraction, where appropriate.
+- Keep the expected response narrow enough that a correct answer can be recognized consistently.
+- Avoid prompts that could reasonably be answered in several different ways unless every valid form is entered as acceptable.
+- Check capitalization, punctuation, and spacing behavior before relying on a distinction. Prefer not to make those details the point of the item.
+- Do not use short answer for free translation or open writing unless the accepted-answer list can cover legitimate responses fairly.
+
+## Dynamic questions
+
+The question builder supports many stimulus and response components, but the placement grader supports only specific response patterns. A dynamic question is not automatically gradable just because it can be created or displayed in the admin panel. For placement, use dynamic multiple-choice or option responses only when their configuration and submitted answer are supported by the grader. Confirm this with a representative authored item before building a whole level set around it.
+
+Formats such as audio response, sequence ordering, matching, label selection, or open text may be useful elsewhere in the LMS. Do not assume they contribute to placement until the grading implementation explicitly handles them.
+
+## Balance, length, and points
+
+Keep each level set short enough that a learner can finish without fatigue. Include enough questions to sample more than one skill area, but do not inflate the set with near-duplicates. A practical starting point is around 10–15 gradable questions per level, adjusted after educators review the learner experience and score stability.
+
+Use points consistently. If a question has no positive point value, the grader treats it as worth one point. For an initial version, giving each question one point makes the result easier to explain and avoids accidental weighting. If some items receive more weight, document why and check that the threshold still produces sensible outcomes.
+
+Mix task types and content areas, but do not let a single unfamiliar topic decide the result. For example, a learner's knowledge of a specialized sport or workplace should not determine their English level.
+
+## Common problems to catch before publishing
+
+- A set contains only questions the placement grader skips.
+- The correct option is exposed by length, grammar, or a repeated phrase.
+- More than one answer is defensible, or the answer key is wrong.
+- A short-answer key omits common valid forms.
+- The question tests cultural or specialist knowledge instead of English ability.
+- Several questions test the same narrow grammar point while other useful abilities are absent.
+- Reading text is far above the level even though the questions are labeled for a lower band.
+- A question depends on information not included in the prompt or passage.
+- A dynamic question was previewed in the builder but never checked through the placement submission and scoring flow.
+- A set is published before confirming that it has at least one gradable question; in practice, all intended scored questions should be gradable.
+
+## Review checklist
+
+Before publishing a level set, confirm that:
+
+- The set is labeled with the intended CEFR level (A1–C2).
+- Its questions are appropriate to that level and cover a reasonable range of language use.
+- Every scored item has one unambiguous answer key or an adequate list of acceptable short answers.
+- Question wording and answer options have been proofread by someone other than the author.
+- Correct answers are not visible to learners in the question response.
+- Every question intended to affect placement uses a currently auto-graded format.
+- A sample submission produces the expected score and pass/fail progression for the configured threshold.
+- Unscored diagnostic items are clearly understood to be excluded from the placement result.
+
+## Suggested authoring workflow
+
+Draft the set in a document first. For each item, record its target level, skill or language point, question format, correct answer, and reason the distractors are plausible. Have a second reviewer check the answer key and level. Enter the questions into the matching `INITIAL_ASSESSMENT` set, preview them as a learner, and verify a sample submission end to end. Revise items that are confusing or too easy to guess before publishing.
+
+The strongest placement set is not the one with the most elaborate question formats. It is the one whose questions are clear, level-appropriate, gradable, and broad enough to give a dependable picture of the learner's English.
diff --git a/docs/overview.md b/docs/overview.md
index f330d914..0b2dee9e 100644
--- a/docs/overview.md
+++ b/docs/overview.md
@@ -1,10 +1,10 @@
-# Yimaru Backend — Technical Overview
+# Rezina Backend — Technical Overview
-Technical briefing for engineers, architects, or integrators evaluating or working on the **Yimaru Backend API**.
+Technical briefing for engineers, architects, or integrators evaluating or working on the **Rezina Backend API**.
> **Setup & ops:** [README](../README.md)
> **OpenAPI:** `/swagger/index.html` when the server is running
-> **Production base:** `https://api.yimaruacademy.com/api/v1`
+> **Production base:** `https://api.rezinaacademy.com/api/v1`
---
@@ -15,7 +15,7 @@ A single **Go monolith** exposing REST JSON at `/api/v1`. It is the system of re
| Consumer | Auth | Primary use |
|----------|------|-------------|
| iOS / Android learner apps | Learner JWT | Content delivery, progress, checkout |
-| [Yimaru Admin](https://gitea.yaltopia.com/Yimaru/Yimaru-Admin) | Team JWT + RBAC | CRUD, analytics, bulk notify, exports |
+| [Rezina Admin](https://gitea.yaltopia.com/Rezina/Rezina-Admin) | Team JWT + RBAC | CRUD, analytics, bulk notify, exports |
| Web checkout (Vite SPA) | Learner JWT | Hosted Chapa subscribe flow |
There is **no separate BFF**. Clients talk directly to this API.
@@ -32,7 +32,7 @@ flowchart LR
Web[Web checkout]
end
- API[Yimaru API Fiber /api/v1]
+ API[Rezina API Fiber /api/v1]
subgraph persistence [Persistence]
PG[(PostgreSQL)]
@@ -344,4 +344,4 @@ Optional deep dive: open `CompletePractice` handler → progress service → mig
## License
-Proprietary — Yaltopia / Yimaru Academy. Internal use only unless otherwise licensed.
+Proprietary — Yaltopia / Rezina. Internal use only unless otherwise licensed.
diff --git a/docs/personas-admin-panel-integration.md b/docs/personas-admin-panel-integration.md
index 23a47ad3..f4ce4759 100644
--- a/docs/personas-admin-panel-integration.md
+++ b/docs/personas-admin-panel-integration.md
@@ -1,6 +1,6 @@
# LMS Personas — Admin Panel Integration Guide
-This guide documents how to integrate the **LMS persona catalog** into the Yimaru admin panel. Personas are coach/character profiles (name, description, avatar, gender) stored centrally and linked to **practice shells** in Learn English (LMS) and exam-prep via `persona_id`.
+This guide documents how to integrate the **LMS persona catalog** into the Rezina admin panel. Personas are coach/character profiles (name, description, avatar, gender) stored centrally and linked to **practice shells** in Learn English (LMS) and exam-prep via `persona_id`.
> **Naming note:** This feature is **`/api/v1/personas`** (catalog rows in `lms_personas`). It is **not** the same as **question-set user personas** (`/question-sets/:id/personas`), which assign real users to a question set for role-play scenarios. Both are covered below; the admin **Personas** menu usually means the catalog.
@@ -60,7 +60,7 @@ flowchart LR
PracticeEditor[Practice editor persona picker]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
PersonaRoutes["/api/v1/personas CRUD"]
LmsPractice["/api/v1/practices*"]
EpPractice["/api/v1/exam-prep/practices*"]
diff --git a/docs/practice-create-nullable-parents-admin-panel-integration.md b/docs/practice-create-nullable-parents-admin-panel-integration.md
index d8e36f12..c132f2b6 100644
--- a/docs/practice-create-nullable-parents-admin-panel-integration.md
+++ b/docs/practice-create-nullable-parents-admin-panel-integration.md
@@ -73,7 +73,7 @@ An unlinked practice (`parents: null`) is valid for admins but **will not appear
```mermaid
sequenceDiagram
participant UI as Admin panel
- participant API as Yimaru API
+ participant API as Rezina API
Note over UI,API: Optional — create question set first
UI->>API: POST /question-sets
diff --git a/docs/practice-multi-parent-admin-panel-integration.md b/docs/practice-multi-parent-admin-panel-integration.md
index 16c241dc..acab2dcd 100644
--- a/docs/practice-multi-parent-admin-panel-integration.md
+++ b/docs/practice-multi-parent-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Practice Multi-Parent Links — Admin Panel Integration Guide
-This guide documents how to update the Yimaru **admin panel practice creation and editing** flow for **multi-parent LMS practices**. A single practice can now be linked to **multiple** courses, modules, lessons, or any combination of those hierarchy nodes.
+This guide documents how to update the Rezina **admin panel practice creation and editing** flow for **multi-parent LMS practices**. A single practice can now be linked to **multiple** courses, modules, lessons, or any combination of those hierarchy nodes.
> **Scope:** LMS (`/api/v1/practices`) only. **Exam-prep** practices are unchanged — they still attach to exactly one `unit_module_lesson_id`.
>
@@ -151,7 +151,7 @@ flowchart TB
QuestionEditor[Question editor]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
PostPractice["POST /practices"]
PutParents["PUT /practices/:id/parents"]
GetFull["GET /practices/:id/full"]
diff --git a/docs/practice-parent-unlink-admin-panel-integration.md b/docs/practice-parent-unlink-admin-panel-integration.md
index bb8d4145..a0f76343 100644
--- a/docs/practice-parent-unlink-admin-panel-integration.md
+++ b/docs/practice-parent-unlink-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Practice Per-Parent Unlink — Admin Panel Integration Guide
-This guide documents how to integrate the **per-parent unlink** API into the Yimaru **admin panel**. Content editors can remove a single course, module, lesson, unit, or catalog-course link from a practice **without** sending the full replacement `parents` array and **without** deleting the practice shell or its questions.
+This guide documents how to integrate the **per-parent unlink** API into the Rezina **admin panel**. Content editors can remove a single course, module, lesson, unit, or catalog-course link from a practice **without** sending the full replacement `parents` array and **without** deleting the practice shell or its questions.
> **Scope:** Both **LMS** (`/api/v1/practices`) and **exam-prep** (`/api/v1/exam-prep/practices`).
>
@@ -86,7 +86,7 @@ flowchart LR
Confirm["Confirm dialog"]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
DelLMS["DELETE /practices/:id/parents/:kind/:parentId"]
DelEP["DELETE /exam-prep/practices/:id/parents/:kind/:parentId"]
Put["PUT .../parents"]
diff --git a/docs/practice-question-associations-admin-panel-integration.md b/docs/practice-question-associations-admin-panel-integration.md
index b0d99fcd..3fe72c73 100644
--- a/docs/practice-question-associations-admin-panel-integration.md
+++ b/docs/practice-question-associations-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Practice Question Associations — Admin Panel Integration Guide
-This guide documents how to integrate **question associations** into the Yimaru admin panel practice authoring flow. Associations let content authors group questions into **sequential sections** within a practice. Learners must complete earlier sections (in `display_order`) before later ones unlock.
+This guide documents how to integrate **question associations** into the Rezina admin panel practice authoring flow. Associations let content authors group questions into **sequential sections** within a practice. Learners must complete earlier sections (in `display_order`) before later ones unlock.
> **Scope:** This feature adds `associated_question_id` on question set membership (`question_set_items`). It works alongside existing `display_order`. There is **no server-side per-question progress table** — the API returns `prerequisite_question_ids` so the **learner app** (or admin preview) can gate access client-side.
@@ -115,7 +115,7 @@ flowchart TB
SaveBtn[Save practice]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
GetFull["GET /practices/:id/full"]
PutFull["PUT /practices/:id/full"]
GetEpFull["GET /exam-prep/practices/:id/full"]
diff --git a/docs/practice-stimulus-blocks-admin-panel-integration.md b/docs/practice-stimulus-blocks-admin-panel-integration.md
index 632d908d..0bbda02e 100644
--- a/docs/practice-stimulus-blocks-admin-panel-integration.md
+++ b/docs/practice-stimulus-blocks-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Practice Stimulus Blocks — Admin Panel Integration Guide
-This guide documents how to integrate **practice-level shared stimulus blocks** into the Yimaru admin panel practice authoring flow. Stimulus blocks let authors define **one shared passage, audio clip, or instruction set** that multiple dynamic questions in the same practice can reference — the primary use case is **IELTS-style listening/reading sections** where several questions share a single stimulus.
+This guide documents how to integrate **practice-level shared stimulus blocks** into the Rezina admin panel practice authoring flow. Stimulus blocks let authors define **one shared passage, audio clip, or instruction set** that multiple dynamic questions in the same practice can reference — the primary use case is **IELTS-style listening/reading sections** where several questions share a single stimulus.
> **Scope (Phase 1):** Blocks live on the **practice** (`practice_stimulus_blocks`), not on global question-type definition groups. Questions link via `stimulus_block_key` on set membership (`question_set_items`). The API returns both the **stored** per-question `dynamic_payload` and a computed **`effective_dynamic_payload`** (block stimulus + question stimulus merged). Use `authoring_profile` on the practice shell to switch admin UI modes (`STANDALONE` vs `IELTS_SHARED_STIMULUS`).
@@ -162,7 +162,7 @@ flowchart TB
SaveBtn[Save practice]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
GetFull["GET /practices/:id/full"]
PutFull["PUT /practices/:id/full"]
GetEpFull["GET /exam-prep/practices/:id/full"]
diff --git a/docs/question-type-definition-groups-admin-panel-integration.md b/docs/question-type-definition-groups-admin-panel-integration.md
index b791e8f0..63c92ff1 100644
--- a/docs/question-type-definition-groups-admin-panel-integration.md
+++ b/docs/question-type-definition-groups-admin-panel-integration.md
@@ -106,7 +106,7 @@ erDiagram
```mermaid
sequenceDiagram
participant UI as Admin panel
- participant API as Yimaru API
+ participant API as Rezina API
UI->>API: POST /questions/type-definition-groups { name }
API-->>UI: 201 { id: 1, name, ... }
@@ -123,7 +123,7 @@ sequenceDiagram
```mermaid
sequenceDiagram
participant UI as Admin panel
- participant API as Yimaru API
+ participant API as Rezina API
UI->>API: GET /questions/type-definitions/42
API-->>UI: 200 { ID: 42, group_ids: [1], ... }
diff --git a/docs/question-type-definition-practices-list-admin-panel-integration.md b/docs/question-type-definition-practices-list-admin-panel-integration.md
index b83758e8..d150e5ba 100644
--- a/docs/question-type-definition-practices-list-admin-panel-integration.md
+++ b/docs/question-type-definition-practices-list-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Question Type Definition — Practices List Admin Panel Integration Guide
-This guide documents how to integrate **`GET /api/v1/questions/type-definitions/:id/practices`** into the Yimaru **admin panel**. Use it for the **“Practices using this definition”** modal on the Question types page: list every LMS and exam-prep practice whose question set contains at least one non-archived question of that type, show where each practice is attached in the hierarchy, and link editors into the correct practice shell.
+This guide documents how to integrate **`GET /api/v1/questions/type-definitions/:id/practices`** into the Rezina **admin panel**. Use it for the **“Practices using this definition”** modal on the Question types page: list every LMS and exam-prep practice whose question set contains at least one non-archived question of that type, show where each practice is attached in the hierarchy, and link editors into the correct practice shell.
> **Scope:** Admin read-only listing from question type definitions. Practice create/edit, parent attach/detach, and question authoring are covered in related guides.
>
diff --git a/docs/ratings-admin-panel-integration.md b/docs/ratings-admin-panel-integration.md
index 82015802..bdfc05d4 100644
--- a/docs/ratings-admin-panel-integration.md
+++ b/docs/ratings-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Ratings & App Reviews — Admin Panel Integration Guide
-This guide documents how to integrate **ratings and app reviews** into the Yimaru admin panel. Learners submit star ratings and optional text reviews from the mobile/web app; the admin panel **monitors and analyzes** that feedback.
+This guide documents how to integrate **ratings and app reviews** into the Rezina admin panel. Learners submit star ratings and optional text reviews from the mobile/web app; the admin panel **monitors and analyzes** that feedback.
> **Important:** There are **no** dedicated `/api/v1/admin/ratings*` routes today. Admin features use the shared authenticated **`/api/v1/ratings*`** endpoints with staff RBAC permissions. Submission and deletion are **learner-scoped** (own rating only).
@@ -68,7 +68,7 @@ flowchart LR
UserLink[User profile lookup]
end
- subgraph API["Yimaru API"]
+ subgraph API["Rezina API"]
RatingsRoutes["/api/v1/ratings*"]
UserRoutes["/api/v1/user/single/:id"]
end
diff --git a/docs/select-missing-words-sequence-order-admin-panel-integration.md b/docs/select-missing-words-sequence-order-admin-panel-integration.md
index a71bfcd7..58e2a5a1 100644
--- a/docs/select-missing-words-sequence-order-admin-panel-integration.md
+++ b/docs/select-missing-words-sequence-order-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Select Missing Words & Sequence Order — Admin Panel Integration Guide
-This guide explains how to **render, edit, validate, and serialize** the dynamic question builder components **`SELECT_MISSING_WORDS`** and **`SEQUENCE_ORDER`** in the Yimaru admin panel.
+This guide explains how to **render, edit, validate, and serialize** the dynamic question builder components **`SELECT_MISSING_WORDS`** and **`SEQUENCE_ORDER`** in the Rezina admin panel.
It is written to match the **existing admin UI patterns** already used for:
diff --git a/docs/subscription-plan-cleanup.md b/docs/subscription-plan-cleanup.md
index 1cd24021..43a09e9b 100644
--- a/docs/subscription-plan-cleanup.md
+++ b/docs/subscription-plan-cleanup.md
@@ -21,7 +21,7 @@ in the restricted `plan_cleanup_000110` schema.
3. Execute with psql, stopping on any error:
```powershell
- psql "$env:DB_URL" -X -v ON_ERROR_STOP=1 -c "SET yimaru.approve_plan_consolidation = 'yes'" -f db/maintenance/consolidate_subscription_plans_before_000110.sql
+ psql "$env:DB_URL" -X -v ON_ERROR_STOP=1 -c "SET rezina.approve_plan_consolidation = 'yes'" -f db/maintenance/consolidate_subscription_plans_before_000110.sql
```
4. Apply migrations 110 and 111 through the normal migration runner. The repair
diff --git a/docs/swagger.json b/docs/swagger.json
index d66146b1..4315b879 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -1,8 +1,8 @@
{
"swagger": "2.0",
"info": {
- "description": "This is server for Yimaru.",
- "title": "Yimaru API",
+ "description": "This is server for Rezina.",
+ "title": "Rezina API",
"termsOfService": "http://swagger.io/terms/",
"contact": {
"name": "API Support",
@@ -4860,7 +4860,7 @@
},
"/api/v1/payments/arifpay/success": {
"get": {
- "description": "Displays the Yimaru Academy success page after ArifPay redirects the learner back to the backend.",
+ "description": "Displays the Rezina success page after ArifPay redirects the learner back to the backend.",
"produces": [
"text/html"
],
@@ -4940,7 +4940,7 @@
},
"/api/v1/payments/chapa/success": {
"get": {
- "description": "Displays the Yimaru Academy success page after Chapa redirects the learner to return_url",
+ "description": "Displays the Rezina success page after Chapa redirects the learner to return_url",
"produces": [
"text/html"
],
@@ -11664,7 +11664,7 @@
},
"/payment/success": {
"get": {
- "description": "Displays the Yimaru Academy success page after Chapa redirects the learner to return_url",
+ "description": "Displays the Rezina success page after Chapa redirects the learner to return_url",
"produces": [
"text/html"
],
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 673563c1..6cafb902 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -2530,12 +2530,12 @@ info:
email: support@swagger.io
name: API Support
url: http://www.swagger.io/support
- description: This is server for Yimaru.
+ description: This is server for Rezina.
license:
name: Apache 2.0
url: http://www.apache.org/licenses/LICENSE-2.0.html
termsOfService: http://swagger.io/terms/
- title: Yimaru API
+ title: Rezina API
version: 1.0.1
paths:
/api/v1/{tenant_slug}/admin-login:
@@ -6137,7 +6137,7 @@ paths:
- payments
/api/v1/payments/arifpay/success:
get:
- description: Displays the Yimaru Academy success page after ArifPay redirects
+ description: Displays the Rezina success page after ArifPay redirects
the learner back to the backend.
parameters:
- description: ArifPay session identifier
@@ -6190,7 +6190,7 @@ paths:
- payments
/api/v1/payments/chapa/success:
get:
- description: Displays the Yimaru Academy success page after Chapa redirects
+ description: Displays the Rezina success page after Chapa redirects
the learner to return_url
parameters:
- description: Chapa transaction reference (tx_ref)
@@ -10202,7 +10202,7 @@ paths:
- Vimeo
/payment/success:
get:
- description: Displays the Yimaru Academy success page after Chapa redirects
+ description: Displays the Rezina success page after Chapa redirects
the learner to return_url
parameters:
- description: Chapa transaction reference (tx_ref)
diff --git a/docs/team-member-invitation-admin-panel-integration.md b/docs/team-member-invitation-admin-panel-integration.md
index 0f6cfc3f..293b1b63 100644
--- a/docs/team-member-invitation-admin-panel-integration.md
+++ b/docs/team-member-invitation-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Team Member Invitation — Admin Panel Integration Guide
-This guide documents how to implement the **team member email invitation** flow in the Yimaru admin panel: sending invites, managing pending invitations, building the public **accept-invitation** page, and signing in after activation.
+This guide documents how to implement the **team member email invitation** flow in the Rezina admin panel: sending invites, managing pending invitations, building the public **accept-invitation** page, and signing in after activation.
**Use this guide when:** admins invite staff by email, invitees complete profile setup via a link, and the admin panel lists/resends/revokes invitations.
@@ -63,7 +63,7 @@ Team invitations let admins onboard staff **without creating a password in the a
```mermaid
sequenceDiagram
participant Admin as Admin panel
- participant API as Yimaru API
+ participant API as Rezina API
participant Mail as Email (Resend)
participant Invitee as Invitee browser
@@ -96,7 +96,7 @@ The backend builds links from `TEAM_INVITE_BASE_URL`:
Example admin panel accept route:
```
-https://admin.yimaruacademy.com/accept-invite?token=abc123...
+https://admin.rezinaacademy.com/accept-invite?token=abc123...
```
The **frontend route** is your choice; only the `token` query param is required for the API.
@@ -539,7 +539,7 @@ Content-Type: application/json
## Invitation email
- **Template slug:** `invitation` (system — do not delete)
-- **Subject:** branded default (“You’re invited to Yimaru Academy”)
+- **Subject:** branded default (“You’re invited to Rezina”)
- **CTA:** `{{.InviteLink}}` → `TEAM_INVITE_BASE_URL?token=...`
- **Variables:** `FirstName` (empty for new invites), `InviterName`, `InviteLink`
@@ -650,7 +650,7 @@ Full session handling: [team-member-refresh-token-admin-panel-integration.md](./
## TypeScript types & API client
```typescript
-const API_BASE = import.meta.env.VITE_API_BASE_URL; // e.g. https://api.yimaru.com/api/v1
+const API_BASE = import.meta.env.VITE_API_BASE_URL; // e.g. https://api.rezina.com/api/v1
export interface ApiResponse {
message: string;
diff --git a/docs/team-member-refresh-token-admin-panel-integration.md b/docs/team-member-refresh-token-admin-panel-integration.md
index 5727da64..6b78d696 100644
--- a/docs/team-member-refresh-token-admin-panel-integration.md
+++ b/docs/team-member-refresh-token-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Team Member Refresh Token — Admin Panel Integration Guide
-This guide documents how to integrate **team member login** and **refresh token rotation** into the Yimaru admin panel. It covers the login/refresh APIs, token lifecycle, storage, HTTP client interceptors, TypeScript types, error handling, and security notes.
+This guide documents how to integrate **team member login** and **refresh token rotation** into the Rezina admin panel. It covers the login/refresh APIs, token lifecycle, storage, HTTP client interceptors, TypeScript types, error handling, and security notes.
**Use this guide when:** staff sign in with `POST /api/v1/team/login` and the admin panel must keep sessions alive without forcing re-login when the short-lived access JWT expires.
@@ -70,7 +70,7 @@ If the admin panel stores a team `refresh_token`, all refresh calls must go to *
```mermaid
sequenceDiagram
participant UI as Admin panel
- participant API as Yimaru API
+ participant API as Rezina API
participant DB as PostgreSQL
UI->>API: POST /team/login (email, password)
@@ -119,8 +119,8 @@ JWT claims (`internal/web_server/jwt/jwt.go`):
{
"UserId": 42,
"Role": "ADMIN",
- "iss": "yimaru.com",
- "aud": ["api.yimaru.com"],
+ "iss": "rezina.com",
+ "aud": ["api.rezina.com"],
"exp": 1719244800
}
```
@@ -171,7 +171,7 @@ Protected routes that receive an expired access token return Fiber errors (often
## API reference
-Base URL: `{API_BASE}/api/v1` (e.g. `https://api.yimaru.com/api/v1`).
+Base URL: `{API_BASE}/api/v1` (e.g. `https://api.rezina.com/api/v1`).
### `POST /team/login`
@@ -184,7 +184,7 @@ POST /api/v1/team/login
Content-Type: application/json
{
- "email": "staff@yimaru.com",
+ "email": "staff@rezina.com",
"password": "your-password"
}
```
diff --git a/docs/team-password-reset-admin-panel-integration.md b/docs/team-password-reset-admin-panel-integration.md
index 3ba081b2..624f843a 100644
--- a/docs/team-password-reset-admin-panel-integration.md
+++ b/docs/team-password-reset-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Team Password Reset — Admin Panel Integration Guide
-This guide documents how to implement **forgot password / password reset** for **team members** (admin panel staff) in the Yimaru admin panel.
+This guide documents how to implement **forgot password / password reset** for **team members** (admin panel staff) in the Rezina admin panel.
**Use this guide when:** a staff member cannot sign in and needs to reset their password via email link, or you are wiring the public “Forgot password” and “Reset password” screens on the admin app.
@@ -75,7 +75,7 @@ Pending invitees must use the **accept-invite** flow, not password reset.
```mermaid
sequenceDiagram
participant Staff as Admin panel (logged out)
- participant API as Yimaru API
+ participant API as Rezina API
participant Mail as Email (Resend)
participant DB as Postgres
@@ -109,7 +109,7 @@ The backend builds links from `TEAM_PASSWORD_RESET_BASE_URL` (preferred), or der
Example:
```
-https://admin.yimaruacademy.com/reset-password?email=admin%40yimaruacademy.com&otp=482913
+https://admin.rezinaacademy.com/reset-password?email=admin%40rezinaacademy.com&otp=482913
```
| Query param | Required | Notes |
@@ -135,9 +135,9 @@ The **frontend route path** is your choice, but it **must match** what the serve
**Examples:**
```env
-TEAM_PASSWORD_RESET_BASE_URL=https://admin.yimaruacademy.com/reset-password
+TEAM_PASSWORD_RESET_BASE_URL=https://admin.rezinaacademy.com/reset-password
# Optional fallback source if the above is omitted:
-TEAM_INVITE_BASE_URL=https://admin.yimaruacademy.com/accept-invite
+TEAM_INVITE_BASE_URL=https://admin.rezinaacademy.com/accept-invite
```
If neither yields a usable base URL, `POST /team/sendResetCode` returns **500** with:
@@ -163,7 +163,7 @@ Uses system slug **`password_reset`** (same branded template as historical learn
| `ResetLink` | Full URL with `email` + `otp` query params |
| `ExpiresMinutes` | Always **5** for team reset |
-Subject (default): `Reset your Yimaru Academy password`
+Subject (default): `Reset your Rezina password`
---
@@ -249,7 +249,7 @@ Content-Type: application/json
```json
{
- "email": "admin@yimaruacademy.com"
+ "email": "admin@rezinaacademy.com"
}
```
@@ -294,7 +294,7 @@ Content-Type: application/json
```json
{
- "email": "admin@yimaruacademy.com",
+ "email": "admin@rezinaacademy.com",
"otp": "482913",
"password": "NewSecurePass1"
}
@@ -337,7 +337,7 @@ Content-Type: application/json
```json
{
- "email": "admin@yimaruacademy.com",
+ "email": "admin@rezinaacademy.com",
"password": "NewSecurePass1"
}
```
diff --git a/docs/vimeo-video-upload-progress-admin-panel-integration.md b/docs/vimeo-video-upload-progress-admin-panel-integration.md
index d7e00d90..d6bd6b8a 100644
--- a/docs/vimeo-video-upload-progress-admin-panel-integration.md
+++ b/docs/vimeo-video-upload-progress-admin-panel-integration.md
@@ -1,6 +1,6 @@
# Vimeo Video Upload Progress — Admin Panel Integration Guide
-This guide documents how to implement **real-time video upload progress** in the Yimaru admin panel when uploading videos to Vimeo.
+This guide documents how to implement **real-time video upload progress** in the Rezina admin panel when uploading videos to Vimeo.
**Use this guide when:** admins pick a local video file (MP4, MOV, WebM, etc.) and need a live progress bar, cancel support, and post-upload transcode feedback before saving lesson or practice content.
@@ -40,16 +40,16 @@ This guide documents how to implement **real-time video upload progress** in the
## Feature overview
-Video lessons in Yimaru are hosted on **Vimeo**. The admin panel uploads videos using **TUS 1.0.0** (resumable upload) directly from the browser to Vimeo's upload endpoint.
+Video lessons in Rezina are hosted on **Vimeo**. The admin panel uploads videos using **TUS 1.0.0** (resumable upload) directly from the browser to Vimeo's upload endpoint.
| What | Where it happens |
|------|------------------|
-| Create upload slot | Yimaru API (`POST /vimeo/uploads/tus`) |
+| Create upload slot | Rezina API (`POST /vimeo/uploads/tus`) |
| **Byte-level upload progress** | Browser → Vimeo (`tus-js-client` `onProgress`) |
-| Transcode / processing status | Yimaru API polls Vimeo (`GET /vimeo/videos/:id/status`) |
+| Transcode / processing status | Rezina API polls Vimeo (`GET /vimeo/videos/:id/status`) |
| Store in lesson/practice | Admin form saves `video_url` / `intro_video_url` |
-The Yimaru API **never receives the video file bytes** during admin uploads. Real-time progress is therefore implemented **in the admin panel client**, not via WebSockets or server push from the backend.
+The Rezina API **never receives the video file bytes** during admin uploads. Real-time progress is therefore implemented **in the admin panel client**, not via WebSockets or server push from the backend.
### User-visible phases
@@ -66,7 +66,7 @@ The Yimaru API **never receives the video file bytes** during admin uploads. Rea
```text
┌─────────────────┐ POST /vimeo/uploads/tus ┌──────────────┐
-│ Admin panel │ ─────────────────────────────────► │ Yimaru API │
+│ Admin panel │ ─────────────────────────────────► │ Rezina API │
│ (browser) │ ◄──── upload_link + vimeo_id ───── │ │
└────────┬────────┘ └──────────────┘
│
@@ -81,7 +81,7 @@ The Yimaru API **never receives the video file bytes** during admin uploads. Rea
│ after onSuccess
▼
┌─────────────────┐ GET /vimeo/videos/:id/status ┌──────────────┐
-│ Admin panel │ ─────────────────────────────────► │ Yimaru API │
+│ Admin panel │ ─────────────────────────────────► │ Rezina API │
│ (poll loop) │ ◄──── { status: in_progress } ──── │ → Vimeo API │
└─────────────────┘ └──────────────┘
```
@@ -95,7 +95,7 @@ The Yimaru API **never receives the video file bytes** during admin uploads. Rea
```mermaid
sequenceDiagram
participant UI as Admin panel UI
- participant API as Yimaru API
+ participant API as Rezina API
participant Vimeo as Vimeo TUS + transcode
UI->>UI: User selects video file
@@ -323,11 +323,11 @@ Content-Type: application/json
---
-### Step 2 — Upload file (browser → Vimeo, not Yimaru API)
+### Step 2 — Upload file (browser → Vimeo, not Rezina API)
Performed by `tus-js-client` against `upload_link`. See [TUS upload with progress](#tus-upload-with-progress).
-No `Authorization` header to Yimaru API during this step. Vimeo authenticates via the upload URL.
+No `Authorization` header to Rezina API during this step. Vimeo authenticates via the upload URL.
---
@@ -410,7 +410,7 @@ const tus = await import("tus-js-client");
### Environment (admin panel)
```env
-VITE_API_BASE_URL=https://api.yimaru.com
+VITE_API_BASE_URL=https://api.rezina.com
```
### Network / CORS
@@ -1238,7 +1238,7 @@ Chrome DevTools → Network → Throttling. Verify progress bar moves smoothly d
| Step | Method | Path | Auth / permission |
|------|--------|------|-------------------|
| 1. Create slot | `POST` | `/api/v1/vimeo/uploads/tus` | Bearer + `vimeo.uploads.tus` |
-| 2. Upload bytes | TUS `PATCH` | `{upload_link}` from step 1 | Vimeo upload URL (no Yimaru token) |
+| 2. Upload bytes | TUS `PATCH` | `{upload_link}` from step 1 | Vimeo upload URL (no Rezina token) |
| 3. Poll transcode | `GET` | `/api/v1/vimeo/videos/:video_id/status` | Bearer + `vimeo.videos.status` |
| Preview embed | `GET` | `/api/v1/vimeo/videos/:video_id/embed` | Bearer + `vimeo.videos.embed` |
| Delete orphan | `DELETE` | `/api/v1/vimeo/videos/:video_id` | Bearer + `vimeo.videos.delete` |
@@ -1261,4 +1261,4 @@ canonical page link = https://vimeo.com/{vimeo_id}
---
-*Last updated for Yimaru API `production` branch — Vimeo TUS handlers in `internal/web_server/handlers/vimeo.go`.*
+*Last updated for Rezina API `production` branch — Vimeo TUS handlers in `internal/web_server/handlers/vimeo.go`.*
diff --git a/docs/web-checkout-client-integration.md b/docs/web-checkout-client-integration.md
index 15b05ad8..4bafdaf5 100644
--- a/docs/web-checkout-client-integration.md
+++ b/docs/web-checkout-client-integration.md
@@ -45,7 +45,7 @@ When the iOS app shows **Subscription required** (locked content), it should **n
```mermaid
sequenceDiagram
participant iOS as iOS app
- participant API as Yimaru API
+ participant API as Rezina API
participant User as Email / SMS
participant Web as Web checkout app
@@ -116,7 +116,7 @@ One link per **15 minutes** per user (`429` if called too soon).
| Variable | Example |
|----------|---------|
-| `LEARNER_WEB_CHECKOUT_BASE_URL` | `https://subscribe.yimaruacademy.com` |
+| `LEARNER_WEB_CHECKOUT_BASE_URL` | `https://subscribe.rezinaacademy.com` |
Links are built as:
@@ -177,12 +177,12 @@ flowchart TD
| Variable | Example | Purpose |
|----------|---------|---------|
-| `VITE_API_BASE_URL` | `https://api.yimaruacademy.com/api/v1` | Yimaru API |
-| `LEARNER_WEB_CHECKOUT_BASE_URL` (backend) | `https://subscribe.yimaruacademy.com` | Base URL embedded in email/SMS links |
+| `VITE_API_BASE_URL` | `https://api.rezinaacademy.com/api/v1` | Rezina API |
+| `LEARNER_WEB_CHECKOUT_BASE_URL` (backend) | `https://subscribe.rezinaacademy.com` | Base URL embedded in email/SMS links |
| `VITE_APP_STORE_URL` | `https://apps.apple.com/...` | Optional iOS download link on success |
| `VITE_PLAY_STORE_URL` | `https://play.google.com/...` | Optional Android link |
-Production API base: `https://api.yimaruacademy.com/api/v1`
+Production API base: `https://api.rezinaacademy.com/api/v1`
---
@@ -276,7 +276,7 @@ POST /api/v1/auth/customer-login
#### Google / Apple sign-in
-Same as the mobile app — exchange the provider identity token for Yimaru JWTs.
+Same as the mobile app — exchange the provider identity token for Rezina JWTs.
**Google (web ID token):**
@@ -311,7 +311,7 @@ POST /api/v1/auth/apple
|----------|---------------------|
| `VITE_GOOGLE_CLIENT_ID` | `GOOGLE_OAUTH_WEB_CLIENT_ID` (or comma-separated in `GOOGLE_OAUTH_CLIENT_ID`) |
| `VITE_APPLE_CLIENT_ID` | include Services ID in `APPLE_SIGN_IN_CLIENT_IDS` |
-| `VITE_APPLE_REDIRECT_URI` | must match Apple Developer redirect URL (e.g. `https://subscribe.yimaruacademy.com/subscribe/login`) |
+| `VITE_APPLE_REDIRECT_URI` | must match Apple Developer redirect URL (e.g. `https://subscribe.rezinaacademy.com/subscribe/login`) |
Buttons are hidden when the corresponding `VITE_*` values are unset.
@@ -428,7 +428,7 @@ Authorization: Bearer
```json
{
"payment_id": 100,
- "session_id": "yimaru-tx-abc123",
+ "session_id": "rezina-tx-abc123",
"payment_url": "https://checkout.chapa.co/...",
"amount": 499.0,
"currency": "ETB",
@@ -483,11 +483,11 @@ Expect an `ACTIVE` subscription with matching `category`.
**Success UI copy (suggested):**
> Your subscription is active.
-> Open **Yimaru Academy** on your iPhone and sign in with this account.
+> Open **Rezina** on your iPhone and sign in with this account.
Optional buttons:
-- **Open app** — custom URL scheme / Universal Link (`yimaru://` or `https://app.yimaru.com/open`) if configured
+- **Open app** — custom URL scheme / Universal Link (`rezina://` or `https://app.rezina.com/open`) if configured
- **Download on App Store** — marketing link only; not a payment link
---
@@ -630,4 +630,4 @@ curl -s "$API/api/v1/subscriptions/me" \
---
-*Aligns with Yimaru API `production` branch — Chapa hosted checkout via `SubscribeWithPayment` / `InitiateSubscriptionPayment`.*
+*Aligns with Rezina API `production` branch — Chapa hosted checkout via `SubscribeWithPayment` / `InitiateSubscriptionPayment`.*
diff --git a/go.mod b/go.mod
index ac37662c..11340935 100644
--- a/go.mod
+++ b/go.mod
@@ -1,4 +1,4 @@
-module Yimaru-Backend
+module Rezina-Backend
go 1.25
diff --git a/internal/config/config.go b/internal/config/config.go
index b740d229..1bd66cba 100644
--- a/internal/config/config.go
+++ b/internal/config/config.go
@@ -1,8 +1,8 @@
package config
import (
- "Yimaru-Backend/internal/domain"
- customlogger "Yimaru-Backend/internal/logger"
+ "Rezina-Backend/internal/domain"
+ customlogger "Rezina-Backend/internal/logger"
"errors"
"fmt"
"log/slog"
@@ -396,7 +396,7 @@ func (c *Config) loadEnv() error {
c.AFRO_SMS_SENDER_NAME = os.Getenv("AFRO_SMS_SENDER_NAME")
if c.AFRO_SMS_SENDER_NAME == "" {
- c.AFRO_SMS_SENDER_NAME = "Yimaru Acad"
+ c.AFRO_SMS_SENDER_NAME = "Rezina"
}
c.AFRO_SMS_RECEIVER_PHONE_NUMBER = os.Getenv("AFRO_SMS_RECEIVER_PHONE_NUMBER")
@@ -564,7 +564,7 @@ func (c *Config) loadEnv() error {
}
if strings.TrimSpace(c.MinIO.Bucket) == "" {
- c.MinIO.Bucket = "yimaru"
+ c.MinIO.Bucket = "rezina"
}
minioUseSSL := os.Getenv("MINIO_USE_SSL")
if minioUseSSL == "true" || minioUseSSL == "1" {
diff --git a/internal/domain/setting_list.go b/internal/domain/setting_list.go
index b82085a7..1f70d05b 100644
--- a/internal/domain/setting_list.go
+++ b/internal/domain/setting_list.go
@@ -1,7 +1,7 @@
package domain
import (
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
"errors"
"fmt"
"strconv"
diff --git a/internal/domain/timezone.go b/internal/domain/timezone.go
index 447a3dbb..556395b2 100644
--- a/internal/domain/timezone.go
+++ b/internal/domain/timezone.go
@@ -2,7 +2,7 @@ package domain
import "time"
-// AppTimezoneName is the default business timezone for Yimaru (East Africa Time).
+// AppTimezoneName is the default business timezone for Rezina (East Africa Time).
const AppTimezoneName = "Africa/Addis_Ababa"
// AppTimezone returns Africa/Addis_Ababa (EAT, UTC+3). Used as the default for
diff --git a/internal/infrastructure/csv_exporter.go b/internal/infrastructure/csv_exporter.go
index f2263fac..f1dad7e3 100644
--- a/internal/infrastructure/csv_exporter.go
+++ b/internal/infrastructure/csv_exporter.go
@@ -2,7 +2,7 @@
package infrastructure
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"encoding/csv"
"os"
"strconv"
diff --git a/internal/logger/mongoLogger/init.go b/internal/logger/mongoLogger/init.go
index f62b2c47..f8c45ffc 100644
--- a/internal/logger/mongoLogger/init.go
+++ b/internal/logger/mongoLogger/init.go
@@ -1,7 +1,7 @@
package mongoLogger
import (
- "Yimaru-Backend/internal/config"
+ "Rezina-Backend/internal/config"
"fmt"
"os"
diff --git a/internal/logger/mongoLogger/logger.go b/internal/logger/mongoLogger/logger.go
index a1b1c833..4b155476 100644
--- a/internal/logger/mongoLogger/logger.go
+++ b/internal/logger/mongoLogger/logger.go
@@ -1,7 +1,7 @@
package mongoLogger
import (
- "Yimaru-Backend/internal/config"
+ "Rezina-Backend/internal/config"
"context"
"fmt"
"time"
diff --git a/internal/ports/activity_log.go b/internal/ports/activity_log.go
index ca69455c..326ecdc5 100644
--- a/internal/ports/activity_log.go
+++ b/internal/ports/activity_log.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/auth.go b/internal/ports/auth.go
index f27f6509..0f45957a 100644
--- a/internal/ports/auth.go
+++ b/internal/ports/auth.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/email_template.go b/internal/ports/email_template.go
index 664077d7..a10eab65 100644
--- a/internal/ports/email_template.go
+++ b/internal/ports/email_template.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/exam_prep_catalog_course.go b/internal/ports/exam_prep_catalog_course.go
index c5db5a6a..533f37fe 100644
--- a/internal/ports/exam_prep_catalog_course.go
+++ b/internal/ports/exam_prep_catalog_course.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/exam_prep_lesson.go b/internal/ports/exam_prep_lesson.go
index 039385ef..5c96f1eb 100644
--- a/internal/ports/exam_prep_lesson.go
+++ b/internal/ports/exam_prep_lesson.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/exam_prep_module.go b/internal/ports/exam_prep_module.go
index 556a1617..0e53ab92 100644
--- a/internal/ports/exam_prep_module.go
+++ b/internal/ports/exam_prep_module.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/exam_prep_practice.go b/internal/ports/exam_prep_practice.go
index c3ffdc28..1bd803a9 100644
--- a/internal/ports/exam_prep_practice.go
+++ b/internal/ports/exam_prep_practice.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/exam_prep_unit.go b/internal/ports/exam_prep_unit.go
index 39c860d7..35944514 100644
--- a/internal/ports/exam_prep_unit.go
+++ b/internal/ports/exam_prep_unit.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/faq.go b/internal/ports/faq.go
index 8bae696f..7f00f289 100644
--- a/internal/ports/faq.go
+++ b/internal/ports/faq.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/lms_course.go b/internal/ports/lms_course.go
index 567a2f6e..a8f320d0 100644
--- a/internal/ports/lms_course.go
+++ b/internal/ports/lms_course.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/lms_lesson.go b/internal/ports/lms_lesson.go
index 0f646d9c..88bf0ff5 100644
--- a/internal/ports/lms_lesson.go
+++ b/internal/ports/lms_lesson.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/lms_module.go b/internal/ports/lms_module.go
index 3ea25b29..c5c117f5 100644
--- a/internal/ports/lms_module.go
+++ b/internal/ports/lms_module.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/lms_persona.go b/internal/ports/lms_persona.go
index 26a2df87..02ac3a8a 100644
--- a/internal/ports/lms_persona.go
+++ b/internal/ports/lms_persona.go
@@ -3,7 +3,7 @@ package ports
import (
"context"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
// LmsPersonaReader resolves catalog personas referenced by LMS / exam-prep practices.
diff --git a/internal/ports/lms_practice.go b/internal/ports/lms_practice.go
index c1147b47..1c6d01d8 100644
--- a/internal/ports/lms_practice.go
+++ b/internal/ports/lms_practice.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/mobile_app_version.go b/internal/ports/mobile_app_version.go
index aa6830b5..aa168339 100644
--- a/internal/ports/mobile_app_version.go
+++ b/internal/ports/mobile_app_version.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/notification.go b/internal/ports/notification.go
index 138254f9..a8cf3cfe 100644
--- a/internal/ports/notification.go
+++ b/internal/ports/notification.go
@@ -3,7 +3,7 @@ package ports
import (
"context"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
type NotificationStore interface {
diff --git a/internal/ports/payment.go b/internal/ports/payment.go
index fc942d74..f8d88b92 100644
--- a/internal/ports/payment.go
+++ b/internal/ports/payment.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/practice_stimulus_blocks.go b/internal/ports/practice_stimulus_blocks.go
index 330ac8c9..412c045a 100644
--- a/internal/ports/practice_stimulus_blocks.go
+++ b/internal/ports/practice_stimulus_blocks.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/profile_field_option.go b/internal/ports/profile_field_option.go
index dbef67de..aa77fbbe 100644
--- a/internal/ports/profile_field_option.go
+++ b/internal/ports/profile_field_option.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/program.go b/internal/ports/program.go
index ce5ed09a..162bd25b 100644
--- a/internal/ports/program.go
+++ b/internal/ports/program.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/questions.go b/internal/ports/questions.go
index 1f6aa4e7..27f7d907 100644
--- a/internal/ports/questions.go
+++ b/internal/ports/questions.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/rating.go b/internal/ports/rating.go
index 34a11996..00c96633 100644
--- a/internal/ports/rating.go
+++ b/internal/ports/rating.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/rbac.go b/internal/ports/rbac.go
index e8d34f66..40b4d3e6 100644
--- a/internal/ports/rbac.go
+++ b/internal/ports/rbac.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/settings.go b/internal/ports/settings.go
index 0883c100..929df3f6 100644
--- a/internal/ports/settings.go
+++ b/internal/ports/settings.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
)
diff --git a/internal/ports/subscriptions.go b/internal/ports/subscriptions.go
index 9fe2bbc2..1b880c53 100644
--- a/internal/ports/subscriptions.go
+++ b/internal/ports/subscriptions.go
@@ -1,7 +1,7 @@
package ports
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"time"
)
diff --git a/internal/ports/team.go b/internal/ports/team.go
index abea8ffc..e40dd05e 100644
--- a/internal/ports/team.go
+++ b/internal/ports/team.go
@@ -4,7 +4,7 @@ import (
"context"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
type TeamStore interface {
diff --git a/internal/ports/user.go b/internal/ports/user.go
index 158f3925..d7ecfd9c 100644
--- a/internal/ports/user.go
+++ b/internal/ports/user.go
@@ -4,7 +4,7 @@ import (
"context"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
type ProfileCompletionStatus struct {
diff --git a/internal/repository/activity_logs.go b/internal/repository/activity_logs.go
index 793f5a86..2c6a8555 100644
--- a/internal/repository/activity_logs.go
+++ b/internal/repository/activity_logs.go
@@ -1,8 +1,8 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"strings"
diff --git a/internal/repository/auth.go b/internal/repository/auth.go
index e6c5986c..e7ed16cb 100644
--- a/internal/repository/auth.go
+++ b/internal/repository/auth.go
@@ -6,10 +6,10 @@ import (
"errors"
"time"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/authentication"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/authentication"
"github.com/jackc/pgx/v5/pgtype"
)
diff --git a/internal/repository/email_templates.go b/internal/repository/email_templates.go
index 6a47fbbf..f742fa95 100644
--- a/internal/repository/email_templates.go
+++ b/internal/repository/email_templates.go
@@ -1,8 +1,8 @@
package repository
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"encoding/json"
diff --git a/internal/repository/exam_prep_access.go b/internal/repository/exam_prep_access.go
index ec8a0f22..d6d7a242 100644
--- a/internal/repository/exam_prep_access.go
+++ b/internal/repository/exam_prep_access.go
@@ -3,8 +3,8 @@ package repository
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
)
diff --git a/internal/repository/exam_prep_admin_activity.go b/internal/repository/exam_prep_admin_activity.go
index fb691830..215769d1 100644
--- a/internal/repository/exam_prep_admin_activity.go
+++ b/internal/repository/exam_prep_admin_activity.go
@@ -3,7 +3,7 @@ package repository
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
)
func (s *Store) ListUserExamPrepFlatLearningActivity(ctx context.Context, userID int64) ([]dbgen.ListUserExamPrepFlatLearningActivityByUserRow, error) {
diff --git a/internal/repository/exam_prep_catalog_courses.go b/internal/repository/exam_prep_catalog_courses.go
index 856dc4a0..9a1aaf78 100644
--- a/internal/repository/exam_prep_catalog_courses.go
+++ b/internal/repository/exam_prep_catalog_courses.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/exam_prep_lesson_practices.go b/internal/repository/exam_prep_lesson_practices.go
index c251d75f..b2177434 100644
--- a/internal/repository/exam_prep_lesson_practices.go
+++ b/internal/repository/exam_prep_lesson_practices.go
@@ -5,8 +5,8 @@ import (
"errors"
"fmt"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/exam_prep_progress.go b/internal/repository/exam_prep_progress.go
index 7da1da03..cbda7d2f 100644
--- a/internal/repository/exam_prep_progress.go
+++ b/internal/repository/exam_prep_progress.go
@@ -3,7 +3,7 @@ package repository
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
)
// ExamPrepCountPublishedPracticesInLesson returns published practices attached to an exam-prep lesson.
diff --git a/internal/repository/exam_prep_unit_module_lessons.go b/internal/repository/exam_prep_unit_module_lessons.go
index 199a7e79..f4b3ddfd 100644
--- a/internal/repository/exam_prep_unit_module_lessons.go
+++ b/internal/repository/exam_prep_unit_module_lessons.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/exam_prep_unit_modules.go b/internal/repository/exam_prep_unit_modules.go
index eab6cd2b..aa8739b7 100644
--- a/internal/repository/exam_prep_unit_modules.go
+++ b/internal/repository/exam_prep_unit_modules.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/exam_prep_units.go b/internal/repository/exam_prep_units.go
index f924385d..b576bbb5 100644
--- a/internal/repository/exam_prep_units.go
+++ b/internal/repository/exam_prep_units.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/faqs.go b/internal/repository/faqs.go
index c6a1d3d7..a87504fa 100644
--- a/internal/repository/faqs.go
+++ b/internal/repository/faqs.go
@@ -1,8 +1,8 @@
package repository
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"github.com/jackc/pgx/v5"
diff --git a/internal/repository/initial_assessment.go b/internal/repository/initial_assessment.go
index 0ccc63da..d65061ff 100644
--- a/internal/repository/initial_assessment.go
+++ b/internal/repository/initial_assessment.go
@@ -1,7 +1,7 @@
package repository
import (
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/ports"
)
// NewInitialAssessmentStore returns the Store which now delegates to the unified questions system
diff --git a/internal/repository/initial_assessment_thresholds.go b/internal/repository/initial_assessment_thresholds.go
index de921f8d..a8a6b924 100644
--- a/internal/repository/initial_assessment_thresholds.go
+++ b/internal/repository/initial_assessment_thresholds.go
@@ -4,7 +4,7 @@ import (
"context"
"fmt"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
)
diff --git a/internal/repository/issue_reporting.go b/internal/repository/issue_reporting.go
index 6e781e79..da9938a2 100644
--- a/internal/repository/issue_reporting.go
+++ b/internal/repository/issue_reporting.go
@@ -1,7 +1,7 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
"context"
)
diff --git a/internal/repository/lms_access.go b/internal/repository/lms_access.go
index d400ef50..d318f51b 100644
--- a/internal/repository/lms_access.go
+++ b/internal/repository/lms_access.go
@@ -3,7 +3,7 @@ package repository
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
)
func (s *Store) LmsGetPreviousProgram(ctx context.Context, programID int64) (dbgen.Program, error) {
diff --git a/internal/repository/lms_courses.go b/internal/repository/lms_courses.go
index 0bd41f2a..fd8f37fb 100644
--- a/internal/repository/lms_courses.go
+++ b/internal/repository/lms_courses.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/lms_lessons.go b/internal/repository/lms_lessons.go
index 0b062713..c9df0544 100644
--- a/internal/repository/lms_lessons.go
+++ b/internal/repository/lms_lessons.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/lms_modules.go b/internal/repository/lms_modules.go
index 2a9ca519..c16b0d5b 100644
--- a/internal/repository/lms_modules.go
+++ b/internal/repository/lms_modules.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/lms_personas.go b/internal/repository/lms_personas.go
index 3b9ca57f..a66cbee2 100644
--- a/internal/repository/lms_personas.go
+++ b/internal/repository/lms_personas.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/lms_practices.go b/internal/repository/lms_practices.go
index e2827549..1d4dd1f6 100644
--- a/internal/repository/lms_practices.go
+++ b/internal/repository/lms_practices.go
@@ -5,8 +5,8 @@ import (
"errors"
"fmt"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/lms_progress_tx.go b/internal/repository/lms_progress_tx.go
index 2adc1d92..26e4b5cf 100644
--- a/internal/repository/lms_progress_tx.go
+++ b/internal/repository/lms_progress_tx.go
@@ -4,8 +4,8 @@ import (
"context"
"fmt"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
)
// CompleteLessonForUser records lesson completion for sequential lesson gating and
diff --git a/internal/repository/lms_user_progress_snapshot.go b/internal/repository/lms_user_progress_snapshot.go
index d4e12c82..9f5e0330 100644
--- a/internal/repository/lms_user_progress_snapshot.go
+++ b/internal/repository/lms_user_progress_snapshot.go
@@ -3,8 +3,8 @@ package repository
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
)
// GetLMSUserProgressSnapshot returns practice-based completed lesson, module, course,
diff --git a/internal/repository/mobile_app_versions.go b/internal/repository/mobile_app_versions.go
index 23ad1e3c..c4a3805e 100644
--- a/internal/repository/mobile_app_versions.go
+++ b/internal/repository/mobile_app_versions.go
@@ -1,8 +1,8 @@
package repository
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"github.com/jackc/pgx/v5"
diff --git a/internal/repository/notification.go b/internal/repository/notification.go
index ad9ed9b3..69844cd8 100644
--- a/internal/repository/notification.go
+++ b/internal/repository/notification.go
@@ -6,9 +6,9 @@ import (
"errors"
"strconv"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/otp.go b/internal/repository/otp.go
index 851cafed..b144a058 100644
--- a/internal/repository/otp.go
+++ b/internal/repository/otp.go
@@ -6,9 +6,9 @@ import (
"fmt"
"time"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"github.com/jackc/pgx/v5/pgtype"
)
diff --git a/internal/repository/payments.go b/internal/repository/payments.go
index e4fbf9df..717b92e0 100644
--- a/internal/repository/payments.go
+++ b/internal/repository/payments.go
@@ -1,8 +1,8 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"context"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/practice_stimulus_blocks.go b/internal/repository/practice_stimulus_blocks.go
index bc805869..6014bd85 100644
--- a/internal/repository/practice_stimulus_blocks.go
+++ b/internal/repository/practice_stimulus_blocks.go
@@ -4,8 +4,8 @@ import (
"context"
"encoding/json"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5/pgtype"
)
diff --git a/internal/repository/profile_field_options.go b/internal/repository/profile_field_options.go
index d40960b5..7544a395 100644
--- a/internal/repository/profile_field_options.go
+++ b/internal/repository/profile_field_options.go
@@ -1,8 +1,8 @@
package repository
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"github.com/jackc/pgx/v5"
diff --git a/internal/repository/programs.go b/internal/repository/programs.go
index 83a6bf4e..737db0af 100644
--- a/internal/repository/programs.go
+++ b/internal/repository/programs.go
@@ -5,8 +5,8 @@ import (
"errors"
"strings"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/question_type_definition_groups.go b/internal/repository/question_type_definition_groups.go
index 11d212b5..8b91085c 100644
--- a/internal/repository/question_type_definition_groups.go
+++ b/internal/repository/question_type_definition_groups.go
@@ -1,7 +1,7 @@
package repository
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"strings"
diff --git a/internal/repository/questions.go b/internal/repository/questions.go
index 849ab35c..c9e5f5f2 100644
--- a/internal/repository/questions.go
+++ b/internal/repository/questions.go
@@ -7,8 +7,8 @@ import (
"strings"
"time"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgconn"
diff --git a/internal/repository/ratings.go b/internal/repository/ratings.go
index 8663a6c2..8915a290 100644
--- a/internal/repository/ratings.go
+++ b/internal/repository/ratings.go
@@ -1,9 +1,9 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/rbac.go b/internal/repository/rbac.go
index b646f8e9..9f5805fb 100644
--- a/internal/repository/rbac.go
+++ b/internal/repository/rbac.go
@@ -1,9 +1,9 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/scheduled_notification.go b/internal/repository/scheduled_notification.go
index b5e174a0..3b46bc0a 100644
--- a/internal/repository/scheduled_notification.go
+++ b/internal/repository/scheduled_notification.go
@@ -4,8 +4,8 @@ import (
"context"
"encoding/json"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5/pgtype"
)
diff --git a/internal/repository/settings.go b/internal/repository/settings.go
index ba6615d7..12886b1e 100644
--- a/internal/repository/settings.go
+++ b/internal/repository/settings.go
@@ -1,9 +1,9 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"fmt"
diff --git a/internal/repository/store.go b/internal/repository/store.go
index edc5927f..5169f7ef 100644
--- a/internal/repository/store.go
+++ b/internal/repository/store.go
@@ -6,7 +6,7 @@ import (
"strconv"
"time"
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgxpool"
diff --git a/internal/repository/subscriptions.go b/internal/repository/subscriptions.go
index 2d6ca6ff..226858a7 100644
--- a/internal/repository/subscriptions.go
+++ b/internal/repository/subscriptions.go
@@ -1,8 +1,8 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"context"
"time"
diff --git a/internal/repository/team.go b/internal/repository/team.go
index 7fb62e6b..c4f3cdc3 100644
--- a/internal/repository/team.go
+++ b/internal/repository/team.go
@@ -6,9 +6,9 @@ import (
"errors"
"time"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/team_invitations.go b/internal/repository/team_invitations.go
index 6ffab70e..848821c9 100644
--- a/internal/repository/team_invitations.go
+++ b/internal/repository/team_invitations.go
@@ -4,8 +4,8 @@ import (
"context"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/repository/transaction.go b/internal/repository/transaction.go
index fa7bad7d..79ead29e 100644
--- a/internal/repository/transaction.go
+++ b/internal/repository/transaction.go
@@ -1,6 +1,6 @@
package repository
-import "Yimaru-Backend/internal/ports"
+import "Rezina-Backend/internal/ports"
// Interface for creating new shop transaction store
func NewTransactionStore(s *Store) ports.TransactionStore { return s }
diff --git a/internal/repository/user.go b/internal/repository/user.go
index c3704930..8016656f 100644
--- a/internal/repository/user.go
+++ b/internal/repository/user.go
@@ -1,10 +1,10 @@
package repository
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/authentication"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/authentication"
"context"
"database/sql"
"errors"
diff --git a/internal/repository/user_recent_activity.go b/internal/repository/user_recent_activity.go
index b1b2630b..949ea23b 100644
--- a/internal/repository/user_recent_activity.go
+++ b/internal/repository/user_recent_activity.go
@@ -3,7 +3,7 @@ package repository
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
+ dbgen "Rezina-Backend/gen/db"
)
func (s *Store) ListUserLessonCompletionsRecentActivity(ctx context.Context, userID int64) ([]dbgen.ListUserLessonCompletionsRecentActivityRow, error) {
diff --git a/internal/repository/user_unique.go b/internal/repository/user_unique.go
index 42f1fd66..b6933290 100644
--- a/internal/repository/user_unique.go
+++ b/internal/repository/user_unique.go
@@ -1,7 +1,7 @@
package repository
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"strings"
diff --git a/internal/repository/video_engagement.go b/internal/repository/video_engagement.go
index 1f96e9dd..30750d19 100644
--- a/internal/repository/video_engagement.go
+++ b/internal/repository/video_engagement.go
@@ -7,8 +7,8 @@ import (
"strings"
"time"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/services/activity_log/service.go b/internal/services/activity_log/service.go
index d71d44dd..533715e4 100644
--- a/internal/services/activity_log/service.go
+++ b/internal/services/activity_log/service.go
@@ -1,8 +1,8 @@
package activity_log
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"encoding/json"
diff --git a/internal/services/appversions/service.go b/internal/services/appversions/service.go
index 1b0e508d..9fdb69b4 100644
--- a/internal/services/appversions/service.go
+++ b/internal/services/appversions/service.go
@@ -1,8 +1,8 @@
package appversions
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"errors"
"fmt"
diff --git a/internal/services/arifpay/service.go b/internal/services/arifpay/service.go
index 9b3b26ce..58ae3ba5 100644
--- a/internal/services/arifpay/service.go
+++ b/internal/services/arifpay/service.go
@@ -13,11 +13,11 @@ import (
"strings"
"time"
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/checkoutsubscription"
- learnernotifications "Yimaru-Backend/internal/services/learnernotifications"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/checkoutsubscription"
+ learnernotifications "Rezina-Backend/internal/services/learnernotifications"
"github.com/google/uuid"
)
diff --git a/internal/services/assessment/initial_assessment.go b/internal/services/assessment/initial_assessment.go
index e8bbe653..1bea8a13 100644
--- a/internal/services/assessment/initial_assessment.go
+++ b/internal/services/assessment/initial_assessment.go
@@ -1,7 +1,7 @@
package assessment
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"errors"
"strings"
diff --git a/internal/services/assessment/placement.go b/internal/services/assessment/placement.go
index dcd9598b..65d82f3e 100644
--- a/internal/services/assessment/placement.go
+++ b/internal/services/assessment/placement.go
@@ -6,7 +6,7 @@ import (
"fmt"
"strings"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5"
)
diff --git a/internal/services/assessment/service.go b/internal/services/assessment/service.go
index ca955e9b..03045c2e 100644
--- a/internal/services/assessment/service.go
+++ b/internal/services/assessment/service.go
@@ -1,9 +1,9 @@
package assessment
import (
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/ports"
- notificationservice "Yimaru-Backend/internal/services/notification"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/ports"
+ notificationservice "Rezina-Backend/internal/services/notification"
)
type Service struct {
diff --git a/internal/services/authentication/apple.go b/internal/services/authentication/apple.go
index 0a027de3..efebe95a 100644
--- a/internal/services/authentication/apple.go
+++ b/internal/services/authentication/apple.go
@@ -1,7 +1,7 @@
package authentication
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"errors"
"fmt"
diff --git a/internal/services/authentication/google.go b/internal/services/authentication/google.go
index 8a700251..15732368 100644
--- a/internal/services/authentication/google.go
+++ b/internal/services/authentication/google.go
@@ -1,7 +1,7 @@
package authentication
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"errors"
diff --git a/internal/services/authentication/impl.go b/internal/services/authentication/impl.go
index b44ef64a..536c8aa6 100644
--- a/internal/services/authentication/impl.go
+++ b/internal/services/authentication/impl.go
@@ -7,7 +7,7 @@ import (
"errors"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"golang.org/x/crypto/bcrypt"
)
diff --git a/internal/services/authentication/oauth_resolve.go b/internal/services/authentication/oauth_resolve.go
index e8409349..4863ca1d 100644
--- a/internal/services/authentication/oauth_resolve.go
+++ b/internal/services/authentication/oauth_resolve.go
@@ -1,7 +1,7 @@
package authentication
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"errors"
)
diff --git a/internal/services/authentication/service.go b/internal/services/authentication/service.go
index eb76bf7f..08b9135a 100644
--- a/internal/services/authentication/service.go
+++ b/internal/services/authentication/service.go
@@ -1,8 +1,8 @@
package authentication
import (
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/user"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/user"
)
// type EmailPhone struct {
diff --git a/internal/services/chapa/customization_test.go b/internal/services/chapa/customization_test.go
index 1a397604..94aa8ee8 100644
--- a/internal/services/chapa/customization_test.go
+++ b/internal/services/chapa/customization_test.go
@@ -10,7 +10,7 @@ func TestSanitizeChapaCustomization(t *testing.T) {
{"Subscription: Premium", "Subscription Premium"},
{"New Test Monthly Premium", "New Test Monthly Premium"},
{"IELTS (Prep) / Monthly", "IELTS Prep Monthly"},
- {"", "Yimaru subscription"},
+ {"", "Rezina subscription"},
}
for _, tc := range tests {
if got := sanitizeChapaCustomization(tc.in); got != tc.want {
diff --git a/internal/services/chapa/direct_charge.go b/internal/services/chapa/direct_charge.go
index 0dd8ddb3..989462be 100644
--- a/internal/services/chapa/direct_charge.go
+++ b/internal/services/chapa/direct_charge.go
@@ -1,8 +1,8 @@
package chapa
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/checkoutsubscription"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/checkoutsubscription"
"context"
"encoding/json"
"errors"
diff --git a/internal/services/chapa/service.go b/internal/services/chapa/service.go
index 18cb519b..70152067 100644
--- a/internal/services/chapa/service.go
+++ b/internal/services/chapa/service.go
@@ -16,11 +16,11 @@ import (
"strings"
"time"
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/checkoutsubscription"
- learnernotifications "Yimaru-Backend/internal/services/learnernotifications"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/checkoutsubscription"
+ learnernotifications "Rezina-Backend/internal/services/learnernotifications"
)
var (
@@ -139,7 +139,7 @@ func (s *Service) InitiateSubscriptionPayment(ctx context.Context, userID int64,
CallbackURL: s.cfg.CHAPA_CALLBACK_URL,
ReturnURL: s.cfg.CHAPA_RETURN_URL,
}
- initReq.Customization.Title = sanitizeChapaCustomization("Yimaru LMS")
+ initReq.Customization.Title = sanitizeChapaCustomization("Rezina LMS")
initReq.Customization.Description = chapaSubscriptionDescription(prep.Plan.Name)
checkoutURL, err := s.initializeTransaction(ctx, initReq)
@@ -561,7 +561,7 @@ func sanitizeChapaCustomization(value string) string {
}
cleaned := strings.Join(strings.Fields(b.String()), " ")
if cleaned == "" {
- return "Yimaru subscription"
+ return "Rezina subscription"
}
return cleaned
}
diff --git a/internal/services/checkoutsubscription/checkoutsubscription.go b/internal/services/checkoutsubscription/checkoutsubscription.go
index cdd2986f..8425cb1f 100644
--- a/internal/services/checkoutsubscription/checkoutsubscription.go
+++ b/internal/services/checkoutsubscription/checkoutsubscription.go
@@ -5,8 +5,8 @@ import (
"fmt"
"time"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
)
// CreatePending creates a PENDING subscription when checkout/payment is initiated.
diff --git a/internal/services/cloudconvert/service.go b/internal/services/cloudconvert/service.go
index 0c1ff2d1..c1384749 100644
--- a/internal/services/cloudconvert/service.go
+++ b/internal/services/cloudconvert/service.go
@@ -1,7 +1,7 @@
package cloudconvert
import (
- cc "Yimaru-Backend/internal/pkgs/cloudconvert"
+ cc "Rezina-Backend/internal/pkgs/cloudconvert"
"bytes"
"context"
"fmt"
diff --git a/internal/services/courses/service.go b/internal/services/courses/service.go
index 403581d4..e2d60679 100644
--- a/internal/services/courses/service.go
+++ b/internal/services/courses/service.go
@@ -1,9 +1,9 @@
package courses
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/programs"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/programs"
"context"
"errors"
diff --git a/internal/services/emailtemplates/brand_templates.go b/internal/services/emailtemplates/brand_templates.go
index 3b380976..b38bf6d9 100644
--- a/internal/services/emailtemplates/brand_templates.go
+++ b/internal/services/emailtemplates/brand_templates.go
@@ -1,25 +1,25 @@
package emailtemplates
-// Yimaru Academy brand colors (aligned with admin portal):
+// Rezina brand colors (aligned with admin portal):
// Primary #9d2a83, gradient #7b1f6e → #c43a9a, surface #eef4ff, text #333 / #666.
const (
brandEmailHeader = `
-Yimaru Academy
+Rezina
|
- Yimaru Academy
+Rezina
Online Learning Platform
|
| `
brandEmailFooter = ` |
|
- © 2026 Yimaru Academy · All rights reserved
+© 2026 Rezina · All rights reserved
|
| `
@@ -32,11 +32,11 @@ const (
)
const (
- defaultOTPSubject = "Yimaru Academy — Your verification code"
- defaultOTPText = "Yimaru Academy{{if .FirstName}}, {{.FirstName}}{{end}}\n\nYour verification code is {{.OTP}}.\nIt expires in {{.ExpiresMinutes}} minutes.\n\nPlease do not share this code with anyone."
+ defaultOTPSubject = "Rezina — Your verification code"
+ defaultOTPText = "Rezina{{if .FirstName}}, {{.FirstName}}{{end}}\n\nYour verification code is {{.OTP}}.\nIt expires in {{.ExpiresMinutes}} minutes.\n\nPlease do not share this code with anyone."
defaultOTPHTML = brandEmailHeader + `
Your verification code
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}use the code below to continue signing in to Yimaru Academy.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}use the code below to continue signing in to Rezina.
|
One-time password
{{.OTP}}
@@ -45,30 +45,30 @@ const (
If you did not request this code, you can safely ignore this email.
` + brandEmailFooter
- defaultInvitationSubject = "You are invited to Yimaru Academy"
- defaultInvitationText = "Hi{{if .FirstName}} {{.FirstName}}{{end}},\n\nYou have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Yimaru Academy.\n\nAccept your invitation: {{.InviteLink}}"
+ defaultInvitationSubject = "You are invited to Rezina"
+ defaultInvitationText = "Hi{{if .FirstName}} {{.FirstName}}{{end}},\n\nYou have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Rezina.\n\nAccept your invitation: {{.InviteLink}}"
defaultInvitationHTML = brandEmailHeader + `
You’re invited
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}you have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Yimaru Academy.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}you have been invited{{if .InviterName}} by {{.InviterName}}{{end}} to join Rezina.
Accept invitation
Or copy this link: {{.InviteLink}}
` + brandEmailFooter
- defaultPasswordResetSubject = "Reset your Yimaru Academy password"
+ defaultPasswordResetSubject = "Reset your Rezina password"
defaultPasswordResetText = "Hi{{if .FirstName}} {{.FirstName}}{{end}},\n\nReset your password: {{.ResetLink}}\n\nThis link expires in {{.ExpiresMinutes}} minutes."
defaultPasswordResetHTML = brandEmailHeader + `
Reset your password
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}we received a request to reset your Yimaru Academy password. The link below expires in {{.ExpiresMinutes}} minutes.
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}we received a request to reset your Rezina password. The link below expires in {{.ExpiresMinutes}} minutes.
Reset password
If you did not request a reset, ignore this email.
` + brandEmailFooter
- defaultWelcomeSubject = "Welcome to Yimaru Academy"
- defaultWelcomeText = "Hi{{if .FirstName}} {{.FirstName}}{{end}},\n\nWelcome to Yimaru Academy! Sign in to get started: {{.LoginURL}}"
+ defaultWelcomeSubject = "Welcome to Rezina"
+ defaultWelcomeText = "Hi{{if .FirstName}} {{.FirstName}}{{end}},\n\nWelcome to Rezina! Sign in to get started: {{.LoginURL}}"
defaultWelcomeHTML = brandEmailHeader + `
Welcome aboard
-{{if .FirstName}}Hi {{.FirstName}}, {{end}}your Yimaru Academy account is ready. Start learning at your own pace.
-Sign in to Yimaru Academy
+{{if .FirstName}}Hi {{.FirstName}}, {{end}}your Rezina account is ready. Start learning at your own pace.
+Sign in to Rezina
` + brandEmailFooter
defaultCustomMessageHTML = brandEmailHeader + `
@@ -76,12 +76,12 @@ const (
{{.Message}}
` + brandEmailFooter
- defaultSubscriptionActivatedSubject = "Your Yimaru Academy subscription is active"
+ defaultSubscriptionActivatedSubject = "Your Rezina subscription is active"
defaultSubscriptionActivatedText = "Hi{{if .FirstName}} {{.FirstName}}{{end}},\n\nYour \"{{.PlanName}}\" {{.PackageLabel}} subscription is now active{{if .ExpiresLabel}} until {{.ExpiresLabel}}{{else if .IsLifetime}} with lifetime access{{end}}.\n\nSign in to start learning: {{.LoginURL}}"
defaultSubscriptionActivatedHTML = brandEmailHeader + `
Subscription active
{{if .FirstName}}Hi {{.FirstName}}, {{end}}your {{.PlanName}} {{.PackageLabel}} package is now active.{{if .IsLifetime}} You have lifetime access.{{else if .ExpiresLabel}} It is valid until {{.ExpiresLabel}}.{{end}}
Start learning
-Thank you for subscribing to Yimaru Academy.
+Thank you for subscribing to Rezina.
` + brandEmailFooter
)
diff --git a/internal/services/emailtemplates/defaults.go b/internal/services/emailtemplates/defaults.go
index f85f2059..2597c8af 100644
--- a/internal/services/emailtemplates/defaults.go
+++ b/internal/services/emailtemplates/defaults.go
@@ -1,7 +1,7 @@
package emailtemplates
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"bytes"
)
diff --git a/internal/services/emailtemplates/outbound.go b/internal/services/emailtemplates/outbound.go
index c17e4d59..7327c50a 100644
--- a/internal/services/emailtemplates/outbound.go
+++ b/internal/services/emailtemplates/outbound.go
@@ -1,7 +1,7 @@
package emailtemplates
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"fmt"
"strings"
diff --git a/internal/services/emailtemplates/service.go b/internal/services/emailtemplates/service.go
index 69394019..5e018e13 100644
--- a/internal/services/emailtemplates/service.go
+++ b/internal/services/emailtemplates/service.go
@@ -1,8 +1,8 @@
package emailtemplates
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"errors"
"fmt"
diff --git a/internal/services/emailtemplates/template_utils.go b/internal/services/emailtemplates/template_utils.go
index 0e628d6e..ae0cc1e3 100644
--- a/internal/services/emailtemplates/template_utils.go
+++ b/internal/services/emailtemplates/template_utils.go
@@ -1,7 +1,7 @@
package emailtemplates
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"html/template"
"regexp"
"strings"
diff --git a/internal/services/examprep/service.go b/internal/services/examprep/service.go
index 0a82dd4d..e2f49b19 100644
--- a/internal/services/examprep/service.go
+++ b/internal/services/examprep/service.go
@@ -1,8 +1,8 @@
package examprep
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"errors"
diff --git a/internal/services/faqs/service.go b/internal/services/faqs/service.go
index a4295d48..cbfdd56c 100644
--- a/internal/services/faqs/service.go
+++ b/internal/services/faqs/service.go
@@ -1,8 +1,8 @@
package faqs
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"fmt"
"strings"
diff --git a/internal/services/issue_reporting/service.go b/internal/services/issue_reporting/service.go
index 48c21eb5..cc799b3c 100644
--- a/internal/services/issue_reporting/service.go
+++ b/internal/services/issue_reporting/service.go
@@ -5,9 +5,9 @@ import (
"encoding/json"
"errors"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/repository"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/repository"
)
type Service struct {
diff --git a/internal/services/learnernotifications/service.go b/internal/services/learnernotifications/service.go
index b6539564..0c9a24e2 100644
--- a/internal/services/learnernotifications/service.go
+++ b/internal/services/learnernotifications/service.go
@@ -6,11 +6,11 @@ import (
"strings"
"time"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- emailtemplates "Yimaru-Backend/internal/services/emailtemplates"
- "Yimaru-Backend/internal/services/messenger"
- notificationservice "Yimaru-Backend/internal/services/notification"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ emailtemplates "Rezina-Backend/internal/services/emailtemplates"
+ "Rezina-Backend/internal/services/messenger"
+ notificationservice "Rezina-Backend/internal/services/notification"
)
// Service sends learner-facing in-app, push, and email notifications.
@@ -40,7 +40,7 @@ func New(
func (s *Service) NotifyWelcome(userID int64) {
s.send(userID, domain.NOTIFICATION_TYPE_USER_WELCOME, domain.NotificationLevelSuccess,
- "Welcome to Yimaru Academy",
+ "Welcome to Rezina",
"Your account is ready. Start learning and track your progress across programs and courses.")
}
@@ -165,7 +165,7 @@ func (s *Service) sendSubscriptionActivatedEmail(userID int64, planCategory, pla
func (s *Service) learnerLoginURL() string {
base := strings.TrimRight(strings.TrimSpace(s.learnerAppBaseURL), "/")
if base == "" {
- return "https://app.yimaruacademy.com/login"
+ return "https://app.rezinaacademy.com/login"
}
if strings.HasSuffix(base, "/login") {
return base
diff --git a/internal/services/learnernotifications/subscription.go b/internal/services/learnernotifications/subscription.go
index e850a81e..04cb674c 100644
--- a/internal/services/learnernotifications/subscription.go
+++ b/internal/services/learnernotifications/subscription.go
@@ -4,7 +4,7 @@ import (
"strings"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
func subscriptionPackageLabel(planCategory string) string {
@@ -16,7 +16,7 @@ func subscriptionPackageLabel(planCategory string) string {
case string(domain.SubscriptionCategoryDuolingo):
return "Duolingo"
default:
- return "Yimaru Academy"
+ return "Rezina"
}
}
diff --git a/internal/services/learnernotifications/subscription_test.go b/internal/services/learnernotifications/subscription_test.go
index 3e916692..b1c8d2bc 100644
--- a/internal/services/learnernotifications/subscription_test.go
+++ b/internal/services/learnernotifications/subscription_test.go
@@ -4,7 +4,7 @@ import (
"testing"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
func TestSubscriptionPackageLabel(t *testing.T) {
diff --git a/internal/services/lessons/service.go b/internal/services/lessons/service.go
index 541aae07..db429697 100644
--- a/internal/services/lessons/service.go
+++ b/internal/services/lessons/service.go
@@ -1,9 +1,9 @@
package lessons
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/modules"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/modules"
"context"
"errors"
diff --git a/internal/services/lmsprogress/admin_exam_prep_learning.go b/internal/services/lmsprogress/admin_exam_prep_learning.go
index 6945f66b..fa2866e1 100644
--- a/internal/services/lmsprogress/admin_exam_prep_learning.go
+++ b/internal/services/lmsprogress/admin_exam_prep_learning.go
@@ -3,8 +3,8 @@ package lmsprogress
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
)
// AdminUserExamPrepLearningActivityTree returns nested catalog course → unit → module → lesson → practice completions.
diff --git a/internal/services/lmsprogress/admin_learning_activity.go b/internal/services/lmsprogress/admin_learning_activity.go
index c0d7af57..508d4ec5 100644
--- a/internal/services/lmsprogress/admin_learning_activity.go
+++ b/internal/services/lmsprogress/admin_learning_activity.go
@@ -5,8 +5,8 @@ import (
"sort"
"time"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"github.com/jackc/pgx/v5/pgtype"
)
diff --git a/internal/services/lmsprogress/admin_recent_activity.go b/internal/services/lmsprogress/admin_recent_activity.go
index c539076c..d01e456e 100644
--- a/internal/services/lmsprogress/admin_recent_activity.go
+++ b/internal/services/lmsprogress/admin_recent_activity.go
@@ -8,10 +8,10 @@ import (
"github.com/jackc/pgx/v5"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
-const recentActivityJoinedHeadline = "Joined Yimaru"
+const recentActivityJoinedHeadline = "Joined Rezina"
func headlineLessonUnit(moduleSortOrder int32, lessonTitle string) string {
if moduleSortOrder > 0 && lessonTitle != "" {
diff --git a/internal/services/lmsprogress/service.go b/internal/services/lmsprogress/service.go
index 07a3055f..9b83f0fd 100644
--- a/internal/services/lmsprogress/service.go
+++ b/internal/services/lmsprogress/service.go
@@ -5,8 +5,8 @@ import (
"errors"
"math"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/repository"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/repository"
"github.com/jackc/pgx/v5"
)
diff --git a/internal/services/lmsprogress/service_test.go b/internal/services/lmsprogress/service_test.go
index b5380ee9..305631a7 100644
--- a/internal/services/lmsprogress/service_test.go
+++ b/internal/services/lmsprogress/service_test.go
@@ -3,7 +3,7 @@ package lmsprogress
import (
"testing"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
func TestLMSProgressCounts(t *testing.T) {
diff --git a/internal/services/messenger/email.go b/internal/services/messenger/email.go
index 7b9058bf..080e5849 100644
--- a/internal/services/messenger/email.go
+++ b/internal/services/messenger/email.go
@@ -12,7 +12,7 @@ func (s *Service) SendEmail(ctx context.Context, receiverEmail, message string,
func (s *Service) SendEmailWithAttachments(ctx context.Context, receiverEmail, message string, messageHTML string, subject string, attachments []*resend.Attachment) error {
apiKey := s.config.ResendApiKey
client := resend.NewClient(apiKey)
- formattedSenderEmail := "Yimaru - Academy <" + s.config.ResendSenderEmail + ">"
+ formattedSenderEmail := "Rezina - Academy <" + s.config.ResendSenderEmail + ">"
params := &resend.SendEmailRequest{
From: formattedSenderEmail,
To: []string{receiverEmail},
diff --git a/internal/services/messenger/service.go b/internal/services/messenger/service.go
index 3b315ee7..88fad92d 100644
--- a/internal/services/messenger/service.go
+++ b/internal/services/messenger/service.go
@@ -1,8 +1,8 @@
package messenger
import (
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/services/settings"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/services/settings"
)
type Service struct {
diff --git a/internal/services/minio/service.go b/internal/services/minio/service.go
index b4196e9f..f932b11b 100644
--- a/internal/services/minio/service.go
+++ b/internal/services/minio/service.go
@@ -1,7 +1,7 @@
package minio
import (
- minioclient "Yimaru-Backend/internal/pkgs/minio"
+ minioclient "Rezina-Backend/internal/pkgs/minio"
"context"
"errors"
"fmt"
diff --git a/internal/services/modules/service.go b/internal/services/modules/service.go
index 9fd69982..541e212b 100644
--- a/internal/services/modules/service.go
+++ b/internal/services/modules/service.go
@@ -1,9 +1,9 @@
package modules
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/courses"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/courses"
"context"
"errors"
diff --git a/internal/services/notification/recipients.go b/internal/services/notification/recipients.go
index 3d3b066c..88b3e64a 100644
--- a/internal/services/notification/recipients.go
+++ b/internal/services/notification/recipients.go
@@ -3,7 +3,7 @@ package notificationservice
import (
"context"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
const bulkRecipientLimit int32 = 100_000
diff --git a/internal/services/notification/service.go b/internal/services/notification/service.go
index 95c5a5f7..dad9328e 100644
--- a/internal/services/notification/service.go
+++ b/internal/services/notification/service.go
@@ -1,14 +1,14 @@
package notificationservice
import (
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/helpers"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/emailtemplates"
- "Yimaru-Backend/internal/services/messenger"
- "Yimaru-Backend/internal/services/user"
- "Yimaru-Backend/internal/web_server/ws"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/helpers"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/emailtemplates"
+ "Rezina-Backend/internal/services/messenger"
+ "Rezina-Backend/internal/services/user"
+ "Rezina-Backend/internal/web_server/ws"
"context"
"encoding/json"
"errors"
diff --git a/internal/services/notification/service_delete_test.go b/internal/services/notification/service_delete_test.go
index acfed8bd..08dea0dd 100644
--- a/internal/services/notification/service_delete_test.go
+++ b/internal/services/notification/service_delete_test.go
@@ -5,7 +5,7 @@ import (
"errors"
"testing"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/ports"
)
type deleteInAppStoreStub struct {
diff --git a/internal/services/notification/service_get_test.go b/internal/services/notification/service_get_test.go
index 5d5a1f38..258f7ffa 100644
--- a/internal/services/notification/service_get_test.go
+++ b/internal/services/notification/service_get_test.go
@@ -5,8 +5,8 @@ import (
"errors"
"testing"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"github.com/jackc/pgx/v5"
)
diff --git a/internal/services/personas/service.go b/internal/services/personas/service.go
index e0244e0b..14b988bc 100644
--- a/internal/services/personas/service.go
+++ b/internal/services/personas/service.go
@@ -5,8 +5,8 @@ import (
"errors"
"strings"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"github.com/jackc/pgx/v5"
)
diff --git a/internal/services/practicecontent/question_sync.go b/internal/services/practicecontent/question_sync.go
index 85833795..9a482121 100644
--- a/internal/services/practicecontent/question_sync.go
+++ b/internal/services/practicecontent/question_sync.go
@@ -1,7 +1,7 @@
package practicecontent
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"fmt"
"strings"
diff --git a/internal/services/practicecontent/service.go b/internal/services/practicecontent/service.go
index 4cf2bc40..4261e53f 100644
--- a/internal/services/practicecontent/service.go
+++ b/internal/services/practicecontent/service.go
@@ -1,8 +1,8 @@
package practicecontent
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"errors"
diff --git a/internal/services/practicecontent/service_test.go b/internal/services/practicecontent/service_test.go
index ae75a735..a14fa921 100644
--- a/internal/services/practicecontent/service_test.go
+++ b/internal/services/practicecontent/service_test.go
@@ -1,7 +1,7 @@
package practicecontent
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"testing"
)
diff --git a/internal/services/practicecontent/stimulus_sync.go b/internal/services/practicecontent/stimulus_sync.go
index 38af9423..46280531 100644
--- a/internal/services/practicecontent/stimulus_sync.go
+++ b/internal/services/practicecontent/stimulus_sync.go
@@ -1,7 +1,7 @@
package practicecontent
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"fmt"
)
diff --git a/internal/services/practices/service.go b/internal/services/practices/service.go
index 24342164..a8be62c5 100644
--- a/internal/services/practices/service.go
+++ b/internal/services/practices/service.go
@@ -1,11 +1,11 @@
package practices
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/lessons"
- "Yimaru-Backend/internal/services/modules"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/lessons"
+ "Rezina-Backend/internal/services/modules"
"context"
"errors"
diff --git a/internal/services/profilefieldoptions/service.go b/internal/services/profilefieldoptions/service.go
index 51678f92..fc115f13 100644
--- a/internal/services/profilefieldoptions/service.go
+++ b/internal/services/profilefieldoptions/service.go
@@ -1,8 +1,8 @@
package profilefieldoptions
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"fmt"
"regexp"
diff --git a/internal/services/programs/service.go b/internal/services/programs/service.go
index 9eabb99e..26e567bd 100644
--- a/internal/services/programs/service.go
+++ b/internal/services/programs/service.go
@@ -1,8 +1,8 @@
package programs
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"errors"
diff --git a/internal/services/questions/catalog_cache.go b/internal/services/questions/catalog_cache.go
index 7a47eb56..422e171b 100644
--- a/internal/services/questions/catalog_cache.go
+++ b/internal/services/questions/catalog_cache.go
@@ -1,7 +1,7 @@
package questions
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"sync"
"time"
diff --git a/internal/services/questions/service.go b/internal/services/questions/service.go
index 5b99c6ec..e03cd437 100644
--- a/internal/services/questions/service.go
+++ b/internal/services/questions/service.go
@@ -1,8 +1,8 @@
package questions
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"fmt"
)
diff --git a/internal/services/ratings/service.go b/internal/services/ratings/service.go
index 60da2c4b..0f1fc65a 100644
--- a/internal/services/ratings/service.go
+++ b/internal/services/ratings/service.go
@@ -1,8 +1,8 @@
package ratings
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"fmt"
)
diff --git a/internal/services/rbac/seeds.go b/internal/services/rbac/seeds.go
index 001a9d66..955763c5 100644
--- a/internal/services/rbac/seeds.go
+++ b/internal/services/rbac/seeds.go
@@ -1,6 +1,6 @@
package rbac
-import "Yimaru-Backend/internal/domain"
+import "Rezina-Backend/internal/domain"
var AllPermissions = []domain.PermissionSeed{
// Course Management - Categories
diff --git a/internal/services/rbac/service.go b/internal/services/rbac/service.go
index dce684d3..eead548d 100644
--- a/internal/services/rbac/service.go
+++ b/internal/services/rbac/service.go
@@ -1,8 +1,8 @@
package rbac
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"fmt"
"log/slog"
diff --git a/internal/services/recommendation/service.go b/internal/services/recommendation/service.go
index 97d7a5fd..6294350a 100644
--- a/internal/services/recommendation/service.go
+++ b/internal/services/recommendation/service.go
@@ -1,7 +1,7 @@
package recommendation
import (
- "Yimaru-Backend/internal/repository"
+ "Rezina-Backend/internal/repository"
"context"
"sort"
)
diff --git a/internal/services/settings/service.go b/internal/services/settings/service.go
index 9ddf5eee..77d68d88 100644
--- a/internal/services/settings/service.go
+++ b/internal/services/settings/service.go
@@ -1,8 +1,8 @@
package settings
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
)
diff --git a/internal/services/subscriptions/service.go b/internal/services/subscriptions/service.go
index c084e08f..a1db115c 100644
--- a/internal/services/subscriptions/service.go
+++ b/internal/services/subscriptions/service.go
@@ -1,9 +1,9 @@
package subscriptions
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/helpers"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/helpers"
+ "Rezina-Backend/internal/ports"
"context"
"errors"
"fmt"
diff --git a/internal/services/team/invite.go b/internal/services/team/invite.go
index 70bc8148..ce471d0b 100644
--- a/internal/services/team/invite.go
+++ b/internal/services/team/invite.go
@@ -1,8 +1,8 @@
package team
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/helpers"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/helpers"
"context"
"crypto/rand"
"encoding/base64"
@@ -306,15 +306,15 @@ func (s *Service) sendInvitationEmail(ctx context.Context, member domain.TeamMem
func (s *Service) resolveInviterName(ctx context.Context, invitedBy *int64) string {
if invitedBy == nil {
- return "Yimaru Academy"
+ return "Rezina"
}
inviter, err := s.teamStore.GetTeamMemberByID(ctx, *invitedBy)
if err != nil {
- return "Yimaru Academy"
+ return "Rezina"
}
name := strings.TrimSpace(inviter.FirstName + " " + inviter.LastName)
if name == "" {
- return "Yimaru Academy"
+ return "Rezina"
}
return name
}
diff --git a/internal/services/team/password_reset.go b/internal/services/team/password_reset.go
index 03c406af..9c171842 100644
--- a/internal/services/team/password_reset.go
+++ b/internal/services/team/password_reset.go
@@ -1,8 +1,8 @@
package team
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/helpers"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/helpers"
"context"
"crypto/subtle"
"fmt"
diff --git a/internal/services/team/roles.go b/internal/services/team/roles.go
index 714cfcf8..d965de9f 100644
--- a/internal/services/team/roles.go
+++ b/internal/services/team/roles.go
@@ -1,7 +1,7 @@
package team
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"errors"
"fmt"
diff --git a/internal/services/team/roles_test.go b/internal/services/team/roles_test.go
index 3d442912..22e37aad 100644
--- a/internal/services/team/roles_test.go
+++ b/internal/services/team/roles_test.go
@@ -1,7 +1,7 @@
package team
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"errors"
"strings"
diff --git a/internal/services/team/service.go b/internal/services/team/service.go
index d0be5c7f..b8673639 100644
--- a/internal/services/team/service.go
+++ b/internal/services/team/service.go
@@ -1,9 +1,9 @@
package team
import (
- "Yimaru-Backend/internal/ports"
- emailtemplates "Yimaru-Backend/internal/services/emailtemplates"
- "Yimaru-Backend/internal/services/messenger"
+ "Rezina-Backend/internal/ports"
+ emailtemplates "Rezina-Backend/internal/services/emailtemplates"
+ "Rezina-Backend/internal/services/messenger"
"strings"
"time"
)
diff --git a/internal/services/team/team.go b/internal/services/team/team.go
index 0dc05578..587d366d 100644
--- a/internal/services/team/team.go
+++ b/internal/services/team/team.go
@@ -4,7 +4,7 @@ import (
"context"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"golang.org/x/crypto/bcrypt"
)
diff --git a/internal/services/team/tokens.go b/internal/services/team/tokens.go
index b43a0b8a..c8122fdb 100644
--- a/internal/services/team/tokens.go
+++ b/internal/services/team/tokens.go
@@ -6,7 +6,7 @@ import (
"encoding/base32"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
func generateOpaqueRefreshToken() (string, error) {
diff --git a/internal/services/transaction/service.go b/internal/services/transaction/service.go
index 1f868cb4..79fec905 100644
--- a/internal/services/transaction/service.go
+++ b/internal/services/transaction/service.go
@@ -1,9 +1,9 @@
package transaction
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
- "Yimaru-Backend/internal/services/user"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
+ "Rezina-Backend/internal/services/user"
"context"
"errors"
)
diff --git a/internal/services/user/auth_status_cache.go b/internal/services/user/auth_status_cache.go
index b94ac6cf..f96c4d67 100644
--- a/internal/services/user/auth_status_cache.go
+++ b/internal/services/user/auth_status_cache.go
@@ -5,7 +5,7 @@ import (
"sync"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
const authStatusTTL = 45 * time.Second
diff --git a/internal/services/user/common.go b/internal/services/user/common.go
index 27e9ec05..e9d24a79 100644
--- a/internal/services/user/common.go
+++ b/internal/services/user/common.go
@@ -1,8 +1,8 @@
package user
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/helpers"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/helpers"
"context"
"fmt"
"time"
diff --git a/internal/services/user/direct.go b/internal/services/user/direct.go
index b01920f3..1d6beec3 100644
--- a/internal/services/user/direct.go
+++ b/internal/services/user/direct.go
@@ -1,7 +1,7 @@
package user
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"strings"
"time"
diff --git a/internal/services/user/email_templates.go b/internal/services/user/email_templates.go
index 69a231bd..013a84f8 100644
--- a/internal/services/user/email_templates.go
+++ b/internal/services/user/email_templates.go
@@ -1,7 +1,7 @@
package user
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"fmt"
"strings"
@@ -20,7 +20,7 @@ func (s *Service) renderOtpMessage(ctx context.Context, otpCode, firstName strin
func (s *Service) learnerLoginURL() string {
base := strings.TrimRight(strings.TrimSpace(s.config.LearnerAppBaseURL), "/")
if base == "" {
- return "https://app.yimaruacademy.com/login"
+ return "https://app.rezinaacademy.com/login"
}
if strings.HasSuffix(base, "/login") {
return base
diff --git a/internal/services/user/interface.go b/internal/services/user/interface.go
index 675d64df..74f2ffbf 100644
--- a/internal/services/user/interface.go
+++ b/internal/services/user/interface.go
@@ -1,8 +1,8 @@
package user
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
)
diff --git a/internal/services/user/register.go b/internal/services/user/register.go
index ec4e6756..09e1ebd1 100644
--- a/internal/services/user/register.go
+++ b/internal/services/user/register.go
@@ -1,7 +1,7 @@
package user
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"time"
)
diff --git a/internal/services/user/reset.go b/internal/services/user/reset.go
index 969b05d4..d90ba9c8 100644
--- a/internal/services/user/reset.go
+++ b/internal/services/user/reset.go
@@ -1,7 +1,7 @@
package user
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"crypto/subtle"
"errors"
diff --git a/internal/services/user/service.go b/internal/services/user/service.go
index 7e84bebc..de5e2a28 100644
--- a/internal/services/user/service.go
+++ b/internal/services/user/service.go
@@ -1,11 +1,11 @@
package user
import (
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/ports"
- emailtemplates "Yimaru-Backend/internal/services/emailtemplates"
- "Yimaru-Backend/internal/services/messenger"
- profilefieldoptions "Yimaru-Backend/internal/services/profilefieldoptions"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/ports"
+ emailtemplates "Rezina-Backend/internal/services/emailtemplates"
+ "Rezina-Backend/internal/services/messenger"
+ profilefieldoptions "Rezina-Backend/internal/services/profilefieldoptions"
"time"
)
diff --git a/internal/services/user/user.go b/internal/services/user/user.go
index 2572aa57..8edcd537 100644
--- a/internal/services/user/user.go
+++ b/internal/services/user/user.go
@@ -1,8 +1,8 @@
package user
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/ports"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/ports"
"context"
"strconv"
)
diff --git a/internal/services/videoengagement/service.go b/internal/services/videoengagement/service.go
index 74a482c0..2cbd03bc 100644
--- a/internal/services/videoengagement/service.go
+++ b/internal/services/videoengagement/service.go
@@ -3,8 +3,8 @@ package videoengagement
import (
"context"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/repository"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/repository"
)
type Service struct {
diff --git a/internal/services/vimeo/service.go b/internal/services/vimeo/service.go
index 47dfbc33..c8cae319 100644
--- a/internal/services/vimeo/service.go
+++ b/internal/services/vimeo/service.go
@@ -1,7 +1,7 @@
package vimeo
import (
- "Yimaru-Backend/internal/pkgs/vimeo"
+ "Rezina-Backend/internal/pkgs/vimeo"
"context"
"fmt"
"io"
diff --git a/internal/web_server/app.go b/internal/web_server/app.go
index be884ea9..11f35d7b 100644
--- a/internal/web_server/app.go
+++ b/internal/web_server/app.go
@@ -1,45 +1,45 @@
package httpserver
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/config"
- activitylogservice "Yimaru-Backend/internal/services/activity_log"
- "Yimaru-Backend/internal/services/appversions"
- "Yimaru-Backend/internal/services/arifpay"
- "Yimaru-Backend/internal/services/chapa"
- "Yimaru-Backend/internal/services/assessment"
- "Yimaru-Backend/internal/services/authentication"
- cloudconvertservice "Yimaru-Backend/internal/services/cloudconvert"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/emailtemplates"
- "Yimaru-Backend/internal/services/examprep"
- "Yimaru-Backend/internal/services/faqs"
- issuereporting "Yimaru-Backend/internal/services/issue_reporting"
- "Yimaru-Backend/internal/services/learnernotifications"
- "Yimaru-Backend/internal/services/lessons"
- "Yimaru-Backend/internal/services/lmsprogress"
- minioservice "Yimaru-Backend/internal/services/minio"
- "Yimaru-Backend/internal/services/modules"
- notificationservice "Yimaru-Backend/internal/services/notification"
- "Yimaru-Backend/internal/services/personas"
- practicecontentservice "Yimaru-Backend/internal/services/practicecontent"
- "Yimaru-Backend/internal/services/practices"
- profilefieldoptions "Yimaru-Backend/internal/services/profilefieldoptions"
- "Yimaru-Backend/internal/services/programs"
- "Yimaru-Backend/internal/services/questions"
- ratingsservice "Yimaru-Backend/internal/services/ratings"
- rbacservice "Yimaru-Backend/internal/services/rbac"
- "Yimaru-Backend/internal/services/recommendation"
- "Yimaru-Backend/internal/services/subscriptions"
- "Yimaru-Backend/internal/services/team"
- vimeoservice "Yimaru-Backend/internal/services/vimeo"
- "Yimaru-Backend/internal/services/videoengagement"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/config"
+ activitylogservice "Rezina-Backend/internal/services/activity_log"
+ "Rezina-Backend/internal/services/appversions"
+ "Rezina-Backend/internal/services/arifpay"
+ "Rezina-Backend/internal/services/chapa"
+ "Rezina-Backend/internal/services/assessment"
+ "Rezina-Backend/internal/services/authentication"
+ cloudconvertservice "Rezina-Backend/internal/services/cloudconvert"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/emailtemplates"
+ "Rezina-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/services/faqs"
+ issuereporting "Rezina-Backend/internal/services/issue_reporting"
+ "Rezina-Backend/internal/services/learnernotifications"
+ "Rezina-Backend/internal/services/lessons"
+ "Rezina-Backend/internal/services/lmsprogress"
+ minioservice "Rezina-Backend/internal/services/minio"
+ "Rezina-Backend/internal/services/modules"
+ notificationservice "Rezina-Backend/internal/services/notification"
+ "Rezina-Backend/internal/services/personas"
+ practicecontentservice "Rezina-Backend/internal/services/practicecontent"
+ "Rezina-Backend/internal/services/practices"
+ profilefieldoptions "Rezina-Backend/internal/services/profilefieldoptions"
+ "Rezina-Backend/internal/services/programs"
+ "Rezina-Backend/internal/services/questions"
+ ratingsservice "Rezina-Backend/internal/services/ratings"
+ rbacservice "Rezina-Backend/internal/services/rbac"
+ "Rezina-Backend/internal/services/recommendation"
+ "Rezina-Backend/internal/services/subscriptions"
+ "Rezina-Backend/internal/services/team"
+ vimeoservice "Rezina-Backend/internal/services/vimeo"
+ "Rezina-Backend/internal/services/videoengagement"
- "Yimaru-Backend/internal/services/settings"
- "Yimaru-Backend/internal/services/transaction"
- "Yimaru-Backend/internal/services/user"
- jwtutil "Yimaru-Backend/internal/web_server/jwt"
- customvalidator "Yimaru-Backend/internal/web_server/validator"
+ "Rezina-Backend/internal/services/settings"
+ "Rezina-Backend/internal/services/transaction"
+ "Rezina-Backend/internal/services/user"
+ jwtutil "Rezina-Backend/internal/web_server/jwt"
+ customvalidator "Rezina-Backend/internal/web_server/validator"
"context"
"fmt"
"log/slog"
diff --git a/internal/web_server/content_access_middleware.go b/internal/web_server/content_access_middleware.go
index 077f7081..b20b6180 100644
--- a/internal/web_server/content_access_middleware.go
+++ b/internal/web_server/content_access_middleware.go
@@ -3,12 +3,12 @@ package httpserver
import (
"context"
- "Yimaru-Backend/internal/domain"
- lessonsvc "Yimaru-Backend/internal/services/lessons"
- coursessvc "Yimaru-Backend/internal/services/courses"
- modulesvc "Yimaru-Backend/internal/services/modules"
- programssvc "Yimaru-Backend/internal/services/programs"
- practicessvc "Yimaru-Backend/internal/services/practices"
+ "Rezina-Backend/internal/domain"
+ lessonsvc "Rezina-Backend/internal/services/lessons"
+ coursessvc "Rezina-Backend/internal/services/courses"
+ modulesvc "Rezina-Backend/internal/services/modules"
+ programssvc "Rezina-Backend/internal/services/programs"
+ practicessvc "Rezina-Backend/internal/services/practices"
"errors"
"fmt"
"strings"
diff --git a/internal/web_server/fileurls/resolver_test.go b/internal/web_server/fileurls/resolver_test.go
index b35b83b0..caf4142a 100644
--- a/internal/web_server/fileurls/resolver_test.go
+++ b/internal/web_server/fileurls/resolver_test.go
@@ -42,8 +42,8 @@ func TestNeedsResolution(t *testing.T) {
func TestResolveMinIOReference(t *testing.T) {
provider := &stubURLProvider{
- bucket: "yimaru",
- url: "https://minio.example.com/yimaru/image/a.png?sig=1",
+ bucket: "rezina",
+ url: "https://minio.example.com/rezina/image/a.png?sig=1",
}
r := New(provider)
got := r.Resolve(context.Background(), "minio://image/a.png")
@@ -57,8 +57,8 @@ func TestResolveMinIOReference(t *testing.T) {
func TestResolveInJSON(t *testing.T) {
provider := &stubURLProvider{
- bucket: "yimaru",
- url: "https://minio.example.com/yimaru/image/a.png?sig=1",
+ bucket: "rezina",
+ url: "https://minio.example.com/rezina/image/a.png?sig=1",
}
r := New(provider)
raw := []byte(`{"data":{"profile_picture_url":"minio://image/a.png","reference":"minio://image/a.png","video_url":"https://player.vimeo.com/video/1"}}`)
diff --git a/internal/web_server/handlers/activity_log_actor.go b/internal/web_server/handlers/activity_log_actor.go
index ee673b0b..1efece1a 100644
--- a/internal/web_server/handlers/activity_log_actor.go
+++ b/internal/web_server/handlers/activity_log_actor.go
@@ -4,7 +4,7 @@ import (
"context"
"strings"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
)
type activityLogActorDisplay struct {
diff --git a/internal/web_server/handlers/activity_log_helper.go b/internal/web_server/handlers/activity_log_helper.go
index 94fbeaa0..fa22484c 100644
--- a/internal/web_server/handlers/activity_log_helper.go
+++ b/internal/web_server/handlers/activity_log_helper.go
@@ -4,7 +4,7 @@ import (
"context"
"encoding/json"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/activity_logs.go b/internal/web_server/handlers/activity_logs.go
index 482f85e1..a5a83e0b 100644
--- a/internal/web_server/handlers/activity_logs.go
+++ b/internal/web_server/handlers/activity_logs.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"strconv"
diff --git a/internal/web_server/handlers/admin.go b/internal/web_server/handlers/admin.go
index 13bb234a..623ce2c2 100644
--- a/internal/web_server/handlers/admin.go
+++ b/internal/web_server/handlers/admin.go
@@ -1,9 +1,9 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/authentication"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/authentication"
+ "Rezina-Backend/internal/web_server/response"
"context"
"encoding/json"
"errors"
@@ -139,7 +139,7 @@ func (h *Handler) CreateAdmin(c *fiber.Ctx) error {
meta, _ := json.Marshal(map[string]interface{}{"email": req.Email, "admin_id": newUser.ID})
go h.activityLogSvc.RecordAction(context.Background(), &actorID, &actorRole, domain.ActionAdminCreated, domain.ResourceAdmin, &newUser.ID, "Created admin: "+req.Email, meta, &ip, &ua)
- h.sendInAppNotification(newUser.ID, domain.NOTIFICATION_TYPE_ADMIN_CREATED, "Welcome to Yimaru", "Your admin account has been created successfully.")
+ h.sendInAppNotification(newUser.ID, domain.NOTIFICATION_TYPE_ADMIN_CREATED, "Welcome to Rezina", "Your admin account has been created successfully.")
return response.WriteJSON(c, fiber.StatusOK, "Admin created successfully", nil, nil)
}
diff --git a/internal/web_server/handlers/admin_export.go b/internal/web_server/handlers/admin_export.go
index dff6a427..5c60adc5 100644
--- a/internal/web_server/handlers/admin_export.go
+++ b/internal/web_server/handlers/admin_export.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/web_server/response"
"context"
"encoding/json"
"fmt"
diff --git a/internal/web_server/handlers/admin_subscription_handler.go b/internal/web_server/handlers/admin_subscription_handler.go
index 83120f4f..36634a70 100644
--- a/internal/web_server/handlers/admin_subscription_handler.go
+++ b/internal/web_server/handlers/admin_subscription_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- subscriptionsvc "Yimaru-Backend/internal/services/subscriptions"
+ "Rezina-Backend/internal/domain"
+ subscriptionsvc "Rezina-Backend/internal/services/subscriptions"
"encoding/json"
"errors"
"fmt"
diff --git a/internal/web_server/handlers/admin_user_detail_handler.go b/internal/web_server/handlers/admin_user_detail_handler.go
index f9ea479e..af6fdb3a 100644
--- a/internal/web_server/handlers/admin_user_detail_handler.go
+++ b/internal/web_server/handlers/admin_user_detail_handler.go
@@ -5,8 +5,8 @@ import (
"errors"
"strconv"
- "Yimaru-Backend/internal/domain"
- lmsprogress "Yimaru-Backend/internal/services/lmsprogress"
+ "Rezina-Backend/internal/domain"
+ lmsprogress "Rezina-Backend/internal/services/lmsprogress"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/analytics_field_normalize.go b/internal/web_server/handlers/analytics_field_normalize.go
index 5cfb492e..ebf2cbd1 100644
--- a/internal/web_server/handlers/analytics_field_normalize.go
+++ b/internal/web_server/handlers/analytics_field_normalize.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"sort"
"strings"
diff --git a/internal/web_server/handlers/analytics_field_normalize_test.go b/internal/web_server/handlers/analytics_field_normalize_test.go
index a82bbc0b..881964cd 100644
--- a/internal/web_server/handlers/analytics_field_normalize_test.go
+++ b/internal/web_server/handlers/analytics_field_normalize_test.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"testing"
)
diff --git a/internal/web_server/handlers/analytics_handler.go b/internal/web_server/handlers/analytics_handler.go
index 02f020a8..c74ad83d 100644
--- a/internal/web_server/handlers/analytics_handler.go
+++ b/internal/web_server/handlers/analytics_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"time"
"github.com/gofiber/fiber/v2"
diff --git a/internal/web_server/handlers/analytics_params.go b/internal/web_server/handlers/analytics_params.go
index b18f580b..3bf121fe 100644
--- a/internal/web_server/handlers/analytics_params.go
+++ b/internal/web_server/handlers/analytics_params.go
@@ -1,8 +1,8 @@
package handlers
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
"time"
"github.com/jackc/pgx/v5/pgtype"
diff --git a/internal/web_server/handlers/arifpay.go b/internal/web_server/handlers/arifpay.go
index addc9f62..1864a1d1 100644
--- a/internal/web_server/handlers/arifpay.go
+++ b/internal/web_server/handlers/arifpay.go
@@ -6,8 +6,8 @@ import (
"errors"
"fmt"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/chapa"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/chapa"
"strconv"
"github.com/gofiber/fiber/v2"
@@ -326,7 +326,7 @@ func paymentInitiationStatus(err error) int {
// HandleArifpaySuccessPage godoc
// @Summary ArifPay payment success page
-// @Description Displays the Yimaru Academy success page after ArifPay redirects the learner back to the backend.
+// @Description Displays the Rezina success page after ArifPay redirects the learner back to the backend.
// @Tags payments
// @Produce html
// @Param session_id query string false "ArifPay session identifier"
@@ -349,21 +349,21 @@ func (h *Handler) HandleArifpaySuccessPage(c *fiber.Ctx) error {
if err != nil {
h.logger.Warn("Failed to verify ArifPay success redirect", "error", err, "ref", ref)
page.Body = "Thank you for your payment. We are confirming it with ArifPay and will activate your subscription shortly."
- page.Helper = "You can safely return to Yimaru Academy. If activation takes longer than expected, refresh the app in a moment."
+ page.Helper = "You can safely return to Rezina. If activation takes longer than expected, refresh the app in a moment."
page.Reference = ref
} else {
page.Reference = ref
page.PlanName = derefString(payment.PlanName)
if payment.Status == string(domain.PaymentStatusSuccess) {
page.StatusLabel = "Subscription active"
- page.Body = "Your Yimaru Academy subscription is active. You now have access to your learning content."
+ page.Body = "Your Rezina subscription is active. You now have access to your learning content."
} else {
page.Body = "Thank you for your payment. We received your success redirect and are finalizing subscription activation."
page.StatusLabel = "Processing confirmation"
}
}
} else {
- page.Helper = "Return to Yimaru Academy and refresh your subscription status if you do not see access immediately."
+ page.Helper = "Return to Rezina and refresh your subscription status if you do not see access immediately."
}
html, err := renderPaymentSuccessPage(page)
diff --git a/internal/web_server/handlers/auth_handler.go b/internal/web_server/handlers/auth_handler.go
index 2b3b35de..1b85ff7e 100644
--- a/internal/web_server/handlers/auth_handler.go
+++ b/internal/web_server/handlers/auth_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/authentication"
- jwtutil "Yimaru-Backend/internal/web_server/jwt"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/authentication"
+ jwtutil "Rezina-Backend/internal/web_server/jwt"
+ "Rezina-Backend/internal/web_server/response"
"errors"
"fmt"
"time"
diff --git a/internal/web_server/handlers/chapa.go b/internal/web_server/handlers/chapa.go
index 39bd2f75..c09ee403 100644
--- a/internal/web_server/handlers/chapa.go
+++ b/internal/web_server/handlers/chapa.go
@@ -5,8 +5,8 @@ import (
"errors"
"fmt"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/chapa"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/chapa"
"github.com/gofiber/fiber/v2"
)
@@ -118,7 +118,7 @@ func (h *Handler) HandleChapaCallback(c *fiber.Ctx) error {
// HandleChapaSuccessPage godoc
// @Summary Chapa payment success page
-// @Description Displays the Yimaru Academy success page after Chapa redirects the learner to return_url
+// @Description Displays the Rezina success page after Chapa redirects the learner to return_url
// @Tags payments
// @Produce html
// @Param trx_ref query string false "Chapa transaction reference (tx_ref)"
@@ -141,21 +141,21 @@ func (h *Handler) HandleChapaSuccessPage(c *fiber.Ctx) error {
if err != nil {
h.logger.Warn("Failed to verify Chapa success redirect", "error", err, "tx_ref", txRef)
page.Body = "Thank you for your payment. We are confirming it with Chapa and will activate your subscription shortly."
- page.Helper = "You can safely return to Yimaru Academy. If activation takes longer than expected, refresh the app in a moment."
+ page.Helper = "You can safely return to Rezina. If activation takes longer than expected, refresh the app in a moment."
page.Reference = txRef
} else {
page.Reference = txRef
page.PlanName = derefString(payment.PlanName)
if payment.Status == string(domain.PaymentStatusSuccess) {
page.StatusLabel = "Subscription active"
- page.Body = "Your Yimaru Academy subscription is active. You now have access to your learning content."
+ page.Body = "Your Rezina subscription is active. You now have access to your learning content."
} else {
page.Body = "Thank you for your payment. We received your success redirect and are finalizing subscription activation."
page.StatusLabel = "Processing confirmation"
}
}
} else {
- page.Helper = "Return to Yimaru Academy and refresh your subscription status if you do not see access immediately."
+ page.Helper = "Return to Rezina and refresh your subscription status if you do not see access immediately."
}
html, err := renderPaymentSuccessPage(page)
diff --git a/internal/web_server/handlers/chapa_direct.go b/internal/web_server/handlers/chapa_direct.go
index eddecb57..996a62ed 100644
--- a/internal/web_server/handlers/chapa_direct.go
+++ b/internal/web_server/handlers/chapa_direct.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/chapa"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/chapa"
"errors"
"fmt"
diff --git a/internal/web_server/handlers/content_access_gate.go b/internal/web_server/handlers/content_access_gate.go
index 7a90b4f0..c82303e4 100644
--- a/internal/web_server/handlers/content_access_gate.go
+++ b/internal/web_server/handlers/content_access_gate.go
@@ -3,11 +3,11 @@ package handlers
import (
"context"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/examprep"
- "Yimaru-Backend/internal/services/modules"
- "Yimaru-Backend/internal/services/programs"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/services/modules"
+ "Rezina-Backend/internal/services/programs"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/content_publish_gate.go b/internal/web_server/handlers/content_publish_gate.go
index d4a84153..ca9a9982 100644
--- a/internal/web_server/handlers/content_publish_gate.go
+++ b/internal/web_server/handlers/content_publish_gate.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/course_handler.go b/internal/web_server/handlers/course_handler.go
index 8781cbab..4a770650 100644
--- a/internal/web_server/handlers/course_handler.go
+++ b/internal/web_server/handlers/course_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/programs"
- lmsprogress "Yimaru-Backend/internal/services/lmsprogress"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/programs"
+ lmsprogress "Rezina-Backend/internal/services/lmsprogress"
"context"
"errors"
"strconv"
diff --git a/internal/web_server/handlers/email_template.go b/internal/web_server/handlers/email_template.go
index 67a9db19..0b623d32 100644
--- a/internal/web_server/handlers/email_template.go
+++ b/internal/web_server/handlers/email_template.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/exam_prep_catalog_course_handler.go b/internal/web_server/handlers/exam_prep_catalog_course_handler.go
index 7aedf278..944e9603 100644
--- a/internal/web_server/handlers/exam_prep_catalog_course_handler.go
+++ b/internal/web_server/handlers/exam_prep_catalog_course_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/examprep"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/exam_prep_lesson_handler.go b/internal/web_server/handlers/exam_prep_lesson_handler.go
index 53635b7a..5cd2b816 100644
--- a/internal/web_server/handlers/exam_prep_lesson_handler.go
+++ b/internal/web_server/handlers/exam_prep_lesson_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/examprep"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/exam_prep_module_handler.go b/internal/web_server/handlers/exam_prep_module_handler.go
index 6343263f..a4f10850 100644
--- a/internal/web_server/handlers/exam_prep_module_handler.go
+++ b/internal/web_server/handlers/exam_prep_module_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/examprep"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/exam_prep_practice_handler.go b/internal/web_server/handlers/exam_prep_practice_handler.go
index ff13f319..90377c1d 100644
--- a/internal/web_server/handlers/exam_prep_practice_handler.go
+++ b/internal/web_server/handlers/exam_prep_practice_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/examprep"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/exam_prep_progress_helper.go b/internal/web_server/handlers/exam_prep_progress_helper.go
index 6b2c9d5f..9c22fecc 100644
--- a/internal/web_server/handlers/exam_prep_progress_helper.go
+++ b/internal/web_server/handlers/exam_prep_progress_helper.go
@@ -3,7 +3,7 @@ package handlers
import (
"context"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/exam_prep_unit_handler.go b/internal/web_server/handlers/exam_prep_unit_handler.go
index 1938baf2..a32ff4e2 100644
--- a/internal/web_server/handlers/exam_prep_unit_handler.go
+++ b/internal/web_server/handlers/exam_prep_unit_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/examprep"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/export_filters.go b/internal/web_server/handlers/export_filters.go
index ed7daeb5..59b61b2d 100644
--- a/internal/web_server/handlers/export_filters.go
+++ b/internal/web_server/handlers/export_filters.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"fmt"
"strconv"
"strings"
diff --git a/internal/web_server/handlers/faq.go b/internal/web_server/handlers/faq.go
index 6c67f4a7..996a1cb9 100644
--- a/internal/web_server/handlers/faq.go
+++ b/internal/web_server/handlers/faq.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/field_option.go b/internal/web_server/handlers/field_option.go
index c0c8d110..5cd24d14 100644
--- a/internal/web_server/handlers/field_option.go
+++ b/internal/web_server/handlers/field_option.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/file_handler.go b/internal/web_server/handlers/file_handler.go
index c2e649ca..aba14d16 100644
--- a/internal/web_server/handlers/file_handler.go
+++ b/internal/web_server/handlers/file_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/domain"
- minioservice "Yimaru-Backend/internal/services/minio"
- "Yimaru-Backend/internal/web_server/fileurls"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/domain"
+ minioservice "Rezina-Backend/internal/services/minio"
+ "Rezina-Backend/internal/web_server/fileurls"
"bytes"
"encoding/json"
"errors"
diff --git a/internal/web_server/handlers/handlers.go b/internal/web_server/handlers/handlers.go
index 1b202e39..9f733747 100644
--- a/internal/web_server/handlers/handlers.go
+++ b/internal/web_server/handlers/handlers.go
@@ -3,49 +3,49 @@ package handlers
import (
"context"
- dbgen "Yimaru-Backend/gen/db"
- "Yimaru-Backend/internal/config"
- "Yimaru-Backend/internal/domain"
- activitylogservice "Yimaru-Backend/internal/services/activity_log"
- "Yimaru-Backend/internal/services/appversions"
- "Yimaru-Backend/internal/services/arifpay"
- "Yimaru-Backend/internal/services/chapa"
- "Yimaru-Backend/internal/services/assessment"
- "Yimaru-Backend/internal/services/authentication"
- cloudconvertservice "Yimaru-Backend/internal/services/cloudconvert"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/emailtemplates"
- "Yimaru-Backend/internal/services/examprep"
- "Yimaru-Backend/internal/services/faqs"
- issuereporting "Yimaru-Backend/internal/services/issue_reporting"
- "Yimaru-Backend/internal/services/learnernotifications"
- "Yimaru-Backend/internal/services/lessons"
- "Yimaru-Backend/internal/services/lmsprogress"
- minioservice "Yimaru-Backend/internal/services/minio"
- "Yimaru-Backend/internal/services/modules"
- notificationservice "Yimaru-Backend/internal/services/notification"
- "Yimaru-Backend/internal/services/personas"
- practicecontentservice "Yimaru-Backend/internal/services/practicecontent"
- "Yimaru-Backend/internal/services/practices"
- profilefieldoptions "Yimaru-Backend/internal/services/profilefieldoptions"
- "Yimaru-Backend/internal/services/programs"
- "Yimaru-Backend/internal/services/questions"
- ratingsservice "Yimaru-Backend/internal/services/ratings"
- rbacservice "Yimaru-Backend/internal/services/rbac"
- "Yimaru-Backend/internal/services/recommendation"
- "Yimaru-Backend/internal/services/subscriptions"
- "Yimaru-Backend/internal/services/team"
- vimeoservice "Yimaru-Backend/internal/services/vimeo"
- "Yimaru-Backend/internal/services/videoengagement"
+ dbgen "Rezina-Backend/gen/db"
+ "Rezina-Backend/internal/config"
+ "Rezina-Backend/internal/domain"
+ activitylogservice "Rezina-Backend/internal/services/activity_log"
+ "Rezina-Backend/internal/services/appversions"
+ "Rezina-Backend/internal/services/arifpay"
+ "Rezina-Backend/internal/services/chapa"
+ "Rezina-Backend/internal/services/assessment"
+ "Rezina-Backend/internal/services/authentication"
+ cloudconvertservice "Rezina-Backend/internal/services/cloudconvert"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/emailtemplates"
+ "Rezina-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/services/faqs"
+ issuereporting "Rezina-Backend/internal/services/issue_reporting"
+ "Rezina-Backend/internal/services/learnernotifications"
+ "Rezina-Backend/internal/services/lessons"
+ "Rezina-Backend/internal/services/lmsprogress"
+ minioservice "Rezina-Backend/internal/services/minio"
+ "Rezina-Backend/internal/services/modules"
+ notificationservice "Rezina-Backend/internal/services/notification"
+ "Rezina-Backend/internal/services/personas"
+ practicecontentservice "Rezina-Backend/internal/services/practicecontent"
+ "Rezina-Backend/internal/services/practices"
+ profilefieldoptions "Rezina-Backend/internal/services/profilefieldoptions"
+ "Rezina-Backend/internal/services/programs"
+ "Rezina-Backend/internal/services/questions"
+ ratingsservice "Rezina-Backend/internal/services/ratings"
+ rbacservice "Rezina-Backend/internal/services/rbac"
+ "Rezina-Backend/internal/services/recommendation"
+ "Rezina-Backend/internal/services/subscriptions"
+ "Rezina-Backend/internal/services/team"
+ vimeoservice "Rezina-Backend/internal/services/vimeo"
+ "Rezina-Backend/internal/services/videoengagement"
- // referralservice "Yimaru-Backend/internal/services/referal"
+ // referralservice "Rezina-Backend/internal/services/referal"
- "Yimaru-Backend/internal/services/settings"
+ "Rezina-Backend/internal/services/settings"
- "Yimaru-Backend/internal/services/transaction"
- "Yimaru-Backend/internal/services/user"
- jwtutil "Yimaru-Backend/internal/web_server/jwt"
- customvalidator "Yimaru-Backend/internal/web_server/validator"
+ "Rezina-Backend/internal/services/transaction"
+ "Rezina-Backend/internal/services/user"
+ jwtutil "Rezina-Backend/internal/web_server/jwt"
+ customvalidator "Rezina-Backend/internal/web_server/validator"
"log/slog"
"go.uber.org/zap"
diff --git a/internal/web_server/handlers/initial_assessment.go b/internal/web_server/handlers/initial_assessment.go
index 81ae93da..30a0dd1b 100644
--- a/internal/web_server/handlers/initial_assessment.go
+++ b/internal/web_server/handlers/initial_assessment.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/assessment"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/assessment"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/issue_reporting.go b/internal/web_server/handlers/issue_reporting.go
index be761ade..e56caabb 100644
--- a/internal/web_server/handlers/issue_reporting.go
+++ b/internal/web_server/handlers/issue_reporting.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"fmt"
diff --git a/internal/web_server/handlers/lesson_handler.go b/internal/web_server/handlers/lesson_handler.go
index a40c5c1e..89090c36 100644
--- a/internal/web_server/handlers/lesson_handler.go
+++ b/internal/web_server/handlers/lesson_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/lessons"
- "Yimaru-Backend/internal/services/modules"
- lmsprogress "Yimaru-Backend/internal/services/lmsprogress"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/lessons"
+ "Rezina-Backend/internal/services/modules"
+ lmsprogress "Rezina-Backend/internal/services/lmsprogress"
"context"
"errors"
"fmt"
diff --git a/internal/web_server/handlers/lms_persona_handler.go b/internal/web_server/handlers/lms_persona_handler.go
index 06fd3c9b..b928b787 100644
--- a/internal/web_server/handlers/lms_persona_handler.go
+++ b/internal/web_server/handlers/lms_persona_handler.go
@@ -1,9 +1,9 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
- personasservice "Yimaru-Backend/internal/services/personas"
+ personasservice "Rezina-Backend/internal/services/personas"
"fmt"
"strconv"
"strings"
diff --git a/internal/web_server/handlers/lms_progress_handler.go b/internal/web_server/handlers/lms_progress_handler.go
index a8d24eb7..fcf17a9e 100644
--- a/internal/web_server/handlers/lms_progress_handler.go
+++ b/internal/web_server/handlers/lms_progress_handler.go
@@ -5,8 +5,8 @@ import (
"errors"
"strconv"
- "Yimaru-Backend/internal/domain"
- lmsprogress "Yimaru-Backend/internal/services/lmsprogress"
+ "Rezina-Backend/internal/domain"
+ lmsprogress "Rezina-Backend/internal/services/lmsprogress"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/lms_reorder_handler.go b/internal/web_server/handlers/lms_reorder_handler.go
index a8396e4d..d32cef07 100644
--- a/internal/web_server/handlers/lms_reorder_handler.go
+++ b/internal/web_server/handlers/lms_reorder_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/modules"
- "Yimaru-Backend/internal/services/programs"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/modules"
+ "Rezina-Backend/internal/services/programs"
"context"
"errors"
"strconv"
diff --git a/internal/web_server/handlers/media_source_fetcher.go b/internal/web_server/handlers/media_source_fetcher.go
index 6ed21bd1..eafde6cd 100644
--- a/internal/web_server/handlers/media_source_fetcher.go
+++ b/internal/web_server/handlers/media_source_fetcher.go
@@ -1,7 +1,7 @@
package handlers
import (
- vimeopkg "Yimaru-Backend/internal/pkgs/vimeo"
+ vimeopkg "Rezina-Backend/internal/pkgs/vimeo"
"context"
"encoding/json"
"fmt"
@@ -75,7 +75,7 @@ func resolveVimeoDirectFileURL(vimeoURL string) (string, error) {
return "", fmt.Errorf("failed to build Vimeo config request: %w", err)
}
req.Header.Set("Accept", "application/json")
- req.Header.Set("User-Agent", "Yimaru-Backend/1.0")
+ req.Header.Set("User-Agent", "Rezina-Backend/1.0")
client := &http.Client{Timeout: 30 * time.Second}
resp, err := client.Do(req)
@@ -124,7 +124,7 @@ func fetchMediaFromSourceURL(ctx context.Context, rawSourceURL string, mediaType
if err != nil {
return nil, fmt.Errorf("failed to create source request: %w", err)
}
- req.Header.Set("User-Agent", "Yimaru-Backend/1.0")
+ req.Header.Set("User-Agent", "Rezina-Backend/1.0")
req.Header.Set("Accept", "*/*")
client := &http.Client{
diff --git a/internal/web_server/handlers/mobile_app_version_handler.go b/internal/web_server/handlers/mobile_app_version_handler.go
index f903793a..d1a9b33a 100644
--- a/internal/web_server/handlers/mobile_app_version_handler.go
+++ b/internal/web_server/handlers/mobile_app_version_handler.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/module_handler.go b/internal/web_server/handlers/module_handler.go
index 283744fd..542200d4 100644
--- a/internal/web_server/handlers/module_handler.go
+++ b/internal/web_server/handlers/module_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/modules"
- lmsprogress "Yimaru-Backend/internal/services/lmsprogress"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/modules"
+ lmsprogress "Rezina-Backend/internal/services/lmsprogress"
"context"
"errors"
"strconv"
diff --git a/internal/web_server/handlers/mongoLogger.go b/internal/web_server/handlers/mongoLogger.go
index 39593d34..04456329 100644
--- a/internal/web_server/handlers/mongoLogger.go
+++ b/internal/web_server/handlers/mongoLogger.go
@@ -4,7 +4,7 @@ import (
"context"
"os"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
"go.mongodb.org/mongo-driver/bson"
"go.mongodb.org/mongo-driver/mongo"
diff --git a/internal/web_server/handlers/notification_handler.go b/internal/web_server/handlers/notification_handler.go
index c4da8515..e3a89bb5 100644
--- a/internal/web_server/handlers/notification_handler.go
+++ b/internal/web_server/handlers/notification_handler.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/helpers"
- notificationservice "Yimaru-Backend/internal/services/notification"
- "Yimaru-Backend/internal/web_server/ws"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/helpers"
+ notificationservice "Rezina-Backend/internal/services/notification"
+ "Rezina-Backend/internal/web_server/ws"
"bufio"
"context"
"encoding/json"
@@ -955,7 +955,7 @@ func (h *Handler) RegisterDeviceToken(c *fiber.Ctx) error {
// @Router /api/v1/notifications/test-push [post]
func (h *Handler) SendTestPushNotification(c *fiber.Ctx) error {
title := c.FormValue("title", "Test Push Notification")
- message := c.FormValue("message", "This is a test push notification from Yimaru Backend")
+ message := c.FormValue("message", "This is a test push notification from Rezina")
h.mongoLoggerSvc.Info("notification test-push diagnostics",
zap.Bool("fcm_credentials_configured", strings.TrimSpace(h.Cfg.FCMServiceAccountKey) != ""),
zap.Int("fcm_service_account_json_len", len(strings.TrimSpace(h.Cfg.FCMServiceAccountKey))),
diff --git a/internal/web_server/handlers/outbound_email_form.go b/internal/web_server/handlers/outbound_email_form.go
index 2045c64e..de786bb0 100644
--- a/internal/web_server/handlers/outbound_email_form.go
+++ b/internal/web_server/handlers/outbound_email_form.go
@@ -4,7 +4,7 @@ import (
"encoding/json"
"strings"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/payment_success_page.go b/internal/web_server/handlers/payment_success_page.go
index 475bd052..40c95f14 100644
--- a/internal/web_server/handlers/payment_success_page.go
+++ b/internal/web_server/handlers/payment_success_page.go
@@ -34,7 +34,7 @@ func renderPaymentSuccessPage(data paymentSuccessPageData) (string, error) {
|
|
{{.BadgeLabel}}
- Yimaru Academy
+ Rezina
{{.Headline}}
|
@@ -60,7 +60,7 @@ func renderPaymentSuccessPage(data paymentSuccessPageData) (string, error) {
|
- Yimaru Academy subscription payments are verified securely before access is granted.
+ Rezina subscription payments are verified securely before access is granted.
|
@@ -84,8 +84,8 @@ func renderPaymentSuccessPage(data paymentSuccessPageData) (string, error) {
func defaultPaymentSuccessPage() paymentSuccessPageData {
return paymentSuccessPageData{
Title: "Subscription Payment Successful",
- Headline: "Your Yimaru Academy payment was received",
- Body: "Thank you for your payment. Your subscription is being activated and you can return to Yimaru Academy shortly.",
+ Headline: "Your Rezina payment was received",
+ Body: "Thank you for your payment. Your subscription is being activated and you can return to Rezina shortly.",
BadgeLabel: "Payment successful",
StatusLabel: "Activation in progress",
ActionLabel: "Continue learning",
diff --git a/internal/web_server/handlers/payments_admin.go b/internal/web_server/handlers/payments_admin.go
index 04a309b7..abf9ad98 100644
--- a/internal/web_server/handlers/payments_admin.go
+++ b/internal/web_server/handlers/payments_admin.go
@@ -6,8 +6,8 @@ import (
"strconv"
"time"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/chapa"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/chapa"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/practice_full_update_handler.go b/internal/web_server/handlers/practice_full_update_handler.go
index 340bbe0d..9f1cfd4d 100644
--- a/internal/web_server/handlers/practice_full_update_handler.go
+++ b/internal/web_server/handlers/practice_full_update_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/practicecontent"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/practicecontent"
"context"
"encoding/json"
"errors"
diff --git a/internal/web_server/handlers/practice_handler.go b/internal/web_server/handlers/practice_handler.go
index b0c5def7..a64ecfe0 100644
--- a/internal/web_server/handlers/practice_handler.go
+++ b/internal/web_server/handlers/practice_handler.go
@@ -1,11 +1,11 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/courses"
- "Yimaru-Backend/internal/services/lessons"
- "Yimaru-Backend/internal/services/modules"
- "Yimaru-Backend/internal/services/practices"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/courses"
+ "Rezina-Backend/internal/services/lessons"
+ "Rezina-Backend/internal/services/modules"
+ "Rezina-Backend/internal/services/practices"
"context"
"errors"
"strconv"
diff --git a/internal/web_server/handlers/practice_publish_gate.go b/internal/web_server/handlers/practice_publish_gate.go
index eb3b9266..227387f1 100644
--- a/internal/web_server/handlers/practice_publish_gate.go
+++ b/internal/web_server/handlers/practice_publish_gate.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/program_handler.go b/internal/web_server/handlers/program_handler.go
index 02125565..a47254b7 100644
--- a/internal/web_server/handlers/program_handler.go
+++ b/internal/web_server/handlers/program_handler.go
@@ -1,9 +1,9 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/programs"
- lmsprogress "Yimaru-Backend/internal/services/lmsprogress"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/programs"
+ lmsprogress "Rezina-Backend/internal/services/lmsprogress"
"context"
"errors"
"strconv"
diff --git a/internal/web_server/handlers/question_type_builder.go b/internal/web_server/handlers/question_type_builder.go
index 5e058498..b105bfe2 100644
--- a/internal/web_server/handlers/question_type_builder.go
+++ b/internal/web_server/handlers/question_type_builder.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"encoding/json"
"errors"
"fmt"
diff --git a/internal/web_server/handlers/questions.go b/internal/web_server/handlers/questions.go
index 6706d0ba..fa31b5cb 100644
--- a/internal/web_server/handlers/questions.go
+++ b/internal/web_server/handlers/questions.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"errors"
diff --git a/internal/web_server/handlers/ratings.go b/internal/web_server/handlers/ratings.go
index ffa8a571..43b971bc 100644
--- a/internal/web_server/handlers/ratings.go
+++ b/internal/web_server/handlers/ratings.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"fmt"
"strconv"
diff --git a/internal/web_server/handlers/rbac_handler.go b/internal/web_server/handlers/rbac_handler.go
index ed730033..1f81ea26 100644
--- a/internal/web_server/handlers/rbac_handler.go
+++ b/internal/web_server/handlers/rbac_handler.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"fmt"
diff --git a/internal/web_server/handlers/referal_handlers.go b/internal/web_server/handlers/referal_handlers.go
index ded291aa..5334095b 100644
--- a/internal/web_server/handlers/referal_handlers.go
+++ b/internal/web_server/handlers/referal_handlers.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/web_server/response"
"fmt"
"time"
diff --git a/internal/web_server/handlers/settings_handler.go b/internal/web_server/handlers/settings_handler.go
index 5649bf15..84221bcf 100644
--- a/internal/web_server/handlers/settings_handler.go
+++ b/internal/web_server/handlers/settings_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/web_server/response"
"context"
"encoding/json"
"fmt"
diff --git a/internal/web_server/handlers/subscription_checkout_link.go b/internal/web_server/handlers/subscription_checkout_link.go
index b1d99a35..df1e0159 100644
--- a/internal/web_server/handlers/subscription_checkout_link.go
+++ b/internal/web_server/handlers/subscription_checkout_link.go
@@ -7,7 +7,7 @@ import (
"strings"
"time"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
@@ -198,16 +198,16 @@ func (h *Handler) enforceCheckoutLinkRateLimit(c *fiber.Ctx, userID int64) error
}
func (h *Handler) deliverCheckoutLink(c *fiber.Ctx, channel domain.CheckoutLinkDeliveryChannel, destination, checkoutURL string) error {
- subject := "Complete your Yimaru Academy subscription"
+ subject := "Complete your Rezina subscription"
text := fmt.Sprintf(
- "Complete your Yimaru Academy subscription here:\n\n%s\n\nAfter payment, open the mobile app and sign in with this account.",
+ "Complete your Rezina subscription here:\n\n%s\n\nAfter payment, open the mobile app and sign in with this account.",
checkoutURL,
)
html := fmt.Sprintf(
- `Complete your Yimaru Academy subscription using the link below: Subscribe now After payment, open the mobile app and sign in with this account. `,
+ `Complete your Rezina subscription using the link below: Subscribe now After payment, open the mobile app and sign in with this account. `,
checkoutURL,
)
- sms := fmt.Sprintf("Complete your Yimaru Academy subscription: %s", checkoutURL)
+ sms := fmt.Sprintf("Complete your Rezina subscription: %s", checkoutURL)
ctx := c.Context()
messenger := h.notificationSvc.MessengerSvc()
diff --git a/internal/web_server/handlers/subscriptions.go b/internal/web_server/handlers/subscriptions.go
index 38e0dc9a..1d0c5e61 100644
--- a/internal/web_server/handlers/subscriptions.go
+++ b/internal/web_server/handlers/subscriptions.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- subscriptionsvc "Yimaru-Backend/internal/services/subscriptions"
+ "Rezina-Backend/internal/domain"
+ subscriptionsvc "Rezina-Backend/internal/services/subscriptions"
"context"
"encoding/json"
"errors"
diff --git a/internal/web_server/handlers/team_handler.go b/internal/web_server/handlers/team_handler.go
index 6394b988..459fb66c 100644
--- a/internal/web_server/handlers/team_handler.go
+++ b/internal/web_server/handlers/team_handler.go
@@ -1,8 +1,8 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- jwtutil "Yimaru-Backend/internal/web_server/jwt"
+ "Rezina-Backend/internal/domain"
+ jwtutil "Rezina-Backend/internal/web_server/jwt"
"context"
"encoding/json"
"errors"
diff --git a/internal/web_server/handlers/team_invitation_guard.go b/internal/web_server/handlers/team_invitation_guard.go
index 23142e86..d666b177 100644
--- a/internal/web_server/handlers/team_invitation_guard.go
+++ b/internal/web_server/handlers/team_invitation_guard.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/team_invitation_handler.go b/internal/web_server/handlers/team_invitation_handler.go
index 30ec4ee6..65d4a7e9 100644
--- a/internal/web_server/handlers/team_invitation_handler.go
+++ b/internal/web_server/handlers/team_invitation_handler.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"context"
"encoding/json"
"errors"
diff --git a/internal/web_server/handlers/team_password_reset_handler.go b/internal/web_server/handlers/team_password_reset_handler.go
index 92d520d6..4a4133cb 100644
--- a/internal/web_server/handlers/team_password_reset_handler.go
+++ b/internal/web_server/handlers/team_password_reset_handler.go
@@ -1,7 +1,7 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"github.com/gofiber/fiber/v2"
diff --git a/internal/web_server/handlers/thumbnail_helper.go b/internal/web_server/handlers/thumbnail_helper.go
index 852409b7..59c93cb2 100644
--- a/internal/web_server/handlers/thumbnail_helper.go
+++ b/internal/web_server/handlers/thumbnail_helper.go
@@ -7,7 +7,7 @@ import (
"os"
"path/filepath"
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"github.com/gofiber/fiber/v2"
"github.com/google/uuid"
diff --git a/internal/web_server/handlers/transaction_approver.go b/internal/web_server/handlers/transaction_approver.go
index fd18b48c..4c6149b5 100644
--- a/internal/web_server/handlers/transaction_approver.go
+++ b/internal/web_server/handlers/transaction_approver.go
@@ -1,9 +1,9 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/authentication"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/authentication"
+ "Rezina-Backend/internal/web_server/response"
"fmt"
"strconv"
"time"
diff --git a/internal/web_server/handlers/user.go b/internal/web_server/handlers/user.go
index 10b1b2a1..f6f07a28 100644
--- a/internal/web_server/handlers/user.go
+++ b/internal/web_server/handlers/user.go
@@ -1,10 +1,10 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/services/authentication"
- jwtutil "Yimaru-Backend/internal/web_server/jwt"
- "Yimaru-Backend/internal/web_server/response"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/services/authentication"
+ jwtutil "Rezina-Backend/internal/web_server/jwt"
+ "Rezina-Backend/internal/web_server/response"
"bytes"
"context"
"encoding/json"
diff --git a/internal/web_server/handlers/video_engagement_handler.go b/internal/web_server/handlers/video_engagement_handler.go
index 8817b2ef..642a4da9 100644
--- a/internal/web_server/handlers/video_engagement_handler.go
+++ b/internal/web_server/handlers/video_engagement_handler.go
@@ -4,9 +4,9 @@ import (
"encoding/json"
"errors"
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/repository"
- "Yimaru-Backend/internal/services/lessons"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/repository"
+ "Rezina-Backend/internal/services/lessons"
"github.com/gofiber/fiber/v2"
)
diff --git a/internal/web_server/handlers/vimeo.go b/internal/web_server/handlers/vimeo.go
index cdee8d44..66bdb880 100644
--- a/internal/web_server/handlers/vimeo.go
+++ b/internal/web_server/handlers/vimeo.go
@@ -1,9 +1,9 @@
package handlers
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/pkgs/vimeo"
- vimeoservice "Yimaru-Backend/internal/services/vimeo"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/pkgs/vimeo"
+ vimeoservice "Rezina-Backend/internal/services/vimeo"
"encoding/json"
"fmt"
"strconv"
diff --git a/internal/web_server/jwt/jwt.go b/internal/web_server/jwt/jwt.go
index cadd7a99..3825b098 100644
--- a/internal/web_server/jwt/jwt.go
+++ b/internal/web_server/jwt/jwt.go
@@ -1,7 +1,7 @@
package jwtutil
import (
- "Yimaru-Backend/internal/domain"
+ "Rezina-Backend/internal/domain"
"errors"
"fmt"
"time"
@@ -31,9 +31,9 @@ type JwtConfig struct {
func CreateJwt(userId int64, Role domain.Role, key string, expiry int) (string, error) {
token := jwt.NewWithClaims(jwt.SigningMethodHS256, UserClaim{
RegisteredClaims: jwt.RegisteredClaims{
- Issuer: "yimaru.com",
+ Issuer: "rezina.com",
IssuedAt: jwt.NewNumericDate(time.Now()),
- Audience: jwt.ClaimStrings{"api.yimaru.com"},
+ Audience: jwt.ClaimStrings{"api.rezina.com"},
NotBefore: jwt.NewNumericDate(time.Now()),
ExpiresAt: jwt.NewNumericDate(time.Now().Add(time.Duration(expiry) * time.Second)),
},
diff --git a/internal/web_server/middleware.go b/internal/web_server/middleware.go
index f3626576..5a565448 100644
--- a/internal/web_server/middleware.go
+++ b/internal/web_server/middleware.go
@@ -1,10 +1,10 @@
package httpserver
import (
- "Yimaru-Backend/internal/domain"
- examprepsvc "Yimaru-Backend/internal/services/examprep"
- "Yimaru-Backend/internal/web_server/fileurls"
- jwtutil "Yimaru-Backend/internal/web_server/jwt"
+ "Rezina-Backend/internal/domain"
+ examprepsvc "Rezina-Backend/internal/services/examprep"
+ "Rezina-Backend/internal/web_server/fileurls"
+ jwtutil "Rezina-Backend/internal/web_server/jwt"
"bytes"
"context"
"errors"
diff --git a/internal/web_server/routes.go b/internal/web_server/routes.go
index 3cde7dd5..05640e16 100644
--- a/internal/web_server/routes.go
+++ b/internal/web_server/routes.go
@@ -1,8 +1,8 @@
package httpserver
import (
- "Yimaru-Backend/internal/domain"
- "Yimaru-Backend/internal/web_server/handlers"
+ "Rezina-Backend/internal/domain"
+ "Rezina-Backend/internal/web_server/handlers"
"context"
"fmt"
"strconv"
@@ -57,7 +57,7 @@ func (a *App) initAppRoutes() {
a.fiber.Get("/", func(c *fiber.Ctx) error {
return c.JSON(fiber.Map{
- "message": "Welcome to Yimaru Backend API",
+ "message": "Welcome to Rezina Backend API",
"version": a.cfg.APP_VERSION,
})
})
@@ -77,7 +77,7 @@ func (a *App) initAppRoutes() {
groupV1.Get("/", func(c *fiber.Ctx) error {
return c.JSON(fiber.Map{
- "message": "Welcome to Yimaru Backend API v1",
+ "message": "Welcome to Rezina Backend API v1",
"version": "1.0.1",
})
})
diff --git a/makefile b/makefile
index fba54ad8..b39dc16c 100644
--- a/makefile
+++ b/makefile
@@ -10,7 +10,7 @@ coverage:
@mkdir -p coverage
@docker compose up -d test
@docker compose exec test sh -c "go test -coverprofile=coverage.out ./internal/... && go tool cover -func=coverage.out -o coverage/coverage.txt"
- @docker cp $(shell docker ps -q -f "name=yimaru-test-1"):/app/coverage ./ || true
+ @docker cp $(shell docker ps -q -f "name=rezina-test-1"):/app/coverage ./ || true
@docker compose stop test
.PHONY: build
@@ -46,45 +46,45 @@ postgres:
.PHONY: backup
backup:
@mkdir -p backup
- @docker exec -t yimaru-backend-postgres-1 pg_dump -U root --data-only --exclude-table=schema_migrations gh | gzip > backup/dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql.gz
+ @docker exec -t rezina-backend-postgres-1 pg_dump -U root --data-only --exclude-table=schema_migrations gh | gzip > backup/dump_`date +%Y-%m-%d"_"%H_%M_%S`.sql.gz
restore:
@echo "Restoring latest backup..."
@latest_file=$$(ls -t backup/dump_*.sql.gz | head -n 1); \
echo "Restoring from $$latest_file"; \
- gunzip -c $$latest_file | docker exec -i yimaru-backend-postgres-1 psql -U root -d gh
+ gunzip -c $$latest_file | docker exec -i rezina-backend-postgres-1 psql -U root -d gh
restore_file:
@echo "Restoring latest backup..."
- gunzip -c $(file) | docker exec -i yimaru-backend-postgres-1 psql -U root -d gh
+ gunzip -c $(file) | docker exec -i rezina-backend-postgres-1 psql -U root -d gh
.PHONY: seed_data
seed_data:
@echo "Waiting for PostgreSQL to be ready..."
- @until docker exec yimaru-backend-postgres-1 pg_isready -U root -d gh; do \
+ @until docker exec rezina-backend-postgres-1 pg_isready -U root -d gh; do \
echo "PostgreSQL is not ready yet..."; \
sleep 1; \
done
@for file in db/data/*.sql; do \
echo "Seeding $$file..."; \
- cat $$file | docker exec -i yimaru-backend-postgres-1 psql -U root -d gh; \
+ cat $$file | docker exec -i rezina-backend-postgres-1 psql -U root -d gh; \
done
.PHONY: seed_dev_data
seed_dev_data:
@echo "Waiting for PostgreSQL to be ready..."
- @until docker exec yimaru-backend-postgres-1 pg_isready -U root -d gh; do \
+ @until docker exec rezina-backend-postgres-1 pg_isready -U root -d gh; do \
echo "PostgreSQL is not ready yet..."; \
sleep 1; \
done
- cat db/scripts/fix_autoincrement_desync.sql | docker exec -i yimaru-backend-postgres-1 psql -U root -d gh;
+ cat db/scripts/fix_autoincrement_desync.sql | docker exec -i rezina-backend-postgres-1 psql -U root -d gh;
@for file in db/dev_data/*.sql; do \
if [ -f "$$file" ]; then \
echo "Seeding $$file..."; \
- cat $$file | docker exec -i yimaru-backend-postgres-1 psql -U root -d gh; \
+ cat $$file | docker exec -i rezina-backend-postgres-1 psql -U root -d gh; \
fi \
done
postgres_log:
- docker logs yimaru-backend-postgres-1
+ docker logs rezina-backend-postgres-1
.PHONY: swagger
swagger:
@swag init -g cmd/main.go
@@ -94,15 +94,15 @@ logs:
db-up: | logs
@mkdir -p logs
@docker compose up -d postgres migrate mongo
- @docker logs yimaru-backend-postgres-1 > logs/postgres.log 2>&1 &
+ @docker logs rezina-backend-postgres-1 > logs/postgres.log 2>&1 &
.PHONY: db-down
db-down:
@docker compose down -v
-# @docker volume rm yimaru-backend_postgres_data
+# @docker volume rm rezina-backend_postgres_data
.PHONY: sqlc-gen
sqlc-gen:
@sqlc generate
app_log:
@mkdir -p app_logs
export_logs: | app_log
- @docker exec yimaru-mongo mongoexport --db=logdb --collection=applogs -u root -p secret --authenticationDatabase=admin --out - > app_logs/log_`date +%Y-%m-%d"_"%H_%M_%S`.json
+ @docker exec rezina-mongo mongoexport --db=logdb --collection=applogs -u root -p secret --authenticationDatabase=admin --out - > app_logs/log_`date +%Y-%m-%d"_"%H_%M_%S`.json
diff --git a/postman/Mobile-App-Versions.postman_collection.json b/postman/Mobile-App-Versions.postman_collection.json
index c60d610a..0ae7466d 100644
--- a/postman/Mobile-App-Versions.postman_collection.json
+++ b/postman/Mobile-App-Versions.postman_collection.json
@@ -75,7 +75,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"platform\": \"ANDROID\",\n \"version_name\": \"1.3.0\",\n \"version_code\": 15,\n \"update_type\": \"FORCE\",\n \"release_notes\": \"Critical security update and performance improvements.\",\n \"store_url\": \"https://play.google.com/store/apps/details?id=com.yimaru.app\",\n \"min_supported_version_code\": 12,\n \"status\": \"ACTIVE\"\n}"
+ "raw": "{\n \"platform\": \"ANDROID\",\n \"version_name\": \"1.3.0\",\n \"version_code\": 15,\n \"update_type\": \"FORCE\",\n \"release_notes\": \"Critical security update and performance improvements.\",\n \"store_url\": \"https://play.google.com/store/apps/details?id=com.rezina.app\",\n \"min_supported_version_code\": 12,\n \"status\": \"ACTIVE\"\n}"
},
"url": {
"raw": "{{base_url}}/api/v1/admin/app-versions",
@@ -120,7 +120,7 @@
],
"body": {
"mode": "raw",
- "raw": "{\n \"platform\": \"ANDROID\",\n \"version_name\": \"1.2.0\",\n \"version_code\": 12,\n \"update_type\": \"OPTIONAL\",\n \"release_notes\": \"Minor bug fixes.\",\n \"store_url\": \"https://play.google.com/store/apps/details?id=com.yimaru.app\",\n \"status\": \"ACTIVE\"\n}"
+ "raw": "{\n \"platform\": \"ANDROID\",\n \"version_name\": \"1.2.0\",\n \"version_code\": 12,\n \"update_type\": \"OPTIONAL\",\n \"release_notes\": \"Minor bug fixes.\",\n \"store_url\": \"https://play.google.com/store/apps/details?id=com.rezina.app\",\n \"status\": \"ACTIVE\"\n}"
},
"url": {
"raw": "{{base_url}}/api/v1/admin/app-versions",
| |