18f996b35f
Ignore all files contained in pdfExports/
2020-06-08 21:48:20 +02:00
41fa4aaaae
Merge branch 'master' of github.com:KevinMidboe/ISPDowntimeMonitor
2020-06-08 00:57:32 +02:00
1662b32843
Don't want pdfExports contents but it's folder.
2020-06-08 00:57:22 +02:00
17ab191e50
Merge branch 'master' of github.com:KevinMidboe/ISPDowntimeMonitor
2020-06-08 00:49:28 +02:00
d2226ab028
Merge branch 'master' of github.com:KevinMidboe/ISPDowntimeMonitor
2020-06-08 00:49:16 +02:00
KevinMidboe
178c38cf05
Merge branch 'master' of github.com:KevinMidboe/ISPDowntimeMonitor
2020-06-08 00:45:41 +02:00
978d925e32
Don't want pdfExports contenst buy folder.
2020-06-08 00:45:36 +02:00
34f3b4be70
Update README.md
2020-06-08 00:42:04 +02:00
a8bfc84e29
Updated yarn lock
2020-06-08 00:01:19 +02:00
55e0dab528
Updated styling.
2020-06-08 00:01:09 +02:00
d1963ea728
Cleaned up formatting
2020-06-07 23:58:44 +02:00
89d4148a2c
Include node package Fetch from cdn.
2020-06-07 23:57:58 +02:00
448a542882
Moved popover to separate file.
2020-06-07 23:57:13 +02:00
7ac6993fee
Use endpoint for uptime for bar graph.
2020-06-07 23:56:42 +02:00
924cdf4b2d
Use new endpoint to fetch table content.
2020-06-07 23:55:25 +02:00
c6b98a9588
Page now completes loading before scraping.
2020-06-07 23:53:58 +02:00
4a1f51769f
Moved pdf save location to pdfExports/
2020-06-07 23:53:35 +02:00
6cfdbd6983
Db functions as resources for endpoints.
...
Db functoins for:
- getting event by id.
- getting events where secuential statues are truncated.
- get events, but w/ select on date & isOk status.
2020-06-07 23:52:03 +02:00
fd340449e1
Cmd's for server start & scraper run.
2020-06-07 23:47:38 +02:00
24384527b2
New endpoints and move server.js to src/.
...
New endpoints include:
- /logs : all events logged in the database
- /logs/alternating : events where the same consecutive status is
filtered out.
- /logs/:id : get a log message by mongo id.
- /uptime : get all events, but w/ selected on date & isOk.
- /pdf/:id : get the pdf file by id.
TODO: Error handling. This is all best case. Should be properly logged.
2020-06-07 23:46:36 +02:00
3af4c99eb3
Resolved merge conflict
2020-06-07 16:34:00 +02:00
39ecbb117b
Include express package. Server serving files and later fetch from mongo.
2020-06-07 16:33:18 +02:00
b2e4a46d10
clseBrowser func extended to exit w/ code.
2020-06-03 00:20:26 +02:00
cce9c0d6ea
After we get serviceMessages, save internet to db.
2020-06-03 00:19:55 +02:00
9cc4218bf2
Db functions and event Schema w/ mongoose.
...
Create mongoose schema for Event and db.js to export ways we want to
interface with the database.
2020-06-03 00:19:07 +02:00
7fd5a5b049
Added mongoose dependency
2020-06-03 00:18:11 +02:00
06b01e5a3a
/site contains static start of frontend.
...
Started a frontend for displaying the information collected.
- Need dynamic data.
- Needs a webserver to serve page.
2020-06-01 23:22:25 +02:00
61d98cd420
Info where to create gmail app password.
2020-05-27 20:41:33 +02:00
5040b0eb8d
Added setup, config and usage sections.
2020-05-27 20:37:14 +02:00
b2e6d6341b
Example config and ignore config.js.
2020-05-27 20:04:20 +02:00
1d2409036f
Require nodemailer and puppeteer.
2020-05-27 20:02:51 +02:00
12a039930b
Check ISP website & send mail if services are down
...
Scrape, navigate and print ISP's status page for a given address. This
only works with telenor and the URL must be a search for a given
address.
If any services are found to be down a mail is sent from and to accounts
set in config.js.
2020-05-27 20:02:25 +02:00
216a2bb106
Updated with DS_Store and *.swp files.
2020-05-27 19:57:54 +02:00
2054ed642f
Initial commit
2020-05-26 22:48:13 +02:00