Closed wyred closed 4 years ago
Wow, nice work! Let me check that and I'll merge it :)
Edit: Give me some time, I'll add some nice enhancements to that (vue instead of blade for example)
Can individual links be excluded from the check? I also use the tool for links in the local network.
Some things to note, I used a Chrome user agent because sites like reddit block requests made with guzzle's default user agent. Even though with this user agent, some sites still manage to block and I have not been able to figure out how.
Can individual links be excluded from the check? I also use the tool for links in the local network.
As of now there's no way to exclude links, but the setting will come disabled by default so those links won't be pinged.
It's easy to add a way to exclude links but I'm not familiar with vue enough to build the interface for it.
I've added the health check status on the link card, it will not show up if there's no data.
Health check can now be disabled for a specific link
List of disabled links can be viewed from control panel
@MarceauKa I've been learning vuejs for a while so if you haven't converted the control panel to vue, I'd like to give it a try. Let me know : )
@MarceauKa I've been learning vuejs for a while so if you haven't converted the control panel to vue, I'd like to give it a try. Let me know : )
I'm working to release that, don't worry! :D
Hi, just merged this with a lot of improvements. Look at this commit: https://github.com/MarceauKa/shaark/commit/fd2acc7d07d0583a5379a2f1bd3aaacae064fbbd
There are major changes in UI, commands, translations, controllers and migration
Here's a new feature that checks the http status code for each link using guzzle.
Once enabled, the health check task is hardcoded to run every 10 minutes, and only check up to a maximum of 20 links. You can configure how often to check each link at Settings. It is currently defaulted to 7 days, max 365.
guzzlehttp/guzzle is used to make the checks.
2 database columns
http_status
andhttp_checked_at
are added to thelinks
table.I'm not familiar with vue so the links dashboard and dead links pages are done the traditional way using blade templates.