Commit Graph

38 Commits

Author SHA1 Message Date
Mathias Wagner
83f2cc1b49 Fixed Changed the failing number to -1 (it would output an error if you have an 0 ping) 2022-05-13 18:59:05 +02:00
Mathias Wagner
fc771392f3 Changed the storage file location. Moving to a data directory 2022-05-09 23:08:53 +02:00
Mathias Wagner
1025bab355 Implemented the "already running" logic into the speedtest route 2022-05-08 01:36:48 +02:00
Mathias Wagner
7874ccf419 The speedtest now only executes if it is not already running 2022-05-08 01:36:33 +02:00
Mathias Wagner
6f1116ab62 Removed rounding from download & upload 2022-05-07 23:26:00 +02:00
Mathias Wagner
74da331bd9 You now need 10 tests in order to set the recommended settings 2022-05-07 22:52:05 +02:00
Mathias Wagner
54719a8f9f Integrated the recommendation logic into the speedtest creation 2022-05-07 22:36:20 +02:00
Mathias Wagner
6bdab5df6d Rounded the values in the recommendations.js controller 2022-05-07 22:35:44 +02:00
Mathias Wagner
c4a675249c Integrated the recommendations route 2022-05-07 22:16:36 +02:00
Mathias Wagner
bc3681bc8c Created the recommendations route 2022-05-07 22:15:38 +02:00
Mathias Wagner
af80f67088 Created the recommendations controller 2022-05-07 22:15:22 +02:00
Mathias Wagner
15dcda0fc0 Created the recommendations table 2022-05-07 22:03:46 +02:00
Mathias Wagner
f5cb701fef Fixed an error when creating the speedtest in the absence of an internet connection 2022-05-04 22:48:23 +02:00
Mathias Wagner
9f20c2a0d6 Fixed a production bug in the index.js 2022-04-09 23:23:59 +02:00
Mathias Wagner
5714e8a7d7 Added a run-route to the speedtests 2022-04-09 23:10:50 +02:00
Mathias Wagner
513768acd0 Updated the speedtest controller 2022-04-09 23:10:24 +02:00
Mathias Wagner
ec9034dab6 Made the speedtest task async 2022-04-09 23:10:10 +02:00
Mathias Wagner
c48e485c21 Added intervals for making a speedtest & removing old entries in the index.js 2022-04-07 18:58:54 +02:00
Mathias Wagner
dc9e5c03ab Created the speedtest creation logic 2022-04-07 18:58:32 +02:00
Mathias Wagner
2a1c697960 Added speedtests.js#removeOld to remove speedtests older than 24 hours 2022-04-07 18:53:03 +02:00
Mathias Wagner
16ac5bbaf3 Integrated the password middleware 2022-04-06 22:05:19 +02:00
Mathias Wagner
7390569c62 Added a password security check to the server 2022-04-06 22:05:05 +02:00
Mathias Wagner
7f26ae4543 Added a number security check to the PATCH /config/:key route 2022-04-06 21:56:21 +02:00
Mathias Wagner
b552abe292 Implemented the logic behind the config route 2022-04-06 21:51:32 +02:00
Mathias Wagner
5d7b21e1b1 Created the config controller 2022-04-06 21:44:51 +02:00
Mathias Wagner
0b003cee2e Added a security message to the /speedtests/latest route 2022-04-06 21:14:09 +02:00
Mathias Wagner
604f0dcd49 Integrated the speedtest logic into the speedtests route 2022-04-06 21:11:10 +02:00
Mathias Wagner
0c64342b2c Created the speedtest controller 2022-04-06 21:10:50 +02:00
Mathias Wagner
81f6bb6514 Enabled the table creation logic 2022-04-06 20:44:17 +02:00
Mathias Wagner
08e71b4390 MySpeed now automatically creates both tables & inserts the default values into the config table 2022-04-06 20:43:58 +02:00
Mathias Wagner
ade1c4032d Integrated the database into the index.js 2022-04-06 20:08:32 +02:00
Mathias Wagner
5c3230c9d5 Registered all routes into the index.js 2022-04-06 20:08:10 +02:00
Mathias Wagner
fa8f628f43 Prepared the config.js route 2022-04-06 20:07:49 +02:00
Mathias Wagner
0c30324b51 Prepared the speedtests.js route 2022-04-06 20:06:06 +02:00
Mathias Wagner
90930748b3 Created the system route 2022-04-06 20:02:37 +02:00
Mathias Wagner
98a129216b Updated the production logic 2022-04-06 15:01:46 +02:00
Mathias Wagner
fb593c2b9e Added some server code to the index.js 2022-04-05 20:01:35 +02:00
Mathias Wagner
a31013a794 Created the index.js in the server folder 2022-04-05 19:47:42 +02:00