Commit graph

85 commits

Author SHA1 Message Date
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
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
Artem
94a13687a6 feat: обновить версию SDK до 2.1.1 и изменить описание в соответствии с новой версией API 2025-08-15 23:12:43 +02:00
Artem
a117f61204 feat: добавить модель GetInternalSquadAccessibleNodesResponseDto и эндпоинт для получения доступных узлов внутренней группы 2025-08-15 23:11:16 +02:00
Artem
08f2146d41 feat: add nodes metrics endpoint - метод get_nodes_metrics()
feat: add host tags management - метод get_hosts_tags()
feat: add advanced host options - поля tag, isHidden, muxParams, sockoptParams
update: relax validation - username min 3 chars, node name min 3 chars
update: reduce host description - max 30 chars (было 50)
update: add name fields - для config profiles и internal squads

‼️ fix: remove tokenDescription - убрано из CreateApiTokenRequestDto
2025-08-14 15:01:15 +02:00
Artem
9a3dff13cb chore: initial commit after migration from sm1ky/remnawave-api 2025-07-29 17:12:53 +02:00
Artem
cb599df003
feat: Добавить тесты для валидации вебхука в test_utils.py 2025-07-09 03:01:35 +02:00
Artem
950a7ffab3
Add Pydantic models for nodes usage history, subscriptions, and user management
- Implemented models for nodes usage history including NodeInfoDto, GetUserAccessibleNodesResponse, and usage statistics.
- Created subscription-related models such as UserSubscription, SubscriptionInfoData, and various response DTOs for subscription information.
- Developed models for subscription settings, templates, and system statistics, enhancing the API's capability to manage and retrieve subscription configurations.
- Introduced user management models including CreateUserRequestDto, UpdateUserRequestDto, and various response DTOs for user actions.
- Added bulk actions for user updates and statistics tracking, improving the efficiency of user management operations.
- Established a base controller for handling API requests and responses, along with decorators for HTTP methods to streamline API interactions.
- Included utility functions for serialization using orjson for better performance with Pydantic models.
2025-07-03 12:22:16 +02:00
Artem
6e90ab89e9
feat: Восстановить тест revoke_user_subscription в test_users.py 2025-07-02 23:04:34 +02:00
Artem
93b15cb254
feat: Обновить раздел "Комплексное тестирование" в MIGRATION_V2.md, удалив информацию о тестах 2025-07-01 15:09:40 +02:00
Artem
f782ecbd46
feat: Обновить файл .env.test, добавив переменную REMNAWAVE_CONFIG_PROFILE_UUID 2025-07-01 15:07:57 +02:00
Artem
41389d4205
Refactor SDK for Remnawave API v2.0.0 compatibility
- Updated models and response structures to align with API v2.0.0 specifications.
- Enhanced response handling to support both wrapped and unwrapped API responses.
- Added new controllers for ConfigProfiles, InternalSquads, InfraBilling, and NodesUsageHistory.
- Implemented RootModel patterns for list responses, allowing direct iteration and indexing.
- Updated tests to validate new models and endpoints, ensuring 20 out of 21 tests pass with real API integration.
- Fixed various bugs related to response handling and model validation.
- Documented migration path and breaking changes for users upgrading from v1.x to v2.0.0.
2025-07-01 15:06:07 +02:00
Artem
060b2f2d70
feat: Обновить модели для поддержки новых типов данных и улучшить валидацию полей 2025-06-21 23:41:57 +02:00
Artem
641d70a495
feat: Обновить модель HWIDUserResponseDtoList, изменив поле response на devices 2025-06-18 04:05:28 +02:00
Artem
63d9980a8d
feat: Обновить совместимые версии в таблице README.md для версии 1.1.2 2025-06-06 21:03:04 +02:00