@rmdes/indiekit-endpoint-activitypub 3.13.1 → 3.13.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rmdes/indiekit-endpoint-activitypub",
3
- "version": "3.13.1",
3
+ "version": "3.13.2",
4
4
  "description": "ActivityPub federation endpoint for Indiekit via Fedify. Adds full fediverse support: actor, inbox, outbox, followers, following, syndication, and Mastodon migration.",
5
5
  "keywords": [
6
6
  "indiekit",
@@ -11,8 +11,6 @@
11
11
  {{ notificationBanner({ type: "success", text: "Settings saved." }) }}
12
12
  {% endif %}
13
13
 
14
- {{ heading({ text: title }) }}
15
-
16
14
  <form method="POST" action="{{ mountPath }}/admin/settings">
17
15
  <input type="hidden" name="_csrf" value="{{ csrfToken }}">
18
16
 
@@ -47,13 +45,16 @@
47
45
 
48
46
  {{ radios({
49
47
  name: "defaultVisibility",
50
- label: "Default post visibility",
48
+ fieldset: {
49
+ legend: "Default post visibility"
50
+ },
51
51
  hint: "Default visibility for new posts. Default: " + defaults.defaultVisibility,
52
52
  items: [
53
- { value: "public", text: "Public", checked: settings.defaultVisibility == "public" },
54
- { value: "unlisted", text: "Unlisted", checked: settings.defaultVisibility == "unlisted" },
55
- { value: "private", text: "Followers only", checked: settings.defaultVisibility == "private" }
56
- ]
53
+ { value: "public", label: "Public" },
54
+ { value: "unlisted", label: "Unlisted" },
55
+ { value: "private", label: "Followers only" }
56
+ ],
57
+ values: [settings.defaultVisibility]
57
58
  }) }}
58
59
 
59
60
  {{ input({
@@ -128,14 +129,17 @@
128
129
 
129
130
  {{ radios({
130
131
  name: "logLevel",
131
- label: "Federation log level",
132
+ fieldset: {
133
+ legend: "Federation log level"
134
+ },
132
135
  hint: "Fedify log verbosity. Default: " + defaults.logLevel,
133
136
  items: [
134
- { value: "debug", text: "Debug", checked: settings.logLevel == "debug" },
135
- { value: "info", text: "Info", checked: settings.logLevel == "info" },
136
- { value: "warning", text: "Warning", checked: settings.logLevel == "warning" },
137
- { value: "error", text: "Error", checked: settings.logLevel == "error" }
138
- ]
137
+ { value: "debug", label: "Debug" },
138
+ { value: "info", label: "Info" },
139
+ { value: "warning", label: "Warning" },
140
+ { value: "error", label: "Error" }
141
+ ],
142
+ values: [settings.logLevel]
139
143
  }) }}
140
144
  </fieldset>
141
145