Commit Graph

56 Commits

Author SHA1 Message Date
Homer S. 558ed192d9 Merge branch 'master' of https://git.ismus.net/homer77/FritzAB2Matrix 2021-07-22 09:32:58 +02:00
Homer S. 2b65daff7f Fixed issue #8 by adding a 5sec delay with time.sleep(5) to multitam(). Request for messages was too fast so that the new message wasn't in it yet. 2021-07-22 09:31:59 +02:00
Homer S. 114e9c3e49 Conditional clauses: Only start script on incoming calls. 2021-07-16 21:41:49 +02:00
Homer S. 3a32e64719 Merge branch 'master' into everycall 2021-07-16 20:54:48 +02:00
Homer S. 97eb34814f Some more fixes on docker build related files. 2021-07-14 21:44:11 +02:00
Homer S. 60adf393ef Further corrections on docker build related files. 2021-07-14 21:08:24 +02:00
Homer S. d91095dcf8 olm-dev was missing in the Dockerfile to build cryptography of matrix-commander. 2021-07-14 20:30:06 +02:00
Homer S. 1949f9f84a Corrected the python-magic item (typo). Also if one doesn't upgrade the requirements matrix-nio won't work. 2021-07-14 19:29:28 +02:00
Homer S. b7fdd6e0e6 Added some condtions to prevent script from breaking if list of missed calls is empty. 2021-07-14 19:27:39 +02:00
Homer S. 6652def351 Merge branch 'docker' 2021-07-11 16:29:12 +02:00
Homer S. 7c299786f0 Reduced image size furtherly. Now 329MB and based on python:alpine. 2021-07-11 16:23:13 +02:00
Homer S. 31cd42b43c Merge branch 'everycall' of https://git.ismus.net/homer77/FritzAB2Matrix into everycall 2021-07-10 23:06:33 +02:00
Homer S. 01f450fca9 Some dependencies were missing to successfully build the docker image. 2021-07-10 23:00:39 +02:00
Homer S. dbc54f595e Updated README regarding missed call feature. 2021-07-10 18:52:01 +02:00
Homer S. 22af5f80eb Get branch to state of master. 2021-07-10 18:42:18 +02:00
Homer S. b2ac69d49f Added option to also notify about missed calls. 2021-07-10 13:40:19 +02:00
Homer S. 7e2ef5822d Uncommented deletion of not longer needed packages from docker image. 2021-07-10 10:22:04 +02:00
Homer S. 63004853a3 Merge pull request 'Changed base image to alpine:latest.' (#10) from docker into master
Reviewed-on: #10
2021-07-10 09:12:31 +02:00
Homer S. 2462cba3c4 Changed base image to alpine:latest. 2021-07-10 09:08:58 +02:00
Homer S. 78829aadcb added a variable if there were new messages or not 2021-07-10 00:31:20 +02:00
Homer S. 002858c7cc Erroneously had functions twice in code after merge and deleted them. 2021-07-08 22:50:30 +02:00
Homer S. 134e966ed9 Minor markdown correction 2021-07-08 00:03:48 +02:00
Homer S. 4f0cae501c Update about multitam in README 2021-07-07 23:30:25 +02:00
Homer S. 41916ae7c7 Merged with multitam. 2021-07-07 22:50:22 +02:00
Homer S. 0e85b61868 Merge with multitam branch. 2021-07-07 22:31:05 +02:00
Homer S. fe2ce2b420 Nothing to test up to now ... 2021-07-06 23:05:04 +02:00
Homer S. dfe3543777 Test for fritzab2matrix.py 2021-07-06 17:16:00 +02:00
Homer S. 6f696bf970 File to import main file to tests. 2021-07-06 17:15:15 +02:00
Homer S. 25aeeb5c9b Moved helper functions out of the main function. 2021-07-06 17:14:00 +02:00
Homer S. 9e6e294491 Fixed #4 by appending a single message to list. 2021-07-01 20:44:29 +02:00
Homer S. 57243129a3 gitignore emacs autosave files 2021-07-01 19:32:42 +02:00
Homer S. 1aa3662f39 Corrected README.md
I used the wrong option with pip install. Now it's correctly pip install --upgrade pip.
2021-07-01 09:51:43 +02:00
Homer S. d79b70213b Corrected the FRITZ_VOICEBOX_PATH. 2021-07-01 00:37:23 +02:00
Homer S. 631957e55f Additional remark about the FRITZ_VOICEBOX_PATH variable and use of USB storage with the TAM." 2021-07-01 00:18:02 +02:00
Homer S. 0ef1ea3f43 Corrected hashbang to /usr/bin/env python3 because the docker file couldn't interpret only 'python' ... 2021-07-01 00:04:06 +02:00
Homer S. adc9eb0a3b Changed main() to fritzab2matrix.py to not to mix up with the __main__ function. Also removed the while loop in the latter which didn't work despite of the recursive function. Also removed the recursive ended_call(main, env_ip) because that broke the script on one tested machine. 2021-06-30 23:36:51 +02:00
Homer S. 8c4bb4e452 Add check if message_list is empty before entering for loop. 2021-06-30 23:21:43 +02:00
Homer S. 8c79991ae7 a['Name'] doesn't get an empty string but type None. So a check for its length led to a failure. 2021-06-30 21:54:50 +02:00
Homer S. 2f827d594c I forgot to pull before I updated file.
Merge branch 'master' of ssh://git.ismus.net:2222/homer77/FritzAB2Matrix
2021-06-30 21:06:19 +02:00
Homer S. 821e44e130 Added env variable FRITZ_VOICEBOX_PATH 2021-06-30 21:06:06 +02:00
Homer S. 3b2fc819ce Merge branch 'master' of https://git.ismus.net/homer77/FritzAB2Matrix 2021-06-30 20:13:26 +02:00
Homer S. 4d03ec33d9 Added truncation for credentials keyword 2021-06-30 20:11:45 +02:00
Homer S. f5ca730734 Changed to a less environment specific Hashbang. 2021-06-30 00:39:52 +02:00
Homer S. 74976133fd Corrected markdown. 2021-06-29 23:21:17 +02:00
Homer S. 39c2fd6b4a Corrected markdown. 2021-06-29 23:19:51 +02:00
Homer S. cae5a40d52 Corrected markdown. 2021-06-29 23:17:27 +02:00
Homer S. 77d5c633b2 Corrected markdown. 2021-06-29 23:11:29 +02:00
Homer S. bcd26f95f2 Corrected markdown. 2021-06-29 23:10:07 +02:00
Homer S. 2b96862b1f * Added installation instructions to Readme
* Added the volume directive to docker-compose.yml so that it points to the repository.
2021-06-29 23:03:32 +02:00
Homer S. 654f6720fa * had a hard time with docker image only to find out in the end - after hours - that I commented out the matrix-commander command for testing purposes :see-no-evil:
* There is still testing if I use ENTRYPOINT in the _Dockerfile_ or only entrypoint in the _docker-compose.yml_ as the latter worked well and without any problem.
* fritzab2matrix.py is now executable (WATCHOUT! The hashbang points to your system's python3 NOT to your virtualenv where the dependencies are met!)
* the monitoring is now part of the main function
2021-06-29 14:26:04 +02:00