Snake case

main
Bob Mottram 2021-12-25 19:31:24 +00:00
parent 0436f2867f
commit 13e87f91b6
5 changed files with 92 additions and 82 deletions

View File

@ -2243,9 +2243,9 @@ class PubServer(BaseHTTPRequestHandler):
if 'full-width-timeline-buttons' in themeDesignerParams:
themeValue = themeDesignerParams['full-width-timeline-buttons']
if themeValue.lower() == 'true':
self.server.fullWidthTimelineButtonHeader = True
self.server.full_width_tl_button_header = True
else:
self.server.fullWidthTimelineButtonHeader = False
self.server.full_width_tl_button_header = False
# redirect back from theme designer screen
if callingDomain.endswith('.onion') and onionDomain:
@ -5018,9 +5018,9 @@ class PubServer(BaseHTTPRequestHandler):
self.server.showPublishAsIcon = \
getConfigParam(self.server.base_dir,
'showPublishAsIcon')
self.server.fullWidthTimelineButtonHeader = \
self.server.full_width_tl_button_header = \
getConfigParam(self.server.base_dir,
'fullWidthTimelineButtonHeader')
'full_width_tl_button_header')
self.server.icons_as_buttons = \
getConfigParam(self.server.base_dir,
'icons_as_buttons')
@ -5958,7 +5958,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.showPublishAsIcon = \
getConfigParam(base_dir,
'showPublishAsIcon')
self.server.fullWidthTimelineButtonHeader = \
self.server.full_width_tl_button_header = \
getConfigParam(base_dir,
'fullWidthTimeline' +
'ButtonHeader')
@ -10213,8 +10213,8 @@ class PubServer(BaseHTTPRequestHandler):
self.server.fitness,
'_GET', '_showInbox2',
self.server.debug)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -10248,7 +10248,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -10361,8 +10361,8 @@ class PubServer(BaseHTTPRequestHandler):
0,
self.server.positiveVoting,
self.server.votingTimeMins)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -10399,7 +10399,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -10504,8 +10504,8 @@ class PubServer(BaseHTTPRequestHandler):
True,
0, self.server.positiveVoting,
self.server.votingTimeMins)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -10542,7 +10542,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -10647,8 +10647,8 @@ class PubServer(BaseHTTPRequestHandler):
True,
0, self.server.positiveVoting,
self.server.votingTimeMins)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -10683,7 +10683,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -10789,8 +10789,8 @@ class PubServer(BaseHTTPRequestHandler):
True,
0, self.server.positiveVoting,
self.server.votingTimeMins)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -10825,7 +10825,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -10940,8 +10940,8 @@ class PubServer(BaseHTTPRequestHandler):
moderator = isModerator(base_dir, currNickname)
editor = isEditor(base_dir, currNickname)
artist = isArtist(base_dir, currNickname)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -10977,7 +10977,7 @@ class PubServer(BaseHTTPRequestHandler):
moderator, editor, artist,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -11088,8 +11088,8 @@ class PubServer(BaseHTTPRequestHandler):
currNickname = path.split('/users/')[1]
if '/' in currNickname:
currNickname = currNickname.split('/')[0]
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -11126,7 +11126,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -11209,6 +11209,8 @@ class PubServer(BaseHTTPRequestHandler):
if self.server.keyShortcuts.get(nickname):
accessKeys = \
self.server.keyShortcuts[nickname]
full_width_tl_button_header = \
self.server.full_width_tl_button_header
msg = \
htmlShares(self.server.cssCache,
@ -11233,7 +11235,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
self.server.fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -11293,7 +11295,8 @@ class PubServer(BaseHTTPRequestHandler):
if self.server.keyShortcuts.get(nickname):
accessKeys = \
self.server.keyShortcuts[nickname]
full_width_tl_button_header = \
self.server.full_width_tl_button_header
msg = \
htmlWanted(self.server.cssCache,
self.server.defaultTimeline,
@ -11317,7 +11320,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
self.server.fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -11401,8 +11404,8 @@ class PubServer(BaseHTTPRequestHandler):
authorized,
0, self.server.positiveVoting,
self.server.votingTimeMins)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -11439,7 +11442,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -11545,8 +11548,8 @@ class PubServer(BaseHTTPRequestHandler):
pageNumber = 1
if self._requestHTTP():
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
minimalNick = isMinimal(base_dir, domain, nickname)
accessKeys = self.server.accessKeys
@ -11577,7 +11580,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -11670,8 +11673,8 @@ class PubServer(BaseHTTPRequestHandler):
True,
0, self.server.positiveVoting,
self.server.votingTimeMins)
fullWidthTimelineButtonHeader = \
self.server.fullWidthTimelineButtonHeader
full_width_tl_button_header = \
self.server.full_width_tl_button_header
moderationActionStr = ''
accessKeys = self.server.accessKeys
@ -11709,7 +11712,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.newswire,
self.server.positiveVoting,
self.server.showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
self.server.icons_as_buttons,
self.server.rss_icon_at_top,
self.server.publish_button_at_top,
@ -18432,7 +18435,7 @@ def runDaemon(content_license_url: str,
publish_button_at_top: bool,
rss_icon_at_top: bool,
icons_as_buttons: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
showPublishAsIcon: bool,
maxFollowers: int,
maxNewsPosts: int,
@ -18662,7 +18665,7 @@ def runDaemon(content_license_url: str,
# Whether to show the timeline header containing inbox, outbox
# calendar, etc as the full width of the screen or not
httpd.fullWidthTimelineButtonHeader = fullWidthTimelineButtonHeader
httpd.full_width_tl_button_header = full_width_tl_button_header
# whether to show icons in the header (eg calendar) as buttons
httpd.icons_as_buttons = icons_as_buttons

View File

@ -330,8 +330,8 @@ parser.add_argument("--showPublishAsIcon",
const=True, default=True,
help="Whether to show newswire publish " +
"as an icon or a button")
parser.add_argument("--fullWidthTimelineButtonHeader",
dest='fullWidthTimelineButtonHeader',
parser.add_argument("--full_width_tl_button_header",
dest='full_width_tl_button_header',
type=str2bool, nargs='?',
const=True, default=False,
help="Whether to show the timeline " +
@ -3098,10 +3098,10 @@ publish_button_at_top = \
if publish_button_at_top is not None:
args.publish_button_at_top = bool(publish_button_at_top)
fullWidthTimelineButtonHeader = \
getConfigParam(base_dir, 'fullWidthTimelineButtonHeader')
if fullWidthTimelineButtonHeader is not None:
args.fullWidthTimelineButtonHeader = bool(fullWidthTimelineButtonHeader)
full_width_tl_button_header = \
getConfigParam(base_dir, 'full_width_tl_button_header')
if full_width_tl_button_header is not None:
args.full_width_tl_button_header = bool(full_width_tl_button_header)
allow_local_network_access = \
getConfigParam(base_dir, 'allow_local_network_access')
@ -3230,7 +3230,7 @@ if __name__ == "__main__":
args.publish_button_at_top,
args.rss_icon_at_top,
args.icons_as_buttons,
args.fullWidthTimelineButtonHeader,
args.full_width_tl_button_header,
args.showPublishAsIcon,
args.maxFollowers,
args.maxNewsPosts,

View File

@ -238,7 +238,7 @@ def _setFullWidthTimelineButtonHeader(base_dir: str, fullWidth: bool) -> bool:
configJson = loadJson(configFilename, 0)
if not configJson:
return False
configJson['fullWidthTimelineButtonHeader'] = fullWidth
configJson['full_width_tl_button_header'] = fullWidth
return saveJson(configJson, configFilename)

View File

@ -42,7 +42,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -72,7 +72,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, artist, positiveVoting,
showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, moderationActionStr, theme,

View File

@ -435,7 +435,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
editor: bool, artist: bool,
positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -712,7 +712,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
'src="' + usersPath + '/' + bannerFile + '" /></a>\n' + \
'</header>\n'
if fullWidthTimelineButtonHeader:
if full_width_tl_button_header:
tlStr += \
headerButtonsTimeline(defaultTimeline, boxName, pageNumber,
translate, usersPath, mediaButton,
@ -755,7 +755,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
# center column containing posts
tlStr += ' <td valign="top" class="col-center">\n'
if not fullWidthTimelineButtonHeader:
if not full_width_tl_button_header:
tlStr += \
headerButtonsTimeline(defaultTimeline, boxName, pageNumber,
translate, usersPath, mediaButton,
@ -1131,7 +1131,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1157,20 +1157,22 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
cachedWebfingers, personCache,
nickname, domain, port, None,
'tlshares', allowDeletion,
http_prefix, projectVersion, manuallyApproveFollowers,
http_prefix, projectVersion,
manuallyApproveFollowers,
False,
yt_replace_domain,
twitterReplacementDomain,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
allow_local_network_access, textModeBanner,
accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem,
shared_items_federated_domains,
signingPrivateKeyPem,
CWlists, lists_enabled)
@ -1187,7 +1189,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1213,20 +1215,22 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
cachedWebfingers, personCache,
nickname, domain, port, None,
'tlwanted', allowDeletion,
http_prefix, projectVersion, manuallyApproveFollowers,
http_prefix, projectVersion,
manuallyApproveFollowers,
False,
yt_replace_domain,
twitterReplacementDomain,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
allow_local_network_access, textModeBanner,
accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem,
shared_items_federated_domains,
signingPrivateKeyPem,
CWlists, lists_enabled)
@ -1244,7 +1248,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1270,20 +1274,22 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
cachedWebfingers, personCache,
nickname, domain, port, inboxJson,
'inbox', allowDeletion,
http_prefix, projectVersion, manuallyApproveFollowers,
http_prefix, projectVersion,
manuallyApproveFollowers,
minimal,
yt_replace_domain,
twitterReplacementDomain,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
allow_local_network_access, textModeBanner,
accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem,
shared_items_federated_domains,
signingPrivateKeyPem,
CWlists, lists_enabled)
@ -1301,7 +1307,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1327,14 +1333,15 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
cachedWebfingers, personCache,
nickname, domain, port, bookmarksJson,
'tlbookmarks', allowDeletion,
http_prefix, projectVersion, manuallyApproveFollowers,
http_prefix, projectVersion,
manuallyApproveFollowers,
minimal,
yt_replace_domain,
twitterReplacementDomain,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1358,7 +1365,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1386,7 +1393,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, artist, positiveVoting,
showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1410,7 +1417,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1439,7 +1446,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1463,7 +1470,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1492,7 +1499,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1516,7 +1523,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1545,7 +1552,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1569,7 +1576,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1598,7 +1605,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, False,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1622,7 +1629,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, moderator: bool, editor: bool, artist: bool,
positiveVoting: bool, showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1650,7 +1657,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, moderator, editor, artist,
positiveVoting, showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,
@ -1674,7 +1681,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly: bool,
newswire: {}, positiveVoting: bool,
showPublishAsIcon: bool,
fullWidthTimelineButtonHeader: bool,
full_width_tl_button_header: bool,
icons_as_buttons: bool,
rss_icon_at_top: bool,
publish_button_at_top: bool,
@ -1705,7 +1712,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
showPublishedDateOnly,
newswire, False, False, artist, positiveVoting,
showPublishAsIcon,
fullWidthTimelineButtonHeader,
full_width_tl_button_header,
icons_as_buttons, rss_icon_at_top,
publish_button_at_top,
authorized, None, theme, peertubeInstances,