Commit graph

24 commits

Author SHA1 Message Date
jesopo
8a3e480ef5 bitbot is a Service (bot), not a Person 2019-09-20 11:44:23 +01:00
jesopo
04d75ec414 make a better "random ID url" function 2019-09-20 11:39:46 +01:00
jesopo
51b8429278 make Accept ID (and Follow ID) our own domain 2019-09-20 10:53:58 +01:00
jesopo
d75d751295 update _ap_*_url() functions to use path-args 2019-09-20 10:46:49 +01:00
jesopo
1b3ee8e336 use path-arg variables for AP urls, not get params 2019-09-20 10:42:08 +01:00
jesopo
6959bba5f3 move getting private_key/our_actor to __init__ (for main thread) 2019-09-16 15:49:03 +01:00
jesopo
ec4501c018 pass exports to ap_server.py 2019-09-16 14:23:06 +01:00
jesopo
f12551532f 'theading' -> 'threading' 2019-09-16 14:19:52 +01:00
jesopo
69032ea476 push inbox POSTs on to a background thread 2019-09-16 14:18:58 +01:00
jesopo
cc65892586 Revert "push inbox PUSHes on to background thread"
This reverts commit 18613311f9.
2019-09-16 13:58:13 +01:00
jesopo
18613311f9 push inbox PUSHes on to background thread 2019-09-16 13:54:07 +01:00
jesopo
06acbcfb98 readd accidentally lost ")" 2019-09-15 12:23:19 +01:00
jesopo
980a407ebb change follow accept/followback logic to involve our own actor 2019-09-15 12:17:24 +01:00
jesopo
4caef45299 add missing uuid import to ap_server.py 2019-09-15 11:58:24 +01:00
jesopo
863ce32cda load user inbox before trying to access it 2019-09-15 11:48:58 +01:00
jesopo
13072f53a7 load tls-key, not tls-certificate 2019-09-15 11:47:22 +01:00
jesopo
223c04b1a5 why would we be getting the *filename* from security.private_key()? 2019-09-15 11:44:27 +01:00
jesopo
9a7e2fabda url_for does not exist in _private_key() 2019-09-15 11:43:04 +01:00
jesopo
3b5feaf2d7 missing json import 2019-09-15 11:41:27 +01:00
jesopo
769d4e1a28 _ap_self_url no longer takes a username param 2019-09-15 11:24:59 +01:00
jesopo
13b25dc55d 'consts' -> 'ap_utils' 2019-09-15 11:24:00 +01:00
jesopo
89072de213 ap_server needs ap_utils import, pass bot instance to it too 2019-09-15 11:19:50 +01:00
jesopo
52a1b885ae temp remove commands from ap_server.py 2019-09-15 11:07:39 +01:00
jesopo
71896f8081 move AP server event/exports to __init__.py 2019-09-15 11:06:00 +01:00
Renamed from modules/fediverse/server.py (Browse further)