Commit f76b6237 authored by yPhil's avatar yPhil
Browse files

Out .gitlab/issue_templates/bug-feed.md, now just using the query string

parent 5df8c0f9
Pipeline #395524 passed with stage
in 41 seconds
### URL of the broken feed:
/label ~bug
/assign @yphil
@font-face {
font-family: 'fontello';
src: url('../font/fontello.eot?9875755');
src: url('../font/fontello.eot?9875755#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?9875755') format('woff2'),
url('../font/fontello.woff?9875755') format('woff'),
url('../font/fontello.ttf?9875755') format('truetype'),
url('../font/fontello.svg?9875755#fontello') format('svg');
src: url('../font/fontello.eot?37133991');
src: url('../font/fontello.eot?37133991#iefix') format('embedded-opentype'),
url('../font/fontello.woff2?37133991') format('woff2'),
url('../font/fontello.woff?37133991') format('woff'),
url('../font/fontello.ttf?37133991') format('truetype'),
url('../font/fontello.svg?37133991#fontello') format('svg');
font-weight: normal;
font-style: normal;
}
......@@ -15,7 +15,7 @@
@media screen and (-webkit-min-device-pixel-ratio:0) {
@font-face {
font-family: 'fontello';
src: url('../font/fontello.svg?9875755#fontello') format('svg');
src: url('../font/fontello.svg?37133991#fontello') format('svg');
}
}
*/
......@@ -83,4 +83,5 @@
.icon-note:before { content: '\e826'; } /* '' */
.icon-help:before { content: '\e827'; } /* '' */
.icon-buoy:before { content: '\e828'; } /* '' */
.icon-video:before { content: '\e829'; } /* '' */
\ No newline at end of file
.icon-video:before { content: '\e829'; } /* '' */
.icon-w3c:before { content: '\e830'; } /* '' */
\ No newline at end of file
......@@ -710,6 +710,14 @@ button#feedGuessButton {
margin-left: 0.4em;
}
a.feedErrorReportButton,
a.validateFeedButton {
/* box-sizing: border-box; */
/* width: 100%; */
/* padding:0; */
flex: 1;
}
fieldset.menuForm {
display: flex;
height: 100%;
......@@ -721,7 +729,7 @@ fieldset.feedsMenuForm {
background-color: var(--color-ui-qua) !important;
}
.ui-button:not(.ui-spinner-button) {
.ui-button:not(.ui-spinner-button, .feedGuessButton, .feedErrorReportButton) {
margin-right: 0.4em;
}
......
......@@ -187,6 +187,12 @@
"css": "video",
"code": 59433,
"src": "entypo"
},
{
"uid": "e8ac3bb8871f23096fcab025ba5373cb",
"css": "w3c",
"code": 59440,
"src": "elusive"
}
]
}
\ No newline at end of file
No preview for this file type
......@@ -63,6 +63,8 @@
<glyph glyph-name="buoy" unicode="&#xe828;" d="M454 810q190 2 326-130t140-322q2-190-131-327t-323-141q-190-2-327 131t-139 323q-4 190 130 327t324 139z m0-60q-94 0-178-44l62-104q56 28 122 28t122-28l62 104q-88 46-190 44z m-246-522q-28 60-28 122 0 64 28 124l-102 62q-46-88-46-190 2-96 46-180z m258-278q98 4 178 46l-62 104q-60-30-122-30t-122 30l-62-104q86-46 190-46z m-6 180q92 0 156 65t64 155q0 92-64 156t-156 64-156-64-64-156q0-90 64-155t156-65z m252 98l104-62q46 96 44 190 0 96-44 180l-104-62q28-60 28-124 0-62-28-122z" horiz-adv-x="920" />
<glyph glyph-name="video" unicode="&#xe829;" d="M980 600l-100 0 0-100 100 0 0-100-100 0 0-100 100 0 0-100-100 0 0-100 100 0 0-60q0-16-12-28t-28-12l-900 0q-16 0-28 12t-12 28l0 60 100 0 0 100-100 0 0 100 100 0 0 100-100 0 0 100 100 0 0 100-100 0 0 60q0 18 12 29t28 11l900 0q16 0 28-11t12-29l0-60z m-600-400l250 150-250 150 0-300z" horiz-adv-x="980" />
<glyph glyph-name="w3c" unicode="&#xe830;" d="M0 84l0 766 1000 0 0-766-500-234z m84 461l63-275q3-14 17-14l47 0q14 0 18 14l23 113 21-113q4-14 18-14l49 0q14 0 17 14l61 275q2 10-3 16t-13 6l-50 0q-14 0-16-14l-23-121-26 121q-4 14-17 14l-38 0q-13 0-15-14l-26-121-25 121q-2 14-16 14l-50 0q-20 0-16-22z m344-242q37-51 103-53 45 2 76 30t32 68q-2 43-34 68 30 28 30 63-2 45-32 68t-72 24q-64 0-99-51-8-12 2-23l27-26q14-12 25 2 18 24 41 24 20 0 24-10 6-12 0-26-8-9-45-9-20 0-20-16l0-41q2-21 20-18 45 0 49-9t4-16q0-25-28-25-29 0-47 25-11 16-25 2l-29-29q-10-10-2-22z m232 108q0-73 36-117t95-44q70 0 104 75 3 19-10 23l-37 18q-6 2-14-1t-10-9q-12-29-33-29t-35 23-14 62 14 61 35 24q21-2 33-28 8-13 24-10l37 18q17 10 10 25-34 71-104 71-59 0-95-45t-36-117z" horiz-adv-x="1000" />
</font>
</defs>
</svg>
\ No newline at end of file
No preview for this file type
......@@ -243,6 +243,15 @@ PTL.feed = {
.addClass('translate danger')
.data('content', PTL.tr('Error'));
var $feedErrorReportButton = $('<a>')
.attr('href', 'https://framagit.org/yphil/petrolette/-/issues/new?issue[title]=Feed%20error&issue[description]=' + feedUrl + ' (' + message + ')')
.attr('class', 'translate ui-button ui-widget ui-corner-all feedErrorReportButton')
.attr('title', PTL.tr('Report feed error'))
.data('title', PTL.tr('Report feed error'))
.data('content', PTL.tr('Report'))
.text(PTL.tr('Report'));
var $key = $('<strong>')
.attr('class', 'translate key')
.data('content', PTL.tr('Type'))
......@@ -256,19 +265,27 @@ PTL.feed = {
.attr('href', feedUrl)
.text(feedUrl);
var $validateLink = $('<a>')
var $errorButtonsFlexBox = $('<a>')
.attr('class', 'translate flex-box');
var $validateFeedButton = $('<a>')
.attr('class', 'translate ui-button ui-widget ui-corner-all validateFeedButton')
.attr('href', 'https://validator.w3.org/feed/check.cgi?url=' + feedUrl)
.text(PTL.tr('validate'));
.attr('title', PTL.tr('Validate /verify this feed file with the W3C'))
.data('title', PTL.tr('Validate /verify this feed file with the W3C'))
.data('content', PTL.tr('Validate'))
.text(PTL.tr('Validate'));
$errorButtonsFlexBox.append($validateFeedButton, $feedErrorReportButton);
var $errorItem = $('<li>')
.attr('class', 'feed-item error')
.append($errorLink)
.append('&nbsp; (')
.append($validateLink)
.append(')<br/>')
.append($key)
// .append($errorLink)
.append('&nbsp;')
.append($value);
.append($key)
.append(':&nbsp;')
.append($value)
.append($errorButtonsFlexBox);
$feedBodyUl
.append($errorItem);
......@@ -424,7 +441,7 @@ PTL.feed = {
audioPlayer.controls = 'controls';
audioPlayer.src = item.enclosures[0].url;
audioPlayer.type = item.enclosures[0].type;
// audioPlayer.preload = 'metadata';
audioPlayer.preload = 'none';
$itemDiv.append(audioPlayer);
......
......@@ -384,6 +384,10 @@ PTL.i18n.translations = {
"To synchronize the feeds across devices" : { fr: "Pour synchroniser les flux sur plusieurs appareils" , ja: "デバイス間でソースを同期するには", es: "Para sincronizar las fuentes en todos los dispositivos" },
"Remote file validation NOT OK (error [%1]) now reading from browser cache" : { fr: "Validation de fichier à distance NOT OK (erreur [%1]) lecture depuis le cache du navigateur" , ja: "リモートファイルの検証NOT OK(エラー[%1])がブラウザのキャッシュから読み込み中です", es: "La validación remota de archivos NO está OK (error [%1]) leyendo desde el caché del navegador" },
"Reading feeds and preferences from browser cache" : { fr: "Lecture des flux et des préférences depuis le cache du navigateur" , ja: "ブラウザのキャッシュからソースと設定を読み込む", es: "Leer las fuentes y preferencias de la memoria caché del navegador" },
......@@ -459,6 +463,12 @@ PTL.i18n.translations = {
"Validate /verify this feed file with the W3C" : { fr: "Valider / vérifier ce fichier flux avec le W3C", ja: "このソースファイルをW3Cで検証/検証する", es: "Validar / verificar este archivo fuente con el W3C" },
"Validate" : { fr: "Valider", ja: "検証", es: "Validar" },
"Report" : { fr: "Signaler" , ja: "報告する", es: "Reporte" },
"Report feed error" : { fr: "Signaler un flux en erreur" , ja: "レポートソースエラー", es: "Informe de error de la fuente" },
"No valid feed found at this address" : { fr: "Aucun flux valide découverte à cette adresse", ja: "このアドレスに有効なソースが見つかりません", es: "No se encontró una fuente válida en esta dirección" },
"Valid feed found! Now just press OK" : { fr: "Flux valide trouvée ! Maintenant, appuyez simplement sur OK", ja: "有効なソースが見つかりました! OKを押すだけです", es: "¡Se ha encontrado una fuente válida! Ahora solo presione OK" },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment