Vincent Peugnet
Vincent Peugnet
Or maybe, just a custom link function ?
I can imagine a more general idea: Instead of just storing dead links, I could __store all external links__ with their associated HTTP response code ```json { "extlink": { "https://sdf.com":...
I'm working on it on branch https://github.com/vincent-peugnet/wcms/tree/dead-link-checker I'm adding HTML classes to link that are checked. There is two options: 1. if it reach a `200 ok` (could be after...
I did some real life test (using my personal webpage , which contain 50 links). 3 of them didn't received a 200 response, although that when visited from the browser...
I tried some workaround, to fool the CDN. I tried to: 1. add a user agent `Mozilla/5.0` 2. add a complex user agent `Mozilla/5.0 (iPad; CPU OS 12_2 like Mac...
👀 [some inspiration from the Sphinx project](https://github.com/sphinx-doc/sphinx/blob/10a76d180a15e46f3bff294e9e64c788d1957cb2/sphinx/builders/linkcheck.py#L338)
Actually it's not a **bug**, it's **a feature !!!** https://github.com/vincent-peugnet/wcms/blob/b967fb2fb5a6b88fb5142b12cf81c313860f0e2b/app/class/Media.php#L111-L113
I have done some little tests. For example, the function to PUT a new page would be: ```js function w_put(page) { return fetch("./api/v0/page/" + page.id, { method: "PUT", body: JSON.stringify(page)...
I have an answer: Currently, to be able to delete a page, an `editor` need to be the only author of the page. This prevent an author to delete a...