mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-25 09:05:55 +03:00
[PR #78] [MERGED] Make provider stateful #194
Labels
No labels
0. to triage
1. to develop
3. to review
blocked
bug
discussion
duplicate
enhancement
enhancement
gateway:signal
gateway:signal
gateway:signal
gateway:sms
gateway:telegram
hacktoberfest
help wanted
invalid
needs info
php
pull-request
question
technical debt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/twofactor_gateway-nextcloud#194
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nextcloud/twofactor_gateway/pull/78
Author: @ChristophWurst
Created: 8/6/2018
Status: ✅ Merged
Merged: 8/7/2018
Merged by: @ChristophWurst
Base:
master← Head:fix/provider-state-propagation📝 Commits (5)
5a90c2aRefactor class structure to resolve cyclic dependenciesce19d74Refactor provider to not use the config ojbect directly8896b8aFix cyclic dependency11e2821Fix state propagation for the provider registry9100f8cUpdate OCP lib📊 Changes
11 files changed (+624 additions, -126 deletions)
View changed files
📝
composer.lock(+4 -4)📝
lib/Controller/SettingsController.php(+2 -2)📝
lib/Provider/SmsProvider.php(+30 -24)📝
lib/Provider/State.php(+86 -7)📝
lib/Service/IGateway.php(+3 -1)📝
lib/Service/SetupService.php(+39 -32)➕
lib/Service/StateStorage.php(+134 -0)📝
tests/Unit/Provider/SmsProviderTest.php(+31 -14)➕
tests/Unit/Provider/StateTest.php(+53 -0)📝
tests/Unit/Service/SetupServiceTest.php(+74 -42)➕
tests/Unit/Service/StateStorageTest.php(+168 -0)📄 Description
Ref https://github.com/ChristophWurst/twofactor_gateway/projects/1#card-11846348
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.