Chris Mayo
b32fe6f692
Merge pull request #478 from cjmayo/imp
...
Fix deprecation warning for use of the imp module
2020-08-18 19:56:40 +01:00
Chris Mayo
4ad20d7f03
Merge pull request #477 from cjmayo/sitemap
...
Detect sitemaps that do not start with an XML declaration
2020-08-18 19:51:32 +01:00
Chris Mayo
9d6e8f951b
Merge pull request #476 from cjmayo/linkcheckerrc
...
Add missing settings to the example linkcheckerrc
2020-08-18 19:46:20 +01:00
Chris Mayo
5d83e93829
Merge pull request #475 from cjmayo/iana
...
Update IANA scripts and ignored schemes
2020-08-18 19:40:35 +01:00
Chris Mayo
2a8b64a2c7
Merge pull request #485 from jonringer/patch-1
...
Update Makefile to use python3
2020-08-18 19:33:53 +01:00
Jon
d6ac167fe6
Update Makefile to use python3
...
Not sure if this file is still being used, but noticed it still pointed to a python version that no longer builds
2020-08-16 19:50:59 -07:00
Chris Mayo
24c2f4ac39
Add test for invalid host name in content
...
Tests code added in:
d5690203 ("Fix critical exception when parsing a URL with a ]", 2020-08-08)
2020-08-15 17:04:41 +01:00
Chris Mayo
88c84364b3
Add additional tests for <img srcset>
...
Tests code added in:
7ba40537 ("Fix critical exception if srcset value ends with a comma", 2020-08-07)
27f22ae1 ("Fix treating data: URIs in srcset values as links", 2020-08-07)
2020-08-15 17:04:41 +01:00
Chris Mayo
8919dc6d31
Include CONTRIBUTING and CODE_OF_CONDUCT in Sphinx documentation
...
Convert to reST to integrate without adding another dependency.
2020-08-15 17:02:40 +01:00
Chris Mayo
0907199216
Include install.txt and upgrading.txt in Sphinx documentation
2020-08-15 17:02:40 +01:00
Chris Mayo
013d9a79c5
Configure man page date format
2020-08-15 17:02:40 +01:00
Chris Mayo
95ddeea635
Add man page description translations
2020-08-15 17:02:40 +01:00
Chris Mayo
57578f0b68
Document that --ignore-url does not skip syntax checking
2020-08-15 17:02:40 +01:00
Chris Mayo
f31932071c
Add make -C doc locale
2020-08-15 17:02:40 +01:00
Chris Mayo
d62490d17a
Add missing option and settings documentation
2020-08-15 17:02:40 +01:00
Chris Mayo
8e8f7a1668
Fix paths to man pages for make -C doc check
2020-08-15 17:02:40 +01:00
Chris Mayo
fe02eed821
Fix German translation of numbered lists
2020-08-15 17:02:40 +01:00
Chris Mayo
21839959b7
Fix typos in man pages
2020-08-15 17:02:40 +01:00
Chris Mayo
e7a2d2bfc6
Convert French man page translations to Sphinx
...
This is the automatic conversion only. Much manual work still required.
2020-08-15 17:02:40 +01:00
Chris Mayo
01f41e91de
Update man pages, with translations
...
First man pages generated with Sphinx.
2020-08-15 17:02:40 +01:00
Chris Mayo
334a6a890c
Add doc/i18n for man
2020-08-15 17:02:40 +01:00
Chris Mayo
7fcca21c45
Generate man pages with Sphinx
2020-08-15 17:02:40 +01:00
Chris Mayo
22089a5af2
Move man pages into doc/man
2020-08-15 17:02:40 +01:00
Chris Mayo
dc5416bdfd
Add PyPI links
2020-08-15 17:02:40 +01:00
Chris Mayo
d1834f0619
Generate html documentation with Sphinx
...
Create code documentation:
make -C doc code
Create html:
make -C doc html
2020-08-15 17:02:38 +01:00
Chris Mayo
0086c28b3a
Merge pull request #474 from cjmayo/srcset
...
Fix problems with trailing commas and data: URIs in srcset values
2020-08-15 16:58:38 +01:00
Chris Mayo
0269fd88b0
Merge pull request #473 from cjmayo/valueerror
...
Fix critical exception when parsing a URL with a ]
2020-08-15 16:51:17 +01:00
Chris Mayo
88566ad20a
Merge pull request #472 from cjmayo/baseref
...
Fix CSV logger not recognising base part setting
2020-08-15 16:41:57 +01:00
Chris Mayo
525b6751a9
Merge pull request #468 from cjmayo/interrupter
...
Rename director/interrupt.py to director/interrupter.py
2020-08-15 16:31:33 +01:00
Chris Mayo
ccaa882d50
Merge pull request #471 from cjmayo/status
...
Fix status=0 setting being ignored
2020-08-14 20:02:01 +01:00
Chris Mayo
33a5444dea
Merge pull request #469 from cjmayo/checklink
...
Remove defaults from lc_cgi.checklink()
2020-08-14 19:57:03 +01:00
Chris Mayo
b2d5498cbf
Merge pull request #467 from cjmayo/faq
...
Update the FAQ with plugins for HTML and CSS syntax checking
2020-08-14 19:50:32 +01:00
Chris Mayo
5aa2ddce4d
Merge pull request #461 from cjmayo/docstrings
...
Fix formatting and typos in docstrings
2020-08-14 19:45:41 +01:00
Chris Mayo
84c5e512ac
Merge pull request #459 from cjmayo/cached
...
Log a debug message when a cached URL is skipped
2020-08-14 19:41:04 +01:00
Chris Mayo
7ee151ebbf
Don't translate "Retry-After" server header field
...
It is defined in RFC 7231.
2020-08-14 19:29:19 +01:00
Chris Mayo
ad71cb4e43
Fix CssSyntaxCheck list index out of range
...
Errors do not report the column.
2020-08-14 19:25:21 +01:00
Chris Mayo
94dbac1e5e
Fix CssSyntaxCheck warning message, CSS not HTML
2020-08-14 19:25:21 +01:00
Chris Mayo
e053b3bc5f
HtmlSyntaxCheck disabled because it is broken
2020-08-14 19:25:21 +01:00
Chris Mayo
068a60ee39
SyntaxCheck plugins only work with http
...
They use a Requests session from url_data.
2020-08-14 19:25:21 +01:00
Chris Mayo
7d950cf848
Fix blacklist updating
...
A second run creates an additional entry in blacklist rather than
upating the original:
1 '"(\'http://localhost/broken.html \', \'http://localhost/nosuchlink.html \')"'
1 "('http://localhost/broken.html ', 'http://localhost/nosuchlink.html ')"
Broken since at least 9.3:
1 "(u'http://localhost/broken.html ', u'http://localhost/nosuchlink.html ')"
1 u'"(u\'http://localhost/broken.html \', u\'http://localhost/nosuchlink.html \')"'
If such an entry is found LinkChecker will now halt. Either remove
the entry or the whole file.
2020-08-13 19:32:21 +01:00
Chris Mayo
682bdbeab4
Add missing essential modules to internal error message
2020-08-12 19:38:40 +01:00
Chris Mayo
8c804c35a5
Detect sitemaps that do not start with an XML declaration
2020-08-11 19:35:56 +01:00
Chris Mayo
658c8051f0
Fix deprecation warning for use of the imp module
2020-08-10 19:32:04 +01:00
Chris Mayo
80763ed1ea
Add slack to the list of ignored schemes
...
slack:// is a way to interact with a local Slack client [1], and is not
something that LinkChecker can check.
[1] https://api.slack.com/reference/deep-linking#client
2020-08-09 17:10:26 +01:00
Chris Mayo
f19fd4f5bc
Update IANA scripts and ignored schemes (2020-07-28)
2020-08-09 17:10:26 +01:00
Chris Mayo
84a45b5171
Add missing settings to the example linkcheckerrc
2020-08-09 17:05:34 +01:00
Chris Mayo
d5690203fc
Fix critical exception when parsing a URL with a ]
...
e.g.:
<a href="http://localhost ]">square</a>
Causes urllib to raise a ValueError:
File "/usr/lib/python3.8/site-packages/linkcheck/url.py", line 315, in url_norm
line: urlparts = list(urllib.parse.urlsplit(url))
locals:
urlparts = <not found>
list = <builtin> <class 'list'>
urllib = <global> <module 'urllib' from '/usr/lib/python3.8/urllib/__init__.py'>
urllib.parse = <global> <module 'urllib.parse' from '/usr/lib/python3.8/urllib/parse.py'>
urllib.parse.urlsplit = <global> <function urlsplit at 0x7f950e699e50>
url = <local> 'http://localhost ]', len = 17
File "/usr/lib/python3.8/urllib/parse.py", line 440, in urlsplit
line: raise ValueError("Invalid IPv6 URL")
locals:
ValueError = <builtin> <class 'ValueError'>
2020-08-08 16:47:31 +01:00
Chris Mayo
27f22ae17a
Fix treating data: URIs in srcset values as links
2020-08-07 20:04:23 +01:00
Chris Mayo
7ba4053710
Fix critical exception if srcset value ends with a comma
...
Log a debug message as this is a minor syntax problem, won't stop
LinkChecker parsing strings up to the comma.
2020-08-07 20:04:23 +01:00
Chris Mayo
f3a823fb5b
Fix CSV logger not recognising base part setting
2020-08-07 19:45:24 +01:00