Commit graph

6854 commits

Author SHA1 Message Date
Chris Mayo
595ce32e55
Merge pull request #646 from cjmayo/unidir
Fix checking directory containing Unicode filenames
2022-09-06 19:23:07 +01:00
Chris Mayo
3c7fb5b571 Fix checking directory containing Unicode filenames
Non-Unicode filenames are not supported.

sys.platform has not returned "linux2" since Python 3.3.
2022-09-05 19:28:40 +01:00
Chris Mayo
1abd9ea10e Skip tests in TestFile rather than silently returning 2022-09-05 19:28:40 +01:00
Chris Mayo
c627b00755
Merge pull request #639 from cjmayo/hatch
Replace setuptools and setup.py with hatch and pyproject.toml
2022-09-05 19:27:48 +01:00
Chris Mayo
d5058ecd7c
Merge pull request #643 from cjmayo/altname
Replace deprecated urllib3.contrib.pyopenssl.get_subj_alt_name()
2022-09-05 19:26:12 +01:00
Chris Mayo
e91f9b4100 Add hatch test environment 2022-09-05 19:24:01 +01:00
Chris Mayo
84c241ef95 Rename setup.cfg to .flake8 2022-09-05 19:24:01 +01:00
Chris Mayo
a214531030 Remove check-python-versions that needs setup.py 2022-09-05 19:24:01 +01:00
Chris Mayo
1975613b44 Remove MANIFEST.in
All files stored in Git are included in the sdist, unless excluded with
tool.hatch.build.exclude.

Build artifacts listed in tool.hatch.build.artifacts are also included.
2022-09-05 19:24:01 +01:00
Chris Mayo
47d1015e00 Replace setuptools and setup.py with hatch and pyproject.toml 2022-09-05 19:24:01 +01:00
Chris Mayo
39b065bc36
Merge pull request #638 from cjmayo/urllist
Document URL list in linkchecker(1)
2022-09-05 19:21:39 +01:00
Chris Mayo
f0cb2e9df9 Use cryptography.x509.not_valid_after 2022-09-05 19:20:19 +01:00
Chris Mayo
76e2712311 Replace deprecated urllib3.contrib.pyopenssl.get_subj_alt_name()
Strictly we should add a dependency on cryptography as we are now using
it directly - but for pyopenssl x509.to_cryptography() to work
cryptography would have to be already installed.
2022-09-05 19:20:19 +01:00
Chris Mayo
c79bc07cee Add MIME type application/vnd.adobe.flash.movie 2022-09-02 19:29:11 +01:00
Chris Mayo
6d9061b00a Ignore bs4 markup and XML parser warnings
XMLParsedAsHTMLWarning: It looks like you're parsing an XML document
using an HTML parser.

MarkupResemblesLocatorWarning: The input looks more like a filename than
markup.

