[PR #552] [MERGED] Add XMPP Gateway #577

Closed
opened 2026-02-26 06:31:29 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/nextcloud/twofactor_gateway/pull/552
Author: @dora71
Created: 2/21/2023
Status: Merged
Merged: 3/15/2023
Merged by: @vitormattos

Base: masterHead: master


📝 Commits (10+)

  • 9f91c29 added documentation for xmpp, also in README.md
  • 4a00d9c documentation updated, xmpp Admin configuration added, part 1
  • c697aef added XMPP Factory Provider and Gateway
  • a1aee1e added XMPP Provider and Gateway
  • c0a262f XMPP Vue Components added
  • 629fb2d documentation updated, improved admin configuration
  • 4cc5c58 updated User Documentation
  • efd6204 updated Admin Configuration doc
  • 9ee7285 Update lib/Provider/XMPPProvider.php
  • 30c8af7 Update lib/Service/Gateway/XMPP/Gateway.php

📊 Changes

20 files changed (+626 additions, -17 deletions)

View changed files

📝 README.md (+1 -1)
📝 appinfo/info.xml (+1 -0)
📝 doc/Admin Documentation.md (+17 -0)
📝 doc/User Documentation.md (+27 -0)
📝 lib/Command/Configure.php (+70 -3)
📝 lib/Command/Remove.php (+11 -2)
📝 lib/Command/Status.php (+9 -1)
📝 lib/Command/Test.php (+10 -1)
📝 lib/Provider/Factory.php (+8 -1)
lib/Provider/XMPPProvider.php (+68 -0)
📝 lib/Service/Gateway/Factory.php (+9 -1)
📝 lib/Service/Gateway/SMS/Provider/SMSApi.php (+5 -5)
lib/Service/Gateway/XMPP/Gateway.php (+108 -0)
lib/Service/Gateway/XMPP/GatewayConfig.php (+104 -0)
📝 src/components/GatewaySettings.vue (+1 -1)
src/components/XMPPInstructions.vue (+15 -0)
📝 src/main.js (+5 -0)
src/views/XMPPSettings.vue (+38 -0)
tests/Unit/Provider/XMPPProviderTest.php (+106 -0)
📝 tests/Unit/Service/Gateway/FactoryTest.php (+13 -1)

📄 Description

This PR provides XMPP as another gateway for authentication.
By now, only XMPP server prosody with enabled mod_rest or mod_post_msg is supported.

This commit would close issue https://github.com/nextcloud/twofactor_gateway/issues/374

Please review code.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/nextcloud/twofactor_gateway/pull/552 **Author:** [@dora71](https://github.com/dora71) **Created:** 2/21/2023 **Status:** ✅ Merged **Merged:** 3/15/2023 **Merged by:** [@vitormattos](https://github.com/vitormattos) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (10+) - [`9f91c29`](https://github.com/nextcloud/twofactor_gateway/commit/9f91c29d13ab85af438a22424ced86afe7ef4670) added documentation for xmpp, also in README.md - [`4a00d9c`](https://github.com/nextcloud/twofactor_gateway/commit/4a00d9c4a0d485748ac3825f1e6c823f27d000a8) documentation updated, xmpp Admin configuration added, part 1 - [`c697aef`](https://github.com/nextcloud/twofactor_gateway/commit/c697aefb9bcab62e87155019bd3cc2070414eebf) added XMPP Factory Provider and Gateway - [`a1aee1e`](https://github.com/nextcloud/twofactor_gateway/commit/a1aee1e5bf22e9068c12b8dc2e61462436d15901) added XMPP Provider and Gateway - [`c0a262f`](https://github.com/nextcloud/twofactor_gateway/commit/c0a262f67e08d8ce207900c7ac64b20d82641b2d) XMPP Vue Components added - [`629fb2d`](https://github.com/nextcloud/twofactor_gateway/commit/629fb2d18d8674a1a85fbab7389e94707e0c6841) documentation updated, improved admin configuration - [`4cc5c58`](https://github.com/nextcloud/twofactor_gateway/commit/4cc5c5851aaadc47c3c18c75dc414e9951cbf295) updated User Documentation - [`efd6204`](https://github.com/nextcloud/twofactor_gateway/commit/efd6204bc3dfa5c6524869b51fa33921ac9c31de) updated Admin Configuration doc - [`9ee7285`](https://github.com/nextcloud/twofactor_gateway/commit/9ee7285ab0570530e3fcb84c881c0770192fc29e) Update lib/Provider/XMPPProvider.php - [`30c8af7`](https://github.com/nextcloud/twofactor_gateway/commit/30c8af77d9a1c6f53f926d43355c4afb8802159c) Update lib/Service/Gateway/XMPP/Gateway.php ### 📊 Changes **20 files changed** (+626 additions, -17 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+1 -1) 📝 `appinfo/info.xml` (+1 -0) 📝 `doc/Admin Documentation.md` (+17 -0) 📝 `doc/User Documentation.md` (+27 -0) 📝 `lib/Command/Configure.php` (+70 -3) 📝 `lib/Command/Remove.php` (+11 -2) 📝 `lib/Command/Status.php` (+9 -1) 📝 `lib/Command/Test.php` (+10 -1) 📝 `lib/Provider/Factory.php` (+8 -1) ➕ `lib/Provider/XMPPProvider.php` (+68 -0) 📝 `lib/Service/Gateway/Factory.php` (+9 -1) 📝 `lib/Service/Gateway/SMS/Provider/SMSApi.php` (+5 -5) ➕ `lib/Service/Gateway/XMPP/Gateway.php` (+108 -0) ➕ `lib/Service/Gateway/XMPP/GatewayConfig.php` (+104 -0) 📝 `src/components/GatewaySettings.vue` (+1 -1) ➕ `src/components/XMPPInstructions.vue` (+15 -0) 📝 `src/main.js` (+5 -0) ➕ `src/views/XMPPSettings.vue` (+38 -0) ➕ `tests/Unit/Provider/XMPPProviderTest.php` (+106 -0) 📝 `tests/Unit/Service/Gateway/FactoryTest.php` (+13 -1) </details> ### 📄 Description This PR provides XMPP as another gateway for authentication. By now, only XMPP server prosody with enabled mod_rest or mod_post_msg is supported. This commit would close issue https://github.com/nextcloud/twofactor_gateway/issues/374 Please review code. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-26 06:31:29 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/twofactor_gateway-nextcloud#577
No description provided.