mirror of https://gitlab.com/bashrc2/epicyon
Authorized
parent
212b3341f3
commit
66410d9704
20
daemon.py
20
daemon.py
|
@ -8393,7 +8393,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show status done',
|
'show status done',
|
||||||
'show inbox')
|
'show inbox')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because
|
# don't need authorized fetch here because
|
||||||
# there is already the authorization check
|
# there is already the authorization check
|
||||||
msg = json.dumps(inboxFeed, ensure_ascii=False)
|
msg = json.dumps(inboxFeed, ensure_ascii=False)
|
||||||
msg = msg.encode('utf-8')
|
msg = msg.encode('utf-8')
|
||||||
|
@ -8527,7 +8527,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show inbox done',
|
'show inbox done',
|
||||||
'show dms')
|
'show dms')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because
|
# don't need authorized fetch here because
|
||||||
# there is already the authorization check
|
# there is already the authorization check
|
||||||
msg = json.dumps(inboxDMFeed, ensure_ascii=False)
|
msg = json.dumps(inboxDMFeed, ensure_ascii=False)
|
||||||
msg = msg.encode('utf-8')
|
msg = msg.encode('utf-8')
|
||||||
|
@ -8662,7 +8662,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show dms done',
|
'show dms done',
|
||||||
'show replies 2')
|
'show replies 2')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because there is
|
# don't need authorized fetch here because there is
|
||||||
# already the authorization check
|
# already the authorization check
|
||||||
msg = json.dumps(inboxRepliesFeed,
|
msg = json.dumps(inboxRepliesFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -8796,7 +8796,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show replies 2 done',
|
'show replies 2 done',
|
||||||
'show media 2')
|
'show media 2')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because there is
|
# don't need authorized fetch here because there is
|
||||||
# already the authorization check
|
# already the authorization check
|
||||||
msg = json.dumps(inboxMediaFeed,
|
msg = json.dumps(inboxMediaFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -8930,7 +8930,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show media 2 done',
|
'show media 2 done',
|
||||||
'show blogs 2')
|
'show blogs 2')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because there is
|
# don't need authorized fetch here because there is
|
||||||
# already the authorization check
|
# already the authorization check
|
||||||
msg = json.dumps(inboxBlogsFeed,
|
msg = json.dumps(inboxBlogsFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -9073,7 +9073,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show blogs 2 done',
|
'show blogs 2 done',
|
||||||
'show news 2')
|
'show news 2')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because there is
|
# don't need authorized fetch here because there is
|
||||||
# already the authorization check
|
# already the authorization check
|
||||||
msg = json.dumps(inboxNewsFeed,
|
msg = json.dumps(inboxNewsFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -9214,7 +9214,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show blogs 2 done',
|
'show blogs 2 done',
|
||||||
'show news 2')
|
'show news 2')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because there is
|
# don't need authorized fetch here because there is
|
||||||
# already the authorization check
|
# already the authorization check
|
||||||
msg = json.dumps(inboxFeaturesFeed,
|
msg = json.dumps(inboxFeaturesFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -9515,7 +9515,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show shares 2 done',
|
'show shares 2 done',
|
||||||
'show bookmarks 2')
|
'show bookmarks 2')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because
|
# don't need authorized fetch here because
|
||||||
# there is already the authorization check
|
# there is already the authorization check
|
||||||
msg = json.dumps(bookmarksFeed,
|
msg = json.dumps(bookmarksFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -9767,7 +9767,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
'show outbox done',
|
'show outbox done',
|
||||||
'show moderation')
|
'show moderation')
|
||||||
else:
|
else:
|
||||||
# don't need authenticated fetch here because
|
# don't need authorized fetch here because
|
||||||
# there is already the authorization check
|
# there is already the authorization check
|
||||||
msg = json.dumps(moderationFeed,
|
msg = json.dumps(moderationFeed,
|
||||||
ensure_ascii=False)
|
ensure_ascii=False)
|
||||||
|
@ -13882,7 +13882,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
None, callingDomain, False)
|
None, callingDomain, False)
|
||||||
self._write(msg)
|
self._write(msg)
|
||||||
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
self._benchmarkGETtimings(GETstartTime, GETtimings,
|
||||||
'authenticated fetch',
|
'authorized fetch',
|
||||||
'arbitrary json')
|
'arbitrary json')
|
||||||
else:
|
else:
|
||||||
if self.server.debug:
|
if self.server.debug:
|
||||||
|
|
Loading…
Reference in New Issue