Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ pre-releases for test devices only.
## 0.3.0-beta.17

- **Style "Glass".** A third look next to Classic dark and light: *System → Appearance → Style*. The same pages, elements, sizes and corners – only the material changes: translucent, blurred panes over a soft aurora background, in a slate dark and a misty light theme (neither black nor white), with all eight accent colours (raised where needed so small accent text stays readable). It covers the classic and the desktop view and the login page; users with web access can pick their own style. Web apps follow it through the app SDK (`data-style="glass"` on `<html>`, a glass variant of `/_shareos/theme.css`). UCI: `shareos.ui.style` (`classic` | `glass`).
- *Run first-time setup again* moved from the top of *System → General* to its own panel **SETUP WIZARD** under *System → Power & Reset*, with a note that it only shows the wizard again and deletes nothing.
- **Devtest images for new models.** A model that is being added is built as `ShareOS-<version>-<model>-devtest.*` until it is tested (status `devtest` in `post-image.sh`, `BOARD_DEVTEST` in `board.sh`): root keeps the password `shareos` instead of being claimed with a button – the buttons of a new model are not known yet – and the overview and the messages say so. The release build refuses such files, so they only come from the build of a pull request. See [docs/DEVICES.md](docs/DEVICES.md#devtest-image-the-first-image-for-a-new-model).
- **Device info** (`http://<box>/deviceinfo`, admins, on every model; not in the menu): everything needed to add a model – flash partitions, CPU, memory, device tree, LEDs, sensors, buttons, GPIOs, serial ports, I2C, USB, network, the U-Boot environment (read only) and the kernel log – as a text file to download or copy. MAC addresses and serial numbers are masked for public issues unless asked for. The same report in the rescue system: `shareos-deviceinfo`.

Expand Down
8 changes: 6 additions & 2 deletions src/shareos-core/parts/web/system-general.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ async function loadHw() {
Object.assign(SYS, {
general() {
const i = S.info || {};
return html`<div class="acts" style="margin-bottom:16px"><button class="btn ghost" type="button" data-act="fr-again">Run first-time setup again</button></div>
<h2 class="gh" style="margin-top:22px">BACK UP & RESTORE SETTINGS</h2>
return html`<h2 class="gh">BACK UP & RESTORE SETTINGS</h2>
<div class="g2">
<form class="panel" id="f-backup">
<div class="ph"><span class="pt">BACK UP</span><span class="tag ml">JSON file</span></div>
Expand Down Expand Up @@ -204,6 +203,11 @@ Object.assign(SYS, {
<p class="mut" style="margin:0 0 12px;font-size:13px">Removes all settings and installed packages from flash and reboots. The system and firmware version stay. Afterwards the box has no password: press the USB button on its front or briefly the reset button, then choose a new one in the web interface.</p>
<button class="btn danger" type="button" data-act="factory">Reset to factory settings</button>
</div>
<div class="panel">
<div class="ph"><span class="pt">SETUP WIZARD</span></div>
<p class="mut" style="margin:0 0 12px;font-size:13px">Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.</p>
<button class="btn ghost" type="button" data-act="fr-again">Run first-time setup again</button>
</div>
</div>
<h2 class="gh" style="margin-top:22px">SCHEDULE</h2>
${powerSchedule()}
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "إظهار عناوين MAC والأرقام التسلسلية (وإلا فهي مخفية – لا تضعها في التذاكر العامة)",
"STYLE": "النمط",
"Glass": "زجاج",
"Glass shows the same pages with translucent panes over a soft background.": "يعرض نمط الزجاج الصفحات نفسها بألواح شبه شفافة فوق خلفية ناعمة."
"Glass shows the same pages with translucent panes over a soft background.": "يعرض نمط الزجاج الصفحات نفسها بألواح شبه شفافة فوق خلفية ناعمة.",
"SETUP WIZARD": "معالج الإعداد",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "يعرض الإعداد الأولي مرة أخرى عند تحميل الصفحة التالي – لا يُحذف شيء. مفيد بعد استعادة الإعدادات على جهاز آخر أو بعد تغيير القرص."
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/bn.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "MAC ঠিকানা ও সিরিয়াল নম্বর দেখান (নইলে লুকানো – সর্বজনীন issue-তে দেবেন না)",
"STYLE": "স্টাইল",
"Glass": "গ্লাস",
"Glass shows the same pages with translucent panes over a soft background.": "গ্লাস একই পৃষ্ঠাগুলো নরম পটভূমির উপর স্বচ্ছাভ প্যানেলসহ দেখায়।"
"Glass shows the same pages with translucent panes over a soft background.": "গ্লাস একই পৃষ্ঠাগুলো নরম পটভূমির উপর স্বচ্ছাভ প্যানেলসহ দেখায়।",
"SETUP WIZARD": "সেটআপ উইজার্ড",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "পরের বার পেজ লোড হলে প্রথম সেটআপ আবার দেখায় – কিছুই মোছা হয় না। অন্য বক্সে সেটিংস ফিরিয়ে আনার পরে বা ডিস্ক বদলের পরে কাজে লাগে।"
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "MAC-Adressen und Seriennummern zeigen (sonst maskiert – nicht in öffentliche Issues)",
"STYLE": "STIL",
"Glass": "Glas",
"Glass shows the same pages with translucent panes over a soft background.": "„Glas“ zeigt dieselben Seiten mit durchscheinenden Flächen über einem weichen Hintergrund."
"Glass shows the same pages with translucent panes over a soft background.": "„Glas“ zeigt dieselben Seiten mit durchscheinenden Flächen über einem weichen Hintergrund.",
"SETUP WIZARD": "EINRICHTUNGSASSISTENT",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "Zeigt die Ersteinrichtung beim nächsten Seitenaufruf noch einmal – es wird nichts gelöscht. Praktisch nach dem Wiederherstellen der Einstellungen auf einer anderen Box oder nach einem Plattenwechsel."
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "Mostrar direcciones MAC y números de serie (si no, ocultos – no los pongas en incidencias públicas)",
"STYLE": "ESTILO",
"Glass": "Cristal",
"Glass shows the same pages with translucent panes over a soft background.": "Cristal muestra las mismas páginas con paneles translúcidos sobre un fondo suave."
"Glass shows the same pages with translucent panes over a soft background.": "Cristal muestra las mismas páginas con paneles translúcidos sobre un fondo suave.",
"SETUP WIZARD": "ASISTENTE DE CONFIGURACIÓN",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "Muestra de nuevo la configuración inicial en la próxima carga de la página – no se borra nada. Útil tras restaurar los ajustes en otro equipo o tras cambiar de disco."
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "Afficher les adresses MAC et numéros de série (sinon masqués – à garder hors des tickets publics)",
"STYLE": "STYLE",
"Glass": "Verre",
"Glass shows the same pages with translucent panes over a soft background.": "Verre affiche les mêmes pages avec des panneaux translucides sur un fond doux."
"Glass shows the same pages with translucent panes over a soft background.": "Verre affiche les mêmes pages avec des panneaux translucides sur un fond doux.",
"SETUP WIZARD": "ASSISTANT DE CONFIGURATION",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "Affiche à nouveau la première configuration au prochain chargement de la page – rien n’est supprimé. Utile après la restauration des paramètres sur un autre boîtier ou après un changement de disque."
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/hi.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "MAC पते और सीरियल नंबर दिखाएँ (अन्यथा छिपे हुए – इन्हें सार्वजनिक issue में न डालें)",
"STYLE": "शैली",
"Glass": "ग्लास",
"Glass shows the same pages with translucent panes over a soft background.": "ग्लास वही पेज नरम पृष्ठभूमि पर पारभासी पैनलों के साथ दिखाता है।"
"Glass shows the same pages with translucent panes over a soft background.": "ग्लास वही पेज नरम पृष्ठभूमि पर पारभासी पैनलों के साथ दिखाता है।",
"SETUP WIZARD": "सेटअप विज़ार्ड",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "अगली बार पेज लोड होने पर पहला सेटअप फिर से दिखाता है – कुछ भी हटाया नहीं जाता। किसी दूसरे बॉक्स पर सेटिंग्स बहाल करने या डिस्क बदलने के बाद उपयोगी।"
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "Mostrar endereços MAC e números de série (caso contrário ocultos – não os coloque em issues públicos)",
"STYLE": "ESTILO",
"Glass": "Vidro",
"Glass shows the same pages with translucent panes over a soft background.": "Vidro mostra as mesmas páginas com painéis translúcidos sobre um fundo suave."
"Glass shows the same pages with translucent panes over a soft background.": "Vidro mostra as mesmas páginas com painéis translúcidos sobre um fundo suave.",
"SETUP WIZARD": "ASSISTENTE DE CONFIGURAÇÃO",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "Mostra de novo a configuração inicial no próximo carregamento da página – nada é apagado. Útil depois de restaurar as definições noutra caixa ou depois de trocar de disco."
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "Показать MAC-адреса и серийные номера (иначе скрыты – не публикуйте их в открытых issue)",
"STYLE": "СТИЛЬ",
"Glass": "Стекло",
"Glass shows the same pages with translucent panes over a soft background.": "«Стекло» показывает те же страницы с полупрозрачными панелями на мягком фоне."
"Glass shows the same pages with translucent panes over a soft background.": "«Стекло» показывает те же страницы с полупрозрачными панелями на мягком фоне.",
"SETUP WIZARD": "МАСТЕР НАСТРОЙКИ",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "Снова показывает первоначальную настройку при следующей загрузке страницы – ничего не удаляется. Полезно после восстановления настроек на другом устройстве или после замены диска."
},
"patterns": [
[
Expand Down
4 changes: 3 additions & 1 deletion src/shareos-core/www/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -1795,7 +1795,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)": "显示 MAC 地址和序列号(否则已遮盖 – 请勿放入公开 issue)",
"STYLE": "风格",
"Glass": "玻璃",
"Glass shows the same pages with translucent panes over a soft background.": "“玻璃”以半透明面板和柔和背景显示相同的页面。"
"Glass shows the same pages with translucent panes over a soft background.": "“玻璃”以半透明面板和柔和背景显示相同的页面。",
"SETUP WIZARD": "设置向导",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change.": "在下次加载页面时再次显示首次设置 – 不会删除任何内容。适用于在另一台设备上恢复设置后或更换硬盘后。"
},
"patterns": [
[
Expand Down
2 changes: 2 additions & 0 deletions tools/i18n/ar.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 إظهار عناوين MAC والأرقام التسلسلية (وإلا
E1810 النمط
E1811 زجاج
E1812 يعرض نمط الزجاج الصفحات نفسها بألواح شبه شفافة فوق خلفية ناعمة.
E1813 معالج الإعداد
E1814 يعرض الإعداد الأولي مرة أخرى عند تحميل الصفحة التالي – لا يُحذف شيء. مفيد بعد استعادة الإعدادات على جهاز آخر أو بعد تغيير القرص.
2 changes: 2 additions & 0 deletions tools/i18n/bn.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 MAC ঠিকানা ও সিরিয়াল নম্বর দে
E1810 স্টাইল
E1811 গ্লাস
E1812 গ্লাস একই পৃষ্ঠাগুলো নরম পটভূমির উপর স্বচ্ছাভ প্যানেলসহ দেখায়।
E1813 সেটআপ উইজার্ড
E1814 পরের বার পেজ লোড হলে প্রথম সেটআপ আবার দেখায় – কিছুই মোছা হয় না। অন্য বক্সে সেটিংস ফিরিয়ে আনার পরে বা ডিস্ক বদলের পরে কাজে লাগে।
4 changes: 3 additions & 1 deletion tools/i18n/catalog.json
Original file line number Diff line number Diff line change
Expand Up @@ -1813,7 +1813,9 @@
"Show MAC addresses and serial numbers (otherwise masked – keep them out of public issues)",
"STYLE",
"Glass",
"Glass shows the same pages with translucent panes over a soft background."
"Glass shows the same pages with translucent panes over a soft background.",
"SETUP WIZARD",
"Shows the first-time setup again on the next page load – nothing is deleted. Useful after restoring settings on another box or after a disk change."
],
"patterns": [
[
Expand Down
2 changes: 2 additions & 0 deletions tools/i18n/de.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2240,3 +2240,5 @@ E1809 MAC-Adressen und Seriennummern zeigen (sonst maskiert – nicht in öffent
E1810 STIL
E1811 Glas
E1812 „Glas“ zeigt dieselben Seiten mit durchscheinenden Flächen über einem weichen Hintergrund.
E1813 EINRICHTUNGSASSISTENT
E1814 Zeigt die Ersteinrichtung beim nächsten Seitenaufruf noch einmal – es wird nichts gelöscht. Praktisch nach dem Wiederherstellen der Einstellungen auf einer anderen Box oder nach einem Plattenwechsel.
2 changes: 2 additions & 0 deletions tools/i18n/es.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 Mostrar direcciones MAC y números de serie (si no, ocultos – no los pon
E1810 ESTILO
E1811 Cristal
E1812 Cristal muestra las mismas páginas con paneles translúcidos sobre un fondo suave.
E1813 ASISTENTE DE CONFIGURACIÓN
E1814 Muestra de nuevo la configuración inicial en la próxima carga de la página – no se borra nada. Útil tras restaurar los ajustes en otro equipo o tras cambiar de disco.
2 changes: 2 additions & 0 deletions tools/i18n/fr.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 Afficher les adresses MAC et numéros de série (sinon masqués – à gar
E1810 STYLE
E1811 Verre
E1812 Verre affiche les mêmes pages avec des panneaux translucides sur un fond doux.
E1813 ASSISTANT DE CONFIGURATION
E1814 Affiche à nouveau la première configuration au prochain chargement de la page – rien n’est supprimé. Utile après la restauration des paramètres sur un autre boîtier ou après un changement de disque.
2 changes: 2 additions & 0 deletions tools/i18n/hi.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 MAC पते और सीरियल नंबर दिखाएँ (
E1810 शैली
E1811 ग्लास
E1812 ग्लास वही पेज नरम पृष्ठभूमि पर पारभासी पैनलों के साथ दिखाता है।
E1813 सेटअप विज़ार्ड
E1814 अगली बार पेज लोड होने पर पहला सेटअप फिर से दिखाता है – कुछ भी हटाया नहीं जाता। किसी दूसरे बॉक्स पर सेटिंग्स बहाल करने या डिस्क बदलने के बाद उपयोगी।
2 changes: 2 additions & 0 deletions tools/i18n/pt.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 Mostrar endereços MAC e números de série (caso contrário ocultos – n
E1810 ESTILO
E1811 Vidro
E1812 Vidro mostra as mesmas páginas com painéis translúcidos sobre um fundo suave.
E1813 ASSISTENTE DE CONFIGURAÇÃO
E1814 Mostra de novo a configuração inicial no próximo carregamento da página – nada é apagado. Útil depois de restaurar as definições noutra caixa ou depois de trocar de disco.
2 changes: 2 additions & 0 deletions tools/i18n/ru.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 Показать MAC-адреса и серийные номера (ина
E1810 СТИЛЬ
E1811 Стекло
E1812 «Стекло» показывает те же страницы с полупрозрачными панелями на мягком фоне.
E1813 МАСТЕР НАСТРОЙКИ
E1814 Снова показывает первоначальную настройку при следующей загрузке страницы – ничего не удаляется. Полезно после восстановления настроек на другом устройстве или после замены диска.
2 changes: 2 additions & 0 deletions tools/i18n/zh.tsv
Original file line number Diff line number Diff line change
Expand Up @@ -2256,3 +2256,5 @@ E1809 显示 MAC 地址和序列号(否则已遮盖 – 请勿放入公开 iss
E1810 风格
E1811 玻璃
E1812 “玻璃”以半透明面板和柔和背景显示相同的页面。
E1813 设置向导
E1814 在下次加载页面时再次显示首次设置 – 不会删除任何内容。适用于在另一台设备上恢复设置后或更换硬盘后。
Loading