iobroker.imap 0.0.4

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.
@@ -0,0 +1,40 @@
1
+ <html>
2
+ <head>
3
+ <!-- Load ioBroker scripts and styles-->
4
+ <link rel="stylesheet" type="text/css" href="../../css/adapter.css" />
5
+ <link rel="stylesheet" type="text/css" href="../../lib/css/materialize.css" />
6
+
7
+ <script type="text/javascript" src="../../lib/js/jquery-3.2.1.min.js"></script>
8
+ <script type="text/javascript" src="../../socket.io/socket.io.js"></script>
9
+
10
+ <script type="text/javascript" src="../../js/translate.js"></script>
11
+ <script type="text/javascript" src="../../lib/js/materialize.js"></script>
12
+ <script type="text/javascript" src="../../js/adapter-settings.js"></script>
13
+
14
+ <script type="text/javascript">
15
+ // This will be called by the admin adapter when the settings page loads
16
+ function load(settings, onChange) {}
17
+ // This will be called by the admin adapter when the user presses the save button
18
+ function save(callback) {}
19
+ </script>
20
+ </head>
21
+ <body>
22
+ <div class="m adapter-container">
23
+ <div class="col s12 page">
24
+ <div class="row">
25
+ <div class="col s6">
26
+ <img src="imap.png" class="logo" />
27
+ </div>
28
+ </div>
29
+ <div class="row">
30
+ <div class="col s12">
31
+ <p style="font-weight: bold; font-size: 1.2em; color: red">
32
+ This adapter version has no support for "Admin 4 UI" configuration. Please switch to "Admin
33
+ 5" UI
34
+ </p>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ </div>
39
+ </body>
40
+ </html>
@@ -0,0 +1,283 @@
1
+ {
2
+ "i18n": true,
3
+ "type": "tabs",
4
+ "items": {
5
+ "tab1": {
6
+ "type": "panel",
7
+ "label": "Tab Hosts",
8
+ "items": {
9
+ "_headerAdapter": {
10
+ "type": "header",
11
+ "text": "imap adapter settings",
12
+ "size": 2
13
+ },
14
+ "hosts": {
15
+ "newLine": true,
16
+ "sm": 12,
17
+ "noDelete": false,
18
+ "type": "table",
19
+ "items": [
20
+ {
21
+ "type": "checkbox",
22
+ "attr": "activ",
23
+ "width": 60,
24
+ "title": "activ",
25
+ "tooltip": "ACTIV",
26
+ "filter": true,
27
+ "sort": true,
28
+ "default": false,
29
+ "style": {
30
+ "textAlign": "center",
31
+ "width": 60
32
+ }
33
+ },
34
+ {
35
+ "type": "text",
36
+ "attr": "host",
37
+ "width": 200,
38
+ "title": "host",
39
+ "tooltip": "HOST",
40
+ "filter": false,
41
+ "sort": false,
42
+ "default": "",
43
+ "style": {
44
+ "width": 200
45
+ }
46
+ },
47
+ {
48
+ "type": "text",
49
+ "attr": "inbox",
50
+ "width": 100,
51
+ "title": "inbox",
52
+ "tooltip": "INBOX",
53
+ "filter": false,
54
+ "sort": false,
55
+ "default": "INBOX",
56
+ "style": {
57
+ "width": 100
58
+ }
59
+ },
60
+ {
61
+ "type": "number",
62
+ "attr": "port",
63
+ "width": 60,
64
+ "title": "port",
65
+ "tooltip": "PORT",
66
+ "filter": false,
67
+ "sort": false,
68
+ "default": 993,
69
+ "style": {
70
+ "width": 60
71
+ }
72
+ },
73
+ {
74
+ "type": "text",
75
+ "attr": "user",
76
+ "width": 200,
77
+ "title": "username",
78
+ "tooltip": "USERNAME",
79
+ "filter": false,
80
+ "sort": false,
81
+ "default": "",
82
+ "style": {
83
+ "width": 200
84
+ }
85
+ },
86
+ {
87
+ "type": "password",
88
+ "attr": "password",
89
+ "width": 200,
90
+ "title": "password",
91
+ "tooltip": "PASSWORD",
92
+ "filter": false,
93
+ "visible": true,
94
+ "sort": false,
95
+ "default": "",
96
+ "style": {
97
+ "width": 200
98
+ }
99
+ },
100
+ {
101
+ "type": "number",
102
+ "attr": "maxi",
103
+ "width": 60,
104
+ "title": "max",
105
+ "tooltip": "MAX",
106
+ "min": 0,
107
+ "max": 99,
108
+ "filter": false,
109
+ "sort": false,
110
+ "default": 10,
111
+ "style": {
112
+ "textAlign": "center",
113
+ "width": 60
114
+ }
115
+ },
116
+ {
117
+ "type": "number",
118
+ "attr": "maxi_html",
119
+ "width": 60,
120
+ "title": "max_html",
121
+ "tooltip": "MAX_HTML",
122
+ "min": 0,
123
+ "max": 99,
124
+ "filter": false,
125
+ "sort": false,
126
+ "default": 10,
127
+ "style": {
128
+ "textAlign": "center",
129
+ "width": 60
130
+ }
131
+ },
132
+ {
133
+ "type": "checkbox",
134
+ "attr": "tls",
135
+ "width": 30,
136
+ "title": "tls",
137
+ "tooltip": "TLS",
138
+ "filter": false,
139
+ "sort": false,
140
+ "default": true,
141
+ "style": {
142
+ "textAlign": "center",
143
+ "width": 30
144
+ }
145
+ },
146
+ {
147
+ "type": "select",
148
+ "attr": "flag",
149
+ "width": 200,
150
+ "title": "flag",
151
+ "tooltip": "FLAG",
152
+ "options": [
153
+ { "label": "ALL", "value": "[\"ALL\"]" },
154
+ { "label": "ANSWERED", "value": "[\"ANSWERED\"]" },
155
+ { "label": "UNANSWERED", "value": "[\"UNANSWERED\"]" },
156
+ { "label": "DELETED", "value": "[\"DELETED\"]" },
157
+ { "label": "UNDELETED", "value": "[\"UNDELETED\"]" },
158
+ { "label": "DRAFT", "value": "[\"DRAFT\"]" },
159
+ { "label": "UNDRAFT", "value": "[\"UNDRAFT\"]" },
160
+ { "label": "FLAGGED", "value": "[\"FLAGGED\"]" },
161
+ { "label": "UNFLAGGED", "value": "[\"UNFLAGGED\"]" },
162
+ { "label": "NEW", "value": "[\"NEW\"]" },
163
+ { "label": "OLD", "value": "[\"OLD\"]" },
164
+ { "label": "SEEN", "value": "[\"SEEN\"]" },
165
+ { "label": "UNSEEN", "value": "[\"UNSEEN\"]" },
166
+ { "label": "RECENT", "value": "[\"RECENT\"]" }
167
+ ],
168
+ "filter": false,
169
+ "sort": false,
170
+ "default": "[\"ALL\"]",
171
+ "style": {
172
+ "textAlign": "center",
173
+ "width": 200
174
+ }
175
+ },
176
+ {
177
+ "type": "selectSendTo",
178
+ "title": "icon64",
179
+ "tooltip": "ICON64",
180
+ "attr": "picture",
181
+ "disabled": "!data.activ",
182
+ "jsonData": "{\"icon\":{\"icons\":${JSON.stringify(globalData.icons)}}}",
183
+ "command": "getIconList",
184
+ "width": 200,
185
+ "alsoDependsOn": ["icons"],
186
+ "style": {
187
+ "textAlign": "center",
188
+ "width": 200
189
+ }
190
+ },
191
+ {
192
+ "type": "text",
193
+ "attr": "token",
194
+ "width": 200,
195
+ "title": "token",
196
+ "tooltip": "TOKEN",
197
+ "filter": false,
198
+ "sort": false,
199
+ "default": "",
200
+ "style": {
201
+ "width": 200
202
+ }
203
+ },
204
+ {
205
+ "type": "text",
206
+ "attr": "tlsoption",
207
+ "width": 200,
208
+ "title": "tls_option",
209
+ "tooltip": "TLS_OPTION",
210
+ "filter": false,
211
+ "sort": false,
212
+ "default": "{\"rejectUnauthorized\": false}",
213
+ "style": {
214
+ "width": 200
215
+ }
216
+ },
217
+ {
218
+ "type": "select",
219
+ "attr": "autotls",
220
+ "width": 100,
221
+ "title": "auto_tls",
222
+ "tooltip": "AUTO_TLS",
223
+ "filter": false,
224
+ "sort": false,
225
+ "options": [
226
+ { "label": "never", "value": "never" },
227
+ { "label": "always", "value": "always" },
228
+ { "label": "required", "value": "required" }
229
+ ],
230
+ "default": "never",
231
+ "style": {
232
+ "width": 100
233
+ }
234
+ }
235
+ ]
236
+ }
237
+ }
238
+ },
239
+ "tab2": {
240
+ "type": "panel",
241
+ "label": "Tab icons",
242
+ "items": {
243
+ "_headerAlexa": {
244
+ "type": "header",
245
+ "text": "Info icons",
246
+ "size": 2
247
+ },
248
+ "icons": {
249
+ "sm": 12,
250
+ "md": 12,
251
+ "lg": 12,
252
+ "noDelete": false,
253
+ "type": "table",
254
+ "style": {
255
+ "textAlign": "center"
256
+ },
257
+ "items": [
258
+ {
259
+ "type": "text",
260
+ "attr": "iconname",
261
+ "width": "50%",
262
+ "title": "iconname",
263
+ "tooltip": "ICONNAME",
264
+ "filter": true,
265
+ "sort": true,
266
+ "default": ""
267
+ },
268
+ {
269
+ "type": "image",
270
+ "attr": "picture",
271
+ "width": "50%",
272
+ "title": "upload",
273
+ "tooltip": "UPLOAD",
274
+ "accept": "image/*",
275
+ "base64": true,
276
+ "crop": true
277
+ }
278
+ ]
279
+ }
280
+ }
281
+ }
282
+ }
283
+ }
@@ -0,0 +1,169 @@
1
+ {
2
+ "common": {
3
+ "name": "imap",
4
+ "version": "0.0.4",
5
+ "news": {
6
+ "0.0.4": {
7
+ "en": "Fix json_table",
8
+ "de": "Json_table",
9
+ "ru": "Исправление json_table",
10
+ "pt": "Fix json_table",
11
+ "nl": "_",
12
+ "fr": "Fix json_table",
13
+ "it": "Fissare json_table",
14
+ "es": "Corrección json_table",
15
+ "pl": "Fixus json_table",
16
+ "uk": "Виправлення json_table",
17
+ "zh-cn": "Fix json_table"
18
+ },
19
+ "0.0.3": {
20
+ "en": "Beta release",
21
+ "de": "Beta Release",
22
+ "ru": "Beta релиз",
23
+ "pt": "Liberação Beta",
24
+ "nl": "Beta vrij",
25
+ "fr": "Sortie de Beta",
26
+ "it": "Comunicato Beta",
27
+ "es": "Beta release",
28
+ "pl": "Beta",
29
+ "uk": "Бета реліз",
30
+ "zh-cn": "B. 释放"
31
+ },
32
+ "0.0.2": {
33
+ "en": "initial release",
34
+ "de": "erstausstrahlung",
35
+ "ru": "начальный выпуск",
36
+ "pt": "lançamento inicial",
37
+ "nl": "niet",
38
+ "fr": "initial release",
39
+ "it": "rilascio iniziale",
40
+ "es": "liberación inicial",
41
+ "pl": "pierwsze wydanie",
42
+ "uk": "початковий реліз",
43
+ "zh-cn": "初步释放"
44
+ }
45
+ },
46
+ "title": "imap",
47
+ "titleLang": {
48
+ "en": "imap",
49
+ "de": "imap",
50
+ "ru": "имап",
51
+ "pt": "imap",
52
+ "nl": "imap",
53
+ "fr": "imap",
54
+ "it": "imap",
55
+ "es": "imágen",
56
+ "pl": "mapa",
57
+ "zh-cn": "地图",
58
+ "uk": "imap"
59
+ },
60
+ "desc": {
61
+ "en": "imap to receive your emails",
62
+ "de": "IMAP, um Ihre E-Mails zu empfangen",
63
+ "ru": "imap для получения ваших писем",
64
+ "pt": "imap para receber seus e-mails",
65
+ "nl": "imap om je e-mails te ontvangen",
66
+ "fr": "imap pour recevoir vos emails",
67
+ "it": "imap per ricevere le tue email",
68
+ "es": "imap para recibir tus correos",
69
+ "pl": "imap, aby otrzymywać e-maile",
70
+ "zh-cn": "imap 接收您的电子邮件",
71
+ "uk": "imap для отримання ваших електронних листів"
72
+ },
73
+ "authors": [
74
+ "Lucky-ESA <github@luckyskills.de>"
75
+ ],
76
+ "keywords": [
77
+ "imap",
78
+ "mail",
79
+ "email",
80
+ "receive"
81
+ ],
82
+ "license": "MIT",
83
+ "platform": "Javascript/Node.js",
84
+ "main": "main.js",
85
+ "icon": "imap.png",
86
+ "enabled": true,
87
+ "extIcon": "https://raw.githubusercontent.com/Lucky-ESA/ioBroker.imap/master/admin/imap.png",
88
+ "readme": "https://github.com/Lucky-ESA/ioBroker.imap/blob/master/README.md",
89
+ "loglevel": "info",
90
+ "mode": "daemon",
91
+ "type": "messaging",
92
+ "messagebox": true,
93
+ "blockly": true,
94
+ "compact": true,
95
+ "connectionType": "cloud",
96
+ "dataSource": "push",
97
+ "adminUI": {
98
+ "config": "json"
99
+ },
100
+ "dependencies": [
101
+ {
102
+ "js-controller": ">=3.3.22"
103
+ }
104
+ ],
105
+ "globalDependencies": [
106
+ {
107
+ "admin": ">=5.1.13"
108
+ }
109
+ ]
110
+ },
111
+ "native": {
112
+ "hosts": [],
113
+ "icons": []
114
+ },
115
+ "encryptedNative": [
116
+ "password"
117
+ ],
118
+ "protectedNative": [
119
+ "password"
120
+ ],
121
+ "objects": [],
122
+ "instanceObjects": [
123
+ {
124
+ "_id": "info",
125
+ "type": "channel",
126
+ "common": {
127
+ "name": {
128
+ "en": "Information",
129
+ "de": "Informationen",
130
+ "ru": "Информация",
131
+ "pt": "Informação",
132
+ "nl": "Informatie",
133
+ "fr": "Information",
134
+ "it": "Informazioni",
135
+ "es": "Información",
136
+ "pl": "Informacja",
137
+ "uk": "Інформація",
138
+ "zh-cn": "信息"
139
+ }
140
+ },
141
+ "native": {}
142
+ },
143
+ {
144
+ "_id": "info.connection",
145
+ "type": "state",
146
+ "common": {
147
+ "role": "indicator.connected",
148
+ "name": {
149
+ "en": "Device or service connected",
150
+ "de": "Geräte- oder Serviceanschluss",
151
+ "ru": "Устройство или сервис подключены",
152
+ "pt": "Dispositivo ou serviço conectado",
153
+ "nl": "Device of dienst verbonden",
154
+ "fr": "Appareil ou service connecté",
155
+ "it": "Dispositivo o servizio collegato",
156
+ "es": "Dispositivo o servicio conectado",
157
+ "pl": "Urządzenie lub usługa połączona",
158
+ "uk": "Пристрої або послуги підключені",
159
+ "zh-cn": "证人或有关服务"
160
+ },
161
+ "type": "boolean",
162
+ "read": true,
163
+ "write": false,
164
+ "def": false
165
+ },
166
+ "native": {}
167
+ }
168
+ ]
169
+ }
@@ -0,0 +1,19 @@
1
+ // This file extends the AdapterConfig type from "@types/iobroker"
2
+ // using the actual properties present in io-package.json
3
+ // in order to provide typings for adapter.config properties
4
+
5
+ import { native } from "../io-package.json";
6
+
7
+ type _AdapterConfig = typeof native;
8
+
9
+ // Augment the globally declared type ioBroker.AdapterConfig
10
+ declare global {
11
+ namespace ioBroker {
12
+ interface AdapterConfig extends _AdapterConfig {
13
+ // Do not enter anything here!
14
+ }
15
+ }
16
+ }
17
+
18
+ // this is required so the above AdapterConfig is found by TypeScript / type checking
19
+ export {};