Skip to content

Commit 0ecfe2f

Browse files
Security fixes (#1328)
* Security fixes. * Fix build. * Fix build. * UI fixes. * Fix asset tags. * Info the save the query.
1 parent a0f3f5c commit 0ecfe2f

16 files changed

Lines changed: 54 additions & 18 deletions

backend/i18n/frontend_de.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Suchen Sie nach {types} und verwenden Sie das <i class=\"icon-star-empty\"></i>-Symbol im Suchformular, um die Abfrage für alle Mitwirkenden zu speichern.",
11311131
"search.queryAllNewestFirst": "Alle (neueste zuerst)",
11321132
"search.queryAllOldestFirst": "Alle (älteste zuerst)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Schnellnavigation (Taste 'q' drücken)",
11341135
"search.saveQueryMyself": "Die Abfrage nur für mich speichern.",
11351136
"search.searchFailed": "Fehler bei der Suche. Bitte neu laden.",

backend/i18n/frontend_en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Search for {types} and use <i class=\"icon-star-empty\"></i> icon in search form to save query for all contributors.",
11311131
"search.queryAllNewestFirst": "All (newest first)",
11321132
"search.queryAllOldestFirst": "All (oldest first)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Quick Nav (Press 'q')",
11341135
"search.saveQueryMyself": "Save the query only for myself.",
11351136
"search.searchFailed": "Failed to make search. Please reload.",

backend/i18n/frontend_fr.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Recherchez {types} et utilisez<i class=\"icon-star-empty\"></i> icône dans le formulaire de recherche pour enregistrer la requête pour tous les contributeurs.",
11311131
"search.queryAllNewestFirst": "Tous (le plus récent en premier)",
11321132
"search.queryAllOldestFirst": "Tous (le plus ancien en premier)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Navigation rapide (Appuyez sur 'q')",
11341135
"search.saveQueryMyself": "Enregistrer la requête uniquement pour moi-même.",
11351136
"search.searchFailed": "Échec de la recherche. Veuillez recharger.",

backend/i18n/frontend_it.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Ricerca per {types} e utilizza l'icona <i class=\"icon-star-empty\"></i> nella ricerca per salvare la query per tutti i collaboratori.",
11311131
"search.queryAllNewestFirst": "Tutto (prima i più recenti)",
11321132
"search.queryAllOldestFirst": "Tutto (prima i meno recenti)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Navigazione veloce (Press 'q')",
11341135
"search.saveQueryMyself": "Salva la query solamente per me.",
11351136
"search.searchFailed": "Non è stato possibile eseguire la ricerca. Per favore ricarica.",

backend/i18n/frontend_nl.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Zoek naar {types} en gebruik <i class = \" icon-star-empty \"> </i> icon in het zoekformulier om de zoekopdracht op te slaan voor alle bijdragers.",
11311131
"search.queryAllNewestFirst": "Alle (nieuwste eerst)",
11321132
"search.queryAllOldestFirst": "Alle (oudste eerst)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Snelle navigatie (druk op 'q')",
11341135
"search.saveQueryMyself": "Bewaar de zoekopdracht alleen voor mezelf.",
11351136
"search.searchFailed": "Zoeken mislukt. Laad opnieuw.",

backend/i18n/frontend_pt.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Procure por {types} e use <i class=\"icon-star-empty\"></i> ícone em forma de pesquisa para guardar consulta para todos os contribuintes.",
11311131
"search.queryAllNewestFirst": "Todos (o mais novo primeiro)",
11321132
"search.queryAllOldestFirst": "Todos (o mais velho primeiro)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Quick Nav (Prima 'q')",
11341135
"search.saveQueryMyself": "Guarde a consulta apenas para mim.",
11351136
"search.searchFailed": "Falhou em fazer uma busca. Por favor, recarregue.",

backend/i18n/frontend_zh.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "搜索 {types} 并在搜索表单中使用 <i class=\"icon-star-empty\"></i> 图标来保存所有贡献者的查询。",
11311131
"search.queryAllNewestFirst": "全部(最新的在前)",
11321132
"search.queryAllOldestFirst": "所有(最旧的在前)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "快速导航(按'q')",
11341135
"search.saveQueryMyself": "只为我保存查询。",
11351136
"search.searchFailed": "搜索失败,请重新加载。",

backend/i18n/source/frontend_en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@
11301130
"search.queriesEmpty": "Search for {types} and use <i class=\"icon-star-empty\"></i> icon in search form to save query for all contributors.",
11311131
"search.queryAllNewestFirst": "All (newest first)",
11321132
"search.queryAllOldestFirst": "All (oldest first)",
1133+
"search.queryNotUsed": "Run the query before you save it",
11331134
"search.quickNavPlaceholder": "Quick Nav (Press 'q')",
11341135
"search.saveQueryMyself": "Save the query only for myself.",
11351136
"search.searchFailed": "Failed to make search. Please reload.",

frontend/src/app/features/assets/pages/asset-tags.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
@if (canRename) {
1818
<button
19-
class="btn-sm btn-text-secondary btn-rename"
19+
class="btn btn-sm btn-text-secondary btn-rename"
2020
attr.aria-label="{{ 'common.rename' | sqxTranslate }}"
2121
(click)="renameTag(tag)"
2222
sqxStopClick

frontend/src/app/features/assets/pages/asset-tags.component.scss

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,18 @@
2929
}
3030

3131
.nav-item {
32+
.nav-link {
33+
display: flex;
34+
align-items: center;
35+
width: 100%;
36+
text-align: left;
37+
text-decoration: none;
38+
}
39+
40+
.row {
41+
width: 100%;
42+
}
43+
3244
&:hover {
3345
.btn-rename {
3446
display: block;

0 commit comments

Comments
 (0)