From 2cd2857d57b521473074a40fe2be4be93686eab7 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 25 Dec 2021 18:23:12 +0000 Subject: [PATCH] Snake case --- daemon.py | 96 +++++++++++++++++++++---------------------- epicyon.py | 12 +++--- inbox.py | 60 +++++++++++++-------------- outbox.py | 4 +- schedule.py | 2 +- tests.py | 16 ++++---- webapp_confirm.py | 4 +- webapp_create_post.py | 4 +- webapp_frontscreen.py | 8 ++-- webapp_moderation.py | 4 +- webapp_post.py | 26 ++++++------ webapp_profile.py | 14 +++---- webapp_search.py | 8 ++-- webapp_timeline.py | 48 +++++++++++----------- 14 files changed, 153 insertions(+), 153 deletions(-) diff --git a/daemon.py b/daemon.py index 3734628ac..8e4d56c55 100644 --- a/daemon.py +++ b/daemon.py @@ -1304,7 +1304,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.signingPrivateKeyPem, self.server.peertubeInstances, self.server.themeName, - self.server.maxLikeCount, + self.server.max_like_count, self.server.maxRecentPosts, self.server.CWlists, self.server.lists_enabled, @@ -2726,7 +2726,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.peertubeInstances, self.server.allowLocalNetworkAccess, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled, @@ -2860,7 +2860,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.peertubeInstances, self.server.allowLocalNetworkAccess, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled, @@ -3310,7 +3310,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -3405,7 +3405,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, 'outbox', self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -3473,7 +3473,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, 'bookmarks', self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -3572,7 +3572,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.themeName, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -7547,7 +7547,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -7759,7 +7759,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -8219,7 +8219,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -8373,7 +8373,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -8557,7 +8557,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -8729,7 +8729,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -8827,7 +8827,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled, @@ -8949,7 +8949,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -9077,7 +9077,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -9174,7 +9174,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -9279,7 +9279,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -9389,7 +9389,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, showRepeats, showIndividualPostIcons, manuallyApproveFollowers, @@ -9511,7 +9511,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -9603,7 +9603,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -9711,7 +9711,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.debug, accessKeys, city, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, rolesList, None, None, self.server.CWlists, @@ -9827,7 +9827,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.debug, accessKeys, city, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, skills, None, None, @@ -9993,7 +9993,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.allowLocalNetworkAccess, self.server.themeName, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled) @@ -10257,7 +10257,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -10405,7 +10405,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -10546,7 +10546,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -10688,7 +10688,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, fed_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -10830,7 +10830,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, fed_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -10982,7 +10982,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, fed_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11129,7 +11129,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11235,7 +11235,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11319,7 +11319,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11440,7 +11440,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11578,7 +11578,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11708,7 +11708,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.textModeBanner, accessKeys, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, shared_items_federated_domains, self.server.signingPrivateKeyPem, self.server.CWlists, @@ -11829,7 +11829,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.debug, accessKeys, city, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, shares, pageNumber, sharesPerPage, @@ -11950,7 +11950,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.debug, accessKeys, city, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, following, pageNumber, @@ -12070,7 +12070,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.debug, accessKeys, city, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, followers, pageNumber, @@ -12206,7 +12206,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.debug, accessKeys, city, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.shared_items_federated_domains, None, None, None, self.server.CWlists, @@ -12967,7 +12967,7 @@ class PubServer(BaseHTTPRequestHandler): self.server.peertubeInstances, self.server.allowLocalNetworkAccess, self.server.systemLanguage, - self.server.maxLikeCount, + self.server.max_like_count, self.server.signingPrivateKeyPem, self.server.CWlists, self.server.lists_enabled, @@ -18403,7 +18403,7 @@ def runDaemon(content_license_url: str, lists_enabled: str, default_reply_interval_hrs: int, low_bandwidth: bool, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], userAgentsBlocked: [], logLoginFailures: bool, @@ -18673,11 +18673,11 @@ def runDaemon(content_license_url: str, httpd.dormantMonths = dormantMonths # maximum number of likes to display on a post - httpd.maxLikeCount = maxLikeCount - if httpd.maxLikeCount < 0: - httpd.maxLikeCount = 0 - elif httpd.maxLikeCount > 16: - httpd.maxLikeCount = 16 + httpd.max_like_count = max_like_count + if httpd.max_like_count < 0: + httpd.max_like_count = 0 + elif httpd.max_like_count > 16: + httpd.max_like_count = 16 httpd.followingItemsPerPage = 12 if registration == 'open': @@ -18909,7 +18909,7 @@ def runDaemon(content_license_url: str, verifyAllSignatures, httpd.themeName, httpd.systemLanguage, - httpd.maxLikeCount, + httpd.max_like_count, httpd.signingPrivateKeyPem, httpd.default_reply_interval_hrs, httpd.CWlists), daemon=True) diff --git a/epicyon.py b/epicyon.py index 6305b1ca4..65be9392b 100644 --- a/epicyon.py +++ b/epicyon.py @@ -487,7 +487,7 @@ parser.add_argument('--minimumvotes', dest='minimumvotes', type=int, default=1, help='Minimum number of votes to remove or add' + ' 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, help='Maximum number of likes displayed on a post') parser.add_argument('--votingtime', dest='votingtime', type=int, @@ -3073,10 +3073,10 @@ sendThreadsTimeoutMins = \ if sendThreadsTimeoutMins is not None: args.sendThreadsTimeoutMins = int(sendThreadsTimeoutMins) -maxLikeCount = \ - getConfigParam(base_dir, 'maxLikeCount') -if maxLikeCount is not None: - args.maxLikeCount = int(maxLikeCount) +max_like_count = \ + getConfigParam(base_dir, 'max_like_count') +if max_like_count is not None: + args.max_like_count = int(max_like_count) showPublishAsIcon = \ getConfigParam(base_dir, 'showPublishAsIcon') @@ -3213,7 +3213,7 @@ if __name__ == "__main__": runDaemon(content_license_url, lists_enabled, args.default_reply_interval_hrs, - args.low_bandwidth, args.maxLikeCount, + args.low_bandwidth, args.max_like_count, shared_items_federated_domains, userAgentsBlocked, args.logLoginFailures, diff --git a/inbox.py b/inbox.py index c427f711c..ed72b261c 100644 --- a/inbox.py +++ b/inbox.py @@ -289,7 +289,7 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> None: @@ -315,7 +315,7 @@ def _inboxStorePostToHtmlCache(recentPostsCache: {}, maxRecentPosts: int, yt_replace_domain, twitterReplacementDomain, showPublishedDateOnly, peertubeInstances, allowLocalNetworkAccess, - themeName, systemLanguage, maxLikeCount, + themeName, systemLanguage, max_like_count, notDM, True, True, False, True, False, CWlists, lists_enabled) @@ -1004,7 +1004,7 @@ def _receiveLike(recentPostsCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: str) -> bool: """Receives a Like activity within the POST section of HTTPServer """ @@ -1104,7 +1104,7 @@ def _receiveLike(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -1126,7 +1126,7 @@ def _receiveUndoLike(recentPostsCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: str) -> bool: """Receives an undo like activity within the POST section of HTTPServer """ @@ -1215,7 +1215,7 @@ def _receiveUndoLike(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -1238,7 +1238,7 @@ def _receiveReaction(recentPostsCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: str) -> bool: """Receives an emoji reaction within the POST section of HTTPServer """ @@ -1363,7 +1363,7 @@ def _receiveReaction(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -1385,7 +1385,7 @@ def _receiveUndoReaction(recentPostsCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: str) -> bool: """Receives an undo emoji reaction within the POST section of HTTPServer """ @@ -1490,7 +1490,7 @@ def _receiveUndoReaction(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -1511,7 +1511,7 @@ def _receiveBookmark(recentPostsCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: {}) -> bool: """Receives a bookmark activity within the POST section of HTTPServer """ @@ -1600,7 +1600,7 @@ def _receiveBookmark(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -1621,7 +1621,7 @@ def _receiveUndoBookmark(recentPostsCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: str) -> bool: """Receives an undo bookmark activity within the POST section of HTTPServer """ @@ -1711,7 +1711,7 @@ def _receiveUndoBookmark(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, lists_enabled) @@ -1808,7 +1808,7 @@ def _receiveAnnounce(recentPostsCache: {}, maxRecentPosts: int, allowDeletion: bool, peertubeInstances: [], - maxLikeCount: int, CWlists: {}, + max_like_count: int, CWlists: {}, lists_enabled: str) -> bool: """Receives an announce activity within the POST section of HTTPServer """ @@ -1918,7 +1918,7 @@ def _receiveAnnounce(recentPostsCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -2985,7 +2985,7 @@ def _receiveQuestionVote(base_dir: str, nickname: str, domain: str, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, CWlists: {}, lists_enabled: bool) -> None: """Updates the votes on a Question/poll """ @@ -3030,7 +3030,7 @@ def _receiveQuestionVote(base_dir: str, nickname: str, domain: str, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, notDM, + max_like_count, notDM, showIndividualPostIcons, manuallyApproveFollowers, False, True, False, CWlists, @@ -3194,7 +3194,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances: [], lastBounceMessage: [], themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, default_reply_interval_hrs: int, CWlists: {}, lists_enabled: str, @@ -3228,7 +3228,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Like accepted from ' + actor) return False @@ -3250,7 +3250,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Undo like accepted from ' + actor) return False @@ -3273,7 +3273,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Reaction accepted from ' + actor) return False @@ -3295,7 +3295,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Undo reaction accepted from ' + actor) return False @@ -3317,7 +3317,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Bookmark accepted from ' + actor) return False @@ -3339,7 +3339,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Undo bookmark accepted from ' + actor) return False @@ -3365,7 +3365,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, maxRecentPosts, allowDeletion, peertubeInstances, - maxLikeCount, CWlists, lists_enabled): + max_like_count, CWlists, lists_enabled): if debug: print('DEBUG: Announce accepted from ' + actor) @@ -3461,7 +3461,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, CWlists, lists_enabled) isReplyToMutedPost = False @@ -3566,7 +3566,7 @@ def _inboxAfterInitial(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, signingPrivateKeyPem, CWlists, lists_enabled) if debug: @@ -4079,7 +4079,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances: [], verifyAllSignatures: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, signingPrivateKeyPem: str, + max_like_count: int, signingPrivateKeyPem: str, default_reply_interval_hrs: int, CWlists: {}) -> None: """Processes received items and moves them to the appropriate @@ -4509,7 +4509,7 @@ def runInboxQueue(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, lastBounceMessage, themeName, systemLanguage, - maxLikeCount, + max_like_count, signingPrivateKeyPem, default_reply_interval_hrs, CWlists, lists_enabled, diff --git a/outbox.py b/outbox.py index 0a7dc924d..33da83105 100644 --- a/outbox.py +++ b/outbox.py @@ -197,7 +197,7 @@ def postMessageToOutbox(session, translate: {}, low_bandwidth: bool, signingPrivateKeyPem: str, peertubeInstances: str, theme: str, - maxLikeCount: int, + max_like_count: int, maxRecentPosts: int, CWlists: {}, lists_enabled: str, content_license_url: str) -> bool: @@ -470,7 +470,7 @@ def postMessageToOutbox(session, translate: {}, peertubeInstances, allowLocalNetworkAccess, theme, systemLanguage, - maxLikeCount, + max_like_count, boxNameIndex != 'dm', showIndividualPostIcons, manuallyApproveFollowers, diff --git a/schedule.py b/schedule.py index 0a251b575..a939895b0 100644 --- a/schedule.py +++ b/schedule.py @@ -125,7 +125,7 @@ def _updatePostSchedule(base_dir: str, handle: str, httpd, httpd.signingPrivateKeyPem, httpd.peertubeInstances, httpd.themeName, - httpd.maxLikeCount, + httpd.max_like_count, httpd.maxRecentPosts, httpd.CWlists, httpd.lists_enabled, diff --git a/tests.py b/tests.py index ea4114899..1b9e48c8e 100644 --- a/tests.py +++ b/tests.py @@ -791,14 +791,14 @@ def createServerAlice(path: str, domain: str, port: int, city = 'London, England' logLoginFailures = False userAgentsBlocked = [] - maxLikeCount = 10 + max_like_count = 10 default_reply_interval_hrs = 9999999999 lists_enabled = '' content_license_url = 'https://creativecommons.org/licenses/by/4.0' print('Server running: Alice') runDaemon(content_license_url, lists_enabled, default_reply_interval_hrs, - low_bandwidth, maxLikeCount, + low_bandwidth, max_like_count, shared_items_federated_domains, userAgentsBlocked, logLoginFailures, city, @@ -933,14 +933,14 @@ def createServerBob(path: str, domain: str, port: int, city = 'London, England' logLoginFailures = False userAgentsBlocked = [] - maxLikeCount = 10 + max_like_count = 10 default_reply_interval_hrs = 9999999999 lists_enabled = '' content_license_url = 'https://creativecommons.org/licenses/by/4.0' print('Server running: Bob') runDaemon(content_license_url, lists_enabled, default_reply_interval_hrs, - low_bandwidth, maxLikeCount, + low_bandwidth, max_like_count, shared_items_federated_domains, userAgentsBlocked, logLoginFailures, city, @@ -1002,7 +1002,7 @@ def createServerEve(path: str, domain: str, port: int, federationList: [], city = 'London, England' logLoginFailures = False userAgentsBlocked = [] - maxLikeCount = 10 + max_like_count = 10 low_bandwidth = True default_reply_interval_hrs = 9999999999 lists_enabled = '' @@ -1010,7 +1010,7 @@ def createServerEve(path: str, domain: str, port: int, federationList: [], print('Server running: Eve') runDaemon(content_license_url, lists_enabled, default_reply_interval_hrs, - low_bandwidth, maxLikeCount, + low_bandwidth, max_like_count, shared_items_federated_domains, userAgentsBlocked, logLoginFailures, city, @@ -1074,7 +1074,7 @@ def createServerGroup(path: str, domain: str, port: int, city = 'London, England' logLoginFailures = False userAgentsBlocked = [] - maxLikeCount = 10 + max_like_count = 10 low_bandwidth = True default_reply_interval_hrs = 9999999999 lists_enabled = '' @@ -1082,7 +1082,7 @@ def createServerGroup(path: str, domain: str, port: int, print('Server running: Group') runDaemon(content_license_url, lists_enabled, default_reply_interval_hrs, - low_bandwidth, maxLikeCount, + low_bandwidth, max_like_count, shared_items_federated_domains, userAgentsBlocked, logLoginFailures, city, diff --git a/webapp_confirm.py b/webapp_confirm.py index 036e4bb6b..8ec05a5da 100644 --- a/webapp_confirm.py +++ b/webapp_confirm.py @@ -36,7 +36,7 @@ def htmlConfirmDelete(cssCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, signingPrivateKeyPem: str, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Shows a screen asking to confirm the deletion of a post """ @@ -76,7 +76,7 @@ def htmlConfirmDelete(cssCache: {}, twitterReplacementDomain, showPublishedDateOnly, peertubeInstances, allowLocalNetworkAccess, - themeName, systemLanguage, maxLikeCount, + themeName, systemLanguage, max_like_count, False, False, False, False, False, False, CWlists, lists_enabled) deletePostStr += '
' diff --git a/webapp_create_post.py b/webapp_create_post.py index 60760cd4c..1414d1f15 100644 --- a/webapp_create_post.py +++ b/webapp_create_post.py @@ -208,7 +208,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, systemLanguage: str, - maxLikeCount: int, signingPrivateKeyPem: str, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str, boxName: str) -> str: """New post screen @@ -277,7 +277,7 @@ def htmlNewPost(cssCache: {}, mediaInstance: bool, translate: {}, peertubeInstances, allowLocalNetworkAccess, theme, systemLanguage, - maxLikeCount, + max_like_count, False, False, False, False, False, False, CWlists, lists_enabled) diff --git a/webapp_frontscreen.py b/webapp_frontscreen.py index a0018940f..14889535b 100644 --- a/webapp_frontscreen.py +++ b/webapp_frontscreen.py @@ -34,7 +34,7 @@ def _htmlFrontScreenPosts(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Shows posts on the front screen of a news instance @@ -80,7 +80,7 @@ def _htmlFrontScreenPosts(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, False, False, False, True, False, False, CWlists, lists_enabled) @@ -109,7 +109,7 @@ def htmlFrontScreen(signingPrivateKeyPem: str, peertubeInstances: [], allowLocalNetworkAccess: bool, accessKeys: {}, - systemLanguage: str, maxLikeCount: int, + systemLanguage: str, max_like_count: int, shared_items_federated_domains: [], extraJson: {}, pageNumber: int, @@ -185,7 +185,7 @@ def htmlFrontScreen(signingPrivateKeyPem: str, peertubeInstances, allowLocalNetworkAccess, theme, systemLanguage, - maxLikeCount, + max_like_count, signingPrivateKeyPem, CWlists, lists_enabled) + licenseStr diff --git a/webapp_moderation.py b/webapp_moderation.py index fd57d025a..738a777b0 100644 --- a/webapp_moderation.py +++ b/webapp_moderation.py @@ -51,7 +51,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -76,7 +76,7 @@ def htmlModeration(cssCache: {}, defaultTimeline: str, authorized, moderationActionStr, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, accessKeys, systemLanguage, - maxLikeCount, shared_items_federated_domains, + max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) diff --git a/webapp_post.py b/webapp_post.py index be9b97172..b79039479 100644 --- a/webapp_post.py +++ b/webapp_post.py @@ -601,7 +601,7 @@ def _getLikeIconHtml(nickname: str, domainFull: str, translate: {}, pageNumberParam: str, timelinePostBookmark: str, boxName: str, - maxLikeCount: int) -> str: + max_like_count: int) -> str: """Returns html for like icon/button """ if not showLikeButton or isModerationPost: @@ -619,10 +619,10 @@ def _getLikeIconHtml(nickname: str, domainFull: str, likeCountStr = '' if likeCount > 0: - if likeCount <= maxLikeCount: + if likeCount <= max_like_count: likeCountStr = ' (' + str(likeCount) + ')' else: - likeCountStr = ' (' + str(maxLikeCount) + '+)' + likeCountStr = ' (' + str(max_like_count) + '+)' if likedByPerson(postJsonObject, nickname, domainFull): if likeCount == 1: # liked by the reader only @@ -1337,7 +1337,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, showRepeats: bool, showIcons: bool, manuallyApprovesFollowers: bool, @@ -1691,7 +1691,7 @@ def individualPostAsHtml(signingPrivateKeyPem: str, postStartTime, translate, pageNumberParam, timelinePostBookmark, - boxName, maxLikeCount) + boxName, max_like_count) _logPostTiming(enableTimingLog, postStartTime, '12.5') @@ -2005,7 +2005,7 @@ def htmlIndividualPost(cssCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, signingPrivateKeyPem: str, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Show an individual post as html """ @@ -2069,7 +2069,7 @@ def htmlIndividualPost(cssCache: {}, showPublishedDateOnly, peertubeInstances, allowLocalNetworkAccess, themeName, - systemLanguage, maxLikeCount, + systemLanguage, max_like_count, False, authorized, False, False, False, False, CWlists, lists_enabled) messageId = removeIdEnding(postJsonObject['id']) @@ -2101,7 +2101,7 @@ def htmlIndividualPost(cssCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, False, authorized, False, False, False, False, CWlists, lists_enabled) + postStr @@ -2136,7 +2136,7 @@ def htmlIndividualPost(cssCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, False, authorized, False, False, False, False, CWlists, lists_enabled) @@ -2164,7 +2164,7 @@ def htmlPostReplies(cssCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Show the replies to an individual post as html @@ -2188,7 +2188,7 @@ def htmlPostReplies(cssCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, False, False, False, False, False, False, CWlists, lists_enabled) @@ -2217,7 +2217,7 @@ def htmlEmojiReactionPicker(cssCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, signingPrivateKeyPem: str, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str, boxName: str, pageNumber: int) -> str: """Returns the emoji picker screen @@ -2240,7 +2240,7 @@ def htmlEmojiReactionPicker(cssCache: {}, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, False, False, False, False, False, False, CWlists, lists_enabled) diff --git a/webapp_profile.py b/webapp_profile.py index 586d8ce87..bfdac9ee5 100644 --- a/webapp_profile.py +++ b/webapp_profile.py @@ -138,7 +138,7 @@ def htmlProfileAfterSearch(cssCache: {}, themeName: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Show a profile page after a search for a fediverse address @@ -345,7 +345,7 @@ def htmlProfileAfterSearch(cssCache: {}, showPublishedDateOnly, peertubeInstances, allowLocalNetworkAccess, - themeName, systemLanguage, maxLikeCount, + themeName, systemLanguage, max_like_count, False, False, False, False, False, False, CWlists, lists_enabled) i += 1 @@ -555,7 +555,7 @@ def htmlProfile(signingPrivateKeyPem: str, allowLocalNetworkAccess: bool, textModeBanner: str, debug: bool, accessKeys: {}, city: str, - systemLanguage: str, maxLikeCount: int, + systemLanguage: str, max_like_count: int, shared_items_federated_domains: [], extraJson: {}, pageNumber: int, maxItemsPerPage: int, @@ -581,7 +581,7 @@ def htmlProfile(signingPrivateKeyPem: str, showPublishedDateOnly, newswire, theme, extraJson, allowLocalNetworkAccess, accessKeys, - systemLanguage, maxLikeCount, + systemLanguage, max_like_count, shared_items_federated_domains, None, pageNumber, maxItemsPerPage, CWlists, lists_enabled) @@ -964,7 +964,7 @@ def htmlProfile(signingPrivateKeyPem: str, peertubeInstances, allowLocalNetworkAccess, theme, systemLanguage, - maxLikeCount, + max_like_count, signingPrivateKeyPem, CWlists, lists_enabled) + licenseStr if not isGroup: @@ -1032,7 +1032,7 @@ def _htmlProfilePosts(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Shows posts on the profile screen @@ -1077,7 +1077,7 @@ def _htmlProfilePosts(recentPostsCache: {}, maxRecentPosts: int, peertubeInstances, allowLocalNetworkAccess, themeName, systemLanguage, - maxLikeCount, + max_like_count, False, False, False, True, False, False, CWlists, lists_enabled) diff --git a/webapp_search.py b/webapp_search.py index 322b4ad22..a3a407dd3 100644 --- a/webapp_search.py +++ b/webapp_search.py @@ -604,7 +604,7 @@ def htmlHistorySearch(cssCache: {}, translate: {}, base_dir: str, allowLocalNetworkAccess: bool, themeName: str, boxName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -689,7 +689,7 @@ def htmlHistorySearch(cssCache: {}, translate: {}, base_dir: str, showPublishedDateOnly, peertubeInstances, allowLocalNetworkAccess, - themeName, systemLanguage, maxLikeCount, + themeName, systemLanguage, max_like_count, showIndividualPostIcons, showIndividualPostIcons, False, False, False, False, @@ -716,7 +716,7 @@ def htmlHashtagSearch(cssCache: {}, peertubeInstances: [], allowLocalNetworkAccess: bool, themeName: str, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: """Show a page containing search results for a hashtag @@ -872,7 +872,7 @@ def htmlHashtagSearch(cssCache: {}, showPublishedDateOnly, peertubeInstances, allowLocalNetworkAccess, - themeName, systemLanguage, maxLikeCount, + themeName, systemLanguage, max_like_count, showRepeats, showIcons, manuallyApprovesFollowers, showPublicOnly, diff --git a/webapp_timeline.py b/webapp_timeline.py index a321afbb3..36bc785a3 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -445,7 +445,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -911,7 +911,7 @@ def htmlTimeline(cssCache: {}, defaultTimeline: str, peertubeInstances, allowLocalNetworkAccess, theme, systemLanguage, - maxLikeCount, + max_like_count, boxName != 'dm', showIndividualPostIcons, manuallyApproveFollowers, @@ -1139,7 +1139,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1167,7 +1167,7 @@ def htmlShares(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1194,7 +1194,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1222,7 +1222,7 @@ def htmlWanted(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1250,7 +1250,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1278,7 +1278,7 @@ def htmlInbox(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1306,7 +1306,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1334,7 +1334,7 @@ def htmlBookmarks(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1362,7 +1362,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1385,7 +1385,7 @@ def htmlInboxDMs(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1413,7 +1413,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1437,7 +1437,7 @@ def htmlInboxReplies(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1465,7 +1465,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1489,7 +1489,7 @@ def htmlInboxMedia(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1517,7 +1517,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1541,7 +1541,7 @@ def htmlInboxBlogs(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1570,7 +1570,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1593,7 +1593,7 @@ def htmlInboxFeatures(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1621,7 +1621,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1644,7 +1644,7 @@ def htmlInboxNews(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled) @@ -1672,7 +1672,7 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str, allowLocalNetworkAccess: bool, textModeBanner: str, accessKeys: {}, systemLanguage: str, - maxLikeCount: int, + max_like_count: int, shared_items_federated_domains: [], signingPrivateKeyPem: str, CWlists: {}, lists_enabled: str) -> str: @@ -1697,6 +1697,6 @@ def htmlOutbox(cssCache: {}, defaultTimeline: str, iconsAsButtons, rssIconAtTop, publishButtonAtTop, authorized, None, theme, peertubeInstances, allowLocalNetworkAccess, textModeBanner, - accessKeys, systemLanguage, maxLikeCount, + accessKeys, systemLanguage, max_like_count, shared_items_federated_domains, signingPrivateKeyPem, CWlists, lists_enabled)