diff options
author | Stefan Giehl <stefan@piwik.org> | 2017-02-19 13:28:59 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-02-19 13:28:59 +0300 |
commit | 471aaea1166bc71c8bd28c953e4b192f72646070 (patch) | |
tree | db3f3dcbb6e6e21e312b0babd11ac4c2dd16fb4d /plugins/MobileMessaging/MobileMessaging.php | |
parent | 918ef6f92c9a44be67fc8d11442f6eefd925e781 (diff) |
Implements new SMS Provider ASPSMS.com (#11263)
* makes it possible to define the required credential fields in sms provider
* show error message if configured sms provider doesn't work, instead of throwing uncatched exception
* Adds new SMS provider ASPSMS.com
* Development SMS notifications didn't work when clicking 'send now'
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
* adds UI test for switching sms provider
* Makes API-Key default credential field to prevent breaking third party plugins
* fixes issue where save button was disabled falsely
Diffstat (limited to 'plugins/MobileMessaging/MobileMessaging.php')
-rw-r--r-- | plugins/MobileMessaging/MobileMessaging.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/MobileMessaging/MobileMessaging.php b/plugins/MobileMessaging/MobileMessaging.php index 9ea465dd05..04d5eef215 100644 --- a/plugins/MobileMessaging/MobileMessaging.php +++ b/plugins/MobileMessaging/MobileMessaging.php @@ -87,9 +87,10 @@ class MobileMessaging extends \Piwik\Plugin */ public function getJsFiles(&$jsFiles) { - $jsFiles[] = "plugins/MobileMessaging/angularjs/delegate-mobile-messaging-settings/delegate-mobile-messaging-settings.controller.js"; - $jsFiles[] = "plugins/MobileMessaging/angularjs/manage-sms-provider/manage-sms-provider.controller.js"; - $jsFiles[] = "plugins/MobileMessaging/angularjs/manage-mobile-phone-numbers/manage-mobile-phone-numbers.controller.js"; + $jsFiles[] = "plugins/MobileMessaging/angularjs/delegate-mobile-messaging-settings.controller.js"; + $jsFiles[] = "plugins/MobileMessaging/angularjs/manage-sms-provider.controller.js"; + $jsFiles[] = "plugins/MobileMessaging/angularjs/manage-mobile-phone-numbers.controller.js"; + $jsFiles[] = "plugins/MobileMessaging/angularjs/sms-provider-credentials.directive.js"; } public function getStylesheetFiles(&$stylesheets) |