mirror of
https://github.com/nextcloud/twofactor_gateway.git
synced 2026-04-26 09:35:50 +03:00
[GH-ISSUE #492] Support for NC24 and PHP8.1 #107
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#107
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?
Originally created by @nursoda on GitHub (Apr 12, 2022).
Original GitHub issue: https://github.com/nextcloud/twofactor_gateway/issues/492
On my NC24b3 instance running on Arch linux with PHP 8.1, upon
occ app:enable twofactor_gatewayand despite of addingtwofactor_gatewayto theapp_install_overwritearray inconfig/config.phpI cannot enable the app since this requirement cannot(?) be overruled:While appinfo/info.xml reads
the file packaged in 0.19.0 is different. It reads
In the App Store, the app is not shown for NC24 nor is it installable using
occ.Please change appinfo/info.xml to
according to the most recent app upgrade guide and all other files that put restrictions on the app and the visibility in the App Store. I'm not doing a PR since I'm quite unsure what must/should be changed apart from appinfo/info.xml – probably composer.json?
Anyway: Manually downloading 0.19.0 and changing appinfo/info.xml after extracting it to apps allowed me to enable the app. After doing so, it works perfectly fine for me with NC24 and PHP8.1 for the SMS gateway (using sms77.io).
@vitormattos commented on GitHub (Apr 12, 2022):
Hi @nursoda send the PR and let's go to see the unit tests working with your changes.
Maybe, you can run locally to look if all will work fine.
@nursoda commented on GitHub (Apr 12, 2022):
https://github.com/nextcloud/twofactor_gateway/pull/493 However, unit tests seem not to be configured properly.
@vitormattos commented on GitHub (Apr 13, 2022):
Will be good migrate the tests on CI to GitHub Actions.