@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 +1 -1
- package/views/activitypub-settings.njk +17 -13
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rmdes/indiekit-endpoint-activitypub",
|
|
3
|
-
"version": "3.13.
|
|
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
|
-
|
|
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",
|
|
54
|
-
{ value: "unlisted",
|
|
55
|
-
{ value: "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
|
-
|
|
132
|
+
fieldset: {
|
|
133
|
+
legend: "Federation log level"
|
|
134
|
+
},
|
|
132
135
|
hint: "Fedify log verbosity. Default: " + defaults.logLevel,
|
|
133
136
|
items: [
|
|
134
|
-
{ value: "debug",
|
|
135
|
-
{ value: "info",
|
|
136
|
-
{ value: "warning",
|
|
137
|
-
{ value: "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
|
|