From 9c9114bffb08e6923ac2f196ac266e78a8d48e45 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 4 Apr 2021 11:25:52 -0400 Subject: [PATCH 1/4] add a short note that admin interface is rough --- docs/honk.8 | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/honk.8 b/docs/honk.8 index 90a8604..bf1728c 100644 --- a/docs/honk.8 +++ b/docs/honk.8 @@ -95,6 +95,7 @@ A restart is required after changes. Custom HTML messages may be added to select pages by using the .Ic admin command. +This interface is a little rough. A restart is required after changes. .Bl -tag -width tenletters .It server From 5ac4930489c35b8c98cc7df8e94a46614d1c96f1 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 4 Apr 2021 11:27:18 -0400 Subject: [PATCH 2/4] 0.9.6 virile vigorous and potent --- docs/changelog.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/changelog.txt b/docs/changelog.txt index c82c32f..b733cd5 100644 --- a/docs/changelog.txt +++ b/docs/changelog.txt @@ -1,6 +1,8 @@ changelog -=== next +=== 0.9.6 Virile Vigorous and Potent + ++ A bug, a fix, a bug fix, a fix bug. + Fix Update processing. From a22384b74de45e30206f801a42fc2c18f65cfca8 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Sun, 4 Apr 2021 11:27:26 -0400 Subject: [PATCH 3/4] Added tag v0.9.6 for changeset 6a522536238f --- .hgtags | 1 + 1 file changed, 1 insertion(+) diff --git a/.hgtags b/.hgtags index b127663..31244b3 100644 --- a/.hgtags +++ b/.hgtags @@ -33,3 +33,4 @@ a2f6f7bdfb6ea8cac68acdb952b2eed8a585749d v0.9.2 dac64bc6a93cedeb6ae618cba8f8647af96d2ece v0.9.3 28b92eaba37140a8a84a871d3f007b46fe66acb7 v0.9.4 3ece33fb77800c027ecfd3b5100881732d68c9bb v0.9.5 +6a522536238fe25b6d048543f52ed406ccf720b2 v0.9.6 From 532185a5600cec214bb4f22bdd46efff94d48f34 Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Mon, 5 Apr 2021 14:09:11 -0400 Subject: [PATCH 4/4] attachment summary field needs to be de-html on import --- activity.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/activity.go b/activity.go index 29304c5..2cf347f 100644 --- a/activity.go +++ b/activity.go @@ -752,6 +752,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { } name, _ := att.GetString("name") desc, _ := att.GetString("summary") + desc = html.UnescapeString(desc) if desc == "" { desc = name } @@ -798,6 +799,7 @@ func xonksaver(user *WhatAbout, item junk.Junk, origin string) *Honk { tt, _ := tag.GetString("type") name, _ := tag.GetString("name") desc, _ := tag.GetString("summary") + desc = html.UnescapeString(desc) if desc == "" { desc = name }