Commit graph

5948 commits

Author SHA1 Message Date
Petr Dlouhý
033f9fbdb3 Python3: mark bytes explicitly 2019-04-09 20:09:35 +01:00
anarcat
9fed380097
Merge pull request #202 from cbaines/mark-more-tests-that-require-the-network
Mark more tests that require the network
2019-01-02 14:34:08 -05:00
Christopher Baines
f24c88a073
Mark more tests that require the network
I believe all these tests require the network, at least they seem to
fail if it's I run them without connecting my computer to the web.

I'm looking at this as part of packaging linkchecker for GNU Guix,
where the package is build and the tests are run in a isolated
environment, intentionally without network access, to avoid issues
with non-reproducible package builds.
2019-01-01 22:37:21 +00:00
Marius Gedminas
e643ed7505
Merge pull request #200 from zawataki/fix-document
Add link to files on repository into documents
2018-11-29 18:44:26 +02:00
Yuki Takizawa
9a34bf6564 Add link to doc/install.txt 2018-11-29 00:01:10 +09:00
Yuki Takizawa
95e57f6aff
Add link to CODE_OF_CONDUCT.md 2018-11-28 22:25:46 +09:00
Marius Gedminas
21429204f3
Merge pull request #198 from yarikoptic/bf-mutex-parse
Mutex around parse
2018-11-22 17:41:42 +02:00
Yaroslav Halchenko
7ed7919692 RF: place parser.flush() under mutex as well
Just a safety measure, not yet proven to be required but overall
makes sense
2018-11-06 10:58:10 -05:00
anarcat
8a9f5fe57b
Merge pull request #197 from anarcat/lower-dep
lower requirements to allow install on older systems
2018-11-03 14:20:10 -04:00
Antoine Beaupré
66c800cd3c
lower requirements to allow install on older systems
PR #196 bumped this to 2.20 to fix a security warning about requests
in our repository, but I believe that warning can be fixed by removing
only the upper bound. This should make backporting linkchecker to
older systems easier, where requests presumably has the 2.20 fix
backported.
2018-11-03 13:14:04 -04:00
Marius Gedminas
9e8dcf4da8
Merge pull request #196 from linkchecker/update-requests
Require a recent Requests version
2018-11-03 15:33:45 +02:00
Marius Gedminas
78ad1c94dd Require a recent Requests version
Requests versions <= 2.19.1 are vulnerable to CVE-2018-18074:

> The Requests package through 2.19.1 before 2018-09-14 for Python sends
> an HTTP Authorization header to an http URI upon receiving a
> same-hostname https-to-http redirect, which makes it easier for remote
> attackers to discover credentials by sniffing the network.

