Commit graph

67 commits

Author SHA1 Message Date
b3yond be118fb4bd renamed retweetbot & retootbot (wtf, those names) 2018-03-23 18:06:59 +01:00
b3yond 5f55eb88ff changed twitter to work with db 2018-03-23 17:35:04 +01:00
b3yond c612a9dee0 rename to frontend.py & backend.py 2018-03-23 13:19:39 +01:00
b3yond a3b74dcfff initializing logger is also done by ticketfrei now 2018-03-23 11:18:00 +01:00
b3yond 32e86a3c0e ticketfrei can be imported now, takes care of loading config & logging 2018-03-23 11:05:24 +01:00
b3yond 37b2706a3b excepted TweepError that was raised without an explanation further than 503 2018-01-18 21:48:36 +01:00
b3yond 9305a32eb7 added more save_last(), schadet nicht 2018-01-18 20:15:41 +01:00
b3yond 12fbbde79c bots don't own trigger anymore 2018-01-18 15:18:20 +01:00
b3yond 21e4af6fa9 twitter accidentially crawled too many tweets 2018-01-18 15:14:04 +01:00
b3yond 10de40549c added regex magic so twitter & masto don't mention themselves by accident 2018-01-18 14:48:53 +01:00
b3yond 72d0acb20a bugfix: gave Report.__init__() twitter User object, not screen_name 2018-01-18 13:59:37 +01:00
b3yond b174db3cfe twitterbot.crawl() returns reports now, not statuses 2018-01-18 13:54:32 +01:00
b3yond d6a0c6d377 changed ticketfrei flow logic, integrated mailbot!!! #11 2018-01-18 13:06:53 +01:00
b3yond ff73c5dc21 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 f2a0cf18b4 replace logger class with standard python loggin 2018-01-07 20:22:32 +01:00
b3yond a0ca940008 wrote fully fleshed out mailbot. has to be connected to ticketfrei.py #11 2018-01-05 17:13:41 +01:00
b3yond 5c98aa7677 started an IMAP listener to implement a 3rd bot: the Mailbot. #11 2018-01-05 14:16:24 +01:00
b3yond e962bbbe85 removed unused shutdown contact, renamed variable 2018-01-05 11:02:45 +01:00
b3yond 0b89a52da3 log traceback of all unexpected Exceptions 2018-01-05 10:52:15 +01:00
b3yond 654af44534 reworked logger class - also handles bot crashes and tbs now. added configline for log directory. 2018-01-05 10:42:31 +01:00
b3yond 8357be7f7d typo 2018-01-04 12:23:41 +01:00
b3yond 98dd5e4212 improved the traceback messages 2018-01-04 12:20:59 +01:00
b3yond 0f6fc60b5e crash reports are now sent via mail. documented config.toml.example 2018-01-04 11:02:42 +01:00
b3yond df32f3c614 added class to write mails to users 2018-01-01 11:23:50 +01:00
b3yond d7dea7df00 finished changes to class structure 2017-12-30 16:33:34 +01:00
b3yond 96ef5e2a3f typo 2017-12-30 16:23:53 +01:00
b3yond e64e3702f6 moved log to own class 2017-12-30 16:20:25 +01:00
b3yond d22c85da1b Renamed config file to config.toml #6 2017-12-30 10:32:20 +01:00
b3yond fb24c758a8 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