Commit graph

7155 commits

Author SHA1 Message Date
Chris Mayo
b6e2b4a0de Add Python 3.13 to supported versions 2024-08-21 19:34:37 +01:00
Chris Mayo
e095258856 Revert "Replace deprecated importlib.resources.path()"
importlib.resources.path() was undeprecated.

https://docs.python.org/3.13/whatsnew/3.13.html#importlib

This reverts commit f390b7da33.
2024-08-21 19:34:37 +01:00
Chris Mayo
ecfd35b9e9 Fix TestFile.test_markdown on Python 3.12.5
mime type mapping for markdown was added.

https://docs.python.org/3.12/whatsnew/changelog.html#id3
2024-08-21 19:34:37 +01:00
Chris Mayo
84b26b2da5 Test with Python 3.13 2024-08-21 19:34:37 +01:00
Chris Mayo
f9ef0fc9a8
Merge pull request #824 from JanMalte/patch-2
fix: rename Vater to Eltern in german translation
2024-06-11 19:25:23 +01:00
Jan Malte Gerth
f51be1800d
fix: rename Vater to Eltern in german translation 2024-06-09 14:14:02 +02:00
Marius Gedminas
6bfea133bc
Merge pull request #822 from linkchecker/pylint-errors
Fix pylint errors (false positives)
2024-05-21 10:11:26 +03:00
Marius Gedminas
b5fa5054c9 Fix pylint errors (false positives)
The errors were

    ************* Module linkcheck.ansicolor
    linkcheck/ansicolor.py:190:21: E0606: Possibly using variable 'WinColor' before assignment (possibly-used-before-assignment)
    ************* Module linkcheck.plugins.locationinfo
    linkcheck/plugins/locationinfo.py:107:12: E0606: Possibly using variable 'geoip_error' before assignment (possibly-used-before-assignment)

and while it's true that the variables (WinColor, geoip_error) are
assigned conditionally, their use is protected (indirectly) by the same
conditionals.
2024-05-20 14:10:30 +03:00
Chris Mayo
06d662a677
Merge pull request #819 from cjmayo/ref-names
Remove ref-names from .git_archival.txt
2024-04-22 19:34:16 +01:00
Chris Mayo
8c392d917c Remove ref-names from .git_archival.txt
Can cause differences in the archive generated for a tagged commit
when subsequent commits have been made to the repository.
2024-04-22 19:31:57 +01:00
Chris Mayo
c019013ebd
Merge pull request #820 from cjmayo/coverage
Fix coverage results upload to Coveralls
2024-04-22 19:29:54 +01:00
Chris Mayo
fad8e0afa5 Fix coverage results upload to Coveralls
As seen with coverage-reporter v0.6.10:

