Commit Graph

259 Commits

Author SHA1 Message Date
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
osaajani 2fbf757984 fix transfer 2020-06-23 18:49:36 +02:00
osaajani d010134d01 fix bad return type 2020-06-22 19:49:59 +02:00
osaajani 39caa92a62 Fix command bash injection using filename + add constant to disable commands 2020-06-17 19:08:11 +02:00
osaajani 3839742f58 Improve API response consistency 2020-06-17 03:02:33 +02:00
osaajani 9d1bbc4356 fix next instead of prev 2020-06-16 17:04:48 +02:00
osaajani 903a8d3770 Force http/https for webhook and add error_log in index 2020-06-14 22:17:04 +02:00
osaajani 54a8029b69 add unknown error 2020-06-14 01:39:09 +02:00
Your Name b560313aaf fix empty column export csv 2020-06-14 00:52:28 +02:00
osaajani b9863a8397 fix empty column export csv 2020-06-14 00:46:51 +02:00
osaajani 65a243b7b4 Fix naming of two first column in csv import to be name independant 2020-06-13 19:49:17 +02:00
osaajani 53d462263c improve msg 2020-06-13 19:14:13 +02:00
osaajani cc1a85f030 Fix import of contact on already existing contacts 2020-06-13 19:10:55 +02:00
osaajani aa4e528778 add strlen + fix exists in ruler 2020-06-10 01:44:05 +02:00
osaajani d13d223ddb add strlen to ruler 2020-06-10 01:30:14 +02:00
Your Name b85d32640f improve format for accessing datas of contact in conditionnal groups 2020-06-09 23:33:16 +02:00
osaajani f5d8bbd4a1 Turn simple string numbers contacts groups and conditional groups in arrays 2020-06-04 13:00:10 +02:00
osaajani b5288fc554 Add var creation in templating 2020-06-04 12:54:31 +02:00
osaajani 423501d1a4 Add POST api_key in addition of GET 2020-06-04 12:54:15 +02:00
osaajani fdb01ffabc Change reception sound + improve format for accessing datas of contact in template 2020-05-30 20:21:41 +02:00
osaajani 87301827bd Few improvments 2020-05-19 05:00:35 +02:00
Your Name a8410b1b6a merge 2020-04-19 18:11:11 +02:00
Your Name 6c6082ca90 Update api scheduled to use current datetime by default 2020-04-19 18:09:59 +02:00
osaajani 48ef0c063e Working smtp for email 2020-04-16 07:50:30 +02:00
osaajani 379eaa2786 Remove admin required for phone delete 2020-04-16 04:01:59 +02:00
osaajani 5f8f6520ee Improve alert popup + fix api key on usrr generation 2020-04-16 03:57:32 +02:00
osaajani 3569baf1a1 Update user creation to allow using already encrypted password 2020-04-08 23:34:15 +02:00
osaajani 6f1c726284 add datatables everywhere 2020-04-07 03:02:33 +02:00
osaajani a426c699f9 intercept more php notice & warning on expression testing 2020-04-04 02:51:51 +02:00
osaajani d699a2db80 Fix major security by overriding Symfony ExpressionLanguage default constant() method. The ExpressionLanguage is used by ruler for conditional group and could have been leverage to guess constants values such as db credentials 2020-04-03 21:22:13 +02:00
osaajani 3a27a3ba73 Fix major security issue with twig, sandbox was incorrectly set and was allowing code injection 2020-04-03 21:01:18 +02:00
osaajani 26b0ce47a7 fix discussion to use last number 2020-04-03 17:09:48 +02:00
osaajani 49f3a4b28c fix error transfer received sms + finish octopush shortcode adapter 2020-04-03 03:38:35 +02:00
osaajani 6ad299f21e Add octopsuh shortcode adapter, still testing. Add callback reception support. Add callback show in adapter. 2020-04-03 02:15:55 +02:00
osaajani 89cb3db678 Fix few bad var 2020-04-02 19:10:54 +02:00
osaajani 73b82296a7 . 2020-04-02 18:40:53 +02:00
osaajani 2482a997e7 Extract messages processing from phone daemons and webhook daemons to place in internal controllers 2020-04-02 18:40:39 +02:00
osaajani 2a792c0945 Add mailer 2020-04-02 18:38:41 +02:00
osaajani 0c8fc7b3ac Greatly improve adapters. Add twilio adapter for virtual numbers (no shortcode support before next version). Improve daemons exception + ERRORS handling. A lot of other little things 2020-04-02 01:55:55 +02:00
osaajani 2ae2baa6c4 Update received to use phone_id instead of destination 2020-03-31 01:53:07 +02:00
osaajani d5be760843 Update phone to use name instead of number and update sended to use phone id instead of origin 2020-03-31 01:19:21 +02:00