-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
413 lines (412 loc) · 14.8 KB
/
config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
export const services = {
sites: {
heading: "Organization and Group Websites",
services: {
adhoOrg: {
displayName: "adho.org",
endpointUrl: "https://adho.org/",
serviceUrl: "https://adho.org/",
test: "testResponseForText",
matchText:
"<title>Alliance of Digital Humanities Organizations – A Global Coalition of Digital Humanities Organizations</title>",
},
eadhOrg: {
displayName: "eadh.org",
endpointUrl: "https://eadh.org/",
serviceUrl: "https://eadh.org/",
serviceIcon: "",
test: "testResponseForText",
matchText:
"<title>EADH - The European Association for Digital Humanities |</title>",
},
digHumDe: {
displayName: "dig-hum.de",
endpointUrl: "https://dig-hum.de/",
serviceUrl: "https://dig-hum.de/",
serviceIcon: "",
test: "testResponseForText",
matchText:
"<title>digital humanities im deutschsprachigen raum</title>",
},
humanities: {
displayName: "4humanities.org",
endpointUrl: "https://4humanities.org",
serviceUrl: "https://4humanities.org",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>4Humanities | Advocating for the Humanities</title>",
},
cle: {
displayName: "cle.world",
endpointUrl: "https://cle.world",
serviceUrl: "https://cle.world",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>Cultural Literacy Everywhere</title>",
},
czadh: {
displayName: "www.czadh.cz",
endpointUrl: "https://www.czadh.cz",
serviceUrl: "https://www.czadh.cz",
serviceIcon: "",
test: "testResponseForText",
matchText:
"<title>CzADH █ – Česká asociace pro digitální humanitní vědy</title>",
},
dhcenternet: {
displayName: "dhcenternet.org",
endpointUrl: "https://dhcenternet.org/",
serviceUrl: "https://dhcenternet.org/",
serviceIcon: "",
test: "testResponseForText",
matchText:
"<title>centerNet – An International Network of Digital Humanities Centers</title>",
},
membersAchOrg: {
displayName: "members.ach.org",
endpointUrl: "https://members.ach.org",
serviceUrl: "https://members.ach.org",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>ACH Membership</title>",
},
digitalhumanitiesDe: {
displayName: "digitalhumanities.de",
endpointUrl: "https://digitalhumanities.de",
serviceUrl: "https://digitalhumanities.de",
serviceIcon: "",
test: "testResponseForText",
matchText:
"<title>digital humanities im deutschsprachigen raum</title>",
},
mitgliedschaftDigitalhumanitiesDe: {
displayName: "mitgliedschaft.digitalhumanities.de",
endpointUrl: "https://mitgliedschaft.digitalhumanities.de",
serviceUrl: "https://mitgliedschaft.digitalhumanities.de",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>DHd-Mitgliedschaft</title>",
},
geohumanities: {
displayName: "geohumanities.org",
endpointUrl: "https://geohumanities.org",
serviceUrl: "https://geohumanities.org",
serviceIcon: "",
test: "testResponseForText",
matchText:
"<title>GeoHumanities SIG – A Special Interest Group of the ADHO</title>",
},
},
},
dhq: {
heading: "Digital Humanities Quarterly",
services: {
dhqWebsite: {
displayName: "DHQ Website",
endpointUrl: "https://digitalhumanities.org/dhq/",
serviceUrl: "https://digitalhumanities.org/dhq/",
serviceIcon: "",
test: "testResponseForText",
matchText: '<?xml version="1.0" encoding="UTF-8"?>',
},
dhqWiki: {
displayName: "DHQ Wiki",
endpointUrl: "https://dhq.wikis.adho.org/index.php?title=Main_Page",
serviceUrl: "https://dhq.wikis.adho.org/",
serviceIcon: "",
test: "testResponseForText",
matchText:
'<link rel="EditURI" type="application/rsd+xml" href="http://dhq.wikis.adho.org/api.php?action=rsd"/>',
},
dhqStatic: {
displayName: "DHQ File Storage",
endpointUrl: "https://dhq-static.digitalhumanities.org/",
serviceUrl: "https://dhq-static.digitalhumanities.org/",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>ADHO :: DHQ Static</title>",
},
},
},
digitalHumanitiesDotOrg: {
heading: "digitalhumanities.org",
services: {
companion: {
displayName: "A Companion to Digital Humanities",
endpointUrl: "https://companions.digitalhumanities.org/DH/",
serviceUrl: "https://companions.digitalhumanities.org/DH/",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>A Companion to Digital Humanities</title>",
},
companionDLS: {
displayName: "A Companion to Digital Literary Studies",
endpointUrl: "https://companions.digitalhumanities.org/DLS/",
serviceUrl: "https://companions.digitalhumanities.org/DLS/",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>A Companion to Digital Literary Studies</title>",
},
dhAbstracts: {
displayName: "Digital Humanities Abstracts (1996-2003)",
endpointUrl: "https://digitalhumanities.org/dh-abstracts/search",
serviceUrl: "https://digitalhumanities.org/dh-abstracts/search",
serviceIcon: "",
test: "testResponseForText",
matchText: "<title>Digital Humanities Abstracts: Search Form</title>",
},
},
},
dhConferences: {
heading: "ADHO Conference Sites",
services: {
dh2025: {
displayName: "DH2025 Conference Site",
endpointUrl: "https://dh2025.adho.org/",
serviceUrl: "https://dh2025.adho.org/",
test: "testResponseForText",
matchText:
"<title>DH2025 – ADHO Digital Humanities conference 2025, NOVA FCSH, Lisbon, Portugal</title>",
},
dh2024: {
displayName: "DH2024 Conference Site",
endpointUrl: "https://dh2024.adho.org/",
serviceUrl: "https://dh2024.adho.org/",
test: "testResponseForText",
matchText:
"<title>DH2024 – Reinvention & Responsibility</title>",
},
dh2023: {
displayName: "DH2023 Conference Site",
endpointUrl: "https://dh2023.adho.org/",
serviceUrl: "https://dh2023.adho.org/",
test: "testResponseForText",
matchText:
"<title>July 10-14 2023, Graz | Austria – DH 2023, July 10-14 2023, Graz | Austria</title>",
},
dh2021: {
displayName: "DH2021 Conference Site",
endpointUrl: "https://dh2021.adho.org/",
serviceUrl: "https://dh2021.adho.org/",
test: "testResponseForText",
matchText: "<title>Digital Humanities 2021</title>",
},
dh2020: {
displayName: "DH2020 Conference Site",
endpointUrl: "https://dh2020.adho.org/",
serviceUrl: "https://dh2020.adho.org/",
test: "testResponseForText",
matchText: "<title>DH2020</title>",
},
dh2018: {
displayName: "DH2018 Conference Site",
endpointUrl: "https://dh2018.adho.org/",
serviceUrl: "https://dh2018.adho.org/",
test: "testResponseForText",
matchText: "<title>DH 2018 – Ciudad de México</title>",
},
dh2017: {
displayName: "DH2017 Conference Site",
endpointUrl: "https://dh2017.adho.org/",
serviceUrl: "https://dh2017.adho.org/",
test: "testResponseForText",
matchText:
"<title>Digital Humanities 2017 – Montreal, Canada, August 8-11, 2017</title>",
},
},
},
dhdConferences: {
heading: "DHd Conference Sites",
services: {
dhd2025: {
displayName: "DHd 2025 Conference Site",
endpointUrl: "https://dhd2025.dig-hum.de/wp-login.php",
serviceUrl: "https://dhd2025.dig-hum.de/",
test: "testResponseForText",
matchText:
'<form name="loginform" id="loginform" action="https://dhd2025.dig-hum.de/wp-login.php" method="post">',
},
dhd2025convalidator: {
displayName: "DHd 2025 DH Convalidator",
endpointUrl: "https://dhconvalidator.dhd2025.dig-hum.de/",
serviceUrl: "https://dhconvalidator.dhd2025.dig-hum.de/",
test: "testResponseCode200",
},
dhd2024: {
displayName: "DHd 2024 Conference Site",
endpointUrl: "https://dhd2024.dig-hum.de/wp-login.php",
serviceUrl: "https://dhd2024.dig-hum.de/",
test: "testResponseForText",
matchText:
'<form name="loginform" id="loginform" action="https://dhd2024.dig-hum.de/wp-login.php" method="post">',
},
dhd2023: {
displayName: "DHd 2023 Conference Site",
endpointUrl: "https://dhd2023.dig-hum.de/",
serviceUrl: "https://dhd2023.dig-hum.de/",
test: "testResponseForText",
matchText:
'<meta name="description" content="DHd2023 Luxemburg / Trier - Open Humanities Open Culture"/>',
},
dhd2022: {
displayName: "DHd 2022 Conference Site",
endpointUrl: "https://dhd2022.dig-hum.de/",
serviceUrl: "https://dhd2022.dig-hum.de/",
test: "testResponseForText",
matchText:
"<title>DHd 2022 | Digital Humanities im deutschsprachigen Raum</title>",
},
dhd2020: {
displayName: "DHd 2020 Conference Site",
endpointUrl: "https://dhd2020.dig-hum.de/",
serviceUrl: "https://dhd2020.dig-hum.de/",
test: "testResponseForText",
matchText:
"<title>DHd2020 - Spielräume | Paderborn, 02.-06.03.2020</title>",
},
dhd2019: {
displayName: "DHd 2019 Conference Site",
endpointUrl: "https://dhd2019.dig-hum.de/",
serviceUrl: "https://dhd2019.dig-hum.de/",
test: "testResponseForText",
matchText: "<title>DHd 2019 - multimedial & multimodal</title>",
},
dhd2017: {
displayName: "DHd 2017 Conference Site",
endpointUrl: "https://dhd2017.dig-hum.de/",
serviceUrl: "https://dhd2017.dig-hum.de/",
test: "testResponseForText",
matchText: '<a href="/" aria-current="page">DHd 2017</a>',
},
dhd2016: {
displayName: "DHd 2016 Conference Site",
endpointUrl: "https://dhd2016.dig-hum.de/",
serviceUrl: "https://dhd2016.dig-hum.de/",
test: "testResponseForText",
matchText: "<title>DHd 2016 | DHd 2016</title>",
},
},
},
mailListAdminPages: {
heading: "Mailing List Archives & Admin UIs",
services: {
listsDigitalhumanitiesOrg: {
displayName: "lists.digitalhumanities.org",
endpointUrl: "https://lists.digitalhumanities.org/mailman/",
serviceUrl: "https://lists.digitalhumanities.org/mailman/",
test: "testResponseForText",
matchText:
"<title>\nList Index - lists.digitalhumanities.org\n</title>",
},
listsTeiCOrg: {
displayName: "lists.tei-c.org",
endpointUrl: "https://lists.tei-c.org/mailman/",
serviceUrl: "https://lists.tei-c.org/mailman/",
test: "testResponseForText",
matchText: "<title>\nList Index - lists.tei-c.org\n</title>",
},
},
},
adhoInfra: {
heading: "ADHO Internal Infrastructure",
services: {
nextcloud: {
displayName: "ADHO NextCloud",
endpointUrl: "https://nextcloud.adho.org/status.php",
serviceUrl: "https://nextcloud.adho.org/",
test: "testResponseForText",
matchText:
'"installed":true,"maintenance":false,"needsDbUpgrade":false',
},
mattermost: {
displayName: "ADHO Mattermost Instance",
endpointUrl: "https://mattermost.adho.org/api/v4/system/ping",
serviceUrl: "https://mattermost.adho.org/",
test: "testResponseForText",
matchText: '"status":"OK"',
},
umami: {
displayName: "Umami Analytics",
endpointUrl: "https://umami.adho.org/dashboard",
serviceUrl: "https://umami.adho.org/",
test: "testResponseForText",
matchText: "<title>Dashboard | Umami</title>",
},
listmonk: {
displayName: "listmonk Newsletter Management",
endpointUrl: "https://listmonk.adho.org/",
serviceUrl: "https://listmonk.adho.org/",
test: "testResponseForText",
matchText: "<title>listmonk</title>",
},
mainwp: {
displayName: "MainWP",
endpointUrl: "https://mainwp.adho.org/",
serviceUrl: "https://mainwp.adho.org/",
test: "testResponseForText",
matchText: "<title>Log In ‹ MainWP — WordPress</title>",
},
sftpgo: {
displayName: "ADHO SFTP Server",
endpointUrl: "https://sftp.adho.org/",
serviceUrl: "https://sftp.adho.org/",
test: "testResponseForText",
matchText: '<body class="app-blank">',
},
},
},
};
export const statuses = {
pending: {
message: "Checking status...",
},
up: {
icon: `
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M9 12l2 2l4 -4"></path>
<path d="M12 3c7.2 0 9 1.8 9 9s-1.8 9 -9 9s-9 -1.8 -9 -9s1.8 -9 9 -9z"></path>
</svg>`,
message: "No detected issues",
},
maintenance: {
icon: `
<svg xmlns="http://www.w3.org/2000/svg">
<rect x="4" y="7" width="16" height="9" rx="1"></rect>
<path d="M7 16v4"></path>
<path d="M7.5 16l9 -9"></path>
<path d="M13.5 16l6.5 -6.5"></path>
<path d="M4 13.5l6.5 -6.5"></path>
<path d="M17 16v4"></path>
<path d="M5 20h4"></path>
<path d="M15 20h4"></path>
<path d="M17 7v-2"></path>
<path d="M7 7v-2"></path>
</svg>`,
message: "Temporarily unavailable for maintenance",
},
issue: {
icon: `
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path d="M12 9v2m0 4v.01"></path>
<path d="M5 19h14a2 2 0 0 0 1.84 -2.75l-7.1 -12.25a2 2 0 0 0 -3.5 0l-7.1 12.25a2 2 0 0 0 1.75 2.75"></path>
</svg>`,
message: "There may be an issue with this site",
},
fail: {
icon: `
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<circle cx="12" cy="12" r="9"></circle>
<path d="M12 9v4"></path>
<path d="M12 16v.01"></path>
</svg>`,
message: "Site unavailable",
},
outage: {
icon: `
<svg xmlns="http://www.w3.org/2000/svg">
<circle cx="12" cy="12" r="9"></circle>
<line x1="5.7" y1="5.7" x2="18.3" y2="18.3"></line>
</svg>`,
message: "Service is down",
},
};