mirror of
https://github.com/henrywhitaker3/Speedtest-Tracker.git
synced 2025-12-21 21:33:08 +01:00
Merge pull request #130 from henrywhitaker3/notifications
Updated dependencies
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
# Speedtest Tracker
|
# Speedtest Tracker
|
||||||
|
|
||||||
[](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [](https://github.com/henrywhitaker3/Speedtest-Tracker/issues)  [](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
|
[](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [](https://github.com/henrywhitaker3/Speedtest-Tracker/issues)  [](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
|
||||||
|
|
||||||
This program runs a speedtest check every hour and graphs the results. The back-end is written in [Laravel](https://laravel.com/) and the front-end uses [React](https://reactjs.org/). It uses the [speedtest-cli](https://www.speedtest.net/apps/cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results.
|
This program runs a speedtest check every hour and graphs the results. The back-end is written in [Laravel](https://laravel.com/) and the front-end uses [React](https://reactjs.org/). It uses the [speedtest-cli](https://www.speedtest.net/apps/cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results.
|
||||||
|
|
||||||
|
Disclaimer: You will need to accept Ookla's EULA and privacy agreements in order to use this container.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
@@ -42,7 +44,7 @@ This program has some dependencies, to install them you need to run the followin
|
|||||||
```bash
|
```bash
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt install php-common php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline php-xml php-sqlite3 php-zip composer python3 python3-pip git
|
sudo apt install php-common php7.2 php7.2-cli php7.2-common php7.2-json php7.2-opcache php7.2-readline php-xml php-sqlite3 php-zip php-mbstring composer python3 python3-pip git
|
||||||
```
|
```
|
||||||
```bash
|
```bash
|
||||||
sudo apt install curl
|
sudo apt install curl
|
||||||
|
|||||||
@@ -1,4 +1,10 @@
|
|||||||
{
|
{
|
||||||
|
"1.7.1": [
|
||||||
|
{
|
||||||
|
"description": "Updated dependencies",
|
||||||
|
"link": ""
|
||||||
|
}
|
||||||
|
],
|
||||||
"1.7.0": [
|
"1.7.0": [
|
||||||
{
|
{
|
||||||
"description": "Added notification toggles",
|
"description": "Added notification toggles",
|
||||||
|
|||||||
753
composer.lock
generated
753
composer.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,7 @@ return [
|
|||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
|
|
||||||
'version' => '1.7.0',
|
'version' => '1.7.1',
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|--------------------------------------------------------------------------
|
|--------------------------------------------------------------------------
|
||||||
|
|||||||
12
package-lock.json
generated
12
package-lock.json
generated
@@ -8476,9 +8476,9 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"react-toastify": {
|
"react-toastify": {
|
||||||
"version": "6.0.5",
|
"version": "6.0.6",
|
||||||
"resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-6.0.5.tgz",
|
"resolved": "https://registry.npmjs.org/react-toastify/-/react-toastify-6.0.6.tgz",
|
||||||
"integrity": "sha512-1YXSb6Jr478c1TJEyVpxLHFvtmeXGMvdpZc0fke/7lK+MoLBC+NFgB74bq+C2SZe6LdK+K1voEURJoY88WqWvA==",
|
"integrity": "sha512-NdHiMhj76Z877kZlXuelVfJONslvpmDTL95FVAoBy2kkU75hiqR5+pu1GdJZfRWPhen9ecdb58d3HmefaJ06Yw==",
|
||||||
"requires": {
|
"requires": {
|
||||||
"classnames": "^2.2.6",
|
"classnames": "^2.2.6",
|
||||||
"prop-types": "^15.7.2",
|
"prop-types": "^15.7.2",
|
||||||
@@ -8916,9 +8916,9 @@
|
|||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"sass": {
|
"sass": {
|
||||||
"version": "1.26.8",
|
"version": "1.26.9",
|
||||||
"resolved": "https://registry.npmjs.org/sass/-/sass-1.26.8.tgz",
|
"resolved": "https://registry.npmjs.org/sass/-/sass-1.26.9.tgz",
|
||||||
"integrity": "sha512-yvtzyrKLGiXQu7H12ekXqsfoGT/aTKeMDyVzCB675k1HYuaj0py63i8Uf4SI9CHXj6apDhpfwbUr3gGOjdpu2Q==",
|
"integrity": "sha512-t8AkRVi+xvba4yZiLWkJdgJHBFCB3Dh4johniQkPy9ywkgFHNasXFEFP+RG/F6LhQ+aoE4aX+IorIWQjS0esVw==",
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"requires": {
|
"requires": {
|
||||||
"chokidar": ">=2.0.0 <4.0.0"
|
"chokidar": ">=2.0.0 <4.0.0"
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
"react": "^16.2.0",
|
"react": "^16.2.0",
|
||||||
"react-dom": "^16.2.0",
|
"react-dom": "^16.2.0",
|
||||||
"resolve-url-loader": "^3.1.0",
|
"resolve-url-loader": "^3.1.0",
|
||||||
"sass": "^1.26.8",
|
"sass": "^1.26.9",
|
||||||
"sass-loader": "^8.0.0"
|
"sass-loader": "^8.0.0"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
@@ -32,6 +32,6 @@
|
|||||||
"react-chartjs-2": "^2.9.0",
|
"react-chartjs-2": "^2.9.0",
|
||||||
"react-router": "^5.2.0",
|
"react-router": "^5.2.0",
|
||||||
"react-router-dom": "^5.2.0",
|
"react-router-dom": "^5.2.0",
|
||||||
"react-toastify": "^6.0.5"
|
"react-toastify": "^6.0.6"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
2
public/js/app.js
vendored
2
public/js/app.js
vendored
File diff suppressed because one or more lines are too long
8
resources/js/components/Home/Settings.js
vendored
8
resources/js/components/Home/Settings.js
vendored
@@ -54,13 +54,13 @@ export default class Settings extends Component {
|
|||||||
var e = this.state.data;
|
var e = this.state.data;
|
||||||
return (
|
return (
|
||||||
<Row>
|
<Row>
|
||||||
<Col lg={{ span: 2, offset: 3 }} md={{ span: 6 }} sm={{ span: 12 }}>
|
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
|
||||||
<Setting name={e.schedule.name} value={e.schedule.value} description={e.schedule.description} />
|
<Setting name={e.schedule.name} value={e.schedule.value} description={e.schedule.description} />
|
||||||
</Col>
|
</Col>
|
||||||
<Col lg={{ span: 2 }} md={{ span: 6 }} sm={{ span: 12 }}>
|
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
|
||||||
<Setting name={e.server.name} value={e.server.value} description={e.server.description} />
|
<Setting name={e.server.name} value={e.server.value} description={e.server.description} />
|
||||||
</Col>
|
</Col>
|
||||||
<Col lg={{ span: 2 }} md={{ span: 6 }} sm={{ span: 12 }}>
|
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
|
||||||
<SettingWithModal title="Notification settings" description="Control which types of notifications the server sends." settings={[
|
<SettingWithModal title="Notification settings" description="Control which types of notifications the server sends." settings={[
|
||||||
{
|
{
|
||||||
obj: e.speedtest_notifications,
|
obj: e.speedtest_notifications,
|
||||||
@@ -92,7 +92,7 @@ export default class Settings extends Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Container className="my-4" fluid>
|
<Container className="my-4">
|
||||||
<Row>
|
<Row>
|
||||||
<Col sm={{ span: 12 }} className="mb-3 text-center">
|
<Col sm={{ span: 12 }} className="mb-3 text-center">
|
||||||
<div className="mouse" onClick={this.toggleShow}>
|
<div className="mouse" onClick={this.toggleShow}>
|
||||||
|
|||||||
Reference in New Issue
Block a user