Add OVH SMS gateway#316
Conversation
Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.4.2. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](webpack/css-loader@v3.4.1...v3.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr>
|
Thanks a lot for this 🙏 Unfortunately that |
|
Let's see if this can be driven forward ovh/php-ovh#41 (comment) :) |
|
Code looks good btw :) |
|
Thanks for the comments. Since for the provider to work, only one GET and one POST requests are used, do you think I could rewrite the authentication mechanism by hand with the |
|
Sure! That is also what we use for most other gateway integrations :) We can also migrate to the updated ovh package later 😉 |
|
I have update the Provider with the IClientService from NC. Would it be possible to merge it now ? |
|
I'm sorry I can't get the DCO despite the |
The sign-off has to be present on all of your commits. I would recommend to use fixup's during development and do a final squash before the merge so it's just one commit in the end. |
- Add configuration class - Add Provider class Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Integrate Ovh gateway - add php API with composer - install the new dependencies - Add configuration for ovh - Update ProviderFactory for ovh Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Debug Ovh sms gateway. Has been tested with the test function Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Improve documentation since it seems not that easy Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Update Admin Documentation.md Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Update Admin Documentation.md Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Update Admin Documentation.md Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Fix php syntax Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Bump css-loader from 3.4.1 to 3.4.2 Bumps [css-loader](https://github.com/webpack-contrib/css-loader) from 3.4.1 to 3.4.2. - [Release notes](https://github.com/webpack-contrib/css-loader/releases) - [Changelog](https://github.com/webpack-contrib/css-loader/blob/master/CHANGELOG.md) - [Commits](webpack/css-loader@v3.4.1...v3.4.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> [tx-robot] updated from transifex [tx-robot] updated from transifex Add sms77 to help and fix case selection string Signed-off-by: Olav Seyfarth <nursoda@users.noreply.github.com> Update OVH sms provider to remove ovh/ovh dependency Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Update OVH sms provider to remove ovh/ovh dependency Update ovh endpoints Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Fix typos Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Fix typos bis Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Fix POST request Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Remove ovh/ovh with composer Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Stupid commit to get the DCO ?! Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Add requested corrections Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr> Fix indentation Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr>
|
I squashed everything. But Travis fails :( |
Signed-off-by: Jordan Bieder <jordan.bieder@geduld.fr>
|
We have to fix CI as the nextcloud server versions changed recently. Thus the incompatibility failure. It's as simple as this: nextcloud/mail#2523. So, if you do not mind, please open a separate PR with those changes, then we can rebase this branch here and CI should be happy again :) |
|
LOL at this clickbait title. Made me want to know what happened :) |
Just my eyes that were not in front of the holes :) See #320 for the version bump. |
|
How should I make tests to improve code coverage ? |
|
Hi, |
You can see https://github.com/nextcloud/twofactor_gateway/tree/master/tests for reference. But generally this app doesn't have many tests, unfortunately. |
PS:Sorry for the different names in the commits I did not take care of it.