Snake case

merge-requests/30/head
Bob Mottram 2021-12-25 18:23:12 +00:00
parent e6f605bdd8
commit 2cd2857d57
14 changed files with 153 additions and 153 deletions

View File

@ -1304,7 +1304,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.peertubeInstances, self.server.peertubeInstances,
self.server.themeName, self.server.themeName,
self.server.maxLikeCount, self.server.max_like_count,
self.server.maxRecentPosts, self.server.maxRecentPosts,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled, self.server.lists_enabled,
@ -2726,7 +2726,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.peertubeInstances, self.server.peertubeInstances,
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled, self.server.lists_enabled,
@ -2860,7 +2860,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.peertubeInstances, self.server.peertubeInstances,
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled, self.server.lists_enabled,
@ -3310,7 +3310,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -3405,7 +3405,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, 'outbox', self.server.themeName, 'outbox',
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -3473,7 +3473,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, 'bookmarks', self.server.themeName, 'bookmarks',
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -3572,7 +3572,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.themeName, self.server.themeName,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
signingPrivateKeyPem, signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -7547,7 +7547,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -7759,7 +7759,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -8219,7 +8219,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -8373,7 +8373,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -8557,7 +8557,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -8729,7 +8729,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -8827,7 +8827,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled, self.server.lists_enabled,
@ -8949,7 +8949,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -9077,7 +9077,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -9174,7 +9174,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -9279,7 +9279,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -9389,7 +9389,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
showRepeats, showRepeats,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -9511,7 +9511,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -9603,7 +9603,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -9711,7 +9711,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.debug, self.server.debug,
accessKeys, city, accessKeys, city,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
rolesList, rolesList,
None, None, self.server.CWlists, None, None, self.server.CWlists,
@ -9827,7 +9827,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.debug, self.server.debug,
accessKeys, city, accessKeys, city,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
skills, skills,
None, None, None, None,
@ -9993,7 +9993,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.themeName, self.server.themeName,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled) self.server.lists_enabled)
@ -10257,7 +10257,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -10405,7 +10405,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -10546,7 +10546,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -10688,7 +10688,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
fed_domains, fed_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -10830,7 +10830,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
fed_domains, fed_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -10982,7 +10982,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
fed_domains, fed_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11129,7 +11129,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11235,7 +11235,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11319,7 +11319,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11440,7 +11440,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11578,7 +11578,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11708,7 +11708,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.textModeBanner, self.server.textModeBanner,
accessKeys, accessKeys,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
@ -11829,7 +11829,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.debug, self.server.debug,
accessKeys, city, accessKeys, city,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
shares, shares,
pageNumber, sharesPerPage, pageNumber, sharesPerPage,
@ -11950,7 +11950,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.debug, self.server.debug,
accessKeys, city, accessKeys, city,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
following, following,
pageNumber, pageNumber,
@ -12070,7 +12070,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.debug, self.server.debug,
accessKeys, city, accessKeys, city,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
followers, followers,
pageNumber, pageNumber,
@ -12206,7 +12206,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.debug, self.server.debug,
accessKeys, city, accessKeys, city,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.shared_items_federated_domains, self.server.shared_items_federated_domains,
None, None, None, None, None, None,
self.server.CWlists, self.server.CWlists,
@ -12967,7 +12967,7 @@ class PubServer(BaseHTTPRequestHandler):
self.server.peertubeInstances, self.server.peertubeInstances,
self.server.allowLocalNetworkAccess, self.server.allowLocalNetworkAccess,
self.server.systemLanguage, self.server.systemLanguage,
self.server.maxLikeCount, self.server.max_like_count,
self.server.signingPrivateKeyPem, self.server.signingPrivateKeyPem,
self.server.CWlists, self.server.CWlists,
self.server.lists_enabled, self.server.lists_enabled,
@ -18403,7 +18403,7 @@ def runDaemon(content_license_url: str,
lists_enabled: str, lists_enabled: str,
default_reply_interval_hrs: int, default_reply_interval_hrs: int,
low_bandwidth: bool, low_bandwidth: bool,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
userAgentsBlocked: [], userAgentsBlocked: [],
logLoginFailures: bool, logLoginFailures: bool,
@ -18673,11 +18673,11 @@ def runDaemon(content_license_url: str,
httpd.dormantMonths = dormantMonths httpd.dormantMonths = dormantMonths
# maximum number of likes to display on a post # maximum number of likes to display on a post
httpd.maxLikeCount = maxLikeCount httpd.max_like_count = max_like_count
if httpd.maxLikeCount < 0: if httpd.max_like_count < 0:
httpd.maxLikeCount = 0 httpd.max_like_count = 0
elif httpd.maxLikeCount > 16: elif httpd.max_like_count > 16:
httpd.maxLikeCount = 16 httpd.max_like_count = 16
httpd.followingItemsPerPage = 12 httpd.followingItemsPerPage = 12
if registration == 'open': if registration == 'open':
@ -18909,7 +18909,7 @@ def runDaemon(content_license_url: str,
verifyAllSignatures, verifyAllSignatures,
httpd.themeName, httpd.themeName,
httpd.systemLanguage, httpd.systemLanguage,
httpd.maxLikeCount, httpd.max_like_count,
httpd.signingPrivateKeyPem, httpd.signingPrivateKeyPem,
httpd.default_reply_interval_hrs, httpd.default_reply_interval_hrs,
httpd.CWlists), daemon=True) httpd.CWlists), daemon=True)

