Commit graph

63 commits

Author SHA1 Message Date
Artem
4dae576fc5
feat: Добавить обработку данных события устройства пользователя в метод extract_user_hwid_event_data 2026-04-03 17:07:18 +02:00
Artem
9c1b478fcf
feat: Обновить модели для поддержки необязательных полей и улучшить валидацию 2026-03-28 20:16:04 +01:00
Artem
3e6be1f4b4
feat: Add new endpoints for fetching user IPs and recap statistics
- Implemented `fetch_users_ips` and `get_fetch_users_ips_result` in `IpControlController`.
- Added `get_recap` endpoint in `SystemController`.
- Introduced new models for user IP fetching and recap statistics in `models/ip_control.py` and `models/system.py`.
- Updated existing models and enums to accommodate new features.
- Added tests for new endpoints and model validations.
2026-03-28 19:51:37 +01:00
Artem
a880da073f
feat: обновить модели для поддержки плавающих значений и улучшить валидацию 2026-03-11 13:26:01 +01:00
Artem
0ed1ce92c0
feat: Introduce metadata management for users and nodes
- Added MetadataController for handling user and node metadata.
- Implemented models for user and node metadata management.
- Created tests for user and node metadata functionalities.
- Enhanced authentication settings with passkey and OAuth2 configurations.
- Added bulk actions for node updates and responses.
- Refactored existing models to accommodate new features and improve structure.
- Removed obsolete test_imports.py file.
- Updated environment variables for testing.
- Improved error handling in subscription tests.
- Added new node plugin functionalities including cloning and execution commands.
2026-03-11 12:35:42 +01:00
Artem
2b1223e79d
feat: обновить версию SDK до 2.6.3 и добавить поддержку новых типов подписок 2026-02-25 03:26:57 +01:00
Artem
7300b57fff
Merge pull request #37 from thegrayfoxxx:development
feat!: change traffic bytes type in UserTrafficDto model
2026-02-24 22:55:20 +01:00
Artem
6571c407f8
Merge pull request #40 from masasibata:feature/cookies-support
feat: added cookie-based auth for remnawave reverse proxy
2026-02-24 22:55:08 +01:00
Artem
a182b1dc4c
Merge pull request #41 from DAAMCS:development
critical fix: Unable to validate API response data
2026-02-24 22:54:40 +01:00
Artem
b57ef9469b
feat: добавить контроллер IP управления и модели для работы с IP-адресами 2026-02-24 22:53:41 +01:00
Artem
32d99f3f2d
feat: добавить поддержку переупорядочивания профилей, внешних и внутренних отрядов, а также шаблонов подписок 2026-02-18 01:36:31 +01:00
Artem
6c9fa202ad
feat: обновить версию SDK до 2.6.1 и добавить поддержку тегов узлов и обновления паролей 2026-02-18 01:13:33 +01:00
David Gasparyan
9a0b3ea86c Update external_squads.py 2026-02-16 09:17:00 +07:00
masasibata
5af4558030 feat: added cookie-based auth for remnawave reverse proxy 2026-02-11 18:43:39 +03:00
masasibata
34595a5e5b feat: add nodes bulk actions and revoke-only-passwords support 2026-02-10 18:23:13 +03:00
Artem
93987d7452
feat: обновить маршруты и добавить поддержку профилей для модификации в контроллерах и моделях 2026-01-17 12:00:30 +01:00
anatoliy
0b7d386149 feat!: change traffic bytes from float to int
Used float for byte counters was incorrect - bytes are always integers.
2026-01-17 04:29:14 +03:00
Artem
ba1a221593
feat: Update Remnawave SDK to version 2.4.4 with new subscription page management features
- Bump version to 2.4.4 and update description in pyproject.toml
- Refactor RemnawaveSDK to include SubscriptionPageConfigController
- Introduce new subscription page management endpoints:
  - Get, create, update, delete, reorder, and clone subscription page configs
