From bd25b9f5496f8c8607d7e598844359be97fb5f7b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 11 Jul 2022 19:50:39 +0100 Subject: [PATCH 1/3] Underline current page --- webapp_timeline.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_timeline.py b/webapp_timeline.py index 3ff1d5671..89342d460 100644 --- a/webapp_timeline.py +++ b/webapp_timeline.py @@ -446,7 +446,7 @@ def page_number_buttons(users_path: str, box_name: str, page_str = ' ' + str(page) + ' ' curr_page_str = '' if page == page_number: - page_str = '' + str(page) + '' + page_str = '' + str(page) + '' aria_page_str = ' aria-current="true"' curr_page_str = 'Current Page, ' num_str += \ From c6e700cccefd68fa16b950bc6c5865211b356b7b Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 11 Jul 2022 20:00:06 +0100 Subject: [PATCH 2/3] Extra line --- webapp_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webapp_utils.py b/webapp_utils.py index 1a53850ab..ff5a37761 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -1399,7 +1399,7 @@ def get_post_attachments_as_html(base_dir: str, attachment_str += '\n\n' attachment_ctr += 1 if media_style_added: - attachment_str += '' + attachment_str += '
' return attachment_str, gallery_str From d7195be9febc3d228daf1b564cf941d3cdf7db00 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Tue, 12 Jul 2022 10:18:20 +0100 Subject: [PATCH 3/3] Date format --- specification/activitypub.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/specification/activitypub.md b/specification/activitypub.md index e805f4089..1eaa5f8c3 100644 --- a/specification/activitypub.md +++ b/specification/activitypub.md @@ -293,6 +293,8 @@ As an example, if example.com receives the activity it should dereference the `id` both to ensure that it exists and is a valid object, and that it is not misrepresenting the object. (In this example, Mallory could be spoofing an object allegedly posted by Alice). +If a `published` or `updated` date appears within an object then it SHOULD be in [UTC](https://en.wikipedia.org/wiki/Coordinated_Universal_Time) format: **YYYY-MM-DDTHH:MM:SSZ**. This MAY be converted to local time for display within a user interface. + ### 3.1 Object Identifiers All Objects in [ActivityStreams](https://www.w3.org/TR/activitystreams-core) should have unique global identifiers. ActivityPub extends this requirement; all objects distributed by the ActivityPub protocol *MUST* have unique global identifiers, unless they are intentionally transient (short lived activities that are not intended to be able to be looked up, such as some kinds of chat messages or game notifications). These identifiers must fall into one of the following groups: