Commit Graph

355 Commits

Author SHA1 Message Date
Lynne Megido eb3fb77c18 implemented settings 2019-09-09 22:08:43 +10:00
Lynne Megido 3a0c67fc4e minor cleanup 2019-09-09 19:56:19 +10:00
Lynne Megido 9c1a4378b3 fix comment indentation 2019-09-09 19:53:08 +10:00
Lynne Megido 33cbbd1de9 update post privacy enum to match mastodon's naming scheme 2019-09-09 19:51:45 +10:00
Lynne Megido 7f638e321e implement fake mention settings 2019-09-09 19:49:48 +10:00
Lynne Megido 1d3b06cb0b change fake_mentions start setting to middle 2019-09-09 19:40:22 +10:00
Lynne Megido 3ebcb589ce handle content warning and post privacy settings 2019-09-09 14:08:25 +10:00
Lynne Megido 7b5227c3dc moved make_post to functions.py 2019-09-09 13:39:28 +10:00
Lynne Megido 436a911397 implement learn_from_cw setting 2019-09-08 13:59:50 +10:00
Lynne Megido d0e42a35c4 basic post generation 2019-09-08 13:32:21 +10:00
Lynne Megido b5e1d880e7 basic posting support 2019-09-07 19:58:42 +10:00
Lynne Megido e5064d14ce fix authentication bug and user add bug 2019-09-07 19:55:37 +10:00
Lynne Megido 0ed4736dd0 if no bots are learning from an account, delete it 2019-09-07 19:37:48 +10:00
Lynne Megido 487939fec0 show report bug button on error banner 2019-09-07 14:01:06 +10:00
Lynne Megido 34db513785 remove unecessary call to login_check 2019-09-07 13:51:30 +10:00
Lynne Megido e6e6ed9c28 redirect to home if user tries to access page requiring authentication while signed out 2019-09-07 13:51:02 +10:00
Lynne Megido 44c7e24a53 initial work on bot posting 2019-09-07 13:31:11 +10:00
Lynne Megido 7015431687 created bug report page 2019-09-06 20:54:29 +10:00
Lynne Megido c38f01b07a display posts in DB on /bot/accounts 2019-09-06 12:47:39 +10:00
Lynne Megido fc45f4c4c0 ordre accounts randomly so we don't always do them in the same order 2019-09-06 12:39:51 +10:00
Lynne Megido 9ccd5586bf scrape user posts 2019-09-06 12:38:50 +10:00
Lynne Megido dd3679d8db started work on service.py, the cron thing that actually downloads the posts 2019-09-03 14:29:45 +10:00
Lynne Megido 0294f8e004 redirect to accounts page after successful add 2019-09-03 14:27:03 +10:00
Lynne Megido 4680bc19c1 bots default to being offline 2019-09-03 14:17:50 +10:00
Lynne Megido 802120540a request and store web push credentials 2019-09-03 14:17:20 +10:00
Lynne Megido be0a843c1a fix a few render_template calls 2019-09-03 13:31:44 +10:00
Lynne Megido 1f7bcf58db minor stuff 2019-09-03 13:29:50 +10:00
Lynne Megido 252a8dd6cf add warning about fedibooks being in beta 2019-09-03 13:23:50 +10:00
Lynne Megido fb54d65d74 implement errors that can be shown to the user 2019-09-03 13:22:00 +10:00
Lynne Megido 4f2741c384 prepare for webpush integration 2019-09-03 12:03:16 +10:00
Lynne Megido 4e79872eae add push scope 2019-09-03 11:47:59 +10:00
Lynne Megido c25e0764fe allow users to stop learning from fedi accounts 2019-09-03 11:44:54 +10:00
Lynne Megido 8f476ca981 fixed inconsistent css formatting 2019-09-02 20:45:58 +10:00
Lynne Megido ec758d9d8f users can now toggle accounts the bot learns from 2019-09-02 20:44:03 +10:00
Lynne Megido bca0da6c45 fixed wrong colour on visited links 2019-09-02 20:43:48 +10:00
Lynne Megido 9bbc669fcc cleaned up home template 2019-09-02 20:28:05 +10:00
Lynne Megido f4465219d0 list accounts bot is learning from 2019-09-02 20:26:45 +10:00
Lynne Megido ca6e06668f add enabled column to bot_learned_accounts 2019-09-02 20:14:03 +10:00
Lynne Megido bf10de0e17 implemented adding accounts to bots 2019-09-02 20:07:16 +10:00
Lynne Megido dc03ebed18 display bot's instance smaller than username, fixes #12 2019-09-02 18:18:47 +10:00
Lynne Megido fad45bd6d3 add timeout to requests.get 2019-09-02 18:06:21 +10:00
Lynne Megido 9306a72b99 generic bot icon placeholder 2019-09-02 18:04:26 +10:00
Lynne Megido 46118ae9fa implemented bot deletion 2019-09-02 18:02:26 +10:00
Lynne Megido 494c1d8960 forgot to commit this 2019-09-02 17:59:57 +10:00
Lynne Megido bf7571eba1 settings page reflects user's settings 2019-09-02 17:49:39 +10:00
Lynne Megido 913b5ed338 implemented bot toggle 2019-09-02 17:38:29 +10:00
Lynne Megido 3b7b479b1b show basic coming soon page for unimplemented features 2019-09-02 17:20:28 +10:00
Lynne Megido 887aab6a71 make the delete page look and work better 2019-09-02 16:59:49 +10:00
Lynne Megido 8f72d14243 correctly display bot enabled status 2019-09-02 16:49:21 +10:00
Lynne Megido 950db1de8e fix bot creation and home pages 2019-09-02 16:47:49 +10:00