- Remove deprecated NodesUsageHistoryController and UsersStatsController
- Add new bandwidth stats models and endpoints for legacy and new stats
- Enhance tests for bandwidth stats and subscription page management
- Ensure backward compatibility with legacy endpoints while introducing new stats models
2025-12-25 22:30:53 +01:00
Artem
3eaad58131
fix: обновить версию до 2.3.2rc3 и изменить структуру UserUsageDto для хранения информации о пользователе и узле 2025-12-18 03:00:20 +01:00
Artem
17c6b2e535
fix: обновить версию до 2.3.2rc2 и удалить ненужные поля из NodeDto. Thx @masasibata 2025-12-15 21:31:59 +01:00
Artem
e429a51c89
feat: добавить поддержку версий в генерации Happ Crypto Link 2025-12-11 08:49:00 +01:00
Artem
8979e2a588
fix: исправить форматирование возвращаемого значения в функции create_happ_crypto_link 2025-12-11 08:46:33 +01:00
masasibata
21f3c83a2c refactor(models): rename to *Dto pattern and add ExternalSquads support
- Rename HwidSettings to HwidSettingsDto
- Rename CustomRemarks to CustomRemarksDto
- Maintain backward compatibility via aliases
- Update ExternalSquads models to use new DTO classes
2025-12-10 21:14:08 +03:00
Artem
b087d75808
feat: обновить версии API и добавить новые модели для работы с HWID и пользователями 2025-12-10 05:39:29 +01:00
Artem
6826549249
fix: исправить форматирование возвращаемого значения в функции create_happ_crypto_link 2025-12-04 03:04:57 +01:00
Artem
577ac6f4ff
feat: Add support happ crypt version 4 (happ://crypt4) 2025-12-04 03:03:09 +01:00
Artem
f1503b2fda
fix: исправить алиасы в эндпоинтах и удалить неиспользуемые DTO 2025-12-03 05:31:17 +01:00
Artem
38a57b3e31
feat: обновить модели пользователей и добавить новые DTO для работы с пользователями и их подписками 2025-11-30 02:09:32 +01:00
Artem
18776967b4
fix: удалить поле add_username_to_base_subscription из моделей подписки и обновить соответствующие классы 2025-11-26 22:21:50 +01:00
Artem
0afc518964
feat: Add cryptography dependency and implement HAPP crypto link generation
- Added `cryptography` dependency to `pyproject.toml`.
- Introduced `CustomRemarks` and `HwidSettings` models in `subscriptions_settings.py`.
- Updated `UserResponseDto` to include `UserTrafficDto` for better traffic tracking.
- Refactored host models to use dictionaries for `mux_params` and `sockopt_params`.
- Enhanced `CreateHostRequestDto` and `UpdateHostRequestDto` with new fields.
- Implemented `create_happ_crypto_link` function for generating HAPP links.
- Updated various response DTOs to improve structure and backward compatibility.
- Removed deprecated tests related to node user usage history.
2025-11-25 20:42:12 +01:00
Artem
1d9290c427
fix: обновить версию до "2.2.6.post1" в pyproject.toml и добавить поля total и external_squads в GetExternalSquadsResponseDto 2025-11-13 04:12:43 +01:00
Artem
00225e9284
fix: update serialization aliases in user models 2025-11-12 00:17:05 +01:00
Artem
91ac8ef33e
fix: Обновить версии API и добавить новые модели и исключения для управления трафиком узлов и внешними отрядами 2025-11-12 00:01:39 +01:00
Artem
591ff5d120
fix: Добавить поддержку генерации алиасов в моделях CreateUserRequestDto и ConfigData; установить заголовки для HTTPS в RemnawaveSDK 2025-11-02 16:20:25 +01:00
Artem
2986cd3b69
fix: Обновить версию до "2.2.3.post2" в pyproject.toml; изменить hwidDeviceLimit на hwid_device_limit в CreateUserRequestDto и UpdateUserRequestDto 2025-10-30 17:54:06 +01:00
Artem
1b7d5d9bab
Изменить тип поля active_internal_squads на list[UUID] в классах CreateUserRequestDto и UpdateUserRequestDto; добавить поле external_squad_uuid 2025-10-30 12:55:34 +01:00
Artem
4df08683f5
Добавить поле external_squad_uuid и переместить active_internal_squads в класс UpdateUserRequestDto 2025-10-30 12:08:20 +01:00
Artem
9e2822774a
feat: Enhance subscription and external squad management
- Updated NodeUsageDto to include node_uuid and changed date to datetime.
- Changed total fields in subscription and subscription request history models from float to int.
- Introduced response rules and conditions for subscription settings, including new models for response modifications.
- Added external squads management with CRUD operations and associated models.
- Implemented passkey management with registration and verification endpoints.
- Enhanced snippets management with full CRUD operations and validation.
- Added OAuth2 provider enum for better authentication handling.
2025-10-28 00:44:15 +01:00
Artem
31a189ca42
Добавить свойства для доступа к данным пользователя и устройства HWID в классе UserHwidDeviceEventDto 2025-10-18 23:39:39 +02:00
Artem
0a627eed81
Обновить версию SDK до 2.1.19; добавить новые DTO для истории биллинга и упрощенных моделей провайдеров; переименовать и изменить существующие DTO для соответствия новому API 2025-10-13 04:35:39 +02:00
Artem
936c006b9b
Обновить версии SDK до 2.1.18 и 2.1.17; добавить новые DTO для обработки вебхуков и обновить существующие модели 2025-10-11 21:40:52 +02:00
Artem
e0abcdce8a
Обновить модели вебхуков: добавить новые DTO для пользователей, устройств HWID, событий и ошибок 2025-10-04 08:42:33 +02:00
Artem
1141e4ed93
Добавить классы и типы для обработки вебхуков; обновить модели и перечисления для поддержки новых событий 2025-10-04 01:28:29 +02:00
Artem
c2cb9b12ca
Обновить версию SDK до 2.1.16.post.b; добавить классы для обработки вебхуков и их валидации 2025-10-03 02:06:08 +02:00
Artem
3f0b5af2cf
Refactor tests for HWID, subscriptions, system, and users; add subscription request history functionality
- Restructured HWID tests into classes for better organization and clarity.
- Enhanced subscription tests to cover additional scenarios and improved assertions.
- Introduced new tests for system statistics and monitoring.
- Implemented CRUD operations for user management with comprehensive test coverage.
- Added new controllers and models for handling subscription request history.
- Created tests for subscription request history, including pagination and statistics.
- Improved error handling in tests to skip when exceptions occur.
2025-10-02 01:46:17 +02:00
Artem
0fc43ee610
Обновить версию SDK до 2.1.13 и добавить новые эндпоинты для получения статистики HWID и удаления всех устройств пользователя 2025-09-16 21:51:23 +02:00
avaritia-dev
c577813241 fix float in total.. 2025-09-16 05:36:08 +03:00
avaritia-dev
ac027cd515 Add delete all devices 2025-09-16 05:15:41 +03:00
avaritia-dev
2ff3317cc4 fix user models 2025-09-16 05:13:27 +03:00
Artem
23bba3e8ff
feat: обновить версию SDK до 2.1.9, добавить поле vless_route_id в модели запросов и ответов 2025-09-10 01:16:19 +02:00