MarkupResemblesLocatorWarning: The input looks more like a URL than
markup.
2022-09-02 19:29:11 +01:00
Chris Mayo
d6936ceb91 Add warning url-content-type-unparseable 2022-09-02 19:29:11 +01:00
Chris Mayo
fb8df6f089 Document URL list in linkchecker(1)
First enabled in:
b1708fc7 ("get the complete content", 2004-09-03)
2022-09-02 19:29:11 +01:00
Chris Mayo
86243c00a1
Merge pull request #642 from cjmayo/addition
Fix typo addtion in linkcheckerrc(5)
2022-09-02 19:23:25 +01:00
Chris Mayo
f018cc9fd1 Fix typo addtion in linkcheckerrc(5) 2022-09-02 19:17:45 +01:00
Chris Mayo
6958e2e237
Merge pull request #640 from kianmeng/fix-typos
Fix typos
2022-09-02 19:17:18 +01:00
Kian-Meng Ang
a70ea9ea14 Fix typos
Found via `codespell ./linkcheck/ ./tests ./doc/man/en -L bu,noone,fo,pres,shttp`
2022-09-02 17:20:02 +08:00
Chris Mayo
75196921e4
Merge pull request #635 from cjmayo/relpages
Publish the documentation when there is a release
2022-08-30 19:28:25 +01:00
Chris Mayo
b35036af2b
Merge pull request #634 from cjmayo/pyxdg
Remove dependency on pyxdg
2022-08-30 19:28:03 +01:00
Chris Mayo
72310d4e0d
Merge pull request #633 from cjmayo/ldap
Re-enable ldap: test
2022-08-30 19:27:32 +01:00
Chris Mayo
d72649453c
Merge pull request #632 from cjmayo/docs
Assorted documentation updates
2022-08-30 19:27:10 +01:00
Chris Mayo
ffe1be37b8
Merge pull request #637 from felixonmars/patch-1
Correct a typo in i18n.py
2022-08-24 19:28:56 +01:00
Felix Yan
7db1a867ab
Correct a typo in i18n.py 2022-08-24 19:10:41 +03:00
Chris Mayo
a520b26885 Publish the documentation when there is a release 2022-08-23 19:27:12 +01:00
Chris Mayo
fbceca5dc9 Remove dependency on pyxdg
Read the environment variables and implement the same fallbacks.
Saves a hardly used dependency and is more explicit.
2022-08-23 19:26:15 +01:00
Chris Mayo
53bbf28584 Re-enable ldap: test
Disabled in:
1733c6a6 ("Fix Travis CI build.", 2014-03-11)
2022-08-23 19:25:32 +01:00
Chris Mayo
10f3d33041 Finish documenting the use of XDG_CONFIG_HOME and XDG_DATA_HOME
Introduced by:
a03e2e4a ("use xdg dirs for config & data", 2017-10-17)
2022-08-23 19:21:53 +01:00
Chris Mayo
3f42367280 Document using the GitHub release artifacts 2022-08-23 19:21:53 +01:00
Chris Mayo
edd4c8443c Document the GitHub workflow for creating man pages and translations PR 2022-08-23 19:21:53 +01:00
Chris Mayo
7099dc73a7 Sphinx 6.0 extlinks compatibility
WARNING: extlinks: Sphinx-6.0 will require a caption string to
contain exactly one '%s' and all other '%' need to be escaped as '%%'.
2022-08-23 19:21:53 +01:00
Chris Mayo
6c14a6b756
Merge pull request #627 from cjmayo/rate-limited
Document url-rate-limited
2022-08-23 19:21:04 +01:00
Chris Mayo
48a1dde27a Document url-rate-limited
Introduced in:
dcdc64e8 ("Turn status code 429 into warning instead of failure",
2020-03-25)
2022-07-11 19:27:07 +01:00
Chris Mayo
58c874f453
Merge pull request #623 from cjmayo/pdfminer
Test and recommend pdfminer.six for PdfParser
2022-06-23 19:24:52 +01:00
Chris Mayo
a67e8fd0f5 Test and recommend pdfminer.six for PdfParser
pdfminer is no longer actively maintained; distributions are now
packaging pdfminer.six as pdfminer.
2022-05-18 19:29:54 +01:00
Chris Mayo
94781120ac Correct mention of pdfminer in WordParser comment 2022-05-18 19:29:54 +01:00
Chris Mayo
30f1678202
Merge pull request #620 from cjmayo/pyoxidizer20
Latest PyOxidizer and Beautiful Soup allow workarounds to be removed
2022-04-19 19:36:43 +01:00
Chris Mayo
5403e688ca Use Python 3.10 in Docker image
cchardet was the reason for using Python 3.9.
2022-04-12 19:24:49 +01:00
Chris Mayo
34ba737710 Remove cchardet from Docker image, tox env and recommendation
Beautiful Soup 4.11 will use charset-normalizer.
2022-04-11 19:26:18 +01:00
Chris Mayo
cb982a2d92 Remove PyOxidizer workaround
Not needed with PyOxidizer >= 0.20.0.
2022-04-11 19:26:18 +01:00
Chris Mayo
2b1fd0eaac
Merge pull request #615 from cjmayo/docs
Assorted minor documentation updates
2022-03-01 19:28:14 +00:00
Chris Mayo
7673cd6c69 Update files to be edited during release process 2022-02-22 19:35:04 +00:00
Chris Mayo
b92418a950 Use R for Requests in install.txt 2022-02-22 19:35:04 +00:00
Chris Mayo
de719993e4 Use the website for installation link in README
Make the link work on PyPI.
2022-02-22 19:35:04 +00:00
Chris Mayo
db012a33cf Update documentation.md with PKG-INFO
_LinkChecker_configdata.py not created since:
fb03843b ("Remove _LinkChecker_configdata.py", 2021-12-30)
2022-02-22 19:35:04 +00:00
Chris Mayo
9abd7d84af
Merge pull request #613 from JanMalte/update-schemes
Add Telegram and WhatsApp schemes
2022-02-07 19:25:22 +00:00
Malte Gerth
cc48a09308 Add Telegram and WhatsApp link schemes 2022-02-06 23:41:33 +01:00