Commit Graph

54 Commits

Author SHA1 Message Date
Corentin Sechet 5fe9b9a1e6 sms: factorize OVH & SMS Factor low credit alert tests (#81143) 2023-09-19 14:43:38 +02:00
Corentin Sechet aed4c44107 sms: factorize OVH and SMSFactor connectors (#81143) 2023-09-19 14:43:38 +02:00
Valentin Deniaud 40142de8d2 misc: apply double-quote-string-fixer (#79788) 2023-08-16 10:08:30 +02:00
Valentin Deniaud 5cda735517 sms: update credit left in check_status (#79444)
gitea/passerelle/pipeline/head This commit looks good Details
2023-07-06 11:46:20 +02:00
Lauréline Guérin de81517bb4 ovh: try/except APIError on hourly job (#78939)
gitea/passerelle/pipeline/head This commit looks good Details
2023-06-28 12:03:25 +02:00
Valentin Deniaud 3a63f02dae misc: bump black version (#75442) 2023-03-29 14:51:08 +02:00
Agate 083fab1f52 smsfactor: handle credits typed as string (#70348) 2022-10-17 16:35:02 +02:00
Agate 6a00122397 smsfactor: initial implementation (#69363) 2022-10-03 09:43:29 +02:00
Valentin Deniaud 989fb52719 misc: apply pyupgrade (#61865) 2022-09-29 16:22:29 +02:00
Agate c53c6162ed django4: replaced ugettext* calls with corresponding gettext* calls (#68576) 2022-08-31 11:00:37 +02:00
Lauréline Guérin 7c525dc946
misc: fix unneeded-not pylint error (#62099) 2022-03-25 11:38:47 +01:00
Lauréline Guérin 71ddfd62dc
misc: fix singleton-comparison pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin 35512c9c2f
misc: remove unused-variable pylint error (#62099) 2022-03-25 09:03:36 +01:00
Lauréline Guérin c1074b68fc
misc: fix unused-import pylint error (#62099) 2022-03-25 09:03:35 +01:00
Lauréline Guérin dbb8416537
misc: add __init__ file to tests dir (#62099) 2022-03-25 08:24:24 +01:00
Corentin Sechet 82d11e258a sfr_dmc: fix sms containing only GSM characters sent using unicode (#62589) 2022-03-11 10:58:39 +01:00
Corentin Sechet cb16af1236 sfr_dmc: send unicode sms if necessary (#62377) 2022-03-03 16:38:16 +01:00
Corentin Sechet fab93bd330 sfr_dmc: implement SFR DMC sms connector (#20973) 2022-03-02 12:48:44 +01:00
Nicolas Roche 4baad9742b sms: ensure country code and prefix are numbers (#61813) 2022-02-17 08:42:47 +01:00
Valentin Deniaud 2c54b4c3c2 sms: increase visibility of test message sending (#58138) 2021-11-15 15:24:32 +01:00
Valentin Deniaud 7f57c50469 sms: record credits used (#56116) 2021-09-15 12:34:01 +02:00
Nicolas Roche a214de3d53 ovh: retry on too many requests error (#44730) 2021-09-13 10:04:18 +02:00
Valentin Deniaud f9be313c9e ovh: handle error during token request (#55667) 2021-07-26 10:07:06 +02:00
Valentin Deniaud c4c1312ae2 api: add sms count statistics (#53856) 2021-06-25 13:06:25 +02:00
Nicolas Roche 06db6d8767 misc: apply isort (#52937) 2021-05-07 13:51:13 +02:00
Nicolas Roche 93071920da sms: filter authorized numbers (#39650) 2021-03-01 10:20:12 +01:00
Frédéric Péters 3d9df1e526 trivial: apply black (#49820) 2021-02-20 16:28:47 +01:00
Lauréline Guérin d53ce49abb
jobs: use uwsgi spooler to run jobs (#50017) 2021-02-04 08:46:21 +01:00
Nicolas Roche d4741e3d80 sms: accept same destination numbers as authentic (#48864) 2021-02-01 10:03:16 +01:00
Lauréline Guérin eeeea14a5d
django22: import django.urls (#49188) 2021-01-04 14:05:14 +01:00
Benjamin Dauvergne a3dc7fbc6a tests: fix tests using the connector view unlogged (#20851) 2020-12-14 16:21:19 +01:00
Benjamin Dauvergne 982a207c65 tests: factorize user fixtures (#20851) 2020-12-14 16:21:19 +01:00
Nicolas Roche 9a40c08be2 base: expand description list fields on display (#48731) 2020-12-10 14:42:02 +01:00
Valentin Deniaud 4fe1eb5c1d ovh: ease setup with new API (#47851) 2020-10-27 11:00:48 +01:00
Valentin Deniaud fc615aff90 ovh: send email credit alerts (#42921) 2020-10-26 14:40:19 +01:00
Valentin Deniaud 153a91373d ovh: update credit left (#46316) 2020-10-26 10:27:02 +01:00
Nicolas Roche 257334fdc5 sms: add a button to test sending sms (#45333) 2020-10-15 16:09:02 +02:00
Thomas NOËL 6406ad803f sms: allow nostop parameter (#47034) 2020-09-25 16:23:55 +02:00
Nicolas Roche cfe5cad527 sms: add description to send endpoint (#45829) 2020-09-14 13:05:13 +02:00
Nicolas Roche 03e6e5e070 sms: display SMS connector fields (#45817) 2020-09-14 13:00:05 +02:00
Valentin Deniaud 2017980938 ovh: support /jobs/ API endpoint (#44313) 2020-07-30 10:51:39 +02:00
Nicolas Roche 115b0bb78c sms: send SMS asynchronously (#21465) 2020-05-29 11:32:49 +02:00
Nicolas Roche b9048993be sms: move sms code into a dedicated directory (#42426) 2020-05-29 11:06:18 +02:00
Nicolas Roche ae903d89c3 sms: move default country_code/trunk_prefix to base class (#42427) 2020-05-29 10:45:06 +02:00
Valentin Deniaud 236125d156 base: log sent sms time (#39651) 2020-03-30 11:51:20 +02:00
Valentin Deniaud 038b4b709d base: add maximum sms length option (#39654) 2020-03-19 16:47:25 +01:00
Valentin Deniaud 560a4ee386 sms: turn mixin into abstract class (#39654) 2020-03-19 16:47:25 +01:00
Emmanuel Cazenave 199210f9e2 use items() instead of iteritems() (#38923) 2020-01-14 19:20:26 +01:00
Emmanuel Cazenave 5c6ebaaa6a tests: use resp.text (#38923) 2020-01-14 19:20:26 +01: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