Skip to content

Commit 2f6b25d

Browse files
authored
Merge branch 'main' into bugfix/actions_needs
2 parents ecf81cc + 7422503 commit 2f6b25d

35 files changed

+141
-76
lines changed

custom/conf/app.example.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1238,6 +1238,10 @@ ROUTER = console
12381238
;;
12391239
;; Whether to enable a Service Worker to cache frontend assets
12401240
;USE_SERVICE_WORKER = false
1241+
;;
1242+
;; Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
1243+
;; A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
1244+
;ONLY_SHOW_RELEVANT_REPOS = false
12411245

12421246
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
12431247
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

docs/content/doc/administration/config-cheat-sheet.en-us.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,13 @@ The following configuration set `Content-Type: application/vnd.android.package-a
226226
Values can be emoji alias (:smile:) or a unicode emoji.
227227
For custom reactions, add a tightly cropped square image to public/img/emoji/reaction_name.png
228228
- `CUSTOM_EMOJIS`: **gitea, codeberg, gitlab, git, github, gogs**: Additional Emojis not defined in the utf8 standard.
229-
By default we support Gitea (:gitea:), to add more copy them to public/img/emoji/emoji_name.png and
229+
By default, we support Gitea (:gitea:), to add more copy them to public/img/emoji/emoji_name.png and
230230
add it to this config.
231231
- `DEFAULT_SHOW_FULL_NAME`: **false**: Whether the full name of the users should be shown where possible. If the full name isn't set, the username will be used.
232232
- `SEARCH_REPO_DESCRIPTION`: **true**: Whether to search within description at repository search on explore page.
233233
- `USE_SERVICE_WORKER`: **false**: Whether to enable a Service Worker to cache frontend assets.
234+
- `ONLY_SHOW_RELEVANT_REPOS`: **false** Whether to only show relevant repos on the explore page when no keyword is specified and default sorting is used.
235+
A repo is considered irrelevant if it's a fork or if it has no metadata (no description, no icon, no topic).
234236

235237
### UI - Admin (`ui.admin`)
236238

modules/setting/ui.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,9 @@ func loadUIFrom(rootCfg ConfigProvider) {
139139
UI.DefaultShowFullName = sec.Key("DEFAULT_SHOW_FULL_NAME").MustBool(false)
140140
UI.SearchRepoDescription = sec.Key("SEARCH_REPO_DESCRIPTION").MustBool(true)
141141
UI.UseServiceWorker = sec.Key("USE_SERVICE_WORKER").MustBool(false)
142+
143+
// OnlyShowRelevantRepos=false is important for many private/enterprise instances,
144+
// because many private repositories do not have "description/topic", users just want to search by their names.
142145
UI.OnlyShowRelevantRepos = sec.Key("ONLY_SHOW_RELEVANT_REPOS").MustBool(false)
143146

144147
UI.ReactionsLookup = make(container.Set[string])

options/locale/locale_cs-CZ.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1250,6 +1250,7 @@ issues.new.no_assignees=Bez zpracovatelů
12501250
issues.new.no_reviewers=Žádní posuzovatelé
12511251
issues.new.add_reviewer_title=Požádat o posouzení
12521252
issues.choose.get_started=Začínáme
1253+
issues.choose.open_external_link=Otevřít
12531254
issues.choose.blank=Výchozí
12541255
issues.choose.blank_about=Vytvořit úkol z výchozí šablony.
12551256
issues.choose.ignore_invalid_templates=Neplatné šablony byly ignorovány

options/locale/locale_de-DE.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,6 +1202,7 @@ issues.new.no_assignees=Niemand zuständig
12021202
issues.new.no_reviewers=Keine Reviewer
12031203
issues.new.add_reviewer_title=Überprüfung anfordern
12041204
issues.choose.get_started=Los geht's
1205+
issues.choose.open_external_link=Öffnen
12051206
issues.choose.blank=Standard
12061207
issues.choose.blank_about=Erstelle einen Issue aus dem Standardtemplate.
12071208
issues.no_ref=Keine Branch/Tag angegeben

options/locale/locale_el-GR.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1259,6 +1259,7 @@ issues.new.no_assignees=Χωρίς Αποδέκτη
12591259
issues.new.no_reviewers=Δεν υπάρχουν εξεταστές
12601260
issues.new.add_reviewer_title=Αίτηση επανεξέτασης
12611261
issues.choose.get_started=Ας Αρχίσουμε
1262+
issues.choose.open_external_link=Άνοιγμα
12621263
issues.choose.blank=Προεπιλογή
12631264
issues.choose.blank_about=Δημιουργήστε ένα ζήτημα από το προεπιλεγμένο πρότυπο.
12641265
issues.choose.ignore_invalid_templates=Μη έγκυρα πρότυπα έχουν αγνοηθεί

options/locale/locale_es-ES.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,7 @@ issues.new.no_assignees=No asignados
12241224
issues.new.no_reviewers=No hay revisores
12251225
issues.new.add_reviewer_title=Solicitar revisión
12261226
issues.choose.get_started=Comenzar
1227+
issues.choose.open_external_link=Abrir
12271228
issues.choose.blank=Predeterminado
12281229
issues.choose.blank_about=Crear una incidencia a partir de la plantilla predeterminada.
12291230
issues.choose.ignore_invalid_templates=Las plantillas no válidas han sido ignoradas

options/locale/locale_fa-IR.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1117,6 +1117,7 @@ issues.new.no_assignees=بدون تخصیص
11171117
issues.new.no_reviewers=بدون بازبین گر
11181118
issues.new.add_reviewer_title=درخواست بازبینی
11191119
issues.choose.get_started=آغاز کردن
1120+
issues.choose.open_external_link=باز‌کردن
11201121
issues.choose.blank=پیشگزیده
11211122
issues.choose.blank_about=ایجاد یک مشکل از ساختار پیش‌فرض
11221123
issues.no_ref=بدون شاخه/برچسب مشخص

options/locale/locale_fi-FI.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -867,6 +867,7 @@ issues.new.assignees=Käsittelijä
867867
issues.new.add_assignees_title=Osoita käyttäjille
868868
issues.new.clear_assignees=Tyhjennä käsittelijä
869869
issues.new.no_assignees=Ei käsittelijää
870+
issues.choose.open_external_link=Avaa
870871
issues.choose.blank=Oletus
871872
issues.no_ref=Haaraa/tagia ei määritelty
872873
issues.create=Ilmoita ongelma

options/locale/locale_fr-FR.ini

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -971,6 +971,7 @@ issues.new.no_assignees=Pas d'assignataires
971971
issues.new.no_reviewers=Aucune évaluation
972972
issues.new.add_reviewer_title=Demander une revue
973973
issues.choose.get_started=Démarrons
974+
issues.choose.open_external_link=Ouvrir
974975
issues.choose.blank=Par défaut
975976
issues.choose.blank_about=Créer un ticket à partir du modèle par défaut.
976977
issues.no_ref=Aucune branche/étiquette spécifiées

0 commit comments

Comments
 (0)