mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-03-05 13:30:32 -05:00
Merge pull request #1661 from PrivateBin/karthikkasturi-master
Password peek 🫣 - take two
This commit is contained in:
@@ -1,12 +1,13 @@
|
|||||||
# PrivateBin version history
|
# PrivateBin version history
|
||||||
|
|
||||||
## 2.0.1 (not yet released)
|
## 2.0.1 (not yet released)
|
||||||
|
* ADDED: Auto shorten URLs with config option `shortenbydefault` (#1627)
|
||||||
|
* ADDED: Added `shortenviashlink` endpoint with an `shlink` configuration section
|
||||||
|
* ADDED: Password peek (#1254)
|
||||||
* CHANGED: CSP recommendation around bootstrap5 template resolved in Firefox 131 (#1613)
|
* CHANGED: CSP recommendation around bootstrap5 template resolved in Firefox 131 (#1613)
|
||||||
* FIXED: Allow pasting a password for decrypting a paste (#1620)
|
* FIXED: Allow pasting a password for decrypting a paste (#1620)
|
||||||
* FIXED: Allow copying the shortened link after using a URL shortener (#1624)
|
* FIXED: Allow copying the shortened link after using a URL shortener (#1624)
|
||||||
* ADDED: Auto shorten URLs with config option `shortenbydefault` (#1627)
|
* FIXED: URL extraction fails when frame-ancestors is set in CSP (#1644)
|
||||||
* ADDED: Added `shortenviashlink` endpoint with an `shlink` configuration section
|
|
||||||
* FIXED: Check for quotes and conical braces when extracting short url (#1644)
|
|
||||||
|
|
||||||
## 2.0.0 (2025-07-28)
|
## 2.0.0 (2025-07-28)
|
||||||
* ADDED: Error logging in database and filesystem backend (#1554)
|
* ADDED: Error logging in database and filesystem backend (#1554)
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "نُسخ الرابط إلى الحافظة",
|
"Link copied to clipboard": "نُسخ الرابط إلى الحافظة",
|
||||||
"Document text": "لصق النص",
|
"Document text": "لصق النص",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "مفتاح التبويب يعمل كشخصية (انقر <kbd>Ctrl</kbd>+<kbd>m</kbd> أو <kbd>Esc</kbd> للتبديل)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "مفتاح التبويب يعمل كشخصية (انقر <kbd>Ctrl</kbd>+<kbd>m</kbd> أو <kbd>Esc</kbd> للتبديل)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "السمة"
|
"Theme": "السمة"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "U liame hè statu cupiatu in u preme’papei",
|
"Link copied to clipboard": "U liame hè statu cupiatu in u preme’papei",
|
||||||
"Document text": "Testu di u ducumentu",
|
"Document text": "Testu di u ducumentu",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "U tastu di tabulazione ghjova cum’è un caratteru (Appughjate nant’à <kbd>Ctrl</kbd>+<kbd>m</kbd> o <kbd>Scapp</kbd> per scambià)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "U tastu di tabulazione ghjova cum’è un caratteru (Appughjate nant’à <kbd>Ctrl</kbd>+<kbd>m</kbd> o <kbd>Scapp</kbd> per scambià)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Tema"
|
"Theme": "Tema"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Odkaz zkopírován do schránky",
|
"Link copied to clipboard": "Odkaz zkopírován do schránky",
|
||||||
"Document text": "Text dokumentu",
|
"Document text": "Text dokumentu",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulátor funguje jako znak (pro přepnutí stiskněte <kbd>Ctrl</kbd>+<kbd>m</kbd> nebo <kbd>Esc</kbd>)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulátor funguje jako znak (pro přepnutí stiskněte <kbd>Ctrl</kbd>+<kbd>m</kbd> nebo <kbd>Esc</kbd>)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Vzhled"
|
"Theme": "Vzhled"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Verknüpfung wurde in die Zwischenablage kopiert.",
|
"Link copied to clipboard": "Verknüpfung wurde in die Zwischenablage kopiert.",
|
||||||
"Document text": "Text des Dokuments",
|
"Document text": "Text des Dokuments",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulatortaste als Zeichen interpretieren (Umschalten durch <kbd>Strg</kbd>+<kbd>m</kbd> oder <kbd>Esc</kbd>)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulatortaste als Zeichen interpretieren (Umschalten durch <kbd>Strg</kbd>+<kbd>m</kbd> oder <kbd>Esc</kbd>)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Design"
|
"Theme": "Design"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Enlace copiado al portapapeles",
|
"Link copied to clipboard": "Enlace copiado al portapapeles",
|
||||||
"Document text": "Texto del documento",
|
"Document text": "Texto del documento",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "La tecla de tabulación funciona como carácter (presione <kbd>Ctrl</kbd>+<kbd>m</kbd> o <kbd>Esc</kbd> para alternar)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "La tecla de tabulación funciona como carácter (presione <kbd>Ctrl</kbd>+<kbd>m</kbd> o <kbd>Esc</kbd> para alternar)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Tema"
|
"Theme": "Tema"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link kopeeriti lõikelauale",
|
"Link copied to clipboard": "Link kopeeriti lõikelauale",
|
||||||
"Document text": "Kleebi tekst",
|
"Document text": "Kleebi tekst",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Teema"
|
"Theme": "Teema"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Linkki kopioitu leikepöydälle",
|
"Link copied to clipboard": "Linkki kopioitu leikepöydälle",
|
||||||
"Document text": "Liitä teksti",
|
"Document text": "Liitä teksti",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulaattori toimii merkkinä (Paina <kbd>Ctrl</kbd>+<kbd>m</kbd> tai <kbd>Esc</kbd> vaihtaaksesi)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulaattori toimii merkkinä (Paina <kbd>Ctrl</kbd>+<kbd>m</kbd> tai <kbd>Esc</kbd> vaihtaaksesi)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Teema"
|
"Theme": "Teema"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Lien copié dans le presse-papier",
|
"Link copied to clipboard": "Lien copié dans le presse-papier",
|
||||||
"Document text": "Texte du document",
|
"Document text": "Texte du document",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "La touche de tabulation sert de caractère (Presser <kbd>Ctrl</kbd>+<kbd>m</kbd> ou <kbd>Esc</kbd> pour basculer)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "La touche de tabulation sert de caractère (Presser <kbd>Ctrl</kbd>+<kbd>m</kbd> ou <kbd>Esc</kbd> pour basculer)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Thème"
|
"Theme": "Thème"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "הקישור הועתק ללוח",
|
"Link copied to clipboard": "הקישור הועתק ללוח",
|
||||||
"Document text": "הדבק טקסט",
|
"Document text": "הדבק טקסט",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "משטח ה-tab פועל כמקש תו (לחץ על <kbd>Ctrl</kbd>+<kbd>m</kbd> או <kbd>Esc</kbd> להחלפה)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "משטח ה-tab פועל כמקש תו (לחץ על <kbd>Ctrl</kbd>+<kbd>m</kbd> או <kbd>Esc</kbd> להחלפה)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "נושא"
|
"Theme": "נושא"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Testo del messaggio",
|
"Document text": "Testo del messaggio",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link gekopieerd naar klembord",
|
"Link copied to clipboard": "Link gekopieerd naar klembord",
|
||||||
"Document text": "Tekst plakken",
|
"Document text": "Tekst plakken",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulatortoets dient als teken (gebruik <kbd>Ctrl</kbd>+<kbd>m</kbd> of <kbd>Esc</kbd> om te schakelen)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulatortoets dient als teken (gebruik <kbd>Ctrl</kbd>+<kbd>m</kbd> of <kbd>Esc</kbd> om te schakelen)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Thema"
|
"Theme": "Thema"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link skopiowany do schowka",
|
"Link copied to clipboard": "Link skopiowany do schowka",
|
||||||
"Document text": "Treść dokumentu",
|
"Document text": "Treść dokumentu",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Klawisz Tabulatora służy jako znak (użyj <kbd>Ctrl</kbd>+<kbd>m</kbd> lub <kbd>Esc</kbd>, aby przełączyć tryb)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Klawisz Tabulatora służy jako znak (użyj <kbd>Ctrl</kbd>+<kbd>m</kbd> lub <kbd>Esc</kbd>, aby przełączyć tryb)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Motyw"
|
"Theme": "Motyw"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Ссылка скопирована в буфер обмена",
|
"Link copied to clipboard": "Ссылка скопирована в буфер обмена",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Тема"
|
"Theme": "Тема"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Odkaz vložený do schránky",
|
"Link copied to clipboard": "Odkaz vložený do schránky",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "คัดลอกลิงก์ไปที่คลิปบอร์ดแล้ว",
|
"Link copied to clipboard": "คัดลอกลิงก์ไปที่คลิปบอร์ดแล้ว",
|
||||||
"Document text": "ฝากข้อความ",
|
"Document text": "ฝากข้อความ",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "ปุ่ม Tabulator ใช้เป็นอักขระ (กด <kbd>Ctrl</kbd>+<kbd>m</kbd> หรือ <kbd>Esc</kbd> เพื่อสลับ)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "ปุ่ม Tabulator ใช้เป็นอักขระ (กด <kbd>Ctrl</kbd>+<kbd>m</kbd> หรือ <kbd>Esc</kbd> เพื่อสลับ)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "ธีม"
|
"Theme": "ธีม"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "Link copied to clipboard",
|
"Link copied to clipboard": "Link copied to clipboard",
|
||||||
"Document text": "Document text",
|
"Document text": "Document text",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "Theme"
|
"Theme": "Theme"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -229,5 +229,7 @@
|
|||||||
"Link copied to clipboard": "链接已复制到剪贴板",
|
"Link copied to clipboard": "链接已复制到剪贴板",
|
||||||
"Document text": "粘贴文本",
|
"Document text": "粘贴文本",
|
||||||
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tab 键可作为字符(按 <kbd>Ctrl</kbd>+<kbd>m</kbd> 或 <kbd>Esc</kbd> 切换开关)",
|
"Tabulator key serves as character (Hit <kbd>Ctrl</kbd>+<kbd>m</kbd> or <kbd>Esc</kbd> to toggle)": "Tab 键可作为字符(按 <kbd>Ctrl</kbd>+<kbd>m</kbd> 或 <kbd>Esc</kbd> 切换开关)",
|
||||||
|
"Show password": "Show password",
|
||||||
|
"Hide password": "Hide password",
|
||||||
"Theme": "主题"
|
"Theme": "主题"
|
||||||
}
|
}
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 11 KiB |
@@ -930,7 +930,7 @@ jQuery.PrivateBin = (function($) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// load strings from JSON
|
// load strings from JSON
|
||||||
const cacheBreaker = document.querySelector('script[src^="js/privatebin.js"]').getAttribute("src").split(".js")[1] || "";
|
const cacheBreaker = document.querySelector('script[src^="js/privatebin.js"]').getAttribute('src').split('.js')[1] || '';
|
||||||
$.getJSON('i18n/' + newLanguage + '.json' + cacheBreaker, function(data) {
|
$.getJSON('i18n/' + newLanguage + '.json' + cacheBreaker, function(data) {
|
||||||
language = newLanguage;
|
language = newLanguage;
|
||||||
translations = data;
|
translations = data;
|
||||||
@@ -5675,6 +5675,73 @@ jQuery.PrivateBin = (function($) {
|
|||||||
return me;
|
return me;
|
||||||
})();
|
})();
|
||||||
|
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* @name PasswordPeek
|
||||||
|
* @class
|
||||||
|
*/
|
||||||
|
const PasswordPeek = (function () {
|
||||||
|
const me = {};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Switch between visible and hidden password
|
||||||
|
*
|
||||||
|
* @name PasswordPeek.handleRevealButtonClick
|
||||||
|
* @private
|
||||||
|
* @function
|
||||||
|
*/
|
||||||
|
function handleRevealButtonClick() {
|
||||||
|
const element = $(this);
|
||||||
|
const passwordInput = element.siblings('.input-password');
|
||||||
|
const isHidden = passwordInput.attr('type') === 'password';
|
||||||
|
|
||||||
|
passwordInput.attr('type', isHidden ? 'text' : 'password');
|
||||||
|
|
||||||
|
const tooltip = I18n._(isHidden ? 'Hide password' : 'Show password');
|
||||||
|
|
||||||
|
element.attr('title', tooltip);
|
||||||
|
element.attr('aria-label', tooltip);
|
||||||
|
|
||||||
|
// handle bootstrap 5 icons: eye & eye-slash
|
||||||
|
const buttonSvg = element.find('use');
|
||||||
|
if (buttonSvg.length) {
|
||||||
|
const iconHref = buttonSvg.attr('href');
|
||||||
|
if (isHidden) {
|
||||||
|
buttonSvg.attr('href', iconHref + '-slash');
|
||||||
|
} else {
|
||||||
|
buttonSvg.attr('href', iconHref.substring(0, iconHref.length - 6));
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// handle bootstrap 3 icons: eye-open & eye-close
|
||||||
|
const buttonSpan = element.find('span');
|
||||||
|
if (buttonSpan.length) {
|
||||||
|
if (isHidden) {
|
||||||
|
buttonSpan.addClass('glyphicon-eye-close');
|
||||||
|
buttonSpan.removeClass('glyphicon-eye-open');
|
||||||
|
} else {
|
||||||
|
buttonSpan.addClass('glyphicon-eye-open');
|
||||||
|
buttonSpan.removeClass('glyphicon-eye-close');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Initialize
|
||||||
|
*
|
||||||
|
* @name PasswordPeek.init
|
||||||
|
* @function
|
||||||
|
*/
|
||||||
|
me.init = function() {
|
||||||
|
const revealButton = $('.toggle-password');
|
||||||
|
|
||||||
|
revealButton.click(handleRevealButtonClick);
|
||||||
|
};
|
||||||
|
|
||||||
|
return me;
|
||||||
|
})();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* (controller) main PrivateBin logic
|
* (controller) main PrivateBin logic
|
||||||
*
|
*
|
||||||
@@ -5923,6 +5990,7 @@ jQuery.PrivateBin = (function($) {
|
|||||||
TopNav.init();
|
TopNav.init();
|
||||||
UiHelper.init();
|
UiHelper.init();
|
||||||
CopyToClipboard.init();
|
CopyToClipboard.init();
|
||||||
|
PasswordPeek.init();
|
||||||
|
|
||||||
// check for legacy browsers before going any further
|
// check for legacy browsers before going any further
|
||||||
if (!Legacy.Check.getInit()) {
|
if (!Legacy.Check.getInit()) {
|
||||||
@@ -5982,6 +6050,7 @@ jQuery.PrivateBin = (function($) {
|
|||||||
ServerInteraction: ServerInteraction,
|
ServerInteraction: ServerInteraction,
|
||||||
PasteEncrypter: PasteEncrypter,
|
PasteEncrypter: PasteEncrypter,
|
||||||
PasteDecrypter: PasteDecrypter,
|
PasteDecrypter: PasteDecrypter,
|
||||||
|
PasswordPeek: PasswordPeek,
|
||||||
CopyToClipboard: CopyToClipboard,
|
CopyToClipboard: CopyToClipboard,
|
||||||
Controller: Controller
|
Controller: Controller
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -121,7 +121,7 @@ class Configuration
|
|||||||
'js/kjua-0.10.0.js' => 'sha512-BYj4xggowR7QD150VLSTRlzH62YPfhpIM+b/1EUEr7RQpdWAGKulxWnOvjFx1FUlba4m6ihpNYuQab51H6XlYg==',
|
'js/kjua-0.10.0.js' => 'sha512-BYj4xggowR7QD150VLSTRlzH62YPfhpIM+b/1EUEr7RQpdWAGKulxWnOvjFx1FUlba4m6ihpNYuQab51H6XlYg==',
|
||||||
'js/legacy.js' => 'sha512-mXAgFn/DonfPANvPO6Kf08zRKCeQ75jXK69gcUUOpPLFkp3KHnDhnvij8nEJxlutD/670Bfi4RNMG6uEjA4nNQ==',
|
'js/legacy.js' => 'sha512-mXAgFn/DonfPANvPO6Kf08zRKCeQ75jXK69gcUUOpPLFkp3KHnDhnvij8nEJxlutD/670Bfi4RNMG6uEjA4nNQ==',
|
||||||
'js/prettify.js' => 'sha512-puO0Ogy++IoA2Pb9IjSxV1n4+kQkKXYAEUtVzfZpQepyDPyXk8hokiYDS7ybMogYlyyEIwMLpZqVhCkARQWLMg==',
|
'js/prettify.js' => 'sha512-puO0Ogy++IoA2Pb9IjSxV1n4+kQkKXYAEUtVzfZpQepyDPyXk8hokiYDS7ybMogYlyyEIwMLpZqVhCkARQWLMg==',
|
||||||
'js/privatebin.js' => 'sha512-Id47n8ZPz6j93KoR7DkaS48MxtwKftVq3RyZw9WRGpRT+6bYKP/ZkU84RscbcW3icxBTS9fQKQpdnmZ3rr00dQ==',
|
'js/privatebin.js' => 'sha512-ua90kdFdjCfjRLX3WnqJdLI1HksNlvbmEdwVT3Ct0vsOhP/68gEJ3tucD/3vK5pcsVdWuJb+5ZkfymvS2QbERQ==',
|
||||||
'js/purify-3.2.6.js' => 'sha512-zqwL4OoBLFx89QPewkz4Lz5CSA2ktU+f31fuECkF0iK3Id5qd3Zpq5dMby8KwHjIEpsUgOqwF58cnmcaNem0EA==',
|
'js/purify-3.2.6.js' => 'sha512-zqwL4OoBLFx89QPewkz4Lz5CSA2ktU+f31fuECkF0iK3Id5qd3Zpq5dMby8KwHjIEpsUgOqwF58cnmcaNem0EA==',
|
||||||
'js/showdown-2.1.0.js' => 'sha512-WYXZgkTR0u/Y9SVIA4nTTOih0kXMEd8RRV6MLFdL6YU8ymhR528NLlYQt1nlJQbYz4EW+ZsS0fx1awhiQJme1Q==',
|
'js/showdown-2.1.0.js' => 'sha512-WYXZgkTR0u/Y9SVIA4nTTOih0kXMEd8RRV6MLFdL6YU8ymhR528NLlYQt1nlJQbYz4EW+ZsS0fx1awhiQJme1Q==',
|
||||||
'js/zlib-1.3.1-1.js' => 'sha512-5bU9IIP4PgBrOKLZvGWJD4kgfQrkTz8Z3Iqeu058mbQzW3mCumOU6M3UVbVZU9rrVoVwaW4cZK8U8h5xjF88eQ==',
|
'js/zlib-1.3.1-1.js' => 'sha512-5bU9IIP4PgBrOKLZvGWJD4kgfQrkTz8Z3Iqeu058mbQzW3mCumOU6M3UVbVZU9rrVoVwaW4cZK8U8h5xjF88eQ==',
|
||||||
|
|||||||
@@ -109,7 +109,12 @@ if (count($class)) {
|
|||||||
<form id="passwordform" role="form">
|
<form id="passwordform" role="form">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="passworddecrypt"><span class="glyphicon glyphicon-eye-open"></span> <?php echo I18n::_('Please enter the password for this document:') ?></label>
|
<label for="passworddecrypt"><span class="glyphicon glyphicon-eye-open"></span> <?php echo I18n::_('Please enter the password for this document:') ?></label>
|
||||||
<input id="passworddecrypt" type="password" class="form-control" placeholder="<?php echo I18n::_('Enter password') ?>" required="required">
|
<div class="input-group">
|
||||||
|
<input id="passworddecrypt" type="password" class="form-control input-password" placeholder="<?php echo I18n::_('Enter password') ?>" required="required">
|
||||||
|
<div class="input-group-addon toggle-password" type="button" title="<?php echo I18n::_('Show password'); ?>" aria-label="<?php echo I18n::_('Show password'); ?>">
|
||||||
|
<span class="glyphicon glyphicon-eye-open"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span> <?php echo I18n::_('Decrypt') ?></button>
|
<button type="submit" class="btn btn-success btn-block"><span class="glyphicon glyphicon-off"></span> <?php echo I18n::_('Decrypt') ?></button>
|
||||||
</form>
|
</form>
|
||||||
@@ -368,7 +373,12 @@ if ($PASSWORD) :
|
|||||||
?>
|
?>
|
||||||
<li>
|
<li>
|
||||||
<div id="password" class="navbar-form hidden">
|
<div id="password" class="navbar-form hidden">
|
||||||
<input type="password" id="passwordinput" placeholder="<?php echo I18n::_('Password (recommended)'); ?>" class="form-control" size="23" />
|
<div class="password-peek-container">
|
||||||
|
<input type="password" id="passwordinput" placeholder="<?php echo I18n::_('Password (recommended)'); ?>" class="form-control input-password" size="23" />
|
||||||
|
<div class="input-group-addon toggle-password" type="button" title="<?php echo I18n::_('Show password'); ?>" aria-label="<?php echo I18n::_('Show password'); ?>">
|
||||||
|
<span class="glyphicon glyphicon-eye-open"></span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
@@ -565,9 +575,9 @@ endif;
|
|||||||
if (!empty($URLSHORTENER)) :
|
if (!empty($URLSHORTENER)) :
|
||||||
?>
|
?>
|
||||||
<p>
|
<p>
|
||||||
<button id="shortenbutton" data-shortener="<?php echo I18n::encode($URLSHORTENER); ?>"
|
<button id="shortenbutton" data-shortener="<?php echo I18n::encode($URLSHORTENER); ?>"
|
||||||
<?php if ($SHORTENBYDEFAULT) : ?>
|
<?php if ($SHORTENBYDEFAULT) : ?>
|
||||||
data-autoshorten="true"
|
data-autoshorten="true"
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
type="button" class="btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?> btn-block"
|
type="button" class="btn btn-<?php echo $isDark ? 'warning' : 'primary'; ?> btn-block"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -82,7 +82,12 @@ endif;
|
|||||||
<form id="passwordform" role="form">
|
<form id="passwordform" role="form">
|
||||||
<div class="mb-3">
|
<div class="mb-3">
|
||||||
<label for="passworddecrypt"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg> <?php echo I18n::_('Please enter the password for this document:') ?></label>
|
<label for="passworddecrypt"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg> <?php echo I18n::_('Please enter the password for this document:') ?></label>
|
||||||
<input id="passworddecrypt" type="password" class="form-control" placeholder="<?php echo I18n::_('Enter password') ?>" required="required" />
|
<div class="input-group">
|
||||||
|
<input id="passworddecrypt" type="password" class="form-control input-password" placeholder="<?php echo I18n::_('Enter password') ?>" required="required" />
|
||||||
|
<button class="btn btn-outline-secondary toggle-password" type="button" title="<?php echo I18n::_('Show password'); ?>" aria-label="<?php echo I18n::_('Show password'); ?>">
|
||||||
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-success btn-block"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#power" /></svg> <?php echo I18n::_('Decrypt') ?></button>
|
<button type="submit" class="btn btn-success btn-block"><svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#power" /></svg> <?php echo I18n::_('Decrypt') ?></button>
|
||||||
</form>
|
</form>
|
||||||
@@ -243,7 +248,12 @@ if ($PASSWORD) :
|
|||||||
?>
|
?>
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<div id="password" class="navbar-form hidden">
|
<div id="password" class="navbar-form hidden">
|
||||||
<input type="password" id="passwordinput" placeholder="<?php echo I18n::_('Password (recommended)'); ?>" aria-label="<?php echo I18n::_('Password (recommended)'); ?>" class="form-control" size="23" />
|
<div class="input-group">
|
||||||
|
<input type="password" id="passwordinput" placeholder="<?php echo I18n::_('Password (recommended)'); ?>" aria-label="<?php echo I18n::_('Password (recommended)'); ?>" class="form-control input-password" size="23" />
|
||||||
|
<button class="btn btn-outline-secondary toggle-password" type="button" title="<?php echo I18n::_('Show password'); ?>" aria-label="<?php echo I18n::_('Show password'); ?>">
|
||||||
|
<svg width="16" height="16" fill="currentColor" aria-hidden="true"><use href="img/bootstrap-icons.svg#eye" /></svg>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
@@ -434,7 +444,7 @@ if (!empty($URLSHORTENER)) :
|
|||||||
<p>
|
<p>
|
||||||
<button id="shortenbutton" data-shortener="<?php echo I18n::encode($URLSHORTENER); ?>"
|
<button id="shortenbutton" data-shortener="<?php echo I18n::encode($URLSHORTENER); ?>"
|
||||||
<?php if ($SHORTENBYDEFAULT) : ?>
|
<?php if ($SHORTENBYDEFAULT) : ?>
|
||||||
data-autoshorten="true"
|
data-autoshorten="true"
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
type="button" class="btn btn-primary btn-block d-flex justify-content-center align-items-center gap-1"
|
type="button" class="btn btn-primary btn-block d-flex justify-content-center align-items-center gap-1"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user