Commit Graph

192 Commits

Author SHA1 Message Date
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
osaajani fb10b9cdfd Add support for mms 2019-12-04 03:04:45 +01:00
osaajani 88b00e4e9f Add unread messages support 2019-12-02 01:55:06 +01:00
osaajani cfde77a0c1 add import/Export contacts system 2019-11-30 05:31:20 +01:00
osaajani 9dd53cec7d Update disucssion and numebrs to direct linking 2019-11-29 05:29:03 +01:00
osaajani 0ef7a9cc36 Add send sms to contacts and groups by grouped actions 2019-11-29 00:19:34 +01:00
osaajani 47b26e3cd2 Finish add conditional groups 2019-11-28 01:55:11 +01:00
osaajani f4bbfa0152 Add first valid expression ruler. Still not linked to scheduleds. 2019-11-27 06:25:33 +01:00
osaajani f59f7bd757 Start adding conditional groups 2019-11-25 19:59:21 +01:00
osaajani 9f98fb5ae3 add contact data enrichment && add templating on messages 2019-11-20 02:45:00 +01:00
osaajani ccfc69baca Update all controllers to standard behavior 2019-11-15 06:30:23 +01:00
osaajani 18c7cb019d revert unwanted change to publics/User, fix errors phone & Settings 2019-11-14 23:09:56 +01:00
osaajani 6d9b1289fd fix lot of errors, working dashboard 2019-11-14 22:33:00 +01:00
osaajani 27d2a6c5b2 Update all controllers get_model 2019-11-14 21:44:31 +01:00
osaajani bc622285a4 Update internal controllers to use standard one 2019-11-14 02:02:50 +01:00
osaajani 35b74c9458 update command and contact controller to user standard 2019-11-13 06:13:55 +01:00
osaajani 155a048834 Update all models to use StandardModel basis 2019-11-13 03:24:22 +01:00
osaajani 0e22f3d02c Implement standard controller and model and update commands to use them 2019-11-12 20:46:45 +01:00
osaajani 4c27d8ccf2 to keep 2019-11-12 19:19:55 +01:00
osaajani 65dacb5302 Update sended, uniformize received 2019-11-12 17:58:07 +01:00
osaajani 23892f5983 Update received & scheduled 2019-11-12 17:37:20 +01:00
osaajani f609fc175f add adapters 2019-11-12 05:18:32 +01:00
osaajani b1c4a1e3aa Add phone 2019-11-12 05:16:59 +01:00
osaajani 9b7b78b306 update settings 2019-11-11 04:05:26 +01:00
osaajani a99e159b1f Update index and create is_connected 2019-11-11 00:22:40 +01:00
osaajani cf3553fef0 Add phone 2019-11-10 22:56:26 +01:00
osaajani 0f4ccbdb14 update license 2019-11-10 17:48:54 +01:00
osaajani 07f57e0145 fix style coding 2019-11-10 17:36:42 +01:00
osaajani bb6f755ef2 all basic functionnalities working fine 2019-11-10 17:32:59 +01:00
osaajani 1dfebd1df7 Update received 2019-11-10 17:00:21 +01:00
osaajani 29cd7edd5d move some fonts to dir with 's' because some external developper is an incompetent motherfucker, update all intl number, because they also are motherfuckers 2019-11-10 16:53:47 +01:00
osaajani 7de5410d0e use status for delivered 2019-11-10 02:04:13 +01:00
osaajani 5f3e228eca Reorder nav 2019-11-10 01:40:03 +01:00
osaajani f87aebb20c fix format number 2019-11-10 01:17:28 +01:00
osaajani 4fd36ad820 fix group 2019-11-10 01:02:10 +01:00
osaajani d6f5eb5206 fix list 2019-11-10 00:30:29 +01:00
osaajani ae42484a60 fix a lot a errors probably due to migration 2019-11-10 00:27:42 +01:00
osaajani afb899c003 add redirect to dashboard if already logged 2019-11-09 03:38:20 +01:00
osaajani bb8a114485 fix few routes and basic errors 2019-11-09 03:35:12 +01:00
osaajani 0442f8a9a6 fix settings controllers and models 2019-11-08 19:17:47 +01:00
osaajani 922e6c1c3b Update SMSAPI 2019-11-08 16:53:04 +01:00
osaajani 0e227a85c2 Ignore if no scheduleds to send 2019-11-07 19:31:49 +01:00
osaajani a43f365012 Ignore all files with . 2019-11-07 19:29:11 +01:00
osaajani c6050f06aa Add transfer controller and model, remove database model and transfer responsabilities 2019-11-07 16:17:18 +01:00
osaajani bda1c7ddfd Rename a few classes, fix bugs, fix syntax 2019-11-06 20:34:26 +01:00
osaajani 7cb963b8cf Fix another method 2019-11-06 20:27:16 +01:00
osaajani 155cace466 Transfer few methods from model database to propers tables models 2019-11-06 18:32:07 +01:00
osaajani f1170c82ea Fix database model methods names 2019-11-06 18:08:22 +01:00
osaajani b88413b311 remove useless functions from model DataBase 2019-11-06 18:03:06 +01:00
osaajani 10ae91d23d fix few last 2019-11-06 17:46:28 +01:00
osaajani 8f9bf0a729 fix a few things 2019-11-06 17:22:54 +01:00
osaajani be194a06a8 change group controller name 2019-11-05 17:05:35 +01:00
osaajani 4050dce290 validate contact 2019-11-04 18:33:04 +01:00
osaajani 46ebd39c04 Fix use of old db 2019-11-04 18:23:11 +01:00
osaajani 1865072b73 Update methods names 2019-11-04 17:12:52 +01:00
osaajani 37b2a93323 Fix unreal error phpstan 2019-10-30 01:22:09 +01:00
osaajani fab9e256ab Fix style and add config file to php-cs-fixer 2019-10-30 00:30:39 +01:00
osaajani 485a0cb6fd Fix all phpstan and php-cs-fixer errors 2019-10-30 00:17:10 +01:00
osaajani 117c18ddca few coderules changes 2019-10-29 18:36:25 +01:00
osaajani 9e9cd47b91 first refonte 2019-10-29 14:57:13 +01:00