Commit graph

98 commits

Author SHA1 Message Date
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
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
669920e059
fix: Исправить формат версии на "2.2.3.post1" в pyproject.toml 2025-10-30 13:29:31 +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
df6eb223d6
Обновить версию SDK до 2.2.3.fix1 2025-10-30 12:28:20 +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
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
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
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
Artem
60f87fd0e5
Update version to 2.1.9.post.b in pyproject.toml 2025-09-16 21:27:31 +02:00
Artem
3555adb10f
Merge pull request #9 from avaritia-dev/production
Фикс модели и новый роут
2025-09-16 21:26:49 +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
da6add4f6e
Merge pull request #8 from remnawave:development
Update SDK version to 2.1.9 and add vless_route_id field
2025-09-10 01:16:37 +02:00
Artem
23bba3e8ff
feat: обновить версию SDK до 2.1.9, добавить поле vless_route_id в модели запросов и ответов 2025-09-10 01:16:19 +02:00
Artem
b066019edf
Merge pull request #6 from remnawave:development
feat: удалить ненужные темы из классификаторов в pyproject.toml
2025-09-04 01:18:14 +02:00
Artem
5ec4376f2e
feat: удалить ненужные темы из классификаторов в pyproject.toml
🇷🇺 RU:
Удалены лишние тематики из раздела classifiers, чтобы сделать описание пакета более точным и соответствующим реальной функциональности.

🇵🇱 PL:
Usunięto zbędne tematy z sekcji "classifiers", aby opis pakietu był bardziej precyzyjny i zgodny z rzeczywistą funkcjonalnością.

🇬🇧 EN:
Removed redundant topics from the "classifiers" section to make the package description more accurate and aligned with actual functionality.
2025-09-04 01:17:54 +02:00
Artem
e6680dc90c
Bump to 2.1.8. Other details in commit message
Update to version 2.1.8 with API enhancements
2025-09-04 01:14:10 +02:00
Artem
c8e13c41af
Aktualizacja do wersji 2.1.8:
- Zmieniono wersję pakietu z 2.1.7.post1 na 2.1.8 w pliku pyproject.toml oraz README.md.
- Przeniesiono endpoint `/sub/{short_uuid}/raw` z `SubscriptionController` do `SubscriptionsController`.
- Rozszerzono modele subskrypcji o dodatkowe informacje o użytkowniku, połączeniach, hasłach i wykorzystaniu ruchu.
- Dodano nowy endpoint `/system/tools/x25519/generate` do generowania pary kluczy X25519.
- Uzupełniono klasyfikatory projektu o nowe tematy w `pyproject.toml`.

Zmiany poprawiają strukturę API, rozszerzają możliwości diagnostyczne oraz wprowadzają nową funkcjonalność kryptograficzną.
2025-09-04 01:13:16 +02:00
Artem
b6ca96fd32
Merge pull request #4 from remnawave:development
Update bulk actions and SDK version
2025-09-03 00:01:01 +02:00
Artem
c1ac9903dd
feat: обновить версию SDK до 2.1.7.post1, добавить поле tag в модель UserResponseDto 2025-09-03 00:00:39 +02:00
Artem
97ef97bd46
feat: Обновить bulk actions, удалить функции связанные с inbounds, взамен добавить функции связанные с squads. Так-же удалены inbounds c моделей пользователя 2025-08-30 21:46:34 +02:00
Artem
658f725e90
Merge pull request #3 from remnawave:development
Update SDK to version 2.1.7 and add subscription controller
2025-08-30 20:09:37 +02:00
Artem
5f04c2eca9
feat: обновить версию SDK до 2.1.7, добавить контроллер подписок и новые модели для работы с подписками 2025-08-30 20:09:05 +02:00
Artem
a863369675
Merge pull request #2 from remnawave/development
Add new endpoints and update SDK features
2025-08-27 00:29:11 +02:00
Artem
f9d9af7f27 feat: обновить версию SDK до 2.1.4 и добавить поддержку запроса перезапуска всех узлов 2025-08-27 00:27:29 +02:00
Artem
9d7f1ab0d9 feat: добавить поддержку пользовательских заголовков в инициализацию RemnawaveSDK 2025-08-25 15:55:17 +02:00
Artem
b8db6a9241 feat: добавить параметр ssl_ignore в инициализацию RemnawaveSDK для управления проверкой SSL 2025-08-25 15:46:37 +02:00
Artem
d3ad6ea330 feat: добавить модель GetRawSubscriptionByShortUuidResponseDto в модуль подписок 2025-08-25 15:40:44 +02:00
Artem
8e34b50c6c feat: добавить модель TagUserResponseDto и обновить контроллер пользователей для использования новой модели 2025-08-25 15:38:14 +02:00
Artem
8a84503191
feat: добавить эндпоинт для получения сырой подписки по короткому UUID и обновить модели подписки 2025-08-21 23:58:28 +02:00
Artem
cd024a7794
Merge pull request #1 from remnawave/development
Updated to be fully compatible with Remnawave API v2.1.1 with new endpoints, extended host functionality and simplified validations.
2025-08-15 23:19:57 +02:00