iobroker.webuntis2 0.0.1
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/LICENSE +21 -0
- package/README.de.md +79 -0
- package/README.md +74 -0
- package/admin/build/index.css +2 -0
- package/admin/build/index.css.map +7 -0
- package/admin/build/index.js +171 -0
- package/admin/build/index.js.map +7 -0
- package/admin/index.html +24 -0
- package/admin/index_m.html +24 -0
- package/admin/style.css +32 -0
- package/admin/webuntis2.png +0 -0
- package/build/lib/LegacyNamespaceCleanup.js +33 -0
- package/build/lib/LegacyNamespaceCleanup.js.map +7 -0
- package/build/lib/webuntis/CurrentNextLesson.js +98 -0
- package/build/lib/webuntis/CurrentNextLesson.js.map +7 -0
- package/build/lib/webuntis/Holidays.js +138 -0
- package/build/lib/webuntis/Holidays.js.map +7 -0
- package/build/lib/webuntis/SchoolDiscovery.js +145 -0
- package/build/lib/webuntis/SchoolDiscovery.js.map +7 -0
- package/build/lib/webuntis/Timetable.js +210 -0
- package/build/lib/webuntis/Timetable.js.map +7 -0
- package/build/lib/webuntis/WebUntisClient.js +593 -0
- package/build/lib/webuntis/WebUntisClient.js.map +7 -0
- package/build/lib/webuntis/WebUntisErrors.js +53 -0
- package/build/lib/webuntis/WebUntisErrors.js.map +7 -0
- package/build/lib/webuntis/WebUntisService.js +252 -0
- package/build/lib/webuntis/WebUntisService.js.map +7 -0
- package/build/lib/webuntis/WebUntisTypes.js +17 -0
- package/build/lib/webuntis/WebUntisTypes.js.map +7 -0
- package/build/main.js +514 -0
- package/build/main.js.map +7 -0
- package/io-package.json +151 -0
- package/package.json +111 -0
package/io-package.json
ADDED
|
@@ -0,0 +1,151 @@
|
|
|
1
|
+
{
|
|
2
|
+
"common": {
|
|
3
|
+
"name": "webuntis2",
|
|
4
|
+
"version": "0.0.1",
|
|
5
|
+
"news": {
|
|
6
|
+
"0.0.1": {
|
|
7
|
+
"en": "initial release",
|
|
8
|
+
"de": "Erstveröffentlichung",
|
|
9
|
+
"ru": "Начальная версия",
|
|
10
|
+
"pt": "lançamento inicial",
|
|
11
|
+
"nl": "Eerste uitgave",
|
|
12
|
+
"fr": "Première version",
|
|
13
|
+
"it": "Versione iniziale",
|
|
14
|
+
"es": "Versión inicial",
|
|
15
|
+
"pl": "Pierwsze wydanie",
|
|
16
|
+
"uk": "Початкова версія",
|
|
17
|
+
"zh-cn": "首次出版"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"titleLang": {
|
|
21
|
+
"en": "WebUntis2",
|
|
22
|
+
"de": "WebUntis2",
|
|
23
|
+
"ru": "ВебУнтис2",
|
|
24
|
+
"pt": "WebUntis2",
|
|
25
|
+
"nl": "WebUntis2",
|
|
26
|
+
"fr": "WebUntis2",
|
|
27
|
+
"it": "WebUntis2",
|
|
28
|
+
"es": "WebUntis2",
|
|
29
|
+
"pl": "WebUntis2",
|
|
30
|
+
"uk": "WebUntis2",
|
|
31
|
+
"zh-cn": "WebUntis2"
|
|
32
|
+
},
|
|
33
|
+
"desc": {
|
|
34
|
+
"en": "Connect ioBroker to WebUntis for timetables, school information and related data",
|
|
35
|
+
"de": "Verbinden Sie ioBroker mit WebUntis für Stundenpläne, Schulinformationen und zugehörige Daten",
|
|
36
|
+
"ru": "Подключите ioBroker к WebUntis для получения расписаний, школьной информации и сопутствующих данных.",
|
|
37
|
+
"pt": "Conecte o ioBroker ao WebUntis para obter horários, informações escolares e dados relacionados",
|
|
38
|
+
"nl": "Koppel ioBroker aan WebUntis voor lesroosters, schoolinformatie en gerelateerde gegevens",
|
|
39
|
+
"fr": "Connectez ioBroker à WebUntis pour les horaires, les informations scolaires et les données associées",
|
|
40
|
+
"it": "Collega ioBroker a WebUntis per orari, informazioni sulla scuola e dati correlati",
|
|
41
|
+
"es": "Conecte ioBroker a WebUntis para obtener horarios, información escolar y datos relacionados",
|
|
42
|
+
"pl": "Połącz ioBroker z WebUntis, aby uzyskać rozkłady jazdy, informacje o szkołach i powiązane dane",
|
|
43
|
+
"uk": "Підключіть ioBroker до WebUntis для отримання розкладів, шкільної інформації та пов’язаних даних",
|
|
44
|
+
"zh-cn": "将 ioBroker 连接到 WebUntis 以获取时间表、学校信息和相关数据"
|
|
45
|
+
},
|
|
46
|
+
"authors": ["Voodoo2man <Voodoo2man@outlook.de>"],
|
|
47
|
+
"keywords": ["webuntis", "untis", "timetable", "school", "education", "schedule"],
|
|
48
|
+
"licenseInformation": {
|
|
49
|
+
"type": "free",
|
|
50
|
+
"license": "MIT"
|
|
51
|
+
},
|
|
52
|
+
"platform": "Javascript/Node.js",
|
|
53
|
+
"icon": "webuntis2.png",
|
|
54
|
+
"enabled": true,
|
|
55
|
+
"extIcon": "https://raw.githubusercontent.com/Voodoo2man/ioBroker.webuntis2/main/admin/webuntis2.png",
|
|
56
|
+
"readme": "https://github.com/Voodoo2man/ioBroker.webuntis2/blob/main/README.md",
|
|
57
|
+
"loglevel": "info",
|
|
58
|
+
"tier": 3,
|
|
59
|
+
"mode": "daemon",
|
|
60
|
+
"type": "date-and-time",
|
|
61
|
+
"compact": true,
|
|
62
|
+
"messagebox": true,
|
|
63
|
+
"connectionType": "cloud",
|
|
64
|
+
"dataSource": "poll",
|
|
65
|
+
"adminUI": {
|
|
66
|
+
"config": "html"
|
|
67
|
+
},
|
|
68
|
+
"eraseOnUpload": true,
|
|
69
|
+
"dependencies": [
|
|
70
|
+
{
|
|
71
|
+
"js-controller": ">=6.0.11"
|
|
72
|
+
}
|
|
73
|
+
],
|
|
74
|
+
"globalDependencies": [
|
|
75
|
+
{
|
|
76
|
+
"admin": ">=7.0.23"
|
|
77
|
+
}
|
|
78
|
+
]
|
|
79
|
+
},
|
|
80
|
+
"native": {
|
|
81
|
+
"server": "",
|
|
82
|
+
"schoolName": "",
|
|
83
|
+
"schoolDisplayName": "",
|
|
84
|
+
"schoolAddress": "",
|
|
85
|
+
"schoolId": null,
|
|
86
|
+
"username": "",
|
|
87
|
+
"password": ""
|
|
88
|
+
},
|
|
89
|
+
"encryptedNative": ["password"],
|
|
90
|
+
"protectedNative": ["password"],
|
|
91
|
+
"objects": [],
|
|
92
|
+
"instanceObjects": [
|
|
93
|
+
{
|
|
94
|
+
"_id": "info",
|
|
95
|
+
"type": "channel",
|
|
96
|
+
"common": {
|
|
97
|
+
"name": "Information"
|
|
98
|
+
},
|
|
99
|
+
"native": {}
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"_id": "info.connection",
|
|
103
|
+
"type": "state",
|
|
104
|
+
"common": {
|
|
105
|
+
"role": "indicator.connected",
|
|
106
|
+
"name": "Device or service connected",
|
|
107
|
+
"type": "boolean",
|
|
108
|
+
"read": true,
|
|
109
|
+
"write": false,
|
|
110
|
+
"def": false
|
|
111
|
+
},
|
|
112
|
+
"native": {}
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"_id": "info.lastUpdate",
|
|
116
|
+
"type": "state",
|
|
117
|
+
"common": {
|
|
118
|
+
"name": "Last timetable update attempt",
|
|
119
|
+
"type": "string",
|
|
120
|
+
"role": "date",
|
|
121
|
+
"read": true,
|
|
122
|
+
"write": false
|
|
123
|
+
},
|
|
124
|
+
"native": {}
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"_id": "info.lastSuccessfulUpdate",
|
|
128
|
+
"type": "state",
|
|
129
|
+
"common": {
|
|
130
|
+
"name": "Last successful timetable update",
|
|
131
|
+
"type": "string",
|
|
132
|
+
"role": "date",
|
|
133
|
+
"read": true,
|
|
134
|
+
"write": false
|
|
135
|
+
},
|
|
136
|
+
"native": {}
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"_id": "info.nextUpdate",
|
|
140
|
+
"type": "state",
|
|
141
|
+
"common": {
|
|
142
|
+
"name": "Next timetable update",
|
|
143
|
+
"type": "string",
|
|
144
|
+
"role": "date",
|
|
145
|
+
"read": true,
|
|
146
|
+
"write": false
|
|
147
|
+
},
|
|
148
|
+
"native": {}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "iobroker.webuntis2",
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Connect ioBroker to WebUntis for timetables, school information and related data",
|
|
5
|
+
"author": {
|
|
6
|
+
"name": "Voodoo2man",
|
|
7
|
+
"email": "Voodoo2man@outlook.de"
|
|
8
|
+
},
|
|
9
|
+
"contributors": [],
|
|
10
|
+
"homepage": "https://github.com/Voodoo2man/ioBroker.webuntis2",
|
|
11
|
+
"license": "MIT",
|
|
12
|
+
"keywords": [
|
|
13
|
+
"webuntis",
|
|
14
|
+
"untis",
|
|
15
|
+
"timetable",
|
|
16
|
+
"school",
|
|
17
|
+
"education",
|
|
18
|
+
"schedule"
|
|
19
|
+
],
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git@github.com:Voodoo2man/ioBroker.webuntis2.git"
|
|
23
|
+
},
|
|
24
|
+
"engines": {
|
|
25
|
+
"node": ">= 20"
|
|
26
|
+
},
|
|
27
|
+
"dependencies": {
|
|
28
|
+
"@iobroker/adapter-core": "^3.4.3"
|
|
29
|
+
},
|
|
30
|
+
"devDependencies": {
|
|
31
|
+
"@alcalzone/release-script": "^5.2.1",
|
|
32
|
+
"@alcalzone/release-script-plugin-iobroker": "^5.2.0",
|
|
33
|
+
"@alcalzone/release-script-plugin-license": "^5.2.2",
|
|
34
|
+
"@alcalzone/release-script-plugin-manual-review": "^5.2.0",
|
|
35
|
+
"@iobroker/adapter-dev": "^1.5.0",
|
|
36
|
+
"@iobroker/adapter-react": "2.0.22",
|
|
37
|
+
"@iobroker/dev-server": "^0.8.0",
|
|
38
|
+
"@iobroker/eslint-config": "^2.3.4",
|
|
39
|
+
"@iobroker/testing": "^6.1.0",
|
|
40
|
+
"@material-ui/core": "^4.12.4",
|
|
41
|
+
"@tsconfig/node20": "^20.1.10",
|
|
42
|
+
"@types/iobroker": "npm:@iobroker/types@^7.2.2",
|
|
43
|
+
"@types/mocha": "^10.0.10",
|
|
44
|
+
"@types/node": "^20.19.43",
|
|
45
|
+
"@types/react": "^17.0.93",
|
|
46
|
+
"@types/react-dom": "^17.0.26",
|
|
47
|
+
"nyc": "^18.0.0",
|
|
48
|
+
"react": "^17.0.2",
|
|
49
|
+
"react-dom": "^17.0.2",
|
|
50
|
+
"rimraf": "^6.1.3",
|
|
51
|
+
"source-map-support": "^0.5.21",
|
|
52
|
+
"ts-node": "^10.9.2",
|
|
53
|
+
"typescript": "~5.9.3"
|
|
54
|
+
},
|
|
55
|
+
"main": "build/main.js",
|
|
56
|
+
"files": [
|
|
57
|
+
"admin{,/!(src)/**}/!(tsconfig|tsconfig.*|.eslintrc).{json,json5}",
|
|
58
|
+
"admin{,/!(src)/**}/*.{html,css,png,svg,jpg,js}",
|
|
59
|
+
"admin/build/",
|
|
60
|
+
"build/",
|
|
61
|
+
"www/",
|
|
62
|
+
"io-package.json",
|
|
63
|
+
"LICENSE"
|
|
64
|
+
],
|
|
65
|
+
"scripts": {
|
|
66
|
+
"prebuild": "rimraf build admin/build",
|
|
67
|
+
"build": "build-adapter all",
|
|
68
|
+
"watch": "build-adapter all --watch",
|
|
69
|
+
"prebuild:ts": "rimraf build",
|
|
70
|
+
"build:ts": "build-adapter ts",
|
|
71
|
+
"watch:ts": "build-adapter ts --watch",
|
|
72
|
+
"prebuild:react": "rimraf admin/build",
|
|
73
|
+
"build:react": "build-adapter react",
|
|
74
|
+
"watch:react": "build-adapter react --watch",
|
|
75
|
+
"test:ts": "mocha --config test/mocharc.custom.json \"src/**/*.test.ts\"",
|
|
76
|
+
"test:package": "mocha test/package --exit",
|
|
77
|
+
"test:integration": "mocha test/integration --exit",
|
|
78
|
+
"test": "npm run test:ts && npm run test:package",
|
|
79
|
+
"check": "tsc --noEmit && tsc --noEmit -p admin/tsconfig.json",
|
|
80
|
+
"coverage": "nyc npm run test:ts",
|
|
81
|
+
"lint": "eslint -c eslint.config.mjs .",
|
|
82
|
+
"translate": "translate-adapter",
|
|
83
|
+
"release": "release-script",
|
|
84
|
+
"dev-server": "dev-server",
|
|
85
|
+
"testhost": "./scripts/install-testhost.sh"
|
|
86
|
+
},
|
|
87
|
+
"nyc": {
|
|
88
|
+
"include": [
|
|
89
|
+
"src/**/*.ts"
|
|
90
|
+
],
|
|
91
|
+
"exclude": [
|
|
92
|
+
"src/**/*.test.ts"
|
|
93
|
+
],
|
|
94
|
+
"extension": [
|
|
95
|
+
".ts"
|
|
96
|
+
],
|
|
97
|
+
"require": [
|
|
98
|
+
"ts-node/register"
|
|
99
|
+
],
|
|
100
|
+
"reporter": [
|
|
101
|
+
"text-summary",
|
|
102
|
+
"html"
|
|
103
|
+
],
|
|
104
|
+
"sourceMap": true,
|
|
105
|
+
"instrument": true
|
|
106
|
+
},
|
|
107
|
+
"bugs": {
|
|
108
|
+
"url": "https://github.com/Voodoo2man/ioBroker.webuntis2/issues"
|
|
109
|
+
},
|
|
110
|
+
"readmeFilename": "README.md"
|
|
111
|
+
}
|