Skip to content
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

Merged
merged 7 commits into from Feb 19, 2017
Merged

Implements new SMS Provider ASPSMS.com #11263

merged 7 commits into from Feb 19, 2017

Conversation

sgiehl
Copy link
Member

@sgiehl sgiehl commented Jan 23, 2017

fixes #11213

@sgiehl sgiehl added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Jan 23, 2017
@sgiehl sgiehl self-assigned this Jan 23, 2017
@sgiehl sgiehl added Needs Review PRs that need a code review and removed Pull Request WIP Indicates the current pull request is still work in progress and not ready yet for a review. labels Jan 23, 2017
@sgiehl sgiehl removed their assignment Jan 23, 2017
{
$this->getCreditLeft($apiKey);
return array(
Copy link
Member

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

Copy link
Member Author

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.

@mattab mattab modified the milestone: 3.0.2 Jan 29, 2017
@sgiehl sgiehl force-pushed the aspsms branch 2 times, most recently from b4bb146 to 1b9ec5c Compare February 18, 2017 14:27
@mattab
Copy link
Member

mattab commented Feb 19, 2017

Feedback:

  • It's not possible to click "Save" button in the Mobile Messaging > Update page. Save button is disabled. Reproduced when there was already Clockwork recorded and i'm trying to change it to aspsms.

disabled

@sgiehl
Copy link
Member Author

sgiehl commented Feb 19, 2017

Hm. that used to work. I'll have a look

@sgiehl
Copy link
Member Author

sgiehl commented Feb 19, 2017

@mattab should hopefully be fixed now :)

@mattab mattab merged commit 471aaea into 3.x-dev Feb 19, 2017
@mattab mattab deleted the aspsms branch February 19, 2017 10:29
@mattab
Copy link
Member

mattab commented Feb 19, 2017

Works. We now have a new SMS Provider, awesome!

@mattab
Copy link
Member

mattab commented Feb 22, 2017

Feedback to apply @sgiehl

  • Username
    Should be: Userkey

  • Your clockwork SMS API account is....
    Should be: Your ASPSMS account is....

  • First, get an account at ASP SMS
    Should be: First, get an account at ASPSMS

  • ...over 600 networks
    Should be:... over 900 networks

  • ...starts from 0.09 USD (0.06 EUR).
    Should be: ...starts from 0.06 USD (0.04 EUR)

* 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.
Copy link
Member

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

Copy link
Member Author

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

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs Review PRs that need a code review not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SMS Provider: new integration for ASP SMS
3 participants