Commit Graph

21 Commits

Author SHA1 Message Date
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 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 5def1f2fe6
some more groundwork for HTTP signatures 2020-04-11 17:14:53 +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 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 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 9830eeda6b
less log spam 2020-01-20 12:18:17 +10:00
Lynne Megido 7ad540777a mark regex strings as raw 2019-09-21 15:10:40 +10:00
Lynne Megido ec087b5136 fix regex that matched https://x/users/y/z when it shouldn't match z 2019-09-21 15:07:09 +10:00
Lynne Megido 798b5a484b i forgot to strip mentions from the code when fake_mentions is set to never because i'm have smol bun brain please give headpat 2019-09-19 16:17:26 +10:00
Lynne Megido cbe491f1af reorganised directory structure 2019-09-18 13:04:44 +10:00