Add sepiasearch as default search index

This commit is contained in:
Chocobozzz 2025-01-31 14:04:31 +01:00
parent 40ac4ce3da
commit eb06d7dfc2
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 16 additions and 14 deletions

View File

@ -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>
<input
type="text" id="searchIndexUrl" class="form-control"
formControlName="url" [ngClass]="{ 'input-error': formErrors['search.searchIndex.url'] }"

View File

@ -1039,11 +1039,12 @@ search:
# instead of loading the video locally
search_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 index
disable_local_search: false
# If you did not disable local search in the client, you can decide to use the search index by default

View File

@ -1049,11 +1049,12 @@ search:
# instead of loading the video locally
search_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 index
disable_local_search: false
# If you did not disable local search in the client, you can decide to use the search index by default