Commit Graph

15 Commits

Author SHA1 Message Date
Emmanuel Cazenave b58c993000 sms: make error messages indifferent in py2/py3 (#38781) 2020-01-29 10:30:46 +01:00
Emmanuel Cazenave d23fade144 replace unicode() calls by force_text() (#38923) 2020-01-14 19:20:26 +01:00
Thomas NOËL 8a3268bf9e ovh: use BaseResource.requests instead of requests (#23677) 2018-05-31 17:21:04 +02:00
Frédéric Péters b7bac6cad6 manage: redo home and add connector views with simple lists (#13772) 2017-09-30 18:13:29 +02:00
Frédéric Péters b681cd163a ovh: fix typo in "credit left" label (#15744) 2017-04-04 14:12:10 +02:00
Benjamin Dauvergne 14abe6efcd sms: improve SMSGatewayMixin.clean_numbers() (fixes #6867)
- normalize numbers to the 00... international format
- a default_trunk_prefix setting to all sms backends
- set default_trunk_prefix and default_country_code to French ones
- modify test
2017-03-30 23:05:58 +02:00
Serghei Mihai f55889dccd sms: provide option to cancel 'stop sms' (#14943) 2017-02-26 23:36:34 +01:00
Frédéric Péters b6af479525 sms: add back accessright management (#13762) 2016-10-27 23:36:25 +02:00
Benjamin Dauvergne 41a5bbaa03 sms: improve error handling of all providers with APIError (fixes #13499)
All specific exception classes have been removed, sending was fixed in orange,
oxyd and choosit providers; when possible failure for each destination is
returned.
2016-10-21 10:16:28 +02:00
Frédéric Péters 22184d8a90 general: add a generic connector view (#11200) 2016-06-09 14:44:42 +02:00
Frédéric Péters e644b3cfc8 general: add generic endpoint view (#11204) 2016-06-09 14:44:42 +02:00
Frédéric Péters 0b58219f06 general: don't repeat management views in all connectors (#11199) 2016-06-09 14:44:42 +02:00
Frédéric Péters af34901724 refactor SMS applications (#5786)
SMS application models were subclass of a non-abtract MessageGateway, it
didn't bring anything but a classmethod and complications for migrations;
it's now removed in favour of directly subclassing BaseResource.

Migrations are added, and new table names are defined to avoid collisions.

The passerelle.messages application has also been moved to passerelle.sms,
this avoids the conflicting name 'messages' that is also claimed by
django.contrib.messages.
2015-01-18 20:22:32 +01:00
Frédéric Péters 4bfb42ac55 convert ovh application to new system (#5122) 2014-07-18 16:09:02 +02:00
Benjamin Dauvergne 2c4af5ad74 new SMS gateway: ovh 2013-09-23 18:51:03 +02:00