Commit Graph

86 Commits

Author SHA1 Message Date
Lynne Megido 26cbc0a8f4
removed patreon 2020-08-02 14:52:12 +10:00
Lynne Megido 0997de535b
turns out fedibooks is even buggier than i thought, and i already thought it was pretty shit 2020-05-27 22:27:20 +10:00
Lynne Megido 8d89736373
lil more not broken 2020-05-27 21:59:29 +10:00
Lynne Megido a5c72eb424
a lil more info 2020-05-27 21:58:12 +10:00
Lynne Megido ac4cb2ab7a
okay, NOW multithreading works properly, and can i just say: holy fuck it's SO MUCH FASTER 2020-05-27 21:51:58 +10:00
Lynne Megido 954544205e
implement timeouts on service.py and scrape.py's stuff 2020-05-27 20:48:46 +10:00
Lynne Megido 7681768ba4
specify unicode and charset on db connection. idk why i need to do this since my server is configured to use these as the default values but whoooo knows 2020-05-27 20:09:21 +10:00
Lynne Megido cc4f64e758
minor wording change in status message 2020-05-27 19:42:37 +10:00
Lynne Megido 33b72d8e4c
fixed a silly but rather bad bug\ni'm pretty sure i'm gonna stop working on fedibooks, and everything else i do relating to fedi. writing complex webapps to (rather poorly) interface with decentralised, half-standardised social networking platforms really isn't for me, and much of this code is honestly pretty awful. i have no idea why i did some of this stuff - for example, writing an object to interface with the outbox json would have been a LOT cleaner than what i'm currently doing. fedibooks really doesn't work well at all, and its biggest flaw is, of course, the fact that it can't interact with any instances using authenticated fetch. while i may fix minor bugs from time to time, i can pretty much guarantee that one's never getting fixed. i'm not shutting down fedibooks.com or anything like that - and if i ever do, i'll give advance warning - but don't expect any new features here, or in mstdn-ebooks, OCRbot, et al. but hey, at least it's fixed now. 2020-05-27 19:39:15 +10:00
Lynne Megido cbdddea33e
a foolish mistake made by a panicked dunce 2020-04-11 17:25:40 +10:00
Lynne Megido d5db51830b
insert ignore instead of replace to avoid cascade deletion from the bot learning list fricking WHOOPS 2020-04-11 17:20:58 +10:00
Lynne Megido 8469b73c3c
remove leading/trailing whitespace from account @ in bot accounts add page 2020-04-11 17:17:39 +10:00
Lynne Megido 5def1f2fe6
some more groundwork for HTTP signatures 2020-04-11 17:14:53 +10:00
Lynne Megido c1692b2acf
removed inbox stuff because i don't think i need it, hopefully i don't, 2020-03-18 16:43:57 +10:00
Lynne Megido 0c22c415b1
provide webfinger and actor info with rsa key for secure fetch 2020-03-18 16:41:32 +10:00
Lynne Megido bd2b064153
fedi dev is fun!!! 2020-03-18 15:09:04 +10:00
Lynne Megido dada8514e4
don't override manually set done value 2020-03-18 15:06:03 +10:00
Lynne Megido 996d52d542
fixed silly mistake in logging 2020-03-18 15:05:32 +10:00
Lynne Megido 61f95f654a
comment out as of yet unused route 2020-03-18 15:03:51 +10:00
Lynne Megido fc60b6d937
chmod +x app/scrape.py 2020-03-18 15:02:55 +10:00
Lynne Megido 87b9f64d75
added http timeouts to initial requests, better error handling 2020-03-18 15:00:18 +10:00
Lynne Megido ed08240619
fixed a mistake in a comment 2020-03-10 17:33:04 +10:00
Lynne Megido 853d5df129
handle newer pleroma instances 2020-03-10 17:26:31 +10:00
Lynne Megido ab0400885e
changed indentation of a single tag :L 2020-03-10 17:25:01 +10:00
Lynne Megido b3ca199167
static URLs are exempt from auth requirement 2020-01-28 15:36:44 +10:00
Lynne Megido e66c0fcbd7
more helpful help page 2020-01-21 13:23:17 +10:00
Lynne Megido 63c51ba6b2
didn't mean to commit that oops 2020-01-20 19:51:44 +10:00
Lynne Megido 5d8aa010fa
add an error message just in case 2020-01-20 19:50:16 +10:00
Lynne Megido 6db6f12687
capitalisation is important 2020-01-20 19:48:07 +10:00
Lynne Megido cbb90e8704
added missing endif 2020-01-20 16:18:28 +10:00
Lynne Megido 1c67016fa6
emphasise that you need to add accounts to learn from 2020-01-20 15:30:01 +10:00
Lynne Megido dc7787d296
more stable code with better error handling 2020-01-20 15:21:46 +10:00
Lynne Megido fe01416134
add missing db connection 2020-01-20 14:40:59 +10:00
Lynne Megido 8cab227531
remove debug code 2020-01-20 14:39:42 +10:00
Lynne Megido 4b6e563f76
fixed yet another silly issue 2020-01-20 14:38:55 +10:00
Lynne Megido 07670c4a74
handle running out of posts gracefully 2020-01-20 14:37:39 +10:00
Lynne Megido f1a4811094
new generic image 2020-01-20 14:35:58 +10:00
Lynne Megido 570c62a779
remove commented out stuff 2020-01-20 14:08:41 +10:00
Lynne Megido 39178dff9c
fix incorrect link 2020-01-20 14:08:30 +10:00
Lynne Megido d8dc54f802
only keep 50 most recent messages, disable input box while waiting for a reply 2020-01-20 14:06:39 +10:00
Lynne Megido e9cdbf7de2
actually display the error message when there's an error 2020-01-20 13:49:16 +10:00
Lynne Megido 3d0cdbc5e5
chat UI improvements 2020-01-20 13:46:30 +10:00
Lynne Megido d48eb9264f
added a note about JS to the footer 2020-01-20 13:23:40 +10:00
Lynne Megido 5f089f4040
basic chat functionality 2020-01-20 13:18:59 +10:00
Lynne Megido 60728c0b35
message generation for bot chat 2020-01-20 13:01:56 +10:00
Lynne Megido 170a666496
fixed a silly 2020-01-20 12:56:24 +10:00
Lynne Megido 898f2f7aae
seperated text generation and posting into their own functions 2020-01-20 12:53:11 +10:00
Lynne Megido 841098cc18
less logspam 2020-01-20 12:52:38 +10:00
Lynne Megido 34622230b0
allow sending messages in bot chat 2020-01-20 12:43:25 +10:00
Lynne Megido 11197eb7e7
better englische 2020-01-20 12:22:07 +10:00