Commit Graph

107 Commits

Author SHA1 Message Date
b3yond b9a4899981 fixing #38: putting the city into the From address of report mails 2018-10-06 02:46:54 +02:00
b3yond 304d83ffad fixing #39 - saving last request in global var, not db. 2018-10-06 00:56:12 +02:00
b3yond 9b3efd7bd2 fixed #41 - mention has to be in status text now 2018-10-05 23:40:41 +02:00
b3yond 24598f0b87 crawl only mentions, no replies 2018-10-05 11:02:12 +02:00
b3yond dc8f51c632 payload is extracted later, we need the message object here 2018-10-05 10:56:34 +02:00
b3yond 34d43f1911 get text of email, not message object 2018-09-25 11:06:08 +02:00
b3yond 2d12aa7107 save the newest id, not the current 2018-09-24 23:08:29 +02:00
b3yond 47a7452eb4 excepting and logging Twitter Errors to prevent crashes 2018-09-24 23:02:10 +02:00
b3yond 234ed59049 don't require correctly cased mail addresses 2018-09-24 22:40:29 +02:00
b3yond 732ac1c5d3 changed toot logic 2018-09-24 20:54:57 +02:00
b3yond 244bde51b6 added email routing with exim4 via /etc/aliases 2018-09-23 18:53:46 +02:00
b3yond 11f3c5713b
Merge pull request #36 from git-sid/multi-deployment
merge small stylechanges
2018-09-15 18:58:08 +02:00
b3yond 1a793657af
right of = should be right of = 2018-09-15 18:50:37 +02:00
b3yond e9ac7286d9
peak readability 2018-09-15 18:47:43 +02:00
b3yond 823df7b04a fix TypeError when updates == None 2018-09-14 19:59:45 +02:00
git-sid 1703eb3802 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 c2ed73bafc Make code more pep8 compliant 2018-09-13 17:33:33 +02:00
git-sid c576888da5 small fix 2018-09-13 17:24:19 +02:00
b3yond 6757e62242 those error messages are a bit universal. 2018-09-09 21:36:01 +02:00
b3yond 3e83ba95da those error messages are a bit universal. 2018-09-09 20:32:10 +02:00
b3yond a54538bcea fixed seen_toot problem 2018-09-09 20:22:41 +02:00
b3yond 6f3c953736 fixed telegram spam problem!!111 2018-09-09 18:06:12 +02:00
b3yond 0624bcb378 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 6cac81e444 fixing more telegram bugs 2018-09-09 17:51:07 +02:00
git-sid f68a869309 added message type filtering -> only text messages get crawled 2018-09-09 17:47:38 +02:00
b3yond a0bd5e69e1 Merge remote-tracking branch 'origin/multi-deployment' into multi-deployment 2018-09-09 17:29:29 +02:00
b3yond 4b953f54e5 Making Twitter Rate Limiting intelligent #35 2018-09-09 17:29:06 +02:00
git-sid 8acbfb4569 added offset to telegram message polling to prevent duplicated responses 2018-09-09 17:22:00 +02:00
b3yond 439dbeb1fa telegram troubleshooting and fine-tuning 2018-09-09 16:58:07 +02:00
b3yond 40c834020a logging confirmation links for debug purposes 2018-09-09 14:57:40 +02:00
git-sid 185014a452 fixed telegram api bug (from -> sender) 2018-09-09 13:25:42 +02:00
b3yond b80b80dc43
Merge pull request #32 from b3yond/mailbot
Rewriting the Mailbot, included subscription mechanism
2018-09-08 11:14:57 +02:00
b3yond 96329e968e finished #23 code. rw city page info display. Unsubscribe = Delete 2018-09-08 11:14:00 +02:00
b3yond c7aa87cb3b BE & FE store secret in DB. Unsubscribing works 2018-09-08 09:33:40 +02:00
b3yond 9c599cec37 wait on rate limit option for twitter APIs 2018-09-01 14:01:03 +02:00
b3yond 372e0612a6 wrote unsubscribe function, but BE & FE have different secrets 2018-08-09 15:01:51 +02:00
b3yond 57a2e4dcb1 the mailbot can now receive messages from /var/mail/test 2018-08-08 17:09:26 +02:00
b3yond ec399db2eb started to build a mailbot implementing bot.py 2018-08-08 14:04:31 +02:00
b3yond 10b3550ad6 fixed backend deployment with systemd 2018-07-14 17:17:36 +02:00
b3yond 2d879383d4 took out mailbot for now. development of mailbot continues on the mailbot branch. 2018-07-14 16:49:11 +02:00
b3yond 4343be7e06 bots are safely imported in the backend, except twitterDMs 2018-07-14 16:39:53 +02:00
sid 57a4a50254 modified telegram bot subscribe implementation 2018-06-30 22:11:41 +02:00
sid a8504971ea
completed telegram subscriber list functionality 2018-06-30 21:32:22 +02:00
sid a48ba9ebf8 added /start, /stop, /help command check & small fixes 2018-05-29 07:07:15 +02:00
sid 29a577508f added basic telegram backend support 2018-05-25 02:38:27 +02:00
b3yond dd24a2b265 fixing import error 2018-04-16 09:38:55 +02:00
b3yond 16580f3181 implemented twitter DMs 2018-04-15 11:58:19 +02:00
b3yond 7f8697947c twitter & masto sign limit 2018-04-15 11:42:34 +02:00
b3yond 758ff1db46 implemented mastodon DMs, city, and backend.shutdown function 2018-04-15 11:26:48 +02:00
b3yond 10fb150c21 merge 2018-03-29 02:00:28 +02:00
b3yond 29c35be8a5 reworked mailbot to implement bot.py 2018-03-29 01:50:05 +02:00
Thomas L bfc311b6c9 omit bare except. 2018-03-29 01:25:17 +02:00
b3yond ba6e13a2be started mail rewrite 2018-03-29 00:13:00 +02:00
b3yond 66bb1f86a3 reworked twitterbot according to new scheme 2018-03-28 23:33:04 +02:00
b3yond 49bd00fba3 clean up after refactor 2018-03-28 22:12:57 +02:00
b3yond ec3053a0ab small bugfixes 2018-03-28 20:24:21 +02:00
Thomas L 1dd75c10d5 Refactoring. 2018-03-28 17:36:35 +02:00