iobroker.time-tracker 0.2.4 → 0.2.5
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 +13 -12
- package/io-package.json +14 -1
- package/package.json +1 -1
- package/www/sw.js.map +1 -1
package/README.md
CHANGED
|
@@ -36,10 +36,12 @@ PIN. All data stays on your own ioBroker host: no cloud, no subscription.
|
|
|
36
36
|
|
|
37
37
|
## Installation
|
|
38
38
|
|
|
39
|
-
1. In the ioBroker admin:
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
1. In the ioBroker admin: *Adapters* → **“Install from custom URL”** → `iobroker.time-tracker`, or
|
|
40
|
+
`iobroker install iobroker.time-tracker` on the command line. **The instance `time-tracker.0` is created
|
|
41
|
+
automatically** — `iobroker add time-tracker` is only needed if you want the instance on its own.
|
|
42
|
+
An installation from Git or from a checkout does not work on its own: `build/` and `www/` are built and not
|
|
43
|
+
part of the repository. Either use the npm package, or build once in the adapter directory
|
|
44
|
+
(`npm ci && npm run install:pwa && npm run build:pwa && npm run build`, then `iobroker install .`).
|
|
43
45
|
2. Start the instance and open the web app on the port of the instance settings (default **8092**):
|
|
44
46
|
`http://<ioBroker host>:8092/`
|
|
45
47
|
3. Log in with the start password (see [First start](#first-start)) and create your employees.
|
|
@@ -346,6 +348,13 @@ local SQLite file, access is role-based, and every correction is written to an a
|
|
|
346
348
|
|
|
347
349
|
### **WORK IN PROGRESS**
|
|
348
350
|
|
|
351
|
+
### 0.2.5 (2026-09-21)
|
|
352
|
+
|
|
353
|
+
- (Alex) docs: the installation chapter leads with the normal way now — install the npm package (`iobroker install
|
|
354
|
+
iobroker.time-tracker` or the admin’s “Install from custom URL”), which creates the instance `time-tracker.0`
|
|
355
|
+
automatically. Building from a checkout is only the developer path, and the chapter explains why a Git install
|
|
356
|
+
reports `cannot find start file!` (`build/` and `www/` are not part of the repository)
|
|
357
|
+
|
|
349
358
|
### 0.2.4 (2026-09-21)
|
|
350
359
|
|
|
351
360
|
- (Alex) `commands.punchUserId` does what it promises now: writing an employee id selects the employee the punch
|
|
@@ -375,14 +384,6 @@ local SQLite file, access is role-based, and every correction is written to an a
|
|
|
375
384
|
at NPM”). The old release notes stay in this changelog; the history of the versions published under the former
|
|
376
385
|
package name is noted in `CHANGELOG_OLD.md`
|
|
377
386
|
|
|
378
|
-
### 0.2.0 (2026-09-20)
|
|
379
|
-
|
|
380
|
-
- (Alex) **renamed to `ioBroker.time-tracker`**: ioBroker requires English adapter names, so the adapter, its npm
|
|
381
|
-
package and the GitHub repository are called `time-tracker` from now on. The instance id becomes `time-tracker.0`
|
|
382
|
-
and the database is created as `time-tracker.sqlite` — existing installations keep their data by pointing
|
|
383
|
-
“Database file” at the old file or by renaming it (before 0.2.0 it was `zeiterfassung.sqlite`). German UI texts
|
|
384
|
-
stay German; `common.titleLang` keeps all 11 languages
|
|
385
|
-
|
|
386
387
|
Older entries are kept in [`CHANGELOG_OLD.md`](CHANGELOG_OLD.md).
|
|
387
388
|
|
|
388
389
|
## Provenance
|
package/io-package.json
CHANGED
|
@@ -1,9 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"common": {
|
|
3
3
|
"name": "time-tracker",
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.5",
|
|
5
5
|
"nogit": true,
|
|
6
6
|
"news": {
|
|
7
|
+
"0.2.5": {
|
|
8
|
+
"en": "docs: the installation chapter leads with the normal way now — install the npm package (`iobroker install iobroker.time-tracker` or the admin’s “Install from custom URL”), which creates the instance `time-tracker.0` automatically. Building from a checkout is the developer path, and the chapter explains why a Git installation reports `cannot find start file!`",
|
|
9
|
+
"de": "Doku: das Installationskapitel führt jetzt mit dem normalen Weg — das npm-Paket installieren (`iobroker install iobroker.time-tracker` oder „Installieren aus eigener URL“ im Admin), wobei die Instanz `time-tracker.0` automatisch entsteht. Bauen aus dem Quellcode ist nur noch der Entwicklerweg, und das Kapitel erklärt, warum eine Git-Installation `cannot find start file!` meldet",
|
|
10
|
+
"ru": "документация: глава об установке теперь начинается с обычного пути — установить пакет npm (`iobroker install iobroker.time-tracker` или «Установить по своему URL» в админе), при этом экземпляр `time-tracker.0` создаётся автоматически. Сборка из исходников — теперь только путь разработчика, и глава объясняет, почему установка из Git сообщает `cannot find start file!`",
|
|
11
|
+
"pt": "documentação: o capítulo de instalação começa agora pelo caminho normal — instalar o pacote npm (`iobroker install iobroker.time-tracker` ou “Instalar a partir de URL própria” no admin), e a instância `time-tracker.0` é criada automaticamente. Compilar a partir do código é apenas o caminho do programador, e o capítulo explica porque uma instalação via Git indica `cannot find start file!`",
|
|
12
|
+
"nl": "documentatie: het installatiehoofdstuk begint nu met de normale weg — het npm-pakket installeren (`iobroker install iobroker.time-tracker` of “Installeren vanaf eigen URL” in de admin), waarbij de instantie `time-tracker.0` automatisch ontstaat. Bouwen uit de broncode is nu alleen het ontwikkelaarspad, en het hoofdstuk legt uit waarom een Git-installatie `cannot find start file!` meldt",
|
|
13
|
+
"fr": "documentation : le chapitre d'installation commence désormais par la voie normale — installer le paquet npm (`iobroker install iobroker.time-tracker` ou « Installer depuis une URL personnalisée » dans l'admin), l'instance `time-tracker.0` étant créée automatiquement. Compiler depuis les sources n'est plus que le chemin du développeur, et le chapitre explique pourquoi une installation via Git signale `cannot find start file!`",
|
|
14
|
+
"it": "documentazione: il capitolo sull'installazione parte ora dal percorso normale — installare il pacchetto npm (`iobroker install iobroker.time-tracker` o “Installa da URL personale” nell'admin), e l'istanza `time-tracker.0` viene creata automaticamente. Compilare dai sorgenti è ora solo il percorso dello sviluppatore, e il capitolo spiega perché un'installazione da Git segnala `cannot find start file!`",
|
|
15
|
+
"es": "documentación: el capítulo de instalación empieza ahora por el camino normal — instalar el paquete npm (`iobroker install iobroker.time-tracker` o “Instalar desde URL propia” en el admin), y la instancia `time-tracker.0` se crea automáticamente. Compilar desde el código es solo la ruta del desarrollador, y el capítulo explica por qué una instalación desde Git informa `cannot find start file!`",
|
|
16
|
+
"pl": "dokumentacja: rozdział o instalacji zaczyna się teraz od zwykłej drogi — instalacji pakietu npm (`iobroker install iobroker.time-tracker` lub „Zainstaluj z własnego adresu URL” w adminie), przy czym instancja `time-tracker.0` powstaje automatycznie. Budowanie ze źródeł to teraz tylko ścieżka dewelopera, a rozdział wyjaśnia, dlaczego instalacja z Git zgłasza `cannot find start file!`",
|
|
17
|
+
"uk": "документація: розділ про встановлення тепер починається зі звичайного шляху — встановити пакет npm (`iobroker install iobroker.time-tracker` або «Встановити з власного URL» в адміні), при цьому екземпляр `time-tracker.0` створюється автоматично. Збірка з коду — тепер лише шлях розробника, і розділ пояснює, чому встановлення з Git повідомляє `cannot find start file!`",
|
|
18
|
+
"zh-cn": "文档:安装章节现在先介绍常规方式 —— 安装 npm 包(`iobroker install iobroker.time-tracker` 或管理界面中的“从自定义 URL 安装”),实例 `time-tracker.0` 会自动创建。从源码构建现在只是开发者路径,章节也说明了为什么从 Git 安装会提示 `cannot find start file!`"
|
|
19
|
+
},
|
|
7
20
|
"0.2.4": {
|
|
8
21
|
"en": "`commands.punchUserId` selects the employee the punch buttons apply to now (writing `0` gives the choice back to the adapter) and the current choice is mirrored into that state. The README and `docs/erste-schritte.md` describe all six command states, with examples and the two traps: the buttons act on `true` only, and a wrong period or an unknown employee is answered with a warning in the log",
|
|
9
22
|
"de": "`commands.punchUserId` wählt jetzt den Mitarbeiter, für den die Stempel-Buttons gelten (mit `0` übernimmt der Adapter die Wahl wieder selbst), und die aktuelle Wahl wird in diesen State zurückgespiegelt. README und `docs/erste-schritte.md` beschreiben alle sechs Befehls-States — mit Beispielen und den beiden Stolpersteinen: die Buttons reagieren nur auf `true`, und ein falscher Zeitraum oder unbekannter Mitarbeiter wird als Warnung im Log beantwortet",
|
package/package.json
CHANGED
package/www/sw.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sw.js","sources":["../../../../../../tmp/
|
|
1
|
+
{"version":3,"file":"sw.js","sources":["../../../../../../tmp/6e960c5517617999dd472fddc56c8948/sw.js"],"sourcesContent":["import {clientsClaim as workbox_core_clientsClaim} from '/home/runner/work/ioBroker.time-tracker/ioBroker.time-tracker/src-pwa/node_modules/workbox-core/clientsClaim.mjs';\nimport {precacheAndRoute as workbox_precaching_precacheAndRoute} from '/home/runner/work/ioBroker.time-tracker/ioBroker.time-tracker/src-pwa/node_modules/workbox-precaching/precacheAndRoute.mjs';\nimport {cleanupOutdatedCaches as workbox_precaching_cleanupOutdatedCaches} from '/home/runner/work/ioBroker.time-tracker/ioBroker.time-tracker/src-pwa/node_modules/workbox-precaching/cleanupOutdatedCaches.mjs';\nimport {registerRoute as workbox_routing_registerRoute} from '/home/runner/work/ioBroker.time-tracker/ioBroker.time-tracker/src-pwa/node_modules/workbox-routing/registerRoute.mjs';\nimport {NavigationRoute as workbox_routing_NavigationRoute} from '/home/runner/work/ioBroker.time-tracker/ioBroker.time-tracker/src-pwa/node_modules/workbox-routing/NavigationRoute.mjs';\nimport {createHandlerBoundToURL as workbox_precaching_createHandlerBoundToURL} from '/home/runner/work/ioBroker.time-tracker/ioBroker.time-tracker/src-pwa/node_modules/workbox-precaching/createHandlerBoundToURL.mjs';/**\n * Welcome to your Workbox-powered service worker!\n *\n * You'll need to register this file in your web app.\n * See https://goo.gl/nhQhGp\n *\n * The rest of the code is auto-generated. Please don't update this file\n * directly; instead, make changes to your Workbox build configuration\n * and re-run your build process.\n * See https://goo.gl/2aRDsh\n */\n\n\n\n\nself.skipWaiting();\nworkbox_core_clientsClaim();\n/**\n * The precacheAndRoute() method efficiently caches and responds to\n * requests for URLs in the manifest.\n * See https://goo.gl/S9QRab\n */\nworkbox_precaching_precacheAndRoute([\n {\n \"url\": \"person.png\",\n \"revision\": \"771d3283ece4739e203e02aac535855e\"\n },\n {\n \"url\": \"index.html\",\n \"revision\": \"45c88f7faf80a0e4c5539908dc6b94f2\"\n },\n {\n \"url\": \"icon-512.png\",\n \"revision\": \"d8e3715779f4cd7e67e1f82f215a2f22\"\n },\n {\n \"url\": \"icon-192.png\",\n \"revision\": \"940ef37caef09c52272ddab844b9ea9b\"\n },\n {\n \"url\": \"favicon.svg\",\n \"revision\": \"309e9efece69d60920618512ab9d57bf\"\n },\n {\n \"url\": \"assets/workbox-window.prod.es5-Bd17z0YL.js\",\n \"revision\": null\n },\n {\n \"url\": \"assets/index-QI3wrEvW.js\",\n \"revision\": null\n },\n {\n \"url\": \"icon-192.png\",\n \"revision\": \"940ef37caef09c52272ddab844b9ea9b\"\n },\n {\n \"url\": \"icon-512.png\",\n \"revision\": \"d8e3715779f4cd7e67e1f82f215a2f22\"\n },\n {\n \"url\": \"manifest.webmanifest\",\n \"revision\": \"6f40f1ce0ce138d5af307fb0dbb1e6f9\"\n }\n], {});\nworkbox_precaching_cleanupOutdatedCaches();workbox_routing_registerRoute(new workbox_routing_NavigationRoute(workbox_precaching_createHandlerBoundToURL(\"index.html\"), {\n allowlist: [/^\\/$/], denylist: [/^\\/api\\//],}));\n\n\n"],"names":["self","skipWaiting","workbox_core_clientsClaim","workbox_precaching_precacheAndRoute","url","revision","workbox_precaching_cleanupOutdatedCaches","workbox_routing_registerRoute","workbox_routing_NavigationRoute","workbox_precaching_createHandlerBoundToURL","allowlist","denylist"],"mappings":"inBAoBAA,KAAKC,cACLC,EAAAA,eAMAC,EAAAA,iBAAoC,CAClC,CACEC,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,aACPC,SAAY,oCAEd,CACED,IAAO,eACPC,SAAY,oCAEd,CACED,IAAO,eACPC,SAAY,oCAEd,CACED,IAAO,cACPC,SAAY,oCAEd,CACED,IAAO,6CACPC,SAAY,MAEd,CACED,IAAO,2BACPC,SAAY,MAEd,CACED,IAAO,eACPC,SAAY,oCAEd,CACED,IAAO,eACPC,SAAY,oCAEd,CACED,IAAO,uBACPC,SAAY,qCAEb,CAAA,GACHC,EAAAA,wBAA2CC,EAAAA,cAA8B,IAAIC,EAAAA,gBAAgCC,0BAA2C,cAAe,CACrKC,UAAW,CAAC,QAAUC,SAAU,CAAC"}
|