Skip to content

Commit

Permalink
chore: cleanup after PR
Browse files Browse the repository at this point in the history
  • Loading branch information
mauricerenck committed Aug 6, 2024
1 parent b47ed99 commit 0e13e7f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 14 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@
/~
/content/phpunit/.lock
/.ddev
/site/config/config.indieconnector.ddev.site.php
1 change: 1 addition & 0 deletions content/home/indieConnector.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"version":2,"webmentions":[],"posts":[]}
2 changes: 1 addition & 1 deletion content/phpunit/indieConnector.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["https://processed-url.tld"]
{"version":2,"webmentions":[],"posts":[]}
10 changes: 7 additions & 3 deletions content/phpunit/phpunit.en.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Webmentionsstatus: true

----

Mastodonreplyurl: https://wandzeitung.xyz/@pixelgraphix/110326498442512143
Enableexternalposting: true

----

Expand All @@ -17,10 +17,10 @@ https://text-field-url.tld
https://www.text-field-url.tld
http://www.text-field-url.tld
<https://www.text-field-url.tld>

[A linked text](https://text-field-url.tld/a-linked-text)

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

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

----

Mastodonreplyurl: https://wandzeitung.xyz/@pixelgraphix/110326498442512143

----

Uuid: 6990TlwNHWihVmRX
32 changes: 22 additions & 10 deletions site/config/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,25 +7,37 @@
'basicAuth' => true,
],
'languages' => true,
'mauricerenck.indieConnector.sendWebmention' => true,
'mauricerenck.indieConnector.debug' => true,

'mauricerenck.indieConnector.localhosts' => [],
'mauricerenck.indieConnector.secret' => 'my-secret',
'mauricerenck.indieConnector.stats' => [
'mauricerenck.indieConnector.stats.enabled' => true,

'mauricerenck.indieConnector.send' => [
'enabled' => true,
'markDeleted' => true,
'maxRetries' => 3,
'skipSameHost' => true,
'allowedTemplates' => ['phpunit', 'default'],
'blockedTemplates' => ['blocked-template'],
'url-fields' => ['text:text','textfield:text', 'layouteditor:layout', 'blockeditor:block'],
],

'mauricerenck.indieConnector.receive' => [
'enabled' => true,
'useHtmlContent' => false,
'blockedSources' => [],
],

'mauricerenck.indieConnector.queue' => [
'enabled' => true,
'enabled' => false,
'maxRetries' => 5,
],
'mauricerenck.indieConnector.sqlitePath' => '.sqlite/',
'mauricerenck.indieConnector.allowedTemplates' => ['phpunit'],
'mauricerenck.indieConnector.blockedTemplates' => ['blocked-template'],
'mauricerenck.indieConnector.send-mention-url-fields' => [
'textfield:text',
'layouteditor:layout',
'blockeditor:block',

'mauricerenck.indieConnector.post' => [
'textfield' => 'description',
'imagefield' => 'mastodonimage',
'allowedTemplates' => ['phpunit', 'default'],
'blockedTemplates' => ['blocked-template'],
],
];

0 comments on commit 0e13e7f

Please sign in to comment.