View File

@ -487,7 +487,7 @@ parser.add_argument('--minimumvotes', dest='minimumvotes', type=int,
default=1, default=1,
help='Minimum number of votes to remove or add' + help='Minimum number of votes to remove or add' +
' a newswire item') ' a newswire item')
parser.add_argument('--maxLikeCount', dest='maxLikeCount', type=int, parser.add_argument('--max_like_count', dest='max_like_count', type=int,
default=10, default=10,
help='Maximum number of likes displayed on a post') help='Maximum number of likes displayed on a post')
parser.add_argument('--votingtime', dest='votingtime', type=int, parser.add_argument('--votingtime', dest='votingtime', type=int,
@ -3073,10 +3073,10 @@ sendThreadsTimeoutMins = \
if sendThreadsTimeoutMins is not None: if sendThreadsTimeoutMins is not None:
args.sendThreadsTimeoutMins = int(sendThreadsTimeoutMins) args.sendThreadsTimeoutMins = int(sendThreadsTimeoutMins)
maxLikeCount = \ max_like_count = \
getConfigParam(base_dir, 'maxLikeCount') getConfigParam(base_dir, 'max_like_count')
if maxLikeCount is not None: if max_like_count is not None:
args.maxLikeCount = int(maxLikeCount) args.max_like_count = int(max_like_count)
showPublishAsIcon = \ showPublishAsIcon = \
getConfigParam(base_dir, 'showPublishAsIcon') getConfigParam(base_dir, 'showPublishAsIcon')
@ -3213,7 +3213,7 @@ if __name__ == "__main__":
runDaemon(content_license_url, runDaemon(content_license_url,
lists_enabled, lists_enabled,
args.default_reply_interval_hrs, args.default_reply_interval_hrs,
args.low_bandwidth, args.maxLikeCount, args.low_bandwidth, args.max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
userAgentsBlocked, userAgentsBlocked,
args.logLoginFailures, args.logLoginFailures,

View File

@ -289,7 +289,7 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, CWlists: {},
lists_enabled: str) -> None: lists_enabled: str) -> None:
@ -315,7 +315,7 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int,
yt_replace_domain, twitterReplacementDomain, yt_replace_domain, twitterReplacementDomain,
showPublishedDateOnly, showPublishedDateOnly,
peertubeInstances, allowLocalNetworkAccess, peertubeInstances, allowLocalNetworkAccess,
themeName, systemLanguage, maxLikeCount, themeName, systemLanguage, max_like_count,
notDM, True, True, False, True, False, notDM, True, True, False, True, False,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1004,7 +1004,7 @@ def _receiveLike(recentPostsCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: str) -> bool: lists_enabled: str) -> bool:
"""Receives a Like activity within the POST section of HTTPServer """Receives a Like activity within the POST section of HTTPServer
""" """
@ -1104,7 +1104,7 @@ def _receiveLike(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -1126,7 +1126,7 @@ def _receiveUndoLike(recentPostsCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: str) -> bool: lists_enabled: str) -> bool:
"""Receives an undo like activity within the POST section of HTTPServer """Receives an undo like activity within the POST section of HTTPServer
""" """
@ -1215,7 +1215,7 @@ def _receiveUndoLike(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -1238,7 +1238,7 @@ def _receiveReaction(recentPostsCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: str) -> bool: lists_enabled: str) -> bool:
"""Receives an emoji reaction within the POST section of HTTPServer """Receives an emoji reaction within the POST section of HTTPServer
""" """
@ -1363,7 +1363,7 @@ def _receiveReaction(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -1385,7 +1385,7 @@ def _receiveUndoReaction(recentPostsCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: str) -> bool: lists_enabled: str) -> bool:
"""Receives an undo emoji reaction within the POST section of HTTPServer """Receives an undo emoji reaction within the POST section of HTTPServer
""" """
@ -1490,7 +1490,7 @@ def _receiveUndoReaction(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -1511,7 +1511,7 @@ def _receiveBookmark(recentPostsCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: {}) -> bool: lists_enabled: {}) -> bool:
"""Receives a bookmark activity within the POST section of HTTPServer """Receives a bookmark activity within the POST section of HTTPServer
""" """
@ -1600,7 +1600,7 @@ def _receiveBookmark(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -1621,7 +1621,7 @@ def _receiveUndoBookmark(recentPostsCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: str) -> bool: lists_enabled: str) -> bool:
"""Receives an undo bookmark activity within the POST section of HTTPServer """Receives an undo bookmark activity within the POST section of HTTPServer
""" """
@ -1711,7 +1711,7 @@ def _receiveUndoBookmark(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, lists_enabled) False, True, False, CWlists, lists_enabled)
@ -1808,7 +1808,7 @@ def _receiveAnnounce(recentPostsCache: {},
maxRecentPosts: int, maxRecentPosts: int,
allowDeletion: bool, allowDeletion: bool,
peertubeInstances: [], peertubeInstances: [],
maxLikeCount: int, CWlists: {}, max_like_count: int, CWlists: {},
lists_enabled: str) -> bool: lists_enabled: str) -> bool:
"""Receives an announce activity within the POST section of HTTPServer """Receives an announce activity within the POST section of HTTPServer
""" """
@ -1918,7 +1918,7 @@ def _receiveAnnounce(recentPostsCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -2985,7 +2985,7 @@ def _receiveQuestionVote(base_dir: str, nickname: str, domain: str,
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
CWlists: {}, lists_enabled: bool) -> None: CWlists: {}, lists_enabled: bool) -> None:
"""Updates the votes on a Question/poll """Updates the votes on a Question/poll
""" """
@ -3030,7 +3030,7 @@ def _receiveQuestionVote(base_dir: str, nickname: str, domain: str,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, notDM, max_like_count, notDM,
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
False, True, False, CWlists, False, True, False, CWlists,
@ -3194,7 +3194,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances: [], peertubeInstances: [],
lastBounceMessage: [], lastBounceMessage: [],
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
default_reply_interval_hrs: int, default_reply_interval_hrs: int,
CWlists: {}, lists_enabled: str, CWlists: {}, lists_enabled: str,
@ -3228,7 +3228,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Like accepted from ' + actor) print('DEBUG: Like accepted from ' + actor)
return False return False
@ -3250,7 +3250,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Undo like accepted from ' + actor) print('DEBUG: Undo like accepted from ' + actor)
return False return False
@ -3273,7 +3273,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Reaction accepted from ' + actor) print('DEBUG: Reaction accepted from ' + actor)
return False return False
@ -3295,7 +3295,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Undo reaction accepted from ' + actor) print('DEBUG: Undo reaction accepted from ' + actor)
return False return False
@ -3317,7 +3317,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Bookmark accepted from ' + actor) print('DEBUG: Bookmark accepted from ' + actor)
return False return False
@ -3339,7 +3339,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Undo bookmark accepted from ' + actor) print('DEBUG: Undo bookmark accepted from ' + actor)
return False return False
@ -3365,7 +3365,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
maxRecentPosts, maxRecentPosts,
allowDeletion, allowDeletion,
peertubeInstances, peertubeInstances,
maxLikeCount, CWlists, lists_enabled): max_like_count, CWlists, lists_enabled):
if debug: if debug:
print('DEBUG: Announce accepted from ' + actor) print('DEBUG: Announce accepted from ' + actor)
@ -3461,7 +3461,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
CWlists, lists_enabled) CWlists, lists_enabled)
isReplyToMutedPost = False isReplyToMutedPost = False
@ -3566,7 +3566,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
signingPrivateKeyPem, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
if debug: if debug:
@ -4079,7 +4079,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances: [], peertubeInstances: [],
verifyAllSignatures: bool, verifyAllSignatures: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, signingPrivateKeyPem: str, max_like_count: int, signingPrivateKeyPem: str,
default_reply_interval_hrs: int, default_reply_interval_hrs: int,
CWlists: {}) -> None: CWlists: {}) -> None:
"""Processes received items and moves them to the appropriate """Processes received items and moves them to the appropriate
@ -4509,7 +4509,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
lastBounceMessage, lastBounceMessage,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
signingPrivateKeyPem, signingPrivateKeyPem,
default_reply_interval_hrs, default_reply_interval_hrs,
CWlists, lists_enabled, CWlists, lists_enabled,

