Commit Graph

209 Commits

Author SHA1 Message Date
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
osaajani 413c058ffc add support status on users 2020-03-30 01:52:53 +02:00
osaajani 0124bc2627 Add id_user to received and sended 2020-03-05 23:07:07 +01:00
osaajani aaa7eb8061 fix style + undefined var api instead of api_key 2020-03-04 05:10:45 +01:00
osaajani f4cb825d16 Update discussion to implement new scheduled with id phone instead of number 2020-03-04 04:41:31 +01:00
osaajani 1be127e260 add dedicated log dir for raspisms 2020-03-04 04:18:26 +01:00
osaajani ca9397b62d Fix invalid closing of queues from sender, improve cleaning of pid files 2020-03-04 03:28:34 +01:00
osaajani 6f8c7d62b9 Use id_phone instead of number in scheduled, use ftok to generate queue id, improve adapter interface, add popup error 2020-03-04 01:40:47 +01:00
osaajani 9bf1433d2e fix rights 2020-02-21 03:55:14 +01:00
osaajani e7beafaa8b Add 404 page 2020-02-20 03:53:15 +01:00
osaajani 4548c360f0 fix account deletion 2020-02-19 02:37:37 +01:00
osaajani fca212a542 Add console function to create a user 2020-02-19 02:32:52 +01:00
osaajani 99edf9a2c8 Remove test function 2020-02-18 22:01:58 +01:00
osaajani 38a8b023cb remove makefile 2020-02-18 20:03:32 +01:00
osaajani 40fccf133c Move to raspisms dir 2020-02-18 04:29:48 +01:00
osaajani 2519df2c2a fix logout useless session_unset() 2020-02-06 03:10:56 +01:00
osaajani 08bf5a878a fix php cs fixer concat operator to use space 2020-01-17 18:47:08 +01:00
osaajani 9de6697752 Fix php error 2020-01-17 18:36:53 +01:00
osaajani b8bd067dc7 Fix php style 2020-01-17 18:19:25 +01:00
osaajani 10171ac4c5 Add create and delete message to api 2020-01-17 16:35:13 +01:00
osaajani 3a3ed4f998 Add base of api for listing, need to add sending of a message 2020-01-17 01:13:40 +01:00
osaajani 54e4f365e5 Simplify useless foreach 2020-01-16 23:22:31 +01:00
OsaAjani 99bb1bd46c Working gammu adapter 2020-01-12 23:57:24 +01:00
OsaAjani 53257e63b3 Remove gammu smsd parser and test controller that is now in console 2020-01-12 22:21:29 +01:00
OsaAjani fcc438af3c Fix gammu adapter, first version of gammu sms parser 2020-01-12 22:20:12 +01:00
osaajani 7d46c27a0d Add a temporary test controller to test gammu adaper easily 2020-01-12 00:50:54 +01:00
osaajani aee9fc847f Use correct phone for response to discussion 2020-01-11 17:27:07 +01:00
osaajani c4bc7d94c1 Improve adapters datas interface by defining fields and implement real OVH SMS API adapter ! 2020-01-09 22:23:58 +01:00
osaajani 89d786a730 Fix rights, add confs apache, add prototype of systemd confs, add scripts to start and stop raspisms 2020-01-09 11:28:25 +01:00
osaajani c790b47c14 Rename manager to launcher, add option for no background daemon 2020-01-08 18:20:17 +01:00
osaajani 929ea695e1 Fix command now fully working with json 2020-01-08 16:17:12 +01:00
osaajani 31d2739ccb Add transfer of smss 2020-01-08 14:14:40 +01:00
osaajani b42c2490ac remove transfer from user 2020-01-08 13:45:20 +01:00
osaajani fb6abb4d91 Add api key to user, add status update support, add other things i dont remember at 2am... 2020-01-08 02:14:38 +01:00
osaajani 768714cc1a All working reception and sending with webhook. Commands still to test. Update test adapter to use local files 2020-01-07 17:55:16 +01:00
osaajani b5a36b1169 Separate daemons and responsabilities insides thoses daemons. Add webhook & commands, still to test 2020-01-07 01:31:34 +01:00
osaajani 78b3ded31d Add a method to find all entries for a user in standard controller 2020-01-06 23:41:18 +01:00
osaajani cc50ad2678 Add id of user in a generated sms from a scheduled 2020-01-06 23:40:29 +01:00
osaajani b6755dcc95 Add method to find all webhooks of a certain type for a user 2020-01-06 23:39:30 +01:00
osaajani 03f29b2225 Add method to check for a command in a message 2020-01-06 23:38:45 +01:00
osaajani ce17ed572b Remove now useless function parse_for_flag as format for command has change in favor to json 2020-01-06 23:37:53 +01:00
osaajani 857f953a04 Fix phone data to never be null 2020-01-06 23:36:56 +01:00
osaajani 89459a0285 Add uid for uniq identification by adapter of a sended sms. Usefull for tracking status 2020-01-06 23:35:55 +01:00
osaajani d8839a57d0 Add default settings generation on new user creation 2020-01-06 23:33:27 +01:00
osaajani 2671c464a4 fix pagination 2020-01-06 13:51:02 +01:00
osaajani ac64fe9d2d Extract function from core of daemons 2020-01-04 19:30:06 +01:00
osaajani 9eb701ba98 Add a test adapter and add deletion of sendeds scheduled sms 2019-12-20 18:31:19 +01:00
osaajani 99cdf6516a Working daemons by extracting phone create and using cmd instead 2019-12-17 14:38:16 +01:00
osaajani 6614c2cfeb First almost working version of daemons 2019-12-12 00:56:30 +01:00
osaajani e709ed91b7 first console using daemon 2019-12-08 02:33:53 +01:00
osaajani 0edcaf3f69 temporary remove mms option 2019-12-04 05:08:46 +01:00