Problem/Motivation

SMS Framework is now almost fully ported to Drupal 8, yet most of the code base is still D7-type procedural code that does not leverage on OOP benefits that D8 provides. Instances:
SMS Gateways are still implemented using hook_gateway_info() with all its limitations.
The behavior of sms_send() cannot be modified without hacking the core framework code.
It is not easy to implement queuing for sms sending to a large number of users / phone numbers
... many others.

Proposed resolution

Child issues will be raised to deal with different components of the framework revamp and listed in the remaining tasks section below:

Remaining tasks

#2509566: Convert sms_send() into a service
#2292319: Convert SMS Gateways into D8 Plugins
#2542790: Implement API for delivery reports for SMS Gateways
#2542866: Clarify the API for message results after sms_send()
#2564301: Add UUID and UID property accessors to SmsMessageInterface
#2507985: Implement filters for SmsMessages and SmsGateways to simplify recipients filtering / blocking
#2606290: Implement SMS User information as a Drupal 8 Field
#2643692: SMS User Redesign
#2642946: Utilize LibPhonenumber for phone number validation
#2643408: Implement a more intelligent SMS Gateway selection mechanism for SMS Framework
#1146900: Replace number field / phone number validation with external modules
#331629: Develop module that handles international number validation

User interface changes

See child issues

API changes

See child issues

Data model changes

See child issues

Comments

almaudoh’s picture

Issue summary: View changes
almaudoh’s picture

Issue summary: View changes

Adding more child issues

almaudoh’s picture

Issue summary: View changes
almaudoh’s picture

Issue summary: View changes
almaudoh’s picture

Status: Active » Fixed

Most of this has been done, the remaining items can be tracked in their separate issues. The revamp can be considered largely complete.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.