New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implements new SMS Provider ASPSMS.com #11263
Conversation
{ | ||
$this->getCreditLeft($apiKey); | ||
return array( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we move this as default to SMS Provider base class? Then we likely wont break other plugins like http://plugins.piwik.org/FreeMobileMessaging
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point. Will change that.
b4bb146
to
1b9ec5c
Compare
Hm. that used to work. I'll have a look |
Caused by the session already closed before, as it's done using a ajax request calling a Session:start() reopens the session. Might be a bit hackish, but should be fine for development
…f throwing uncatched exception
@mattab should hopefully be fixed now :) |
Works. We now have a new SMS Provider, awesome! |
Feedback to apply @sgiehl
|
* A new SMS provider for sms reports has been added: [ASPSMS.com](http://www.aspsms.com/en/?REF=227830) | ||
|
||
### Breaking Changes | ||
* SMS provider now need to define their credential fields by overwriting `getCredentialFields()`. This allows to have SMS providers that require more than only an API key. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still a breaking change? Or did we make it backwards compatible? Would be really great to keep BC and if not release 3.1. But ideally I would really want to not break BC in 3.X in general when it is possible to keep BC
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good point. I'll change that. It's not breaking BC anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
fixes #11213