Commit Graph

114 Commits

Author SHA1 Message Date
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