ActivityPub-federated video streaming platform using P2P directly in your web browser
Add sepiasearch as default search index
Chocobozzzeb06d7dfc2e1
diff --git a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.htmlindex e01f5a18f0..a557be07e1 100644--- a/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html+++ b/client/src/app/+admin/config/edit-custom-config/edit-basic-configuration.component.html@@ -478,16 +478,16 @@><ng-container ngProjectAs="description"><div i18n>⚠️ This functionality depends heavily on the moderation of instances followed by the search index you select.</div>-- <div i18n>- You should only use moderated search indexes in production, or <a class="link-primary" href="https://framagit.org/framasoft/peertube/search-index">host your own</a>.- </div></ng-container><ng-container ngProjectAs="extra"><div [ngClass]="getDisabledSearchIndexClass()"><label i18n for="searchIndexUrl">Search index URL</label>+ <div i18n class="label-small-info">+ Use your <a class="link-primary" target="_blank" href="https://framagit.org/framasoft/peertube/search-index">your own search index</a> or choose the official one, <a class="link-primary" target="_blank" href="https://sepiasearch.org">https://sepiasearch.org</a>, that is not moderated.+ </div>+<inputtype="text" id="searchIndexUrl" class="form-control"formControlName="url" [ngClass]="{ 'input-error': formErrors['search.searchIndex.url'] }"diff --git a/config/default.yaml b/config/default.yamlindex 8d5f3ad7b8..8d9b32ca7c 100644--- a/config/default.yaml+++ b/config/default.yaml@@ -1039,11 +1039,12 @@ search:# instead of loading the video locallysearch_index:enabled: false- # URL of the search index, that should use the same search API and routes- # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html- # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,- # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index- url: ''+ # URL of the search index, which should use the same search API and routes+ # as PeerTube: https://docs.joinpeertube.org/api-rest-reference.html+ # You can deploy your own with https://framagit.org/framasoft/peertube/search-index,+ # or you can use the official one: https://sepiasearch.org.+ # But keep in mind it is an unmoderated search index+ url: 'https://sepiasearch.org'# You can disable local search in the client, so users only use the search indexdisable_local_search: false# If you did not disable local search in the client, you can decide to use the search index by defaultdiff --git a/config/production.yaml.example b/config/production.yaml.exampleindex bcd7a6dc2c..09fe9d3e2a 100644--- a/config/production.yaml.example+++ b/config/production.yaml.example@@ -1049,11 +1049,12 @@ search:# instead of loading the video locallysearch_index:enabled: false- # URL of the search index, that should use the same search API and routes- # than PeerTube: https://docs.joinpeertube.org/api-rest-reference.html- # You should deploy your own with https://framagit.org/framasoft/peertube/search-index,- # and can use https://search.joinpeertube.org/ for tests, but keep in mind the latter is an unmoderated search index- url: ''+ # URL of the search index, which should use the same search API and routes+ # as PeerTube: https://docs.joinpeertube.org/api-rest-reference.html+ # You can deploy your own with https://framagit.org/framasoft/peertube/search-index,+ # or you can use the official one: https://sepiasearch.org.+ # But keep in mind it is an unmoderated search index+ url: 'https://sepiasearch.org'# You can disable local search in the client, so users only use the search indexdisable_local_search: false# If you did not disable local search in the client, you can decide to use the search index by default