diff --git a/README.md b/README.md index 98a0ffe8e..0e25d3a38 100644 --- a/README.md +++ b/README.md @@ -175,7 +175,7 @@ server { } server { - listen 443 ssl; + listen 443 ssl http2; server_name YOUR_DOMAIN; gzip on; diff --git a/architecture/epicyon_groups_ActivityPub.png b/architecture/epicyon_groups_ActivityPub.png index 6dbf8724e..11ef450b3 100644 Binary files a/architecture/epicyon_groups_ActivityPub.png and b/architecture/epicyon_groups_ActivityPub.png differ diff --git a/architecture/epicyon_groups_ActivityPub_Core.png b/architecture/epicyon_groups_ActivityPub_Core.png index 4b7a4be12..e6ea0df62 100644 Binary files a/architecture/epicyon_groups_ActivityPub_Core.png and b/architecture/epicyon_groups_ActivityPub_Core.png differ diff --git a/architecture/epicyon_groups_ActivityPub_Security.png b/architecture/epicyon_groups_ActivityPub_Security.png index 99a49ab9a..5155ae446 100644 Binary files a/architecture/epicyon_groups_ActivityPub_Security.png and b/architecture/epicyon_groups_ActivityPub_Security.png differ diff --git a/architecture/epicyon_groups_Commandline-Interface_ActivityPub.png b/architecture/epicyon_groups_Commandline-Interface_ActivityPub.png index 004a20293..50ccdc1cb 100644 Binary files a/architecture/epicyon_groups_Commandline-Interface_ActivityPub.png and b/architecture/epicyon_groups_Commandline-Interface_ActivityPub.png differ diff --git a/architecture/epicyon_groups_Commandline-Interface_Core.png b/architecture/epicyon_groups_Commandline-Interface_Core.png index 8bb44e215..8ebfd092e 100644 Binary files a/architecture/epicyon_groups_Commandline-Interface_Core.png and b/architecture/epicyon_groups_Commandline-Interface_Core.png differ diff --git a/architecture/epicyon_groups_Core.png b/architecture/epicyon_groups_Core.png index 06c28b79c..e6633ba94 100644 Binary files a/architecture/epicyon_groups_Core.png and b/architecture/epicyon_groups_Core.png differ diff --git a/architecture/epicyon_groups_Core_Accessibility.png b/architecture/epicyon_groups_Core_Accessibility.png index b69a32978..5cc9d1f87 100644 Binary files a/architecture/epicyon_groups_Core_Accessibility.png and b/architecture/epicyon_groups_Core_Accessibility.png differ diff --git a/architecture/epicyon_groups_Core_Security.png b/architecture/epicyon_groups_Core_Security.png index ac81d9b66..c8e6e76a5 100644 Binary files a/architecture/epicyon_groups_Core_Security.png and b/architecture/epicyon_groups_Core_Security.png differ diff --git a/architecture/epicyon_groups_Timeline_Core.png b/architecture/epicyon_groups_Timeline_Core.png index e06e80c57..0737d0cc2 100644 Binary files a/architecture/epicyon_groups_Timeline_Core.png and b/architecture/epicyon_groups_Timeline_Core.png differ diff --git a/architecture/epicyon_groups_Timeline_Security.png b/architecture/epicyon_groups_Timeline_Security.png index dcef13d2f..5a61ff084 100644 Binary files a/architecture/epicyon_groups_Timeline_Security.png and b/architecture/epicyon_groups_Timeline_Security.png differ diff --git a/architecture/epicyon_groups_Web-Interface-Columns_Core.png b/architecture/epicyon_groups_Web-Interface-Columns_Core.png index a1a23ed58..8a375ce8a 100644 Binary files a/architecture/epicyon_groups_Web-Interface-Columns_Core.png and b/architecture/epicyon_groups_Web-Interface-Columns_Core.png differ diff --git a/architecture/epicyon_groups_Web-Interface_Accessibility.png b/architecture/epicyon_groups_Web-Interface_Accessibility.png index f937f2030..4f9f590f9 100644 Binary files a/architecture/epicyon_groups_Web-Interface_Accessibility.png and b/architecture/epicyon_groups_Web-Interface_Accessibility.png differ diff --git a/architecture/epicyon_groups_Web-Interface_Core.png b/architecture/epicyon_groups_Web-Interface_Core.png index 90febf28d..675913771 100644 Binary files a/architecture/epicyon_groups_Web-Interface_Core.png and b/architecture/epicyon_groups_Web-Interface_Core.png differ diff --git a/daemon.py b/daemon.py index 524040177..6876bcfd9 100644 --- a/daemon.py +++ b/daemon.py @@ -8996,6 +8996,7 @@ class PubServer(BaseHTTPRequestHandler): '/followers' if not repeat_private: announce_to_str = 'https://www.w3.org/ns/activitystreams#Public' + announce_id = None announce_json = \ create_announce(curr_session, base_dir, @@ -9105,7 +9106,10 @@ class PubServer(BaseHTTPRequestHandler): actor_absolute = self._get_instance_url(calling_domain) + actor - first_post_id = repeat_url.replace('/', '--') + if announce_id: + first_post_id = announce_id.replace('/', '--') + else: + first_post_id = repeat_url.replace('/', '--') first_post_id = ';firstpost=' + first_post_id.replace('#', '--') actor_path_str = \ @@ -9226,12 +9230,9 @@ class PubServer(BaseHTTPRequestHandler): actor_absolute = self._get_instance_url(calling_domain) + actor - first_post_id = repeat_url.replace('/', '--') - first_post_id = ';firstpost=' + first_post_id.replace('#', '--') - actor_path_str = \ actor_absolute + '/' + timeline_str + '?page=' + \ - str(page_number) + first_post_id + timeline_bookmark + str(page_number) + timeline_bookmark fitness_performance(getreq_start_time, self.server.fitness, '_GET', '_undo_announce_button', self.server.debug) @@ -11003,12 +11004,11 @@ class PubServer(BaseHTTPRequestHandler): first_post_id = mute_url.replace('/', '--') first_post_id = ';firstpost=' + first_post_id.replace('#', '--') - self._redirect_headers(actor + '/' + - timeline_str + - '?page=' + str(page_number) + - first_post_id + - timeline_bookmark, - cookie, calling_domain) + page_number_str = str(page_number) + redirect_str = \ + actor + '/' + timeline_str + '?page=' + page_number_str + \ + first_post_id + timeline_bookmark + self._redirect_headers(redirect_str, cookie, calling_domain) def _undo_mute_button(self, calling_domain: str, path: str, base_dir: str, http_prefix: str, @@ -11141,11 +11141,11 @@ class PubServer(BaseHTTPRequestHandler): first_post_id = mute_url.replace('/', '--') first_post_id = ';firstpost=' + first_post_id.replace('#', '--') - self._redirect_headers(actor + '/' + timeline_str + - '?page=' + str(page_number) + - first_post_id + - timeline_bookmark, - cookie, calling_domain) + page_number_str = str(page_number) + redirect_str = \ + actor + '/' + timeline_str + '?page=' + page_number_str + \ + first_post_id + timeline_bookmark + self._redirect_headers(redirect_str, cookie, calling_domain) def _show_replies_to_post(self, authorized: bool, calling_domain: str, referer_domain: str, diff --git a/gemini/EN/install.gmi b/gemini/EN/install.gmi index 857656d82..9239b8539 100644 --- a/gemini/EN/install.gmi +++ b/gemini/EN/install.gmi @@ -96,7 +96,7 @@ And paste the following: } server { - listen 443 ssl; + listen 443 ssl http2; server_name YOUR_DOMAIN; ssl_stapling off; diff --git a/manual/manual.epub b/manual/manual.epub index db1e3a1c6..88ba0873a 100644 Binary files a/manual/manual.epub and b/manual/manual.epub differ diff --git a/manual/manual.html b/manual/manual.html index bcc5a4f4e..25be95c80 100644 --- a/manual/manual.html +++ b/manual/manual.html @@ -196,7 +196,7 @@ class="sourceCode bash"> bool: """ separators = [['<', '>'], ['<', '>']] invalid_strings = [ - 'analytics', 'ampproject', 'googleapis', '_exec(' + 'ampproject', 'googleapis', '_exec(' ] if _is_dangerous_string_simple(content, allow_local_network_access, separators, invalid_strings): diff --git a/website/EN/index.html b/website/EN/index.html index 1fd43973c..30f911b2c 100644 --- a/website/EN/index.html +++ b/website/EN/index.html @@ -1455,7 +1455,7 @@ Ever feel like corporate social media is deliberately pressing your buttons or g }

server {
- listen 443 ssl;
+ listen 443 ssl http2;
server_name YOUR_DOMAIN;

gzip on;