Commit graph

122 commits

Author SHA1 Message Date
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
Artem
9f84dfb518
Merge pull request #29 from masasibata/feature/custom-remarks
refactor: Rename HwidSettings/CustomRemarks to *Dto pattern with backward compatibility
2025-12-11 08:45:05 +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
95a93d72d5
Merge pull request #28 from remnawave:development
Update API versions and add new models for HWID and users
2025-12-10 05:39:55 +01:00
Artem
b087d75808
feat: обновить версии API и добавить новые модели для работы с HWID и пользователями 2025-12-10 05:39:29 +01:00
Artem
4db922bf74
Merge pull request #25 from remnawave/development
Bump to 2.3.0
2025-12-07 22:10:58 +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
442e5844a4
fix: обновить версию до "2.3.0" и описание в pyproject.toml; обновить таблицу совместимости в README.md 2025-11-25 20:43:43 +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
98cbd2b21d
Merge pull request #22 from remnawave:development
Add support for alias generation and update API models
2025-11-12 00:18:09 +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
7b2a4debad
Merge pull request #21 from remnawave:development
Update version to 2.2.3.post2 and refactor hwidDeviceLimit naming
2025-10-30 17:54:58 +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
b4d6c5d05d
Merge pull request #20 from remnawave:development
fix: Исправить формат версии на "2.2.3.post1" в pyproject.toml
2025-10-30 13:30:00 +01:00
Artem
669920e059
fix: Исправить формат версии на "2.2.3.post1" в pyproject.toml 2025-10-30 13:29:31 +01:00
Artem
f9443b9db6
Merge pull request #19 from remnawave:development
fix: Исправить формат версии на "2.2.3-fix1" в pyproject.toml
2025-10-30 13:27:42 +01:00
Artem
326b11a1e5
fix: Исправить формат версии на "2.2.3-fix1" в pyproject.toml 2025-10-30 13:09:32 +01:00
Artem
1b7d5d9bab
Изменить тип поля active_internal_squads на list[UUID] в классах CreateUserRequestDto и UpdateUserRequestDto; добавить поле external_squad_uuid 2025-10-30 12:55:34 +01:00
Artem
46b4fae3cb
Merge pull request #18 from remnawave:development
Обновить версию SDK до 2.2.3.fix1
2025-10-30 12:28:38 +01:00
Artem
df6eb223d6
Обновить версию SDK до 2.2.3.fix1 2025-10-30 12:28:20 +01:00
Artem
440e5a8e66
Merge pull request #17 from remnawave:development
Add external_squad_uuid field and update SDK version
2025-10-30 12:15:59 +01:00
Artem
aa2086e206
Обновить версию SDK до 2.2.3.post.b 2025-10-30 12:15:42 +01:00
Artem
4df08683f5
Добавить поле external_squad_uuid и переместить active_internal_squads в класс UpdateUserRequestDto 2025-10-30 12:08:20 +01:00
Artem
213726c1ad
Merge pull request #16 from remnawave:development
Enhance subscription and external squad management
2025-10-28 23:27:44 +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
730f389dd4
Merge pull request #15 from remnawave:development
Add user and HWID device access properties to UserHwidDeviceEventDto
2025-10-18 23:39:59 +02:00
Artem
31a189ca42
Добавить свойства для доступа к данным пользователя и устройства HWID в классе UserHwidDeviceEventDto 2025-10-18 23:39:39 +02:00
Artem
327acc7e36
Merge pull request #14 from remnawave:development
Update SDK to version 2.1.19 with new DTOs and API adjustments
2025-10-13 04:35:58 +02:00
Artem
0a627eed81
Обновить версию SDK до 2.1.19; добавить новые DTO для истории биллинга и упрощенных моделей провайдеров; переименовать и изменить существующие DTO для соответствия новому API 2025-10-13 04:35:39 +02:00
Artem
eb7a3014e3
Merge pull request #13 from remnawave:development
Обновить версии SDK до 2.1.18 и 2.1.17; добавить новые DTO для обработки вебхуков и обновить существующие модели
2025-10-11 21:48:25 +02:00
Artem
936c006b9b
Обновить версии SDK до 2.1.18 и 2.1.17; добавить новые DTO для обработки вебхуков и обновить существующие модели 2025-10-11 21:40:52 +02:00
Artem
984aaf8e0b
Merge pull request #12 from remnawave:development
Update SDK version and add webhook handling classes
2025-10-05 01:16:15 +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
87b8d8c3d8
Обновить версию SDK до 2.1.17 и изменить описание для соответствия новой версии API 2025-10-03 02:07:28 +02:00
Artem
c2cb9b12ca
Обновить версию SDK до 2.1.16.post.b; добавить классы для обработки вебхуков и их валидации 2025-10-03 02:06:08 +02:00
Artem
fa20059658
Merge pull request #11 from remnawave:development
Refactor tests and add subscription request history functionality
2025-10-02 01:47:05 +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
600628baf6
Merge pull request #10 from remnawave/development
Bump version, fix models and add new route
2025-09-16 21:51:42 +02:00
Artem
0fc43ee610
Обновить версию SDK до 2.1.13 и добавить новые эндпоинты для получения статистики HWID и удаления всех устройств пользователя 2025-09-16 21:51:23 +02:00