Commit Graph

299 Commits

Author SHA1 Message Date
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
osaajani 17d91873d4 add setting to hide menus for users 2021-06-14 21:33:06 +02:00
osaajani ca9b7c7c6e improve icons for credit 2021-06-14 20:21:06 +02:00
osaajani c3637ab3ab add stats about credit in use account and update dates for home graph 2021-06-14 19:48:42 +02:00
osaajani 03ae69b82a add quota to user list 2021-06-13 00:14:54 +02:00
osaajani 4a39865903 add capacity to modify user 2021-06-12 23:23:15 +02:00
osaajani f9e0312c89 update template add user to add quota, still need to show/hidde quota based on enable or not and impement
backend processing
2021-06-11 02:16:41 +02:00
osaajani 4c47de3fc5 add quota renewal 2021-06-10 01:31:53 +02:00
osaajani cb38447feb Pass quota limit as a console method 2021-06-08 21:01:26 +02:00
osaajani 120f56fad7 First step of quota and using daemon 2021-06-08 02:00:48 +02:00
osaajani 3d19c4decb improve callback update status 2021-05-26 15:46:50 +02:00
osaajani b833d76380 update reception code to split sms every 1000 chars 2021-04-27 00:23:40 +02:00
osaajani 8315817388 Add dynamic deletion of contacts 2021-04-24 00:10:23 +02:00
osaajani fbf8485090 remove useless todo + add settings mms in settings page 2021-04-17 01:46:08 +02:00
osaajani 878d820dc2 automatically add medias as link if phone does not support mms 2021-04-16 20:20:19 +02:00
osaajani 4cd52ae9ec fix discussion to correctly update status whithout replacing the all conversation for each sms 2021-04-16 17:11:24 +02:00
osaajani b9641345a1 do not duplicatd in progress msg 2021-04-13 02:33:30 +02:00
osaajani fb919ff59f highly improve discussion perfs + fix initial sound playing and erratic scrolling 2021-04-13 02:01:03 +02:00
osaajani 48e8eacc34 Change http_url for medias 2021-04-06 23:20:00 +02:00
osaajani 7c85753bfa only root try to give another group to file 2021-04-03 18:30:05 +02:00
osaajani e06079e6af add mms files to mail transfert 2021-04-03 18:19:08 +02:00
osaajani d29424ff0c fix delete to use proper dir 2021-03-27 01:18:02 +01:00
osaajani 6acf28e3ce Properly working mms reception with public dir in data and valid rights, etc. 2021-03-27 01:15:09 +01:00
osaajani 04a40049ce refactor all media create to centralise copy of medias and save, etc. 2021-03-26 23:32:29 +01:00
osaajani 92146ba8e1 Add tool to clean unused medias 2021-03-26 18:53:20 +01:00
osaajani 626b59080e add id to call webhook 2021-03-26 17:59:09 +01:00
osaajani 6ce6a85f13 Add webhook trigger 2021-03-26 17:55:47 +01:00
osaajani 62d140d987 fix bad invisible char callback 2021-03-26 17:39:16 +01:00
osaajani 86c6d65fe4 Update callback to check valid call return 2021-03-26 17:31:09 +01:00
osaajani c63f3bebba add page for calls 2021-03-24 00:22:17 +01:00
osaajani 41c3b3b86e Add callback for phone calls, not tested yet 2021-03-23 17:39:13 +01:00
osaajani 52a0302dc2 start adding call support 2021-03-23 04:31:13 +01:00
osaajani 0f6bf9ccde add medias to discussion 2021-03-22 02:08:59 +01:00
osaajani 3fff7e0abd add medias to scheduled creation 2021-03-22 01:29:06 +01:00
osaajani f330312b55 Add medias link to mms into received + sended + scheduled + discussion 2021-03-21 18:29:23 +01:00
osaajani 70d01be041 add HTTP_PWD_DATA 2021-03-21 17:14:52 +01:00
osaajani 0dac72cf54 Update api for scheduled + update get medias for + update htaccess to make medias accessibles 2021-03-21 17:08:05 +01:00
osaajani 136b3f76ce working api scheduled + working daemons for phone and sender + working adapters 2021-03-19 21:59:49 +01:00
osaajani ff6b3e79df start adding mms to a lot of places, no tests, not done 2021-03-19 02:45:12 +01:00
osaajani 8020d68572 Fix scheduled to better randomize phone to send messages 2021-02-23 18:57:14 +01:00
osaajani cafe210f69 Fix bad mimetype when importing csv from a windows computer 2021-02-23 14:30:39 +01:00
osaajani 3f84622cbe Remove risky fix on PHPCsFixer + fix bad command interpretation 2021-02-23 00:40:59 +01:00
osaajani 3b662c1153 fix style 2021-02-23 00:31:54 +01:00
osaajani e01f444322 Fix import and export of csv contacts where mixed datas or no datas 2021-02-20 17:58:35 +01:00
osaajani cd242af48d rename adaptateur to phone type 2021-02-04 16:44:13 +01:00
osaajani 8843df9f46 simplify webhook signature 2021-01-30 11:24:14 +01:00
osaajani 1c0ffc246a fix missing , 2021-01-30 11:16:15 +01:00
osaajani b5035101b0 update webhook to add signature 2021-01-30 11:12:30 +01:00
osaajani 3b5733e31a add support for POST and HTTP key api for callbacks 2021-01-27 21:37:43 +01:00
osaajani 05cb62a503 implement logic for hiddens phone adapters 2021-01-26 19:33:08 +01:00
osaajani c713a4419a fix bad renaming of ids to contact_ids, group_ids and conditional_ids 2021-01-17 04:07:04 +01:00
osaajani 61d644c247 rename all instances of 'datas' to 'data' 2021-01-17 03:16:57 +01:00
osaajani 730ac8963b add better http code for invalid api credentials and suspended users 2021-01-16 23:49:40 +01:00
osaajani 063a8a899d improve prefilled of sms by allowing prefill of contacts + groups + conditional groups 2021-01-14 04:30:28 +01:00
osaajani e0eed18794 fix few phpstan alerts 2021-01-14 03:58:28 +01:00
osaajani 4eaeefdcfa fix alt message for html was not activating html flag 2021-01-14 03:57:21 +01:00
osaajani ce4f5baaaa fix expression provider for exists 2021-01-14 03:52:54 +01:00
osaajani aac464704e fix style 2021-01-14 03:32:17 +01:00
osaajani 14cd233d92 Add api for create and delete phone 2021-01-14 03:25:58 +01:00
osaajani df7c66f91c Add tools for command line manipulation of users 2020-10-22 20:31:01 +02:00
osaajani cae9674097 add icon or conditional groups event 2020-09-27 02:01:29 +02:00
osaajani a325abd249 remove query for groups on conditional_groups list 2020-09-27 00:47:07 +02:00
osaajani 8d86f576d8 Update templating and conditional groups to add contact_metas 2020-09-26 21:34:42 +02:00
osaajani b98d5a22ef Change all lists to use ajax data source and high perf datatable + improve all consuming listing queries + add indexes on numbers for perf improvment 2020-09-23 23:14:03 +02:00
osaajani fe4f85117d parseerror on bad group id 2020-09-02 01:08:40 +02:00
osaajani 7277f1e98d Add re-populate form on submission error 2020-08-17 21:05:01 +02:00
Github Actions Bot 714128f614 Fix codestyle. 2020-07-03 01:48:42 +00:00
osaajani 2f26f0a7cd Add enabling/disabling account deletion 2020-06-24 18:55:03 +02:00
osaajani adef27f862 fix codestyle 2020-06-23 21:06:13 +02:00