Detected coverage file: .coverage
Coverage reporter does not yet know how to process this file: .coverage
2024-04-22 19:22:52 +01:00
Chris Mayo
10f1178912
Merge pull request #809 from cjmayo/node20
Update Actions
2024-03-22 19:36:16 +00:00
Chris Mayo
46d7d78dd6 Preserve Docker images of releases
Use "delete-only-untagged-versions" and stop tagging non-release images.
2024-03-22 19:28:27 +00:00
Chris Mayo
9dadf285a1 Suppress progress output from actions/checkout 2024-03-22 19:28:27 +00:00
Chris Mayo
10530e5a26 Update Actions to Node 20 versions 2024-03-22 19:28:27 +00:00
Chris Mayo
1c83056f02 Add version to Coveralls Action 2024-03-22 19:28:27 +00:00
Chris Mayo
640b9f6483
Merge pull request #808 from cjmayo/actions_deploy-pages
Use actions/deploy-pages to publish to GitHub Pages
2024-03-21 19:27:26 +00:00
Chris Mayo
70e55ac122 Use actions/deploy-pages to publish to GitHub Pages
gh-pages branch is no longer used.
2024-03-21 19:24:06 +00:00
Chris Mayo
91aee31744
Merge pull request #807 from cjmayo/test_ignoreerrors
Fix test_ignoreerrors test_internet failure
2024-03-19 19:29:45 +00:00
Chris Mayo
ea0b2369f1 Rename test_ignoreerrors.TestFile 2024-03-19 19:21:29 +00:00
Chris Mayo
f1307c9f52 Fix test_ignoreerrors test_internet failure
example.com is returning HTTP code 500.
2024-03-19 19:21:29 +00:00
Chris Mayo
54be64c1e2
Merge pull request #806 from cjmayo/cryptography-42
Resolve CryptographyDeprecationWarning for not_valid_after
2024-03-18 19:21:28 +00:00
Chris Mayo
fcf0cd0a80 Resolve CryptographyDeprecationWarning for not_valid_after
linkchecker/linkcheck/httputil.py:31: CryptographyDeprecationWarning:
Properties that return a naïve datetime object have been deprecated. Please switch to not_valid_after_utc.
2024-03-11 19:33:47 +00:00
Chris Mayo
b80aadbad6
Merge pull request #805 from cjmayo/bold
Use bold for referenced options and LinkChecker HTTP header in linkcheckerrc(5)
2024-02-26 19:34:23 +00:00
Chris Mayo
7684a22261 Make LinkChecker HTTP header bold in linkcheckerrc(5) 2024-02-26 19:28:11 +00:00
Chris Mayo
c7621d80a4 Make referenced options bold in WARNINGS in linkcheckerrc(5) 2024-02-26 19:28:11 +00:00
Chris Mayo
6d410673ed
Merge pull request #801 from cjmayo/w3conline
Update CssSyntaxCheck and HtmlSyntaxCheck documentation
2024-02-26 19:27:34 +00:00
Chris Mayo
ffe4a83b88 Document CssSyntaxCheck checks stylesheets 2024-02-26 19:24:07 +00:00
Chris Mayo
faa570f45c Document CssSyntaxCheck and HtmlSyntaxCheck submit URLs 2024-02-26 19:24:07 +00:00
Chris Mayo
64e5cc1083
Merge pull request #799 from cjmayo/ignoreerrors
Remove space from ignoreerrors example in linkcheckerrc
2024-02-26 19:22:36 +00:00
Chris Mayo
907d97755c Remove space from ignoreerrors example in linkcheckerrc
Was not matching "Error: SSLError: ...".
2024-02-15 19:33:47 +00:00
Chris Mayo
156f987ac6
Merge pull request #798 from cjmayo/advertencia
Fix Spanish translation of warning
2024-02-13 19:49:36 +00:00
Chris Mayo
ed31e097ab Fix Spanish translation of warning 2024-02-13 19:46:42 +00:00
nodet
28f6743778
Add ignorewarningsforurls to ignore specific warnings (#794)
We want to allow specifying a warning to ignore for
each URL. If no regex is specified for the warning to ignore,
we'll ignore all warnings.

The tests still pass as they are, which means that unknown
values in the configuration file are simply ignored.

* [#782] Add values to configuration file

* [#782] Parse new configuration values

* [#782] Actually ignore a warning

* [#782] Confirm side cases work as expected

* [#782] Add logging when deciding to ignore warnings

* [#782] Documentation for ignorewarningsforurls

* [#782] Update (generated) man pages

* [#782] These tests pass without network, actually

* [#782] Fix copy/paste error in symbol naming

* [#782] The regex matches the name of the warning, not the message

* [#782] Better wording

* [#782] Update (generated) man pages

* [#782] We match the type, not the message
2024-02-13 19:43:29 +00:00
Chris Mayo
12e47c9877
Merge pull request #780 from cjmayo/no-sigstore
Stop generating Sigstore signatures on release
2023-12-11 19:46:50 +00:00
Chris Mayo
0a5a615c5d Stop generating Sigstore signatures on release
Failing to complete.
2023-12-11 19:44:17 +00:00
Chris Mayo
08e6ef91d9
Merge pull request #777 from cjmayo/rel104
Release 10.4.0
2023-12-11 19:33:11 +00:00
Chris Mayo
829dae8652
Merge pull request #779 from cjmayo/docker312
Update Docker image to Python 3.12
2023-12-11 19:32:22 +00:00
Chris Mayo
b372116cbe
Merge pull request #776 from cjmayo/man-updates
Update man pages and translation catalogs
2023-12-11 19:28:05 +00:00
Chris Mayo
cc1054c568 Update Docker image to Python 3.12 2023-12-11 19:26:59 +00:00
Chris Mayo
10adf4c8a1 Documentation for release 10.4.0 2023-12-04 19:25:01 +00:00
Chris Mayo
042aa2c915 Update IANA schemes 2023-12-04 19:25:01 +00:00
Chris Mayo
f64dd7b06e Fix SslCertificateCheck.__init__() docstring 2023-12-04 19:25:01 +00:00
LinkChecker
ad2168f242 Update application translation catalogs 2023-12-04 19:24:38 +00:00
LinkChecker
1578393a14 Update man pages 2023-12-04 19:24:38 +00:00
LinkChecker
6df0338e39 Update doc translation catalogs 2023-12-04 19:24:25 +00:00
Chris Mayo
268799ee0f
Merge pull request #770 from cjmayo/py39 2023-12-04 19:22:05 +00:00
Chris Mayo
33b21e4bcd Avoid deprecated use of floats with ngettext
tests/test_cgi.py::TestWsgi::test_application
  linkcheck/strformat.py:190: DeprecationWarning: Plural value must be an integer, got float
    time_str.append(_n(single, plural, unit) % unit)
2023-11-27 19:22:08 +00:00
Chris Mayo
f390b7da33 Replace deprecated importlib.resources.path() 2023-11-27 19:22:08 +00:00