Skip to content

Commit 0e13e7f

Browse files
committed
chore: cleanup after PR
1 parent b47ed99 commit 0e13e7f

File tree

5 files changed

+32
-14
lines changed

5 files changed

+32
-14
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@
4141
/~
4242
/content/phpunit/.lock
4343
/.ddev
44+
/site/config/config.indieconnector.ddev.site.php

content/home/indieConnector.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
{"version":2,"webmentions":[],"posts":[]}

content/phpunit/indieConnector.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
["https://processed-url.tld"]
1+
{"version":2,"webmentions":[],"posts":[]}

content/phpunit/phpunit.en.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Webmentionsstatus: true
66

77
----
88

9-
Mastodonreplyurl: https://wandzeitung.xyz/@pixelgraphix/110326498442512143
9+
Enableexternalposting: true
1010

1111
----
1212

@@ -17,10 +17,10 @@ https://text-field-url.tld
1717
https://www.text-field-url.tld
1818
http://www.text-field-url.tld
1919
<https://www.text-field-url.tld>
20-
20+
2121
[A linked text](https://text-field-url.tld/a-linked-text)
2222

23-
This one is a duplicate and should be ignored
23+
This one is a duplicate and should be ignored
2424
https://text-field-url.tld
2525

2626
----
@@ -33,4 +33,8 @@ Blockeditor: [{"content":{"text":"<p>A text from a block <a href=\"https://www.b
3333

3434
----
3535

36+
Mastodonreplyurl: https://wandzeitung.xyz/@pixelgraphix/110326498442512143
37+
38+
----
39+
3640
Uuid: 6990TlwNHWihVmRX

site/config/config.php

Lines changed: 22 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,37 @@
77
'basicAuth' => true,
88
],
99
'languages' => true,
10-
'mauricerenck.indieConnector.sendWebmention' => true,
11-
'mauricerenck.indieConnector.debug' => true,
10+
11+
'mauricerenck.indieConnector.localhosts' => [],
1212
'mauricerenck.indieConnector.secret' => 'my-secret',
13-
'mauricerenck.indieConnector.stats' => [
13+
'mauricerenck.indieConnector.stats.enabled' => true,
14+
15+
'mauricerenck.indieConnector.send' => [
1416
'enabled' => true,
17+
'markDeleted' => true,
18+
'maxRetries' => 3,
19+
'skipSameHost' => true,
20+
'allowedTemplates' => ['phpunit', 'default'],
21+
'blockedTemplates' => ['blocked-template'],
22+
'url-fields' => ['text:text','textfield:text', 'layouteditor:layout', 'blockeditor:block'],
1523
],
24+
1625
'mauricerenck.indieConnector.receive' => [
26+
'enabled' => true,
1727
'useHtmlContent' => false,
28+
'blockedSources' => [],
1829
],
30+
1931
'mauricerenck.indieConnector.queue' => [
20-
'enabled' => true,
32+
'enabled' => false,
2133
'maxRetries' => 5,
2234
],
2335
'mauricerenck.indieConnector.sqlitePath' => '.sqlite/',
24-
'mauricerenck.indieConnector.allowedTemplates' => ['phpunit'],
25-
'mauricerenck.indieConnector.blockedTemplates' => ['blocked-template'],
26-
'mauricerenck.indieConnector.send-mention-url-fields' => [
27-
'textfield:text',
28-
'layouteditor:layout',
29-
'blockeditor:block',
36+
37+
'mauricerenck.indieConnector.post' => [
38+
'textfield' => 'description',
39+
'imagefield' => 'mastodonimage',
40+
'allowedTemplates' => ['phpunit', 'default'],
41+
'blockedTemplates' => ['blocked-template'],
3042
],
3143
];

0 commit comments

Comments
 (0)