Commit graph

30 commits

Author SHA1 Message Date
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
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
87b8d8c3d8
Обновить версию SDK до 2.1.17 и изменить описание для соответствия новой версии API 2025-10-03 02:07:28 +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
23bba3e8ff
feat: обновить версию SDK до 2.1.9, добавить поле vless_route_id в модели запросов и ответов 2025-09-10 01:16:19 +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
c1ac9903dd
feat: обновить версию SDK до 2.1.7.post1, добавить поле tag в модель UserResponseDto 2025-09-03 00:00:39 +02:00
Artem
5f04c2eca9
feat: обновить версию SDK до 2.1.7, добавить контроллер подписок и новые модели для работы с подписками 2025-08-30 20:09:05 +02:00
Artem
f9d9af7f27 feat: обновить версию SDK до 2.1.4 и добавить поддержку запроса перезапуска всех узлов 2025-08-27 00:27:29 +02:00
Artem
94a13687a6 feat: обновить версию SDK до 2.1.1 и изменить описание в соответствии с новой версией API 2025-08-15 23:12:43 +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
63d9980a8d
feat: Обновить совместимые версии в таблице README.md для версии 1.1.2 2025-06-06 21:03:04 +02:00
Artem
4507d9a60b
feat: Добавить поддержку OAuth2 Telegram и новые модели для тегов и отзыва пользователей 2025-05-17 15:03:40 +02:00
Artem
5f86d7383c
feat: Обновить совместимые версии в таблице README.md для добавления версии 1.6.2 [skip publish] 2025-05-14 17:43:14 +02:00
Artem
03aa34bfb7
feat: Удалить упоминание о проверке библиотеки с Remnawave v1.6.0 из README.md [skip publish] 2025-05-11 15:44:21 +02:00
Artem
3a2e87897a
feat: Обновить модель пользователя для поддержки тега и добавить новый эндпоинт для получения пользователей по тегу 2025-05-11 15:42:50 +02:00
Artem
4d44461949
feat: Добавить раздел совместимых версий в README.md [skip publish] 2025-05-10 21:13:30 +02:00
Artem
8f1a8583b9
feat: Обновить инструкции установки в README.md для установки dev-версии 2025-05-08 17:18:36 +02:00
Artem
80664e2d03
feat: Update library version to 1.1.0 and README for compatibility with Remnawave v1.6.0 2025-05-02 17:40:42 +02:00
Artem
15cfb16c67
feat: Update README and pyproject.toml for version 1.0.4; enhance UsersController with pagination support 2025-04-24 19:46:48 +02:00
Artem
adc37ab126
feat: Update SDK initialization to include caddy_token and enhance header preparation (Issue #6) 2025-04-24 19:39:16 +02:00
Artem
19d085d8da
docs: Clarify installation instructions in README.md 2025-04-24 12:25:35 +02:00
Artem
930f9f1c1d
feat: Update dependencies in pyproject.toml and add test.py to .gitignore 2025-04-23 17:29:05 +02:00
Artem
db0ace586f
feat: Update author name in pyproject.toml and enhance README with correct download badge 2025-04-21 20:58:23 +02:00
Artem
99c2031778
feat: Update package name and version in pyproject.toml; enhance README with additional badges [skip-ci] 2025-04-21 20:54:18 +02:00
Artem
f47cda9378
feat: Add models for subscriptions, users, and system statistics
- Implemented TemplateResponseDto and UpdateTemplateRequestDto for subscription templates.
- Created models for system statistics including CPU, memory, and bandwidth.
- Developed user models for user creation, updates, and responses.
- Added bulk actions for user updates and statistics tracking.
- Introduced tests for authentication, bandwidth statistics, hosts, inbounds, key generation, nodes, subscriptions, and user management.
- Enhanced utility functions for generating random strings, emails, and date ranges for testing.
2025-04-21 20:44:27 +02:00