View File

@ -197,7 +197,7 @@ def postMessageToOutbox(session, translate: {},
low_bandwidth: bool, low_bandwidth: bool,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
peertubeInstances: str, theme: str, peertubeInstances: str, theme: str,
maxLikeCount: int, max_like_count: int,
maxRecentPosts: int, CWlists: {}, maxRecentPosts: int, CWlists: {},
lists_enabled: str, lists_enabled: str,
content_license_url: str) -> bool: content_license_url: str) -> bool:
@ -470,7 +470,7 @@ def postMessageToOutbox(session, translate: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
theme, systemLanguage, theme, systemLanguage,
maxLikeCount, max_like_count,
boxNameIndex != 'dm', boxNameIndex != 'dm',
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,

View File

@ -125,7 +125,7 @@ def _updatePostSchedule(base_dir: str, handle: str, httpd,
httpd.signingPrivateKeyPem, httpd.signingPrivateKeyPem,
httpd.peertubeInstances, httpd.peertubeInstances,
httpd.themeName, httpd.themeName,
httpd.maxLikeCount, httpd.max_like_count,
httpd.maxRecentPosts, httpd.maxRecentPosts,
httpd.CWlists, httpd.CWlists,
httpd.lists_enabled, httpd.lists_enabled,

View File

@ -791,14 +791,14 @@ def createServerAlice(path: str, domain: str, port: int,
city = 'London, England' city = 'London, England'
logLoginFailures = False logLoginFailures = False
userAgentsBlocked = [] userAgentsBlocked = []
maxLikeCount = 10 max_like_count = 10
default_reply_interval_hrs = 9999999999 default_reply_interval_hrs = 9999999999
lists_enabled = '' lists_enabled = ''
content_license_url = 'https://creativecommons.org/licenses/by/4.0' content_license_url = 'https://creativecommons.org/licenses/by/4.0'
print('Server running: Alice') print('Server running: Alice')
runDaemon(content_license_url, runDaemon(content_license_url,
lists_enabled, default_reply_interval_hrs, lists_enabled, default_reply_interval_hrs,
low_bandwidth, maxLikeCount, low_bandwidth, max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
userAgentsBlocked, userAgentsBlocked,
logLoginFailures, city, logLoginFailures, city,
@ -933,14 +933,14 @@ def createServerBob(path: str, domain: str, port: int,
city = 'London, England' city = 'London, England'
logLoginFailures = False logLoginFailures = False
userAgentsBlocked = [] userAgentsBlocked = []
maxLikeCount = 10 max_like_count = 10
default_reply_interval_hrs = 9999999999 default_reply_interval_hrs = 9999999999
lists_enabled = '' lists_enabled = ''
content_license_url = 'https://creativecommons.org/licenses/by/4.0' content_license_url = 'https://creativecommons.org/licenses/by/4.0'
print('Server running: Bob') print('Server running: Bob')
runDaemon(content_license_url, runDaemon(content_license_url,
lists_enabled, default_reply_interval_hrs, lists_enabled, default_reply_interval_hrs,
low_bandwidth, maxLikeCount, low_bandwidth, max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
userAgentsBlocked, userAgentsBlocked,
logLoginFailures, city, logLoginFailures, city,
@ -1002,7 +1002,7 @@ def createServerEve(path: str, domain: str, port: int, federationList: [],
city = 'London, England' city = 'London, England'
logLoginFailures = False logLoginFailures = False
userAgentsBlocked = [] userAgentsBlocked = []
maxLikeCount = 10 max_like_count = 10
low_bandwidth = True low_bandwidth = True
default_reply_interval_hrs = 9999999999 default_reply_interval_hrs = 9999999999
lists_enabled = '' lists_enabled = ''
@ -1010,7 +1010,7 @@ def createServerEve(path: str, domain: str, port: int, federationList: [],
print('Server running: Eve') print('Server running: Eve')
runDaemon(content_license_url, runDaemon(content_license_url,
lists_enabled, default_reply_interval_hrs, lists_enabled, default_reply_interval_hrs,
low_bandwidth, maxLikeCount, low_bandwidth, max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
userAgentsBlocked, userAgentsBlocked,
logLoginFailures, city, logLoginFailures, city,
@ -1074,7 +1074,7 @@ def createServerGroup(path: str, domain: str, port: int,
city = 'London, England' city = 'London, England'
logLoginFailures = False logLoginFailures = False
userAgentsBlocked = [] userAgentsBlocked = []
maxLikeCount = 10 max_like_count = 10
low_bandwidth = True low_bandwidth = True
default_reply_interval_hrs = 9999999999 default_reply_interval_hrs = 9999999999
lists_enabled = '' lists_enabled = ''
@ -1082,7 +1082,7 @@ def createServerGroup(path: str, domain: str, port: int,
print('Server running: Group') print('Server running: Group')
runDaemon(content_license_url, runDaemon(content_license_url,
lists_enabled, default_reply_interval_hrs, lists_enabled, default_reply_interval_hrs,
low_bandwidth, maxLikeCount, low_bandwidth, max_like_count,
shared_items_federated_domains, shared_items_federated_domains,
userAgentsBlocked, userAgentsBlocked,
logLoginFailures, city, logLoginFailures, city,

View File

@ -36,7 +36,7 @@ def htmlConfirmDelete(cssCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, signingPrivateKeyPem: str, max_like_count: int, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
"""Shows a screen asking to confirm the deletion of a post """Shows a screen asking to confirm the deletion of a post
""" """
@ -76,7 +76,7 @@ def htmlConfirmDelete(cssCache: {},
twitterReplacementDomain, twitterReplacementDomain,
showPublishedDateOnly, showPublishedDateOnly,
peertubeInstances, allowLocalNetworkAccess, peertubeInstances, allowLocalNetworkAccess,
themeName, systemLanguage, maxLikeCount, themeName, systemLanguage, max_like_count,
False, False, False, False, False, False, False, False, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)
deletePostStr += '<center>' deletePostStr += '<center>'

View File

@ -208,7 +208,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
systemLanguage: str, systemLanguage: str,
maxLikeCount: int, signingPrivateKeyPem: str, max_like_count: int, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str, CWlists: {}, lists_enabled: str,
boxName: str) -> str: boxName: str) -> str:
"""New post screen """New post screen
@ -277,7 +277,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
theme, systemLanguage, theme, systemLanguage,
maxLikeCount, max_like_count,
False, False, False, False, False, False,
False, False, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)

View File

@ -34,7 +34,7 @@ def _htmlFrontScreenPosts(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, CWlists: {}, signingPrivateKeyPem: str, CWlists: {},
lists_enabled: str) -> str: lists_enabled: str) -> str:
"""Shows posts on the front screen of a news instance """Shows posts on the front screen of a news instance
@ -80,7 +80,7 @@ def _htmlFrontScreenPosts(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
False, False, False, False, False, False,
True, False, False, True, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -109,7 +109,7 @@ def htmlFrontScreen(signingPrivateKeyPem: str,
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
accessKeys: {}, accessKeys: {},
systemLanguage: str, maxLikeCount: int, systemLanguage: str, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
extraJson: {}, extraJson: {},
pageNumber: int, pageNumber: int,
@ -185,7 +185,7 @@ def htmlFrontScreen(signingPrivateKeyPem: str,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
theme, systemLanguage, theme, systemLanguage,
maxLikeCount, max_like_count,
signingPrivateKeyPem, signingPrivateKeyPem,
CWlists, lists_enabled) + licenseStr CWlists, lists_enabled) + licenseStr

View File

@ -51,7 +51,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -76,7 +76,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str,
authorized, moderationActionStr, theme, authorized, moderationActionStr, theme,
peertubeInstances, allowLocalNetworkAccess, peertubeInstances, allowLocalNetworkAccess,
textModeBanner, accessKeys, systemLanguage, textModeBanner, accessKeys, systemLanguage,
maxLikeCount, shared_items_federated_domains, max_like_count, shared_items_federated_domains,
signingPrivateKeyPem, CWlists, lists_enabled) signingPrivateKeyPem, CWlists, lists_enabled)

View File

@ -601,7 +601,7 @@ def _getLikeIconHtml(nickname: str, domainFull: str,
translate: {}, pageNumberParam: str, translate: {}, pageNumberParam: str,
timelinePostBookmark: str, timelinePostBookmark: str,
boxName: str, boxName: str,
maxLikeCount: int) -> str: max_like_count: int) -> str:
"""Returns html for like icon/button """Returns html for like icon/button
""" """
if not showLikeButton or isModerationPost: if not showLikeButton or isModerationPost:
@ -619,10 +619,10 @@ def _getLikeIconHtml(nickname: str, domainFull: str,
likeCountStr = '' likeCountStr = ''
if likeCount > 0: if likeCount > 0:
if likeCount <= maxLikeCount: if likeCount <= max_like_count:
likeCountStr = ' (' + str(likeCount) + ')' likeCountStr = ' (' + str(likeCount) + ')'
else: else:
likeCountStr = ' (' + str(maxLikeCount) + '+)' likeCountStr = ' (' + str(max_like_count) + '+)'
if likedByPerson(postJsonObject, nickname, domainFull): if likedByPerson(postJsonObject, nickname, domainFull):
if likeCount == 1: if likeCount == 1:
# liked by the reader only # liked by the reader only
@ -1337,7 +1337,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
showRepeats: bool, showRepeats: bool,
showIcons: bool, showIcons: bool,
manuallyApprovesFollowers: bool, manuallyApprovesFollowers: bool,
@ -1691,7 +1691,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str,
postStartTime, postStartTime,
translate, pageNumberParam, translate, pageNumberParam,
timelinePostBookmark, timelinePostBookmark,
boxName, maxLikeCount) boxName, max_like_count)
_logPostTiming(enableTimingLog, postStartTime, '12.5') _logPostTiming(enableTimingLog, postStartTime, '12.5')
@ -2005,7 +2005,7 @@ def htmlIndividualPost(cssCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, signingPrivateKeyPem: str, max_like_count: int, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
"""Show an individual post as html """Show an individual post as html
""" """
@ -2069,7 +2069,7 @@ def htmlIndividualPost(cssCache: {},
showPublishedDateOnly, showPublishedDateOnly,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, themeName, allowLocalNetworkAccess, themeName,
systemLanguage, maxLikeCount, systemLanguage, max_like_count,
False, authorized, False, False, False, False, False, authorized, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)
messageId = removeIdEnding(postJsonObject['id']) messageId = removeIdEnding(postJsonObject['id'])
@ -2101,7 +2101,7 @@ def htmlIndividualPost(cssCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
False, authorized, False, authorized,
False, False, False, False, False, False, False, False,
CWlists, lists_enabled) + postStr CWlists, lists_enabled) + postStr
@ -2136,7 +2136,7 @@ def htmlIndividualPost(cssCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
False, authorized, False, authorized,
False, False, False, False, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -2164,7 +2164,7 @@ def htmlPostReplies(cssCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, CWlists: {}, signingPrivateKeyPem: str, CWlists: {},
lists_enabled: str) -> str: lists_enabled: str) -> str:
"""Show the replies to an individual post as html """Show the replies to an individual post as html
@ -2188,7 +2188,7 @@ def htmlPostReplies(cssCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
False, False, False, False, False, False, False, False, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -2217,7 +2217,7 @@ def htmlEmojiReactionPicker(cssCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, signingPrivateKeyPem: str, max_like_count: int, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str, CWlists: {}, lists_enabled: str,
boxName: str, pageNumber: int) -> str: boxName: str, pageNumber: int) -> str:
"""Returns the emoji picker screen """Returns the emoji picker screen
@ -2240,7 +2240,7 @@ def htmlEmojiReactionPicker(cssCache: {},
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
False, False, False, False, False, False, False, False, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)

View File

@ -138,7 +138,7 @@ def htmlProfileAfterSearch(cssCache: {},
themeName: str, themeName: str,
accessKeys: {}, accessKeys: {},
systemLanguage: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
"""Show a profile page after a search for a fediverse address """Show a profile page after a search for a fediverse address
@ -345,7 +345,7 @@ def htmlProfileAfterSearch(cssCache: {},
showPublishedDateOnly, showPublishedDateOnly,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, maxLikeCount, themeName, systemLanguage, max_like_count,
False, False, False, False, False, False, False, False, False, False, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)
i += 1 i += 1
@ -555,7 +555,7 @@ def htmlProfile(signingPrivateKeyPem: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
debug: bool, accessKeys: {}, city: str, debug: bool, accessKeys: {}, city: str,
systemLanguage: str, maxLikeCount: int, systemLanguage: str, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
extraJson: {}, pageNumber: int, extraJson: {}, pageNumber: int,
maxItemsPerPage: int, maxItemsPerPage: int,
@ -581,7 +581,7 @@ def htmlProfile(signingPrivateKeyPem: str,
showPublishedDateOnly, showPublishedDateOnly,
newswire, theme, extraJson, newswire, theme, extraJson,
allowLocalNetworkAccess, accessKeys, allowLocalNetworkAccess, accessKeys,
systemLanguage, maxLikeCount, systemLanguage, max_like_count,
shared_items_federated_domains, None, shared_items_federated_domains, None,
pageNumber, maxItemsPerPage, CWlists, pageNumber, maxItemsPerPage, CWlists,
lists_enabled) lists_enabled)
@ -964,7 +964,7 @@ def htmlProfile(signingPrivateKeyPem: str,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
theme, systemLanguage, theme, systemLanguage,
maxLikeCount, max_like_count,
signingPrivateKeyPem, signingPrivateKeyPem,
CWlists, lists_enabled) + licenseStr CWlists, lists_enabled) + licenseStr
if not isGroup: if not isGroup:
@ -1032,7 +1032,7 @@ def _htmlProfilePosts(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
"""Shows posts on the profile screen """Shows posts on the profile screen
@ -1077,7 +1077,7 @@ def _htmlProfilePosts(recentPostsCache: {}, maxRecentPosts: int,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, themeName, systemLanguage,
maxLikeCount, max_like_count,
False, False, False, False, False, False,
True, False, False, True, False, False,
CWlists, lists_enabled) CWlists, lists_enabled)

View File

@ -604,7 +604,7 @@ def htmlHistorySearch(cssCache: {}, translate: {}, base_dir: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, boxName: str, themeName: str, boxName: str,
systemLanguage: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, CWlists: {},
lists_enabled: str) -> str: lists_enabled: str) -> str:
@ -689,7 +689,7 @@ def htmlHistorySearch(cssCache: {}, translate: {}, base_dir: str,
showPublishedDateOnly, showPublishedDateOnly,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, maxLikeCount, themeName, systemLanguage, max_like_count,
showIndividualPostIcons, showIndividualPostIcons,
showIndividualPostIcons, showIndividualPostIcons,
False, False, False, False, False, False, False, False,
@ -716,7 +716,7 @@ def htmlHashtagSearch(cssCache: {},
peertubeInstances: [], peertubeInstances: [],
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
themeName: str, systemLanguage: str, themeName: str, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
"""Show a page containing search results for a hashtag """Show a page containing search results for a hashtag
@ -872,7 +872,7 @@ def htmlHashtagSearch(cssCache: {},
showPublishedDateOnly, showPublishedDateOnly,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
themeName, systemLanguage, maxLikeCount, themeName, systemLanguage, max_like_count,
showRepeats, showIcons, showRepeats, showIcons,
manuallyApprovesFollowers, manuallyApprovesFollowers,
showPublicOnly, showPublicOnly,

View File

@ -445,7 +445,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -911,7 +911,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str,
peertubeInstances, peertubeInstances,
allowLocalNetworkAccess, allowLocalNetworkAccess,
theme, systemLanguage, theme, systemLanguage,
maxLikeCount, max_like_count,
boxName != 'dm', boxName != 'dm',
showIndividualPostIcons, showIndividualPostIcons,
manuallyApproveFollowers, manuallyApproveFollowers,
@ -1139,7 +1139,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1167,7 +1167,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1194,7 +1194,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1222,7 +1222,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1250,7 +1250,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1278,7 +1278,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1306,7 +1306,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1334,7 +1334,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1362,7 +1362,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1385,7 +1385,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1413,7 +1413,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1437,7 +1437,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1465,7 +1465,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1489,7 +1489,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1517,7 +1517,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1541,7 +1541,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1570,7 +1570,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1593,7 +1593,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1621,7 +1621,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1644,7 +1644,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)
@ -1672,7 +1672,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
allowLocalNetworkAccess: bool, allowLocalNetworkAccess: bool,
textModeBanner: str, textModeBanner: str,
accessKeys: {}, systemLanguage: str, accessKeys: {}, systemLanguage: str,
maxLikeCount: int, max_like_count: int,
shared_items_federated_domains: [], shared_items_federated_domains: [],
signingPrivateKeyPem: str, signingPrivateKeyPem: str,
CWlists: {}, lists_enabled: str) -> str: CWlists: {}, lists_enabled: str) -> str:
@ -1697,6 +1697,6 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str,
iconsAsButtons, rssIconAtTop, publishButtonAtTop, iconsAsButtons, rssIconAtTop, publishButtonAtTop,
authorized, None, theme, peertubeInstances, authorized, None, theme, peertubeInstances,
allowLocalNetworkAccess, textModeBanner, allowLocalNetworkAccess, textModeBanner,
accessKeys, systemLanguage, maxLikeCount, accessKeys, systemLanguage, max_like_count,
shared_items_federated_domains, signingPrivateKeyPem, shared_items_federated_domains, signingPrivateKeyPem,
CWlists, lists_enabled) CWlists, lists_enabled)