Commit graph

5907 commits

Author SHA1 Message Date
anarcat
268bf162c7
Merge pull request #147 from fd0/fix-requirements
Require requests >= 2.4
2018-04-15 13:28:18 -04:00
anarcat
cf05b85ea9
same for setup.py, gah 2018-04-13 14:54:48 -04:00
anarcat
b7774b955d
keep the previous requirements limit 2018-04-13 14:54:16 -04:00
Alexander Neumann
69a566a632 Require requests >= 2.4
This is already in the code in `linkcheck/__init__.py`, update the
requirements and setup file so it can be installed via `pip`.
2018-04-13 19:30:58 +02:00
anarcat
1c7e9d806e
Merge pull request #143 from anarcat/website-links
replace old links on website
2018-04-12 11:03:19 -04:00
Antoine Beaupré
ad46816a85
replace old links on website
point to the new orga at least while we figure out namespace issues

Closes: #112
2018-04-12 09:24:31 -04:00
anarcat
172096de94
Merge pull request #140 from anarcat/ipv6-tests
make tests pass on IPv6 hosts
2018-04-12 08:52:55 -04:00
Antoine Beaupré
afad6c80a2
prepare 9.4.0 release 2018-04-11 19:58:09 -04:00
Antoine Beaupré
ab7502b6ff
make tests pass on IPv6 hosts
Without this patch, tests would fail on IPv6 hosts with this
mysterious error:

```
_______________________________________________________________________ TestHttpMisc.test_html ________________________________________________________________________
tests/checker/test_http_misc.py:30: in test_html
    self.obfuscate_test()
tests/checker/test_http_misc.py:51: in obfuscate_test
    url = u"http://%s/" % iputil.obfuscate_ip(ip)
linkcheck/network/iputil.py:290: in obfuscate_ip
    raise ValueError('Invalid IP value %r' % ip)
E   ValueError: Invalid IP value '2a02:2e0:3fe:1001:7777:772e:2:85'
```

As it turns out, the test host (`www.heise.de`) does have an IPv6
record and our tests pass on Travis only because they do not have a
working IPv6 stack. I happen to have IPv6 at home and tests are broken
here, so add a quick workaround so tests pass again.

Ideally, we would not have to deal with this hack and would handle
"obfuscation" correctly, but I have yet to figure out what that test
actually does before fixing it properly.
2018-04-11 19:42:30 -04:00
anarcat
c992bd7a63
Merge pull request #137 from ruzickap/feature/docker_documentation
Dockerfile fix, Documentation updated
2018-03-25 17:19:33 -04:00
Petr Ruzicka
20c8e9b6cb Dockerfile fix, Documentation updated 2018-03-25 14:01:04 +02:00
anarcat
547596ae85
Merge pull request #131 from ruzickap/feature/add_dockerfile
Adding Dockerfile
2018-03-23 17:30:52 -04:00
Marius Gedminas
54e7326835
Merge pull request #133 from linkcheck/fix-cookies-harder
Load cookies from the --cookiefile correctly
2018-03-16 19:51:11 +02:00
Marius Gedminas
6f55f446ae Load cookies from the --cookiefile correctly
requests.cookies.merge_cookies() requires a dict or a CookieJar as the second argument.
We've been passing lists of Cookie objects instead.

Fixes #62, harder this time.
2018-03-16 13:23:26 +02:00
Marius Gedminas
279e6a2f3a
Merge pull request #132 from linkcheck/fix-cookie-loading
Fix internal error when using cookies
2018-03-16 10:29:33 +02:00
Marius Gedminas
01b5dd619e Regression test for --cookiefile bug 2018-03-16 10:23:04 +02:00
Marius Gedminas
6becc08284 Fix internal error when using cookies
There was some kind of confusion between a module and a function argument,
introduced in commit 90257a1b5e.

