Check status of links
zachleigh opened this issue · comments
Zach Leigh commented
Use https://github.com/spatie/http-status-check to check status of links. Have a status indicator on the project manager page with colored dots: green for 200, orange for 300, red for 400/500. Output error message for all but 200 range. Run in background and update via ajax. Have either grey indicator or spinner in place of status indicator if process hasn't completed yet.
Zach Leigh commented
Done, just need to add tests.
- Extract curl stuff out to separate class and unit test it
- Run acceptance tests for 200, 404, and maybe 500 links and check that the classes are being set
Zach Leigh commented
v0.9.08