Commit graph

6654 commits

Author SHA1 Message Date
Chris Mayo
b4d68bab8a
Merge pull request #548 from cjmayo/chardet
Ensure chardet is installed when testing using tox
2021-08-13 19:36:21 +01:00
Chris Mayo
deed6ce231 Ensure chardet is installed when testing using tox
Beautiful Soup uses chardet, if installed, to detect character
encodings. This can lead to different test results based on whether
chardet is installed or not.

Requests < 2.26.0 requires chardet, but since 2.26.0 Requests requires
charset_normalizer.

Explicitly installing chardet maintains consistent test results.
2021-07-27 19:48:27 +01:00
Paul Haerle
f395c74aac
Make ResultCache max_size configurable (#544)
* Make ResultCache max_size configurable

fixes #463

* Add tests and docs.

* fix documentation...

...adapt the source, not the auto-generated man pages themselves as
requested in #544.

* fix typo.
2021-06-21 19:45:19 +01:00
Marius Gedminas
c94e953dbd
Merge pull request #543 from phaer/master
Link Github action badge in README.rst
2021-06-17 16:57:16 +03:00
Paul Haerle
6ad6c97cce
Link Github action badge in README.rst
...instead of the now seemingly obsolete Travis CI one.
2021-06-17 12:47:05 +02:00
Marius Gedminas
47a47e304d
Merge pull request #539 from linkchecker/github-actions
Convert .travis.yml to GitHub Actions
2021-05-20 13:56:20 +03:00
Marius Gedminas
d791c39be9 Sacrificing chickens to coveralls gods 2021-05-19 16:50:38 +03:00
Marius Gedminas
163ff725f8 Fix tests? 2021-05-19 16:36:16 +03:00
Marius Gedminas
8b6cb66146 Convert .travis.yml to GitHub Actions
Also add tox -e check-python-versions because it was low-hanging fruit
and I wanted to be sure.
2021-05-19 16:30:02 +03:00
Chris Mayo
365852a442
Merge pull request #531 from cjmayo/rel10.0.1
Release 10.0.1
2021-01-29 17:25:50 +00:00
Chris Mayo
c4b8a4aeec Changes for release 10.0.1 2021-01-28 19:20:24 +00:00
Chris Mayo
b84aac8de9 Update copyright in man pages 2021-01-28 19:20:24 +00:00
Chris Mayo
e7e9c3a865 Update release process 2021-01-28 19:20:24 +00:00
Chris Mayo
c31d233f06 Disable status logging in WSGI application
Not a problem earlier because the default for the CLI is to record
status, but this was not fully implemented until:
4f3f1ac0 ("Fix status=0 setting being ignored", 2020-08-06)
2021-01-28 19:20:24 +00:00
Chris Mayo
09b4da393e Initialise Configuration.status_logger
Fixes failure of the LinkChecker WSGI application which does
not call Configuration.set_status_logger().
2021-01-28 19:20:24 +00:00
Chris Mayo
7c2036b68c Drop support for Beautiful Soup < 4.8.1
The minimum version supported was already 4.8.0 because of the use
of multi_valued_attributes [1].

Test support for < 4.8.1 is the only code that needs removing [2].

[1] 3ff3d724 ("Use BeautifulSoup element attrs directly", 2020-04-03)
[2] 607328d5 ("Support Beautiful Soup line numbers", 2019-10-05)
2021-01-28 19:20:24 +00:00
Chris Mayo
464048bf42 Use python3 for cgi-bin/lc.wsgi 2021-01-28 19:20:24 +00:00
Chris Mayo
efb3e31ab3 Declare long description content type
Fix twine warning.
2021-01-28 19:20:24 +00:00
Chris Mayo
1f9a075d1b Use Python 3.9 final on Travis 2021-01-28 19:20:24 +00:00
Chris Mayo
136e8a3625 Update to version 10.0.1.dev0 2021-01-28 19:20:24 +00:00
Chris Mayo
7db035d1bc
Merge pull request #527 from cjmayo/rel10
Release 10
2021-01-15 17:44:52 +00:00
Chris Mayo
732f988500 Changes for release 10.0.0 2021-01-14 19:48:22 +00:00
Chris Mayo
4132f245d4 Promote links to the man pages on the home page 2021-01-14 19:48:22 +00:00
Chris Mayo
4237a0be76 Update documentation of gh-pages branch 2021-01-14 19:48:22 +00:00
Chris Mayo
a3e9c31560 Remove execute bits from parsepdf.py and parseword.py 2021-01-14 19:48:22 +00:00
Chris Mayo
21e5de90a6
Merge pull request #518 from cjmayo/edit-index
Fix the edit link for the web site front page
2020-10-15 20:13:35 +01:00
Chris Mayo
1adcea1ff4
Merge branch 'master' into edit-index 2020-10-15 20:02:29 +01:00
Chris Mayo
838d61b8ca
Merge pull request #516 from cjmayo/biplist
Stop using biplist
2020-10-15 20:02:03 +01:00
Chris Mayo
5ba15f0e0e
Merge branch 'master' into biplist 2020-10-15 19:54:40 +01:00
Chris Mayo
76dd3bc66a
Merge pull request #517 from cjmayo/pages-root
Publish documentation to the root of gh-pages
2020-10-15 19:49:49 +01:00
Chris Mayo
b106723685 Add setup.py build step to documentation 2020-10-15 19:35:24 +01:00
Chris Mayo
ffb1d9953c Fix the edit link for the web site front page 2020-10-14 19:28:18 +01:00
Chris Mayo
a5706e233b Publish documentation to the root of gh-pages 2020-10-14 19:22:59 +01:00
Chris Mayo
e91da6a96a
Merge pull request #515 from cjmayo/autopages
Automatically publish documentation on GitHub Pages
2020-10-13 19:39:03 +01:00
Chris Mayo
a585925d43 Automatically publish documentation on GitHub Pages 2020-10-13 19:28:48 +01:00
Chris Mayo
e922dd0224 Stop using biplist
plistlib has supported binary files since Python 3.4.
2020-10-12 19:55:46 +01:00
Chris Mayo
1f6595fee1
Merge pull request #514 from cjmayo/changes
Update changelog and version
2020-10-03 17:35:13 +01:00
Chris Mayo
6fa48359a7
Merge branch 'master' into changes 2020-10-03 17:27:30 +01:00
Chris Mayo
f60ea9e0f3
Merge pull request #512 from cjmayo/aborttimeout
Correct documentation of aborttimeout, no matching option
2020-10-03 17:15:39 +01:00
Chris Mayo
ed948f6a9b Update version to 10.0.0.dev2 2020-10-02 19:12:06 +01:00
Chris Mayo
590dc66a67 Update changelog 2020-10-02 19:12:06 +01:00
Chris Mayo
8bd6584c85 Correct documentation of aborttimeout, no matching option
$ grep -rn aborttimeout linkcheck
linkcheck/configuration/confparse.py:167:        self.read_int_option(section, "aborttimeout", min=1)
linkcheck/configuration/__init__.py:184:        self["aborttimeout"] = 300
linkcheck/director/aggregator.py:173:            timeout=strformat.strduration_long(self.config["aborttimeout"]),
linkcheck/director/aggregator.py:200:        timeout = self.config["aborttimeout"]

config["aborttimeout"] is only set from aborttimeout and is the only
value used by Aggregate.abort().
2020-10-02 19:04:40 +01:00
Chris Mayo
319993bb77 Update missed multiline hyperlinks in German linkcheckerrc(5)
Missed from:
1f600ae1 ("Update German man pages", 2020-09-25)
2020-10-02 19:04:40 +01:00
Chris Mayo
bef8450db0
Merge pull request #509 from cjmayo/hyperlink
Update man pages because of multiline hyperlink
2020-09-28 19:42:20 +01:00
Chris Mayo
1f600ae1c8 Update German man pages 2020-09-25 19:33:15 +01:00
Chris Mayo
26a6ff9259 Run make -C doc locale 2020-09-25 19:33:15 +01:00
Chris Mayo
e875a5f9e5 Assorted German man page translation fixes 2020-09-25 19:33:15 +01:00
Chris Mayo
ee9e00090f Update English man pages because of multiline hyperlinks 2020-09-25 19:33:15 +01:00
Chris Mayo
0920508413
Merge pull request #498 from cjmayo/linkchecker
Tidy linkchecker
2020-09-24 19:31:07 +01:00
Chris Mayo
7ea9cbf056 Don't rely on linkcheck/__init__.py for log aliases in linkchecker 2020-09-24 19:23:13 +01:00