mirror of https://gitlab.com/bashrc2/epicyon
Blogs timeline
parent
0bd778d553
commit
1f884f010d
|
@ -2910,7 +2910,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.port, \
|
self.server.port, \
|
||||||
self.path, \
|
self.path, \
|
||||||
self.server.httpPrefix, \
|
self.server.httpPrefix, \
|
||||||
maxPostsInBlogsFeed, 'tlblogs', \
|
maxPostsInBlogsFeed,'tlblogs', \
|
||||||
True,self.server.ocapAlways)
|
True,self.server.ocapAlways)
|
||||||
if not inboxBlogsFeed:
|
if not inboxBlogsFeed:
|
||||||
inboxBlogsFeed=[]
|
inboxBlogsFeed=[]
|
||||||
|
|
12
posts.py
12
posts.py
|
@ -1956,13 +1956,6 @@ def createInbox(recentPostsCache: {}, \
|
||||||
session,baseDir,'inbox',nickname,domain,port,httpPrefix, \
|
session,baseDir,'inbox',nickname,domain,port,httpPrefix, \
|
||||||
itemsPerPage,headerOnly,True,ocapAlways,pageNumber)
|
itemsPerPage,headerOnly,True,ocapAlways,pageNumber)
|
||||||
|
|
||||||
def createBlogsTimeline(recentPostsCache: {}, \
|
|
||||||
session,baseDir: str,nickname: str,domain: str,port: int,httpPrefix: str, \
|
|
||||||
itemsPerPage: int,headerOnly: bool,ocapAlways: bool,pageNumber=None) -> {}:
|
|
||||||
return createBoxIndexed(recentPostsCache, \
|
|
||||||
session,baseDir,'tlblogs',nickname,domain,port,httpPrefix, \
|
|
||||||
itemsPerPage,headerOnly,True,ocapAlways,pageNumber)
|
|
||||||
|
|
||||||
def createBookmarksTimeline(session,baseDir: str,nickname: str,domain: str,port: int,httpPrefix: str, \
|
def createBookmarksTimeline(session,baseDir: str,nickname: str,domain: str,port: int,httpPrefix: str, \
|
||||||
itemsPerPage: int,headerOnly: bool,ocapAlways: bool,pageNumber=None) -> {}:
|
itemsPerPage: int,headerOnly: bool,ocapAlways: bool,pageNumber=None) -> {}:
|
||||||
return createBoxIndexed({},session,baseDir,'tlbookmarks',nickname,domain,port,httpPrefix, \
|
return createBoxIndexed({},session,baseDir,'tlbookmarks',nickname,domain,port,httpPrefix, \
|
||||||
|
@ -1978,6 +1971,11 @@ def createRepliesTimeline(session,baseDir: str,nickname: str,domain: str,port: i
|
||||||
return createBoxIndexed({},session,baseDir,'tlreplies',nickname,domain,port,httpPrefix, \
|
return createBoxIndexed({},session,baseDir,'tlreplies',nickname,domain,port,httpPrefix, \
|
||||||
itemsPerPage,headerOnly,True,ocapAlways,pageNumber)
|
itemsPerPage,headerOnly,True,ocapAlways,pageNumber)
|
||||||
|
|
||||||
|
def createBlogsTimeline(session,baseDir: str,nickname: str,domain: str,port: int,httpPrefix: str, \
|
||||||
|
itemsPerPage: int,headerOnly: bool,ocapAlways: bool,pageNumber=None) -> {}:
|
||||||
|
return createBoxIndexed({},session,baseDir,'tlblogs',nickname,domain,port,httpPrefix, \
|
||||||
|
itemsPerPage,headerOnly,True,ocapAlways,pageNumber)
|
||||||
|
|
||||||
def createMediaTimeline(session,baseDir: str,nickname: str,domain: str,port: int,httpPrefix: str, \
|
def createMediaTimeline(session,baseDir: str,nickname: str,domain: str,port: int,httpPrefix: str, \
|
||||||
itemsPerPage: int,headerOnly: bool,ocapAlways: bool,pageNumber=None) -> {}:
|
itemsPerPage: int,headerOnly: bool,ocapAlways: bool,pageNumber=None) -> {}:
|
||||||
return createBoxIndexed({},session,baseDir,'tlmedia',nickname,domain,port,httpPrefix, \
|
return createBoxIndexed({},session,baseDir,'tlmedia',nickname,domain,port,httpPrefix, \
|
||||||
|
|
Loading…
Reference in New Issue