Chris Mayo
0faccf2ab3
Merge pull request #752 from cjmayo/deprecated_modules
...
Remove support for nntp and telnet
2023-09-04 19:22:38 +01:00
Chris Mayo
3d630b880f
Merge pull request #751 from cjmayo/wraptext
...
Make TextLogger message wrapping configurable
2023-09-04 19:22:09 +01:00
Chris Mayo
2185f6ee82
Merge pull request #750 from cjmayo/redirected
...
Elevate redirection to a warning tagged http-redirected
2023-09-04 19:21:37 +01:00
Chris Mayo
ad48c7db2c
Make TextLogger message wrapping configurable
2023-08-28 19:30:11 +01:00
Chris Mayo
f5db6f4d53
Replace args.get() in TextLogger
...
Default values are defined in LoggerArgs.
When args.get() was first used LoggerArgs did not exist:
3b5e28ff5 ("Improved log end output: print number of duplicate error and warnings", 2008-06-11)
output_encoding is set in _Logger.__init__().
When this line was introduced the base Logger made utf-8 the default:
01c417c3c ("Default output encoding is now utf-8", 2009-02-18)
but that changed to i18n.default_encoding in:
f0b911b60 ("Use codecs module for proper output encoding.", 2010-11-21)
2023-08-28 19:30:11 +01:00
Chris Mayo
ce4bb7557b
Update IANA schemes
...
telnet was included in:
ccd0d4ead ("Updated the list of unknown or ignored URI schemes.", 2014-03-12)
2023-08-28 19:24:57 +01:00
Chris Mayo
e0b09b0248
Replace % format in scripts/update_iana_uri_schemes.py
2023-08-28 19:24:57 +01:00
Chris Mayo
b3429c4759
Remove support for nntp and telnet
...
Python is dropping nntplib and telnetlib.
2023-08-28 19:24:57 +01:00
Chris Mayo
4d9749c5ba
Log ignored warning messages as info
2023-08-28 19:22:24 +01:00
Chris Mayo
77da1c1b01
Revert "Move ignorewarnings to output section in linkcheckerrc(5)"
...
The section header names are used when parsing linkcheckerrc.
This reverts commit f0b6ddda27 .
2023-08-28 19:22:24 +01:00
Chris Mayo
beaf9399f8
Elevate redirection to a warning tagged http-redirected
...
Include the HTTP status code and reason in the message.
2023-08-28 19:22:24 +01:00
Chris Mayo
f7446043ff
Merge pull request #748 from cjmayo/passenv
...
Pass CI to tox testenv
2023-06-12 19:21:25 +01:00
Chris Mayo
f39f6a7dd9
Pass CI to tox testenv
...
Used since:
1cb7f3d78 ("Test on GitHub with httpbin from a container", 2023-06-05)
2023-06-10 17:31:09 +01:00
Chris Mayo
87f9a9ff11
Merge pull request #747 from cjmayo/importlib
...
Import importlib submodules
2023-06-08 19:19:31 +01:00
Chris Mayo
578205a068
Merge pull request #746 from cjmayo/httpbin
...
Test on GitHub with httpbin from a container
2023-06-08 19:19:11 +01:00
Chris Mayo
09f4feacf1
Import importlib submodules
...
top-level module is imported at the same time.
2023-06-05 19:32:03 +01:00
Chris Mayo
1cb7f3d78a
Test on GitHub with httpbin from a container
...
Avoid failures due to the web service.
2023-06-05 19:30:59 +01:00
Chris Mayo
4d9a39089d
Merge pull request #742 from cjmayo/man-updates
...
Automated man pages and application translations update.
2023-05-15 19:51:09 +01:00
LinkChecker
5bff45c77f
Update application translation catalogs
2023-05-15 18:46:13 +00:00
LinkChecker
f5e0a31f06
Update man pages
2023-05-15 18:46:12 +00:00
LinkChecker
35544ee92c
Update doc translation catalogs
2023-05-15 18:45:52 +00:00
Chris Mayo
6c0f1f336e
Merge pull request #739 from cjmayo/licence
...
Acknowledge project icon from KDE Oxygen Icons
2023-05-15 19:31:13 +01:00
Chris Mayo
1271dc25f0
Merge pull request #737 from cjmayo/modules_info
...
Fix configuration.get_modules_info()
2023-05-15 19:30:42 +01:00
Chris Mayo
12743edff5
Acknowledge project icon from KDE Oxygen Icons
2023-05-11 19:22:36 +01:00
Chris Mayo
9e87bb38e7
Update www.gnu.org links
2023-05-11 19:22:36 +01:00
Chris Mayo
491fa98f71
Fix configuration.get_modules_info()
...
Was running hasattr() on a string.
2023-05-08 19:25:01 +01:00
Chris Mayo
6ada5d9517
Merge pull request #736 from cjmayo/pylint
...
Fix errors found by Pylint
2023-05-08 19:24:03 +01:00
Chris Mayo
e6da68b7f6
Add linting with Pylint to build workflow
2023-05-03 19:24:53 +01:00
Chris Mayo
8820c8c0f0
Revert "Remove check-python-versions that needs setup.py"
...
Supports pyproject.toml since 0.21.
This reverts commit a214531030 .
2023-05-03 19:24:53 +01:00
Chris Mayo
23823779ee
Fix --password option being ignored
...
--password should set options.password to True. store_true also creates
a default value of False.
2023-05-03 19:24:53 +01:00
Chris Mayo
1341ee92bc
Fix errors found by Pylint
...
Remove code for old-style classes:
better_exchook2.py:238:62: E1101: Module 'types' has no 'InstanceType' member (no-member)
Command-line equivalent of 9a33c2a65 ("Make requesting login form password work on Python 3", 2020-04-14):
command/setup_config.py:167:36: E1101: Module 'linkcheck.director.console' has no 'encode' member (no-member)
Add missing argument:
plugins/parseword.py:141:31: E1120: No value for argument 'wrange' in function call (no-value-for-parameter)
2023-05-03 19:24:53 +01:00
Chris Mayo
60c4e7b671
Update configuration.Configuration.sanitize_ssl() docstring
...
Hasn't tried to find LinkChecker cacert.pem since:
a9ab4d847 ("Remove get_share_file()", 2021-12-30)
which hasn't been installed since:
e3ab9024 ("Remove platform-specific installer stuff and ensure a build .whl wheel file can be built.", 2016-01-17)
2023-05-03 19:24:53 +01:00
Chris Mayo
35e2f5a2f6
Merge pull request #735 from cjmayo/ignorewarnings
...
Move ignorewarnings to output section in linkcheckerrc(5)
2023-05-01 19:29:24 +01:00
Chris Mayo
3de691d193
Merge pull request #734 from cjmayo/releases
...
Release Improvements
2023-05-01 19:29:06 +01:00
Chris Mayo
f704f997d5
Add installation with pipx to documentation
2023-05-01 19:24:55 +01:00
Chris Mayo
75996718de
Publish release to PyPI
2023-05-01 19:24:55 +01:00
Chris Mayo
5a1b7e1051
Don't need git to install from GitHub
...
Since:
98d32a11a ("Re-enable support for installing git archives", 2023-01-17)
2023-05-01 19:24:55 +01:00
Chris Mayo
b5a290e98e
Use Coveralls GitHub Action
...
Python package stopped working.
2023-05-01 19:24:55 +01:00
Chris Mayo
f0b6ddda27
Move ignorewarnings to output section in linkcheckerrc(5)
...
As per ignoreerrors, this is not filtering.
2023-04-25 19:31:39 +01:00
Chris Mayo
6ac5ed4d57
Merge pull request #733 from cjmayo/currentThread
...
Replace deprecated threading.currentThread()
2023-04-25 19:21:58 +01:00
Chris Mayo
2987a588be
Merge pull request #732 from cjmayo/ftp
...
Fix FTP checker
2023-04-25 19:21:09 +01:00
Chris Mayo
99c77b2b27
Replace deprecated threading.currentThread()
2023-04-17 19:28:14 +01:00
Chris Mayo
4b06485a05
Fix FTP checker
...
In Python 2 StringIO could accept either Unicode or 8-bit strings.
Similar change made for HttpUrl:
06fdd78f9 ("Python3: fix TypeError in HttpUrl.read_content()",
2019-09-15)
Non-existent FtpUrl.max_size introduced in:
7b34be590 ("Introduce check plugins, use Python requests for http/s
connections, and some code cleanups and improvements.", 2014-03-01)
Additional self.direct() not added in:
f107092a8 ("Fix handling of user/password info in URLs.", 2012-06-10)
2023-04-17 19:24:22 +01:00
Chris Mayo
4433556915
Make checker.get_index_html() return bytes
...
Shared with FtpUrl.read_content().
2023-04-17 19:24:22 +01:00
Chris Mayo
1fcc0e2b4c
Add FTP tests for listing and download
2023-04-17 19:24:22 +01:00
Chris Mayo
a7b9ac42be
Fail on internal errors in LinkCheckTest.direct()
...
Copied from LinkCheckTest.file_test().
2023-04-17 19:24:22 +01:00
Chris Mayo
054a583b79
Merge pull request #726 from hroncok/patch-1
...
There is no LICENSE file, just COPYING
2023-03-09 19:25:36 +00:00
Miro Hrončok
6fbaff7b79
There is no LICENSE file, just COPYING
2023-03-09 15:42:43 +01:00
Chris Mayo
05bf593fdc
Merge pull request #722 from cjmayo/replace_cgi
...
Replace deprecated cgi module in loginurl tests
2023-01-30 19:36:56 +00:00
Chris Mayo
c055c4f52b
Merge pull request #721 from cjmayo/build
...
Set permissions for build workflow
2023-01-30 19:36:36 +00:00