mirror of https://gitlab.com/bashrc2/epicyon
Snake case
parent
deb1f8b20a
commit
5b082ab200
40
daemon.py
40
daemon.py
|
@ -2227,9 +2227,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.rssIconAtTop = False
|
self.server.rssIconAtTop = False
|
||||||
if 'publish-button-at-top' in themeDesignerParams:
|
if 'publish-button-at-top' in themeDesignerParams:
|
||||||
if themeDesignerParams['publish-button-at-top'].lower() == 'true':
|
if themeDesignerParams['publish-button-at-top'].lower() == 'true':
|
||||||
self.server.publishButtonAtTop = True
|
self.server.publish_button_at_top = True
|
||||||
else:
|
else:
|
||||||
self.server.publishButtonAtTop = False
|
self.server.publish_button_at_top = False
|
||||||
if 'newswire-publish-icon' in themeDesignerParams:
|
if 'newswire-publish-icon' in themeDesignerParams:
|
||||||
if themeDesignerParams['newswire-publish-icon'].lower() == 'true':
|
if themeDesignerParams['newswire-publish-icon'].lower() == 'true':
|
||||||
self.server.showPublishAsIcon = True
|
self.server.showPublishAsIcon = True
|
||||||
|
@ -5027,9 +5027,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.rssIconAtTop = \
|
self.server.rssIconAtTop = \
|
||||||
getConfigParam(self.server.base_dir,
|
getConfigParam(self.server.base_dir,
|
||||||
'rssIconAtTop')
|
'rssIconAtTop')
|
||||||
self.server.publishButtonAtTop = \
|
self.server.publish_button_at_top = \
|
||||||
getConfigParam(self.server.base_dir,
|
getConfigParam(self.server.base_dir,
|
||||||
'publishButtonAtTop')
|
'publish_button_at_top')
|
||||||
setNewsAvatar(base_dir,
|
setNewsAvatar(base_dir,
|
||||||
fields['themeDropdown'],
|
fields['themeDropdown'],
|
||||||
http_prefix,
|
http_prefix,
|
||||||
|
@ -5968,9 +5968,9 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.rssIconAtTop = \
|
self.server.rssIconAtTop = \
|
||||||
getConfigParam(base_dir,
|
getConfigParam(base_dir,
|
||||||
'rssIconAtTop')
|
'rssIconAtTop')
|
||||||
self.server.publishButtonAtTop = \
|
self.server.publish_button_at_top = \
|
||||||
getConfigParam(base_dir,
|
getConfigParam(base_dir,
|
||||||
'publishButtonAtTop')
|
'publish_button_at_top')
|
||||||
|
|
||||||
# only receive DMs from accounts you follow
|
# only receive DMs from accounts you follow
|
||||||
followDMsFilename = \
|
followDMsFilename = \
|
||||||
|
@ -10251,7 +10251,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -10402,7 +10402,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized, self.server.themeName,
|
authorized, self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
allow_local_network_access,
|
allow_local_network_access,
|
||||||
|
@ -10545,7 +10545,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized, self.server.themeName,
|
authorized, self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
allow_local_network_access,
|
allow_local_network_access,
|
||||||
|
@ -10686,7 +10686,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -10828,7 +10828,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -10980,7 +10980,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -11129,7 +11129,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -11236,7 +11236,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.fullWidthTimelineButtonHeader,
|
self.server.fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized, self.server.themeName,
|
authorized, self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
self.server.allow_local_network_access,
|
self.server.allow_local_network_access,
|
||||||
|
@ -11320,7 +11320,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
self.server.fullWidthTimelineButtonHeader,
|
self.server.fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized, self.server.themeName,
|
authorized, self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
self.server.allow_local_network_access,
|
self.server.allow_local_network_access,
|
||||||
|
@ -11442,7 +11442,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -11580,7 +11580,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized,
|
authorized,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -11712,7 +11712,7 @@ class PubServer(BaseHTTPRequestHandler):
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
self.server.iconsAsButtons,
|
self.server.iconsAsButtons,
|
||||||
self.server.rssIconAtTop,
|
self.server.rssIconAtTop,
|
||||||
self.server.publishButtonAtTop,
|
self.server.publish_button_at_top,
|
||||||
authorized, moderationActionStr,
|
authorized, moderationActionStr,
|
||||||
self.server.themeName,
|
self.server.themeName,
|
||||||
self.server.peertubeInstances,
|
self.server.peertubeInstances,
|
||||||
|
@ -18429,7 +18429,7 @@ def runDaemon(content_license_url: str,
|
||||||
max_newswire_posts: int,
|
max_newswire_posts: int,
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
max_feed_item_size_kb: int,
|
max_feed_item_size_kb: int,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
|
@ -18672,7 +18672,7 @@ def runDaemon(content_license_url: str,
|
||||||
|
|
||||||
# Whether to show the newswire publish button at the top,
|
# Whether to show the newswire publish button at the top,
|
||||||
# above the header image
|
# above the header image
|
||||||
httpd.publishButtonAtTop = publishButtonAtTop
|
httpd.publish_button_at_top = publish_button_at_top
|
||||||
|
|
||||||
# maximum size of individual RSS feed items, in K
|
# maximum size of individual RSS feed items, in K
|
||||||
httpd.max_feed_item_size_kb = max_feed_item_size_kb
|
httpd.max_feed_item_size_kb = max_feed_item_size_kb
|
||||||
|
|
14
epicyon.py
14
epicyon.py
|
@ -358,8 +358,8 @@ parser.add_argument("--low_bandwidth",
|
||||||
type=str2bool, nargs='?',
|
type=str2bool, nargs='?',
|
||||||
const=True, default=True,
|
const=True, default=True,
|
||||||
help="Whether to use low bandwidth images")
|
help="Whether to use low bandwidth images")
|
||||||
parser.add_argument("--publishButtonAtTop",
|
parser.add_argument("--publish_button_at_top",
|
||||||
dest='publishButtonAtTop',
|
dest='publish_button_at_top',
|
||||||
type=str2bool, nargs='?',
|
type=str2bool, nargs='?',
|
||||||
const=True, default=False,
|
const=True, default=False,
|
||||||
help="Whether to show the publish button at the top of " +
|
help="Whether to show the publish button at the top of " +
|
||||||
|
@ -3093,10 +3093,10 @@ rssIconAtTop = \
|
||||||
if rssIconAtTop is not None:
|
if rssIconAtTop is not None:
|
||||||
args.rssIconAtTop = bool(rssIconAtTop)
|
args.rssIconAtTop = bool(rssIconAtTop)
|
||||||
|
|
||||||
publishButtonAtTop = \
|
publish_button_at_top = \
|
||||||
getConfigParam(base_dir, 'publishButtonAtTop')
|
getConfigParam(base_dir, 'publish_button_at_top')
|
||||||
if publishButtonAtTop is not None:
|
if publish_button_at_top is not None:
|
||||||
args.publishButtonAtTop = bool(publishButtonAtTop)
|
args.publish_button_at_top = bool(publish_button_at_top)
|
||||||
|
|
||||||
fullWidthTimelineButtonHeader = \
|
fullWidthTimelineButtonHeader = \
|
||||||
getConfigParam(base_dir, 'fullWidthTimelineButtonHeader')
|
getConfigParam(base_dir, 'fullWidthTimelineButtonHeader')
|
||||||
|
@ -3227,7 +3227,7 @@ if __name__ == "__main__":
|
||||||
args.max_newswire_posts,
|
args.max_newswire_posts,
|
||||||
args.allow_local_network_access,
|
args.allow_local_network_access,
|
||||||
args.max_feed_item_size_kb,
|
args.max_feed_item_size_kb,
|
||||||
args.publishButtonAtTop,
|
args.publish_button_at_top,
|
||||||
args.rssIconAtTop,
|
args.rssIconAtTop,
|
||||||
args.iconsAsButtons,
|
args.iconsAsButtons,
|
||||||
args.fullWidthTimelineButtonHeader,
|
args.fullWidthTimelineButtonHeader,
|
||||||
|
|
2
theme.py
2
theme.py
|
@ -224,7 +224,7 @@ def _setPublishButtonAtTop(base_dir: str, atTop: bool) -> bool:
|
||||||
configJson = loadJson(configFilename, 0)
|
configJson = loadJson(configFilename, 0)
|
||||||
if not configJson:
|
if not configJson:
|
||||||
return False
|
return False
|
||||||
configJson['publishButtonAtTop'] = atTop
|
configJson['publish_button_at_top'] = atTop
|
||||||
return saveJson(configJson, configFilename)
|
return saveJson(configJson, configFilename)
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,7 @@ def getRightColumnContent(base_dir: str, nickname: str, domainFull: str,
|
||||||
showPublishButton: bool,
|
showPublishButton: bool,
|
||||||
showPublishAsIcon: bool,
|
showPublishAsIcon: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool,
|
authorized: bool,
|
||||||
showHeaderImage: bool,
|
showHeaderImage: bool,
|
||||||
theme: str,
|
theme: str,
|
||||||
|
@ -88,7 +88,7 @@ def getRightColumnContent(base_dir: str, nickname: str, domainFull: str,
|
||||||
translate['Login'] + '</button></a>\n'
|
translate['Login'] + '</button></a>\n'
|
||||||
|
|
||||||
# show publish button at the top if needed
|
# show publish button at the top if needed
|
||||||
if publishButtonAtTop:
|
if publish_button_at_top:
|
||||||
htmlStr += '<center>' + publishButtonStr + '</center>'
|
htmlStr += '<center>' + publishButtonStr + '</center>'
|
||||||
|
|
||||||
# show a column header image, eg. title of the theme or newswire banner
|
# show a column header image, eg. title of the theme or newswire banner
|
||||||
|
@ -122,7 +122,7 @@ def getRightColumnContent(base_dir: str, nickname: str, domainFull: str,
|
||||||
'<button class="cancelbtn">' + \
|
'<button class="cancelbtn">' + \
|
||||||
translate['Go Back'] + '</button></a>\n'
|
translate['Go Back'] + '</button></a>\n'
|
||||||
|
|
||||||
if showPublishButton and not publishButtonAtTop:
|
if showPublishButton and not publish_button_at_top:
|
||||||
if not showPublishAsIcon:
|
if not showPublishAsIcon:
|
||||||
htmlStr += publishButtonStr
|
htmlStr += publishButtonStr
|
||||||
|
|
||||||
|
|
|
@ -45,7 +45,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, moderationActionStr: str,
|
authorized: bool, moderationActionStr: str,
|
||||||
theme: str, peertubeInstances: [],
|
theme: str, peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -72,7 +72,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
|
||||||
showPublishedDateOnly,
|
showPublishedDateOnly,
|
||||||
newswire, False, False, artist, positiveVoting,
|
newswire, False, False, artist, positiveVoting,
|
||||||
showPublishAsIcon, fullWidthTimelineButtonHeader,
|
showPublishAsIcon, fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, moderationActionStr, theme,
|
authorized, moderationActionStr, theme,
|
||||||
peertubeInstances, allow_local_network_access,
|
peertubeInstances, allow_local_network_access,
|
||||||
textModeBanner, accessKeys, systemLanguage,
|
textModeBanner, accessKeys, systemLanguage,
|
||||||
|
|
|
@ -361,7 +361,7 @@ def _htmlTimelineEnd(base_dir: str, nickname: str, domainFull: str,
|
||||||
moderator: bool, editor: bool,
|
moderator: bool, editor: bool,
|
||||||
newswire: {}, positiveVoting: bool,
|
newswire: {}, positiveVoting: bool,
|
||||||
showPublishAsIcon: bool,
|
showPublishAsIcon: bool,
|
||||||
rssIconAtTop: bool, publishButtonAtTop: bool,
|
rssIconAtTop: bool, publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
defaultTimeline: str, accessKeys: {},
|
defaultTimeline: str, accessKeys: {},
|
||||||
boxName: str,
|
boxName: str,
|
||||||
|
@ -381,7 +381,7 @@ def _htmlTimelineEnd(base_dir: str, nickname: str, domainFull: str,
|
||||||
newswire, positiveVoting,
|
newswire, positiveVoting,
|
||||||
False, None, True,
|
False, None, True,
|
||||||
showPublishAsIcon,
|
showPublishAsIcon,
|
||||||
rssIconAtTop, publishButtonAtTop,
|
rssIconAtTop, publish_button_at_top,
|
||||||
authorized, True, theme,
|
authorized, True, theme,
|
||||||
defaultTimeline, accessKeys)
|
defaultTimeline, accessKeys)
|
||||||
tlStr += ' <td valign="top" class="col-right" ' + \
|
tlStr += ' <td valign="top" class="col-right" ' + \
|
||||||
|
@ -437,7 +437,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool,
|
authorized: bool,
|
||||||
moderationActionStr: str,
|
moderationActionStr: str,
|
||||||
theme: str,
|
theme: str,
|
||||||
|
@ -792,7 +792,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
moderator, editor,
|
moderator, editor,
|
||||||
newswire, positiveVoting,
|
newswire, positiveVoting,
|
||||||
showPublishAsIcon,
|
showPublishAsIcon,
|
||||||
rssIconAtTop, publishButtonAtTop,
|
rssIconAtTop, publish_button_at_top,
|
||||||
authorized, theme,
|
authorized, theme,
|
||||||
defaultTimeline, accessKeys,
|
defaultTimeline, accessKeys,
|
||||||
boxName,
|
boxName,
|
||||||
|
@ -810,7 +810,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
moderator, editor,
|
moderator, editor,
|
||||||
newswire, positiveVoting,
|
newswire, positiveVoting,
|
||||||
showPublishAsIcon,
|
showPublishAsIcon,
|
||||||
rssIconAtTop, publishButtonAtTop,
|
rssIconAtTop, publish_button_at_top,
|
||||||
authorized, theme,
|
authorized, theme,
|
||||||
defaultTimeline, accessKeys,
|
defaultTimeline, accessKeys,
|
||||||
boxName,
|
boxName,
|
||||||
|
@ -958,7 +958,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
|
||||||
moderator, editor,
|
moderator, editor,
|
||||||
newswire, positiveVoting,
|
newswire, positiveVoting,
|
||||||
showPublishAsIcon,
|
showPublishAsIcon,
|
||||||
rssIconAtTop, publishButtonAtTop,
|
rssIconAtTop, publish_button_at_top,
|
||||||
authorized, theme,
|
authorized, theme,
|
||||||
defaultTimeline, accessKeys,
|
defaultTimeline, accessKeys,
|
||||||
boxName,
|
boxName,
|
||||||
|
@ -1133,7 +1133,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1164,7 +1164,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1188,7 +1188,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1219,7 +1219,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1244,7 +1244,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1275,7 +1275,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1300,7 +1300,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1331,7 +1331,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1356,7 +1356,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1382,7 +1382,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist, positiveVoting,
|
newswire, False, False, artist, positiveVoting,
|
||||||
showPublishAsIcon,
|
showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1407,7 +1407,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1434,7 +1434,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1459,7 +1459,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1486,7 +1486,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1511,7 +1511,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1538,7 +1538,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, artist,
|
newswire, False, False, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1563,7 +1563,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool,
|
authorized: bool,
|
||||||
theme: str,
|
theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
|
@ -1590,7 +1590,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, False, False, False,
|
newswire, False, False, False,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1615,7 +1615,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1641,7 +1641,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
|
||||||
newswire, moderator, editor, artist,
|
newswire, moderator, editor, artist,
|
||||||
positiveVoting, showPublishAsIcon,
|
positiveVoting, showPublishAsIcon,
|
||||||
fullWidthTimelineButtonHeader,
|
fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
@ -1666,7 +1666,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
|
||||||
fullWidthTimelineButtonHeader: bool,
|
fullWidthTimelineButtonHeader: bool,
|
||||||
iconsAsButtons: bool,
|
iconsAsButtons: bool,
|
||||||
rssIconAtTop: bool,
|
rssIconAtTop: bool,
|
||||||
publishButtonAtTop: bool,
|
publish_button_at_top: bool,
|
||||||
authorized: bool, theme: str,
|
authorized: bool, theme: str,
|
||||||
peertubeInstances: [],
|
peertubeInstances: [],
|
||||||
allow_local_network_access: bool,
|
allow_local_network_access: bool,
|
||||||
|
@ -1694,7 +1694,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
|
||||||
showPublishedDateOnly,
|
showPublishedDateOnly,
|
||||||
newswire, False, False, artist, positiveVoting,
|
newswire, False, False, artist, positiveVoting,
|
||||||
showPublishAsIcon, fullWidthTimelineButtonHeader,
|
showPublishAsIcon, fullWidthTimelineButtonHeader,
|
||||||
iconsAsButtons, rssIconAtTop, publishButtonAtTop,
|
iconsAsButtons, rssIconAtTop, publish_button_at_top,
|
||||||
authorized, None, theme, peertubeInstances,
|
authorized, None, theme, peertubeInstances,
|
||||||
allow_local_network_access, textModeBanner,
|
allow_local_network_access, textModeBanner,
|
||||||
accessKeys, systemLanguage, max_like_count,
|
accessKeys, systemLanguage, max_like_count,
|
||||||
|
|
Loading…
Reference in New Issue