Commit graph

66 commits

Author SHA1 Message Date
b3yond d9be9f7705 changed twitter to work with db 2018-03-23 17:35:04 +01:00
b3yond e6c5d0d745 rename to frontend.py & backend.py 2018-03-23 13:19:39 +01:00
b3yond f6daca96eb initializing logger is also done by ticketfrei now 2018-03-23 11:18:00 +01:00
b3yond 52c47dbbfe ticketfrei can be imported now, takes care of loading config & logging 2018-03-23 11:05:24 +01:00
b3yond 45d5166499 excepted TweepError that was raised without an explanation further than 503 2018-01-18 21:48:36 +01:00
b3yond 0dc17d65f0 added more save_last(), schadet nicht 2018-01-18 20:15:41 +01:00
b3yond 38f7e31d6c bots don't own trigger anymore 2018-01-18 15:18:20 +01:00
b3yond 424352e83c twitter accidentially crawled too many tweets 2018-01-18 15:14:04 +01:00
b3yond 1119d259f1 added regex magic so twitter & masto don't mention themselves by accident 2018-01-18 14:48:53 +01:00
b3yond 331bf6277e bugfix: gave Report.__init__() twitter User object, not screen_name 2018-01-18 13:59:37 +01:00
b3yond 3638c36c29 twitterbot.crawl() returns reports now, not statuses 2018-01-18 13:54:32 +01:00
b3yond 7e3e4cf706 changed ticketfrei flow logic, integrated mailbot!!! #11 2018-01-18 13:06:53 +01:00
b3yond 42c72400fa Standardized reports; moved flow() logic to crawl(), repost(), & post(); bots don't own Trigger anymore 2018-01-18 11:41:08 +01:00
Thomas L 93cb87fc81 replace logger class with standard python loggin 2018-01-07 20:22:32 +01:00
b3yond 19460158f3 wrote fully fleshed out mailbot. has to be connected to ticketfrei.py #11 2018-01-05 17:13:41 +01:00
b3yond 4b9ebdaad8 started an IMAP listener to implement a 3rd bot: the Mailbot. #11 2018-01-05 14:16:24 +01:00
b3yond bffbc2075b removed unused shutdown contact, renamed variable 2018-01-05 11:02:45 +01:00
b3yond 6ad47b6a20 log traceback of all unexpected Exceptions 2018-01-05 10:52:15 +01:00
b3yond d5b2d2b13b reworked logger class - also handles bot crashes and tbs now. added configline for log directory. 2018-01-05 10:42:31 +01:00
b3yond e7d17a30e2 typo 2018-01-04 12:23:41 +01:00
b3yond b66c9862ec improved the traceback messages 2018-01-04 12:20:59 +01:00
b3yond 7bc17ef95e crash reports are now sent via mail. documented config.toml.example 2018-01-04 11:02:42 +01:00
b3yond 456f8decf9 added class to write mails to users 2018-01-01 11:23:50 +01:00
b3yond 7c00640afa finished changes to class structure 2017-12-30 16:33:34 +01:00
b3yond 5f2fa46a47 typo 2017-12-30 16:23:53 +01:00
b3yond b13baa018e moved log to own class 2017-12-30 16:20:25 +01:00
b3yond d188086fc0 Renamed config file to config.toml #6 2017-12-30 10:32:20 +01:00
b3yond 29d35c8d15 changed twitterbot to python3 + tweepy #7 2017-12-30 01:11:28 +01:00
b3yond 1cab8dffb6 small fixes, 280 limit, wait 60 seconds 2017-11-24 18:11:35 +01:00
b3yond f2d82285af If twitter is waiting on rate limit exceeded, it doesn't block the rest anymore. 2017-09-17 19:07:04 +02:00
b3yond 3eb9321c53 reverted so called "fix" and try-excepted the problem 2017-07-25 15:13:54 +02:00
b3yond 1833986565 fixed error with logging of utf-8 encoded logs 2017-07-25 15:00:57 +02:00
b3yond c8e2efc848 fixed sending DMs in shutdown() 2017-07-23 15:52:57 +02:00
b3yond d1dc51abea lots of small stuff which hopefully helps 2017-07-23 15:47:23 +02:00
b3yond 719685ce9c removed print of empty line in direct output 2017-07-23 15:00:52 +02:00
b3yond 063d3b7869 CRLF missing in log format, experimenting with twitter api rate limit 2017-07-23 14:40:30 +02:00
b3yond b3fa55104c fixed datetime error 2017-07-20 22:44:44 +02:00
b3yond 2f998a6e83 added function to create logs 2017-07-20 22:30:43 +02:00
b3yond b3e00368c4 added more nice debug messages, hopefully useful to the admin 2017-07-20 11:08:05 +02:00
b3yond a1599a9fec added timestamp for rate limit exceeded error 2017-07-20 10:56:50 +02:00
b3yond 5354d0d0fa fixed the problem with saving last_mention. Yay! 2017-07-19 12:32:32 +02:00
b3yond a3139b2380 fixed Rate limit exceeded Error 2017-07-19 12:17:15 +02:00
b3yond dc8ba181f7 further increase delay to avoid hitting twitter rate limit 2017-07-12 00:12:26 +02:00
b3yond d2910f8516 make toot->tweet format nicer 2017-07-11 23:50:55 +02:00
b3yond a2f7b49c99 fix twitter/mastodon interface (really) 2017-07-11 22:49:24 +02:00
b3yond b10090a449 fix twitter/mastodon interface 2017-07-11 22:16:26 +02:00
b3yond 5ccfe328ea make error messages great (again) 2017-07-11 22:05:46 +02:00
b3yond d745ad6520 improve docs & error messages 2017-07-11 21:51:37 +02:00
b3yond 3fa47de34e retweetbot worx again! 2017-06-25 23:50:58 +02:00
b3yond 8ad4696179 merged 2017-06-25 21:52:11 +02:00