forked from indymedia/epicyon
Features timeline
parent
750a63523b
commit
2091c44731
8
posts.py
8
posts.py
|
@ -2888,7 +2888,9 @@ def addPostStringToTimeline(postStr: str, boxname: str,
|
|||
elif boxname == 'tlreplies':
|
||||
if boxActor not in postStr:
|
||||
return False
|
||||
elif boxname == 'tlblogs' or boxname == 'tlnews':
|
||||
elif (boxname == 'tlblogs' or
|
||||
boxname == 'tlnews' or
|
||||
boxname == 'tlfeatures'):
|
||||
if '"Create"' not in postStr:
|
||||
return False
|
||||
if '"Article"' not in postStr:
|
||||
|
@ -2927,6 +2929,7 @@ def createBoxIndexed(recentPostsCache: {},
|
|||
if boxname != 'inbox' and boxname != 'dm' and \
|
||||
boxname != 'tlreplies' and boxname != 'tlmedia' and \
|
||||
boxname != 'tlblogs' and boxname != 'tlnews' and \
|
||||
boxname != 'tlfeatures' and \
|
||||
boxname != 'outbox' and boxname != 'tlbookmarks' and \
|
||||
boxname != 'bookmarks' and \
|
||||
boxname != 'tlevents':
|
||||
|
@ -2938,6 +2941,9 @@ def createBoxIndexed(recentPostsCache: {},
|
|||
if boxname == "tlbookmarks":
|
||||
boxname = "bookmarks"
|
||||
indexBoxName = boxname
|
||||
elif boxname == "tlfeatures":
|
||||
boxname = "tlblogs"
|
||||
indexBoxName = boxname
|
||||
|
||||
if port:
|
||||
if port != 80 and port != 443:
|
||||
|
|
|
@ -1025,7 +1025,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
|
|||
recentPostsCache, maxRecentPosts,
|
||||
translate, pageNumber,
|
||||
itemsPerPage, session, baseDir, wfRequest, personCache,
|
||||
'news', domain, port, inboxJson, 'tlblogs',
|
||||
'news', domain, port, inboxJson, 'tlfeatures',
|
||||
allowDeletion, httpPrefix, projectVersion, False,
|
||||
minimal, YTReplacementDomain,
|
||||
showPublishedDateOnly,
|
||||
|
|
Loading…
Reference in New Issue