iobroker.time-tracker 0.2.7 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -7
- package/build/lib/db/migrations.js +9 -0
- package/build/lib/db/migrations.js.map +2 -2
- package/build/lib/db/repositories/users.js +13 -7
- package/build/lib/db/repositories/users.js.map +2 -2
- package/build/lib/services/aggregation.js +2 -1
- package/build/lib/services/aggregation.js.map +2 -2
- package/build/lib/web/api.js +17 -5
- package/build/lib/web/api.js.map +2 -2
- package/io-package.json +14 -14
- package/package.json +1 -1
- package/src-pwa/src/i18n/de.json +4 -1
- package/src-pwa/src/i18n/en.json +4 -1
- package/src-pwa/src/i18n/es.json +4 -1
- package/src-pwa/src/i18n/fr.json +4 -1
- package/src-pwa/src/i18n/it.json +4 -1
- package/src-pwa/src/i18n/nl.json +4 -1
- package/src-pwa/src/i18n/pl.json +4 -1
- package/src-pwa/src/i18n/pt.json +4 -1
- package/src-pwa/src/i18n/ru.json +4 -1
- package/src-pwa/src/i18n/uk.json +4 -1
- package/src-pwa/src/i18n/zh-cn.json +4 -1
- package/www/assets/index-BW4HvYbk.js +119 -0
- package/www/assets/index-BW4HvYbk.js.map +1 -0
- package/www/index.html +1 -1
- package/www/sw.js +1 -1
- package/www/sw.js.map +1 -1
- package/www/assets/index-QI3wrEvW.js +0 -119
- package/www/assets/index-QI3wrEvW.js.map +0 -1
package/io-package.json
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "time-tracker",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.3.0",
|
|
5
5
|
"nogit": true,
|
|
6
6
|
"news": {
|
|
7
|
+
"0.3.0": {
|
|
8
|
+
"en": "new: the presence board can show the working time of today on the employee tiles — next to `Present`/`Away`, for example `1:23` (and `0:00` before the first punch). It is switched on **per employee** in the work profile (*Arbeitszeit auf der Anwesenheitskarte*), because the board is visible before the PIN is entered; without that permission the API never sends the minutes. While the employee is present the tile keeps counting",
|
|
9
|
+
"de": "neu: die Anwesenheitskarte kann die heute geleistete Arbeitszeit auf den Mitarbeiter-Kacheln zeigen — neben `Anwesend`/`Abwesend`, z. B. `1:23` (und `0:00` vor dem ersten Stempel). Eingeschaltet wird das **pro Mitarbeiter** im Arbeitsprofil (*Arbeitszeit auf der Anwesenheitskarte*), weil die Karte schon vor der PIN-Eingabe sichtbar ist; ohne diese Freigabe liefert die API die Minuten gar nicht erst. Solange der Mitarbeiter anwesend ist, zählt die Kachel weiter",
|
|
10
|
+
"ru": "новое: карточка присутствия может показывать отработанное сегодня время на плитках сотрудников — рядом с `присутствует`/`отсутствует`, например `1:23` (и `0:00` до первой отметки). Включается **для каждого сотрудника** в рабочем профиле (*Arbeitszeit auf der Anwesenheitskarte*), потому что карточка видна ещё до ввода PIN; без этого разрешения API вообще не передаёт минуты. Пока сотрудник на месте, плитка продолжает считать",
|
|
11
|
+
"pt": "novo: o cartão de presença pode mostrar o tempo trabalhado hoje nas placas dos funcionários — ao lado de `presente`/`ausente`, por exemplo `1:23` (e `0:00` antes da primeira marcação). Ativa-se **por funcionário** no perfil de trabalho (*Arbeitszeit auf der Anwesenheitskarte*), porque o cartão é visível antes de introduzir o PIN; sem essa permissão a API não envia os minutos. Enquanto o funcionário está presente, a placa continua a contar",
|
|
12
|
+
"nl": "nieuw: het aanwezigheidsbord kan de vandaag gewerkte tijd op de tegels tonen — naast `aanwezig`/`afwezig`, bijvoorbeeld `1:23` (en `0:00` vóór de eerste stempeling). Het wordt **per medewerker** in het werkprofiel aangezet (*Arbeitszeit auf der Anwesenheitskarte*), omdat het bord al vóór het invoeren van de PIN zichtbaar is; zonder die vrijgave stuurt de API de minuten niet eens. Zolang de medewerker aanwezig is, telt de tegel door",
|
|
13
|
+
"fr": "nouveau : le tableau de présence peut afficher le temps travaillé aujourd'hui sur les tuiles des employés — à côté de `présent`/`absent`, par exemple `1:23` (et `0:00` avant le premier pointage). Cela s'active **par employé** dans le profil de travail (*Arbeitszeit auf der Anwesenheitskarte*), car le tableau est visible avant la saisie du PIN ; sans cette autorisation, l'API n'envoie même pas les minutes. Tant que l'employé est présent, la tuile continue de compter",
|
|
14
|
+
"it": "novità: la bacheca delle presenze può mostrare il tempo lavorato oggi sulle schede dei dipendenti — accanto a `presente`/`assente`, per esempio `1:23` (e `0:00` prima della prima timbratura). Si attiva **per dipendente** nel profilo di lavoro (*Arbeitszeit auf der Anwesenheitskarte*), perché la bacheca è visibile prima di inserire il PIN; senza questa autorizzazione l'API non invia affatto i minuti. Finché il dipendente è presente, la scheda continua a contare",
|
|
15
|
+
"es": "nuevo: el tablero de presencia puede mostrar el tiempo trabajado hoy en las tarjetas de los empleados — junto a `presente`/`ausente`, por ejemplo `1:23` (y `0:00` antes del primer fichaje). Se activa **por empleado** en el perfil de trabajo (*Arbeitszeit auf der Anwesenheitskarte*), porque el tablero es visible antes de introducir el PIN; sin esa autorización la API no envía los minutos. Mientras el empleado está presente, la tarjeta sigue contando",
|
|
16
|
+
"pl": "nowość: tablica obecności może pokazywać czas przepracowany dzisiaj na kafelkach pracowników — obok `obecny`/`nieobecny`, np. `1:23` (i `0:00` przed pierwszym wpisem). Włącza się to **dla każdego pracownika** w profilu pracy (*Arbeitszeit auf der Anwesenheitskarte*), bo tablica jest widoczna jeszcze przed wpisaniem PIN-u; bez tej zgody API w ogóle nie przesyła minut. Dopóki pracownik jest obecny, kafelek liczy dalej",
|
|
17
|
+
"uk": "нове: табло присутності може показувати відпрацьований сьогодні час на плитках працівників — поряд з `присутній`/`відсутній`, наприклад `1:23` (і `0:00` до першої відмітки). Вмикається **для кожного працівника** у робочому профілі (*Arbeitszeit auf der Anwesenheitskarte*), бо табло видно ще до введення PIN; без цього дозволу API взагалі не надсилає хвилини. Поки працівник на місці, плитка продовжує рахувати",
|
|
18
|
+
"zh-cn": "新增:在岗看板可以在员工卡片上显示今天的工作时间 —— 与「在岗/缺勤」并列,例如 `1:23`(首次打卡前为 `0:00`)。此功能在**每位员工的**工作资料中开启(*Arbeitszeit auf der Anwesenheitskarte*),因为在岗看板在输入 PIN 之前就可见;没有该授权时 API 根本不会发送分钟数。员工在岗期间卡片会持续计时"
|
|
19
|
+
},
|
|
7
20
|
"0.2.7": {
|
|
8
21
|
"en": "fix: every punch path reaches `events.*` and the web app now. Besides the presence state (0.2.6) the `commands.punch`/`quickPunch` buttons, a `sendTo` message (`punch`, `present`) and the trigger rules wrote the punch but never published an event — the event states kept the punch before. The automation rules report the direction with their `automation.*` event now",
|
|
9
22
|
"de": "fix: jeder Stempel-Weg erreicht jetzt `events.*` und die Web-App. Außer dem Anwesenheits-State (0.2.6) schrieben die Buttons `commands.punch`/`quickPunch`, eine `sendTo`-Nachricht (`punch`, `present`) und die Trigger-Regeln die Buchung, veröffentlichten aber kein Ereignis — die Ereignis-States blieben beim vorigen Stempel stehen. Die Automatik-Regeln melden die Richtung jetzt mit ihrem `automation.*`-Ereignis",
|
|
@@ -81,19 +94,6 @@
|
|
|
81
94
|
"pl": "kontrola struktury obiektów jest spełniona: każda nazwa obiektu ma teraz wszystkie jedenaście języków (`E6001`), a polecenie z identyfikatorem pracownika używa roli `level` zamiast `value` (`E1011`). Nazwy są w jednym miejscu, a istniejące instalacje otrzymają je przy następnym starcie",
|
|
82
95
|
"uk": "перевірку структури об'єктів пройдено: кожна назва об'єкта тепер містить усі одинадцять мов (`E6001`), а команда з ідентифікатором співробітника використовує роль `level` замість `value` (`E1011`). Назви лежать в одному місці, наявні установки отримають їх під час наступного запуску",
|
|
83
96
|
"zh-cn": "对象结构检查已满足:每个对象名称现在都包含全部十一种语言(`E6001`),员工 ID 命令使用角色 `level` 而不是 `value`(`E1011`)。名称集中在一个地方,现有安装会在下次启动时获得它们"
|
|
84
|
-
},
|
|
85
|
-
"0.2.1": {
|
|
86
|
-
"en": "`common.news` starts fresh after the rename: the new npm package `iobroker.time-tracker` only carries 0.2.0, so the entries of 0.1.3 to 0.1.9 are removed again — the repository checker reported them as `E2004` (“do not exist at NPM”). The release notes of those versions stay in the changelog",
|
|
87
|
-
"de": "`common.news` beginnt nach der Umbenennung neu: das neue npm-Paket `iobroker.time-tracker` führt nur die 0.2.0, deshalb sind die Einträge 0.1.3 bis 0.1.9 wieder entfernt — der Repository-Checker meldete sie als `E2004` („do not exist at NPM“). Die Release-Notizen dieser Versionen bleiben im Changelog",
|
|
88
|
-
"ru": "`common.news` начинается заново после переименования: в новом пакете npm `iobroker.time-tracker` есть только 0.2.0, поэтому записи 0.1.3–0.1.9 снова удалены — проверка репозитория отмечала их как `E2004` («do not exist at NPM»). Заметки о выпуске этих версий остаются в changelog",
|
|
89
|
-
"pt": "`common.news` recomeça após a renomeação: o novo pacote npm `iobroker.time-tracker` só contém a 0.2.0, por isso as entradas 0.1.3 a 0.1.9 foram removidas — a verificação do repositório assinalava-as como `E2004` (“do not exist at NPM”). As notas de lançamento dessas versões ficam no changelog",
|
|
90
|
-
"nl": "`common.news` begint na de rename opnieuw: het nieuwe npm-pakket `iobroker.time-tracker` bevat alleen 0.2.0, daarom zijn de vermeldingen 0.1.3 tot 0.1.9 weer verwijderd — de repositorychecker meldde ze als `E2004` (“do not exist at NPM”). De release-opmerkingen van die versies blijven in de changelog staan",
|
|
91
|
-
"fr": "`common.news` repart à zéro après le renommage : le nouveau paquet npm `iobroker.time-tracker` ne contient que la 0.2.0, les entrées 0.1.3 à 0.1.9 sont donc à nouveau supprimées — le contrôle du dépôt les signalait comme `E2004` (« do not exist at NPM »). Les notes de version de ces versions restent dans le changelog",
|
|
92
|
-
"it": "`common.news` riparte dopo la rinomina: il nuovo pacchetto npm `iobroker.time-tracker` contiene solo la 0.2.0, quindi le voci da 0.1.3 a 0.1.9 sono state rimosse di nuovo — il controllo del repository le segnalava come `E2004` (“do not exist at NPM”). Le note di rilascio di quelle versioni restano nel changelog",
|
|
93
|
-
"es": "`common.news` empieza de nuevo tras el renombrado: el nuevo paquete npm `iobroker.time-tracker` solo contiene la 0.2.0, así que las entradas de 0.1.3 a 0.1.9 se han quitado otra vez — la comprobación del repositorio las marcaba como `E2004` (“do not exist at NPM”). Las notas de esas versiones siguen en el changelog",
|
|
94
|
-
"pl": "`common.news` zaczyna się od nowa po zmianie nazwy: nowy pakiet npm `iobroker.time-tracker` zawiera tylko 0.2.0, dlatego wpisy od 0.1.3 do 0.1.9 są ponownie usunięte — kontrola repozytorium zgłaszała je jako `E2004` (“do not exist at NPM”). Informacje o tych wersjach pozostają w changelogu",
|
|
95
|
-
"uk": "`common.news` починається заново після перейменування: у новому пакеті npm `iobroker.time-tracker` є лише 0.2.0, тому записи 0.1.3–0.1.9 знову прибрано — перевірка репозиторію позначала їх як `E2004` («do not exist at NPM»). Нотатки про ці версії залишаються в changelog",
|
|
96
|
-
"zh-cn": "重命名后 `common.news` 重新开始:新的 npm 包 `iobroker.time-tracker` 只有 0.2.0,因此 0.1.3 至 0.1.9 的条目再次移除 —— 仓库检查将这些条目标记为 `E2004`(“do not exist at NPM”)。这些版本的发布说明仍保留在更新日志中"
|
|
97
97
|
}
|
|
98
98
|
},
|
|
99
99
|
"titleLang": {
|
package/package.json
CHANGED
package/src-pwa/src/i18n/de.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Wiederholung",
|
|
356
356
|
"admin.automation.repeatDay": "einmal pro Tag",
|
|
357
357
|
"admin.automation.repeatWeek": "einmal pro Woche",
|
|
358
|
-
"admin.settings.setting.report_font_path": "PDF-Schriftdatei"
|
|
358
|
+
"admin.settings.setting.report_font_path": "PDF-Schriftdatei",
|
|
359
|
+
"presence.workedToday": "Heute gearbeitet",
|
|
360
|
+
"admin.user.workedTime": "Arbeitszeit auf der Anwesenheitskarte",
|
|
361
|
+
"admin.user.workedTimeHint": "Zeigt auf der Anwesenheitskarte die heute geleistete Arbeitszeit (z. B. 1:23). Ohne Stempel steht dort 0:00; ohne diese Freigabe bleibt die Karte bei Anwesend/Abwesend und dem Namen."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/en.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Repeat",
|
|
356
356
|
"admin.automation.repeatDay": "once a day",
|
|
357
357
|
"admin.automation.repeatWeek": "once a week",
|
|
358
|
-
"admin.settings.setting.report_font_path": "PDF font file"
|
|
358
|
+
"admin.settings.setting.report_font_path": "PDF font file",
|
|
359
|
+
"presence.workedToday": "Worked today",
|
|
360
|
+
"admin.user.workedTime": "Working time on the presence card",
|
|
361
|
+
"admin.user.workedTimeHint": "Shows the time worked today on the presence card (for example 1:23). Without a punch it reads 0:00; without this permission the card keeps present/absent and the name only."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/es.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Repetición",
|
|
356
356
|
"admin.automation.repeatDay": "una vez al día",
|
|
357
357
|
"admin.automation.repeatWeek": "una vez por semana",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Fuente para PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Fuente para PDF",
|
|
359
|
+
"presence.workedToday": "Trabajado hoy",
|
|
360
|
+
"admin.user.workedTime": "Tiempo de trabajo en la tarjeta de presencia",
|
|
361
|
+
"admin.user.workedTimeHint": "Muestra en la tarjeta de presencia el tiempo trabajado hoy (por ejemplo, 1:23). Sin fichaje pone 0:00; sin esta autorización la tarjeta se queda en presente/ausente y el nombre."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/fr.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Répétition",
|
|
356
356
|
"admin.automation.repeatDay": "une fois par jour",
|
|
357
357
|
"admin.automation.repeatWeek": "une fois par semaine",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Police pour PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Police pour PDF",
|
|
359
|
+
"presence.workedToday": "Travaillé aujourd'hui",
|
|
360
|
+
"admin.user.workedTime": "Temps de travail sur la carte de présence",
|
|
361
|
+
"admin.user.workedTimeHint": "Affiche sur la carte de présence le temps travaillé aujourd'hui (par exemple 1:23). Sans pointage, il y a 0:00 ; sans cette autorisation, la carte reste sur présent/absent et le nom."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/it.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Ripetizione",
|
|
356
356
|
"admin.automation.repeatDay": "una volta al giorno",
|
|
357
357
|
"admin.automation.repeatWeek": "una volta a settimana",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Carattere per PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Carattere per PDF",
|
|
359
|
+
"presence.workedToday": "Lavorato oggi",
|
|
360
|
+
"admin.user.workedTime": "Tempo di lavoro sulla scheda di presenza",
|
|
361
|
+
"admin.user.workedTimeHint": "Mostra sulla scheda di presenza il tempo lavorato oggi (per esempio 1:23). Senza timbratura c'è 0:00; senza questa autorizzazione la scheda resta con presente/assente e il nome."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/nl.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Herhaling",
|
|
356
356
|
"admin.automation.repeatDay": "één keer per dag",
|
|
357
357
|
"admin.automation.repeatWeek": "één keer per week",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Lettertype voor PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Lettertype voor PDF",
|
|
359
|
+
"presence.workedToday": "Vandaag gewerkt",
|
|
360
|
+
"admin.user.workedTime": "Werktijd op de aanwezigheidskaart",
|
|
361
|
+
"admin.user.workedTimeHint": "Toont op de aanwezigheidskaart de vandaag gewerkte tijd (bijvoorbeeld 1:23). Zonder stempeling staat er 0:00; zonder deze vrijgave blijft de kaart bij aanwezig/afwezig en de naam."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/pl.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Powtarzanie",
|
|
356
356
|
"admin.automation.repeatDay": "raz dziennie",
|
|
357
357
|
"admin.automation.repeatWeek": "raz w tygodniu",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Czcionka do PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Czcionka do PDF",
|
|
359
|
+
"presence.workedToday": "Przepracowane dzisiaj",
|
|
360
|
+
"admin.user.workedTime": "Czas pracy na karcie obecności",
|
|
361
|
+
"admin.user.workedTimeHint": "Pokazuje na karcie obecności czas przepracowany dzisiaj (np. 1:23). Bez rejestracji jest tam 0:00; bez tej zgody karta pozostaje przy obecny/nieobecny i nazwisku."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/pt.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Repetição",
|
|
356
356
|
"admin.automation.repeatDay": "uma vez por dia",
|
|
357
357
|
"admin.automation.repeatWeek": "uma vez por semana",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Fonte para PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Fonte para PDF",
|
|
359
|
+
"presence.workedToday": "Trabalhado hoje",
|
|
360
|
+
"admin.user.workedTime": "Tempo de trabalho no cartão de presença",
|
|
361
|
+
"admin.user.workedTimeHint": "Mostra no cartão de presença o tempo trabalhado hoje (por exemplo, 1:23). Sem marcação lê-se 0:00; sem esta permissão o cartão mantém presente/ausente e o nome."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/ru.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Повтор",
|
|
356
356
|
"admin.automation.repeatDay": "раз в день",
|
|
357
357
|
"admin.automation.repeatWeek": "раз в неделю",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Шрифт для PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Шрифт для PDF",
|
|
359
|
+
"presence.workedToday": "Отработано сегодня",
|
|
360
|
+
"admin.user.workedTime": "Рабочее время на карточке присутствия",
|
|
361
|
+
"admin.user.workedTimeHint": "Показывает на карточке присутствия отработанное сегодня время (например, 1:23). Без отметки там 0:00; без разрешения карточка остаётся с присутствует/отсутствует и именем."
|
|
359
362
|
}
|
package/src-pwa/src/i18n/uk.json
CHANGED
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "Повторення",
|
|
356
356
|
"admin.automation.repeatDay": "раз на день",
|
|
357
357
|
"admin.automation.repeatWeek": "раз на тиждень",
|
|
358
|
-
"admin.settings.setting.report_font_path": "Шрифт для PDF"
|
|
358
|
+
"admin.settings.setting.report_font_path": "Шрифт для PDF",
|
|
359
|
+
"presence.workedToday": "Відпрацьовано сьогодні",
|
|
360
|
+
"admin.user.workedTime": "Робочий час на картці присутності",
|
|
361
|
+
"admin.user.workedTimeHint": "Показує на картці присутності відпрацьований сьогодні час (наприклад, 1:23). Без відмітки там 0:00; без цього дозволу картка залишається з присутній/відсутній і іменем."
|
|
359
362
|
}
|
|
@@ -355,5 +355,8 @@
|
|
|
355
355
|
"admin.automation.repeat": "重复",
|
|
356
356
|
"admin.automation.repeatDay": "每天一次",
|
|
357
357
|
"admin.automation.repeatWeek": "每周一次",
|
|
358
|
-
"admin.settings.setting.report_font_path": "PDF 字体"
|
|
358
|
+
"admin.settings.setting.report_font_path": "PDF 字体",
|
|
359
|
+
"presence.workedToday": "今日已工作",
|
|
360
|
+
"admin.user.workedTime": "在岗卡片上的工作时间",
|
|
361
|
+
"admin.user.workedTimeHint": "在在岗卡片上显示今天的工作时间(例如 1:23)。未打卡时显示 0:00;未授权时卡片只显示在岗/缺勤和姓名。"
|
|
359
362
|
}
|