Fixes #62.
2018-03-15 23:30:41 +02:00
Petr Ruzicka
524788b53d Adding Dockerfile used by Docker containers which providing isolation from the OS. 2018-03-14 18:18:30 +01:00
anarcat
22449abb91
Merge pull request #126 from PetrDlouhy/tests-linenumbers
Test for linenumbers and other parts of url_data
2018-02-12 14:25:53 -05:00
anarcat
e2f3ae78a3
Merge pull request #121 from PetrDlouhy/tests-parser-divided
Execute parser test by parametrized
2018-02-12 14:25:20 -05:00
anarcat
b3cc3c1911
Merge pull request #123 from PetrDlouhy/python3-easy
Add Python3 support - easiest changes
2018-01-23 14:18:03 -05:00
Petr Dlouhý
e615480850 Python3: fix reading Safari bookmarks 2018-01-19 09:52:43 +01:00
Petr Dlouhý
256202a20b fixes for Python 3: fix proxysuport 2018-01-19 09:52:43 +01:00
Petr Dlouhý
d6f39b4e1a Python3: use file descriptors 2018-01-19 09:52:43 +01:00
Petr Dlouhý
f128c9c168 Python3: fix gzip2 format 2018-01-19 09:52:43 +01:00
Petr Dlouhý
1cdc974e6d Python3: fix prints 2018-01-19 09:52:43 +01:00
Petr Dlouhý
a1b300c892 Python3: fix imports 2018-01-19 09:52:43 +01:00
Petr Dlouhý
c1ab81627e test of correct logging of all parts in url_data 2018-01-14 17:17:07 +01:00
anarcat
b84a2a8c2a
Merge pull request #118 from PetrDlouhy/feature/remove-third-party
Remove third party libraries from repository
2018-01-10 09:43:38 -05:00
Petr Dlouhý
4382215a75 update .travis.yml to test in Pyhon3 in allow-failures mode 2018-01-10 09:37:36 -05:00
Petr Dlouhý
0a13fae3b4 remove third party packages and use them as dependency 2018-01-09 23:25:27 +01:00
Petr Dlouhý
99b18eee6d execude parser test by parametrized 2018-01-09 23:15:09 +01:00
Marius Gedminas
ba60abb3bd
Merge pull request #116 from reinholdfuereder/issue-115-fix-version-warning
Do not fail to mkdir ~/.local/share/linkchecker/plugins when ~/.local/share is missing
2018-01-06 11:33:23 +02:00
Reinhold Füreder
e864bbdabf
Use os.makedirs(...) instead of os.mkdir(...) 2018-01-03 11:33:53 +01:00
Mark Goodhand
87f713ea01 Update README.rst (#109)
* Update README.rst

Discourage use of PyPI until it's been updated to use the new version (#108).
2017-11-10 08:26:13 -05:00
anarcat
4f35861d72
Merge pull request #103 from linkcheck/fix-mo-file-installation
Install .mo files correctly
2017-11-10 08:25:43 -05:00
Marius Gedminas
6cbd0c3782 Install .mo files correctly
Fixes #102.
2017-11-10 15:09:02 +02:00
Philipp Hahn
1368643a50 Fix fragment identifier quoting
According to <https://tools.ietf.org/html/rfc3986>:
 fragment    = *( pchar / "/" / "?" )
 pchar         = unreserved / pct-encoded / sub-delims / ":" / "@"
 unreserved  = ALPHA / DIGIT / "-" / "." / "_" / "~"
 pct-encoded = "%" HEXDIG HEXDIG
 sub-delims  = "!" / "$" / "&" / "'" / "(" / ")" / "*" / "+" / "," / ";" / "="

Fixes #96
2017-11-10 08:03:03 -05:00
anarcat
9838ef78e9
Merge pull request #104 from anarcat/incorrect-warn
fix incorrect call to the logging module (Closes: #847208)
2017-11-06 21:46:11 -05:00
Antoine Beaupré
71be9b941b
fix incorrect call to the logging module (Closes: #847208) 2017-11-03 09:47:01 -04:00
Marius Gedminas
17bd5f5e89 Revert "Install .mo files correctly"
This reverts commit d94bd0ee06.

Reason for reverting: it was committed to master by accident, without
proper code review.
2017-11-02 19:00:00 +02:00
Marius Gedminas
d94bd0ee06 Install .mo files correctly
Fixes #102.
2017-11-02 11:42:12 +02:00
anarcat
6919dc8c4c
Merge pull request #90 from konstin/document-python3
Document missing python 3 compatibility; Fixes #88
2017-10-29 09:50:16 -04:00
konstin
f8967d236f Document missing python 3 compatibility; Fixes #88 2017-10-24 21:20:29 +02:00
anarcat
4e3909dbae Merge pull request #87 from legrostdg/xdg
use xdg dirs for config & data
2017-10-22 11:07:48 -04:00
Félix Sipma
e94fd3b4d8 mention #44 in changelog entry 2017-10-18 16:10:05 +02:00
Félix Sipma
7344a3c40b update changelog 2017-10-18 16:02:56 +02:00
Félix Sipma
c8d9038ae8 improve get_plugin_folders() docstring 2017-10-18 15:58:18 +02:00
Félix Sipma
deca8c667e introduce linkcheck.configuration.get_user_data() 2017-10-18 15:55:55 +02:00
Félix Sipma
0a6661d171 use pyxdg instead of xdg 2017-10-18 12:11:01 +02:00