Commit graph

77 commits

Author SHA1 Message Date
b3yond 25b9108e7f updated example config options + 1 little fix 2018-11-06 08:56:24 +01:00
b3yond 7a7d405072 fix mailbot crash:
File "/srv/ticketfrei/active_bots/mailbot.py", line 37, in post
    if rec not in report.author:
TypeError: argument of type 'NoneType' is not iterable
2018-10-26 18:20:01 +02:00
b3yond 3d869e57ac added 502 to unlogged Telegram error codes 2018-10-26 17:27:00 +02:00
b3yond 75f508dcdf excepted return message 34 so it doesn't get logged #39 2018-10-11 22:22:37 +02:00
b3yond 87fe7c1d59 excepted with wrong Exception 2018-10-11 21:30:55 +02:00
b3yond 7fbf7521fc called wrong user method 2018-10-11 21:29:02 +02:00
b3yond 73ce2b53a9 fixing bug; twitterDM object wasn't created 2018-10-11 21:24:53 +02:00
b3yond 9121b49d0a check if mention is in reply to anything #41 2018-10-08 23:32:33 +02:00
b3yond ea95384a10 Revert "crawl the username only once from twitter and save to db #45"
This reverts commit 9836ec7752.
2018-10-08 23:27:45 +02:00
b3yond 1f09a92c58 crawl the username only once from twitter and save to db #45 2018-10-08 21:31:25 +02:00
b3yond cbf5502f99 fix repost bug 2018-10-08 21:26:39 +02:00
b3yond 385941a2c6 ignore PGP signatures; I hope those messages get posted now #40 2018-10-08 15:02:27 +02:00
b3yond 35c3052fcd really fix shutdown in #40 2018-10-07 23:28:29 +02:00
b3yond 0337869dd0 fix shutdown in #40 2018-10-07 23:27:06 +02:00
b3yond 86622c66cb reverting #39 - make rate limits per account, not app 2018-10-07 22:10:48 +02:00
b3yond ce88e4976d fixing #42 - excepting more Telegram error codes 2018-10-07 19:09:02 +02:00
b3yond 9c0744c9d4 Merge remote-tracking branch 'origin/multi-deployment' into multi-deployment 2018-10-07 18:48:05 +02:00
b3yond 5c13e1711a fixing #40 - treating different message MIMEtypes 2018-10-07 18:47:37 +02:00
b3yond df007cd7e3 globals are in a separate python file now #39 #45 2018-10-06 10:44:07 +02:00
b3yond 6f5db8bb90 fixing #44 - refactoring how mails are sent 2018-10-06 10:20:37 +02:00
b3yond 5f24384a9a fixing #38: putting the city into the From address of report mails 2018-10-06 02:46:54 +02:00
b3yond a459ba92c1 fixing #39 - saving last request in global var, not db. 2018-10-06 00:56:12 +02:00
b3yond 76ca4d772a fixed #41 - mention has to be in status text now 2018-10-05 23:40:41 +02:00
b3yond 272fcb2d49 crawl only mentions, no replies 2018-10-05 11:02:12 +02:00
b3yond a70a7593ad payload is extracted later, we need the message object here 2018-10-05 10:56:34 +02:00
b3yond 044185ff91 get text of email, not message object 2018-09-25 11:06:08 +02:00
b3yond c7dd0ac16b save the newest id, not the current 2018-09-24 23:08:29 +02:00
b3yond 2129306758 excepting and logging Twitter Errors to prevent crashes 2018-09-24 23:02:10 +02:00
b3yond 8255b833fb don't require correctly cased mail addresses 2018-09-24 22:40:29 +02:00
b3yond da2ddc2900 changed toot logic 2018-09-24 20:54:57 +02:00
b3yond 531c027f04 added email routing with exim4 via /etc/aliases 2018-09-23 18:53:46 +02:00
b3yond 0d9c6439a7 Merge pull request #36 from git-sid/multi-deployment
merge small stylechanges
2018-09-15 18:58:08 +02:00
b3yond 14d982702e right of = should be right of = 2018-09-15 18:50:37 +02:00
b3yond ac85b2e0be peak readability 2018-09-15 18:47:43 +02:00
b3yond ef4be74fd1 fix TypeError when updates == None 2018-09-14 19:59:45 +02:00
git-sid 7e6043f4a2 Make code even more PEP8 compliant
It could be made even more compliant, but that would actually decrease
readability imo.
2018-09-14 12:45:49 +02:00
git-sid 756a9fb676 Make code more pep8 compliant 2018-09-13 17:33:33 +02:00
git-sid 09d5d23c07 small fix 2018-09-13 17:24:19 +02:00
b3yond 2e05c9ab91 those error messages are a bit universal. 2018-09-09 21:36:01 +02:00
b3yond 2897287b55 those error messages are a bit universal. 2018-09-09 20:32:10 +02:00
b3yond b80fa78a17 fixed seen_toot problem 2018-09-09 20:22:41 +02:00
b3yond 4924519ba7 fixed telegram spam problem!!111 2018-09-09 18:06:12 +02:00
b3yond 9c27c4093a Merge branch 'multi-deployment' of github:git-sid/ticketfrei into multi-deployment
# Conflicts:
#	active_bots/telegrambot.py
2018-09-09 17:52:23 +02:00
b3yond dbfff0bad0 fixing more telegram bugs 2018-09-09 17:51:07 +02:00
git-sid 90ca3a8fa2 added message type filtering -> only text messages get crawled 2018-09-09 17:47:38 +02:00
b3yond 378e11bf59 Merge remote-tracking branch 'origin/multi-deployment' into multi-deployment 2018-09-09 17:29:29 +02:00
b3yond bd804a432d Making Twitter Rate Limiting intelligent #35 2018-09-09 17:29:06 +02:00
git-sid c93c7a47b8 added offset to telegram message polling to prevent duplicated responses 2018-09-09 17:22:00 +02:00
b3yond 2baa42d8f3 telegram troubleshooting and fine-tuning 2018-09-09 16:58:07 +02:00
b3yond 26f720c1a8 logging confirmation links for debug purposes 2018-09-09 14:57:40 +02:00