Commit Graph

315 Commits

Author SHA1 Message Date
Lynne Megido 386d32367a respect maximum post privacy setting when replying 2019-09-16 12:37:00 +10:00
Lynne Megido 6b8931ec3d add a help menu for the settings page 2019-09-14 14:51:07 +10:00
Lynne Megido ad1b59a401 fix #18 by replacing \0 with \1 2019-09-14 14:37:25 +10:00
Lynne Megido ac9ea67edb handle @x as well as @x@y, fixes #20 2019-09-14 14:25:54 +10:00
Lynne Megido 7ee4042592 fix an SQL query that was causing bots to use the wrong credentials 2019-09-14 11:49:34 +10:00
Lynne Megido a9fcda794c use a new db connection for each scrape thread 2019-09-13 12:11:01 +10:00
Lynne Megido af1f8c6d8b warn about rate limit 2019-09-13 12:03:59 +10:00
Lynne Megido be9685a881 don't 500 on instances without contact_account 2019-09-13 11:56:38 +10:00
Lynne Megido ea8e46c07c better warning for pleroma users 2019-09-12 21:56:41 +10:00
Lynne Megido 129a7a78f8 fix pleroma support 2019-09-12 21:54:55 +10:00
Lynne Megido 30ccd37505 fix potential reference before assignment 2019-09-12 21:31:19 +10:00
Lynne Megido 382ef00f85 display time correctly 2019-09-11 21:05:28 +10:00
Lynne Megido 0df53877ab only display time til next post if bot is enabled 2019-09-11 21:04:24 +10:00
Lynne Megido 34c88984e8 display time until next post on home page 2019-09-11 21:03:43 +10:00
Lynne Megido 6d6b975fc0 fix default datetime values 2019-09-11 20:43:33 +10:00
Lynne Megido b688186c28 render bot_create template when there's an error 2019-09-11 18:37:29 +10:00
Lynne Megido 63722bb7a2 handle connection errors on bot creation page 2019-09-11 18:33:02 +10:00
Lynne Megido f982e54a2d fixed some more issues that didn't happen before 2019-09-11 18:16:36 +10:00
Lynne Megido 8fceadf93d handle revoked access tokens 2019-09-11 18:02:26 +10:00
Lynne Megido a981c7a171 print a 'finished' message when done scraping a given user's posts 2019-09-11 15:47:48 +10:00
Lynne Megido de0505004d oops 2019-09-11 15:43:44 +10:00
Lynne Megido 8b16e698c8 handle case where there's no posts to learn from 2019-09-11 15:43:18 +10:00
Lynne Megido f0139a61a7 commit earlier on service.py 2019-09-11 15:35:09 +10:00
Lynne Megido ac29216973 make scrape.py commit more frequencly 2019-09-11 15:28:50 +10:00
Lynne Megido cfa32589d4 handle case where we haven't scraped any posts yet i guess 2019-09-11 15:26:28 +10:00
Lynne Megido bb7c50a648 commit to db when done 2019-09-11 15:23:00 +10:00
Lynne Megido 83ceb83e72 handle replies properly, including mentions and privacy 2019-09-11 15:00:15 +10:00
Lynne Megido 630ab4c34e fix silly indentation mistake 2019-09-11 14:39:13 +10:00
Lynne Megido 87cd5ccd7c ignore .pyc files 2019-09-11 14:38:05 +10:00
Lynne Megido f92951e91f implement replies 2019-09-11 14:37:13 +10:00
Lynne Megido 7e1393e7b9 decrypt incoming push objects 2019-09-11 14:15:26 +10:00
Lynne Megido 8e5538dc7d exempt /push from authenticated pages 2019-09-10 22:53:15 +10:00
Lynne Megido 80b683cfde remove comment that no longer applies 2019-09-10 22:25:04 +10:00
Lynne Megido 38463fefb2 enable db unicode support 2019-09-10 22:21:22 +10:00
Lynne Megido 57278a65ba fix keyerror 2019-09-10 22:03:56 +10:00
Lynne Megido 2cbad2eff3 truly fixed the weird bug. requesting / no longer resets session['step'] 2019-09-10 17:06:24 +10:00
Lynne Megido 28ca5c3d83 add favicon to fix a very weird bug 2019-09-10 17:00:14 +10:00
Lynne Megido fb1f05d96b redirect to the home page on invalid instance type 2019-09-10 16:21:00 +10:00
Lynne Megido 44c9cb0248 remove unecessary form actions 2019-09-10 16:10:58 +10:00
Lynne Megido bd5733ef11 add wsgi.py for use with gunicorn 2019-09-10 15:08:48 +10:00
Lynne Megido 313dbc37fd make login and signup pages look better 2019-09-10 15:06:31 +10:00
Lynne Megido b39a10c16f remove erroneous close bracket 2019-09-10 14:41:16 +10:00
Lynne Megido bc6745ae02 use service_threads instead of hardcoding 8 2019-09-10 14:22:31 +10:00
Lynne Megido 4de3997b5a add sample config 2019-09-10 14:21:43 +10:00
Lynne Megido 97bfa28694 prepare for initial release 2019-09-10 14:18:21 +10:00
Lynne Megido 787851b13a bot settings page is now fully functional! 2019-09-10 14:07:44 +10:00
Lynne Megido 6838e16b03 bot_edit now displays user's settings 2019-09-10 13:36:36 +10:00
Lynne Megido efa1eef5cc hide report error button until email works 2019-09-10 13:14:48 +10:00
Lynne Megido 9af94124b6 correctly format an error 2019-09-10 13:13:06 +10:00
Lynne Megido 43a1ff62b6 handle errors when adding accounts 2019-09-10 13:12:40 +10:00