Repository navigation
Dev -> Master - #17
Merged
Merged
Conversation
Добавлены названия моделей для панели админа
…учение данных) Добавлен Permission IsOwner Добавлены Serializers по заданию PriceHistory и Schedule billing_timezone вынесен в create_subscription_with_defaults Сделаны стилистические правки Методы UPDATE/DELETE Subscription в доработке т.к. требуют обработки на service layer
Доработана логика и валидатор billing_timezone
- Статусная схема - Сервис по смене статусов подписки set_subscription_status - Смена статуса подписки action.set_status, SubscriptionSetStatusSerializer, - Валидация смены статуса validator_subscription_status_change - Новые функции billing_service: get_current_schedule, get_last_schedule, close_current_schedule, create_schedule_from_existing, create_schedule_from_remaining_period Обновлены: - Поля Subscription - Создание Subscription create_subscription_with_defaults - Валидация статуса validator_subscription_status - Добавлен расчет на неполный период в recalculate_schedule_next_run - Обновлены старые тесты в соответствии изменений Исправленные ошибки: - config.settings.dev
Откорректирован метод update простых полей subscription. Добавлены тесты: обновление простых полей, создание подписки с TRIAL/DELAYED статусами
- при расчете на неполный период для WEEK и MONTH необходим пересчет anchor_*
Billing service layer был покрыт тестами
Рефакторинг остальных тестов subscription_service
…_service_status.py Добавлены тесты для оркестратора set_subscription_status.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Что было изменено
Зачем это нужно
Тип изменений
Чек-лист