Commit graph

68 commits

Author SHA1 Message Date
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
git-sid 885ba8930f fixed telegram api bug (from -> sender) 2018-09-09 13:25:42 +02:00
b3yond e2365735ff Merge pull request #32 from b3yond/mailbot
Rewriting the Mailbot, included subscription mechanism
2018-09-08 11:14:57 +02:00
b3yond d295c42122 finished #23 code. rw city page info display. Unsubscribe = Delete 2018-09-08 11:14:00 +02:00
b3yond adb637c22c BE & FE store secret in DB. Unsubscribing works 2018-09-08 09:33:40 +02:00
b3yond 76f8241792 wait on rate limit option for twitter APIs 2018-09-01 14:01:03 +02:00
b3yond 882d086a83 wrote unsubscribe function, but BE & FE have different secrets 2018-08-09 15:01:51 +02:00
b3yond da7ead65fa the mailbot can now receive messages from /var/mail/test 2018-08-08 17:09:26 +02:00
b3yond fca383806d started to build a mailbot implementing bot.py 2018-08-08 14:04:31 +02:00
b3yond a7f2b3847d fixed backend deployment with systemd 2018-07-14 17:17:36 +02:00