mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 13:14:28 +00:00
Tweak actor schema
This commit is contained in:
parent
4a6e203d23
commit
5016b8eb79
2 changed files with 11 additions and 8 deletions
|
@ -82,7 +82,11 @@ ME = {
|
|||
"preferredUsername": config.USERNAME,
|
||||
"name": config.CONFIG.name,
|
||||
"summary": config.CONFIG.summary,
|
||||
"endpoints": {},
|
||||
"endpoints": {
|
||||
# For compat with servers expecting a sharedInbox...
|
||||
"sharedInbox": config.BASE_URL
|
||||
+ "/inbox",
|
||||
},
|
||||
"url": config.ID,
|
||||
"manuallyApprovesFollowers": False,
|
||||
"attachment": [],
|
||||
|
@ -96,7 +100,6 @@ ME = {
|
|||
"owner": config.ID,
|
||||
"publicKeyPem": get_pubkey_as_pem(config.KEY_PATH),
|
||||
},
|
||||
"alsoKnownAs": [],
|
||||
}
|
||||
|
||||
|
||||
|
|
12
app/main.py
12
app/main.py
|
@ -76,19 +76,19 @@ _RESIZED_CACHE: MutableMapping[tuple[str, int], tuple[bytes, str, Any]] = LFUCac
|
|||
# TODO(ts):
|
||||
#
|
||||
# Next:
|
||||
# - Webmention notification
|
||||
# - UI support for updating posts
|
||||
# - Support for processing update
|
||||
# - Page support
|
||||
# - Article support
|
||||
# - Fix tests
|
||||
# - Fix SQL tx in the codebase
|
||||
# - indieauth tweaks
|
||||
# - API for posting notes
|
||||
# - allow to block servers
|
||||
# - FT5 text search
|
||||
# - support update post with history?
|
||||
#
|
||||
# - [ ] block support
|
||||
# - [ ] prevent SSRF (urlutils from little-boxes)
|
||||
# - [ ] Dockerization
|
||||
# - [ ] cleanup tasks
|
||||
# - block support
|
||||
# - cleanup tasks
|
||||
|
||||
|
||||
class CustomMiddleware:
|
||||
|
|
Loading…
Reference in a new issue