guwandyk and Claude Opus 5.5
f1337706f0
swagger: document the ?lang= query parameter on every admin endpoint
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
appresult.Localize applies to all /api/admin routes, so each handler's
godoc now declares lang (tm, ru, en, all; default tm) and Swagger UI
offers it as a dropdown.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-24 22:08:32 +05:00
guwandyk
69d1495b1f
remove some daata
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-30 14:10:10 +05:00
guwandyk
323e131216
changed role permission
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-26 16:34:28 +05:00
guwandyk
e0d03730de
added soft deleted
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-05 17:58:23 +05:00
guwandyk
d1a6fcaadc
ch some
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
2026-09-04 19:33:26 +05:00
guwandyk and Cursor
28509eb4ca
Add backups, currencies and dashboard APIs, and scope access by guard_name.
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
CI/CD / Deploy binary to server (push) Has been cancelled
Web users may only CRUD their own records, operators stay in assigned branches, and admin/manager/superadmin keep full access.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-31 18:14:47 +05:00
guwandyk and Cursor
6683826662
Accept flexible loan payloads and nest related info on lending responses.
...
CI/CD / Vet, test, build (push) Has been cancelled
CI/CD / Docker image (push) Has been cancelled
Widen loan_orders.region in the init migration and share common relation helpers across loan APIs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-26 13:06:06 +05:00
guwandyk and Cursor
1fd0abbcb2
Bind permissions to roles and scope operator access by branch.
...
Replace permission_user with permission_role, enforce RBAC on admin routes, and limit operators to their assigned branches.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-24 18:24:43 +05:00
guwandyk and Cursor
8795ae2195
Put the user's role and branch on GET /profile, upsert role_user and branch_user on POST, and drop their list endpoints.
...
Also accept flexible card-order form values, move mock seed under db/mock, and regenerate Swagger.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-22 17:56:07 +05:00
guwandyk and Cursor
7225dc0399
Add visa/master payment orders API and related names on loan paid letters.
...
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-20 15:24:59 +05:00
guwandyk and Cursor
d7cdd53597
Return role IDs on users and related names on loan APIs.
...
Loan orders, paid-off letters, and repayments now include user, branch, type, and document names alongside foreign-key IDs.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-19 11:58:15 +05:00
guwandyk and Cursor
5f6ddc5217
Add province-scoped branches for loan paid letters and harden loans.user_id.
...
Expose GET /loan-paid-off-letters/branches?province_id= for form pickers, require loans.user_id, and proxy the Vite frontend under /online/.
Co-authored-by: Cursor <cursoragent@cursor.com >
2026-08-12 19:12:49 +05:00
guwandyk
585ba63bc2
changed arhitecture
2026-07-15 18:08:19 +05:00