Thank you, GitHub security alerts, for bringing this to my attention.
2018-11-03 10:57:12 +02:00
Yaroslav Halchenko
ee27e178ec BF: place a mutex around apparently thread-unsafe parser.feed invocation
That leads to fix up of anchors analysis and probably other issues
such as floating number of found urls etc
2018-11-01 11:10:01 -04:00
Yaroslav Halchenko
b78c2d200e DOC: minor typo fix 2018-11-01 11:08:09 -04:00
anarcat
3eb7cbfbc8
Merge pull request #191 from cmelchior/cm/bug/test-requirements
Fix test requirements for Mac OS
2018-10-11 10:15:12 -04:00
Christian Melchior
387d78ce3f
List dependencies alphabetically 2018-10-04 11:28:44 +02:00
Christian Melchior
cb624f2066 Fix test requirements 2018-10-04 11:03:02 +02:00
anarcat
b8981d5170
Merge pull request #187 from guttmann/patch-1
Fix Travis badge in README
2018-10-01 15:46:03 -04:00
James Goodman
41c127ad90
Fix Travis badge in README 2018-09-04 08:13:56 +12:00
Marius Gedminas
af3f9d6110
Merge pull request #185 from reagle/patch-1
Update readme
2018-08-24 17:42:50 +03:00
Joseph Reagle
45f7e34eb0
Update readme
As discussed in #183 .
2018-08-23 21:55:04 -04:00
anarcat
c9c541cfb5
Merge pull request #180 from gerdneuman/patch-1
Added whatsapp:// to ignored protocols
2018-08-22 11:05:30 -04:00
anarcat
42748fe187
Merge pull request #181 from gerdneuman/patch-2
Update README to include easy installation instructions for pip
2018-08-15 16:12:53 -04:00
gerdneuman
f346575413
Update README to include easy installation instructions for pip
See https://github.com/linkchecker/linkchecker/issues/4#issuecomment-356449159 I had trouble installing but with `pip install git+https://github.com/linkchecker/linkchecker.git` it is quite easy and at the moment the easiest way imho.
2018-08-09 14:01:36 +02:00
gerdneuman
de6a82b378
Added whatsapp:// to ignored protocols
Fixes https://github.com/wummel/linkchecker/issues/595
2018-08-09 13:49:15 +02:00
anarcat
ad3daf9f1a
Merge pull request #177 from regexaurus/issueurl-regexaurus
Updated support (issues) URL
2018-08-04 11:39:18 -04:00
anarcat
2ec98af99c
Merge pull request #175 from regexaurus/typos-regexaurus
Basic typo correction
2018-08-04 11:38:28 -04:00
regexaurus
db69e54b02 Additional typo correction and URL updates 2018-08-03 01:31:08 -04:00
regexaurus
50a9ff65b8 Updated support (issues) URL 2018-08-03 00:53:47 -04:00
regexaurus
1087744051 Basic typo correction 2018-08-02 12:57:09 -04:00
anarcat
7cbf738e56
Merge pull request #164 from linkchecker/anarcat-patch-2
introduce demotion rules
2018-06-22 10:12:13 -04:00
anarcat
b024aa8bbe
Merge pull request #163 from linkchecker/anarcat-patch-1
add note about missing Windows support
2018-06-22 10:00:53 -04:00
anarcat
9225b26c5a
introduce demotion rules
While reviewing our contribution guidelines in #139, we found we had no formal way of removing disappeared or idle maintainers, at least not explicitly, in the Membership section. This was a problem to get changes done on the contributing document which requires consensus from the maintainers.

This change introduces a way to make changes to the document by using it as a "vote of confidence", in a way: if a change is proposed and an administrator does not respond within a given 1-month delay, the administrator can be demoted down to a regular maintainer and the document approved.

Closes: #139
2018-06-22 09:55:11 -04:00
anarcat
2146b4c031
add note about missing Windows support
Clarify that we don't have good Windows support directly in the README in a naive hope to reduce the number of duplicates.

Closes: #124
See: #53
2018-06-22 09:54:36 -04:00
anarcat
7aaebdeda9
Merge pull request #138 from anarcat/std-contrib
improve contrib guidelines
2018-06-21 09:07:54 -04:00
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
Antoine Beaupré
bd3fd74fdc
move patch section lower
Users are less likely to file patches than issues, so it should have
lower priority. No other change
2018-03-26 10:39:26 -04:00
Antoine Beaupré
9086a93f83
more sync with ecdysis: do not assume we are on github
The idea here is that this guide can be reused by other projects,
which might not be on GitHub. By making the URL pointers more generic,
it makes it easier to change them in one central location.
2018-03-26 09:55:59 -04:00
Antoine Beaupré
688a34f2cd
add positive feedback and security issues to guidelines
Positive feedback allows the community and passers-by to contribute in
a positive way without requiring any technical capabilities: just a
little thank you helps!

Security issues might be handled differently. Explicitely state we
follow responsible disclosure guidelines.

This comes from the ecdysis project.
2018-03-26 09:50:45 -04:00
Antoine Beaupré
ca698de29d
refer to code of conduct externally 2018-03-26 09:41:32 -04:00
Antoine Beaupré
47987c5e00
add github issue template
This will help people provide the right details to reproduce issues in the future, hopefully
2018-03-26 09:35:43 -04:00
Antoine Beaupré
a2a6954b42
split code of conduct and contributing guidelines in two
This ensure the files are in standard locations so that GitHub finds
them. This will hopefully help people provide more detailed bug
reports in the future as well.
2018-03-26 09:35:01 -04:00