Commit Graph

952 Commits

Author SHA1 Message Date
Egor
3de951b153 Enhance backup coverage and configuration snapshots 2025-09-30 01:02:57 +03:00
Egor
e4743ced9b Convert extended trials to paid subscriptions 2025-09-30 00:50:57 +03:00
Egor
748f9a2393 Fix total spent calculation for promo groups 2025-09-30 00:42:46 +03:00
Egor
53f1831f59 Fix admin user subscription stats 2025-09-29 17:37:20 +03:00
Egor
ae05ca08ea Round discounted subscription prices up and clean summary 2025-09-29 15:43:50 +03:00
Egor
fb4d714441 Log admin balance deductions as transactions 2025-09-29 15:10:47 +03:00
Egor
ec9855a0a9 Fix admin subscription price calculation 2025-09-29 14:57:47 +03:00
Egor
ca81b32502 Add configurable traffic reset on payments 2025-09-29 14:40:36 +03:00
Egor
432efdbb7c Fix promo group seeding for new databases 2025-09-29 14:21:23 +03:00
Egor
14bdfd4a1e Add configurable trial rollover for paid subscriptions 2025-09-29 14:02:14 +03:00
Egor
9f7c9cad38 feat: respect hidden subscription link setting 2025-09-29 13:40:27 +03:00
Egor
849465b2e1 Revert "Hide subscription link when configured" 2025-09-29 13:16:38 +03:00
Egor
402b31625b Merge pull request #555 from Fr1ngg/bedolaga/hide-subscription-link-in-notifications
Hide subscription link when configured
2025-09-29 13:12:42 +03:00
Egor
5fc24dbfae Hide subscription link in success messages when configured 2025-09-29 13:12:24 +03:00
Egor
8ba65cc2fe Merge pull request #554 from Fr1ngg/main
w
2025-09-29 13:02:20 +03:00
PEDZEO
c4b5db9002 fix(validation): sanitize имён + HTML-escape только в /start 2025-09-29 02:17:19 +03:00
PEDZEO
1a78bdc194 Исправил поведение кнопок 2025-09-29 01:31:49 +03:00
Egor
a3bb749a6a Merge pull request #549 from Fr1ngg/main
w
2025-09-28 22:39:25 +03:00
PEDZEO
5d44285c0a feat(support/tickets): Telegram ID/username в уведомлениях/админке, кнопки «Профиль/ЛС», возврат к тикету 2025-09-28 20:31:47 +03:00
PEDZEO
2d8091ddcb feat(support/tickets): Telegram ID/username в уведомлениях/админке, кнопки «Профиль/ЛС», возврат к тикету 2025-09-28 20:31:29 +03:00
firewookie
f40454313f add ads compaigns remote route 2025-09-28 14:21:53 +05:00
firewookie
71ac7ea464 backup logic and add documentation to stats route 2025-09-28 14:04:17 +05:00
firewookie
bbc9f93429 update api 2025-09-28 13:36:53 +05:00
firewookie
3ba9598b5e update api 2025-09-28 13:35:13 +05:00
firewookie
ffa51986a8 env to json 2025-09-28 13:34:43 +05:00
Egor
50d080f54e Improve web API token authentication fallback 2025-09-28 06:27:38 +03:00
Egor
9c1ca5b748 Ensure default web API token stays in sync with settings 2025-09-28 06:16:13 +03:00
Egor
6004607bf6 Update __init__.py 2025-09-28 05:45:41 +03:00
Egor
40e4b1ce7f Ensure RemnaWave routes are imported for OpenAPI 2025-09-28 05:45:09 +03:00
Egor
3d9a75ff51 Fix RemnaWave API docs registration 2025-09-28 05:28:41 +03:00
Egor
4bc1c402e9 feat: document remnawave endpoints in swagger 2025-09-28 05:09:24 +03:00
Egor
562766a637 Revert "Revert "Add RemnaWave management endpoints to web API"" 2025-09-28 04:57:10 +03:00
Egor
1e14a0919f Revert "Add Remnawave component management API" 2025-09-28 04:56:33 +03:00
Egor
c10e34ad43 Add Remnawave component management API 2025-09-28 04:53:01 +03:00
Egor
8d5e2037d3 Revert "Replace ReDoc docs with Scalar UI" 2025-09-28 04:30:38 +03:00
Egor
870ee2fb66 Replace ReDoc docs with Scalar UI 2025-09-28 04:27:43 +03:00
Egor
b6bdeeefdd Revert "Revert "Enable API key auth in web API docs"" 2025-09-28 04:02:28 +03:00
Egor
da2c30cd8d Fix database URL initialization 2025-09-28 03:55:43 +03:00
Egor
6a1b1a9a91 Revert "Allow bot to boot without RemnaWave API settings" 2025-09-28 03:50:06 +03:00
Egor
34e90b335b Handle missing RemnaWave configuration 2025-09-28 03:46:12 +03:00
Egor
1c929a1a70 Revert "Make DATABASE_URL optional for default setup" 2025-09-28 03:38:23 +03:00
Egor
84645d84f7 Revert "Fix default handling for DATABASE_URL setting" 2025-09-28 03:37:44 +03:00
Egor
ef6aaa58ea Revert "Allow optional Remnawave integration settings" 2025-09-28 03:36:42 +03:00
Egor
625ec43c34 Revert "Handle missing optional RemnaWave settings" 2025-09-28 03:36:10 +03:00
Egor
84a17864cd Handle missing optional RemnaWave settings 2025-09-28 03:34:44 +03:00
Egor
00de3a41df Allow optional Remnawave integration settings 2025-09-28 03:27:25 +03:00
Egor
a3fe935149 Make DATABASE_URL optional in settings 2025-09-28 03:10:57 +03:00
Egor
be3fc7aa09 Revert "Enable API key auth in web API docs" 2025-09-28 03:02:22 +03:00
Egor
7ff7a051d9 Enable API key auth in web API docs 2025-09-28 02:59:07 +03:00
Egor
ff70e38dbc Fix web API startup wait for uvicorn 0.32 2025-09-28 02:31:56 +03:00