Compare commits

...

114 Commits

Author SHA1 Message Date
Henry Whitaker
17b72b91d0 Merge pull request #413 from henrywhitaker3/dev 2020-12-13 16:39:58 +00:00
Henry Whitaker
342e87b08d Merge pull request #411 from henrywhitaker3/alpha 2020-12-13 15:51:39 +00:00
Henry Whitaker
100cc1d768 Updated changelog 2020-12-13 15:47:17 +00:00
Henry Whitaker
2d1af61fb1 Merge pull request #375 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-dom-16.14.0
Bump react-dom from 16.13.1 to 16.14.0
2020-12-13 15:40:53 +00:00
Henry Whitaker
41a3bb3b5b Merge pull request #376 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-bootstrap-1.4.0 2020-12-13 15:40:37 +00:00
Henry Whitaker
365acda11c Merge branch 'alpha' into dependabot/npm_and_yarn/dev/react-bootstrap-1.4.0 2020-12-13 15:40:29 +00:00
Henry Whitaker
2df827b722 Merge pull request #378 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-chartjs-2-2.11.1
Bump react-chartjs-2 from 2.10.0 to 2.11.1
2020-12-13 15:39:55 +00:00
Henry Whitaker
48839a0aa3 Merge pull request #379 from henrywhitaker3/dependabot/npm_and_yarn/dev/axios-0.21.0 2020-12-13 15:39:38 +00:00
Henry Whitaker
05e856799a Merge branch 'alpha' into dependabot/npm_and_yarn/dev/axios-0.21.0 2020-12-13 15:39:13 +00:00
Henry Whitaker
2a243d251c Merge pull request #381 from henrywhitaker3/dependabot/composer/dev/laravel/slack-notification-channel-2.3.0
Bump laravel/slack-notification-channel from 2.2.0 to 2.3.0
2020-12-13 15:38:36 +00:00
Henry Whitaker
73999eba53 Merge pull request #382 from henrywhitaker3/dependabot/composer/dev/laravel/tinker-2.5.0 2020-12-13 15:38:06 +00:00
Henry Whitaker
24a2c0e7df Merge branch 'alpha' into dependabot/composer/dev/laravel/tinker-2.5.0 2020-12-13 15:37:58 +00:00
Henry Whitaker
c18b334128 Merge pull request #385 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-10.1.0 2020-12-13 15:37:07 +00:00
Henry Whitaker
e479e828bb Merge branch 'alpha' into dependabot/npm_and_yarn/dev/sass-loader-10.1.0 2020-12-13 15:37:00 +00:00
Henry Whitaker
f9b6f99a05 Merge pull request #395 from henrywhitaker3/dependabot/composer/dev/tymon/jwt-auth-1.0.2
Bump tymon/jwt-auth from 1.0.1 to 1.0.2
2020-12-13 15:36:14 +00:00
Henry Whitaker
d577954660 Merge pull request #396 from henrywhitaker3/dependabot/composer/dev/phpunit/phpunit-8.5.13
Bump phpunit/phpunit from 8.5.8 to 8.5.13
2020-12-13 15:35:55 +00:00
Henry Whitaker
cf5bafe586 Merge pull request #397 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.30.0
Bump laravel/framework from 7.28.4 to 7.30.0
2020-12-13 15:35:37 +00:00
Henry Whitaker
7eb668a892 Merge pull request #398 from henrywhitaker3/dependabot/npm_and_yarn/dev/cross-env-7.0.3
Bump cross-env from 7.0.2 to 7.0.3
2020-12-13 15:35:16 +00:00
Henry Whitaker
bc28094e67 Merge pull request #400 from henrywhitaker3/dependabot/composer/dev/laravel-notification-channels/telegram-0.5.1
Bump laravel-notification-channels/telegram from 0.5.0 to 0.5.1
2020-12-13 15:34:53 +00:00
Henry Whitaker
326b0edbac Merge pull request #401 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-1.30.0
Bump sass from 1.29.0 to 1.30.0
2020-12-13 15:34:33 +00:00
Henry Whitaker
eb1ec516b9 Merge pull request #403 from henrywhitaker3/dependabot/composer/dev/nunomaduro/larastan-0.6.11
Bump nunomaduro/larastan from 0.6.9 to 0.6.11
2020-12-13 15:34:13 +00:00
Henry Whitaker
33c61071d4 Merge pull request #405 from henrywhitaker3/dependabot/composer/dev/barryvdh/laravel-ide-helper-2.8.2
Bump barryvdh/laravel-ide-helper from 2.8.1 to 2.8.2
2020-12-13 15:33:53 +00:00
Henry Whitaker
6306824351 Merge pull request #406 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-toastify-6.2.0
Bump react-toastify from 6.0.9 to 6.2.0
2020-12-13 15:33:32 +00:00
Henry Whitaker
47cbce56a9 Merge pull request #407 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/preset-react-7.12.10 2020-12-13 15:33:10 +00:00
Henry Whitaker
f8387e4f4b Merge pull request #410 from henrywhitaker3/dependabot/npm_and_yarn/ini-1.3.8 2020-12-13 15:31:59 +00:00
dependabot[bot]
353b381f25 Bump ini from 1.3.5 to 1.3.8
Bumps [ini](https://github.com/isaacs/ini) from 1.3.5 to 1.3.8.
- [Release notes](https://github.com/isaacs/ini/releases)
- [Commits](https://github.com/isaacs/ini/compare/v1.3.5...v1.3.8)

Signed-off-by: dependabot[bot] <support@github.com>
2020-12-12 13:25:54 +00:00
dependabot-preview[bot]
065bc45d11 Bump @babel/preset-react from 7.12.5 to 7.12.10
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.12.5 to 7.12.10.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.10/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-10 07:19:01 +00:00
dependabot-preview[bot]
4d78eff393 Bump react-toastify from 6.0.9 to 6.2.0
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.9 to 6.2.0.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.9...v6.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 07:33:20 +00:00
dependabot-preview[bot]
14ba9e092f Bump barryvdh/laravel-ide-helper from 2.8.1 to 2.8.2
Bumps [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/barryvdh/laravel-ide-helper/releases)
- [Changelog](https://github.com/barryvdh/laravel-ide-helper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/barryvdh/laravel-ide-helper/compare/v2.8.1...v2.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-09 06:55:33 +00:00
dependabot-preview[bot]
628b0fdbea Bump nunomaduro/larastan from 0.6.9 to 0.6.11
Bumps [nunomaduro/larastan](https://github.com/nunomaduro/larastan) from 0.6.9 to 0.6.11.
- [Release notes](https://github.com/nunomaduro/larastan/releases)
- [Changelog](https://github.com/nunomaduro/larastan/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/larastan/compare/v0.6.9...v0.6.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-08 07:43:30 +00:00
dependabot-preview[bot]
2cb31d52a7 Bump sass from 1.29.0 to 1.30.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.29.0 to 1.30.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.29.0...1.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 07:52:28 +00:00
dependabot-preview[bot]
8b8c3ae801 Bump laravel-notification-channels/telegram from 0.5.0 to 0.5.1
Bumps [laravel-notification-channels/telegram](https://github.com/laravel-notification-channels/telegram) from 0.5.0 to 0.5.1.
- [Release notes](https://github.com/laravel-notification-channels/telegram/releases)
- [Changelog](https://github.com/laravel-notification-channels/telegram/blob/master/CHANGELOG.md)
- [Commits](https://github.com/laravel-notification-channels/telegram/compare/0.5.0...0.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-07 06:37:30 +00:00
dependabot-preview[bot]
846942929e Bump cross-env from 7.0.2 to 7.0.3
Bumps [cross-env](https://github.com/kentcdodds/cross-env) from 7.0.2 to 7.0.3.
- [Release notes](https://github.com/kentcdodds/cross-env/releases)
- [Changelog](https://github.com/kentcdodds/cross-env/blob/master/CHANGELOG.md)
- [Commits](https://github.com/kentcdodds/cross-env/compare/v7.0.2...v7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-02 07:37:25 +00:00
dependabot-preview[bot]
8e151c9ce5 Bump laravel/framework from 7.28.4 to 7.30.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.28.4 to 7.30.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-6.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.28.4...v7.30.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-02 07:36:53 +00:00
dependabot-preview[bot]
a568d83dbc Bump phpunit/phpunit from 8.5.8 to 8.5.13
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.8 to 8.5.13.
- [Release notes](https://github.com/sebastianbergmann/phpunit/releases)
- [Changelog](https://github.com/sebastianbergmann/phpunit/blob/master/ChangeLog-8.5.md)
- [Commits](https://github.com/sebastianbergmann/phpunit/compare/8.5.8...8.5.13)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-01 07:04:20 +00:00
dependabot-preview[bot]
dcf94b6a4b Bump tymon/jwt-auth from 1.0.1 to 1.0.2
Bumps [tymon/jwt-auth](https://github.com/tymondesigns/jwt-auth) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/tymondesigns/jwt-auth/releases)
- [Commits](https://github.com/tymondesigns/jwt-auth/compare/1.0.1...1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-30 07:59:01 +00:00
dependabot-preview[bot]
47ecb7d58c Bump sass-loader from 10.0.5 to 10.1.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.5 to 10.1.0.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.5...v10.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-12 07:41:29 +00:00
dependabot-preview[bot]
4e61e0fccb Bump laravel/tinker from 2.4.2 to 2.5.0
Bumps [laravel/tinker](https://github.com/laravel/tinker) from 2.4.2 to 2.5.0.
- [Release notes](https://github.com/laravel/tinker/releases)
- [Changelog](https://github.com/laravel/tinker/blob/2.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/tinker/compare/v2.4.2...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 10:19:06 +00:00
dependabot-preview[bot]
59a4a25bed Bump laravel/slack-notification-channel from 2.2.0 to 2.3.0
Bumps [laravel/slack-notification-channel](https://github.com/laravel/slack-notification-channel) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/laravel/slack-notification-channel/releases)
- [Changelog](https://github.com/laravel/slack-notification-channel/blob/2.0/CHANGELOG.md)
- [Commits](https://github.com/laravel/slack-notification-channel/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 10:17:41 +00:00
dependabot-preview[bot]
0e60bf195f Bump axios from 0.20.0 to 0.21.0
Bumps [axios](https://github.com/axios/axios) from 0.20.0 to 0.21.0.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/master/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.20.0...v0.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 08:04:11 +00:00
dependabot-preview[bot]
2b57d6c244 Bump react-chartjs-2 from 2.10.0 to 2.11.1
Bumps [react-chartjs-2](https://github.com/reactchartjs/react-chartjs-2) from 2.10.0 to 2.11.1.
- [Release notes](https://github.com/reactchartjs/react-chartjs-2/releases)
- [Commits](https://github.com/reactchartjs/react-chartjs-2/compare/2.10.0...2.11.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 08:02:32 +00:00
dependabot-preview[bot]
8f846bd4fe Bump react-bootstrap from 1.3.0 to 1.4.0
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/react-bootstrap/react-bootstrap/releases)
- [Changelog](https://github.com/react-bootstrap/react-bootstrap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/react-bootstrap/react-bootstrap/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 08:00:03 +00:00
dependabot-preview[bot]
081eac4f1e Bump react-dom from 16.13.1 to 16.14.0
Bumps [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-09 07:58:31 +00:00
Henry Whitaker
7071d0ac4c Merge pull request #373 from henrywhitaker3/alpha
Changed to daily logging
2020-11-07 15:49:26 +00:00
Henry Whitaker
87aba591c0 Changed to daily logging 2020-11-07 15:48:37 +00:00
Henry Whitaker
5e5e9d8992 Merge pull request #371 from henrywhitaker3/alpha 2020-11-07 15:18:11 +00:00
Henry Whitaker
d16889f406 Updated dependencies 2020-11-07 15:11:11 +00:00
Henry Whitaker
5d0020a707 Merge pull request #353 from henrywhitaker3/dependabot/npm_and_yarn/dev/resolve-url-loader-3.1.2
Bump resolve-url-loader from 3.1.1 to 3.1.2
2020-11-07 15:02:38 +00:00
Henry Whitaker
e9d8f4754b Merge branch 'alpha' into dependabot/npm_and_yarn/dev/resolve-url-loader-3.1.2 2020-11-07 15:02:32 +00:00
Henry Whitaker
18439da15a Merge pull request #349 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/plugin-proposal-class-properties-7.12.1 2020-11-07 15:01:54 +00:00
Henry Whitaker
2919c9fb9b Merge branch 'alpha' into dependabot/npm_and_yarn/dev/babel/plugin-proposal-class-properties-7.12.1 2020-11-07 15:01:45 +00:00
Henry Whitaker
3097c244de Merge pull request #318 from henrywhitaker3/dependabot/composer/dev/doctrine/dbal-2.10.4
Bump doctrine/dbal from 2.10.3 to 2.10.4
2020-11-07 15:00:51 +00:00
Henry Whitaker
6c64613628 Merge pull request #332 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-toastify-6.0.9
Bump react-toastify from 6.0.8 to 6.0.9
2020-11-07 15:00:37 +00:00
Henry Whitaker
2e39a238e7 Merge pull request #364 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-10.0.5 2020-11-07 15:00:01 +00:00
Henry Whitaker
8e003017bd Merge pull request #333 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.28.4 2020-11-07 14:59:44 +00:00
Henry Whitaker
9190385f93 Merge branch 'alpha' into dependabot/composer/dev/laravel/framework-7.28.4 2020-11-07 14:59:30 +00:00
Henry Whitaker
226e2c42a7 Merge pull request #340 from henrywhitaker3/dependabot/composer/dev/guzzlehttp/guzzle-7.2.0
Bump guzzlehttp/guzzle from 7.0.1 to 7.2.0
2020-11-07 14:57:55 +00:00
Henry Whitaker
c55baae478 Merge pull request #342 from henrywhitaker3/dependabot/composer/dev/dragonmantank/cron-expression-2.3.1
Bump dragonmantank/cron-expression from 2.3.0 to 2.3.1
2020-11-07 14:57:39 +00:00
Henry Whitaker
7654da9559 Merge pull request #343 from henrywhitaker3/dependabot/npm_and_yarn/dev/bootstrap-4.5.3
Bump bootstrap from 4.5.2 to 4.5.3
2020-11-07 14:57:23 +00:00
Henry Whitaker
7922955217 Merge pull request #344 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.4.1 2020-11-07 14:57:06 +00:00
Henry Whitaker
c90b40a96f Merge branch 'alpha' into dependabot/composer/dev/facade/ignition-2.4.1 2020-11-07 14:56:58 +00:00
dependabot-preview[bot]
72ff3317fa Bump @babel/plugin-proposal-class-properties from 7.10.4 to 7.12.1
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.4 to 7.12.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 14:56:51 +00:00
dependabot-preview[bot]
b00db26910 Bump resolve-url-loader from 3.1.1 to 3.1.2
Bumps [resolve-url-loader](https://github.com/bholloway/resolve-url-loader) from 3.1.1 to 3.1.2.
- [Release notes](https://github.com/bholloway/resolve-url-loader/releases)
- [Commits](https://github.com/bholloway/resolve-url-loader/compare/3.1.1...3.1.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-07 14:56:31 +00:00
Henry Whitaker
b31252a7b3 Merge pull request #345 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-16.14.0
Bump react from 16.13.1 to 16.14.0
2020-11-07 14:55:18 +00:00
Henry Whitaker
a836967445 Merge pull request #351 from henrywhitaker3/dependabot/npm_and_yarn/dev/chart.js-2.9.4
Bump chart.js from 2.9.3 to 2.9.4
2020-11-07 14:54:21 +00:00
Henry Whitaker
ced5a2e7a4 Merge pull request #356 from henrywhitaker3/dependabot/composer/dev/fideloper/proxy-4.4.1
Bump fideloper/proxy from 4.4.0 to 4.4.1
2020-11-07 14:53:37 +00:00
Henry Whitaker
270abea478 Merge pull request #357 from henrywhitaker3/dependabot/composer/dev/fruitcake/laravel-cors-2.0.3
Bump fruitcake/laravel-cors from 2.0.2 to 2.0.3
2020-11-07 14:53:21 +00:00
Henry Whitaker
efc9b29360 Merge pull request #361 from henrywhitaker3/dependabot/composer/dev/nunomaduro/collision-4.3.0
Bump nunomaduro/collision from 4.2.0 to 4.3.0
2020-11-07 14:53:04 +00:00
Henry Whitaker
b9d289c9d2 Merge pull request #363 from henrywhitaker3/dependabot/composer/dev/nunomaduro/larastan-0.6.9
Bump nunomaduro/larastan from 0.6.4 to 0.6.9
2020-11-07 14:52:46 +00:00
Henry Whitaker
1562e13e19 Merge branch 'alpha' into dependabot/npm_and_yarn/dev/sass-loader-10.0.5 2020-11-07 14:52:15 +00:00
Henry Whitaker
0b00ba2304 Merge pull request #365 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/preset-react-7.12.5
Bump @babel/preset-react from 7.10.4 to 7.12.5
2020-11-07 14:51:19 +00:00
Henry Whitaker
5f5b731fbe Merge pull request #366 from henrywhitaker3/dependabot/composer/dev/laravel/ui-2.5.0
Bump laravel/ui from 2.3.0 to 2.5.0
2020-11-07 14:51:00 +00:00
Henry Whitaker
dd7df0df81 Merge pull request #367 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-1.29.0
Bump sass from 1.26.10 to 1.29.0
2020-11-07 14:50:37 +00:00
Henry Whitaker
0e454f8143 Merge pull request #369 from henrywhitaker3/dependabot/npm_and_yarn/dev/laravel-mix-5.0.9 2020-11-07 14:49:27 +00:00
dependabot-preview[bot]
f61be56f2e Bump laravel-mix from 5.0.5 to 5.0.9
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 5.0.5 to 5.0.9.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Changelog](https://github.com/JeffreyWay/laravel-mix/blob/master/CHANGELOG.md)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v5.0.5...v5.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-06 07:40:50 +00:00
dependabot-preview[bot]
f33af5fc41 Bump sass from 1.26.10 to 1.29.0
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.10 to 1.29.0.
- [Release notes](https://github.com/sass/dart-sass/releases)
- [Changelog](https://github.com/sass/dart-sass/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sass/dart-sass/compare/1.26.10...1.29.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-05 07:51:28 +00:00
dependabot-preview[bot]
861d354d15 Bump laravel/ui from 2.3.0 to 2.5.0
Bumps [laravel/ui](https://github.com/laravel/ui) from 2.3.0 to 2.5.0.
- [Release notes](https://github.com/laravel/ui/releases)
- [Changelog](https://github.com/laravel/ui/blob/v2.5.0/CHANGELOG.md)
- [Commits](https://github.com/laravel/ui/compare/v2.3.0...v2.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 10:48:49 +00:00
dependabot-preview[bot]
07b419801c Bump @babel/preset-react from 7.10.4 to 7.12.5
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.10.4 to 7.12.5.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.12.5/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-04 07:28:45 +00:00
dependabot-preview[bot]
be2be4583c Bump sass-loader from 10.0.2 to 10.0.5
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.2 to 10.0.5.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.2...v10.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-03 07:50:01 +00:00
dependabot-preview[bot]
b05168ac6f Bump nunomaduro/larastan from 0.6.4 to 0.6.9
Bumps [nunomaduro/larastan](https://github.com/nunomaduro/larastan) from 0.6.4 to 0.6.9.
- [Release notes](https://github.com/nunomaduro/larastan/releases)
- [Changelog](https://github.com/nunomaduro/larastan/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/larastan/compare/v0.6.4...v0.6.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-02 09:44:54 +00:00
dependabot-preview[bot]
c70e7a26c4 Bump nunomaduro/collision from 4.2.0 to 4.3.0
Bumps [nunomaduro/collision](https://github.com/nunomaduro/collision) from 4.2.0 to 4.3.0.
- [Release notes](https://github.com/nunomaduro/collision/releases)
- [Changelog](https://github.com/nunomaduro/collision/blob/v4.3.0/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/collision/compare/v4.2.0...v4.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-30 09:38:47 +00:00
dependabot-preview[bot]
daf9975853 Bump fruitcake/laravel-cors from 2.0.2 to 2.0.3
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 2.0.2 to 2.0.3.
- [Release notes](https://github.com/fruitcake/laravel-cors/releases)
- [Changelog](https://github.com/fruitcake/laravel-cors/blob/master/changelog.md)
- [Commits](https://github.com/fruitcake/laravel-cors/compare/v2.0.2...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 09:14:04 +00:00
dependabot-preview[bot]
7a03c64ceb Bump fideloper/proxy from 4.4.0 to 4.4.1
Bumps [fideloper/proxy](https://github.com/fideloper/TrustedProxy) from 4.4.0 to 4.4.1.
- [Release notes](https://github.com/fideloper/TrustedProxy/releases)
- [Commits](https://github.com/fideloper/TrustedProxy/compare/4.4.0...4.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-23 09:12:36 +00:00
dependabot-preview[bot]
29a0b3d0a1 Bump chart.js from 2.9.3 to 2.9.4
Bumps [chart.js](https://github.com/chartjs/Chart.js) from 2.9.3 to 2.9.4.
- [Release notes](https://github.com/chartjs/Chart.js/releases)
- [Commits](https://github.com/chartjs/Chart.js/compare/v2.9.3...v2.9.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-19 16:24:45 +00:00
dependabot-preview[bot]
1c09d39b1e Bump react from 16.13.1 to 16.14.0
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) from 16.13.1 to 16.14.0.
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v16.14.0/packages/react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 10:02:53 +00:00
dependabot-preview[bot]
439c6322f2 Bump facade/ignition from 2.3.7 to 2.4.1
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.3.7 to 2.4.1.
- [Release notes](https://github.com/facade/ignition/releases)
- [Changelog](https://github.com/facade/ignition/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facade/ignition/compare/2.3.7...2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-15 09:24:12 +00:00
dependabot-preview[bot]
d093a89829 Bump bootstrap from 4.5.2 to 4.5.3
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-14 02:51:17 +00:00
dependabot-preview[bot]
6ffd59485a Bump dragonmantank/cron-expression from 2.3.0 to 2.3.1
Bumps [dragonmantank/cron-expression](https://github.com/dragonmantank/cron-expression) from 2.3.0 to 2.3.1.
- [Release notes](https://github.com/dragonmantank/cron-expression/releases)
- [Changelog](https://github.com/dragonmantank/cron-expression/blob/master/CHANGELOG.md)
- [Commits](https://github.com/dragonmantank/cron-expression/compare/v2.3.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 08:41:44 +00:00
dependabot-preview[bot]
7dd7cdda8c Bump guzzlehttp/guzzle from 7.0.1 to 7.2.0
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 7.0.1 to 7.2.0.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/master/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/7.0.1...7.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-12 10:39:41 +00:00
dependabot-preview[bot]
15e4537ea6 Bump laravel/framework from 7.28.1 to 7.28.4
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.28.1 to 7.28.4.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.28.1...v7.28.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 09:52:23 +00:00
dependabot-preview[bot]
4403cf161c Bump react-toastify from 6.0.8 to 6.0.9
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.8 to 6.0.9.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.8...v6.0.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-07 07:44:27 +00:00
dependabot-preview[bot]
7a950b838a Bump doctrine/dbal from 2.10.3 to 2.10.4
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 2.10.3 to 2.10.4.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/2.10.3...2.10.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 09:17:49 +00:00
Henry Whitaker
21d3aea934 Merge pull request #317 from henrywhitaker3/alpha
Fixed min setting bug
2020-09-11 01:26:35 +01:00
Henry Whitaker
342d3fabf4 Fixed min setting bug 2020-09-11 01:23:25 +01:00
Henry Whitaker
4b95cb12ef Merge pull request #315 from henrywhitaker3/alpha 2020-09-11 01:09:34 +01:00
Henry Whitaker
8ff87c2e7a Updated tests 2020-09-11 01:02:24 +01:00
Henry Whitaker
149c69ce64 Merge remote-tracking branch 'origin/alpha' into alpha 2020-09-11 00:56:59 +01:00
Henry Whitaker
933291c5fc Merge pull request #303 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-10.0.2
Bump sass-loader from 10.0.1 to 10.0.2
2020-09-11 00:56:48 +01:00
Henry Whitaker
29c36d88e2 Merge pull request #304 from henrywhitaker3/dependabot/composer/dev/fruitcake/laravel-cors-2.0.2
Bump fruitcake/laravel-cors from 2.0.1 to 2.0.2
2020-09-11 00:55:57 +01:00
Henry Whitaker
4b167af50e Merge pull request #305 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.3.7 2020-09-11 00:55:30 +01:00
Henry Whitaker
7d0ea79798 Merge pull request #306 from henrywhitaker3/dependabot/composer/dev/laravel-notification-channels/telegram-0.5.0
Bump laravel-notification-channels/telegram from 0.4.1 to 0.5.0
2020-09-11 00:55:13 +01:00
Henry Whitaker
375eab288d Merge pull request #307 from henrywhitaker3/dependabot/composer/dev/barryvdh/laravel-ide-helper-2.8.1
Bump barryvdh/laravel-ide-helper from 2.8.0 to 2.8.1
2020-09-11 00:54:54 +01:00
Henry Whitaker
8e2ddd974a Merge pull request #311 from henrywhitaker3/dependabot/composer/dev/tymon/jwt-auth-1.0.1
Bump tymon/jwt-auth from 1.0.0 to 1.0.1
2020-09-11 00:54:34 +01:00
Henry Whitaker
d78c3e2669 Merge pull request #313 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.28.1
Bump laravel/framework from 7.27.0 to 7.28.1
2020-09-11 00:53:38 +01:00
Henry Whitaker
a83d4e363b Merge pull request #314 from henrywhitaker3/dependabot/composer/dev/laravel/ui-2.3.0
Bump laravel/ui from 2.2.0 to 2.3.0
2020-09-11 00:53:18 +01:00
Henry Whitaker
334623454d Added General settings section & min value on widgets 2020-09-11 00:51:27 +01:00
dependabot-preview[bot]
a7aa3e7885 Bump laravel/ui from 2.2.0 to 2.3.0
Bumps [laravel/ui](https://github.com/laravel/ui) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/laravel/ui/releases)
- [Changelog](https://github.com/laravel/ui/blob/2.x/CHANGELOG.md)
- [Commits](https://github.com/laravel/ui/compare/v2.2.0...v2.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-10 08:54:23 +00:00
dependabot-preview[bot]
2e1022c116 Bump laravel/framework from 7.27.0 to 7.28.1
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.27.0 to 7.28.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/8.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.27.0...v7.28.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-10 08:51:58 +00:00
dependabot-preview[bot]
355d38acb7 Bump tymon/jwt-auth from 1.0.0 to 1.0.1
Bumps [tymon/jwt-auth](https://github.com/tymondesigns/jwt-auth) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/tymondesigns/jwt-auth/releases)
- [Commits](https://github.com/tymondesigns/jwt-auth/compare/1.0.0...1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-09 09:25:14 +00:00
dependabot-preview[bot]
1e9887ac46 Bump barryvdh/laravel-ide-helper from 2.8.0 to 2.8.1
Bumps [barryvdh/laravel-ide-helper](https://github.com/barryvdh/laravel-ide-helper) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/barryvdh/laravel-ide-helper/releases)
- [Changelog](https://github.com/barryvdh/laravel-ide-helper/blob/master/CHANGELOG.md)
- [Commits](https://github.com/barryvdh/laravel-ide-helper/compare/v2.8.0...v2.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-08 08:27:04 +00:00
dependabot-preview[bot]
8538dd231f Bump laravel-notification-channels/telegram from 0.4.1 to 0.5.0
Bumps [laravel-notification-channels/telegram](https://github.com/laravel-notification-channels/telegram) from 0.4.1 to 0.5.0.
- [Release notes](https://github.com/laravel-notification-channels/telegram/releases)
- [Changelog](https://github.com/laravel-notification-channels/telegram/blob/master/CHANGELOG.md)
- [Commits](https://github.com/laravel-notification-channels/telegram/compare/0.4.1...0.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-08 08:24:37 +00:00
dependabot-preview[bot]
5793140e89 Bump facade/ignition from 2.3.6 to 2.3.7
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.3.6 to 2.3.7.
- [Release notes](https://github.com/facade/ignition/releases)
- [Changelog](https://github.com/facade/ignition/blob/master/CHANGELOG.md)
- [Commits](https://github.com/facade/ignition/compare/2.3.6...2.3.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-08 08:23:14 +00:00
dependabot-preview[bot]
56ecff1a09 Bump fruitcake/laravel-cors from 2.0.1 to 2.0.2
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/fruitcake/laravel-cors/releases)
- [Changelog](https://github.com/fruitcake/laravel-cors/blob/master/changelog.md)
- [Commits](https://github.com/fruitcake/laravel-cors/compare/v2.0.1...v2.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-08 08:21:46 +00:00
dependabot-preview[bot]
eff8f92016 Bump sass-loader from 10.0.1 to 10.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.0.1 to 10.0.2.
- [Release notes](https://github.com/webpack-contrib/sass-loader/releases)
- [Changelog](https://github.com/webpack-contrib/sass-loader/blob/master/CHANGELOG.md)
- [Commits](https://github.com/webpack-contrib/sass-loader/compare/v10.0.1...v10.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-07 16:29:12 +00:00
20 changed files with 2239 additions and 2223 deletions

View File

@@ -1,6 +1,6 @@
# Speedtest Tracker
[![Docker pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker?style=flat-square)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Stable?label=master&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Dev?label=dev&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![last_commit](https://img.shields.io/github/last-commit/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [![issues](https://img.shields.io/github/issues/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) [![commit_freq](https://img.shields.io/github/commit-activity/m/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) ![version](https://img.shields.io/badge/version-v1.9.6-success?style=flat-square) [![license](https://img.shields.io/github/license/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/blob/master/LICENSE)
[![Docker pulls](https://img.shields.io/docker/pulls/henrywhitaker3/speedtest-tracker?style=flat-square)](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Stable?label=master&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![GitHub Workflow Status](https://img.shields.io/github/workflow/status/henrywhitaker3/Speedtest-Tracker/Dev?label=dev&logo=github&style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/actions) [![last_commit](https://img.shields.io/github/last-commit/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) [![issues](https://img.shields.io/github/issues/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/issues) [![commit_freq](https://img.shields.io/github/commit-activity/m/henrywhitaker3/Speedtest-Tracker?style=flat-square)](https://github.com/henrywhitaker3/Speedtest-Tracker/commits) ![version](https://img.shields.io/badge/version-v1.10.0-success?style=flat-square) [![license](https://img.shields.io/github/license/henrywhitaker3/Speedtest-Tracker?style=flat-square)](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 [Ookla's 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.

View File

@@ -7,7 +7,8 @@ use App\Setting;
use Cache;
use Carbon\Carbon;
class SettingsHelper {
class SettingsHelper
{
/**
* Get a Setting object by name
@@ -19,9 +20,9 @@ class SettingsHelper {
{
$name = Setting::where('name', $name)->get();
if(sizeof($name) == 0) {
if (sizeof($name) == 0) {
return false;
} else if(sizeof($name) == 1) {
} else if (sizeof($name) == 1) {
return $name[0];
} else {
$name = $name->keyBy('name');
@@ -40,11 +41,11 @@ class SettingsHelper {
{
$setting = SettingsHelper::get($name);
if($value === false) {
if ($value === false) {
$value = "0";
}
if($setting !== false) {
if ($setting !== false) {
$setting->value = $value;
$setting->save();
} else {
@@ -54,7 +55,7 @@ class SettingsHelper {
]);
}
if($name == 'show_failed_tests_on_graph') {
if ($name == 'show_failed_tests_on_graph') {
Cache::flush();
}
@@ -69,13 +70,13 @@ class SettingsHelper {
public static function getBase()
{
$base = env('BASE_PATH', '/');
if($base == '') {
if ($base == '') {
$base = '/';
} else {
if($base[0] != '/') {
if ($base[0] != '/') {
$base = '/' . $base;
}
if($base[-1] != '/') {
if ($base[-1] != '/') {
$base = $base . '/';
}
}
@@ -95,7 +96,7 @@ class SettingsHelper {
// Try exact key
$val = exec('echo $' . $key);
if($val == "") {
if ($val == "") {
array_push($results, true);
} else {
array_push($results, false);
@@ -104,25 +105,25 @@ class SettingsHelper {
// Try key all caps
$val = exec('echo $' . strtoupper($key));
if($val == "") {
if ($val == "") {
array_push($results, true);
} else {
array_push($results, false);
}
if(env($key, false) == false) {
if (env($key, false) == false) {
array_push($results, true);
} else {
array_push($results, false);
}
if(env(strtoupper($key), false) == false) {
if (env(strtoupper($key), false) == false) {
array_push($results, true);
} else {
array_push($results, false);
}
if(in_array(false, $results)) {
if (in_array(false, $results)) {
return false;
}
@@ -138,6 +139,11 @@ class SettingsHelper {
{
return [
'base' => SettingsHelper::getBase(),
'widgets' => [
'show_average' => (bool)SettingsHelper::get('show_average')->value,
'show_max' => (bool)SettingsHelper::get('show_max')->value,
'show_min' => (bool)SettingsHelper::get('show_min')->value,
],
'graphs' => [
'download_upload_graph_enabled' => SettingsHelper::get('download_upload_graph_enabled'),
'download_upload_graph_width' => SettingsHelper::get('download_upload_graph_width'),
@@ -163,15 +169,15 @@ class SettingsHelper {
*/
public static function testNotification($agent = true)
{
$agents = [ 'slack', 'telegram' ];
$agents = ['slack', 'telegram'];
if($agent === true) {
if ($agent === true) {
event(new TestNotificationEvent($agents));
return true;
}
if(in_array($agent, $agents)) {
event(new TestNotificationEvent([ $agent ]));
if (in_array($agent, $agents)) {
event(new TestNotificationEvent([$agent]));
return true;
}
@@ -188,14 +194,14 @@ class SettingsHelper {
'telegram_chat_id' => SettingsHelper::get('telegram_chat_id')->value,
];
foreach($settings as $key => $value) {
foreach ($settings as $key => $value) {
$key = 'integrations.' . $key;
if($value === "") {
if ($value === "") {
$value = null;
}
config()->set([ $key => $value ]);
config()->set([$key => $value]);
}
}
}

View File

@@ -18,9 +18,9 @@ class SpeedtestController extends Controller
{
public function __construct()
{
if((bool)SettingsHelper::get('auth')->value === true) {
if ((bool)SettingsHelper::get('auth')->value === true) {
$this->middleware('auth:api')
->only([ 'run', 'delete', 'deleteAll' ]);
->only(['run', 'delete', 'deleteAll']);
}
}
@@ -32,7 +32,7 @@ class SpeedtestController extends Controller
public function index()
{
$data = Speedtest::orderBy('created_at', 'desc')
->paginate();
->paginate();
return response()->json([
'method' => 'index of speedtests',
@@ -49,12 +49,12 @@ class SpeedtestController extends Controller
public function time($days)
{
$rule = [
'days' => [ 'required', 'integer' ],
'days' => ['required', 'integer'],
];
$validator = Validator::make([ 'days' => $days ], $rule);
$validator = Validator::make(['days' => $days], $rule);
if($validator->fails()) {
if ($validator->fails()) {
return response()->json([
'method' => 'get speedtests in last x days',
'error' => $validator->errors(),
@@ -65,16 +65,16 @@ class SpeedtestController extends Controller
$data = Cache::remember('speedtest-days-' . $days, $ttl, function () use ($days) {
$showFailed = (bool)SettingsHelper::get('show_failed_tests_on_graph')->value;
if($showFailed === true) {
if ($showFailed === true) {
return Speedtest::where('created_at', '>=', Carbon::now()->subDays($days))
->orderBy('created_at', 'asc')
->get();
->orderBy('created_at', 'asc')
->get();
}
return Speedtest::where('created_at', '>=', Carbon::now()->subDays($days))
->where('failed', false)
->orderBy('created_at', 'asc')
->get();
->where('failed', false)
->orderBy('created_at', 'asc')
->get();
});
return response()->json([
@@ -93,12 +93,12 @@ class SpeedtestController extends Controller
public function fail($days)
{
$rule = [
'days' => [ 'required', 'integer' ],
'days' => ['required', 'integer'],
];
$validator = Validator::make([ 'days' => $days ], $rule);
$validator = Validator::make(['days' => $days], $rule);
if($validator->fails()) {
if ($validator->fails()) {
return response()->json([
'method' => 'get speedtests in last x days',
'error' => $validator->errors(),
@@ -122,20 +122,38 @@ class SpeedtestController extends Controller
public function latest()
{
$data = SpeedtestHelper::latest();
$avg = Speedtest::select(DB::raw('AVG(ping) as ping, AVG(download) as download, AVG(upload) as upload'))
->where('failed', false)
->get();
$max = Speedtest::select(DB::raw('MAX(ping) as ping, MAX(download) as download, MAX(upload) as upload'))
->where('failed', false)
->get();
if($data) {
return response()->json([
'method' => 'get latest speedtest',
'data' => $data,
'average' => $avg[0],
'max' => $max[0],
], 200);
$response = [
'method' => 'get latest speedtest',
'data' => $data,
];
if (SettingsHelper::get('show_average')) {
$avg = Speedtest::select(DB::raw('AVG(ping) as ping, AVG(download) as download, AVG(upload) as upload'))
->where('failed', false)
->first()
->toArray();
$response['average'] = $avg;
}
if (SettingsHelper::get('show_max')) {
$max = Speedtest::select(DB::raw('MAX(ping) as ping, MAX(download) as download, MAX(upload) as upload'))
->where('failed', false)
->first()
->toArray();
$response['maximum'] = $max;
}
if (SettingsHelper::get('show_min')) {
$min = Speedtest::select(DB::raw('MIN(ping) as ping, MIN(download) as download, MIN(upload) as upload'))
->where('failed', false)
->first()
->toArray();
$response['minimum'] = $min;
}
if ($data) {
return response()->json($response, 200);
} else {
return response()->json([
'method' => 'get latest speedtest',
@@ -158,7 +176,7 @@ class SpeedtestController extends Controller
'method' => 'run speedtest',
'data' => 'a new speedtest has been added to the queue'
], 200);
} catch(Exception $e) {
} catch (Exception $e) {
return response()->json([
'method' => 'run speedtest',
'error' => $e
@@ -175,7 +193,7 @@ class SpeedtestController extends Controller
{
$ret = SpeedtestHelper::deleteAll();
if($ret['success']) {
if ($ret['success']) {
return response()->json([
'method' => 'delete all speedtests from the database',
'success' => true

View File

@@ -1,4 +1,46 @@
{
"1.10.0": [
{
"description": "Added automated build for ARM.",
"link": ""
},
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.10": [
{
"description": "Laravel will now log into daily files and logs will only be kept for 7 days.",
"link": ""
}
],
"1.9.9": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.8": [
{
"description": "Fixed bug with minimum display setting.",
"link": ""
}
],
"1.9.7": [
{
"description": "Added option to display minimum values on the top widgets.",
"link": ""
},
{
"description": "New general settings section.",
"link": ""
},
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.6": [
{
"description": "Clear the cache on restore.",

View File

@@ -15,7 +15,7 @@
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0",
"henrywhitaker3/healthchecks-io": "^1.0",
"laravel-notification-channels/telegram": "^0.4.0",
"laravel-notification-channels/telegram": "^0.5.0",
"laravel/framework": "^7.0",
"laravel/slack-notification-channel": "^2.0",
"laravel/tinker": "^2.0",

1903
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -37,7 +37,7 @@ return [
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single'],
'channels' => ['daily'],
'ignore_exceptions' => false,
],
@@ -51,7 +51,7 @@ return [
'driver' => 'daily',
'path' => storage_path('logs/laravel.log'),
'level' => 'debug',
'days' => 14,
'days' => 7,
],
'slack' => [

View File

@@ -7,7 +7,7 @@ return [
|--------------------------------------------------------------------------
*/
'version' => '1.9.6',
'version' => '1.10.0',
/*
|--------------------------------------------------------------------------

View File

@@ -0,0 +1,56 @@
<?php
use App\Helpers\SettingsHelper;
use App\Setting;
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
class AddWidgetCardSettings extends Migration
{
/**
* Run the migrations.
*
* @return void
*/
public function up()
{
if (!SettingsHelper::get('show_average')) {
Setting::create([
'name' => 'show_average',
'value' => true,
'description' => 'If enabled, the average value for speedtests will be shown in the widgets.'
]);
}
if (!SettingsHelper::get('show_max')) {
Setting::create([
'name' => 'show_max',
'value' => true,
'description' => 'If enabled, the maximum value for speedtests will be shown in the widgets.'
]);
}
if (!SettingsHelper::get('show_min')) {
Setting::create([
'name' => 'show_min',
'value' => true,
'description' => 'If enabled, the minimum value for speedtests will be shown in the widgets.'
]);
}
}
/**
* Reverse the migrations.
*
* @return void
*/
public function down()
{
Setting::whereIn('name', [
'show_average',
'show_max',
'show_min',
])->delete();
}
}

2096
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -10,29 +10,29 @@
"production": "cross-env NODE_ENV=production node_modules/webpack/bin/webpack.js --no-progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js"
},
"devDependencies": {
"@babel/preset-react": "^7.10.4",
"axios": "^0.20",
"bootstrap": "^4.5.2",
"axios": "^0.21",
"@babel/preset-react": "^7.12.10",
"bootstrap": "^4.5.3",
"cross-env": "^7.0",
"jquery": "^3.5",
"laravel-mix": "^5.0.5",
"laravel-mix": "^5.0.9",
"lodash": "^4.17.20",
"popper.js": "^1.12",
"react": "^16.2.0",
"react-dom": "^16.2.0",
"resolve-url-loader": "^3.1.0",
"sass": "^1.26.10",
"sass-loader": "^10.0.1"
"react": "^16.14.0",
"react-dom": "^16.14.0",
"resolve-url-loader": "^3.1.2",
"sass-loader": "^10.1.0",
"sass": "^1.30.0"
},
"dependencies": {
"@babel/plugin-proposal-class-properties": "^7.10.4",
"chart.js": "^2.9.3",
"@babel/plugin-proposal-class-properties": "^7.12.1",
"chart.js": "^2.9.4",
"csv-file-validator": "^1.8.0",
"js-cookie": "^2.2.1",
"react-bootstrap": "^1.3.0",
"react-chartjs-2": "^2.10.0",
"react-bootstrap": "^1.4.0",
"react-chartjs-2": "^2.11.1",
"react-router": "^5.2.0",
"react-router-dom": "^5.2.0",
"react-toastify": "^6.0.8"
"react-toastify": "^6.2.0"
}
}

4
public/css/app.css vendored

File diff suppressed because one or more lines are too long

2
public/js/app.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -12,7 +12,7 @@ License: MIT
*/
/*!
* Bootstrap v4.5.2 (https://getbootstrap.com/)
* Bootstrap v4.5.3 (https://getbootstrap.com/)
* Copyright 2011-2020 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
*/
@@ -24,9 +24,9 @@ License: MIT
*/
/*!
* Chart.js v2.9.3
* Chart.js v2.9.4
* https://www.chartjs.org
* (c) 2019 Chart.js Contributors
* (c) 2020 Chart.js Contributors
* Released under the MIT License
*/
@@ -81,15 +81,6 @@ License: MIT
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
* react-is.production.min.js
*
@@ -99,7 +90,16 @@ License: MIT
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.13.1
/** @license React v16.14.0
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/** @license React v16.14.0
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
@@ -132,3 +132,7 @@ License: MIT
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
//! moment.js
//! moment.js locale configuration

View File

@@ -131,9 +131,7 @@ export default class LatestResults extends Component {
>
<Widget
title="Ping"
value={parseFloat(data.data.ping).toFixed(1)}
avg={parseFloat(data.average.ping).toFixed(1)}
max={parseFloat(data.max.ping).toFixed(1)}
data={data}
failed={data.data.failed}
unit="ms"
icon="ping"
@@ -147,9 +145,7 @@ export default class LatestResults extends Component {
>
<Widget
title="Download"
value={parseFloat(data.data.download).toFixed(1)}
avg={parseFloat(data.average.download).toFixed(1)}
max={parseFloat(data.max.download).toFixed(1)}
data={data}
failed={data.data.failed}
unit="Mbit/s"
icon="dl"
@@ -163,9 +159,7 @@ export default class LatestResults extends Component {
>
<Widget
title="Upload"
value={parseFloat(data.data.upload).toFixed(1)}
avg={parseFloat(data.average.upload).toFixed(1)}
max={parseFloat(data.max.upload).toFixed(1)}
data={data}
failed={data.data.failed}
unit="Mbit/s"
icon="ul"

View File

@@ -8,38 +8,88 @@ export default class Widget extends Component {
this.state = {
title: this.props.title,
value: this.props.value,
unit: this.props.unit,
icon: this.props.icon,
avg: this.props.avg,
max: this.props.max,
failed: this.props.failed,
data: this.props.data
}
}
parseData(title, data) {
var returnData = {};
if(title == 'Ping') {
returnData.value = parseFloat(data.data.ping).toFixed(1);
if(window.config.widgets.show_average) {
returnData.avg = parseFloat(data.average.ping).toFixed(1);
}
if(window.config.widgets.show_max) {
returnData.max = parseFloat(data.maximum.ping).toFixed(1);
}
if(window.config.widgets.show_min) {
returnData.min = parseFloat(data.minimum.ping).toFixed(1);
}
}
if(title == 'Upload') {
returnData.value = parseFloat(data.data.upload).toFixed(1);
if(window.config.widgets.show_average) {
returnData.avg = parseFloat(data.average.upload).toFixed(1);
}
if(window.config.widgets.show_max) {
returnData.max = parseFloat(data.maximum.upload).toFixed(1);
}
if(window.config.widgets.show_min) {
returnData.min = parseFloat(data.minimum.upload).toFixed(1);
}
}
if(title == 'Download') {
returnData.value = parseFloat(data.data.download).toFixed(1);
if(window.config.widgets.show_average) {
returnData.avg = parseFloat(data.average.download).toFixed(1);
}
if(window.config.widgets.show_max) {
returnData.max = parseFloat(data.maximum.download).toFixed(1);
}
if(window.config.widgets.show_min) {
returnData.min = parseFloat(data.minimum.download).toFixed(1);
}
}
return returnData;
}
componentDidUpdate = () => {
if(this.props.title != this.state.title || this.props.value != this.state.value || this.props.unit != this.state.unit || this.props.icon != this.state.icon || this.props.avg != this.state.avg || this.props.max != this.state.max || this.props.failed != this.state.failed) {
if(this.props.title != this.state.title || this.props.data != this.state.data || this.props.unit != this.state.unit || this.props.icon != this.state.icon || this.props.failed != this.state.failed) {
this.setState({
title: this.props.title,
value: this.props.value,
unit: this.props.unit,
icon: this.props.icon,
avg: this.props.avg,
max: this.props.max,
failed: this.props.failed,
data: this.props.data
});
}
}
render() {
var title = this.state.title;
var value = this.state.value;
var unit = this.state.unit;
var icon = this.state.icon;
var max = this.state.max;
var avg = this.state.avg;
var failed = Boolean(Number(this.state.failed));
var data = this.parseData(title, this.state.data);
switch(icon) {
case 'ping':
icon = <span className="ti-pulse icon text-success"></span>;
@@ -63,17 +113,30 @@ export default class Widget extends Component {
</div>
<div className="text-truncate">
<h3 className="d-inline">{(!failed) ? value : <span className="ti-close text-danger"></span> }</h3>
<h3 className="d-inline">{(!failed) ? data.value : <span className="ti-close text-danger"></span> }</h3>
<p className="d-inline ml-2">{unit} (current)</p>
</div>
<div className="text-muted text-truncate">
<h5 className="d-inline">{avg}</h5>
<p className="d-inline ml-2">{unit} (average)</p>
</div>
<div className="text-muted text-truncate">
<h5 className="d-inline">{max}</h5>
<p className="d-inline ml-2">{unit} (maximum)</p>
</div>
{window.config.widgets.show_average &&
<div className="text-muted text-truncate">
<h5 className="d-inline">{data.avg}</h5>
<p className="d-inline ml-2">{unit} (average)</p>
</div>
}
{window.config.widgets.show_max &&
<div className="text-muted text-truncate">
<h5 className="d-inline">{data.max}</h5>
<p className="d-inline ml-2">{unit} (maximum)</p>
</div>
}
{window.config.widgets.show_min &&
<div className="text-muted text-truncate">
<h5 className="d-inline">{data.min}</h5>
<p className="d-inline ml-2">{unit} (minimum)</p>
</div>
}
</div>
</div>
</Card.Body>

View File

@@ -47,6 +47,10 @@ export default class SettingWithModal extends Component {
if(this.state.autoClose) {
this.toggleShow();
}
Axios.get('api/settings/config')
.then((resp) => {
window.config = resp.data;
})
})
.catch((err) => {
if(err.response.status == 422) {
@@ -194,7 +198,7 @@ export default class SettingWithModal extends Component {
</Col>
{e.description == null &&
<Col md={md} sm={sm}>
<p>{e.obj.description}</p>
<p dangerouslySetInnerHTML={{ __html: e.obj.description}}></p>
</Col>
}
</Row>

View File

@@ -59,10 +59,28 @@ export default class Settings extends Component {
return (
<Row>
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
<Setting name={e.schedule.name} value={e.schedule.value} description={e.schedule.description} />
</Col>
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
<Setting name={e.server.name} value={e.server.value} description={e.server.description} />
<SettingWithModal title="General settings" description="Configure general settings for the app." autoClose={true} settings={[
{
obj: e.schedule,
type: 'text'
},
{
obj: e.server,
type: 'text'
},
{
obj: e.show_average,
type: 'checkbox'
},
{
obj: e.show_max,
type: 'checkbox'
},
{
obj: e.show_min,
type: 'checkbox'
},
]} />
</Col>
<Col lg={{ span: 4 }} md={{ span: 6 }} sm={{ span: 12 }}>
<SettingWithModal title="Graph settings" description="Control settings for the graphs." autoClose={true} settings={[

View File

@@ -27,13 +27,13 @@ class APISpeedtestTest extends TestCase
$dl = [];
$ul = [];
for($i = 0; $i < 3; $i++) {
for ($i = 0; $i < 3; $i++) {
$pingVal = $faker->randomFloat();
array_push($ping,$pingVal);
array_push($ping, $pingVal);
$dlVal = $faker->randomFloat();
array_push($dl,$dlVal);
array_push($dl, $dlVal);
$ulVal = $faker->randomFloat();
array_push($ul,$ulVal);
array_push($ul, $ulVal);
Speedtest::create([
'ping' => $pingVal,
@@ -70,7 +70,12 @@ class APISpeedtestTest extends TestCase
'download',
'upload',
],
'max' => [
'maximum' => [
'ping',
'download',
'upload',
],
'minimum' => [
'ping',
'download',
'upload',

View File

@@ -19,7 +19,7 @@ class LatestTest extends TestCase
*/
private $controller;
public function setUp() : void
public function setUp(): void
{
parent::setUp();
@@ -53,6 +53,7 @@ class LatestTest extends TestCase
$this->assertArrayHasKey('data', $resp);
$this->assertArrayHasKey('average', $resp);
$this->assertArrayHasKey('max', $resp);
$this->assertArrayHasKey('maximum', $resp);
$this->assertArrayHasKey('minimum', $resp);
}
}