Commit Graph

267 Commits

Author SHA1 Message Date
osaajani 715afd79ec Update sending functions to correctly use phone limits and priority 2023-02-06 03:42:03 +01:00
osaajani 9b7907ad18 Start work to update get_smss_to_send to use priority and phone limits 2023-02-06 03:19:36 +01:00
osaajani 69619d0bef Add notion of priority to phones 2023-02-05 23:11:58 +01:00
osaajani 6353d5115b Add phone limits to list 2023-02-04 01:45:59 +01:00
osaajani fb58802240 Add update to phones 2023-02-04 01:15:36 +01:00
osaajani 298bba0c39 Add phone limit creation to phone creation 2023-02-02 01:12:30 +01:00
osaajani 1c7a84def0 Only start daemons for phones of active users 2023-01-31 23:11:25 +01:00
osaajani ea744d31e2 Check phone exists on callback reception 2022-09-26 17:31:32 +02:00
osaajani 11b481aebd add limit check to size of sms 2022-09-26 17:17:41 +02:00
osaajani a0f3784baa Change phone adapter meta number to type phone_number + add support for boolean adapter data + add a noStaupClose to ovh adapter 2022-07-12 13:16:22 +02:00
osaajani 65f74dc27b fix discussion send message not working after introduction of data in numbers 2022-04-25 18:47:55 +02:00
osaajani f1a4eb008b Add update of phone from api 2022-03-30 02:16:08 +02:00
osaajani a226139630 Add support for hidding adapter datas 2022-03-28 01:54:38 +02:00
osaajani 5c69237169 add actual usage of data on numbers 2022-03-19 22:56:56 +01:00
osaajani 81fb987740 Add support for numbers with data on scheduled + add support for sending sms to a csv file 2022-03-15 02:24:28 +01:00
osaajani bd3da73711 Change UTF8 to utf8mb4 to properly support utf8 in mysql 2021-12-29 02:54:21 +01:00
osaajani fadffdab10 extend suppression of smsstops to all users 2021-12-27 20:25:23 +01:00
osaajani 3f632e9db7 Catch php error in ruler evaluate. Unify all dates functions by using real DateTime objects and function date -> date_create and date_from_format -> date_create_from_format. 2021-12-02 01:03:42 +01:00
osaajani 6bd18c95cc change is_birthdate to a simpler is_birthday always using current date. Add date to get current date to the wanted format. Add intval and boolval 2021-12-02 00:30:21 +01:00
osaajani 14808eb4b0 Add first version of is_birthdate to ruler engine 2021-12-01 23:53:50 +01:00
osaajani 7538e2e60d silence expression notice to prevent notice when using a non defined variable/property 2021-11-26 19:40:26 +01:00
osaajani 4218b0e353 Fix unexpected behavior when calling api with numbers being an array of array 2021-11-26 19:27:51 +01:00
osaajani d826762e9d fix utf8 chars in sms and add tool to quota to check if a text is gsm0338 compatible 2021-11-05 23:59:38 +01:00
osaajani a39c9577b1 Add adapter for kannel phones 2021-11-05 23:26:09 +01:00
osaajani 69bf62f115 ensure text and at are string in api to create scheduled 2021-10-28 17:38:46 +02:00
osaajani d0fa0a299c Add a new webhook for sended sms status change. Add status and originating scheduled's id to webhook send_sms 2021-10-18 03:40:06 +02:00
osaajani ec108d8543 add status to webhook sms_send 2021-10-17 02:52:46 +02:00
osaajani 1dd8756d3b Fix bug where scheduled message was not removed when only target number has a stop sms or message is empty. 2021-09-17 22:31:23 +02:00
osaajani e2bb00cc0c Fix few missing indexes on get_smss_to_send 2021-09-17 21:50:44 +02:00
osaajani 48b2ba5684 Fix js 2021-08-29 05:37:52 +02:00
osaajani 54f3567714 few js fixes 2021-08-28 02:07:30 +02:00
osaajani 850923c1e6 Fix console command to update/create a user. 2021-08-05 17:14:53 +02:00
osaajani 85095ef995 add server side computing for event listing + fix ordering for some entities 2021-07-21 16:42:25 +02:00
osaajani 8e43c53498 Add serverside list for contacts 2021-07-19 21:14:56 +02:00
osaajani 3084288e5d remove return type on get model to make it more widely compatible 2021-07-19 20:56:44 +02:00
osaajani 169cbfde2d remove return type on get model to make it more widely compatible 2021-07-19 20:55:45 +02:00
osaajani e957c9feb7 use correct model and fix style 2021-07-19 17:32:23 +02:00
osaajani 8f3634b921 fix get model 2021-07-19 15:57:18 +02:00
osaajani 651c428ed7 move received listing to serverside processing 2021-07-16 22:53:33 +02:00
osaajani 170a00e30a Change sended list to use server side datatable 2021-07-14 04:38:52 +02:00
osaajani 30386f8caf Revert limit on sended list 2021-07-13 17:16:35 +02:00
osaajani 1f46b3ad57 fix smsstop 2021-07-13 02:36:22 +02:00
osaajani 8492da652a re-enable smsstops 2021-07-13 02:13:40 +02:00
osaajani 8f7868cae7 Limit to last 10k the sended sms to see 2021-07-13 01:36:22 +02:00
osaajani ad93a7b537 Add function to impersonate a user 2021-07-13 01:21:23 +02:00
osaajani e1c617c3b7 improve representation of unused credit 2021-07-11 21:17:11 +02:00
osaajani 88ebc8042c Working octopush shortcode 2021-06-25 02:04:35 +02:00
osaajani 017c7fee53 style validation fix 2021-06-17 00:51:33 +02:00
osaajani fa8ee399e9 add credit estimation on message 2021-06-15 01:49:47 +02:00
osaajani 7a20cbb286 disable password autocomplete and fix password not hashed on update 2021-06-14 21:43:03 +02:00