Compare commits

...

710 Commits

Author SHA1 Message Date
Henry Whitaker
603f618720 Add for master also 2021-09-10 20:03:12 +01:00
Henry Whitaker
fa41bdd40d Move to dev 2021-09-10 20:01:30 +01:00
Henry Whitaker
9d2f1858a0 Fix the things 2021-09-10 19:53:36 +01:00
Henry Whitaker
6c6a12bb5f ugh 2021-09-10 19:51:34 +01:00
Henry Whitaker
5885824c54 Fix secret name 2021-09-10 19:49:26 +01:00
Henry Whitaker
ea78415157 Fix branch selector 2021-09-10 19:47:32 +01:00
Henry Whitaker
efecd28afb Add build step to workflow 2021-09-10 19:47:08 +01:00
Henry Whitaker
8d32d06768 Merge remote-tracking branch 'origin/master' into alpha 2021-09-10 19:26:31 +01:00
Henry Whitaker
8cb2e8a323 Merge pull request #591 from henrywhitaker3/dependabot/add-v2-config-file
Upgrade to GitHub-native Dependabot
2021-09-10 19:25:50 +01:00
Henry Whitaker
58e82dc9a8 Actually pass days to the action 2021-09-10 18:58:02 +01:00
Henry Whitaker
0dff534dfd Also do the arm dockerfile 2021-09-10 18:54:46 +01:00
Henry Whitaker
fba69514b2 undo dumb thing 2021-09-10 18:50:40 +01:00
Henry Whitaker
1fcaa795cd Chmod +x the artsan file 2021-09-10 18:48:36 +01:00
Henry Whitaker
858dcc1f7b Merge pull request #685 from henrywhitaker3/fix/680/last-x-days
#680: Fix issue where the data would refresh before the react state had updated
2021-09-10 18:41:40 +01:00
Henry Whitaker
283de67e17 Merge pull request #686 from henrywhitaker3/feat/sort-out-dockerfiles
Feat/sort out dockerfiles
2021-09-10 18:40:35 +01:00
Henry Whitaker
d92dd33b84 Update install type 2021-09-10 18:38:50 +01:00
Henry Whitaker
0c8e074a86 Fix the eula stuff 2021-09-10 18:38:26 +01:00
Henry Whitaker
0384f61f15 Added dockerfiles to the main branches 2021-09-10 18:30:50 +01:00
Henry Whitaker
98e037bf97 Update version #s 2021-09-10 18:20:03 +01:00
Henry Whitaker
0b1645cda0 Fix issue where the data would refresh before the react state had updated 2021-09-10 18:16:17 +01:00
Henry Whitaker
370c73e1a5 Merge pull request #671 from henrywhitaker3/dev 2021-08-28 18:33:10 +01:00
Henry Whitaker
9fb573e785 Fix workflows 2021-08-28 18:31:53 +01:00
dependabot-preview[bot]
f6bb77ce71 Upgrade to GitHub-native Dependabot 2021-04-28 22:18:14 +00:00
Henry Whitaker
219c5d6b7a Merge pull request #563 from henrywhitaker3/alpha
Add InfluxDB integration
2021-04-11 10:35:08 +01:00
Henry Whitaker
ce549b5b7a Try to stop chrome form autofilling 2021-04-11 10:31:28 +01:00
Henry Whitaker
a962865867 Add db field to settings page 2021-04-11 09:40:30 +01:00
Henry Whitaker
48fbbc3713 Added version 1 fields to settings page 2021-04-11 09:13:13 +01:00
Henry Whitaker
f809f816c1 Used a mock ooklatester in tests
Speed up test suite
2021-04-11 08:46:01 +01:00
Henry Whitaker
91b7ec7fab Added helm chart to readme 2021-04-10 23:48:29 +01:00
Henry Whitaker
5dbc6b900a Added username/password fields 2021-04-10 23:43:35 +01:00
Henry Whitaker
4dc3e5b09c Move influx interface into interfaces folder 2021-04-10 22:57:11 +01:00
Henry Whitaker
7cf8dfc0b2 Moved auth models into right folder 2021-04-10 22:55:19 +01:00
Henry Whitaker
99c64af482 Move models into Models dir 2021-04-10 22:32:51 +01:00
Henry Whitaker
0b8ccfd8d3 Added speedtest seeder 2021-04-10 22:27:31 +01:00
Henry Whitaker
7b16f1ab09 Remove influx console command 2021-04-10 22:08:07 +01:00
Henry Whitaker
845359726d Formatting 2021-04-10 22:02:27 +01:00
Henry Whitaker
4e6049b7ec Remove logging 2021-04-10 21:58:41 +01:00
Henry Whitaker
5db1106c37 Adds support for influxdb version 1 2021-04-10 21:57:31 +01:00
Henry Whitaker
cb5abcfa98 Merge branch 'alpha' into dev 2021-04-10 16:35:20 +01:00
Henry Whitaker
76e21bfe9d Remove clockwork 2021-04-10 16:33:00 +01:00
Henry Whitaker
dd871606a4 Merge pull request #521 from henrywhitaker3/alpha
Bunch of updates
2021-04-10 13:56:47 +01:00
Henry Whitaker
492b5df6ae Auth on delete 2021-04-10 13:51:56 +01:00
Henry Whitaker
f92c040f63 Fix itny bugs 2021-04-10 13:48:03 +01:00
Henry Whitaker
b82b7c6307 Timeout accept eula 2021-04-10 13:20:51 +01:00
Henry Whitaker
20b3cb98b6 Don't store settings in static array 2021-04-10 13:14:39 +01:00
Henry Whitaker
bed7e841c2 Move back to memory db 2021-04-10 13:06:53 +01:00
Henry Whitaker
1d9fba6421 Fix tests and update version number 2021-04-10 13:02:31 +01:00
Henry Whitaker
78fcf49688 Fix migrations for new cast 2021-04-10 12:25:09 +01:00
Henry Whitaker
b0659fd0d3 Fix schedule for timezones
Re #545
2021-04-10 12:10:57 +01:00
Henry Whitaker
5e2cc96830 Make General the default tab again 2021-04-10 11:59:55 +01:00
Henry Whitaker
39b3637b44 Merge branch 'add-column-options' into alpha
re #551
2021-04-10 11:57:36 +01:00
Henry Whitaker
9870aeb9ba Styled columns and refresh config on save 2021-04-10 11:57:01 +01:00
Henry Whitaker
fe871a7d58 Added multi droppable handling
Now just need to style it
2021-04-10 11:45:27 +01:00
Henry Whitaker
c9e86ac5aa Added sortable list for visible columns
Need to add handling for multiple lists on the page
2021-04-10 11:30:39 +01:00
Henry Whitaker
b232c21ae1 Add hidden columns setting 2021-04-10 11:25:59 +01:00
Henry Whitaker
305e4bb17f Order/location of columns is now variable 2021-04-10 11:22:37 +01:00
Henry Whitaker
0b593e60b4 Added delete button for failed tests
Re #556
2021-04-10 09:22:49 +01:00
Henry Whitaker
d91a5ef0a4 Update workflow 2021-03-07 14:12:13 +00:00
Henry Whitaker
a71356f197 Fix some tests 2021-03-07 14:05:41 +00:00
Henry Whitaker
ac4fd6cb20 Use them 2021-03-07 13:46:53 +00:00
Henry Whitaker
2861196cff Commands now use provider DI 2021-03-07 13:45:29 +00:00
Henry Whitaker
85d2d87e53 Changelog etc 2021-03-07 13:41:05 +00:00
Henry Whitaker
a45f52f7b3 Formatting 2021-03-07 13:40:47 +00:00
Henry Whitaker
2d60f1c81d Update the text for server selection
re #509
2021-03-07 12:20:27 +00:00
Henry Whitaker
ce4913afa6 Grab all stats data in one go 2021-03-07 12:15:55 +00:00
Henry Whitaker
2ed811e949 Merge pull request #520 from henrywhitaker3/dev 2021-03-07 11:03:27 +00:00
Henry Whitaker
75c5a49398 Moved more stuff into actions, and made one endpoint for homepage data 2021-03-07 10:43:07 +00:00
Henry Whitaker
a2d8886bae Moved speedtest logic into interface 2021-03-07 10:26:09 +00:00
Henry Whitaker
ba8f82aa98 Ignore file from clockwork 2021-03-07 09:53:01 +00:00
Henry Whitaker
1fd033b3c1 Grab all settings instead of new query for each one 2021-03-07 09:46:44 +00:00
Henry Whitaker
a170a96ced Upgrade to laravel 8 2021-03-07 09:46:28 +00:00
Henry Whitaker
99d80ed235 Merge pull request #517 from henrywhitaker3/alpha 2021-03-07 09:14:04 +00:00
Henry Whitaker
9541117125 Update phpunit xml 2021-03-07 09:10:49 +00:00
Henry Whitaker
db7e307b20 workflow update 2021-03-07 09:02:29 +00:00
Henry Whitaker
e90619b536 Add php version 2021-03-07 09:00:13 +00:00
Henry Whitaker
fa58ab0168 again 2021-03-07 08:58:31 +00:00
Henry Whitaker
c98ddc74c1 Just nuked it this time 2021-03-07 08:53:37 +00:00
Henry Whitaker
2d6e00f51b Fix the fucking lock file 2021-03-07 08:50:25 +00:00
Henry Whitaker
744f045ccf Update stuff 2021-03-07 08:48:35 +00:00
Henry Whitaker
56e3b15e75 Merge pull request #516 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.5.14 2021-03-07 08:40:33 +00:00
Henry Whitaker
8468ffc022 Merge branch 'alpha' into dependabot/composer/dev/facade/ignition-2.5.14 2021-03-07 08:40:26 +00:00
Henry Whitaker
7fece6fd89 Merge pull request #514 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-bootstrap-1.5.1
Bump react-bootstrap from 1.4.0 to 1.5.1
2021-03-07 08:38:51 +00:00
Henry Whitaker
c5c3a54809 Merge pull request #513 from henrywhitaker3/dependabot/composer/dev/laravel/tinker-2.6.1 2021-03-07 08:38:36 +00:00
Henry Whitaker
2837f9f031 Merge branch 'alpha' into dependabot/composer/dev/laravel/tinker-2.6.1 2021-03-07 08:38:22 +00:00
Henry Whitaker
d1efe9a166 Merge pull request #508 from henrywhitaker3/dependabot/composer/dev/mockery/mockery-1.4.3
Bump mockery/mockery from 1.4.2 to 1.4.3
2021-03-07 08:36:48 +00:00
Henry Whitaker
be2c70605e Merge pull request #506 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/plugin-proposal-class-properties-7.13.0
Bump @babel/plugin-proposal-class-properties from 7.12.1 to 7.13.0
2021-03-07 08:36:34 +00:00
Henry Whitaker
e21ce23bbe Merge pull request #505 from henrywhitaker3/dependabot/npm_and_yarn/dev/lodash-4.17.21
Bump lodash from 4.17.20 to 4.17.21
2021-03-07 08:36:18 +00:00
Henry Whitaker
6b7bbf089f Merge pull request #503 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-1.32.8 2021-03-07 08:36:02 +00:00
Henry Whitaker
cee8a887ef Merge branch 'alpha' into dependabot/npm_and_yarn/dev/sass-1.32.8 2021-03-07 08:35:56 +00:00
Henry Whitaker
dcd3381259 Merge pull request #490 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/preset-react-7.12.13 2021-03-07 08:34:59 +00:00
Henry Whitaker
dab973dbf8 Merge branch 'alpha' into dependabot/npm_and_yarn/dev/babel/preset-react-7.12.13 2021-03-07 08:34:52 +00:00
Henry Whitaker
0c23b16164 Merge pull request #488 from henrywhitaker3/dependabot/composer/dev/phpunit/phpunit-9.5.2 2021-03-07 08:34:14 +00:00
Henry Whitaker
02f76ca617 Merge branch 'alpha' into dependabot/composer/dev/phpunit/phpunit-9.5.2 2021-03-07 08:34:08 +00:00
Henry Whitaker
11fb44b789 Merge pull request #486 from henrywhitaker3/dependabot/composer/laravel/framework-7.30.4
Bump laravel/framework from 7.30.0 to 7.30.4
2021-03-07 08:32:57 +00:00
Henry Whitaker
715dac7828 Merge pull request #484 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.30.4
[Security] Bump laravel/framework from 7.30.0 to 7.30.4
2021-03-07 08:32:44 +00:00
Henry Whitaker
9b4a0afda0 Merge pull request #482 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-toastify-7.0.3
Bump react-toastify from 6.2.0 to 7.0.3
2021-03-07 08:32:24 +00:00
Henry Whitaker
da8e7f409c Merge pull request #481 from henrywhitaker3/dependabot/composer/dev/nunomaduro/larastan-0.7.0 2021-03-07 08:32:04 +00:00
Henry Whitaker
676df45ae9 Merge branch 'alpha' into dependabot/composer/dev/nunomaduro/larastan-0.7.0 2021-03-07 08:31:57 +00:00
Henry Whitaker
2f8d12dba1 Merge pull request #474 from henrywhitaker3/dependabot/composer/dev/laravel/slack-notification-channel-2.3.1
Bump laravel/slack-notification-channel from 2.3.0 to 2.3.1
2021-03-07 08:30:51 +00:00
Henry Whitaker
4929d0efac Merge pull request #472 from henrywhitaker3/dependabot/composer/dev/nunomaduro/collision-5.3.0
Bump nunomaduro/collision from 4.3.0 to 5.3.0
2021-03-07 08:30:37 +00:00
Henry Whitaker
bee655dd8f Merge pull request #466 from henrywhitaker3/dependabot/npm_and_yarn/dev/bootstrap-4.6.0
Bump bootstrap from 4.5.3 to 4.6.0
2021-03-07 08:30:21 +00:00
Henry Whitaker
32bcde92bb Merge pull request #455 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-10.1.1
Bump sass-loader from 10.1.0 to 10.1.1
2021-03-07 08:30:04 +00:00
Henry Whitaker
f412dc70e6 Merge pull request #446 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-and-react-dom-17.0.1
Bump react and react-dom
2021-03-07 08:29:44 +00:00
Henry Whitaker
681fc8fbed Merge pull request #427 from henrywhitaker3/dependabot/npm_and_yarn/dev/axios-0.21.1 2021-03-07 08:29:27 +00:00
Henry Whitaker
a81adebe62 Merge pull request #445 from henrywhitaker3/dependabot/npm_and_yarn/axios-0.21.1
Bump axios from 0.21.0 to 0.21.1
2021-03-07 08:28:57 +00:00
Henry Whitaker
1ae66474f3 Merge pull request #443 from patrickclery/patch-1 2021-03-07 08:25:50 +00:00
dependabot-preview[bot]
dd158c7c83 Bump facade/ignition from 2.5.3 to 2.5.14
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.5.3 to 2.5.14.
- [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.5.3...2.5.14)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-05 06:01:28 +00:00
dependabot-preview[bot]
fd70dc6cb8 Bump react-bootstrap from 1.4.0 to 1.5.1
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.4.0 to 1.5.1.
- [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.4.0...v1.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 07:24:51 +00:00
dependabot-preview[bot]
77576f6537 Bump laravel/tinker from 2.5.0 to 2.6.1
Bumps [laravel/tinker](https://github.com/laravel/tinker) from 2.5.0 to 2.6.1.
- [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.5.0...v2.6.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-03-03 05:56:06 +00:00
dependabot-preview[bot]
f41039ce78 Bump mockery/mockery from 1.4.2 to 1.4.3
Bumps [mockery/mockery](https://github.com/mockery/mockery) from 1.4.2 to 1.4.3.
- [Release notes](https://github.com/mockery/mockery/releases)
- [Changelog](https://github.com/mockery/mockery/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mockery/mockery/compare/1.4.2...1.4.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-25 06:04:29 +00:00
dependabot-preview[bot]
2ada8a22a9 Bump @babel/plugin-proposal-class-properties from 7.12.1 to 7.13.0
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.12.1 to 7.13.0.
- [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.13.0/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-23 09:15:14 +00:00
dependabot-preview[bot]
52a91af086 Bump lodash from 4.17.20 to 4.17.21
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-22 07:58:12 +00:00
dependabot-preview[bot]
af66d17ba4 Bump sass from 1.30.0 to 1.32.8
Bumps [sass](https://github.com/sass/dart-sass) from 1.30.0 to 1.32.8.
- [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.30.0...1.32.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-19 07:35:13 +00:00
dependabot-preview[bot]
dd27802e0f Bump @babel/preset-react from 7.12.10 to 7.12.13
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.12.10 to 7.12.13.
- [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.13/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-03 10:04:38 +00:00
dependabot-preview[bot]
3444b8be18 Bump phpunit/phpunit from 8.5.13 to 9.5.2
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.13 to 9.5.2.
- [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.13...9.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-03 06:55:01 +00:00
dependabot[bot]
043fd42b9a Bump laravel/framework from 7.30.0 to 7.30.4
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.30.0 to 7.30.4.
- [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.30.0...v7.30.4)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 17:47:13 +00:00
dependabot-preview[bot]
eeec6ae26c [Security] Bump laravel/framework from 7.30.0 to 7.30.4
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.30.0 to 7.30.4. **This update includes security fixes.**
- [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.30.0...v7.30.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-02 10:10:43 +00:00
dependabot-preview[bot]
05d276fca0 Bump react-toastify from 6.2.0 to 7.0.3
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.2.0 to 7.0.3.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.2.0...v7.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-02 07:19:48 +00:00
dependabot-preview[bot]
f5f378e8c3 Bump nunomaduro/larastan from 0.6.11 to 0.7.0
Bumps [nunomaduro/larastan](https://github.com/nunomaduro/larastan) from 0.6.11 to 0.7.0.
- [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.11...v0.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-02 05:53:39 +00:00
dependabot-preview[bot]
2f8137db0e Bump laravel/slack-notification-channel from 2.3.0 to 2.3.1
Bumps [laravel/slack-notification-channel](https://github.com/laravel/slack-notification-channel) from 2.3.0 to 2.3.1.
- [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.3.0...v2.3.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-27 06:20:40 +00:00
dependabot-preview[bot]
95dbbc96b6 Bump nunomaduro/collision from 4.3.0 to 5.3.0
Bumps [nunomaduro/collision](https://github.com/nunomaduro/collision) from 4.3.0 to 5.3.0.
- [Release notes](https://github.com/nunomaduro/collision/releases)
- [Changelog](https://github.com/nunomaduro/collision/blob/stable/CHANGELOG.md)
- [Commits](https://github.com/nunomaduro/collision/compare/v4.3.0...v5.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-26 06:15:10 +00:00
dependabot-preview[bot]
3d44da1f87 Bump bootstrap from 4.5.3 to 4.6.0
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.3 to 4.6.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.3...v4.6.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-20 09:11:58 +00:00
dependabot-preview[bot]
4e8b46f786 Bump sass-loader from 10.1.0 to 10.1.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 10.1.0 to 10.1.1.
- [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.1.0...v10.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-12 07:42:18 +00:00
dependabot-preview[bot]
f110704a7a Bump react and react-dom
Bumps [react](https://github.com/facebook/react/tree/HEAD/packages/react) and [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom). These dependencies needed to be updated together.

Updates `react` from 16.14.0 to 17.0.1
- [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/v17.0.1/packages/react)

Updates `react-dom` from 16.14.0 to 17.0.1
- [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/v17.0.1/packages/react-dom)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-06 08:47:15 +00:00
dependabot[bot]
73517f92f7 Bump axios from 0.21.0 to 0.21.1
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-01-05 23:58:42 +00:00
Patrick Clery
ea9e5c1a52 ✏️ Fix typos. 2021-01-04 03:46:18 -05:00
dependabot-preview[bot]
ad36edc749 Bump axios from 0.21.0 to 0.21.1
Bumps [axios](https://github.com/axios/axios) from 0.21.0 to 0.21.1.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.1/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.0...v0.21.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-22 07:40:46 +00:00
Henry Whitaker
1467bee847 Fix bug with numer inputs having incorrect min/max 2020-12-20 01:23:45 +00:00
Henry Whitaker
67eec58d74 Merge pull request #422 from henrywhitaker3/alpha 2020-12-20 01:11:38 +00:00
Henry Whitaker
752ef06626 Make schedule enabled a checkbox 2020-12-20 00:58:20 +00:00
Henry Whitaker
feffc0023f Update composer lock 2020-12-20 00:37:33 +00:00
Henry Whitaker
f918288728 Merge pull request #416 from henrywhitaker3/dependabot/composer/dev/fzaninotto/faker-1.9.2
Bump fzaninotto/faker from 1.9.1 to 1.9.2
2020-12-20 00:33:09 +00:00
Henry Whitaker
b74e69314a Merge pull request #417 from henrywhitaker3/dependabot/npm_and_yarn/dev/csv-file-validator-1.10.1 2020-12-20 00:32:53 +00:00
Henry Whitaker
44c6c256c0 Added in support for custom healthchecks server 2020-12-20 00:19:46 +00:00
Henry Whitaker
fde30602b0 Updated changelog 2020-12-20 00:09:54 +00:00
Henry Whitaker
a7652af2ba Changes from SPA to MPA 2020-12-20 00:09:18 +00:00
Henry Whitaker
95325db128 Added setting for app name 2020-12-19 23:55:49 +00:00
Henry Whitaker
46d13fd08a Add setting to enable/disable schedule 2020-12-19 21:47:27 +00:00
Henry Whitaker
1637e66bef Started building the general settings tab 2020-12-19 20:13:53 +00:00
Henry Whitaker
71e132e513 Added in navbar and settings route 2020-12-19 18:50:14 +00:00
dependabot-preview[bot]
21ed016d25 Bump csv-file-validator from 1.8.0 to 1.10.1
Bumps [csv-file-validator](https://github.com/shystruk/csv-file-validator) from 1.8.0 to 1.10.1.
- [Release notes](https://github.com/shystruk/csv-file-validator/releases)
- [Commits](https://github.com/shystruk/csv-file-validator/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 09:22:17 +00:00
dependabot-preview[bot]
8bc6975b69 Bump fzaninotto/faker from 1.9.1 to 1.9.2
Bumps [fzaninotto/faker](https://github.com/fzaninotto/Faker) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/fzaninotto/Faker/releases)
- [Changelog](https://github.com/fzaninotto/Faker/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fzaninotto/Faker/compare/v1.9.1...v1.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-12-14 08:32:24 +00:00
Henry Whitaker
5a0f5a2b3c Merge pull request #415 from henrywhitaker3/alpha 2020-12-13 16:42:37 +00:00
Henry Whitaker
17b72b91d0 Merge pull request #413 from henrywhitaker3/dev 2020-12-13 16:39:58 +00:00
Henry Whitaker
0910bbb757 Fixed integrations config being empty 2020-12-13 16:29:05 +00:00
Henry Whitaker
e9de226c7a Revert "Load integrations config with db data"
This reverts commit 10137a602a.
2020-12-13 16:28:10 +00:00
Henry Whitaker
10137a602a Load integrations config with db data 2020-12-13 16:26:54 +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
Henry Whitaker
0b8c633a75 Merge pull request #300 from henrywhitaker3/dev 2020-09-05 01:17:57 +01:00
Henry Whitaker
8ae4bc602c Merge pull request #299 from henrywhitaker3/alpha 2020-09-05 01:11:47 +01:00
Henry Whitaker
9028ffb7cd Updated changelog 2020-09-05 01:06:11 +01:00
Henry Whitaker
62fde8fb2a Merge remote-tracking branch 'origin/alpha' into alpha 2020-09-05 01:00:16 +01:00
Henry Whitaker
601d46915c Clear cache on restore 2020-09-05 00:58:04 +01:00
Henry Whitaker
751acff32c Updated demo link 2020-09-05 00:57:55 +01:00
Henry Whitaker
4e133e97c7 Merge pull request #289 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-10.0.1
Bump sass-loader from 9.0.3 to 10.0.1
2020-09-05 00:57:25 +01:00
Henry Whitaker
61a85ced34 Merge pull request #291 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.27.0
Bump laravel/framework from 7.26.0 to 7.27.0
2020-09-05 00:56:59 +01:00
Henry Whitaker
aa37a50f57 Merge pull request #292 from henrywhitaker3/dependabot/composer/dev/doctrine/dbal-2.10.3
Bump doctrine/dbal from 2.10.2 to 2.10.3
2020-09-05 00:56:43 +01:00
Henry Whitaker
99ac0b008c Merge pull request #293 from henrywhitaker3/dependabot/composer/dev/symfony/http-kernel-5.1.5
[Security] Bump symfony/http-kernel from 5.1.3 to 5.1.5
2020-09-05 00:56:25 +01:00
Henry Whitaker
b4147ce57a Merge pull request #295 from henrywhitaker3/dependabot/composer/dev/nunomaduro/larastan-0.6.4 2020-09-05 00:55:55 +01:00
dependabot-preview[bot]
80b80811aa Bump nunomaduro/larastan from 0.6.2 to 0.6.4
Bumps [nunomaduro/larastan](https://github.com/nunomaduro/larastan) from 0.6.2 to 0.6.4.
- [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.2...v0.6.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-03 11:05:31 +00:00
dependabot-preview[bot]
2d8bc7d71f [Security] Bump symfony/http-kernel from 5.1.3 to 5.1.5
Bumps [symfony/http-kernel](https://github.com/symfony/http-kernel) from 5.1.3 to 5.1.5. **This update includes a security fix.**
- [Release notes](https://github.com/symfony/http-kernel/releases)
- [Changelog](https://github.com/symfony/http-kernel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/symfony/http-kernel/compare/v5.1.3...v5.1.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 14:24:38 +00:00
dependabot-preview[bot]
a036ed7c8f Bump doctrine/dbal from 2.10.2 to 2.10.3
Bumps [doctrine/dbal](https://github.com/doctrine/dbal) from 2.10.2 to 2.10.3.
- [Release notes](https://github.com/doctrine/dbal/releases)
- [Commits](https://github.com/doctrine/dbal/compare/2.10.2...2.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 08:50:31 +00:00
dependabot-preview[bot]
01b097b4d3 Bump laravel/framework from 7.26.0 to 7.27.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.26.0 to 7.27.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.26.0...v7.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-02 08:48:43 +00:00
dependabot-preview[bot]
a6326f6d98 Bump sass-loader from 9.0.3 to 10.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.3 to 10.0.1.
- [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/v9.0.3...v10.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-31 17:11:09 +00:00
Henry Whitaker
ef34238043 Update README.md 2020-08-30 19:00:55 +01:00
Henry Whitaker
212c7a99bf Update README.md 2020-08-30 19:00:31 +01:00
Henry Whitaker
8e556250aa Merge pull request #286 from henrywhitaker3/alpha 2020-08-28 20:40:27 +01:00
Henry Whitaker
87fc35c1c5 Updated changelog 2020-08-28 20:36:03 +01:00
Henry Whitaker
b6fca4e1a7 Merge pull request #281 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.26.0
Bump laravel/framework from 7.25.0 to 7.26.0
2020-08-28 20:33:59 +01:00
Henry Whitaker
ae40f503e2 Merge pull request #282 from henrywhitaker3/dependabot/composer/dev/laravel/ui-2.2.0
Bump laravel/ui from 2.1.0 to 2.2.0
2020-08-28 20:33:36 +01:00
Henry Whitaker
61da652b82 Merge pull request #283 from henrywhitaker3/dependabot/composer/dev/laravel/slack-notification-channel-2.2.0 2020-08-28 20:32:20 +01:00
Henry Whitaker
ec56337b99 Added toggle to show failed tests on graph
re #285
2020-08-28 20:31:32 +01:00
Henry Whitaker
0ed4674c3f Merge pull request #284 from henrywhitaker3/alpha
updated README.md
2020-08-27 00:31:54 +01:00
Henry Whitaker
dd56a667cd updated README.md 2020-08-27 00:31:26 +01:00
Henry Whitaker
3dc494b02e Update README.md 2020-08-27 00:30:31 +01:00
dependabot-preview[bot]
35a1de7333 Bump laravel/slack-notification-channel from 2.1.0 to 2.2.0
Bumps [laravel/slack-notification-channel](https://github.com/laravel/slack-notification-channel) from 2.1.0 to 2.2.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.1.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 09:06:43 +00:00
dependabot-preview[bot]
f6de728265 Bump laravel/ui from 2.1.0 to 2.2.0
Bumps [laravel/ui](https://github.com/laravel/ui) from 2.1.0 to 2.2.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.1.0...v2.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 09:05:15 +00:00
dependabot-preview[bot]
d6da8962eb Bump laravel/framework from 7.25.0 to 7.26.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.25.0 to 7.26.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.25.0...v7.26.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-26 09:04:10 +00:00
Henry Whitaker
db12f8cfee Merge pull request #279 from henrywhitaker3/alpha
Final v1.9.4
2020-08-25 22:02:19 +01:00
Henry Whitaker
9b8c764b0d Added more tests and fixed changelog 2020-08-25 21:54:39 +01:00
Henry Whitaker
7999867f50 Merge pull request #277 from henrywhitaker3/alpha
Minor updates
2020-08-25 21:34:25 +01:00
Henry Whitaker
1fcdd5bb1d Updated changelog 2020-08-25 21:23:06 +01:00
Henry Whitaker
900ecb2218 Updated workflows
Moved secrets into env vars instead of directly using them in cli
2020-08-25 19:20:05 +01:00
Henry Whitaker
7da1d3d760 Moved int config loading into helper 2020-08-25 19:08:32 +01:00
Henry Whitaker
0eff685277 Added some tests for listeners and updated workflows with secrets 2020-08-25 19:01:48 +01:00
Henry Whitaker
94e4919b44 Added unit tests for helpers and tests for commands 2020-08-25 18:26:21 +01:00
Henry Whitaker
1e4604d975 Merge pull request #275 from henrywhitaker3/alpha
Updated dependencies
2020-08-25 00:57:04 +01:00
Henry Whitaker
b30ec477f4 Updated changelog 2020-08-25 00:53:55 +01:00
Henry Whitaker
13a00d43bf Merge pull request #274 from henrywhitaker3/dependabot/composer/dev/henrywhitaker3/healthchecks-io-1.0.2
Bump henrywhitaker3/healthchecks-io from 1.0.1 to 1.0.2
2020-08-25 00:50:01 +01:00
Henry Whitaker
2d779e50b0 Merge pull request #267 from henrywhitaker3/dependabot/npm_and_yarn/dev/laravel-mix-5.0.5
Bump laravel-mix from 5.0.4 to 5.0.5
2020-08-25 00:48:09 +01:00
Henry Whitaker
322ef98608 Merge pull request #266 from henrywhitaker3/dependabot/npm_and_yarn/dev/axios-0.20.0
Bump axios from 0.19.2 to 0.20.0
2020-08-25 00:47:48 +01:00
dependabot-preview[bot]
cc2e4ae91d Bump henrywhitaker3/healthchecks-io from 1.0.1 to 1.0.2
Bumps [henrywhitaker3/healthchecks-io](https://github.com/henrywhitaker3/PHP-healthchecks.io) from 1.0.1 to 1.0.2.
- [Release notes](https://github.com/henrywhitaker3/PHP-healthchecks.io/releases)
- [Changelog](https://github.com/henrywhitaker3/PHP-healthchecks.io/blob/master/CHANGELOG.md)
- [Commits](https://github.com/henrywhitaker3/PHP-healthchecks.io/compare/v1.0.1...v1.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-24 10:13:37 +00:00
Henry Whitaker
7ab788e61d Merge pull request #272 from henrywhitaker3/alpha
Auth bugfix
2020-08-21 23:48:26 +01:00
Henry Whitaker
da34c723a3 Security fix
Previous commit would add auth token to each 'btn-get' settings type. Have moved this to explicitly including the token in settings definitions so a token doesn't ever get sent to external  URLs
2020-08-21 23:42:57 +01:00
Henry Whitaker
e7c3dcd369 Auth bigfixes
Couldn't test notifications when auth was enabled
2020-08-21 23:39:46 +01:00
Henry Whitaker
0d80c198af Merge pull request #270 from henrywhitaker3/alpha
Added conditional notifications
2020-08-21 23:21:11 +01:00
Henry Whitaker
41f4e9667f Updated changelog 2020-08-21 23:16:33 +01:00
Henry Whitaker
f93c801f27 npm 2020-08-21 23:15:41 +01:00
Henry Whitaker
30657a07e8 Added telegram notifications 2020-08-21 23:14:41 +01:00
Henry Whitaker
6e712cbbdc Refactor threshold error msg messages into helper 2020-08-21 23:14:28 +01:00
Henry Whitaker
375ecf650c Added conditional notifications
- Absolute values
- Percentage threshold
2020-08-21 22:56:38 +01:00
Henry Whitaker
a15d633322 Fixed bug with healthchecks facade causing speedtest job to fail 2020-08-21 22:55:57 +01:00
Henry Whitaker
ef485b2909 Merge pull request #268 from henrywhitaker3/alpha
Added optional authentication
2020-08-21 18:21:34 +01:00
Henry Whitaker
79a85fdba9 Fixed some bugs
- Didn't add token to URL for settings
- Auth collapse wouldn't hide
2020-08-21 18:20:15 +01:00
Henry Whitaker
a49979daae Updated readme 2020-08-21 17:50:59 +01:00
Henry Whitaker
053138093c Updated changelog 2020-08-21 17:32:55 +01:00
Henry Whitaker
e10b4dccde Added optional authentication 2020-08-21 17:31:43 +01:00
dependabot-preview[bot]
2fbfe6f48e Bump laravel-mix from 5.0.4 to 5.0.5
Bumps [laravel-mix](https://github.com/JeffreyWay/laravel-mix) from 5.0.4 to 5.0.5.
- [Release notes](https://github.com/JeffreyWay/laravel-mix/releases)
- [Commits](https://github.com/JeffreyWay/laravel-mix/compare/v5.0.4...v5.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-21 15:18:04 +00:00
dependabot-preview[bot]
f3043baa5a Bump axios from 0.19.2 to 0.20.0
Bumps [axios](https://github.com/axios/axios) from 0.19.2 to 0.20.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.19.2...v0.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-21 15:17:20 +00:00
Henry Whitaker
478c209bb2 Create docker-image-pr.yml 2020-08-15 17:34:44 +01:00
Henry Whitaker
c1f44fe733 Merge pull request #262 from henrywhitaker3/alpha
Update
2020-08-15 17:27:09 +01:00
Henry Whitaker
cd87a902a7 Updated IntegServProv to check DB exists first 2020-08-15 17:21:14 +01:00
Henry Whitaker
71101f71eb Merge pull request #261 from henrywhitaker3/alpha
Minor updates
2020-08-15 16:49:57 +01:00
Henry Whitaker
5a56b80322 Merge branch 'master' into alpha 2020-08-15 16:45:19 +01:00
Henry Whitaker
03915b2543 Changed workflows 2020-08-15 16:45:10 +01:00
Henry Whitaker
4173321ce5 Merge branch 'master' into alpha 2020-08-15 16:42:52 +01:00
Henry Whitaker
15f25799c6 Updated workflows 2020-08-15 16:41:07 +01:00
Henry Whitaker
de8884b550 Update stable workflow 2020-08-15 16:31:25 +01:00
Henry Whitaker
4bc002ef6c Update workflow again 2020-08-15 16:29:25 +01:00
Henry Whitaker
ed50a05415 Update workflow 2020-08-15 16:26:32 +01:00
Henry Whitaker
603c306107 Change margin on text in settings modal 2020-08-15 16:26:24 +01:00
Henry Whitaker
49a0f9087e Merge pull request #260 from henrywhitaker3/dependabot/npm_and_yarn/dev/lodash-4.17.20
Bump lodash from 4.17.19 to 4.17.20
2020-08-15 16:15:59 +01:00
Henry Whitaker
640a62eed7 Added check for db migration when loading IntegrationServiceProvider 2020-08-15 15:44:13 +01:00
Henry Whitaker
dc2ee05344 Updated changelog 2020-08-15 15:38:28 +01:00
Henry Whitaker
30ead5e82a Added UI for testing healthchecks
Also added close button on settings modals and test more info modals
2020-08-15 15:38:20 +01:00
Henry Whitaker
532837621f Added controller endpoints for testing healthchecks settings 2020-08-15 15:36:02 +01:00
Henry Whitaker
ad60f19a53 Moved job over to facade 2020-08-15 15:06:07 +01:00
Henry Whitaker
92544142a9 Integrations backend changes
- facade for healthchecks
- integrations config
2020-08-15 14:52:00 +01:00
dependabot-preview[bot]
08926d19ab Bump lodash from 4.17.19 to 4.17.20
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.20.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.19...4.17.20)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-14 07:43:04 +00:00
Henry Whitaker
2a9f9e7c55 Merge pull request #258 from henrywhitaker3/alpha
healthchecks io tweaks
2020-08-12 14:22:01 +01:00
Henry Whitaker
a73e058ab1 Made healthchecks settings modal auto close 2020-08-12 14:18:30 +01:00
Henry Whitaker
1a8f4d3139 Merge pull request #257 from henrywhitaker3/alpha
Added healthchecks.io int
2020-08-12 14:09:48 +01:00
Henry Whitaker
f32fcf8256 Added healthchecks.io int 2020-08-12 14:07:47 +01:00
Henry Whitaker
6ab2ae9e53 Merge pull request #255 from henrywhitaker3/alpha
Updated dependencies
2020-08-12 13:21:39 +01:00
Henry Whitaker
33169be746 Update changelog 2020-08-12 13:19:33 +01:00
Henry Whitaker
7dccdb3c1f Merge pull request #253 from henrywhitaker3/dependabot/composer/dev/laravel/tinker-2.4.2
Bump laravel/tinker from 2.4.1 to 2.4.2
2020-08-12 13:15:17 +01:00
Henry Whitaker
f0cd810f43 Merge pull request #252 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.25.0
Bump laravel/framework from 7.23.2 to 7.25.0
2020-08-12 13:14:55 +01:00
Henry Whitaker
5aee6dae70 Merge pull request #254 from henrywhitaker3/dependabot/composer/dev/mockery/mockery-1.3.3
Bump mockery/mockery from 1.3.2 to 1.3.3
2020-08-12 13:14:18 +01:00
Henry Whitaker
c4a26624e6 Merge pull request #251 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.3.6
Bump facade/ignition from 2.3.5 to 2.3.6
2020-08-12 13:13:52 +01:00
dependabot-preview[bot]
372086bc8e Bump mockery/mockery from 1.3.2 to 1.3.3
Bumps [mockery/mockery](https://github.com/mockery/mockery) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/mockery/mockery/releases)
- [Changelog](https://github.com/mockery/mockery/blob/1.3.3/CHANGELOG.md)
- [Commits](https://github.com/mockery/mockery/compare/1.3.2...1.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 08:21:09 +00:00
dependabot-preview[bot]
b8a3a0e72e Bump laravel/tinker from 2.4.1 to 2.4.2
Bumps [laravel/tinker](https://github.com/laravel/tinker) from 2.4.1 to 2.4.2.
- [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.1...v2.4.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 08:19:36 +00:00
dependabot-preview[bot]
1a688ebe69 Bump laravel/framework from 7.23.2 to 7.25.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.23.2 to 7.25.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-6.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.23.2...v7.25.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 08:18:32 +00:00
dependabot-preview[bot]
3102e9e7ab Bump facade/ignition from 2.3.5 to 2.3.6
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.3.5 to 2.3.6.
- [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.5...2.3.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-11 08:58:20 +00:00
Henry Whitaker
97bf5bc4af Merge pull request #249 from henrywhitaker3/alpha
Updated backup functions
2020-08-09 01:25:46 +01:00
Henry Whitaker
2a4f70c70e Updated backuphelper
Re #247
2020-08-09 01:14:44 +01:00
Henry Whitaker
2d805e3936 Fixed issue with widgets not updating
Wouldn't refresh when successful->failed test or failed->successful
2020-08-08 23:33:23 +01:00
Henry Whitaker
6cccefa21f Merge pull request #245 from henrywhitaker3/alpha
Updated to v1.7.17
2020-08-08 23:32:21 +01:00
Henry Whitaker
f0e2d28d8b Updated dependencies 2020-08-08 23:10:59 +01:00
Henry Whitaker
8a8c608bd0 Merge pull request #241 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-9.0.3
Bump sass-loader from 9.0.2 to 9.0.3
2020-08-08 23:05:13 +01:00
Henry Whitaker
c8fdb13f45 Merge pull request #242 from henrywhitaker3/dependabot/npm_and_yarn/dev/bootstrap-4.5.2
Bump bootstrap from 4.5.0 to 4.5.2
2020-08-08 23:04:48 +01:00
Henry Whitaker
0e1b69f96f Merge pull request #243 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.23.2
[Security] Bump laravel/framework from 7.22.4 to 7.23.2
2020-08-08 23:04:22 +01:00
Henry Whitaker
f5b14cdf99 Merge branch 'alpha' into dependabot/composer/dev/laravel/framework-7.23.2 2020-08-08 23:03:55 +01:00
dependabot-preview[bot]
05bed7b831 Bump laravel/framework from 7.22.4 to 7.23.2
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.22.4 to 7.23.2.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.22.4...v7.23.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 08:26:28 +00:00
dependabot-preview[bot]
2526f9596b Bump bootstrap from 4.5.0 to 4.5.2
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.5.0 to 4.5.2.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.5.0...v4.5.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-07 07:28:51 +00:00
dependabot-preview[bot]
e2967ac1dd Bump sass-loader from 9.0.2 to 9.0.3
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.2 to 9.0.3.
- [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/v9.0.2...v9.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-06 07:32:47 +00:00
Henry Whitaker
7a62b113bf Fixed errors picked up by larastan 2020-08-03 16:22:07 +01:00
Henry Whitaker
4b8b4ccfa3 Added larastan 2020-08-03 16:21:47 +01:00
Henry Whitaker
9f6fcb7439 Merge pull request #236 from henrywhitaker3/alpha
Updated dependencies
2020-08-03 14:15:22 +01:00
Henry Whitaker
33bbe14100 Updated dependencies 2020-08-03 14:13:08 +01:00
Henry Whitaker
2541a371fb Merge pull request #225 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.3.5
Bump facade/ignition from 2.3.4 to 2.3.5
2020-08-03 14:10:16 +01:00
Henry Whitaker
f38e60346a Merge pull request #221 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-chartjs-2-2.10.0
Bump react-chartjs-2 from 2.9.0 to 2.10.0
2020-08-03 14:09:52 +01:00
Henry Whitaker
f8c46dc047 Merge remote-tracking branch 'origin/master' into alpha 2020-08-03 13:07:13 +01:00
Henry Whitaker
c09e9d8da1 Update README.md 2020-08-03 13:06:48 +01:00
Henry Whitaker
86fc8b45a5 Merge pull request #235 from henrywhitaker3/dev
Updated workflows
2020-08-03 13:03:17 +01:00
Henry Whitaker
aff807fe4f Merge pull request #234 from henrywhitaker3/alpha
Updated workflows
2020-08-03 12:59:32 +01:00
Henry Whitaker
1c7a0fb622 Updated workflow name 2020-08-03 12:58:59 +01:00
Henry Whitaker
a5253492b5 Updated workflows 2020-08-03 12:57:24 +01:00
Henry Whitaker
feb1b44a19 Merge pull request #231 from henrywhitaker3/dev
Updated master
2020-08-03 12:23:41 +01:00
Henry Whitaker
5097e84363 Merge pull request #230 from henrywhitaker3/alpha
Merge actions and readme changes
2020-08-03 12:12:55 +01:00
Henry Whitaker
d6d20c8b87 Merge pull request #229 from henrywhitaker3/master
test
2020-08-03 12:10:26 +01:00
Henry Whitaker
a6665c0239 Create laravel.yml 2020-08-03 12:07:01 +01:00
Henry Whitaker
8f3372744a Merge pull request #227 from henrywhitaker3/alpha
Updated manual installation for new binary
2020-08-03 11:49:25 +01:00
Henry Whitaker
be5d1fa2ef Updated HOME prefix 2020-08-03 11:46:03 +01:00
Henry Whitaker
538305470d Updated README.md 2020-08-03 11:14:22 +01:00
Henry Whitaker
004a6b34d4 Added home prefixes to helpers 2020-08-03 10:42:38 +01:00
dependabot-preview[bot]
7e3bc8724f Bump facade/ignition from 2.3.4 to 2.3.5
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.3.4 to 2.3.5.
- [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.4...2.3.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 08:53:00 +00:00
dependabot-preview[bot]
4617213073 Bump react-chartjs-2 from 2.9.0 to 2.10.0
Bumps [react-chartjs-2](https://github.com/jerairrest/react-chartjs-2) from 2.9.0 to 2.10.0.
- [Release notes](https://github.com/jerairrest/react-chartjs-2/releases)
- [Commits](https://github.com/jerairrest/react-chartjs-2/compare/2.9.0...2.10.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 08:30:09 +00:00
Henry Whitaker
671d9951f8 Merge pull request #217 from henrywhitaker3/dev
Merge dev into master
2020-08-02 20:28:28 +01:00
Henry Whitaker
2ebbc6c8cb Merge pull request #215 from henrywhitaker3/reset-settings
Updated dependencies
2020-08-02 20:19:14 +01:00
Henry Whitaker
d00aa2b4bc Updated changelog 2020-08-02 20:18:42 +01:00
Henry Whitaker
e5fe829e36 Updated gitignore 2020-08-02 20:12:56 +01:00
Henry Whitaker
9bc4be7334 Merge pull request #211 from henrywhitaker3/dependabot/npm_and_yarn/dev/elliptic-6.5.3
[Security] Bump elliptic from 6.5.2 to 6.5.3
2020-08-02 20:11:02 +01:00
Henry Whitaker
40288ed489 Merge pull request #210 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.22.4
Bump laravel/framework from 7.21.0 to 7.22.4
2020-08-02 20:10:43 +01:00
Henry Whitaker
a046c5388a Merge pull request #209 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.3.4
Bump facade/ignition from 2.3.3 to 2.3.4
2020-08-02 20:10:11 +01:00
dependabot-preview[bot]
44e7680c4f [Security] Bump elliptic from 6.5.2 to 6.5.3
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.3. **This update includes a security fix.**
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-29 21:23:36 +00:00
dependabot-preview[bot]
051997d8c3 Bump laravel/framework from 7.21.0 to 7.22.4
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.21.0 to 7.22.4.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.21.0...v7.22.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 09:23:00 +00:00
dependabot-preview[bot]
4bae6c9b57 Bump facade/ignition from 2.3.3 to 2.3.4
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.3.3 to 2.3.4.
- [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.3...2.3.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-28 09:21:37 +00:00
Henry Whitaker
c7a617bb9c Merge pull request #205 from henrywhitaker3/reset-settings
Added clear queue
2020-07-24 12:53:32 +01:00
Henry Whitaker
9595e1de76 Added clear queue 2020-07-24 12:47:39 +01:00
Henry Whitaker
3feb7d8d0d Merge pull request #203 from henrywhitaker3/reset-settings
Small updated
2020-07-24 12:06:36 +01:00
Henry Whitaker
14c6e23f5e Updated changelog 2020-07-24 11:46:23 +01:00
Henry Whitaker
7640f22db8 Added unit tests 2020-07-24 11:46:08 +01:00
Henry Whitaker
6db835233c Display date in local format 2020-07-24 11:40:52 +01:00
Henry Whitaker
4a9ab8058f Merge pull request #200 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.21.0
Bump laravel/framework from 7.20.0 to 7.21.0
2020-07-24 10:54:22 +01:00
Henry Whitaker
78bcd554a6 Merge pull request #202 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-bootstrap-1.3.0
Bump react-bootstrap from 1.2.2 to 1.3.0
2020-07-24 10:54:00 +01:00
Henry Whitaker
4f727d3b6f Merge remote-tracking branch 'origin/reset-settings' into reset-settings 2020-07-24 10:53:16 +01:00
Henry Whitaker
ca479ec452 Merge pull request #201 from bonexd/patch-1
provide full docker compose file
2020-07-24 09:54:14 +01:00
dependabot-preview[bot]
0b633ee278 Bump react-bootstrap from 1.2.2 to 1.3.0
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.2.2 to 1.3.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.2.2...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-24 07:42:53 +00:00
Jamie
c405ab7e01 provide full docker compose file 2020-07-23 18:55:59 +10:00
dependabot-preview[bot]
cf2b538312 Bump laravel/framework from 7.20.0 to 7.21.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.20.0...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-23 08:26:51 +00:00
Henry Whitaker
4ab04f5264 Added bar chart 2020-07-22 13:38:32 +01:00
Henry Whitaker
2e24fa8bc1 Merge pull request #194 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.21.0
Bump laravel/framework from 7.20.0 to 7.21.0
2020-07-22 12:04:51 +01:00
Henry Whitaker
5d27c656db Merge pull request #196 from henrywhitaker3/reset-settings
Fixed issued with notifications always firing
2020-07-22 12:03:32 +01:00
Henry Whitaker
0b5a4736e4 Fixed issue with notifications being attempted every time 2020-07-22 11:50:39 +01:00
dependabot-preview[bot]
4c28a84477 Bump laravel/framework from 7.20.0 to 7.21.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.20.0 to 7.21.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.20.0...v7.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-22 08:22:22 +00:00
Henry Whitaker
d12a0e4f10 Merge pull request #190 from henrywhitaker3/reset-settings
Added delete methods
2020-07-22 01:41:17 +01:00
Henry Whitaker
a14849c16f Increment v number 2020-07-22 01:40:29 +01:00
Henry Whitaker
a952c09e70 Added methods to delete speedtests 2020-07-22 01:40:19 +01:00
Henry Whitaker
6af53af4b3 Merge pull request #187 from henrywhitaker3/dev
Merge dev into master
2020-07-20 17:13:12 +01:00
Henry Whitaker
78260c014a Merge pull request #186 from henrywhitaker3/speedtest-error
Updated dependencies
2020-07-20 17:11:06 +01:00
Henry Whitaker
487b632c71 Updated dependencies 2020-07-20 17:09:30 +01:00
Henry Whitaker
827bcc90d8 Merge pull request #182 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.20.0
Bump laravel/framework from 7.19.0 to 7.20.0
2020-07-20 17:03:34 +01:00
Henry Whitaker
0d173ccb65 Merge pull request #181 from henrywhitaker3/dependabot/composer/dev/facade/ignition-2.3.3
Bump facade/ignition from 2.0.7 to 2.3.3
2020-07-20 17:03:14 +01:00
Henry Whitaker
9bf71ae298 Merge pull request #176 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-bootstrap-1.2.2
Bump react-bootstrap from 1.1.1 to 1.2.2
2020-07-20 17:02:52 +01:00
Henry Whitaker
982497fc81 Merge pull request #174 from henrywhitaker3/dependabot/composer/dev/mockery/mockery-1.3.2
Bump mockery/mockery from 1.3.1 to 1.3.2
2020-07-20 17:02:33 +01:00
Henry Whitaker
7ff70f6bff Merge pull request #173 from henrywhitaker3/dependabot/npm_and_yarn/dev/lodash-4.17.19
[Security] Bump lodash from 4.17.15 to 4.17.19
2020-07-20 17:02:10 +01:00
dependabot-preview[bot]
c9249c64b9 Bump laravel/framework from 7.19.0 to 7.20.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.19.0 to 7.20.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.19.0...v7.20.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 08:02:19 +00:00
dependabot-preview[bot]
eba14ff24f Bump facade/ignition from 2.0.7 to 2.3.3
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.0.7 to 2.3.3.
- [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.0.7...2.3.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-15 08:00:13 +00:00
dependabot-preview[bot]
d5104d344b Bump react-bootstrap from 1.1.1 to 1.2.2
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.1.1 to 1.2.2.
- [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.1.1...v1.2.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-13 08:08:13 +00:00
dependabot-preview[bot]
1b093d864b Bump mockery/mockery from 1.3.1 to 1.3.2
Bumps [mockery/mockery](https://github.com/mockery/mockery) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/mockery/mockery/releases)
- [Changelog](https://github.com/mockery/mockery/blob/1.3.2/CHANGELOG.md)
- [Commits](https://github.com/mockery/mockery/compare/1.3.1...1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-09 08:54:05 +00:00
dependabot-preview[bot]
0b84c284e0 Bump lodash from 4.17.15 to 4.17.19
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.19.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.15...4.17.19)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-09 07:45:12 +00:00
Henry Whitaker
6caec741f0 Updated readme version number 2020-07-08 12:13:55 +01:00
Henry Whitaker
68519258d6 Merge remote-tracking branch 'origin/dev' into speedtest-error 2020-07-08 12:12:25 +01:00
Henry Whitaker
62fde210c9 Update README.md 2020-07-08 12:09:29 +01:00
Henry Whitaker
564fe6f688 Merge pull request #170 from henrywhitaker3/speedtest-error
Minor changes
2020-07-08 11:54:21 +01:00
Henry Whitaker
9876b319c5 Updated output of speedtest command 2020-07-08 11:52:47 +01:00
Henry Whitaker
1cae3ecac2 Merge pull request #169 from henrywhitaker3/dependabot/composer/dev/guzzlehttp/guzzle-7.0.1
Bump guzzlehttp/guzzle from 6.5.5 to 7.0.1
2020-07-08 11:51:09 +01:00
Henry Whitaker
86ad9058bd Merge pull request #168 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.19.0
Bump laravel/framework from 7.18.0 to 7.19.0
2020-07-08 11:50:41 +01:00
Henry Whitaker
f4861d5498 Merge pull request #167 from henrywhitaker3/dependabot/composer/dev/laravel/tinker-2.4.1
Bump laravel/tinker from 2.4.0 to 2.4.1
2020-07-08 11:50:15 +01:00
Henry Whitaker
1c04f6c7ea Merge pull request #166 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-9.0.2
Bump sass-loader from 9.0.1 to 9.0.2
2020-07-08 11:49:50 +01:00
Henry Whitaker
f5b209254a Merge pull request #165 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-bootstrap-1.1.1
Bump react-bootstrap from 1.0.1 to 1.1.1
2020-07-08 11:38:09 +01:00
Henry Whitaker
ee56c2ee42 Merge pull request #164 from angrycuban13/patch-1
Update README.md
2020-07-08 11:35:22 +01:00
dependabot-preview[bot]
fe9dc35247 Bump guzzlehttp/guzzle from 6.5.5 to 7.0.1
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.5 to 7.0.1.
- [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/6.5.5...7.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 08:23:55 +00:00
dependabot-preview[bot]
ddd9c16e27 Bump laravel/framework from 7.18.0 to 7.19.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.18.0 to 7.19.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.18.0...v7.19.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 08:22:55 +00:00
dependabot-preview[bot]
0b68e08a53 Bump laravel/tinker from 2.4.0 to 2.4.1
Bumps [laravel/tinker](https://github.com/laravel/tinker) from 2.4.0 to 2.4.1.
- [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.0...v2.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 08:21:58 +00:00
dependabot-preview[bot]
41180fc497 Bump sass-loader from 9.0.1 to 9.0.2
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.1 to 9.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/v9.0.1...v9.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 07:43:56 +00:00
dependabot-preview[bot]
2c0a2e1d42 Bump react-bootstrap from 1.0.1 to 1.1.1
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.0.1 to 1.1.1.
- [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.0.1...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-08 07:43:29 +00:00
angrycuban13
458b658adf Update README.md
Adding "how to add using compose" because of https://www.reddit.com/r/organizr/comments/hn6mu4/speed_test_docker/
2020-07-07 20:45:22 -05:00
Henry Whitaker
95464b3b48 Merge pull request #162 from henrywhitaker3/speedtest-error
More settings bugfixes
2020-07-07 23:36:34 +01:00
Henry Whitaker
e7f387e5c6 More settings bugfixes 2020-07-07 23:29:29 +01:00
Henry Whitaker
401c233bf7 Merge pull request #160 from henrywhitaker3/speedtest-error
Fix issue with page failing to load
2020-07-07 22:58:19 +01:00
Henry Whitaker
db25656a6f Fix issue with page failing to load 2020-07-07 22:57:56 +01:00
Henry Whitaker
cdda52463e Merge pull request #158 from henrywhitaker3/speedtest-error
Tweaks
2020-07-07 22:36:43 +01:00
Henry Whitaker
4f1e45ac73 Added more checks 2020-07-07 22:36:16 +01:00
Henry Whitaker
c85c5dc8e2 npm run 2020-07-07 21:52:03 +01:00
Henry Whitaker
ea14888f38 Change dhow editable settings are defined 2020-07-07 21:51:53 +01:00
Henry Whitaker
f4f2ef0094 Merge pull request #157 from henrywhitaker3/speedtest-error
Notification settings
2020-07-07 21:01:15 +01:00
Henry Whitaker
817e06aa12 npm urn prod 2020-07-07 20:59:44 +01:00
Henry Whitaker
fcaa8ac83b Merge pull request #156 from henrywhitaker3/revert-152-dependabot/npm_and_yarn/dev/react-bootstrap-1.1.0
Revert "Bump react-bootstrap from 1.0.1 to 1.1.0"
2020-07-07 20:58:04 +01:00
Henry Whitaker
770c332190 Revert "Bump react-bootstrap from 1.0.1 to 1.1.0" 2020-07-07 20:57:47 +01:00
Henry Whitaker
b6e0e23f69 Merge pull request #152 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-bootstrap-1.1.0
Bump react-bootstrap from 1.0.1 to 1.1.0
2020-07-07 20:56:00 +01:00
Henry Whitaker
7c3cab283b Merge pull request #153 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-1.26.10
Bump sass from 1.26.9 to 1.26.10
2020-07-07 20:55:38 +01:00
Henry Whitaker
7afea5e58b Merge pull request #154 from henrywhitaker3/dependabot/composer/dev/laravel-notification-channels/telegram-0.4.1
Bump laravel-notification-channels/telegram from 0.4.0 to 0.4.1
2020-07-07 20:55:15 +01:00
Henry Whitaker
8852b43481 Updated changelog 2020-07-07 20:54:02 +01:00
Henry Whitaker
4ef0303dff Moved notification settings to DB 2020-07-07 20:51:57 +01:00
dependabot-preview[bot]
1c162516d8 Bump laravel-notification-channels/telegram from 0.4.0 to 0.4.1
Bumps [laravel-notification-channels/telegram](https://github.com/laravel-notification-channels/telegram) from 0.4.0 to 0.4.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.4.0...0.4.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 08:39:08 +00:00
dependabot-preview[bot]
d416380873 Bump sass from 1.26.9 to 1.26.10
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.9 to 1.26.10.
- [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.9...1.26.10)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 07:56:48 +00:00
dependabot-preview[bot]
b83ee951c1 Bump react-bootstrap from 1.0.1 to 1.1.0
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.0.1 to 1.1.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.0.1...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-07 07:56:10 +00:00
Henry Whitaker
c90b6f3216 Merge pull request #150 from henrywhitaker3/speedtest-error
Graph settings
2020-07-06 19:38:24 +01:00
Henry Whitaker
f543e1345c Added failure graph and graph settings panel 2020-07-06 19:34:10 +01:00
Henry Whitaker
6efc1d0560 Merge pull request #149 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-9.0.1
Bump sass-loader from 9.0.0 to 9.0.1
2020-07-06 10:26:09 +01:00
Henry Whitaker
8c9703021b Exclude failed tests from homepage graphs 2020-07-06 10:25:30 +01:00
dependabot-preview[bot]
844e5599bb Bump sass-loader from 9.0.0 to 9.0.1
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 9.0.0 to 9.0.1.
- [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/v9.0.0...v9.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-06 08:03:32 +00:00
Henry Whitaker
4db8499b0d Merge pull request #146 from henrywhitaker3/speedtest-error
Updated latest endpoint to ignore failed tests in averages
2020-07-03 12:49:53 +01:00
Henry Whitaker
4c7d9b2730 Updated latest endpoint to ignore failed tests in averages 2020-07-03 12:47:08 +01:00
Henry Whitaker
45a79d5776 Merge pull request #144 from henrywhitaker3/speedtest-error
Depenedencies & error handling
2020-07-03 12:00:38 +01:00
Henry Whitaker
04d8f729b9 Added error handling of failed speedtests
re issue #143
2020-07-03 11:59:26 +01:00
Henry Whitaker
5ac9478799 Merge pull request #136 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/plugin-proposal-class-properties-7.10.4
Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
2020-07-03 10:46:53 +01:00
Henry Whitaker
6de5a5c3de Merge pull request #137 from henrywhitaker3/dependabot/npm_and_yarn/dev/babel/preset-react-7.10.4
Bump @babel/preset-react from 7.10.1 to 7.10.4
2020-07-03 10:46:36 +01:00
Henry Whitaker
73089b5ce8 Merge pull request #138 from henrywhitaker3/dependabot/composer/dev/laravel/slack-notification-channel-2.1.0
Bump laravel/slack-notification-channel from 2.0.2 to 2.1.0
2020-07-03 10:46:19 +01:00
Henry Whitaker
710b619517 Merge pull request #139 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.18.0
Bump laravel/framework from 7.17.2 to 7.18.0
2020-07-03 10:45:50 +01:00
Henry Whitaker
43035cabff Merge pull request #140 from henrywhitaker3/dependabot/composer/dev/laravel/ui-2.1.0
Bump laravel/ui from 2.0.3 to 2.1.0
2020-07-03 10:45:22 +01:00
Henry Whitaker
53bd3e8e30 Merge pull request #141 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-loader-9.0.0
Bump sass-loader from 8.0.2 to 9.0.0
2020-07-03 10:45:03 +01:00
Henry Whitaker
8a272c7d67 Merge pull request #142 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-toastify-6.0.8
Bump react-toastify from 6.0.6 to 6.0.8
2020-07-03 10:44:29 +01:00
Henry Whitaker
b1f00d2aa1 Added field for manual/scheduled tests 2020-07-03 10:42:18 +01:00
Henry Whitaker
04d24098ef Merge remote-tracking branch 'origin/master' into dev 2020-07-03 10:39:31 +01:00
dependabot-preview[bot]
9fd8148fe2 Bump react-toastify from 6.0.6 to 6.0.8
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.6 to 6.0.8.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.6...v6.0.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-03 07:49:34 +00:00
dependabot-preview[bot]
ab6cd0d2b2 Bump sass-loader from 8.0.2 to 9.0.0
Bumps [sass-loader](https://github.com/webpack-contrib/sass-loader) from 8.0.2 to 9.0.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/v8.0.2...v9.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-03 07:47:48 +00:00
Henry Whitaker
e4650be7b8 Update README.md 2020-07-01 23:50:34 +01:00
dependabot-preview[bot]
8c23a83eab Bump laravel/ui from 2.0.3 to 2.1.0
Bumps [laravel/ui](https://github.com/laravel/ui) from 2.0.3 to 2.1.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.0.3...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 08:37:36 +00:00
dependabot-preview[bot]
d7d1339bcc Bump laravel/framework from 7.17.2 to 7.18.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.17.2 to 7.18.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-6.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.17.2...v7.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 08:36:30 +00:00
dependabot-preview[bot]
293da68c17 Bump laravel/slack-notification-channel from 2.0.2 to 2.1.0
Bumps [laravel/slack-notification-channel](https://github.com/laravel/slack-notification-channel) from 2.0.2 to 2.1.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.0.2...v2.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 08:35:17 +00:00
dependabot-preview[bot]
633a46405f Bump @babel/preset-react from 7.10.1 to 7.10.4
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.10.1 to 7.10.4.
- [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.10.4/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 07:57:38 +00:00
dependabot-preview[bot]
4651359f05 Bump @babel/plugin-proposal-class-properties from 7.10.1 to 7.10.4
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.10.1 to 7.10.4.
- [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.10.4/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-01 07:57:06 +00:00
Henry Whitaker
25ce075a27 Merge remote-tracking branch 'origin/master' into dev 2020-07-01 00:31:35 +01:00
Henry Whitaker
fe35e13c12 Update README.md
Added parameters for docker image to clarify params re issue #135
2020-07-01 00:30:50 +01:00
Henry Whitaker
082162e989 Merge pull request #132 from henrywhitaker3/dev
Merge dev into master
2020-06-27 01:44:47 +01:00
Henry Whitaker
1a1f3c10cf Updated README.md 2020-06-24 23:56:14 +01:00
Henry Whitaker
67a7429baf Added some error checking on runSpeedtest() 2020-06-24 23:41:55 +01:00
Henry Whitaker
1bc0b3738d Merge pull request #130 from henrywhitaker3/notifications
Updated dependencies
2020-06-24 22:47:32 +01:00
Henry Whitaker
b57754f5e2 Updated changelog 2020-06-24 22:46:56 +01:00
Henry Whitaker
4c05bbe3d3 Merge pull request #129 from henrywhitaker3/dependabot/composer/dev/laravel/framework-7.17.2
Bump laravel/framework from 7.16.1 to 7.17.2
2020-06-24 22:40:20 +01:00
Henry Whitaker
c35979f6d8 Merge branch 'notifications' into dependabot/composer/dev/laravel/framework-7.17.2 2020-06-24 22:40:09 +01:00
Henry Whitaker
870ddd4c1a Merge pull request #128 from henrywhitaker3/dependabot/composer/dev/fideloper/proxy-4.4.0
Bump fideloper/proxy from 4.3.0 to 4.4.0
2020-06-24 22:38:05 +01:00
Henry Whitaker
743dca5c05 Merge branch 'notifications' into dependabot/composer/dev/fideloper/proxy-4.4.0 2020-06-24 22:37:57 +01:00
Henry Whitaker
df2d069d09 Merge pull request #126 from henrywhitaker3/dependabot/npm_and_yarn/dev/sass-1.26.9
Bump sass from 1.26.8 to 1.26.9
2020-06-24 22:36:15 +01:00
Henry Whitaker
f0e2e34641 Merge pull request #125 from henrywhitaker3/dependabot/composer/dev/phpunit/phpunit-8.5.8
Bump phpunit/phpunit from 8.5.6 to 8.5.8
2020-06-24 22:35:50 +01:00
Henry Whitaker
7f2939e022 Merge pull request #124 from henrywhitaker3/dependabot/npm_and_yarn/dev/react-toastify-6.0.6
Bump react-toastify from 6.0.5 to 6.0.6
2020-06-24 22:35:26 +01:00
dependabot-preview[bot]
856f7870ad Bump laravel/framework from 7.16.1 to 7.17.2
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.16.1 to 7.17.2.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.16.1...v7.17.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-24 15:12:13 +00:00
dependabot-preview[bot]
b3bcd6e375 Bump fideloper/proxy from 4.3.0 to 4.4.0
Bumps [fideloper/proxy](https://github.com/fideloper/TrustedProxy) from 4.3.0 to 4.4.0.
- [Release notes](https://github.com/fideloper/TrustedProxy/releases)
- [Commits](https://github.com/fideloper/TrustedProxy/compare/4.3.0...4.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 18:07:20 +00:00
dependabot-preview[bot]
12afe70185 Bump sass from 1.26.8 to 1.26.9
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.8 to 1.26.9.
- [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.8...1.26.9)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-23 08:06:52 +00:00
dependabot-preview[bot]
caf38c0a38 Bump phpunit/phpunit from 8.5.6 to 8.5.8
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.6 to 8.5.8.
- [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.6...8.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 12:09:48 +00:00
dependabot-preview[bot]
8d278abc7b Bump react-toastify from 6.0.5 to 6.0.6
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.5 to 6.0.6.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.5...v6.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-22 08:27:41 +00:00
Henry Whitaker
d900e4ab20 Changed layout of settings cards 2020-06-22 01:46:40 +01:00
Henry Whitaker
6180a1cfaa Merge pull request #122 from henrywhitaker3/notifications
Added notifications settings
2020-06-21 20:34:42 +01:00
Henry Whitaker
9c74987599 Updated changelog 2020-06-21 20:33:48 +01:00
Henry Whitaker
832a10589d Added code for notifications changes
- Toggle for notification types
- Custom time for overview
2020-06-21 20:32:31 +01:00
Henry Whitaker
8b9e87e699 Added cli version number command 2020-06-21 15:22:27 +01:00
Henry Whitaker
02ce789150 Removed speedtest binary 2020-06-21 14:30:22 +01:00
Henry Whitaker
941bf95334 Merge pull request #119 from henrywhitaker3/telegram
Added telegram notifications
2020-06-21 14:08:25 +01:00
Henry Whitaker
8605407d6b Added telegram notifications 2020-06-21 14:07:50 +01:00
Henry Whitaker
4b524af0d1 Merge pull request #115 from henrywhitaker3/speedtest-data
Added auto-refresh on all tests table
2020-06-20 19:59:06 +01:00
Henry Whitaker
b8210e871f Added auto-refresh on all tests table 2020-06-20 19:57:53 +01:00
Henry Whitaker
e20bf6e8ca Merge pull request #113 from henrywhitaker3/speedtest-data
Store + display more info form speedtests
2020-06-20 18:19:15 +01:00
Henry Whitaker
0027de2f4b Store + display more info form speedtests 2020-06-20 18:18:15 +01:00
Henry Whitaker
6d68a2ccf4 Update issue templates 2020-06-19 22:04:01 +01:00
Henry Whitaker
91f457c7d1 Commented the code 2020-06-19 14:02:38 +01:00
Henry Whitaker
be37463604 updated readme.md 2020-06-19 02:04:20 +01:00
Henry Whitaker
d7df1b710b Merge pull request #107 from henrywhitaker3/speedtest-client
Switched to ookla binary
2020-06-18 23:32:58 +01:00
Henry Whitaker
1fb6ab030a Switched to ookla binary 2020-06-18 23:32:26 +01:00
Henry Whitaker
3b0c2cab9e Merge pull request #105 from henrywhitaker3/speedtest-client
Updated dependencies
2020-06-18 18:21:11 +01:00
Henry Whitaker
dd9f4fb67e Updated changelog 2020-06-18 18:18:47 +01:00
Henry Whitaker
a1327b055d Merge pull request #103 from henrywhitaker3/dependabot/composer/laravel/framework-7.16.1
Bump laravel/framework from 7.14.1 to 7.16.1
2020-06-18 18:14:37 +01:00
Henry Whitaker
c62d492c32 Merge branch 'speedtest-client' into dependabot/composer/laravel/framework-7.16.1 2020-06-18 18:14:24 +01:00
dependabot-preview[bot]
d7933f3846 Bump laravel/framework from 7.14.1 to 7.16.1
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.14.1 to 7.16.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.14.1...v7.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 17:09:34 +00:00
Henry Whitaker
5565950c4d Merge pull request #102 from henrywhitaker3/dependabot/composer/guzzlehttp/guzzle-6.5.5
Bump guzzlehttp/guzzle from 6.5.4 to 6.5.5
2020-06-18 18:07:49 +01:00
Henry Whitaker
d642ca410b Merge pull request #104 from henrywhitaker3/dependabot/composer/phpunit/phpunit-8.5.6
Bump phpunit/phpunit from 8.5.5 to 8.5.6
2020-06-18 18:06:46 +01:00
dependabot-preview[bot]
63d0d7ac05 Bump phpunit/phpunit from 8.5.5 to 8.5.6
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.5 to 8.5.6.
- [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.5...8.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 10:58:33 +00:00
dependabot-preview[bot]
2c754c8011 Bump guzzlehttp/guzzle from 6.5.4 to 6.5.5
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.4 to 6.5.5.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.4...6.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-18 10:56:02 +00:00
Henry Whitaker
b2bce4a578 Merge pull request #100 from henrywhitaker3/speedtest-client
Changed speedtest client
2020-06-17 21:15:05 +01:00
Henry Whitaker
388af8eea8 Removed source files 2020-06-17 21:14:29 +01:00
Henry Whitaker
065966c3d6 Merge pull request #99 from henrywhitaker3/speedtest-client
Changed speedtest client
2020-06-17 20:55:13 +01:00
Henry Whitaker
0cdeff2d8c Changed speedtest client 2020-06-17 20:52:04 +01:00
Henry Whitaker
8f8fde5316 Merge pull request #96 from henrywhitaker3/backup-format
Added CSV backup/restore format
2020-06-17 18:25:51 +01:00
Henry Whitaker
f01f7676bd Updated changelog 2020-06-17 18:22:20 +01:00
Henry Whitaker
02659e7968 Added in csv restore 2020-06-17 18:22:06 +01:00
Henry Whitaker
771e9824ff Merge pull request #90 from henrywhitaker3/dependabot/composer/phpunit/phpunit-8.5.6
Bump phpunit/phpunit from 8.5.5 to 8.5.6
2020-06-17 17:58:35 +01:00
Henry Whitaker
6e8d5a87fc Merge pull request #93 from henrywhitaker3/dependabot/composer/guzzlehttp/guzzle-6.5.5
Bump guzzlehttp/guzzle from 6.5.4 to 6.5.5
2020-06-17 17:58:12 +01:00
Henry Whitaker
7aa17e68dc Merge pull request #94 from henrywhitaker3/dependabot/composer/laravel/framework-7.16.1
Bump laravel/framework from 7.14.1 to 7.16.1
2020-06-17 17:57:45 +01:00
Henry Whitaker
9ad20e1a3c Merge branch 'backup-format' into dependabot/composer/laravel/framework-7.16.1 2020-06-17 17:57:36 +01:00
dependabot-preview[bot]
34a31b73a4 Bump laravel/framework from 7.14.1 to 7.16.1
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.14.1 to 7.16.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.14.1...v7.16.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 10:57:33 +00:00
dependabot-preview[bot]
3b90a9fb0e Bump guzzlehttp/guzzle from 6.5.4 to 6.5.5
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.4 to 6.5.5.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.5/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.4...6.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-17 10:56:18 +00:00
dependabot-preview[bot]
f9a04902b5 Bump phpunit/phpunit from 8.5.5 to 8.5.6
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.5 to 8.5.6.
- [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.5...8.5.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-15 12:05:22 +00:00
Henry Whitaker
57405725d1 Added front-end handling of CSV 2020-06-10 18:48:37 +01:00
Henry Whitaker
7b1dcfcc2e Merge pull request #88 from henrywhitaker3/dependabot/composer/laravel/framework-7.15.0
Bump laravel/framework from 7.14.1 to 7.15.0
2020-06-10 12:57:14 +01:00
Henry Whitaker
81856f5f4b Fixed formatting of dropdown button 2020-06-10 12:54:39 +01:00
Henry Whitaker
4904076f1e Added front-end for csv/json backup 2020-06-10 12:49:05 +01:00
Henry Whitaker
e651fd579d Added methods to generate a backup in CSV 2020-06-10 12:44:08 +01:00
dependabot-preview[bot]
6a6fe18b98 Bump laravel/framework from 7.14.1 to 7.15.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.14.1 to 7.15.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.14.1...v7.15.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-10 10:51:33 +00:00
Henry Whitaker
22f011da39 Merge pull request #86 from henrywhitaker3/dev
Updated dependencies
2020-06-10 06:16:00 +01:00
Henry Whitaker
a5e54d9462 Updated changelog 2020-06-10 06:14:54 +01:00
Henry Whitaker
4fd0174a09 Merge pull request #84 from henrywhitaker3/dependabot/composer/facade/ignition-2.0.7
Bump facade/ignition from 2.0.4 to 2.0.7
2020-06-10 06:07:50 +01:00
Henry Whitaker
3b200064ef Merge pull request #82 from henrywhitaker3/dependabot/npm_and_yarn/websocket-extensions-0.1.4
[Security] Bump websocket-extensions from 0.1.3 to 0.1.4
2020-06-10 06:06:44 +01:00
Henry Whitaker
26a7a2313b Merge pull request #81 from henrywhitaker3/dependabot/npm_and_yarn/sass-1.26.8
Bump sass from 1.26.5 to 1.26.8
2020-06-10 06:06:20 +01:00
Henry Whitaker
d85c19b5dd Merge pull request #80 from henrywhitaker3/dependabot/composer/laravel/framework-7.14.1
Bump laravel/framework from 7.12.0 to 7.14.1
2020-06-10 06:06:02 +01:00
Henry Whitaker
4115fe15f0 Merge pull request #79 from henrywhitaker3/dependabot/composer/fruitcake/laravel-cors-2.0.1
Bump fruitcake/laravel-cors from 2.0.0 to 2.0.1
2020-06-10 06:05:37 +01:00
Henry Whitaker
08a9cb43d0 Merge pull request #75 from henrywhitaker3/dependabot/npm_and_yarn/babel/plugin-proposal-class-properties-7.10.1
Bump @babel/plugin-proposal-class-properties from 7.8.3 to 7.10.1
2020-06-10 06:05:19 +01:00
Henry Whitaker
01873020c1 Merge pull request #74 from henrywhitaker3/dependabot/npm_and_yarn/babel/preset-react-7.10.1
Bump @babel/preset-react from 7.9.4 to 7.10.1
2020-06-10 06:05:01 +01:00
Henry Whitaker
4b8671c335 Merge pull request #70 from henrywhitaker3/dependabot/composer/guzzlehttp/guzzle-6.5.4
Bump guzzlehttp/guzzle from 6.5.3 to 6.5.4
2020-06-10 06:04:39 +01:00
Henry Whitaker
713d497e25 Merge pull request #69 from henrywhitaker3/dependabot/composer/phpunit/phpunit-8.5.5
Bump phpunit/phpunit from 8.5.4 to 8.5.5
2020-06-10 06:04:22 +01:00
Henry Whitaker
06840959ea Merge pull request #85 from henrywhitaker3/baseurl
Added base url
2020-06-10 06:03:37 +01:00
Henry Whitaker
53f513c8e7 JS changes 2020-06-10 06:02:08 +01:00
dependabot-preview[bot]
0c7335ab9f Bump facade/ignition from 2.0.4 to 2.0.7
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.0.4 to 2.0.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.0.4...2.0.7)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-08 11:04:54 +00:00
dependabot-preview[bot]
b22bfc9fdf [Security] Bump websocket-extensions from 0.1.3 to 0.1.4
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node) from 0.1.3 to 0.1.4. **This update includes a security fix.**
- [Release notes](https://github.com/faye/websocket-extensions-node/releases)
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md)
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 16:56:24 +00:00
dependabot-preview[bot]
72ac9c1e89 Bump sass from 1.26.5 to 1.26.8
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.5 to 1.26.8.
- [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.5...1.26.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-05 08:08:43 +00:00
dependabot-preview[bot]
3e203ddf78 Bump laravel/framework from 7.12.0 to 7.14.1
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.12.0 to 7.14.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.12.0...v7.14.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-03 10:54:03 +00:00
dependabot-preview[bot]
18a63e7664 Bump fruitcake/laravel-cors from 2.0.0 to 2.0.1
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 2.0.0 to 2.0.1.
- [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.0...v2.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-01 11:22:53 +00:00
dependabot-preview[bot]
91290d8d55 Bump @babel/plugin-proposal-class-properties from 7.8.3 to 7.10.1
Bumps [@babel/plugin-proposal-class-properties](https://github.com/babel/babel/tree/HEAD/packages/babel-plugin-proposal-class-properties) from 7.8.3 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-plugin-proposal-class-properties)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 08:04:37 +00:00
dependabot-preview[bot]
738946a40b Bump @babel/preset-react from 7.9.4 to 7.10.1
Bumps [@babel/preset-react](https://github.com/babel/babel/tree/HEAD/packages/babel-preset-react) from 7.9.4 to 7.10.1.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/master/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.10.1/packages/babel-preset-react)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-28 08:04:02 +00:00
dependabot-preview[bot]
c556543d77 Bump guzzlehttp/guzzle from 6.5.3 to 6.5.4
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.3 to 6.5.4.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.4/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.3...6.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-26 11:00:15 +00:00
dependabot-preview[bot]
4a2190c699 Bump phpunit/phpunit from 8.5.4 to 8.5.5
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.4 to 8.5.5.
- [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.4...8.5.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-25 11:48:40 +00:00
Henry Whitaker
04faa2097a Made handling of wrong base URL more graceful 2020-05-21 00:21:38 +01:00
Henry Whitaker
76206de2c5 Added base url 2020-05-20 23:11:10 +01:00
Henry Whitaker
ddcf656264 Added version # to JS and CSS files to stop browser caching 2020-05-20 13:07:33 +01:00
Henry Whitaker
2990693485 Merge remote-tracking branch 'origin/master' into dev 2020-05-20 12:35:18 +01:00
Henry Whitaker
ccc06b7e77 Update README.md 2020-05-20 12:33:31 +01:00
Henry Whitaker
6f4867b99d Merge pull request #67 from henrywhitaker3/dev
Updated dependencies
2020-05-20 12:27:20 +01:00
Henry Whitaker
cf589f133d Updated changelog 2020-05-20 12:26:48 +01:00
Henry Whitaker
99c233aa7b Merge pull request #65 from henrywhitaker3/dependabot/composer/laravel/framework-7.12.0
Bump laravel/framework from 7.11.0 to 7.12.0
2020-05-20 12:23:56 +01:00
Henry Whitaker
cbb3b49238 Merge pull request #64 from henrywhitaker3/dependabot/composer/facade/ignition-2.0.4
Bump facade/ignition from 2.0.2 to 2.0.4
2020-05-20 12:22:38 +01:00
Henry Whitaker
9f37b252b1 Merge pull request #66 from henrywhitaker3/dev
Add settings
2020-05-20 12:18:53 +01:00
dependabot-preview[bot]
31dffc0540 Bump laravel/framework from 7.11.0 to 7.12.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.11.0 to 7.12.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.11.0...v7.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 11:15:14 +00:00
dependabot-preview[bot]
cb80023778 Bump facade/ignition from 2.0.2 to 2.0.4
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.0.2 to 2.0.4.
- [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.0.2...2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 11:14:15 +00:00
Henry Whitaker
647282d90c Merge pull request #63 from henrywhitaker3/settings
Added custom settings
2020-05-20 11:37:05 +01:00
Henry Whitaker
0a3ccf9db2 Updated changelog 2020-05-20 11:35:40 +01:00
Henry Whitaker
2737cc4eeb Updated app.js 2020-05-20 11:33:55 +01:00
Henry Whitaker
614f206826 Merge pull request #62 from henrywhitaker3/dependabot/npm_and_yarn/react-toastify-6.0.5
Bump react-toastify from 6.0.4 to 6.0.5
2020-05-20 11:32:06 +01:00
Henry Whitaker
9b66061531 Merge pull request #60 from henrywhitaker3/dependabot/composer/facade/ignition-2.0.4
Bump facade/ignition from 2.0.2 to 2.0.4
2020-05-20 11:31:39 +01:00
Henry Whitaker
48216c25a1 Added option to use custom server ids 2020-05-20 11:30:55 +01:00
dependabot-preview[bot]
3a1b086bbc Bump react-toastify from 6.0.4 to 6.0.5
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.4 to 6.0.5.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.4...v6.0.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-20 08:05:39 +00:00
dependabot-preview[bot]
89fb95e40a Bump facade/ignition from 2.0.2 to 2.0.4
Bumps [facade/ignition](https://github.com/facade/ignition) from 2.0.2 to 2.0.4.
- [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.0.2...2.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-19 11:01:46 +00:00
Henry Whitaker
2a5fd76c42 Added settings section and custom cron scheduling 2020-05-19 01:08:35 +01:00
Henry Whitaker
e889a4f487 Added settings table 2020-05-18 22:49:58 +01:00
Henry Whitaker
9d33633cdb Merge pull request #59 from henrywhitaker3/dev
Minor changes
2020-05-18 20:05:10 +01:00
Henry Whitaker
815003cf0c Fixed issue where queued job wouldn't use JSON speedtest 2020-05-18 20:04:38 +01:00
Henry Whitaker
92b4568c3b Merge pull request #58 from henrywhitaker3/dev
Minor changes
2020-05-18 19:21:12 +01:00
Henry Whitaker
3070a70a95 Switched to JSON speedtest output
re #55
2020-05-18 19:18:09 +01:00
Henry Whitaker
a0cc7073cd Stopped "Show more" button showing when no more tests to load in 2020-05-18 18:57:42 +01:00
Henry Whitaker
f5e3947bfd Changed scan -> test
Re #56
2020-05-18 18:55:10 +01:00
Henry Whitaker
729c1e88d8 Updated changelog 2020-05-18 18:54:16 +01:00
Henry Whitaker
1fb2eb0d88 Merge pull request #52 from henrywhitaker3/dependabot/composer/laravel/framework-7.11.0
Bump laravel/framework from 7.10.3 to 7.11.0
2020-05-18 18:44:31 +01:00
Henry Whitaker
24b205314b Merge pull request #53 from henrywhitaker3/dependabot/npm_and_yarn/react-toastify-6.0.4
Bump react-toastify from 6.0.3 to 6.0.4
2020-05-18 18:43:13 +01:00
dependabot-preview[bot]
458aaad2ae Bump react-toastify from 6.0.3 to 6.0.4
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.3 to 6.0.4.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v6.0.3...v6.0.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-14 08:04:22 +00:00
dependabot-preview[bot]
b043908209 Bump laravel/framework from 7.10.3 to 7.11.0
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.10.3 to 7.11.0.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.10.3...v7.11.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 11:03:19 +00:00
Henry Whitaker
63af1f2bb0 Merge pull request #51 from henrywhitaker3/dev
Updated dependencies and altered chaneglog modal
2020-05-13 10:10:34 +01:00
Henry Whitaker
d857502beb Updated changelog 2020-05-13 10:07:41 +01:00
Henry Whitaker
3741617f75 Only show first 5 versions in changelog
Rest are in a collapse component
2020-05-13 10:07:25 +01:00
Henry Whitaker
9f8dda73ab Merge pull request #50 from henrywhitaker3/dependabot/npm_and_yarn/react-router-5.2.0
Bump react-router from 5.1.2 to 5.2.0
2020-05-13 09:37:22 +01:00
Henry Whitaker
6986ff31e4 Merge pull request #49 from henrywhitaker3/dependabot/npm_and_yarn/bootstrap-4.5.0
Bump bootstrap from 4.4.1 to 4.5.0
2020-05-13 09:36:46 +01:00
Henry Whitaker
0cd8d52ace Merge pull request #48 from henrywhitaker3/dependabot/npm_and_yarn/react-toastify-6.0.3
Bump react-toastify from 6.0.2 to 6.0.3
2020-05-13 09:36:12 +01:00
dependabot-preview[bot]
fc8c1231a6 Bump react-router from 5.1.2 to 5.2.0
Bumps [react-router](https://github.com/ReactTraining/react-router) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Changelog](https://github.com/ReactTraining/react-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ReactTraining/react-router/compare/v5.1.2...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:18:10 +00:00
dependabot-preview[bot]
0c959776bc Bump bootstrap from 4.4.1 to 4.5.0
Bumps [bootstrap](https://github.com/twbs/bootstrap) from 4.4.1 to 4.5.0.
- [Release notes](https://github.com/twbs/bootstrap/releases)
- [Commits](https://github.com/twbs/bootstrap/compare/v4.4.1...v4.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:17:55 +00:00
dependabot-preview[bot]
e87ae9fcd4 Bump react-toastify from 6.0.2 to 6.0.3
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 6.0.2 to 6.0.3.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-13 08:17:00 +00:00
Henry Whitaker
321a2cfeef Merge pull request #46 from henrywhitaker3/dev
Updated dependencies
2020-05-12 11:46:58 +01:00
Henry Whitaker
4753de4dee Updated changelog 2020-05-12 11:45:41 +01:00
Henry Whitaker
762543f972 Merge pull request #42 from henrywhitaker3/dependabot/npm_and_yarn/react-router-dom-5.2.0
Bump react-router-dom from 5.1.2 to 5.2.0
2020-05-12 11:41:02 +01:00
Henry Whitaker
341c837cd2 Merge branch 'dev' into dependabot/npm_and_yarn/react-router-dom-5.2.0 2020-05-12 11:40:33 +01:00
dependabot-preview[bot]
eb2af1c781 Bump react-router-dom from 5.1.2 to 5.2.0
Bumps [react-router-dom](https://github.com/ReactTraining/react-router) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Changelog](https://github.com/ReactTraining/react-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ReactTraining/react-router/compare/v5.1.2...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 10:39:40 +00:00
Henry Whitaker
41deaa25d1 Merge pull request #45 from henrywhitaker3/revert-44-dependabot/npm_and_yarn/react-router-5.2.0
Revert "Bump react-router from 5.1.2 to 5.2.0"
2020-05-12 11:36:36 +01:00
Henry Whitaker
00cd8e8060 Revert "Bump react-router from 5.1.2 to 5.2.0" 2020-05-12 11:36:20 +01:00
Henry Whitaker
479726f637 Merge pull request #44 from henrywhitaker3/dependabot/npm_and_yarn/react-router-5.2.0
Bump react-router from 5.1.2 to 5.2.0
2020-05-12 11:35:58 +01:00
dependabot-preview[bot]
a897387423 Bump react-router from 5.1.2 to 5.2.0
Bumps [react-router](https://github.com/ReactTraining/react-router) from 5.1.2 to 5.2.0.
- [Release notes](https://github.com/ReactTraining/react-router/releases)
- [Changelog](https://github.com/ReactTraining/react-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ReactTraining/react-router/compare/v5.1.2...v5.2.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 10:35:49 +00:00
Henry Whitaker
9dd5a37d76 Merge pull request #40 from henrywhitaker3/dependabot/composer/fruitcake/laravel-cors-2.0.0
Bump fruitcake/laravel-cors from 1.0.6 to 2.0.0
2020-05-12 11:35:39 +01:00
Henry Whitaker
1e8a95b420 Merge pull request #43 from henrywhitaker3/dependabot/npm_and_yarn/react-toastify-6.0.2
Bump react-toastify from 5.5.0 to 6.0.2
2020-05-12 11:35:11 +01:00
dependabot-preview[bot]
b6e2b29f39 Bump react-toastify from 5.5.0 to 6.0.2
Bumps [react-toastify](https://github.com/fkhadra/react-toastify) from 5.5.0 to 6.0.2.
- [Release notes](https://github.com/fkhadra/react-toastify/releases)
- [Commits](https://github.com/fkhadra/react-toastify/compare/v5.5.0...v6.0.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-12 08:17:43 +00:00
dependabot-preview[bot]
acb8ff29ad Bump fruitcake/laravel-cors from 1.0.6 to 2.0.0
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 1.0.6 to 2.0.0.
- [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/v1.0.6...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-11 11:29:23 +00:00
Henry Whitaker
9137cb9744 Merge remote-tracking branch 'origin/master' into dev 2020-05-07 12:05:08 +01:00
Henry Whitaker
d80f7e8ec7 Merge pull request #38 from henrywhitaker3/dev
Updated laravel framework
2020-05-07 12:04:53 +01:00
Henry Whitaker
4f1e964545 Updated changelog 2020-05-07 12:04:15 +01:00
Henry Whitaker
b916c0725b Merge pull request #37 from henrywhitaker3/dependabot/composer/laravel/framework-7.10.3
Bump laravel/framework from 7.9.2 to 7.10.3
2020-05-07 11:59:29 +01:00
dependabot-preview[bot]
2c12bb0f7f Bump laravel/framework from 7.9.2 to 7.10.3
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.9.2 to 7.10.3.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.9.2...v7.10.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-07 10:41:33 +00:00
Henry Whitaker
c9fb94a445 Merge branch 'master' into dev 2020-05-05 09:28:20 +01:00
Henry Whitaker
c22e923d0e Update README.md 2020-05-05 09:28:05 +01:00
Henry Whitaker
baea554579 Merge branch 'master' into dev 2020-05-05 09:26:47 +01:00
Henry Whitaker
a8e90a8119 Merge pull request #33 from henrywhitaker3/dev
Updated jQuery
2020-05-05 09:26:31 +01:00
Henry Whitaker
64d72d097f Updated changelog 2020-05-05 09:25:55 +01:00
Henry Whitaker
6c88a7f269 Merge pull request #32 from henrywhitaker3/dependabot/npm_and_yarn/jquery-3.5.1
Bump jquery from 3.5.0 to 3.5.1
2020-05-05 09:20:12 +01:00
dependabot-preview[bot]
341204aa12 Bump jquery from 3.5.0 to 3.5.1
Bumps [jquery](https://github.com/jquery/jquery) from 3.5.0 to 3.5.1.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.5.0...3.5.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-05-05 08:13:54 +00:00
Henry Whitaker
41f0431423 Merge pull request #31 from henrywhitaker3/dev
Updated dependencies
2020-04-30 15:58:21 +01:00
Henry Whitaker
c11dbceede Updated changelog 2020-04-30 15:57:39 +01:00
Henry Whitaker
5495786b56 Merge pull request #30 from henrywhitaker3/dependabot/composer/laravel/ui-2.0.3
Bump laravel/ui from 2.0.1 to 2.0.3
2020-04-30 15:56:24 +01:00
Henry Whitaker
623a651f2b Merge pull request #28 from henrywhitaker3/dependabot/composer/laravel/framework-7.9.2
Bump laravel/framework from 7.8.1 to 7.9.2
2020-04-30 15:54:53 +01:00
dependabot-preview[bot]
9fdb675996 Bump laravel/ui from 2.0.1 to 2.0.3
Bumps [laravel/ui](https://github.com/laravel/ui) from 2.0.1 to 2.0.3.
- [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.0.1...v2.0.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-30 10:35:51 +00:00
dependabot-preview[bot]
ff340d109d Bump laravel/framework from 7.8.1 to 7.9.2
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.8.1 to 7.9.2.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.8.1...v7.9.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-29 10:15:49 +00:00
Henry Whitaker
c19374e147 Merge pull request #27 from henrywhitaker3/dev
Updated laravel-cors
2020-04-29 00:13:27 +01:00
Henry Whitaker
8e35410eb3 Edited changelog 2020-04-29 00:10:53 +01:00
Henry Whitaker
f385853476 Merge pull request #26 from henrywhitaker3/dependabot/composer/fruitcake/laravel-cors-1.0.6
Bump fruitcake/laravel-cors from 1.0.5 to 1.0.6
2020-04-29 00:02:56 +01:00
dependabot-preview[bot]
d64c776aab Bump fruitcake/laravel-cors from 1.0.5 to 1.0.6
Bumps [fruitcake/laravel-cors](https://github.com/fruitcake/laravel-cors) from 1.0.5 to 1.0.6.
- [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/v1.0.5...v1.0.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-28 09:55:25 +00:00
Henry Whitaker
08ab6d67a7 Merge pull request #25 from henrywhitaker3/dev
Added slack webhook notification
2020-04-27 19:22:52 +01:00
Henry Whitaker
0fae09e2f6 Updated README.md 2020-04-27 19:22:13 +01:00
Henry Whitaker
fc35da9f8d Added slack notifications 2020-04-27 18:50:01 +01:00
Henry Whitaker
4764aae1e4 Merge pull request #24 from henrywhitaker3/dev
Updated laravel framework
2020-04-27 15:11:36 +01:00
Henry Whitaker
78bb343d09 Updated dependencies 2020-04-27 15:05:26 +01:00
Henry Whitaker
b462a1bb99 Merge pull request #23 from henrywhitaker3/dependabot/composer/laravel/framework-7.8.1
Bump laravel/framework from 7.7.1 to 7.8.1
2020-04-27 14:58:57 +01:00
dependabot-preview[bot]
ee7a8ad797 Bump laravel/framework from 7.7.1 to 7.8.1
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.7.1 to 7.8.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.7.1...v7.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-27 11:13:39 +00:00
Henry Whitaker
b6e4ab2760 Added favicons 2020-04-25 12:25:39 +01:00
Henry Whitaker
73523e102f updated README.md 2020-04-24 18:26:36 +01:00
Henry Whitaker
b61963af3b Added UI for changelog 2020-04-24 18:20:32 +01:00
Henry Whitaker
d160dcbd0b Added changelog API method 2020-04-24 18:20:12 +01:00
Henry Whitaker
dee74bb0c8 Increment version # & add to changelog 2020-04-24 17:47:42 +01:00
Henry Whitaker
823993919c Merge pull request #21 from henrywhitaker3/dependabot/composer/phpunit/phpunit-8.5.4
Bump phpunit/phpunit from 8.5.3 to 8.5.4
2020-04-24 17:38:23 +01:00
Henry Whitaker
51ba0c839a Merge pull request #20 from henrywhitaker3/dependabot/npm_and_yarn/react-bootstrap-1.0.1
Bump react-bootstrap from 1.0.0 to 1.0.1
2020-04-24 17:37:50 +01:00
Henry Whitaker
6a944e6716 Merge pull request #19 from henrywhitaker3/dependabot/composer/laravel/framework-7.7.1
Bump laravel/framework from 7.6.2 to 7.7.1
2020-04-24 17:37:26 +01:00
Henry Whitaker
adcf8a9051 Merge pull request #22 from henrywhitaker3/dependabot/npm_and_yarn/sass-1.26.5
Bump sass from 1.26.3 to 1.26.5
2020-04-24 17:36:43 +01:00
dependabot-preview[bot]
0b79630e9e Bump sass from 1.26.3 to 1.26.5
Bumps [sass](https://github.com/sass/dart-sass) from 1.26.3 to 1.26.5.
- [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.3...1.26.5)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-24 08:24:55 +00:00
dependabot-preview[bot]
b44159eb4a Bump phpunit/phpunit from 8.5.3 to 8.5.4
Bumps [phpunit/phpunit](https://github.com/sebastianbergmann/phpunit) from 8.5.3 to 8.5.4.
- [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.3...8.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 09:40:26 +00:00
dependabot-preview[bot]
fc2fe39359 Bump react-bootstrap from 1.0.0 to 1.0.1
Bumps [react-bootstrap](https://github.com/react-bootstrap/react-bootstrap) from 1.0.0 to 1.0.1.
- [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.0.0...v1.0.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-23 08:17:09 +00:00
dependabot-preview[bot]
30e262c35a Bump laravel/framework from 7.6.2 to 7.7.1
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.6.2 to 7.7.1.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.6.2...v7.7.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-22 10:07:27 +00:00
Henry Whitaker
fa28d3523f Update README.md 2020-04-21 23:43:55 +01:00
Henry Whitaker
fc8806e9df Update README.md 2020-04-21 23:43:14 +01:00
Henry Whitaker
8035d51bf5 Fixed graph order
Explicit ordering by time was showing the results the wrong way around
2020-04-21 23:41:09 +01:00
Henry Whitaker
cfa6dc43ca Merge pull request #18 from henrywhitaker3/dev
Changed graph view to 7 days by default
2020-04-21 23:26:23 +01:00
Henry Whitaker
05c5ebb718 Merge pull request #17 from henrywhitaker3/dependabot/composer/guzzlehttp/guzzle-6.5.3
Bump guzzlehttp/guzzle from 6.5.2 to 6.5.3
2020-04-21 23:24:43 +01:00
Henry Whitaker
1b0b62f70e Merge pull request #16 from henrywhitaker3/dependabot/composer/laravel/framework-7.6.2
Bump laravel/framework from 7.5.2 to 7.6.2
2020-04-21 23:24:27 +01:00
Henry Whitaker
1c92353816 Changed latest graph to show last 7 days by default 2020-04-21 23:23:56 +01:00
dependabot-preview[bot]
3eb93f8b95 Bump guzzlehttp/guzzle from 6.5.2 to 6.5.3
Bumps [guzzlehttp/guzzle](https://github.com/guzzle/guzzle) from 6.5.2 to 6.5.3.
- [Release notes](https://github.com/guzzle/guzzle/releases)
- [Changelog](https://github.com/guzzle/guzzle/blob/6.5.3/CHANGELOG.md)
- [Commits](https://github.com/guzzle/guzzle/compare/6.5.2...6.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-20 10:47:55 +00:00
dependabot-preview[bot]
9aa083d09b Bump laravel/framework from 7.5.2 to 7.6.2
Bumps [laravel/framework](https://github.com/laravel/framework) from 7.5.2 to 7.6.2.
- [Release notes](https://github.com/laravel/framework/releases)
- [Changelog](https://github.com/laravel/framework/blob/7.x/CHANGELOG-7.x.md)
- [Commits](https://github.com/laravel/framework/compare/v7.5.2...v7.6.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-16 09:56:47 +00:00
Henry Whitaker
e00f9af1c9 Update README.md 2020-04-14 00:08:30 +01:00
Henry Whitaker
62eeeee9fe Added some tests 2020-04-14 00:05:29 +01:00
Henry Whitaker
50ed4ab894 Merge pull request #14 from henrywhitaker3/dev
Shuffled around UI elements
2020-04-13 23:24:10 +01:00
Henry Whitaker
259ab2fe48 Shuffled around UI elements 2020-04-13 23:19:21 +01:00
Henry Whitaker
3b60bd756f Merge pull request #13 from henrywhitaker3/dev
Added avg + max
2020-04-13 23:00:54 +01:00
Henry Whitaker
51a459cc07 npm run prod 2020-04-13 22:45:38 +01:00
Henry Whitaker
2adb977cfb Added front-end current/max/avg 2020-04-13 22:37:22 +01:00
Henry Whitaker
3ea2cb97e9 Added max and avg to data returned by the API 2020-04-13 22:36:49 +01:00
Henry Whitaker
8d6cb6a962 Update README.md 2020-04-13 17:50:26 +01:00
Henry Whitaker
a04c72e63d Merge pull request #12 from henrywhitaker3/dev
Removed points on graphs and updated jquery
2020-04-13 10:57:33 +01:00
Henry Whitaker
dc65b931cb Added link to changelog 2020-04-13 10:51:45 +01:00
Henry Whitaker
5ffbfc2018 Changed pointHitRadius 2020-04-13 10:49:06 +01:00
Henry Whitaker
18653fbae7 Updated JS with new jquery version 2020-04-13 10:41:51 +01:00
Henry Whitaker
6fab906ca7 Merge pull request #11 from henrywhitaker3/dependabot/npm_and_yarn/jquery-3.5.0
Bump jquery from 3.4.1 to 3.5.0
2020-04-13 10:40:24 +01:00
Henry Whitaker
d5386a96d0 Removed radius on graph points 2020-04-13 10:39:37 +01:00
dependabot-preview[bot]
e2e45c193f Bump jquery from 3.4.1 to 3.5.0
Bumps [jquery](https://github.com/jquery/jquery) from 3.4.1 to 3.5.0.
- [Release notes](https://github.com/jquery/jquery/releases)
- [Commits](https://github.com/jquery/jquery/compare/3.4.1...3.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-04-13 07:35:05 +00:00
Henry Whitaker
bea5654218 Merge pull request #9 from henrywhitaker3/add-license-1
Create LICENSE
2020-04-13 08:28:47 +01:00
Henry Whitaker
970d7c3df2 Create LICENSE 2020-04-13 08:28:34 +01:00
Henry Whitaker
1a9774f60c Changed order of speedtests table 2020-04-13 08:15:52 +01:00
Henry Whitaker
1c72221df9 Added a table to display all test results 2020-04-13 01:11:54 +01:00
Henry Whitaker
5e60eb897f Update README.md 2020-04-12 21:01:46 +00:00
249 changed files with 33525 additions and 142915 deletions

19
.dockerignore Normal file
View File

@@ -0,0 +1,19 @@
/node_modules
/public/hot
/public/storage
/storage/*.key
/vendor
.env
.env.backup
.phpunit.result.cache
Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.vscode/
_ide_helper.php
.idea
.config
reports/

View File

@@ -8,7 +8,7 @@ LOG_CHANNEL=stack
DB_CONNECTION=sqlite
# Use absolute paths to the database
DB_DATABASE=/absolute/path/to/database/directory/speed.sdb
DB_DATABASE=/absolute/path/to/database/directory/speed.db
BROADCAST_DRIVER=log
CACHE_DRIVER=file
@@ -21,3 +21,10 @@ SPEEDTEST_PASSWORD=
# Number of days you stay logged in for
REMEMBER_DAYS=30
SLACK_WEBHOOK=
TELEGRAM_BOT_TOKEN=
TELEGRAM_CHAT_ID=
BASE_PATH=

31
.github/ISSUE_TEMPLATE/bug_report.md vendored Normal file
View File

@@ -0,0 +1,31 @@
---
name: Bug report
about: Bug Report
title: "[BUG]"
labels: bug
assignees: ''
---
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
**Expected behavior**
A clear and concise description of what you expected to happen.
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Context**
- OS: [e.g Docker, Ubuntu, etc.]
- Speedtest-Tracker Version:
**Additional context**
Add any other context about the problem here.

View File

@@ -0,0 +1,14 @@
---
name: Feature request
about: Suggest an idea for this project
title: "[Feature Request]"
labels: enhancement
assignees: ''
---
**Describe the feature**
A clear and concise description of what you want to happen.
**Additional context**
Add any other context or screenshots about the feature request here.

79
.github/dependabot.yml vendored Normal file
View File

@@ -0,0 +1,79 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
ignore:
- dependency-name: laravel/framework
versions:
- 7.30.3
- 8.36.2
- 8.37.0
- 8.38.0
- dependency-name: doctrine/dbal
versions:
- 2.13.0
- 3.0.0
- dependency-name: phpunit/phpunit
versions:
- 9.5.1
- 9.5.3
- dependency-name: facade/ignition
versions:
- 2.5.10
- 2.5.11
- 2.5.12
- 2.5.13
- 2.5.9
- dependency-name: laravel/tinker
versions:
- 2.6.0
- dependency-name: nunomaduro/collision
versions:
- 5.3.0
- dependency-name: nunomaduro/larastan
versions:
- 0.6.13
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 10
target-branch: dev
ignore:
- dependency-name: chart.js
versions:
- 3.1.0
- 3.1.1
- dependency-name: laravel-mix
versions:
- 6.0.16
- dependency-name: y18n
versions:
- 4.0.1
- 4.0.2
- dependency-name: react-dom
versions:
- 17.0.2
- dependency-name: react
versions:
- 17.0.2
- dependency-name: react-bootstrap
versions:
- 1.4.3
- 1.5.0
- dependency-name: sass
versions:
- 1.32.5
- 1.32.6
- 1.32.7
- dependency-name: "@babel/plugin-proposal-class-properties"
versions:
- 7.12.13
- dependency-name: react-toastify
versions:
- 7.0.1
- 7.0.2

16
.github/workflows/docker-image-pr.yml vendored Normal file
View File

@@ -0,0 +1,16 @@
name: DockerPR
on:
pull_request:
branches: [ docker, dev-docker, alpha-docker ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)

29
.github/workflows/laravel-dev.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Build Dev Image
on:
push:
branches: [ dev ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v1.2.0
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: henrywhitaker3/speedtest-tracker:dev,henrywhitaker3/speedtest-tracker:dev-arm

29
.github/workflows/laravel-master.yml vendored Normal file
View File

@@ -0,0 +1,29 @@
name: Build Latest Image
on:
push:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Docker Setup Buildx
uses: docker/setup-buildx-action@v1.2.0
- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
file: ./docker/Dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7
push: true
tags: henrywhitaker3/speedtest-tracker:latest,henrywhitaker3/speedtest-tracker:latest-arm

59
.github/workflows/laravel-pr.yml vendored Normal file
View File

@@ -0,0 +1,59 @@
name: PR
on:
pull_request:
branches: [ master, dev, alpha ]
jobs:
laravel-tests:
runs-on: ubuntu-latest
steps:
- uses: shivammathur/setup-php@b7d1d9c9a92d8d8463ce36d7f60da34d461724f8
with:
php-version: '7.4'
- uses: actions/checkout@v2
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Update .env with secrets
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
TELEGRAM_BOT_TOKEN: ${{ secrets.TELEGRAM_BOT_TOKEN }}
TELEGRAM_CHAT_ID: ${{ secrets.TELEGRAM_CHAT_ID }}
HEALTHCHECKS_UUID: ${{ secrets.HEALTHCHECKS_UUID }}
run: |
echo SLACK_WEBHOOK=$SLACK_WEBHOOK >> .env
echo TELEGRAM_BOT_TOKEN=$TELEGRAM_BOT_TOKEN >> .env
echo TELEGRAM_CHAT_ID=$TELEGRAM_CHAT_ID >> .env
echo HEALTHCHECKS_UUID=$HEALTHCHECKS_UUID >> .env
- name: Install Dependencies
run: composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
- name: Create Database
run: |
mkdir -p database
touch database/database.sqlite
- name: Generate key
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan key:generate
- name: Generate JWT key
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan jwt:secret
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: Download Speedtest binary
run: wget https://install.speedtest.net/app/cli/ookla-speedtest-1.0.0-x86_64-linux.tgz -O speedtest.tgz && tar zxvf speedtest.tgz && mv speedtest app/Bin/
- name: Accept EULA
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan speedtest:eula
- name: Execute tests (Unit and Feature tests) via PHPUnit
env:
DB_CONNECTION: sqlite
DB_DATABASE: database/database.sqlite
run: php artisan test --parallel

7
.gitignore vendored
View File

@@ -10,3 +10,10 @@ Homestead.json
Homestead.yaml
npm-debug.log
yarn-error.log
.vscode/
_ide_helper.php
.idea
.config
reports/

674
LICENSE Normal file
View File

@@ -0,0 +1,674 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

185
README.md
View File

@@ -1,6 +1,12 @@
# Speedtest Tracker
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://github.com/sivel/speedtest-cli) package to get the data and uses [Chart.js](https://www.chartjs.org/) to plot the results.
[![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.12.1-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.
A demo can be found [here](https://speedtest.henrywhitaker.com)
Disclaimer: You will need to accept Ookla's EULA and privacy agreements in order to use this container.
![speedtest](https://user-images.githubusercontent.com/36062479/78822484-a82b8300-79ca-11ea-8525-fdeae496a0bd.gif)
@@ -8,108 +14,97 @@ This program runs a speedtest check every hour and graphs the results. The back-
- Automatically run a speedtest every hour
- Graph of previous speedtests going back x days
- Backup/restore data in JSON format
- Backup/restore data in JSON/CSV format
- Slack/Discord/Telegram notifications
- [healthchecks.io](https://healthchecks.io) integration
- Organizr integration
- InfluxDB integration (currently v1 only, v2 is a WIP)
## Installation & Setup
### Using Docker
A docker image is available [here](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker)
A docker image is available [here](https://hub.docker.com/r/henrywhitaker3/speedtest-tracker), you can create a new conatiner by running:
When updating to a new version of the docker image, use the built-in backup function before updating, and then restore your data after updating.
```bash
docker create \
--name=speedtest \
-p 8765:80 \
-v /path/to/data:/config \
-e OOKLA_EULA_GDPR=true \
--restart unless-stopped \
henrywhitaker3/speedtest-tracker
```
### Using Docker Compose
```yml
version: '3.3'
services:
speedtest:
container_name: speedtest
image: henrywhitaker3/speedtest-tracker
ports:
- 8765:80
volumes:
- /path/to/data:/config
environment:
- TZ=
- PGID=
- PUID=
- OOKLA_EULA_GDPR=true
logging:
driver: "json-file"
options:
max-file: "10"
max-size: "200k"
restart: unless-stopped
```
#### Images
There are 2 different docker images:
| Tag | Description |
| :----: | --- |
| latest | This is the stable release of the app |
| dev | This release has more features, although could have some bugs |
#### Parameters
Container images are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `<external>:<internal>` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.
| Parameter | Function |
| :----: | --- |
| `-p 8765:80` | Exposes the webserver on port 8765 |
| `-v /config` | All the config files reside here. |
| `-e OOKLA_EULA_GDPR` | Set to 'true' to accept the Ookla [EULA](https://www.speedtest.net/about/eula) and privacy agreement. If this is not set, the container will not start |
| `-e SLACK_WEBHOOK` | Optional. Put a slack webhook here to get slack notifications when a speedtest is run. To use discord webhooks, just append `/slack` to the end of your discord webhook URL |
| `-e TELEGRAM_BOT_TOKEN` | Optional. Telegram bot API token. |
| `-e TELEGRAM_CHAT_ID` | Optional. Telegram chat ID. |
| `-e PUID` | Optional. Supply a local user ID for volume permissions |
| `-e PGID` | Optional. Supply a local group ID for volume permissions |
| `-e AUTH` | Optional. Set to 'true' to enable authentication for the app |
| `-e INFLUXDB_RETENTION`| Optional. Sets the InfluxDB retention period, defaults to `30d` |
| `-e INFLUXDB_HOST_TAG | Optional. Sets the InfluxDB host tag value, defaults to `speedtest` |
### Authentication
Authentication is optional. When enabled, unauthenticated users will only be able to see the graphs and tests table. To be able to queue a new speedtest, backup/restore data and update instance settings you will need to log in. To enable authentication, pass the `AUTH=true` environment variable in docker or run `php artisan speedtest:auth --enable` for manual installs (same command with `--disable` to turn it off).
The default credentials are:
| Field | Function |
| --- | --- |
| username | admin@admin.com |
| password | password |
After enabling, you should change the password through the web UI.
### Manual Install
#### Installing Dependencies
For manual installations, please follow the instructions [here](https://github.com/henrywhitaker3/Speedtest-Tracker/wiki/Manual-Installation).
This program has some dependencies, to install them you need to run the following:
### Kubernetes
```bash
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
```
```bash
sudo apt install curl
curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install nodejs
```
```bash
sudo pip3 install speedtest-cli
```
Then, download the code by running:
```bash
git clone https://github.com/henrywhitaker3/Speedtest-Tracker.git
```
Install the composer and npm dependencies:
```bash
composer install
npm install && npm run production
```
#### Setting up the database
Run the following to set your database variables:
```bash
cp .env.example .env
```
Then update the `DB_DATABASE` value with the absolute path of your install, followed by `/database/speed.db`.
Finally, run the following to setup the tables in the database:
```bash
php artisan key:generate
php artisan migrate
```
Now run the following to make sure everything has been setup properly (it should output a speedtest result):
```bash
php artisan speedtest:run
```
#### Scheduling Setup
To get speed test results every hour, you need to add a cronjob, run `sudo crontab -e` and add an entry with the following (with the path you your install):
```bash
* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1
```
#### Queue Setup
```bash
sudo apt install supervisor
```
```bash
sudo vim /etc/supervisor/conf.d/laravel-worker.conf
```
Add the following, updating the `command` and user `values`:
```bash
[program:laravel-worker]
process_name=%(program_name)s_%(process_num)02d
command=php /path/to/project/artisan queue:work
autostart=true
autorestart=true
user=<user>
numprocs=8
redirect_stderr=true
```
Then run:
```bash
sudo supervisorctl reread
sudo supervisorctl update
sudo supervisorctl restart all
```
There is a 3rd party helm chart available [here](https://github.com/sOblivionsCall/charts).

View File

@@ -0,0 +1,48 @@
<?php
namespace App\Actions;
use App\Models\Speedtest;
use Cache;
use Carbon\Carbon;
use DB;
use Henrywhitaker3\LaravelActions\Interfaces\ActionInterface;
class GetFailedSpeedtestData implements ActionInterface
{
/**
* Run the action.
*
* @return mixed
*/
public function run($days = 7)
{
$ttl = Carbon::now()->addDays(1);
return Cache::remember('failure-rate-' . $days, $ttl, function () use ($days) {
$range = [
Carbon::today()
];
for ($i = 0; $i < ($days - 1); $i++) {
$prev = end($range);
$new = $prev->copy()->subDays(1);
array_push($range, $new);
}
$rate = [];
foreach ($range as $day) {
$success = Speedtest::select(DB::raw('COUNT(id) as rate'))->whereDate('created_at', $day)->where('failed', false)->get()[0]['rate'];
$fail = Speedtest::select(DB::raw('COUNT(id) as rate'))->whereDate('created_at', $day)->where('failed', true)->get()[0]['rate'];
array_push($rate, [
'date' => $day->toDateString(),
'success' => $success,
'failure' => $fail,
]);
}
return array_reverse($rate);
});
}
}

View File

@@ -0,0 +1,52 @@
<?php
namespace App\Actions;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Models\Speedtest;
use DB;
use Henrywhitaker3\LaravelActions\Interfaces\ActionInterface;
class GetLatestSpeedtestData implements ActionInterface
{
/**
* Run the action.
*
* @return mixed
*/
public function run()
{
$data = SpeedtestHelper::latest();
$response = [
'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;
}
return $response;
}
}

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Actions;
use App\Helpers\SettingsHelper;
use App\Models\Speedtest;
use Cache;
use Carbon\Carbon;
use Henrywhitaker3\LaravelActions\Interfaces\ActionInterface;
class GetSpeedtestTimeData implements ActionInterface
{
/**
* Run the action.
*
* @return mixed
*/
public function run($days = 7)
{
$ttl = Carbon::now()->addDays(1);
return Cache::remember('speedtest-days-' . $days, $ttl, function () use ($days) {
$showFailed = (bool)SettingsHelper::get('show_failed_tests_on_graph')->value;
if ($showFailed === true) {
return Speedtest::where('created_at', '>=', Carbon::now()->subDays($days))
->orderBy('created_at', 'asc')
->get();
}
return Speedtest::where('created_at', '>=', Carbon::now()->subDays($days))
->where('failed', false)
->orderBy('created_at', 'asc')
->get();
});
}
}

View File

@@ -0,0 +1,35 @@
<?php
namespace App\Actions;
use App\Helpers\SettingsHelper;
use App\Interfaces\SpeedtestProvider;
use App\Jobs\SpeedtestJob;
use Henrywhitaker3\LaravelActions\Interfaces\ActionInterface;
class QueueSpeedtest implements ActionInterface
{
private SpeedtestProvider $speedtestProvider;
/**
* Create a new action instance.
*
* @return void
*/
public function __construct(SpeedtestProvider $speedtestProvider)
{
$this->speedtestProvider = $speedtestProvider;
}
/**
* Run the action.
*
* @return mixed
*/
public function run()
{
SettingsHelper::loadIntegrationConfig();
SpeedtestJob::dispatch(false, config('integrations'), $this->speedtestProvider);
}
}

1
app/Bin/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
speedtest

View File

@@ -0,0 +1,52 @@
<?php
namespace App\Casts;
use Illuminate\Contracts\Database\Eloquent\CastsAttributes;
class CommaSeparatedArrayCast implements CastsAttributes
{
/**
* Array of settings that should be cast
*/
private array $shouldCast = [
'visible_columns',
'hidden_columns',
];
/**
* Cast the given value.
*
* @param \Illuminate\Database\Eloquent\Model $model
* @param string $key
* @param mixed $value
* @param array $attributes
* @return mixed
*/
public function get($model, $key, $value, $attributes)
{
if (!in_array($model->name, $this->shouldCast)) {
return $value;
}
return explode(',', $value);
}
/**
* Prepare the given value for storage.
*
* @param \Illuminate\Database\Eloquent\Model $model
* @param string $key
* @param mixed $value
* @param array $attributes
* @return mixed
*/
public function set($model, $key, $value, $attributes)
{
if (!in_array($model->name, $this->shouldCast)) {
return $value;
}
return implode(',', $value);
}
}

View File

@@ -0,0 +1,44 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use PhpParser\Node\Expr\ShellExec;
class AcceptEULACommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:eula';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Accept the Ookla EULA and GDPR agreements.';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$this->info('Acceping EULA');
shell_exec(config('speedtest.home') . ' && timeout 10s ' . app_path() . '/Bin/speedtest --accept-license --accept-gdpr');
}
}

View File

@@ -0,0 +1,59 @@
<?php
namespace App\Console\Commands;
use App\Helpers\SettingsHelper;
use Illuminate\Console\Command;
class AuthenticationCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:auth {--enable} {--disable}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Toggle authentication for the app';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$opts = $this->options();
if($opts['enable'] === true && $opts['disable'] === true) {
$this->warn('Please specify only ONE of --enable and --disable');
} else if($opts['enable'] === false && $opts['disable'] === false) {
$this->warn('You need to specify either --enable OR --disable');
} else {
if($opts['enable'] === true) {
$this->info('Enabling authentication');
SettingsHelper::set('auth', true);
}
if($opts['disable'] === true) {
$this->info('Disabling authentication');
SettingsHelper::set('auth', false);
}
}
}
}

View File

@@ -0,0 +1,48 @@
<?php
namespace App\Console\Commands;
use App\Models\Auth\LoginSession;
use Carbon\Carbon;
use Illuminate\Console\Command;
use Log;
class ClearOldSessionsCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:clear-sessions';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Clear expired sessions from database';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return int
*/
public function handle()
{
$now = Carbon::now()->timestamp;
$sessions = LoginSession::where('expires', '<=', $now)
->delete();
$this->info('Invalidated expired sessions');
}
}

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\DB;
class ClearQueueCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'queue:clear';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Clear all queued jobs';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
DB::table('jobs')->delete();
}
}

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Console\Commands;
use App\Helpers\SettingsHelper;
use Illuminate\Console\Command;
class GetConfig extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:config';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Get the application configuration';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$this->info(json_encode(SettingsHelper::getConfig(), JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES));
}
}

View File

@@ -0,0 +1,47 @@
<?php
namespace App\Console\Commands;
use App\Helpers\SettingsHelper;
use Illuminate\Console\Command;
class SetSlackWebhook extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:slack {webhook : The slack webhook to store}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Set the slack webhook setting';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$webhook = $this->argument('webhook');
SettingsHelper::set('slack_webhook', $webhook);
$this->info('Slack webhook updated');
}
}

View File

@@ -0,0 +1,51 @@
<?php
namespace App\Console\Commands;
use App\Helpers\SettingsHelper;
use Illuminate\Console\Command;
class SetTelegramOptions extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:telegram
{--bot= : The telegram bot token}
{--chat= : The telegram chat ID}';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Set the telegram settings';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$bot = $this->option('bot');
$chat = $this->option('chat');
SettingsHelper::set('telegram_bot_token', $bot);
SettingsHelper::set('telegram_chat_id', $chat);
$this->info('Telegram options updated');
}
}

View File

@@ -2,7 +2,9 @@
namespace App\Console\Commands;
use App\Exceptions\SpeedtestFailureException;
use App\Helpers\SpeedtestHelper;
use App\Interfaces\SpeedtestProvider;
use Illuminate\Console\Command;
class SpeedtestCommand extends Command
@@ -21,26 +23,40 @@ class SpeedtestCommand extends Command
*/
protected $description = 'Performs a new speedtest';
private SpeedtestProvider $speedtestProvider;
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
public function __construct(SpeedtestProvider $speedtestProvider)
{
$this->speedtestProvider = $speedtestProvider;
parent::__construct();
}
/**
* Execute the console command.
* Runs a speedtest synchroonously and displays the results..
*
* @return mixed
* @return void
*/
public function handle()
{
$this->info('Running speedtest, this might take a while...');
$results = SpeedtestHelper::runSpeedtest();
try {
$results = $this->speedtestProvider->run(false, false);
} catch (SpeedtestFailureException $e) {
$this->error('Something went wrong running the speedtest.');
exit();
}
if (property_exists($results, 'ping') && property_exists($results, 'download') && property_exists($results, 'upload')) {
$this->error('Something went wrong running the speedtest.');
exit();
}
$this->info('Ping: ' . $results->ping . ' ms');
$this->info('Download: ' . $results->download . ' Mbit/s');

View File

@@ -3,6 +3,7 @@
namespace App\Console\Commands;
use App\Helpers\SpeedtestHelper;
use App\Interfaces\SpeedtestProvider;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Artisan;
@@ -22,36 +23,51 @@ class SpeedtestLatestCommand extends Command
*/
protected $description = 'Returns the latest speedtest result';
private SpeedtestProvider $speedtestProvider;
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
public function __construct(SpeedtestProvider $speedtestProvider)
{
$this->speedtestProvider = $speedtestProvider;
parent::__construct();
}
/**
* Execute the console command.
* Prints the latest speedtest values.
*
* @return mixed
* @return void
*/
public function handle()
{
$latest = SpeedtestHelper::latest();
if($latest) {
$this->info('Last speedtest run at: ' . $latest->created_at);
$this->info('Ping: ' . $latest->ping . ' ms');
$this->info('Download: ' . $latest->download . ' Mbit/s');
$this->info('Upload: ' . $latest->upload . ' Mbit/s');
if ($latest) {
if ($latest->scheduled) {
$extra = '(scheduled)';
} else {
$extra = '(manual)';
}
$this->info('Last speedtest run at: ' . $latest->created_at . ' ' . $extra);
if ($latest->failed) {
$this->error('Speedtest failed');
} else {
$this->info('Ping: ' . $latest->ping . ' ms');
$this->info('Download: ' . $latest->download . ' Mbit/s');
$this->info('Upload: ' . $latest->upload . ' Mbit/s');
}
} else {
$this->info('No speedtests have been run yet.');
$this->info('Running speedtest, this might take a while...');
$results = SpeedtestHelper::runSpeedtest();
$results = $this->speedtestProvider->run();
$this->info('Ping: ' . $results->ping . ' ms');
$this->info('Download: ' . $results->download . ' Mbit/s');

View File

@@ -0,0 +1,46 @@
<?php
namespace App\Console\Commands;
use App\Events\SpeedtestOverviewEvent;
use App\Helpers\SpeedtestHelper;
use App\Notifications\SpeedtestOverviewSlack;
use Illuminate\Console\Command;
use Illuminate\Support\Facades\Notification;
class SpeedtestOverviewCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:overview';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Trigger a speedtest overview event';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return mixed
*/
public function handle()
{
event(new SpeedtestOverviewEvent());
}
}

View File

@@ -0,0 +1,42 @@
<?php
namespace App\Console\Commands;
use Illuminate\Console\Command;
class SpeedtestVersionCommand extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:version';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Displays the version number of this instance';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
$this->info('Speedtest Tracker v' . config('speedtest.version'));
}
}

View File

@@ -0,0 +1,43 @@
<?php
namespace App\Console\Commands;
use App\Helpers\SettingsHelper;
use Illuminate\Console\Command;
class TestNotification extends Command
{
/**
* The name and signature of the console command.
*
* @var string
*/
protected $signature = 'speedtest:notification';
/**
* The console command description.
*
* @var string
*/
protected $description = 'Send test notifications to all notification agents';
/**
* Create a new command instance.
*
* @return void
*/
public function __construct()
{
parent::__construct();
}
/**
* Execute the console command.
*
* @return void
*/
public function handle()
{
SettingsHelper::testNotification();
}
}

View File

@@ -2,7 +2,10 @@
namespace App\Console;
use App\Events\SpeedtestOverviewEvent;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Interfaces\SpeedtestProvider;
use App\Jobs\SpeedtestJob;
use Illuminate\Console\Scheduling\Schedule;
use Illuminate\Foundation\Console\Kernel as ConsoleKernel;
@@ -26,9 +29,19 @@ class Kernel extends ConsoleKernel
*/
protected function schedule(Schedule $schedule)
{
$schedule->call(function() {
SpeedtestJob::dispatch();
})->hourlyAt(0);
if ((bool)SettingsHelper::get('schedule_enabled')->value) {
$schedule->job(
new SpeedtestJob(
true,
config('integrations'),
app()->make(SpeedtestProvider::class)
)
)
->cron(SettingsHelper::get('schedule')['value'])
->timezone(env('TZ', 'UTC'));
}
$schedule->command('speedtest:overview')->cron('0 ' . SettingsHelper::get('speedtest_overview_time')->value . ' * * *')->timezone(env('TZ', 'UTC'));
$schedule->command('speedtest:clear-sessions')->everyMinute();
}
/**
@@ -38,7 +51,7 @@ class Kernel extends ConsoleKernel
*/
protected function commands()
{
$this->load(__DIR__.'/Commands');
$this->load(__DIR__ . '/Commands');
require base_path('routes/console.php');
}

View File

@@ -0,0 +1,39 @@
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Log;
class SpeedtestCompleteEvent
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $speedtest;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($speedtest)
{
$this->speedtest = $speedtest;
}
/**
* Get the channels the event should broadcast on.
*
* @return \Illuminate\Broadcasting\Channel|array
*/
public function broadcastOn()
{
return new PrivateChannel('channel-name');
}
}

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class SpeedtestFailedEvent
{
use Dispatchable, InteractsWithSockets, SerializesModels;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the channels the event should broadcast on.
*
* @return \Illuminate\Broadcasting\Channel|array
*/
public function broadcastOn()
{
return new PrivateChannel('channel-name');
}
}

View File

@@ -0,0 +1,36 @@
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class SpeedtestOverviewEvent
{
use Dispatchable, InteractsWithSockets, SerializesModels;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the channels the event should broadcast on.
*
* @return \Illuminate\Broadcasting\Channel|array
*/
public function broadcastOn()
{
return new PrivateChannel('channel-name');
}
}

View File

@@ -0,0 +1,38 @@
<?php
namespace App\Events;
use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
class TestNotificationEvent
{
use Dispatchable, InteractsWithSockets, SerializesModels;
public $agents;
/**
* Create a new event instance.
*
* @return void
*/
public function __construct($agents)
{
$this->agents = $agents;
}
/**
* Get the channels the event should broadcast on.
*
* @return \Illuminate\Broadcasting\Channel|array
*/
public function broadcastOn()
{
return new PrivateChannel('channel-name');
}
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Exceptions;
use Exception;
class InfluxDBConnectionErrorException extends Exception
{
//
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Exceptions;
use Exception;
class InfluxDBNotEnabledException extends Exception
{
//
}

View File

@@ -0,0 +1,10 @@
<?php
namespace App\Exceptions;
use Exception;
class SpeedtestFailureException extends Exception
{
//
}

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Facades;
use Illuminate\Support\Facades\Facade;
class HealthchecksFacade extends Facade
{
protected static function getFacadeAccessor()
{
return 'healthcheck';
}
}

View File

@@ -2,30 +2,285 @@
namespace App\Helpers;
use App\Speedtest;
use App\Models\Speedtest;
use Cache;
use DateTime;
use Exception;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Storage;
class BackupHelper {
public static function backup()
/**
* Generates a backup of all speedtests.
*
* @param string $format json|csv
* @return string $name Returns the filename of the backup.
*/
public static function backup(String $format = 'json')
{
$data = Speedtest::get();
$timestamp = new DateTime();
$timestamp = $timestamp->format('Y-m-d_H:i:s');
$name = 'speedtest_backup_' . $timestamp;
switch($format) {
case 'csv':
$data = Speedtest::get();
$csv = storage_path() . '/app/' . $name . '.csv';
$name = $name . '.csv';
$handle = fopen($csv, 'w+');
fputcsv($handle, array('id', 'ping', 'download', 'upload', 'server_id', 'server_name', 'server_host', 'url', 'scheduled', 'failed', 'created_at', 'updated_at'));
foreach($data as $d) {
fputcsv($handle, BackupHelper::createCSVBackupArray($d));
}
fclose($handle);
break;
case 'json':
default:
$data = Speedtest::get()->toJson();
$name = $name . '.json';
Storage::disk('local')->put($name, $data);
break;
}
return $name;
}
/**
* Restore data from a backup in CSV or JSON format
*
* @param array|string $array Backup data
* @param string $format json|csv
* @return bool
*/
public static function restore($array, $format)
{
Cache::flush();
if($format == 'json') {
foreach($array as $test) {
try {
$data = BackupHelper::backupJSONToArray($test);
if($data === false) {
continue;
}
Speedtest::create($data);
} catch(Exception $e) {
Log::error($e);
continue;
}
}
return true;
} else if($format == 'csv') {
$csv = explode(PHP_EOL, $array);
$headers = BackupHelper::validateCSV($csv[0]);
if($headers === false) {
return false;
}
unset($csv[0]);
$csv = array_values($csv);
for($i = 0; $i < sizeof($csv); $i++) {
$data = BackupHelper::backupCSVToArray($csv[$i]);
if($data === false) {
continue;
}
try {
Speedtest::create($data);
} catch(Exception $e) {
Log::error($e);
continue;
}
}
return true;
}
return false;
}
/**
* Validate a CSV file passed for restore
*
* @param String $csv The line containing the CSV headers
* @return bool|string
*/
public static function validateCSV(String $csv)
{
$headers = [
'old' => 'id,ping,download,upload,created_at,updated_at',
'new' => 'id,ping,download,upload,server_id,server_name,server_host,url,scheduled,failed,created_at,updated_at',
];
$backupHeaders = null;
foreach($headers as $key => $h) {
if($csv == $h) {
$backupHeaders = $key;
}
}
if($backupHeaders === null) {
Log::info('Incorrect CSV format');
return false;
}
return $backupHeaders;
}
/**
* Return an array from the raw CSV data
*
* @param String $line The line of CSV data
* @param String $header The type of backup header
* @return array|bool
*/
public static function backupCSVToArray(String $line, String $header = 'new')
{
$basic = explode(',', $line);
if($header == 'old') {
$array = [
'ping' => $basic[1],
'download' => $basic[2],
'upload' => $basic[3],
'created_at' => substr($basic[4], 1, -1),
];
}
if($header == 'new') {
$array = [
'ping' => $basic[1],
'download' => $basic[2],
'upload' => $basic[3],
'server_id' => $basic[4],
'server_name' => $basic[5],
'server_host' => $basic[6],
'url' => $basic[7],
'scheduled' => $basic[8],
'failed' => $basic[9],
'created_at' => substr($basic[10], 1, -1),
];
}
if(!isset($array)) {
return false;
}
return BackupHelper::cleanRestoreDataArray($array);
}
/**
* Clean an array, setting values with '' to null
*
* @param array $array
* @return array
*/
public static function cleanRestoreDataArray(array $array)
{
foreach($array as $key => $val) {
if($val === '') {
$array[$key] = null;
}
}
return $array;
}
/**
* Return an array from the JSON data
*
* @param array $json json_decoded data
* @return array|bool
*/
public static function backupJSONToArray($json)
{
$required = [
'ping',
'upload',
'download',
'created_at',
];
$extras = [
'server_id',
'server_name',
'server_host',
'url',
'failed',
'scheduled'
];
$array = [];
foreach($required as $req) {
if(!array_key_exists($req, $json)) {
return false;
}
$val = $json[$req];
if($val === '') {
$val = null;
}
$array[$req] = $val;
}
foreach($extras as $extra) {
if(array_key_exists($extra, $json)) {
$val = $json[$extra];
if($val === '') {
$val = null;
}
$array[$extra] = $val;
}
}
return $array;
}
/**
* Return an array to store in CSV
*
* @param Speedtest $test
* @return array
*/
public static function createCSVBackupArray(Speedtest $test)
{
$data = [
$test->id,
$test->ping,
$test->download,
$test->upload,
$test->server_id,
$test->server_name,
$test->server_host,
$test->url,
$test->scheduled,
$test->failed,
$test->created_at,
$test->updated_at
];
foreach($data as $key => $val) {
if(strpos($val, ',') !== false) {
$val = str_replace(',', ' -', $val);
}
$data[$key] = $val;
}
return $data;
}
public static function restore($array)
{
foreach($array as $test) {
try {
$st = Speedtest::create([
'ping' => $test['ping'],
'download' => $test['download'],
'upload' => $test['upload'],
'created_at' => $test['created_at'],
]);
} catch(Exception $e) {
continue;
}
}
}
}

View File

@@ -2,8 +2,8 @@
namespace App\Helpers;
use App\Auth\EmailVerification;
use App\User;
use App\Models\Auth\EmailVerification;
use App\Models\User;
class EmailVerificationHelper {
public static function checkVerificationAttempt($userID, $token)

View File

@@ -0,0 +1,67 @@
<?php
namespace App\Helpers;
class NotificationsHelper {
/**
* Parse $errors and format message
*
* @param array $errors
* @return String
*/
public static function formatPercentageThresholdMessage(array $errors)
{
$msg = NotificationsHelper::thresholdMessageStart($errors);
$msg = $msg . 'exceeded the percentage threshold';
return $msg;
}
/**
* Parse $errors and format message
*
* @param array $errors
* @return String
*/
public static function formatAbsoluteThresholdMessage(array $errors)
{
$msg = NotificationsHelper::thresholdMessageStart($errors);
$msg = $msg . 'exceeded the absolute threshold';
return $msg;
}
/**
* Iterate through errors to format message
*
* @param array $errors
* @return String
*/
public static function thresholdMessageStart(array $errors)
{
$msg = 'For the latest speedtest, the ';
for($i = 0; $i < sizeof($errors); $i++) {
$key = $errors[$i];
$msg = $msg . $key;
if(sizeof($errors) > 1 && $i < (sizeof($errors) - 1)) {
$msg = $msg . ', ';
}
}
if($msg[-1] != '') {
$msg = $msg . ' ';
}
if(sizeof($errors) > 1) {
$msg = $msg . 'values ';
} else {
$msg = $msg . 'value ';
}
return $msg;
}
}

View File

@@ -0,0 +1,218 @@
<?php
namespace App\Helpers;
use App\Events\TestNotificationEvent;
use App\Models\Setting;
use Cache;
use Carbon\Carbon;
class SettingsHelper
{
private static $settings = null;
/**
* Get a Setting object by name
*
* @param String $name The name field in the setting table
* @return \App\Setting|bool|array $name The Setting object. Returns false if no mathcing obj.
*/
public static function get(String $name)
{
$name = Setting::where('name', $name)->get();
if (sizeof($name) == 0) {
return false;
} else if (sizeof($name) == 1) {
return $name->first();
} else {
$name = $name->keyBy('name');
return $name->all();
}
}
/**
* Create / update value for Setting object.
*
* @param String $name Name of setting
* @param String|bool $value Value of setting
* @return \App\Setting
*/
public static function set(String $name, $value)
{
$setting = SettingsHelper::get($name);
if ($value === false) {
$value = "0";
}
if ($setting !== false) {
$setting->value = $value;
$setting->save();
} else {
$setting = Setting::create([
'name' => $name,
'value' => $value,
]);
}
if ($name == 'show_failed_tests_on_graph') {
Cache::flush();
}
return $setting;
}
/**
* Get the app's base path
*
* @return string
*/
public static function getBase()
{
$base = env('BASE_PATH', '/');
if ($base == '') {
$base = '/';
} else {
if ($base[0] != '/') {
$base = '/' . $base;
}
if ($base[-1] != '/') {
$base = $base . '/';
}
}
return $base;
}
/**
* Check whether a setting is defined in ENV vars or through DB
*
* @param string $key
* @return boolean
*/
public static function settingIsEditable(string $key)
{
// Manual override for app_name
if ($key === 'app_name') {
return true;
}
$results = [];
// Try exact key
$val = exec('echo $' . $key);
if ($val == "") {
array_push($results, true);
} else {
array_push($results, false);
}
// Try key all caps
$val = exec('echo $' . strtoupper($key));
if ($val == "") {
array_push($results, true);
} else {
array_push($results, false);
}
if (env($key, false) == false) {
array_push($results, true);
} else {
array_push($results, false);
}
if (env(strtoupper($key), false) == false) {
array_push($results, true);
} else {
array_push($results, false);
}
if (in_array(false, $results)) {
return false;
}
return true;
}
/**
* Get the application config
*
* @return array
*/
public static function getConfig()
{
return [
'base' => SettingsHelper::getBase(),
'name' => SettingsHelper::get('app_name')->value,
'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'),
'ping_graph_enabled' => SettingsHelper::get('ping_graph_enabled'),
'ping_graph_width' => SettingsHelper::get('ping_graph_width'),
'failure_graph_enabled' => SettingsHelper::get('failure_graph_enabled'),
'failure_graph_width' => SettingsHelper::get('failure_graph_width'),
],
'editable' => [
'slack_webhook' => SettingsHelper::settingIsEditable('slack_webhook'),
'telegram_bot_token' => SettingsHelper::settingIsEditable('telegram_bot_token'),
'telegram_chat_id' => SettingsHelper::settingIsEditable('telegram_chat_id'),
],
'tables' => [
'visible_columns' => SettingsHelper::get('visible_columns')->value,
'hidden_columns' => SettingsHelper::get('hidden_columns')->value,
],
'auth' => (bool)SettingsHelper::get('auth')->value
];
}
/**
* Send test notification to agents
*
* @param boolean|string $agent
* @return bool
*/
public static function testNotification($agent = true)
{
$agents = ['slack', 'telegram'];
if ($agent === true) {
event(new TestNotificationEvent($agents));
return true;
}
if (in_array($agent, $agents)) {
event(new TestNotificationEvent([$agent]));
return true;
}
return false;
}
public static function loadIntegrationConfig()
{
$settings = [
'healthchecks_enabled' => (bool)SettingsHelper::get('healthchecks_enabled')->value,
'healthchecks_uuid' => SettingsHelper::get('healthchecks_uuid')->value,
'slack_webhook' => SettingsHelper::get('slack_webhook')->value,
'telegram_bot_token' => SettingsHelper::get('telegram_bot_token')->value,
'telegram_chat_id' => SettingsHelper::get('telegram_chat_id')->value,
];
foreach ($settings as $key => $value) {
$key = 'integrations.' . $key;
if ($value === "") {
$value = null;
}
config()->set([$key => $value]);
}
}
}

View File

@@ -2,52 +2,92 @@
namespace App\Helpers;
use App\Speedtest;
use App\Interfaces\SpeedtestProvider;
use App\Models\Speedtest;
use App\Utils\OoklaTester;
use Carbon\Carbon;
use Exception;
use Henrywhitaker3\Healthchecks\Healthchecks;
use Illuminate\Support\Facades\File;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Log;
use InvalidArgumentException;
use JsonException;
class SpeedtestHelper {
public static function runSpeedtest($output = false)
class SpeedtestHelper
{
/**
* Runs/processes speedtest output to created a Speedtest object
*
* @param boolean|string $output If false, new speedtest runs. If anything else, will try to parse as JSON for speedtest results.
* @return \App\Speedtest|bool
*/
public static function runSpeedtest()
{
if($output === false) {
$output = shell_exec('speedtest-cli');
}
$output = preg_replace("/\r|\n/", "", $output);
$pattern = '/([0-9\.]{1,}) ms.*Download: ([0-9\.]{1,} [A-Za-z]{1,}\/s).*Upload: ([0-9\.]{1,} [A-Za-z]{1,}\/s)/';
$matches = [];
preg_match_all($pattern, $output, $matches);
$ping = $matches[1][0];
$down = SpeedtestHelper::parseUnits($matches[2][0]);
$up = SpeedtestHelper::parseUnits($matches[3][0]);
$test = Speedtest::create([
'ping' => $ping,
'download' => $down['val'],
'upload' => $up['val']
]);
return $test;
$tester = app()->make(SpeedtestProvider::class);
return $tester->run();
}
/**
* Get a 24 hour average of speedtest results
*
* @return array
*/
public static function last24Hours()
{
$t = Carbon::now()->subDay();
$s = Speedtest::select(DB::raw('AVG(ping) as ping, AVG(download) as download, AVG(upload) as upload'))
->where('created_at', '>=', $t)
->where('failed', false)
->first()
->toArray();
return $s;
}
/**
* Converts bytes/s to Mbps
*
* @param int|float $bytes
* @return int|float
*/
public static function convert($bytes)
{
return ($bytes * 8) / 1000000;
}
/**
* Returns the latest speedtest object.
*
* @return boolean|\App\Speedtest
*/
public static function latest()
{
$data = Speedtest::latest()->get();
if($data->isEmpty()) {
if ($data->isEmpty()) {
return false;
}
return $data->first();
}
/**
* Parses network speeds and return converted to Mbps
*
* @param string $input
* @return array
*/
public static function parseUnits($input)
{
$input = explode(' ', $input);
$val = $input[0];
$val = (float)$input[0];
$unit = explode('/', $input[1])[0];
switch($unit) {
switch ($unit) {
case 'Mbyte':
$val = $val * 8;
break;
@@ -67,4 +107,164 @@ class SpeedtestHelper {
'unit' => 'Mbit/s'
];
}
/**
* Create a backup of the SQLite database
*
* @return null|boolean
*/
public static function dbBackup()
{
if (env('DB_CONNECTION') === 'sqlite') {
if (env('DB_DATABASE') !== null) {
$current = env('DB_DATABASE');
try {
if (File::copy($current, $current . '.bak')) {
return true;
}
} catch (Exception $e) {
return false;
}
}
return false;
}
return null;
}
/**
* Delete all speedtests from the database
*
* @return array
*/
public static function deleteAll()
{
Cache::flush();
SpeedtestHelper::dbBackup();
if (sizeof(Speedtest::whereNotNull('id')->get()) > 0) {
if (Speedtest::whereNotNull('id')->delete()) {
return [
'success' => true,
];
}
}
return [
'success' => true,
];
}
/**
* Work out if a test is lower than the threshold for historic tests
*
* @param String $type
* @param Speedtest $test
* @return array
*/
public static function testIsLowerThanThreshold(String $type, Speedtest $test)
{
if ($type == 'percentage') {
$avg = Speedtest::select(DB::raw('AVG(ping) as ping, AVG(download) as download, AVG(upload) as upload'))
->where('failed', false)
->get()
->toArray()[0];
$threshold = SettingsHelper::get('threshold_alert_percentage')->value;
if ($threshold == '') {
return [];
}
$errors = [];
foreach ($avg as $key => $value) {
if ($key == 'ping') {
$threshold = (float)$value * (1 + ($threshold / 100));
if ($test->$key > $threshold) {
array_push($errors, $key);
}
} else {
$threshold = (float)$value * (1 - ($threshold / 100));
if ($test->$key < $threshold) {
array_push($errors, $key);
}
}
}
return $errors;
}
if ($type == 'absolute') {
$thresholds = [
'download' => SettingsHelper::get('threshold_alert_absolute_download')->value,
'upload' => SettingsHelper::get('threshold_alert_absolute_upload')->value,
'ping' => SettingsHelper::get('threshold_alert_absolute_ping')->value,
];
$errors = [];
foreach ($thresholds as $key => $value) {
if ($value == '') {
continue;
}
if ($key == 'ping') {
if ($test->$key > $value) {
array_push($errors, $key);
}
} else {
if ($test->$key < $value) {
array_push($errors, $key);
}
}
}
return $errors;
}
throw new InvalidArgumentException();
}
/**
* Get a percentage rate of failure by days
*
* @param integer $days number of days to get rate for
* @return integer percentage fail rate
*/
public static function failureRate(int $days)
{
$ttl = Carbon::now()->addDays(1);
$rate = Cache::remember('failure-rate-' . $days, $ttl, function () use ($days) {
$range = [
Carbon::today()
];
for ($i = 0; $i < ($days - 1); $i++) {
$prev = end($range);
$new = $prev->copy()->subDays(1);
array_push($range, $new);
}
$rate = [];
foreach ($range as $day) {
$success = Speedtest::select(DB::raw('COUNT(id) as rate'))->whereDate('created_at', $day)->where('failed', false)->get()[0]['rate'];
$fail = Speedtest::select(DB::raw('COUNT(id) as rate'))->whereDate('created_at', $day)->where('failed', true)->get()[0]['rate'];
array_push($rate, [
'date' => $day->toDateString(),
'success' => $success,
'failure' => $fail,
]);
}
return array_reverse($rate);
});
return $rate;
}
}

View File

@@ -10,12 +10,55 @@ use RecursiveIteratorIterator;
use ZipArchive;
class UpdateHelper {
/**
* URL of updates
*
* @var string|bool
*/
public $url;
/**
* Current app version number
*
* @var string|bool
*/
public $currentVersion;
/**
* Latest app version number
*
* @var string|bool
*/
public $latestVersion;
/**
* Username of GitHub repo
*
* @var string|bool
*/
public $user;
/**
* Name of GitHub repo
*
* @var string|bool
*/
public $repo;
/**
* Branch of GitHub repo
*
* @var string|bool
*/
public $branch;
/**
* Store download
*
* @var string|null
*/
public $download;
function __construct() {
$this->currentVersion = config('speedtest.version');
$this->user = config('speedtest.user');
@@ -25,6 +68,11 @@ class UpdateHelper {
$this->download = null;
}
/**
* Returns data on new version available
*
* @return boolean|array false|[ version, changelog ]
*/
public function check()
{
Log::info('Checking for new version');
@@ -50,6 +98,11 @@ class UpdateHelper {
}
}
/**
* Gets the latest version number from GitHub
*
* @return array|bool [ repo, branch, version ]
*/
public function checkLatestVersion()
{
$url = 'https://raw.githubusercontent.com/'
@@ -78,6 +131,11 @@ class UpdateHelper {
];
}
/**
* Gets the latest changelog from GitHub
*
* @return array
*/
public function getChangelog()
{
$url = 'https://raw.githubusercontent.com/'
@@ -97,6 +155,11 @@ class UpdateHelper {
return $changelog;
}
/**
* Downloads the latest version from GitHub
*
* @return boolean|Exception
*/
public function downloadLatest()
{
Log::info('Downloading the latest version from GitHub');
@@ -121,6 +184,11 @@ class UpdateHelper {
}
}
/**
* Extracts zip archive from update
*
* @return boolean
*/
public function extractFiles()
{
Log::info('Extracting the update');
@@ -137,6 +205,11 @@ class UpdateHelper {
}
}
/**
* Replace existing files with newly downloaded files
*
* @return void
*/
public function updateFiles()
{
Log::info('Applying update');
@@ -151,6 +224,14 @@ class UpdateHelper {
Log::info('Successfully applied update');
}
/**
* Deletes default templates from updated files.
* This is for things like .env so that user specified files are not
* overwritten.
*
* @param string $path
* @return void
*/
private function deleteExcluded($path)
{
Log::info('Deleting excluded items from update directory');
@@ -172,6 +253,11 @@ class UpdateHelper {
Log::info('Excluded items deleted from update directory');
}
/**
* Creates a ZIP backup of current installation
*
* @return void
*/
private function backupCurrent()
{
Log::info('Backing up current installation');
@@ -184,7 +270,6 @@ class UpdateHelper {
$zip->open($backupZip, ZipArchive::CREATE | ZipArchive::OVERWRITE);
// Create recursive directory iterator
/** @var SplFileInfo[] $files */
$files = new RecursiveIteratorIterator(
new RecursiveDirectoryIterator($rootPath),
RecursiveIteratorIterator::LEAVES_ONLY
@@ -209,6 +294,11 @@ class UpdateHelper {
Log::info('Backup created at: ' . $backupZip);
}
/**
* Move updated files into server dir.
*
* @return void
*/
private function moveFiles()
{
$new = array_filter(glob('/tmp/'.$this->repo.'-update/*'), 'is_dir');
@@ -242,6 +332,11 @@ class UpdateHelper {
}
/**
* Make a copy of excluded, user customised files
*
* @return void
*/
private function tempStoreExcludedFiles()
{
Log::info('Temporarily moving exluded files from root directory');
@@ -263,6 +358,11 @@ class UpdateHelper {
}
}
/**
* Restore user cusotmised files from the copy
*
* @return void
*/
private function restoreExcludedFiles()
{
Log::info('Restoring exluded files to root directory');
@@ -284,6 +384,11 @@ class UpdateHelper {
}
}
/**
* Delete update files from download dir.
*
* @return void
*/
private function clearup()
{
try {

View File

@@ -2,17 +2,20 @@
namespace App\Http\Controllers;
use App\Auth\EmailVerification;
use App\Auth\LoginSession as AuthLoginSession;
use App\Models\Auth\EmailVerification;
use App\Models\Auth\LoginSession as AuthLoginSession;
use App\Helpers\EmailVerificationHelper;
use Illuminate\Support\Facades\Auth;
use App\Http\Controllers\Controller;
use App\LoginSession;
use App\User;
use App\Rules\CurrentPasswordMatches;
use App\Models\User;
use DateTime;
use Hash;
use Illuminate\Support\Facades\Request as RequestFacade;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Validator;
use Log;
use Ramsey\Uuid\Uuid;
class AuthController extends Controller
@@ -164,6 +167,10 @@ class AuthController extends Controller
[ 'expires', '>', time() ]
])->get();
$sessions = $sessions->map(function ($item) {
return collect($item)->forget(['token']);
});
return response()->json([
'method' => 'get auth sessions',
'response' => $sessions
@@ -211,4 +218,36 @@ class AuthController extends Controller
'success' => true,
], 200);
}
public function changePassword(Request $request)
{
$rules = [
'currentPassword' => [ 'string', 'required', new CurrentPasswordMatches() ],
'newPassword' => [ 'required', 'string', 'confirmed', 'min:8' ],
'logoutDevices' => [ 'required', 'bool' ]
];
$validator = Validator::make($request->all(), $rules);
if($validator->fails()) {
return response()->json([
'method' => 'reset password',
'success' => false,
'error' => $validator->errors()
], 403);
}
$user = Auth::user();
$user->password = $request->newPassword;
$user->save();
if($request->logoutDevices == true) {
AuthLoginSession::where('user_id', $user->id)->update([ 'active' => false ]);
}
return response()->json([
'method' => 'reset password',
'success' => true
], 200);
}
}

View File

@@ -3,28 +3,55 @@
namespace App\Http\Controllers;
use App\Helpers\BackupHelper;
use App\Helpers\SettingsHelper;
use DateTime;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Validator;
use Illuminate\Http\JsonResponse;
class BackupController extends Controller
{
public function backup()
{
$data = BackupHelper::backup();
$timestamp = new DateTime();
$timestamp = $timestamp->format('Y-m-d_H:i:s');
$name = 'speedtest_backup_' . $timestamp . '.json';
Storage::disk('local')->put($name, $data);
return Storage::disk('local')->download($name);
public function __construct()
{
if((bool)SettingsHelper::get('auth')->value === true) {
$this->middleware('auth:api');
}
}
/**
* Get backup of speedtests
*
* @param Request $request
* @return mixed|JsonResponse
*/
public function backup(Request $request)
{
$validator = Validator::make($request->all(), [ 'format' => 'in:json,csv' ]);
if($validator->fails()) {
return response()->json([
'method' => 'backup data',
'error' => $validator->errors(),
], 422);
}
$filename = BackupHelper::backup($request->format);
return Storage::disk('local')->download($filename);
}
/**
* Retore from a backup
*
* @param Request $request
* @return JsonResponse
*/
public function restore(Request $request)
{
$rule = [
'data' => [ 'required', 'array' ],
'data' => [ 'required' ],
'format' => [ 'required', 'in:json,csv' ]
];
$validator = Validator::make($request->all(), $rule);
@@ -35,10 +62,14 @@ class BackupController extends Controller
], 422);
}
BackupHelper::restore($request->data);
return response()->json([
'method' => 'restore data from backup',
], 200);
if(BackupHelper::restore($request->data, $request->format) != false) {
return response()->json([
'method' => 'restore data from backup',
], 200);
} else {
return response()->json([
'method' => 'incorrect backup format',
], 422);
}
}
}

View File

@@ -0,0 +1,35 @@
<?php
namespace App\Http\Controllers;
use App\Actions\GetFailedSpeedtestData;
use App\Actions\GetLatestSpeedtestData;
use App\Actions\GetSpeedtestTimeData;
use App\Helpers\SettingsHelper;
use Illuminate\Http\Request;
use Validator;
class HomepageDataController extends Controller
{
public function __invoke($days)
{
$validator = Validator::make(
['days' => $days],
['days' => ['required', 'numeric']],
);
if ($validator->fails()) {
return response()->json([
'method' => 'get speedtests in last x days',
'error' => $validator->errors(),
], 422);
}
return [
'latest' => run(GetLatestSpeedtestData::class),
'time' => run(GetSpeedtestTimeData::class, $days),
'fail' => run(GetFailedSpeedtestData::class),
'config' => SettingsHelper::getConfig(),
];
}
}

View File

@@ -0,0 +1,84 @@
<?php
namespace App\Http\Controllers;
use App\Helpers\SettingsHelper;
use Exception;
use Healthcheck;
use Henrywhitaker3\Healthchecks\Exceptions\HealthchecksUuidNotFoundException;
use Henrywhitaker3\Healthchecks\Healthchecks;
use Illuminate\Http\Request;
use Illuminate\Http\JsonResponse;
use Ramsey\Uuid\Exception\InvalidUuidStringException;
class IntegrationsController extends Controller
{
public function __construct()
{
if((bool)SettingsHelper::get('auth')->value === true) {
$this->middleware('auth:api');
}
}
/**
* Test the healthchecks config
*
* @return JsonResponse
*/
public function testHealthchecks(String $method)
{
$methodResp = 'test healthchecks \'' . $method . '\' endpoint';
try {
// SettingsHelper::loadIntegrationConfig();
if($method == 'success') {
Healthcheck::success();
}
if($method == 'fail') {
Healthcheck::fail();
}
if($method == 'start') {
Healthcheck::start();
}
return response()->json([
'method' => $methodResp,
'success' => true
], 200);
} catch(InvalidUuidStringException $e) {
return response()->json([
'method' => $methodResp,
'success' => false,
'error' => 'Invalid UUID'
], 422);
} catch(HealthchecksUuidNotFoundException $e) {
return response()->json([
'method' => $methodResp,
'success' => false,
'error' => 'UUID not found'
], 404);
} catch(Exception $e) {
return response()->json([
'method' => $methodResp,
'success' => false,
'error' => $e->getMessage()
], 422);
}
}
/**
* Trigger a test of all notification agents
*
* @return JsonResponse
*/
public function testNotification()
{
SettingsHelper::testNotification();
return response()->json([
'method' => 'test notification agents'
], 200);
}
}

View File

@@ -0,0 +1,145 @@
<?php
namespace App\Http\Controllers;
use App\Helpers\SettingsHelper;
use App\Rules\Cron;
use App\Models\Setting;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Validator;
use Illuminate\Http\JsonResponse;
use Illuminate\Support\Collection;
class SettingsController extends Controller
{
public function __construct()
{
if ((bool)SettingsHelper::get('auth')->value === true) {
$this->middleware('auth:api')
->except(['config']);
}
}
/**
* Return all settings
*
* @return Collection
*/
public function index()
{
return Setting::get()->keyBy('name');
}
/**
* Get setting by id
*
* @param Setting $setting
* @return Setting
*/
public function get(Setting $setting)
{
return $setting;
}
/**
* Store/update a setting
*
* @param Request $request
* @return JsonResponse
*/
public function store(Request $request)
{
$rule = [
'name' => ['required', 'string', 'min:1'],
];
if ($request->name == 'schedule') {
$rule['value'] = ['required', new Cron];
}
$validator = Validator::make($request->all(), $rule);
if ($validator->fails()) {
return response()->json([
'method' => 'Store a setting',
'error' => $validator->errors()
], 422);
}
if (!isset($request->value)) {
$request->value = '';
}
$setting = SettingsHelper::set($request->name, $request->value);
return response()->json([
'method' => 'Store a setting',
'data' => $setting
], 200);
}
/**
* Bulk store/update a setting
*
* @param Request $request
* @return JsonResponse
*/
public function bulkStore(Request $request)
{
$rule = [
'data' => ['array', 'required'],
'data.*.name' => ['string', 'required'],
];
$validator = Validator::make($request->all(), $rule);
if ($validator->fails()) {
return response()->json([
'method' => 'Bulk store a setting',
'error' => $validator->errors()
], 422);
}
$settings = [];
foreach ($request->data as $d) {
if (!isset($d['value']) || $d['value'] == null) {
$d['value'] = '';
}
if ($d['name'] == 'speedtest_overview_time') {
$ok = ['00', '01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12', '13', '14', '15', '16', '17', '18', '19', '20', '21', '22', '23'];
if (!in_array($d['value'], $ok)) {
return response()->json([
'method' => 'Bulk store a setting',
'error' => 'Invalid speedtest_overview_time value'
], 422);
}
}
$setting = SettingsHelper::get($d['name']);
if ($setting == false) {
$setting = SettingsHelper::set($d['name'], $d['value']);
} else if (SettingsHelper::settingIsEditable($setting->name)) {
$setting = SettingsHelper::set($d['name'], $d['value']);
} else {
continue;
}
array_push($settings, $setting);
}
return response()->json([
'method' => 'Bulk store a setting',
'data' => $settings,
], 200);
}
/**
* Returns instance config
*
* @return array
*/
public function config()
{
return SettingsHelper::getConfig();
}
}

View File

@@ -2,19 +2,41 @@
namespace App\Http\Controllers;
use App\Actions\GetFailedSpeedtestData;
use App\Actions\GetLatestSpeedtestData;
use App\Actions\GetSpeedtestTimeData;
use App\Actions\QueueSpeedtest;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Jobs\SpeedtestJob;
use App\Speedtest;
use App\Models\Speedtest;
use Carbon\Carbon;
use Exception;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Cache;
use Illuminate\Support\Facades\DB;
use Illuminate\Support\Facades\Validator;
use Illuminate\Http\JsonResponse;
class SpeedtestController extends Controller
{
public function __construct()
{
if ((bool)SettingsHelper::get('auth')->value === true) {
$this->middleware('auth:api')
->only(['run', 'delete', 'deleteAll']);
}
}
/**
* Returns paginated list of speedtests
*
* @return JsonResponse
*/
public function index()
{
$data = Speedtest::paginate();
$data = Speedtest::orderBy('created_at', 'desc')
->paginate();
return response()->json([
'method' => 'index of speedtests',
@@ -22,23 +44,28 @@ class SpeedtestController extends Controller
], 200);
}
/**
* Returns speedtest going back 'x' days
*
* @param int $days
* @return JsonResponse
*/
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(),
], 422);
}
$data = Speedtest::where('created_at', '>=', Carbon::now()->subDays($days))
->get();
$data = run(GetSpeedtestTimeData::class, $days);
return response()->json([
'method' => 'get speedtests in last x days',
@@ -47,15 +74,47 @@ class SpeedtestController extends Controller
], 200);
}
/**
* Returns speedtest failure rate going back 'x' days
*
* @param int $days
* @return JsonResponse
*/
public function fail($days)
{
$rule = [
'days' => ['required', 'integer'],
];
$validator = Validator::make(['days' => $days], $rule);
if ($validator->fails()) {
return response()->json([
'method' => 'get speedtests in last x days',
'error' => $validator->errors(),
], 422);
}
$data = run(GetFailedSpeedtestData::class, $days);
return response()->json([
'method' => 'get speedtests in last x days',
'days' => $days,
'data' => $data
], 200);
}
/**
* Return latest speedtest
*
* @return JsonResponse
*/
public function latest()
{
$data = SpeedtestHelper::latest();
$data = run(GetLatestSpeedtestData::class);
if($data) {
return response()->json([
'method' => 'get latest speedtest',
'data' => $data
], 200);
if ($data['data']) {
return response()->json($data, 200);
} else {
return response()->json([
'method' => 'get latest speedtest',
@@ -64,19 +123,66 @@ class SpeedtestController extends Controller
}
}
/**
* Queue a new speedtest
*
* @return JsonResponse
*/
public function run()
{
try {
$data = SpeedtestJob::dispatch();
run(QueueSpeedtest::class);
return response()->json([
'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
], 500);
}
}
/**
* Delete all speedtests from db
*
* @return JsonResponse
*/
public function deleteAll()
{
$ret = SpeedtestHelper::deleteAll();
if ($ret['success']) {
return response()->json([
'method' => 'delete all speedtests from the database',
'success' => true
], 200);
}
return response()->json([
'method' => 'delete all speedtests from the database',
'success' => false,
'error' => $ret['msg'],
], 500);
}
/**
* Delete a specific speedtest from the database
*
* @param Speedtest $speedtest
* @return JsonResponse
*/
public function delete(Speedtest $speedtest)
{
$speedtest->delete();
Cache::flush();
return response()->json([
'method' => 'delete a speedtest from the database',
'success' => true,
], 200);
}
}

View File

@@ -2,11 +2,26 @@
namespace App\Http\Controllers;
use App\Helpers\SettingsHelper;
use Exception;
use Updater;
use Illuminate\Http\Request;
use Illuminate\Http\JsonResponse;
class UpdateController extends Controller
{
public function __construct()
{
if((bool)SettingsHelper::get('auth')->value === true) {
$this->middleware('auth:api');
}
}
/**
* Check for new update
*
* @return JsonResponse
*/
public function checkForUpdate()
{
return response()->json([
@@ -15,6 +30,11 @@ class UpdateController extends Controller
], 200);
}
/**
* Download new update
*
* @return JsonResponse
*/
public function downloadUpdate()
{
$dl = Updater::downloadLatest();
@@ -32,6 +52,11 @@ class UpdateController extends Controller
}
}
/**
* Trigger update extraction
*
* @return JsonResponse
*/
public function extractUpdate()
{
$ex = Updater::extractFiles();
@@ -49,13 +74,39 @@ class UpdateController extends Controller
}
}
/**
* Trigger update file move
*
* @return JsonResponse
*/
public function moveUpdate()
{
$cp = Updater::updateFiles();
Updater::updateFiles();
return response()->json([
'method' => 'copy latest version',
'success' => $cp,
'success' => null,
], 200);
}
/**
* Get local changelog
*
* @return JsonResponse
*/
public function changelog()
{
$url = base_path() . '/changelog.json';
try {
$changelog = json_decode(file_get_contents($url), true);
} catch(Exception $e) {
$changelog = [];
}
return response()->json([
'method' => 'get changelog',
'data' => $changelog
], 200);
}
}

View File

@@ -39,7 +39,7 @@ class Kernel extends HttpKernel
],
'api' => [
'throttle:60,1',
'throttle:200,1',
\Illuminate\Routing\Middleware\SubstituteBindings::class,
],
];

View File

@@ -17,5 +17,7 @@ class Authenticate extends Middleware
if (! $request->expectsJson()) {
return route('auth.login');
}
return null;
}
}

View File

@@ -2,7 +2,7 @@
namespace App\Http\Middleware;
use App\Auth\LoginSession;
use App\Models\Auth\LoginSession;
use Closure;
use Exception;

View File

@@ -0,0 +1,13 @@
<?php
namespace App\Interfaces;
use App\Models\Speedtest;
interface InfluxDBWrapperInterface
{
public function testConnection(): bool;
public function doesDatabaseExist(string $database): bool;
public function createDatabase(string $database): bool;
public function store(Speedtest $speedtest): bool;
}

View File

@@ -0,0 +1,11 @@
<?php
namespace App\Interfaces;
use App\Models\Speedtest;
interface SpeedtestProvider
{
public function run(): Speedtest;
public function output();
}

View File

@@ -2,36 +2,105 @@
namespace App\Jobs;
use App\Events\SpeedtestCompleteEvent;
use App\Events\SpeedtestFailedEvent;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Interfaces\SpeedtestProvider;
use App\Utils\OoklaTester;
use Exception;
use Healthcheck;
use Henrywhitaker3\Healthchecks\Healthchecks;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Foundation\Bus\Dispatchable;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Facades\Log;
class SpeedtestJob implements ShouldQueue
{
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
/**
* Scheduled bool
*
* @var bool
*/
private $scheduled;
/**
* Integrations config array
*
* @var array
*/
private $config;
private SpeedtestProvider $speedtestProvider;
/**
* Create a new job instance.
*
* @return void
*/
public function __construct()
public function __construct($scheduled = true, $config = [], SpeedtestProvider $speedtestProvider)
{
//
$this->scheduled = $scheduled;
$this->config = $config;
$this->speedtestProvider = $speedtestProvider;
}
/**
* Execute the job.
* Runs a speedtest
*
* @return void
* @return \App\Speedtest
*/
public function handle()
{
$output = shell_exec('speedtest-cli');
if ($this->config['healthchecks_enabled'] === true) {
$this->healthcheck('start');
}
$output = $this->speedtestProvider->output();
$speedtest = $this->speedtestProvider->run($output, $this->scheduled);
if ($speedtest == false) {
if ($this->config['healthchecks_enabled'] === true) {
$this->healthcheck('fail');
}
return SpeedtestHelper::runSpeedtest($output);
event(new SpeedtestFailedEvent());
} else {
if ($this->config['healthchecks_enabled'] === true) {
$this->healthcheck('success');
}
event(new SpeedtestCompleteEvent($speedtest));
}
return $speedtest;
}
/**
* Wrapper to reduce duplication of try/catch for hc
*
* @param String $method
* @return void
*/
private function healthcheck(String $method)
{
try {
$hc = new Healthchecks(SettingsHelper::get('healthchecks_uuid')->value, SettingsHelper::get('healthchecks_server_url')->value);
if ($method === 'start') {
$hc->start();
}
if ($method === 'success') {
$hc->success();
}
if ($method === 'fail') {
$hc->fail();
}
} catch (Exception $e) {
Log::error($e->getMessage());
}
}
}

View File

@@ -0,0 +1,118 @@
<?php
namespace App\Listeners;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Notifications\SpeedtestAbsoluteThresholdNotificationSlack;
use App\Notifications\SpeedtestAbsoluteThresholdTelegram;
use App\Notifications\SpeedtestCompleteSlack;
use App\Notifications\SpeedtestCompleteTelegram;
use App\Notifications\SpeedtestPercentageThresholdNotificationSlack;
use App\Notifications\SpeedtestPercentageThresholdTelegram;
use Exception;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Notification;
use NotificationChannels\Telegram\TelegramChannel;
class SpeedtestCompleteListener
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle what to do after speedtest completes
*
* @param object $event
* @return void
*/
public function handle($event)
{
if((bool)SettingsHelper::get('threshold_alert_percentage_notifications')->value == true) {
$data = $event->speedtest;
$errors = SpeedtestHelper::testIsLowerThanThreshold('percentage', $data);
if(sizeof($errors) > 0) {
if(SettingsHelper::get('slack_webhook')->value) {
try {
Notification::route('slack', SettingsHelper::get('slack_webhook')->value)
->notify(new SpeedtestPercentageThresholdNotificationSlack($errors));
} catch(Exception $e) {
Log::notice('Your sleck webhook is invalid');
Log::notice($e);
}
}
if(SettingsHelper::get('telegram_bot_token')->value == true && SettingsHelper::get('telegram_chat_id')->value == true) {
try {
config([ 'services.telegram-bot-api' => [ 'token' => SettingsHelper::get('telegram_bot_token')->value ] ]);
Notification::route(TelegramChannel::class, SettingsHelper::get('telegram_chat_id')->value)
->notify(new SpeedtestPercentageThresholdTelegram($errors));
} catch(Exception $e) {
Log::notice('Your telegram settings are invalid');
Log::notice($e);
}
}
}
}
if((bool)SettingsHelper::get('threshold_alert_absolute_notifications')->value == true) {
$data = $event->speedtest;
$errors = SpeedtestHelper::testIsLowerThanThreshold('absolute', $data);
if(sizeof($errors) > 0) {
if(SettingsHelper::get('slack_webhook')->value) {
try {
Notification::route('slack', SettingsHelper::get('slack_webhook')->value)
->notify(new SpeedtestAbsoluteThresholdNotificationSlack($errors));
} catch(Exception $e) {
Log::notice('Your sleck webhook is invalid');
Log::notice($e);
}
}
if(SettingsHelper::get('telegram_bot_token')->value == true && SettingsHelper::get('telegram_chat_id')->value == true) {
try {
config([ 'services.telegram-bot-api' => [ 'token' => SettingsHelper::get('telegram_bot_token')->value ] ]);
Notification::route(TelegramChannel::class, SettingsHelper::get('telegram_chat_id')->value)
->notify(new SpeedtestAbsoluteThresholdTelegram($errors));
} catch(Exception $e) {
Log::notice('Your telegram settings are invalid');
Log::notice($e);
}
}
}
}
if(SettingsHelper::get('speedtest_notifications')->value == true) {
$data = $event->speedtest;
if(SettingsHelper::get('slack_webhook')->value) {
try {
Notification::route('slack', SettingsHelper::get('slack_webhook')->value)
->notify(new SpeedtestCompleteSlack($data));
} catch(Exception $e) {
Log::notice('Your sleck webhook is invalid');
Log::notice($e);
}
}
if(SettingsHelper::get('telegram_bot_token')->value == true && SettingsHelper::get('telegram_chat_id')->value == true) {
try {
config([ 'services.telegram-bot-api' => [ 'token' => SettingsHelper::get('telegram_bot_token')->value ] ]);
Notification::route(TelegramChannel::class, SettingsHelper::get('telegram_chat_id')->value)
->notify(new SpeedtestCompleteTelegram($data));
} catch(Exception $e) {
Log::notice('Your telegram settings are invalid');
Log::notice($e);
}
}
}
}
}

View File

@@ -0,0 +1,56 @@
<?php
namespace App\Listeners;
use App\Helpers\SettingsHelper;
use App\Notifications\SpeedtestFailedSlack;
use App\Notifications\SpeedtestFailedTelegram;
use Exception;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Notification;
use NotificationChannels\Telegram\TelegramChannel;
class SpeedtestFailedListener
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param object $event
* @return void
*/
public function handle($event)
{
if(SettingsHelper::get('slack_webhook')->value == true) {
try {
Notification::route('slack', SettingsHelper::get('slack_webhook')->value)
->notify(new SpeedtestFailedSlack());
} catch(Exception $e) {
Log::notice('Your sleck webhook is invalid');
Log::notice($e);
}
}
if(SettingsHelper::get('telegram_bot_token')->value == true && SettingsHelper::get('telegram_chat_id')->value == true) {
try {
config([ 'services.telegram-bot-api' => [ 'token' => SettingsHelper::get('telegram_bot_token')->value ] ]);
Notification::route(TelegramChannel::class, SettingsHelper::get('telegram_chat_id')->value)
->notify(new SpeedtestFailedTelegram());
} catch(Exception $e) {
Log::notice('Your telegram settings are invalid');
Log::notice($e);
}
}
}
}

View File

@@ -0,0 +1,60 @@
<?php
namespace App\Listeners;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Notifications\SpeedtestOverviewSlack;
use App\Notifications\SpeedtestOverviewTelegram;
use Exception;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Notification;
use NotificationChannels\Telegram\TelegramChannel;
class SpeedtestOverviewListener
{
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param object $event
* @return void
*/
public function handle($event)
{
if(SettingsHelper::get('speedtest_overview_notification')->value == true) {
$data = SpeedtestHelper::last24Hours();
if(SettingsHelper::get('slack_webhook')) {
try {
Notification::route('slack', SettingsHelper::get('slack_webhook')->value)
->notify(new SpeedtestOverviewSlack($data));
} catch(Exception $e) {
Log::notice('Your sleck webhook is invalid');
Log::notice($e);
}
}
if(SettingsHelper::get('telegram_bot_token')->value == true && SettingsHelper::get('telegram_chat_id')->value == true) {
try {
config([ 'services.telegram-bot-api' => [ 'token' => SettingsHelper::get('telegram_bot_token')->value ] ]);
Notification::route(TelegramChannel::class, SettingsHelper::get('telegram_chat_id')->value)
->notify(new SpeedtestOverviewTelegram($data));
} catch(Exception $e) {
Log::notice('Your telegram settings are invalid');
Log::notice($e);
}
}
}
}
}

View File

@@ -0,0 +1,84 @@
<?php
namespace App\Listeners;
use App\Helpers\SettingsHelper;
use App\Notifications\TestSlackNotification;
use App\Notifications\TestTelegramNotification;
use Exception;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Notification;
use NotificationChannels\Telegram\TelegramChannel;
class TestNotificationListener
{
private $agents;
/**
* Create the event listener.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Handle the event.
*
* @param object $event
* @return void
*/
public function handle($event)
{
foreach($event->agents as $agent) {
if($agent == 'slack') {
$this->slackNotification();
}
if($agent == 'telegram') {
$this->telegramNotification();
}
}
}
/**
* Send a slack notification
*
* @return void
*/
private function slackNotification()
{
if(SettingsHelper::get('slack_webhook')->value == true) {
try {
Notification::route('slack', SettingsHelper::get('slack_webhook')->value)
->notify(new TestSlackNotification());
} catch(Exception $e) {
Log::notice('Your sleck webhook is invalid');
Log::notice($e);
}
}
}
/**
* Send a telegram notification
*
* @return void
*/
private function telegramNotification()
{
if(SettingsHelper::get('telegram_bot_token')->value == true && SettingsHelper::get('telegram_chat_id')->value == true) {
try {
config([ 'services.telegram-bot-api' => [ 'token' => SettingsHelper::get('telegram_bot_token')->value ] ]);
Notification::route(TelegramChannel::class, SettingsHelper::get('telegram_bot_token')->value)
->notify(new TestTelegramNotification());
} catch(Exception $e) {
Log::notice('Your telegram settings are invalid');
Log::notice($e);
}
}
}
}

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Auth;
namespace App\Models\Auth;
use Illuminate\Database\Eloquent\Model;

View File

@@ -1,6 +1,6 @@
<?php
namespace App\Auth;
namespace App\Models\Auth;
use Illuminate\Database\Eloquent\Model;

25
app/Models/Setting.php Normal file
View File

@@ -0,0 +1,25 @@
<?php
namespace App\Models;
use App\Casts\CommaSeparatedArrayCast;
use App\Helpers\SettingsHelper;
use Illuminate\Database\Eloquent\Model;
class Setting extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'name', 'value', 'description'
];
protected $table = 'settings';
protected $casts = [
'value' => CommaSeparatedArrayCast::class,
];
}

45
app/Models/Speedtest.php Normal file
View File

@@ -0,0 +1,45 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;
class Speedtest extends Model
{
use HasFactory;
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'ping',
'download',
'upload',
'created_at',
'server_id',
'server_name',
'server_host',
'url',
'scheduled',
'failed',
];
protected $table = 'speedtests';
public function formatForInfluxDB()
{
return [
'id' => (int) $this->id,
'download' => (float) $this->download,
'upload' => (float) $this->upload,
'ping' => (float) $this->ping,
'server_id' => (int) $this->server_id,
'server_host' => $this->server_host,
'server_name' => $this->server_name,
'scheduled' => (bool) $this->scheduled,
];
}
}

View File

@@ -1,6 +1,6 @@
<?php
namespace App;
namespace App\Models;
use Illuminate\Contracts\Auth\MustVerifyEmail;
use Illuminate\Foundation\Auth\User as Authenticatable;
@@ -75,6 +75,11 @@ class User extends Authenticatable implements JWTSubject
return $this->hasOne('\App\Auth\EmailVerification');
}
/**
* Returns a user's login sessions
*
* @return mixed
*/
public function sessions()
{
return $this->hasMany('\App\Auth\LoginSession');
@@ -102,7 +107,7 @@ class User extends Authenticatable implements JWTSubject
public function setPasswordAttribute($password)
{
if ( !empty($password) ) {
if (!empty($password)) {
$this->attributes['password'] = Hash::make($password);
}
}

View File

@@ -0,0 +1,57 @@
<?php
namespace App\Notifications;
use App\Helpers\NotificationsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
class SpeedtestAbsoluteThresholdNotificationSlack extends Notification
{
use Queueable;
protected $errors;
/**
* Create a new notification instance.
*
* @param array $errors
* @return void
*/
public function __construct(array $errors)
{
$this->errors = $errors;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return ['slack'];
}
/**
* Format slack notification
*
* @param mixed $notifiable
* @return SlackMessage
*/
public function toSlack($notifiable)
{
$msg = NotificationsHelper::formatAbsoluteThresholdMessage($this->errors);
return (new SlackMessage)
->warning()
->attachment(function ($attachment) use ($msg) {
$attachment->title('Speedtest absolute threshold error')
->content($msg);
});
}
}

View File

@@ -0,0 +1,58 @@
<?php
namespace App\Notifications;
use App\Helpers\NotificationsHelper;
use App\Helpers\SettingsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class SpeedtestAbsoluteThresholdTelegram extends Notification
{
use Queueable;
private $errors;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($errors)
{
$this->errors = $errors;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
TelegramChannel::class
];
}
/**
* Format telegram notification
*
* @param mixed $notifiable
* @return TelegramMessage
*/
public function toTelegram($notifiable)
{
$msg = NotificationsHelper::formatAbsoluteThresholdMessage($this->errors);
return TelegramMessage::create()
->to(SettingsHelper::get('telegram_chat_id')->value)
->content($msg)
->options(['parse_mode' => 'Markdown']);
}
}

View File

@@ -0,0 +1,78 @@
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Notification;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Support\Facades\Log;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class SpeedtestCompleteSlack extends Notification
{
use Queueable;
protected $speedtest;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($speedtest)
{
$speedtest->ping = number_format((float)$speedtest->ping, 1, '.', '');
$speedtest->download = number_format((float)$speedtest->download, 1, '.', '');
$speedtest->upload = number_format((float)$speedtest->upload, 1, '.', '');
$this->speedtest = $speedtest;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
'slack',
];
}
/**
* Format slack notification
*
* @param mixed $notifiable
* @return SlackMessage
*/
public function toSlack($notifiable)
{
$speedtest = $this->speedtest;
return (new SlackMessage)
->warning()
->attachment(function ($attachment) use ($speedtest) {
$attachment->title('New speedtest')
->fields([
'Ping' => $speedtest->ping . ' ms',
'Download' => $speedtest->download . ' Mbit/s',
'Upload' => $speedtest->upload . ' Mbit/s',
]);
});
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}

View File

@@ -0,0 +1,76 @@
<?php
namespace App\Notifications;
use App\Helpers\SettingsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class SpeedtestCompleteTelegram extends Notification
{
use Queueable;
public $speedtest;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($speedtest)
{
$speedtest->ping = number_format((float)$speedtest->ping, 1, '.', '');
$speedtest->download = number_format((float)$speedtest->download, 1, '.', '');
$speedtest->upload = number_format((float)$speedtest->upload, 1, '.', '');
$this->speedtest = $speedtest;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
TelegramChannel::class
];
}
/**
* Format telegram notification
*
* @param mixed $notifiable
* @return TelegramMessage
*/
public function toTelegram($notifiable)
{
$speedtest = $this->speedtest;
$msg = "*New Speedtest*
Ping: *$speedtest->ping*
Download: *$speedtest->download*
Upload: *$speedtest->upload*";
return TelegramMessage::create()
->to(SettingsHelper::get('telegram_chat_id')->value)
->content($msg)
->options(['parse_mode' => 'Markdown']);
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}

View File

@@ -0,0 +1,53 @@
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
class SpeedtestFailedSlack extends Notification implements ShouldQueue
{
use Queueable;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
'slack',
];
}
/**
* Format slack notification
*
* @param mixed $notifiable
* @return SlackMessage
*/
public function toSlack($notifiable)
{
return (new SlackMessage)
->error()
->attachment(function ($attachment) {
$attachment->title('Failed speedtest')
->content('Something went wrong running your speedtest');
});
}
}

View File

@@ -0,0 +1,48 @@
<?php
namespace App\Notifications;
use App\Helpers\SettingsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class SpeedtestFailedTelegram extends Notification implements ShouldQueue
{
use Queueable;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct()
{
//
}
public function via($notifiable)
{
return [
TelegramChannel::class
];
}
/**
* Format tekegram notification
*
* @param mixed $notifiable
* @return TelegramMessage
*/
public function toTelegram($notifiable)
{
$msg = "Error: something went wrong running your speedtest";
return TelegramMessage::create()
->to(SettingsHelper::get('telegram_chat_id')->value)
->content($msg)
->options(['parse_mode' => 'Markdown']);
}
}

View File

@@ -0,0 +1,76 @@
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
class SpeedtestOverviewSlack extends Notification
{
use Queueable;
public $data;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($data)
{
$data['ping'] = number_format((float)$data['ping'], 1, '.', '');
$data['download'] = number_format((float)$data['download'], 1, '.', '');
$data['upload'] = number_format((float)$data['upload'], 1, '.', '');
$this->data = $data;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
'slack'
];
}
/**
* Format slack notification
*
* @param mixed $notifiable
* @return SlackMessage
*/
public function toSlack($notifiable)
{
$data = $this->data;
return (new SlackMessage)
->warning()
->attachment(function ($attachment) use ($data) {
$attachment->title('Speedtest Daily Overview')
->fields([
'Average ping' => $data['ping'] . ' ms',
'Average download' => $data['download'] . ' Mbit/s',
'Average upload' => $data['upload'] . ' Mbit/s',
]);
});
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}

View File

@@ -0,0 +1,76 @@
<?php
namespace App\Notifications;
use App\Helpers\SettingsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class SpeedtestOverviewTelegram extends Notification
{
use Queueable;
public $data;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($data)
{
$data['ping'] = number_format((float)$data['ping'], 1, '.', '');
$data['download'] = number_format((float)$data['download'], 1, '.', '');
$data['upload'] = number_format((float)$data['upload'], 1, '.', '');
$this->data = $data;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
TelegramChannel::class
];
}
/**
* Format tekegram notification
*
* @param mixed $notifiable
* @return TelegramMessage
*/
public function toTelegram($notifiable)
{
$data = $this->data;
$msg = "*Speedtest Daily Overview*
Average ping: *".$data["ping"]."*
Average download: *".$data["download"]."*
Average upload: *".$data["upload"]."*";
return TelegramMessage::create()
->to(SettingsHelper::get('telegram_chat_id')->value)
->content($msg)
->options(['parse_mode' => 'Markdown']);
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}

View File

@@ -0,0 +1,57 @@
<?php
namespace App\Notifications;
use App\Helpers\NotificationsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
class SpeedtestPercentageThresholdNotificationSlack extends Notification
{
use Queueable;
protected $errors;
/**
* Create a new notification instance.
*
* @param array $errors
* @return void
*/
public function __construct(array $errors)
{
$this->errors = $errors;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return ['slack'];
}
/**
* Format slack notification
*
* @param mixed $notifiable
* @return SlackMessage
*/
public function toSlack($notifiable)
{
$msg = NotificationsHelper::formatPercentageThresholdMessage($this->errors);
return (new SlackMessage)
->warning()
->attachment(function ($attachment) use ($msg) {
$attachment->title('Speedtest percentage threshold error')
->content($msg);
});
}
}

View File

@@ -0,0 +1,58 @@
<?php
namespace App\Notifications;
use App\Helpers\NotificationsHelper;
use App\Helpers\SettingsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class SpeedtestPercentageThresholdTelegram extends Notification
{
use Queueable;
private $errors;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct($errors)
{
$this->errors = $errors;
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
TelegramChannel::class
];
}
/**
* Format telegram notification
*
* @param mixed $notifiable
* @return TelegramMessage
*/
public function toTelegram($notifiable)
{
$msg = NotificationsHelper::formatAbsoluteThresholdMessage($this->errors);
return TelegramMessage::create()
->to(SettingsHelper::get('telegram_chat_id')->value)
->content($msg)
->options(['parse_mode' => 'Markdown']);
}
}

View File

@@ -0,0 +1,65 @@
<?php
namespace App\Notifications;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Messages\SlackMessage;
use Illuminate\Notifications\Notification;
class TestSlackNotification extends Notification
{
use Queueable;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
'slack'
];
}
/**
* Format slack notification
*
* @param mixed $notifiable
* @return SlackMessage
*/
public function toSlack($notifiable)
{
return (new SlackMessage)
->warning()
->attachment(function ($attachment) {
$attachment->title('Test notification');
});
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}

View File

@@ -0,0 +1,67 @@
<?php
namespace App\Notifications;
use App\Helpers\SettingsHelper;
use Illuminate\Bus\Queueable;
use Illuminate\Contracts\Queue\ShouldQueue;
use Illuminate\Notifications\Messages\MailMessage;
use Illuminate\Notifications\Notification;
use NotificationChannels\Telegram\TelegramChannel;
use NotificationChannels\Telegram\TelegramMessage;
class TestTelegramNotification extends Notification
{
use Queueable;
/**
* Create a new notification instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Get the notification's delivery channels.
*
* @param mixed $notifiable
* @return array
*/
public function via($notifiable)
{
return [
TelegramChannel::class
];
}
/**
* Format tekegram notification
*
* @param mixed $notifiable
* @return TelegramMessage
*/
public function toTelegram($notifiable)
{
$msg = "Test notification";
return TelegramMessage::create()
->to(SettingsHelper::get('telegram_chat_id')->value)
->content($msg)
->options(['parse_mode' => 'Markdown']);
}
/**
* Get the array representation of the notification.
*
* @param mixed $notifiable
* @return array
*/
public function toArray($notifiable)
{
return [
//
];
}
}

View File

@@ -0,0 +1,30 @@
<?php
namespace App\Observers;
use App\Exceptions\InfluxDBNotEnabledException;
use App\Models\Speedtest;
use App\Utils\InfluxDB\InfluxDB;
use Exception;
use Log;
class SpeedtestObserver
{
/**
* Handle the Speedtest "created" event.
*
* @param \App\Speedtest $speedtest
* @return void
*/
public function created(Speedtest $speedtest)
{
try {
InfluxDB::connect()
->store($speedtest);
} catch (InfluxDBNotEnabledException $e) {
// /
} catch (Exception $e) {
Log::error($e);
}
}
}

View File

@@ -2,6 +2,16 @@
namespace App\Providers;
use App\Events\SpeedtestCompleteEvent;
use App\Events\SpeedtestFailedEvent;
use App\Events\SpeedtestOverviewEvent;
use App\Events\TestNotificationEvent;
use App\Listeners\SpeedtestCompleteListener;
use App\Listeners\SpeedtestFailedListener;
use App\Listeners\SpeedtestOverviewListener;
use App\Listeners\TestNotificationListener;
use App\Observers\SpeedtestObserver;
use App\Models\Speedtest;
use Illuminate\Auth\Events\Registered;
use Illuminate\Auth\Listeners\SendEmailVerificationNotification;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;
@@ -18,6 +28,18 @@ class EventServiceProvider extends ServiceProvider
Registered::class => [
SendEmailVerificationNotification::class,
],
SpeedtestCompleteEvent::class => [
SpeedtestCompleteListener::class,
],
SpeedtestOverviewEvent::class => [
SpeedtestOverviewListener::class
],
SpeedtestFailedEvent::class => [
SpeedtestFailedListener::class
],
TestNotificationEvent::class => [
TestNotificationListener::class
]
];
/**
@@ -29,6 +51,6 @@ class EventServiceProvider extends ServiceProvider
{
parent::boot();
//
Speedtest::observe(SpeedtestObserver::class);
}
}

View File

@@ -0,0 +1,58 @@
<?php
namespace App\Providers;
use App\Helpers\SettingsHelper;
use Exception;
use File;
use Henrywhitaker3\Healthchecks\Healthchecks;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\ServiceProvider;
use Ramsey\Uuid\Exception\InvalidUuidStringException;
use Schema;
/**
* This class updates the integrations.php config with the relevant values
* from the databse.
*/
class IntegrationsServiceProvider extends ServiceProvider
{
/**
* Register services.
*
* @return void
*/
public function register()
{
//
}
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
if (File::exists(env('DB_DATABASE'))) {
if (Schema::hasTable('settings')) {
$setting = SettingsHelper::get('healthchecks_uuid');
if ($setting !== false) {
try {
SettingsHelper::loadIntegrationConfig();
App::bind('healthcheck', function () use ($setting) {
return new Healthchecks($setting->value, SettingsHelper::get('healthchecks_server_url')->value);
});
} catch (InvalidUuidStringException $e) {
Log::error('Invalid healthchecks UUID');
} catch (Exception $e) {
Log::error($e->getMessage());
}
}
}
}
}
}

View File

@@ -2,6 +2,7 @@
namespace App\Providers;
use App\Helpers\SettingsHelper;
use Illuminate\Foundation\Support\Providers\RouteServiceProvider as ServiceProvider;
use Illuminate\Support\Facades\Route;
@@ -14,7 +15,7 @@ class RouteServiceProvider extends ServiceProvider
*
* @var string
*/
protected $namespace = 'App\Http\Controllers';
protected $namespace = null;
/**
* The path to the "home" route for your application.
@@ -72,7 +73,7 @@ class RouteServiceProvider extends ServiceProvider
*/
protected function mapApiRoutes()
{
Route::prefix('api')
Route::prefix(SettingsHelper::getBase() . 'api')
->middleware('api')
->namespace($this->namespace)
->group(base_path('routes/api.php'));

View File

@@ -0,0 +1,28 @@
<?php
namespace App\Providers;
use App\Helpers\SettingsHelper;
use App\Interfaces\SpeedtestProvider;
use App\Utils\OoklaTester;
use File;
use Illuminate\Support\ServiceProvider;
use Schema;
class SpeedtestServiceProvider extends ServiceProvider
{
/**
* Bootstrap services.
*
* @return void
*/
public function boot()
{
$this->app->singleton(
SpeedtestProvider::class,
function () {
return new OoklaTester();
}
);
}
}

41
app/Rules/Cron.php Normal file
View File

@@ -0,0 +1,41 @@
<?php
namespace App\Rules;
use Cron\CronExpression;
use Illuminate\Contracts\Validation\Rule;
class Cron implements Rule
{
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Determine if the value is a valid CRON expression
*
* @param string $attribute
* @param mixed $value
* @return bool
*/
public function passes($attribute, $value)
{
return CronExpression::isValidExpression($value);
}
/**
* Get the validation error message.
*
* @return string
*/
public function message()
{
return 'The :attribute field must be a valid cron expression.';
}
}

View File

@@ -0,0 +1,41 @@
<?php
namespace App\Rules;
use Hash;
use Illuminate\Contracts\Validation\Rule;
class CurrentPasswordMatches implements Rule
{
/**
* Create a new rule instance.
*
* @return void
*/
public function __construct()
{
//
}
/**
* Determine if the validation rule passes.
*
* @param string $attribute
* @param mixed $value
* @return bool
*/
public function passes($attribute, $value)
{
return Hash::check($value, auth()->user()->password);
}
/**
* Get the validation error message.
*
* @return string
*/
public function message()
{
return 'The current password doesn\'t match.';
}
}

View File

@@ -1,19 +0,0 @@
<?php
namespace App;
use Illuminate\Database\Eloquent\Model;
class Speedtest extends Model
{
/**
* The attributes that are mass assignable.
*
* @var array
*/
protected $fillable = [
'ping', 'download', 'upload', 'created_at'
];
protected $table = 'speedtests';
}

View File

@@ -0,0 +1,113 @@
<?php
namespace App\Utils\InfluxDB;
use App\Exceptions\InfluxDBConnectionErrorException;
use App\Exceptions\InfluxDBNotEnabledException;
use App\Helpers\SettingsHelper;
use App\Models\Speedtest;
use InfluxDB\Client as Version1;
use InfluxDB2\Client as Version2;
use App\Interfaces\InfluxDBWrapperInterface as Client;
class InfluxDB
{
private Client $client;
private string $database;
public function __construct(Client $client)
{
$this->client = $client;
}
/**
* Connect to influx db
*
* @param string $host
* @param integer $port
* @param string $database
* @return InfluxDB
*/
public static function connect()
{
if (!(bool) SettingsHelper::get('influx_db_enabled')->value) {
throw new InfluxDBNotEnabledException();
}
$host = SettingsHelper::get('influx_db_host')->value;
$port = SettingsHelper::get('influx_db_port')->value;
$username = SettingsHelper::get('influx_db_username')->value;
$password = SettingsHelper::get('influx_db_password')->value;
$database = SettingsHelper::get('influx_db_database')->value;
$version = (int) SettingsHelper::get('influx_db_version')->value;
$wrapper = $version === 1
? new InfluxDBVersion1Wrapper(
new Version1(
str_replace(['http://', 'https://'], '', $host),
$port,
$username,
$password
)
)
: new InfluxDBVersion2Wrapper(
new Version2([
'url' => $host . ':' . $port,
'token' => '',
])
);
return (new self($wrapper))->setDatabase($database)
->testConnection();
}
/**
* Set the database field
*
* @param string $database
* @return InfluxDB
*/
public function setDatabase(string $database): InfluxDB
{
$this->database = $database;
return $this;
}
/**
* Test the connection
*
* @throws InfluxDBConnectionErrorException
* @return InfluxDB
*/
public function testConnection(): InfluxDB
{
if (!$this->client->testConnection()) {
throw new InfluxDBConnectionErrorException();
}
if (!$this->doesDatabaseExist()) {
$this->createDatabase();
}
return $this;
}
public function doesDatabaseExist(): bool
{
return $this->client->doesDatabaseExist($this->database);
}
public function createDatabase(): bool
{
return $this->client->createDatabase($this->database);
}
public function store(Speedtest $speedtest): InfluxDB
{
$this->client->store($speedtest);
return $this;
}
}

View File

@@ -0,0 +1,74 @@
<?php
namespace App\Utils\InfluxDB;
use App\Interfaces\InfluxDBWrapperInterface;
use App\Models\Speedtest;
use Exception;
use InfluxDB\Client;
use InfluxDB\Database;
use InfluxDB\Database\RetentionPolicy;
use InfluxDB\Point;
use Log;
class InfluxDBVersion1Wrapper implements InfluxDBWrapperInterface
{
private Client $client;
private Database $database;
public function __construct(Client $client)
{
$this->client = $client;
}
public function testConnection(): bool
{
try {
$this->client->listDatabases();
return true;
} catch (Exception $e) {
Log::error($e);
return false;
}
}
public function doesDatabaseExist(string $database): bool
{
$this->database = $this->client->selectDB($database);
return (bool) $this->database->exists();
}
public function createDatabase(string $database): bool
{
try {
$this->database->create(
new RetentionPolicy(
'speedtest_retention_policy',
config('services.influxdb.retention'),
1,
true
)
);
return true;
} catch (Exception $e) {
Log::error($e);
return false;
}
}
public function store(Speedtest $speedtest): bool
{
return $this->database->writePoints([
new Point(
'speedtest',
null,
['host' => config('services.influxdb.host')],
$speedtest->formatForInfluxDB(),
)
]);
}
}

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Utils\InfluxDB;
use App\Interfaces\InfluxDBWrapperInterface;
use App\Models\Speedtest;
use InfluxDB2\Client;
class InfluxDBVersion2Wrapper implements InfluxDBWrapperInterface
{
private Client $client;
public function __construct(Client $client)
{
$this->client = $client;
}
public function testConnection(): bool
{
return $this->client->health()->getStatus() !== 'pass';
}
public function doesDatabaseExist(string $database): bool
{
return true;
}
public function createDatabase(string $database): bool
{
return true;
}
public function store(Speedtest $speedtest): bool
{
return true;
}
}

128
app/Utils/OoklaTester.php Normal file
View File

@@ -0,0 +1,128 @@
<?php
namespace App\Utils;
use App\Exceptions\SpeedtestFailureException;
use App\Helpers\SettingsHelper;
use App\Helpers\SpeedtestHelper;
use App\Interfaces\SpeedtestProvider;
use App\Models\Speedtest;
use Cache;
use Exception;
use JsonException;
use Log;
class OoklaTester implements SpeedtestProvider
{
public function run($output = false, $scheduled = true): Speedtest
{
if ($output === false) {
$output = $this->output();
}
try {
$output = json_decode($output, true, 512, JSON_THROW_ON_ERROR);
if (!$this->isOutputComplete($output)) {
$test = false;
}
$test = Speedtest::create([
'ping' => $output['ping']['latency'],
'download' => SpeedtestHelper::convert($output['download']['bandwidth']),
'upload' => SpeedtestHelper::convert($output['upload']['bandwidth']),
'server_id' => $output['server']['id'],
'server_name' => $output['server']['name'],
'server_host' => $output['server']['host'] . ':' . $output['server']['port'],
'url' => $output['result']['url'],
'scheduled' => $scheduled
]);
} catch (JsonException $e) {
Log::error('Failed to parse speedtest JSON');
Log::error($output);
$test = false;
} catch (Exception $e) {
Log::error($e->getMessage());
$test = false;
}
if ($test == false) {
Speedtest::create([
'ping' => 0,
'upload' => 0,
'download' => 0,
'failed' => true,
'scheduled' => $scheduled,
]);
throw new SpeedtestFailureException(json_encode($output));
}
Cache::flush();
return $test;
}
public function output()
{
$server = SettingsHelper::get('server')['value'];
$binPath = app_path() . DIRECTORY_SEPARATOR . 'Bin' . DIRECTORY_SEPARATOR . 'speedtest';
$homePrefix = config('speedtest.home') . ' && ';
if ($server != '' && $server != false) {
$server = explode(',', $server);
$server = $server[array_rand($server)];
if ($server == false) {
Log::error('Speedtest server undefined');
return false;
}
return shell_exec($homePrefix . $binPath . ' -f json -s ' . $server);
}
return shell_exec($homePrefix . $binPath . ' -f json');
}
/**
* Checks that the speedtest JSON output is complete/valid
*
* @param array $output
* @return boolean
*/
public static function isOutputComplete($output)
{
/**
* Array of indexes that must exist in $output
*/
$checks = [
'type' => 'result',
'download' => ['bandwidth' => '*'],
'upload' => ['bandwidth' => '*'],
'ping' => ['latency' => '*'],
'server' => [
'id' => '*',
'name' => '*',
'host' => '*',
'port' => '*'
],
'result' => [
'url' => '*'
],
];
/**
* Array of indexes that must not exist
*/
$checkMissing = [
'type' => 'error'
];
foreach ($checks as $key => $value) {
if (!isset($output[$key])) {
return false;
}
}
return true;
}
}

View File

@@ -1,4 +1,590 @@
{
"1.12.1": [
{
"description": "Fixed a bug where the latest X days widget would not update (#680)",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/680"
}
],
"1.12.0": [
{
"description": "Added InfluxDB intergation.",
"link": ""
}
],
"1.11.1": [
{
"description": "Add option to show/hide columns in the all tests table.",
"link": ""
},
{
"description": "Add option to delete failed tests.",
"link": ""
}
],
"1.11.0": [
{
"description": "Upgrade to Laravel 8.",
"link": ""
},
{
"description": "Refactor loads of back-end stuff.",
"link": ""
},
{
"description": "Refactor front-end stuff.",
"link": ""
}
],
"1.10.4": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.10.3": [
{
"description": "Moved stuff into pages.",
"link": ""
}
],
"1.10.2": [
{
"description": "Added option to disable scheduled tests.",
"link": ""
}
],
"1.10.1": [
{
"description": "Fixed integrations config being empty causing healthchecks to not run on scheduled tests.",
"link": ""
}
],
"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.",
"link": ""
},
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.5": [
{
"description": "Added toggle to show failed tests on graphs.",
"link": ""
},
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.4": [
{
"description": "Changed integration config loading.",
"link": ""
},
{
"description": "Added more tests.",
"link": ""
}
],
"1.9.3": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.9.2": [
{
"description": "Authentication bugfixes.",
"link": ""
}
],
"1.9.1": [
{
"description": "Added conditional notifications.",
"link": ""
}
],
"1.9.0": [
{
"description": "Added optional authentication.",
"link": ""
}
],
"1.8.1": [
{
"description": "Added healthchecks.io test buttons.",
"link": ""
},
{
"description": "Added close buttons to modals.",
"link": ""
},
{
"description": "Back-end config handling changes.",
"link": ""
}
],
"1.8.0": [
{
"description": "Added healthchecks.io integration.",
"link": ""
}
],
"1.7.19": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.7.18": [
{
"description": "Fixed issue with widgets not updating when switching between failed/successful tests.",
"link": ""
},
{
"description": "Updated backup/restore functions to reflect new DB fields.",
"link": ""
}
],
"1.7.17": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.7.16": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.7.15": [
{
"description": "Updates for manual installs.",
"link": ""
}
],
"1.7.14": [
{
"description": "Updated dependencies.",
"link": ""
}
],
"1.7.13": [
{
"description": "Added command to clear application queue.",
"link": ""
}
],
"1.7.12": [
{
"description": "Updated dependencies.",
"link": ""
},
{
"description": "Added more unit tests.",
"link": ""
},
{
"description": "Display date on failure graph in local format.",
"link": ""
}
],
"1.7.11": [
{
"description": "Changed failure graph to a bar chart.",
"link": ""
}
],
"1.7.10": [
{
"description": "Fixed notifications bug.",
"link": ""
}
],
"1.7.9": [
{
"description": "Added ability to delete speedtests from the database.",
"link": ""
}
],
"1.7.8": [
{
"description": "Updated dependencies",
"link": ""
}
],
"1.7.7": [
{
"description": "Fixed speedtest:latest output",
"link": ""
},
{
"description": "Updated dependencies",
"link": ""
}
],
"1.7.6": [
{
"description": "Fixed issue with page failing to load",
"link": ""
}
],
"1.7.5": [
{
"description": "Moved notification agent settings to DB",
"link": ""
},
{
"description": "Updated dependencies",
"link": ""
}
],
"1.7.4": [
{
"description": "Stopped failed tests appearing in graphs",
"link": ""
},
{
"description": "Added failure rate graph",
"link": ""
},
{
"description": "Updated dependencies",
"link": ""
}
],
"1.7.3": [
{
"description": "Updated dependencies",
"link": ""
},
{
"description": "Added notifications and logging of failed tests",
"link": ""
}
],
"1.7.2": [
{
"description": "Updated UI for speedtest info",
"link": ""
},
{
"description": "Added field to track manual vs scheduled tests",
"link": ""
}
],
"1.7.1": [
{
"description": "Updated dependencies",
"link": ""
}
],
"1.7.0": [
{
"description": "Added notification toggles",
"link": ""
},
{
"description": "Added daily overview notification",
"link": ""
}
],
"1.6.1": [
{
"description": "Added cli option to get version number",
"link": ""
}
],
"1.6.0": [
{
"description": "Added telegram notifications",
"link": ""
}
],
"1.5.6": [
{
"description": "Auto-update all tests table",
"link": ""
}
],
"1.5.5": [
{
"description": "Store host/id of speedtest.net server",
"link": ""
}
],
"1.5.4": [
{
"description": "Updated dependencies",
"link": ""
}
],
"1.5.3": [
{
"description": "Changed speedtest client",
"link": ""
}
],
"1.5.2": [
{
"description": "Updated dependencies",
"link": ""
},
{
"description": "Added CSV backup/restore formats",
"link": ""
}
],
"1.5.1": [
{
"description": "Updated PHP dependencies",
"link": ""
},
{
"description": "Updated JS dependencies",
"link": ""
}
],
"1.5.0": [
{
"description": "Added option to set base path",
"link": ""
}
],
"1.4.1": [
{
"description": "Updated laravel framework",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/65"
},
{
"description": "Updated facade/ignition",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/64"
}
],
"1.4.0": [
{
"description": "Added custom speedtest.net server ids",
"link": ""
},
{
"description": "Added custom schedule",
"link": ""
},
{
"description": "Updated react toastify",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/62"
},
{
"description": "Updated facade/ignition",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/60"
}
],
"1.3.7": [
{
"description": "Updated laravel framework",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/52"
},
{
"description": "Updated react toastify",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/53"
},
{
"description": "Updated bootstrap",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/49"
},
{
"description": "Switch to JSON output from speedtest-cli",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/issues/55"
},
{
"description": "Changed \"scan\" to \"test\"",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/issues/56"
}
],
"1.3.6": [
{
"description": "Updated react router",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/50"
},
{
"description": "Updated react toastify",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/48"
},
{
"description": "Updated bootstrap",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/49"
},
{
"description": "Updated the way the changelog is displayed",
"link": ""
}
],
"1.3.5": [
{
"description": "Updated laravel CORS",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/40"
},
{
"description": "Updated react toastify",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/43"
},
{
"description": "Updated react router",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/42"
}
],
"1.3.4": [
{
"description": "Updated laravel framework",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/37"
}
],
"1.3.3": [
{
"description": "Updated jQuery",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/32"
}
],
"1.3.2": [
{
"description": "Updated laravel framework",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/28"
},
{
"description": "Updated laravel ui",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/30"
}
],
"1.3.1": [
{
"description": "Updated laravel-cors",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/26"
}
],
"1.3.0": [
{
"description": "Added discord notifications",
"link": ""
}
],
"1.2.9": [
{
"description": "Updated laravel framework",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/23"
}
],
"1.2.8": [
{
"description": "Added favicons",
"link": ""
}
],
"1.2.7": [
{
"description": "Added modal to show changelog",
"link": ""
},
{
"description": "Updated sass",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/22"
},
{
"description": "Updated laravel framework",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/19"
},
{
"description": "Updated react-bootstrap",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/20"
},
{
"description": "Updated phpunit",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/21"
}
],
"1.2.6": [
{
"description": "Changed default view to last 7 days rather than last 30.",
"link": ""
},
{
"description": "Ordered all tests table by created date rather than id value.",
"link": ""
}
],
"1.2.5": [
{
"description": "Added max and average values to the latest results cards.",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/commit/2adb977cfb75308d947426db81593df3df2c4839"
}
],
"1.2.4": [
{
"description": "Set radius of chart point to 0 so a graph with lots of data looks less cluttered.",
"link": ""
},
{
"description": "Updated JS dependencies",
"link": "https://github.com/henrywhitaker3/Speedtest-Tracker/pull/11"
}
],
"1.2.3": [
{
"description": "Changed order of speedtests table show the latest results first.",
"link": ""
}
],
"1.2.2": [
{
"description": "Added a table of all speedtests",
"link": ""
}
],
"1.2.1": [
{
"description": "Fixed issue where changelog entry with a link wouldn't show.",

View File

@@ -9,20 +9,31 @@
"license": "MIT",
"require": {
"php": "^7.2.5",
"doctrine/dbal": "^2.10",
"dragonmantank/cron-expression": "^3",
"fideloper/proxy": "^4.2",
"fruitcake/laravel-cors": "^1.0",
"guzzlehttp/guzzle": "^6.3",
"laravel/framework": "^7.0",
"fruitcake/laravel-cors": "^2.0",
"guzzlehttp/guzzle": "^7.0.1",
"henrywhitaker3/healthchecks-io": "^1.0",
"henrywhitaker3/laravel-actions": "^1.0",
"influxdata/influxdb-client-php": "^1.12",
"influxdb/influxdb-php": "^1.15",
"laravel-notification-channels/telegram": "^0.5.0",
"laravel/framework": "^8.0",
"laravel/slack-notification-channel": "^2.0",
"laravel/tinker": "^2.0",
"laravel/ui": "^2.0",
"laravel/ui": "^3.0",
"tymon/jwt-auth": "^1.0"
},
"require-dev": {
"facade/ignition": "^2.0",
"barryvdh/laravel-ide-helper": "^2.8",
"brianium/paratest": "^6.2",
"facade/ignition": "^2.3.6",
"fzaninotto/faker": "^1.9.1",
"mockery/mockery": "^1.3.1",
"nunomaduro/collision": "^4.1",
"phpunit/phpunit": "^8.5"
"nunomaduro/collision": "^5.3",
"nunomaduro/larastan": "^0.7.0",
"phpunit/phpunit": "^9.5"
},
"config": {
"optimize-autoloader": true,
@@ -36,12 +47,10 @@
},
"autoload": {
"psr-4": {
"App\\": "app/"
},
"classmap": [
"database/seeds",
"database/factories"
]
"App\\": "app/",
"Database\\Factories\\": "database/factories/",
"Database\\Seeders\\": "database/seeders/"
}
},
"autoload-dev": {
"psr-4": {

6025
composer.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,7 +13,7 @@ return [
|
*/
'name' => env('APP_NAME', 'Laravel'),
'name' => env('APP_NAME', 'Speedtest-Tracker'),
/*
|--------------------------------------------------------------------------
@@ -162,6 +162,8 @@ return [
Illuminate\Validation\ValidationServiceProvider::class,
Illuminate\View\ViewServiceProvider::class,
NotificationChannels\Telegram\TelegramServiceProvider::class,
/*
* Package Service Providers...
*/
@@ -176,6 +178,12 @@ return [
App\Providers\RouteServiceProvider::class,
App\Providers\UpdaterServiceProvider::class,
/*
* Custom providers...
*/
App\Providers\IntegrationsServiceProvider::class,
App\Providers\SpeedtestServiceProvider::class,
],
/*
@@ -228,6 +236,7 @@ return [
'Validator' => Illuminate\Support\Facades\Validator::class,
'View' => Illuminate\Support\Facades\View::class,
'Updater' => App\Facades\UpdaterFacade::class,
'Healthcheck' => App\Facades\HealthchecksFacade::class,
],
];

409
config/clockwork.php Normal file
View File

@@ -0,0 +1,409 @@
<?php
return [
/*
|------------------------------------------------------------------------------------------------------------------
| Enable Clockwork
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork is enabled by default only when your application is in debug mode. Here you can explicitly enable or
| disable Clockwork. When disabled, no data is collected and the api and web ui are inactive.
|
*/
'enable' => env('CLOCKWORK_ENABLE', null),
/*
|------------------------------------------------------------------------------------------------------------------
| Features
|------------------------------------------------------------------------------------------------------------------
|
| You can enable or disable various Clockwork features here. Some features have additional settings (eg. slow query
| threshold for database queries).
|
*/
'features' => [
// Cache usage stats and cache queries including results
'cache' => [
'enabled' => env('CLOCKWORK_CACHE_ENABLED', true),
// Collect cache queries including results (high performance impact with a high number of queries)
'collect_queries' => env('CLOCKWORK_CACHE_QUERIES', false)
],
// Database usage stats and queries
'database' => [
'enabled' => env('CLOCKWORK_DATABASE_ENABLED', true),
// Collect database queries (high performance impact with a very high number of queries)
'collect_queries' => env('CLOCKWORK_DATABASE_COLLECT_QUERIES', true),
// Collect details of models updates (high performance impact with a lot of model updates)
'collect_models_actions' => env('CLOCKWORK_DATABASE_COLLECT_MODELS_ACTIONS', true),
// Collect details of retrieved models (very high performance impact with a lot of models retrieved)
'collect_models_retrieved' => env('CLOCKWORK_DATABASE_COLLECT_MODELS_RETRIEVED', false),
// Query execution time threshold in miliseconds after which the query will be marked as slow
'slow_threshold' => env('CLOCKWORK_DATABASE_SLOW_THRESHOLD'),
// Collect only slow database queries
'slow_only' => env('CLOCKWORK_DATABASE_SLOW_ONLY', false),
// Detect and report duplicate (N+1) queries
'detect_duplicate_queries' => env('CLOCKWORK_DATABASE_DETECT_DUPLICATE_QUERIES', false)
],
// Dispatched events
'events' => [
'enabled' => env('CLOCKWORK_EVENTS_ENABLED', true),
// Ignored events (framework events are ignored by default)
'ignored_events' => [
// App\Events\UserRegistered::class,
// 'user.registered'
],
],
// Laravel log (you can still log directly to Clockwork with laravel log disabled)
'log' => [
'enabled' => env('CLOCKWORK_LOG_ENABLED', true)
],
// Sent notifications
'notifications' => [
'enabled' => env('CLOCKWORK_NOTIFICATIONS_ENABLED', true),
],
// Performance metrics
'performance' => [
// Allow collecting of client metrics. Requires separate clockwork-browser npm package.
'client_metrics' => env('CLOCKWORK_PERFORMANCE_CLIENT_METRICS', true)
],
// Dispatched queue jobs
'queue' => [
'enabled' => env('CLOCKWORK_QUEUE_ENABLED', true)
],
// Redis commands
'redis' => [
'enabled' => env('CLOCKWORK_REDIS_ENABLED', true)
],
// Routes list
'routes' => [
'enabled' => env('CLOCKWORK_ROUTES_ENABLED', false)
],
// Rendered views
'views' => [
'enabled' => env('CLOCKWORK_VIEWS_ENABLED', true),
// Collect views including view data (high performance impact with a high number of views)
'collect_data' => env('CLOCKWORK_VIEWS_COLLECT_DATA', false),
// Use Twig profiler instead of Laravel events for apps using laravel-twigbridge (more precise, but does
// not support collecting view data)
'use_twig_profiler' => env('CLOCKWORK_VIEWS_USE_TWIG_PROFILER', false)
]
],
/*
|------------------------------------------------------------------------------------------------------------------
| Enable web UI
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork comes with a web UI accessibla via http://your.app/clockwork. Here you can enable or disable this
| feature. You can also set a custom path for the web UI.
|
*/
'web' => env('CLOCKWORK_WEB', true),
/*
|------------------------------------------------------------------------------------------------------------------
| Enable toolbar
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork can show a toolbar with basic metrics on all responses. Here you can enable or disable this feature.
| Requires a separate clockwork-browser npm library.
|
*/
'toolbar' => env('CLOCKWORK_TOOLBAR', false),
/*
|------------------------------------------------------------------------------------------------------------------
| HTTP requests collection
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork collects data about HTTP requests to your app. Here you can choose which requests should be collected.
|
*/
'requests' => [
// With on-demand mode enabled, Clockwork will only profile requests when the browser extension is open or you
// manually pass a "clockwork-profile" cookie or get/post data key.
// Optionally you can specify a "secret" that has to be passed as the value to enable profiling.
'on_demand' => env('CLOCKWORK_REQUESTS_ON_DEMAND', false),
// Collect only errors (requests with HTTP 4xx and 5xx responses)
'errors_only' => env('CLOCKWORK_REQUESTS_ERRORS_ONLY', false),
// Response time threshold in miliseconds after which the request will be marked as slow
'slow_threshold' => env('CLOCKWORK_REQUESTS_SLOW_THRESHOLD'),
// Collect only slow requests
'slow_only' => env('CLOCKWORK_REQUESTS_SLOW_ONLY', false),
// Sample the collected requests (eg. set to 100 to collect only 1 in 100 requests)
'sample' => env('CLOCKWORK_REQUESTS_SAMPLE', false),
// List of URIs that should not be collected
'except' => [
'/horizon/.*', // Laravel Horizon requests
'/telescope/.*', // Laravel Telescope requests
'/files/*'
],
// List of URIs that should be collected, any other URI will not be collected if not empty
'only' => [
// '/api/.*'
],
// Don't collect OPTIONS requests, mostly used in the CSRF pre-flight requests and are rarely of interest
'except_preflight' => env('CLOCKWORK_REQUESTS_EXCEPT_PREFLIGHT', true)
],
/*
|------------------------------------------------------------------------------------------------------------------
| Artisan commands collection
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork can collect data about executed artisan commands. Here you can enable and configure which commands
| should be collected.
|
*/
'artisan' => [
// Enable or disable collection of executed Artisan commands
'collect' => env('CLOCKWORK_ARTISAN_COLLECT', false),
// List of commands that should not be collected (built-in commands are not collected by default)
'except' => [
// 'inspire'
],
// List of commands that should be collected, any other command will not be collected if not empty
'only' => [
// 'inspire'
],
// Enable or disable collection of command output
'collect_output' => env('CLOCKWORK_ARTISAN_COLLECT_OUTPUT', false),
// Enable or disable collection of built-in Laravel commands
'except_laravel_commands' => env('CLOCKWORK_ARTISAN_EXCEPT_LARAVEL_COMMANDS', true)
],
/*
|------------------------------------------------------------------------------------------------------------------
| Queue jobs collection
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork can collect data about executed queue jobs. Here you can enable and configure which queue jobs should
| be collected.
|
*/
'queue' => [
// Enable or disable collection of executed queue jobs
'collect' => env('CLOCKWORK_QUEUE_COLLECT', false),
// List of queue jobs that should not be collected
'except' => [
// App\Jobs\ExpensiveJob::class
],
// List of queue jobs that should be collected, any other queue job will not be collected if not empty
'only' => [
// App\Jobs\BuggyJob::class
]
],
/*
|------------------------------------------------------------------------------------------------------------------
| Tests collection
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork can collect data about executed tests. Here you can enable and configure which tests should be
| collected.
|
*/
'tests' => [
// Enable or disable collection of ran tests
'collect' => env('CLOCKWORK_TESTS_COLLECT', false),
// List of tests that should not be collected
'except' => [
// Tests\Unit\ExampleTest::class
]
],
/*
|------------------------------------------------------------------------------------------------------------------
| Enable data collection when Clockwork is disabled
|------------------------------------------------------------------------------------------------------------------
|
| You can enable this setting to collect data even when Clockwork is disabled. Eg. for future analysis.
|
*/
'collect_data_always' => env('CLOCKWORK_COLLECT_DATA_ALWAYS', false),
/*
|------------------------------------------------------------------------------------------------------------------
| Metadata storage
|------------------------------------------------------------------------------------------------------------------
|
| Configure how is the metadata collected by Clockwork stored. Two options are available:
| - files - A simple fast storage implementation storing data in one-per-request files.
| - sql - Stores requests in a sql database. Supports MySQL, Postgresql, Sqlite and requires PDO.
|
*/
'storage' => env('CLOCKWORK_STORAGE', 'files'),
// Path where the Clockwork metadata is stored
'storage_files_path' => env('CLOCKWORK_STORAGE_FILES_PATH', storage_path('clockwork')),
// Compress the metadata files using gzip, trading a little bit of performance for lower disk usage
'storage_files_compress' => env('CLOCKWORK_STORAGE_FILES_COMPRESS', false),
// SQL database to use, can be a name of database configured in database.php or a path to a sqlite file
'storage_sql_database' => env('CLOCKWORK_STORAGE_SQL_DATABASE', storage_path('clockwork.sqlite')),
// SQL table name to use, the table is automatically created and udpated when needed
'storage_sql_table' => env('CLOCKWORK_STORAGE_SQL_TABLE', 'clockwork'),
// Maximum lifetime of collected metadata in minutes, older requests will automatically be deleted, false to disable
'storage_expiration' => env('CLOCKWORK_STORAGE_EXPIRATION', 60 * 24 * 7),
/*
|------------------------------------------------------------------------------------------------------------------
| Authentication
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork can be configured to require authentication before allowing access to the collected data. This might be
| useful when the application is publicly accessible. Setting to true will enable a simple authentication with a
| pre-configured password. You can also pass a class name of a custom implementation.
|
*/
'authentication' => env('CLOCKWORK_AUTHENTICATION', false),
// Password for the simple authentication
'authentication_password' => env('CLOCKWORK_AUTHENTICATION_PASSWORD', 'VerySecretPassword'),
/*
|------------------------------------------------------------------------------------------------------------------
| Stack traces collection
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork can collect stack traces for log messages and certain data like database queries. Here you can set
| whether to collect stack traces, limit the number of collected frames and set further configuration. Collecting
| long stack traces considerably increases metadata size.
|
*/
'stack_traces' => [
// Enable or disable collecting of stack traces
'enabled' => env('CLOCKWORK_STACK_TRACES_ENABLED', true),
// Limit the number of frames to be collected
'limit' => env('CLOCKWORK_STACK_TRACES_LIMIT', 10),
// List of vendor names to skip when determining caller, common vendors are automatically added
'skip_vendors' => [
// 'phpunit'
],
// List of namespaces to skip when determining caller
'skip_namespaces' => [
// 'Laravel'
],
// List of class names to skip when determining caller
'skip_classes' => [
// App\CustomLog::class
]
],
/*
|------------------------------------------------------------------------------------------------------------------
| Serialization
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork serializes the collected data to json for storage and transfer. Here you can configure certain aspects
| of serialization. Serialization has a large effect on the cpu time and memory usage.
|
*/
// Maximum depth of serialized multi-level arrays and objects
'serialization_depth' => env('CLOCKWORK_SERIALIZATION_DEPTH', 10),
// A list of classes that will never be serialized (eg. a common service container class)
'serialization_blackbox' => [
\Illuminate\Container\Container::class,
\Illuminate\Foundation\Application::class,
\Laravel\Lumen\Application::class
],
/*
|------------------------------------------------------------------------------------------------------------------
| Register helpers
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork comes with a "clock" global helper function. You can use this helper to quickly log something and to
| access the Clockwork instance.
|
*/
'register_helpers' => env('CLOCKWORK_REGISTER_HELPERS', true),
/*
|------------------------------------------------------------------------------------------------------------------
| Send Headers for AJAX request
|------------------------------------------------------------------------------------------------------------------
|
| When trying to collect data the AJAX method can sometimes fail if it is missing required headers. For example, an
| API might require a version number using Accept headers to route the HTTP request to the correct codebase.
|
*/
'headers' => [
// 'Accept' => 'application/vnd.com.whatever.v1+json',
],
/*
|------------------------------------------------------------------------------------------------------------------
| Server-Timing
|------------------------------------------------------------------------------------------------------------------
|
| Clockwork supports the W3C Server Timing specification, which allows for collecting a simple performance metrics
| in a cross-browser way. Eg. in Chrome, your app, database and timeline event timings will be shown in the Dev
| Tools network tab. This setting specifies the max number of timeline events that will be sent. Setting to false
| will disable the feature.
|
*/
'server_timing' => env('CLOCKWORK_SERVER_TIMING', 10)
];

59
config/integrations.php Normal file
View File

@@ -0,0 +1,59 @@
<?php
return [
/*
|--------------------------------------------------------------------------
| Healthchecks enabled
|--------------------------------------------------------------------------
|
| This option defines whether healthchecks integrations are enabled
|
*/
'healthchecks_enabled' => false,
/*
|--------------------------------------------------------------------------
| Healthchecks UUID
|--------------------------------------------------------------------------
|
| This option defines the UUID for healthchecks
|
*/
'healthchecks_uuid' => null,
/*
|--------------------------------------------------------------------------
| Slack webhook
|--------------------------------------------------------------------------
|
| This option defines the slack webhook url
|
*/
'slack_webhook' => null,
/*
|--------------------------------------------------------------------------
| Telegram bot token
|--------------------------------------------------------------------------
|
| This option defines the telegram bot token
|
*/
'telegram_bot_token' => null,
/*
|--------------------------------------------------------------------------
| Telegram chat id
|--------------------------------------------------------------------------
|
| This option defines the telegram chat id
|
*/
'telegram_chat_id' => null,
];

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

@@ -30,4 +30,13 @@ return [
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
'telegram-bot-api' => [
'token' => env('TELEGRAM_BOT_TOKEN', 'YOUR BOT TOKEN HERE')
],
'influxdb' => [
'retention' => env('INFLUXDB_RETENTION', '30d'),
'host' => env('INFLUXDB_HOST_TAG', 'speedtest'),
],
];

Some files were not shown because too many files have changed in this diff Show More