mirror of https://gitlab.com/bashrc2/epicyon
Snake case
parent
025178849c
commit
c41d18396e
70
daemon.py
70
daemon.py
|
@ -10175,7 +10175,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInFeed, 'inbox',
|
||||
authorized,
|
||||
0,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if inboxFeed:
|
||||
if GETstartTime:
|
||||
|
@ -10207,7 +10207,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInFeed, 'inbox',
|
||||
authorized,
|
||||
0,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if GETstartTime:
|
||||
fitnessPerformance(GETstartTime,
|
||||
|
@ -10247,7 +10247,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -10333,7 +10333,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInFeed, 'dm',
|
||||
authorized,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if inboxDMFeed:
|
||||
if self._requestHTTP():
|
||||
|
@ -10360,7 +10360,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInFeed, 'dm',
|
||||
authorized,
|
||||
0,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
full_width_tl_button_header = \
|
||||
self.server.full_width_tl_button_header
|
||||
|
@ -10398,7 +10398,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -10476,7 +10476,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInFeed, 'tlreplies',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if not inboxRepliesFeed:
|
||||
inboxRepliesFeed = []
|
||||
|
@ -10503,7 +10503,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInFeed, 'tlreplies',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
full_width_tl_button_header = \
|
||||
self.server.full_width_tl_button_header
|
||||
|
@ -10541,7 +10541,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -10619,7 +10619,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInMediaFeed, 'tlmedia',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if not inboxMediaFeed:
|
||||
inboxMediaFeed = []
|
||||
|
@ -10646,7 +10646,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInMediaFeed, 'tlmedia',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
full_width_tl_button_header = \
|
||||
self.server.full_width_tl_button_header
|
||||
|
@ -10682,7 +10682,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -10761,7 +10761,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInBlogsFeed, 'tlblogs',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if not inboxBlogsFeed:
|
||||
inboxBlogsFeed = []
|
||||
|
@ -10788,7 +10788,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInBlogsFeed, 'tlblogs',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
full_width_tl_button_header = \
|
||||
self.server.full_width_tl_button_header
|
||||
|
@ -10824,7 +10824,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -10905,7 +10905,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInNewsFeed, 'tlnews',
|
||||
True,
|
||||
self.server.newswireVotesThreshold,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if not inboxNewsFeed:
|
||||
inboxNewsFeed = []
|
||||
|
@ -10933,7 +10933,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInBlogsFeed, 'tlnews',
|
||||
True,
|
||||
self.server.newswireVotesThreshold,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
currNickname = path.split('/users/')[1]
|
||||
if '/' in currNickname:
|
||||
|
@ -10976,7 +10976,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
moderator, editor, artist,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -11056,7 +11056,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInNewsFeed, 'tlfeatures',
|
||||
True,
|
||||
self.server.newswireVotesThreshold,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if not inboxFeaturesFeed:
|
||||
inboxFeaturesFeed = []
|
||||
|
@ -11084,7 +11084,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInBlogsFeed, 'tlfeatures',
|
||||
True,
|
||||
self.server.newswireVotesThreshold,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
currNickname = path.split('/users/')[1]
|
||||
if '/' in currNickname:
|
||||
|
@ -11125,7 +11125,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -11234,7 +11234,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -11319,7 +11319,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -11375,7 +11375,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInFeed, 'tlbookmarks',
|
||||
authorized,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if bookmarksFeed:
|
||||
if self._requestHTTP():
|
||||
|
@ -11403,7 +11403,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInFeed,
|
||||
'tlbookmarks',
|
||||
authorized,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
full_width_tl_button_header = \
|
||||
self.server.full_width_tl_button_header
|
||||
|
@ -11441,7 +11441,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -11515,7 +11515,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix, maxPostsInFeed, 'outbox',
|
||||
authorized,
|
||||
self.server.newswireVotesThreshold,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if outboxFeed:
|
||||
nickname = \
|
||||
|
@ -11543,7 +11543,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
maxPostsInFeed, 'outbox',
|
||||
authorized,
|
||||
self.server.newswireVotesThreshold,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
else:
|
||||
pageNumber = 1
|
||||
|
@ -11579,7 +11579,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.twitterReplacementDomain,
|
||||
self.server.show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -11646,7 +11646,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInFeed, 'moderation',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
if moderationFeed:
|
||||
if self._requestHTTP():
|
||||
|
@ -11672,7 +11672,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
http_prefix,
|
||||
maxPostsInFeed, 'moderation',
|
||||
True,
|
||||
0, self.server.positiveVoting,
|
||||
0, self.server.positive_voting,
|
||||
self.server.voting_time_mins)
|
||||
full_width_tl_button_header = \
|
||||
self.server.full_width_tl_button_header
|
||||
|
@ -11713,7 +11713,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
self.server.show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
self.server.icons_as_buttons,
|
||||
|
@ -14978,7 +14978,7 @@ class PubServer(BaseHTTPRequestHandler):
|
|||
self.server.http_prefix,
|
||||
self.server.translate,
|
||||
self.server.newswire,
|
||||
self.server.positiveVoting,
|
||||
self.server.positive_voting,
|
||||
timelinePath,
|
||||
show_publish_as_icon,
|
||||
authorized,
|
||||
|
@ -18447,7 +18447,7 @@ def runDaemon(content_license_url: str,
|
|||
max_newswire_postsPerSource: int,
|
||||
show_published_date_only: bool,
|
||||
voting_time_mins: int,
|
||||
positiveVoting: bool,
|
||||
positive_voting: bool,
|
||||
newswireVotesThreshold: int,
|
||||
newsInstance: bool,
|
||||
blogsInstance: bool,
|
||||
|
@ -18632,7 +18632,7 @@ def runDaemon(content_license_url: str,
|
|||
httpd.voting_time_mins = voting_time_mins
|
||||
# on the newswire, whether moderators vote positively for items
|
||||
# or against them (veto)
|
||||
httpd.positiveVoting = positiveVoting
|
||||
httpd.positive_voting = positive_voting
|
||||
# number of votes needed to remove a newswire item from the news timeline
|
||||
# or if positive voting is anabled to add the item to the news timeline
|
||||
httpd.newswireVotesThreshold = newswireVotesThreshold
|
||||
|
|
|
@ -899,7 +899,7 @@ def personBoxJson(recentPostsCache: {},
|
|||
session, base_dir: str, domain: str, port: int, path: str,
|
||||
http_prefix: str, noOfItems: int, boxname: str,
|
||||
authorized: bool,
|
||||
newswireVotesThreshold: int, positiveVoting: bool,
|
||||
newswireVotesThreshold: int, positive_voting: bool,
|
||||
voting_time_mins: int) -> {}:
|
||||
"""Obtain the inbox/outbox/moderation feed for the given person
|
||||
"""
|
||||
|
@ -973,7 +973,7 @@ def personBoxJson(recentPostsCache: {},
|
|||
elif boxname == 'tlnews':
|
||||
return createNewsTimeline(session, base_dir, nickname, domain, port,
|
||||
http_prefix, noOfItems, headerOnly,
|
||||
newswireVotesThreshold, positiveVoting,
|
||||
newswireVotesThreshold, positive_voting,
|
||||
voting_time_mins, pageNumber)
|
||||
elif boxname == 'tlfeatures':
|
||||
return createFeaturesTimeline(session, base_dir,
|
||||
|
|
12
posts.py
12
posts.py
|
@ -3365,12 +3365,12 @@ def createMediaTimeline(session, base_dir: str, nickname: str, domain: str,
|
|||
def createNewsTimeline(session, base_dir: str, nickname: str, domain: str,
|
||||
port: int, http_prefix: str, itemsPerPage: int,
|
||||
headerOnly: bool, newswireVotesThreshold: int,
|
||||
positiveVoting: bool, voting_time_mins: int,
|
||||
positive_voting: bool, voting_time_mins: int,
|
||||
pageNumber: int) -> {}:
|
||||
return _createBoxIndexed({}, session, base_dir, 'outbox', 'news',
|
||||
domain, port, http_prefix,
|
||||
itemsPerPage, headerOnly, True,
|
||||
newswireVotesThreshold, positiveVoting,
|
||||
newswireVotesThreshold, positive_voting,
|
||||
voting_time_mins, pageNumber)
|
||||
|
||||
|
||||
|
@ -3601,7 +3601,7 @@ def removePostInteractions(postJsonObject: {}, force: bool) -> bool:
|
|||
def _passedNewswireVoting(newswireVotesThreshold: int,
|
||||
base_dir: str, domain: str,
|
||||
postFilename: str,
|
||||
positiveVoting: bool,
|
||||
positive_voting: bool,
|
||||
voting_time_mins: int) -> bool:
|
||||
"""Returns true if the post has passed through newswire voting
|
||||
"""
|
||||
|
@ -3632,7 +3632,7 @@ def _passedNewswireVoting(newswireVotesThreshold: int,
|
|||
votesJson = loadJson(votesFilename, 0, 2)
|
||||
if not votesJson:
|
||||
return True
|
||||
if not positiveVoting:
|
||||
if not positive_voting:
|
||||
if votesOnNewswireItem(votesJson) >= \
|
||||
newswireVotesThreshold:
|
||||
# Too many veto votes.
|
||||
|
@ -3653,7 +3653,7 @@ def _createBoxIndexed(recentPostsCache: {},
|
|||
session, base_dir: str, boxname: str,
|
||||
nickname: str, domain: str, port: int, http_prefix: str,
|
||||
itemsPerPage: int, headerOnly: bool, authorized: bool,
|
||||
newswireVotesThreshold: int, positiveVoting: bool,
|
||||
newswireVotesThreshold: int, positive_voting: bool,
|
||||
voting_time_mins: int, pageNumber: int) -> {}:
|
||||
"""Constructs the box feed for a person with the given nickname
|
||||
"""
|
||||
|
@ -3735,7 +3735,7 @@ def _createBoxIndexed(recentPostsCache: {},
|
|||
if not _passedNewswireVoting(newswireVotesThreshold,
|
||||
base_dir, domain,
|
||||
postFilename,
|
||||
positiveVoting,
|
||||
positive_voting,
|
||||
voting_time_mins):
|
||||
continue
|
||||
|
||||
|
|
|
@ -33,14 +33,14 @@ from webapp_utils import headerButtonsFrontScreen
|
|||
from webapp_utils import editTextField
|
||||
|
||||
|
||||
def _votesIndicator(totalVotes: int, positiveVoting: bool) -> str:
|
||||
def _votesIndicator(totalVotes: int, positive_voting: bool) -> str:
|
||||
"""Returns an indicator of the number of votes on a newswire item
|
||||
"""
|
||||
if totalVotes <= 0:
|
||||
return ''
|
||||
totalVotesStr = ' '
|
||||
for v in range(totalVotes):
|
||||
if positiveVoting:
|
||||
if positive_voting:
|
||||
totalVotesStr += '✓'
|
||||
else:
|
||||
totalVotesStr += '✗'
|
||||
|
@ -50,7 +50,7 @@ def _votesIndicator(totalVotes: int, positiveVoting: bool) -> str:
|
|||
def getRightColumnContent(base_dir: str, nickname: str, domainFull: str,
|
||||
http_prefix: str, translate: {},
|
||||
moderator: bool, editor: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
showBackButton: bool, timelinePath: str,
|
||||
showPublishButton: bool,
|
||||
show_publish_as_icon: bool,
|
||||
|
@ -199,7 +199,7 @@ def getRightColumnContent(base_dir: str, nickname: str, domainFull: str,
|
|||
# show the newswire lines
|
||||
newswireContentStr = \
|
||||
_htmlNewswire(base_dir, newswire, nickname, moderator, translate,
|
||||
positiveVoting)
|
||||
positive_voting)
|
||||
htmlStr += newswireContentStr
|
||||
|
||||
# show the rss icon at the bottom, typically on the right hand side
|
||||
|
@ -215,7 +215,7 @@ def _getBrokenFavSubstitute() -> str:
|
|||
|
||||
|
||||
def _htmlNewswire(base_dir: str, newswire: {}, nickname: str, moderator: bool,
|
||||
translate: {}, positiveVoting: bool) -> str:
|
||||
translate: {}, positive_voting: bool) -> str:
|
||||
"""Converts a newswire dict into html
|
||||
"""
|
||||
separatorStr = htmlPostSeparator(base_dir, 'right')
|
||||
|
@ -269,7 +269,7 @@ def _htmlNewswire(base_dir: str, newswire: {}, nickname: str, moderator: bool,
|
|||
if moderator:
|
||||
totalVotes = votesOnNewswireItem(item[2])
|
||||
totalVotesStr = \
|
||||
_votesIndicator(totalVotes, positiveVoting)
|
||||
_votesIndicator(totalVotes, positive_voting)
|
||||
|
||||
title = removeLongWords(item[0], 16, []).replace('\n', '<br>')
|
||||
title = limitRepeatedWords(title, 6)
|
||||
|
@ -298,7 +298,7 @@ def _htmlNewswire(base_dir: str, newswire: {}, nickname: str, moderator: bool,
|
|||
# show a number of ticks or crosses for how many
|
||||
# votes for or against
|
||||
totalVotesStr = \
|
||||
_votesIndicator(totalVotes, positiveVoting)
|
||||
_votesIndicator(totalVotes, positive_voting)
|
||||
|
||||
title = removeLongWords(item[0], 16, []).replace('\n', '<br>')
|
||||
title = limitRepeatedWords(title, 6)
|
||||
|
@ -448,7 +448,7 @@ def htmlNewswireMobile(cssCache: {}, base_dir: str, nickname: str,
|
|||
domain: str, domainFull: str,
|
||||
http_prefix: str, translate: {},
|
||||
newswire: {},
|
||||
positiveVoting: bool,
|
||||
positive_voting: bool,
|
||||
timelinePath: str,
|
||||
show_publish_as_icon: bool,
|
||||
authorized: bool,
|
||||
|
@ -501,7 +501,7 @@ def htmlNewswireMobile(cssCache: {}, base_dir: str, nickname: str,
|
|||
getRightColumnContent(base_dir, nickname, domainFull,
|
||||
http_prefix, translate,
|
||||
moderator, editor,
|
||||
newswire, positiveVoting,
|
||||
newswire, positive_voting,
|
||||
False, timelinePath, showPublishButton,
|
||||
show_publish_as_icon, rss_icon_at_top, False,
|
||||
authorized, False, theme,
|
||||
|
|
|
@ -40,7 +40,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -70,7 +70,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain,
|
||||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist, positiveVoting,
|
||||
newswire, False, False, artist, positive_voting,
|
||||
show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
|
|
|
@ -359,7 +359,7 @@ def _htmlTimelineKeyboard(moderator: bool, textModeBanner: str, usersPath: str,
|
|||
def _htmlTimelineEnd(base_dir: str, nickname: str, domainFull: str,
|
||||
http_prefix: str, translate: {},
|
||||
moderator: bool, editor: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
rss_icon_at_top: bool, publish_button_at_top: bool,
|
||||
authorized: bool, theme: str,
|
||||
|
@ -378,7 +378,7 @@ def _htmlTimelineEnd(base_dir: str, nickname: str, domainFull: str,
|
|||
rightColumnStr = getRightColumnContent(base_dir, nickname, domainFull,
|
||||
http_prefix, translate,
|
||||
moderator, editor,
|
||||
newswire, positiveVoting,
|
||||
newswire, positive_voting,
|
||||
False, None, True,
|
||||
show_publish_as_icon,
|
||||
rss_icon_at_top,
|
||||
|
@ -433,7 +433,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
show_published_date_only: bool,
|
||||
newswire: {}, moderator: bool,
|
||||
editor: bool, artist: bool,
|
||||
positiveVoting: bool,
|
||||
positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -791,7 +791,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
_htmlTimelineEnd(base_dir, nickname, domainFull,
|
||||
http_prefix, translate,
|
||||
moderator, editor,
|
||||
newswire, positiveVoting,
|
||||
newswire, positive_voting,
|
||||
show_publish_as_icon,
|
||||
rss_icon_at_top, publish_button_at_top,
|
||||
authorized, theme,
|
||||
|
@ -809,7 +809,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
_htmlTimelineEnd(base_dir, nickname, domainFull,
|
||||
http_prefix, translate,
|
||||
moderator, editor,
|
||||
newswire, positiveVoting,
|
||||
newswire, positive_voting,
|
||||
show_publish_as_icon,
|
||||
rss_icon_at_top, publish_button_at_top,
|
||||
authorized, theme,
|
||||
|
@ -957,7 +957,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
|||
_htmlTimelineEnd(base_dir, nickname, domainFull,
|
||||
http_prefix, translate,
|
||||
moderator, editor,
|
||||
newswire, positiveVoting,
|
||||
newswire, positive_voting,
|
||||
show_publish_as_icon,
|
||||
rss_icon_at_top, publish_button_at_top,
|
||||
authorized, theme,
|
||||
|
@ -1129,7 +1129,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1164,7 +1164,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1187,7 +1187,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1222,7 +1222,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1246,7 +1246,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1281,7 +1281,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1305,7 +1305,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1340,7 +1340,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1363,7 +1363,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1391,7 +1391,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain,
|
||||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist, positiveVoting,
|
||||
newswire, False, False, artist, positive_voting,
|
||||
show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
|
@ -1415,7 +1415,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1445,7 +1445,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1468,7 +1468,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1498,7 +1498,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1521,7 +1521,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1551,7 +1551,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1574,7 +1574,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1604,7 +1604,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, False,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1628,7 +1628,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, moderator: bool, editor: bool, artist: bool,
|
||||
positiveVoting: bool, show_publish_as_icon: bool,
|
||||
positive_voting: bool, show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
rss_icon_at_top: bool,
|
||||
|
@ -1656,7 +1656,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
|
|||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, moderator, editor, artist,
|
||||
positiveVoting, show_publish_as_icon,
|
||||
positive_voting, show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
publish_button_at_top,
|
||||
|
@ -1679,7 +1679,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain: str,
|
||||
twitterReplacementDomain: str,
|
||||
show_published_date_only: bool,
|
||||
newswire: {}, positiveVoting: bool,
|
||||
newswire: {}, positive_voting: bool,
|
||||
show_publish_as_icon: bool,
|
||||
full_width_tl_button_header: bool,
|
||||
icons_as_buttons: bool,
|
||||
|
@ -1710,7 +1710,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
|
|||
yt_replace_domain,
|
||||
twitterReplacementDomain,
|
||||
show_published_date_only,
|
||||
newswire, False, False, artist, positiveVoting,
|
||||
newswire, False, False, artist, positive_voting,
|
||||
show_publish_as_icon,
|
||||
full_width_tl_button_header,
|
||||
icons_as_buttons, rss_icon_at_top,
|
||||
|
|
Loading…
Reference in New Issue