Commit Graph

629 Commits

Author SHA1 Message Date
Orsiris de Jong 3c8061dbbb
Allow get_gamm_version() failure 2022-10-23 11:19:22 +02:00
Orsiris de Jong 2309a0e031
Improve Gammu SMS Receiver
This as a rewrite of `gammu_get_unread_sms.py` script that adds:
- Support for long SMS
- Added proper CLI interface (see --help)
- Added optional --delete parameter which deletes SMS after printing them as JSON
- Added optional --show-read parameter which shows all not Unread marked SMS
- Added logging and --debug option
- Retain retrocompatibility with earlier versions of this script
- Retain retrocompatibility with Python 2.7+ (hopefully)

Fixes #181.
Btw, the interface with RaspiSMS could be improved with a temporary JSON file, using stdout seems lossy.
2022-10-20 23:15:04 +02:00
Pierre-Lin Bonnemaison d6b650147a
Merge pull request #192 from deajan/gammu-fix-unlock-sms
Don't bother to check SIM security status on successful unlock
2022-10-19 18:30:11 +02:00
Pierre-Lin Bonnemaison 9691ee45a0
Merge pull request #194 from deajan/gammu-utf8
Make sure Gammu always sends as UTF-8 format
2022-10-19 18:23:05 +02:00
Orsiris de Jong 4776b147e5
Make sure Gammu always sends as UTF-8 format 2022-10-19 00:46:29 +02:00
Pierre-Lin Bonnemaison 61bec81c44
Merge pull request #191 from deajan/gammu-fixes
Make sure Gammu speaks english
2022-10-18 19:26:52 +02:00
Orsiris de Jong 82021648a3
Don't bother to check SIM security status on successful unlock 2022-10-17 19:19:28 +02:00
Orsiris de Jong f790adc6a1
Make sure Gammu speaks english
Gammu returns localized messages whereas GammuAdapter searches for string "nothing".
Force Gammu to return english messages so word searches will work properly.
This fixes #172
2022-10-17 19:15:32 +02:00
osaajani ad1f798ae6 fix trailing $ 2022-09-28 20:10:12 +02:00
osaajani 3dd5e099e8 Change addressing system for message queue of phones to fix issue #189 on 32 bits systems 2022-09-28 20:02:35 +02:00
osaajani ea744d31e2 Check phone exists on callback reception 2022-09-26 17:31:32 +02:00
osaajani 5c5571d38a up version 2022-09-26 17:18:15 +02:00
osaajani 11b481aebd add limit check to size of sms 2022-09-26 17:17:41 +02:00
osaajani 99349a35c5 Bump version 2022-07-12 13:16:49 +02:00
osaajani a0f3784baa Change phone adapter meta number to type phone_number + add support for boolean adapter data + add a noStaupClose to ovh adapter 2022-07-12 13:16:22 +02:00
osaajani 9c9f99c87a fix discussion send message not working after introduction of data in numbers 2022-04-25 18:48:18 +02:00
osaajani 65f74dc27b fix discussion send message not working after introduction of data in numbers 2022-04-25 18:47:55 +02:00
osaajani f1a4eb008b Add update of phone from api 2022-03-30 02:16:08 +02:00
osaajani 8889eb3ded update version 2022-03-28 01:54:59 +02:00
osaajani a226139630 Add support for hidding adapter datas 2022-03-28 01:54:38 +02:00
osaajani 5c69237169 add actual usage of data on numbers 2022-03-19 22:56:56 +01:00
osaajani cf7fa2784b add support for sms to rich number + add support for sms to csv 2022-03-19 20:06:11 +01:00
osaajani 81fb987740 Add support for numbers with data on scheduled + add support for sending sms to a csv file 2022-03-15 02:24:28 +01:00
osaajani 7fc7a8f245 Add button to show api key and add qrcode 2022-01-20 02:52:31 +01:00
osaajani 85fb487d84 Hide api key by default and add qrcode 2022-01-20 02:51:41 +01:00
osaajani bd3da73711 Change UTF8 to utf8mb4 to properly support utf8 in mysql 2021-12-29 02:54:21 +01:00
osaajani fadffdab10 extend suppression of smsstops to all users 2021-12-27 20:25:23 +01:00
osaajani b5d1483048 Add delay on direct sms reading to prevent api rate limit exceed 2021-12-21 15:03:10 +01:00
osaajani 85c09673b1 remove useless log 2021-12-21 15:01:46 +01:00
osaajani c69527a5ad fix counting tick for read phone 2021-12-21 15:00:34 +01:00
osaajani cc188f3118 Add delay between two read operation on daemon phones to prevent too many api call 2021-12-21 14:43:07 +01:00
osaajani 3f632e9db7 Catch php error in ruler evaluate. Unify all dates functions by using real DateTime objects and function date -> date_create and date_from_format -> date_create_from_format. 2021-12-02 01:03:42 +01:00
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 e80638dd2e Up version 2021-11-26 19:41:13 +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 87a04742a3 fix version 2021-10-18 03:42:34 +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