Commit graph

514 commits

Author SHA1 Message Date
Miro Hrončok
ff5ebbae69 Require beautifulsoup4 instead of bs4
bs4 is a dummy package managed by the developer of Beautiful Soup to prevent
name squatting. The official name of PyPI’s Beautiful Soup Python package is
beautifulsoup4. The bs4 package ensures that if you type pip install bs4 by
mistake you will end up with Beautiful Soup.

However, for requirements, it's cleaner to use the proper name.
For downstream packaging in Fedora, this avoids the need of packaging
the dummy package.
2020-02-06 10:05:13 +01:00
Chris Mayo
c7a32d67fe Remove unused code from network subpackage 2019-10-19 10:27:34 +01:00
Chris Mayo
5fc01455b7 Decode content when retrieved, use bs4 to detect encoding if non-Unicode
UrlBase has been modified as follows:
- the "data" variable now holds bytes
- decoded content is stored in a new variable "text"
- functionality from get_content() has been split out into
  get_raw_content() which returns "data" and download_content() which
  calls read_content() and sets the download related variables.
  This allows for subclasses to do their own decoding and parsers to
  use bytes.
2019-09-30 19:46:24 +01:00
EsuS
004632a99b Update references to GitHub project from wummel to linkchecker
Remove all mention of donations.
2019-04-18 19:59:52 +01:00
Petr Dlouhý
174a059ab5 Python3: add future to requirements 2019-04-09 20:09:35 +01: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
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
anarcat
cf05b85ea9
same for setup.py, gah 2018-04-13 14:54:48 -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
Antoine Beaupré
afad6c80a2
prepare 9.4.0 release 2018-04-11 19:58:09 -04:00
Petr Dlouhý
0a13fae3b4 remove third party packages and use them as dependency 2018-01-09 23:25:27 +01:00
Marius Gedminas
6cbd0c3782 Install .mo files correctly
Fixes #102.
2017-11-10 15:09:02 +02: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
Félix Sipma
0a6661d171 use pyxdg instead of xdg 2017-10-18 12:11:01 +02:00
Félix Sipma
a03e2e4ada use xdg dirs for config & data
~/.linkchecker is used instead of the xdg equivalents if the directory
exists (backward compatibility).
2017-10-17 18:48:07 +02:00
Eugene Yaremenko
9320d595f2 Temporary fix
Linkchecker doesn't work with the latest requests
2017-06-24 22:09:49 +03:00
Marius Gedminas
81673ff1fc Add install_requires for setuptools
This makes 'pip install' install everything that's needed for
LinkChecker to actually work.

Fixes #12.
2017-02-01 17:55:21 +02:00
Antoine Beaupré
d51b7f34b6 Merge branch '9.3.x' 2017-01-31 19:21:22 -05:00
Antoine Beaupré
26e5270abb bump version 2017-01-31 12:00:13 -05:00
Robin Winslow
e62e630e60 Fix setup.py 2017-01-31 11:58:33 -05:00
Bastian Kleineidam
0ef00eea56 Move GUI files to separate project 2016-01-23 13:28:15 +01:00
Bastian Kleineidam
e3ab90246d Remove platform-specific installer stuff and ensure a build .whl wheel file can be built. 2016-01-17 09:05:21 +01:00
Bastian Kleineidam
35eb30432e Added some Python3 fixes. 2014-09-12 19:36:30 +02:00
Bastian Kleineidam
9c3739f1c9 Replace msgfmt.py with local tools. 2014-09-08 18:25:03 +02:00
Bastian Kleineidam
9c00531e71 Bump up version. 2014-08-06 20:01:17 +02:00
Bastian Kleineidam
032c4091c3 Some easy python3 compatibility changes. 2014-07-15 18:40:47 +02:00
Bastian Kleineidam
90257a1b5e Replace twill with custom code. 2014-07-15 18:37:05 +02:00
Bastian Kleineidam
64da7f0c36 Use README.rst as long description in setup.py. 2014-07-01 20:14:48 +02:00
Bastian Kleineidam
0c38c4905d Bump up version. 2014-04-28 18:15:49 +02:00
Bastian Kleineidam
237db49765 Remove unused import. 2014-04-23 22:18:59 +02:00
Bastian Kleineidam
6b9afd31f9 Do not force lowercase register name. 2014-04-23 22:06:20 +02:00
Bastian Kleineidam
bce21e8c51 py2app should work, remove comment about it being broken 2014-04-21 23:54:39 +02:00
Marius Gedminas
5155e06918 Specify dependencies in setup.py
Without this people can `pip install linkchecker` (assuming they work
around #500 with `--allow-unverified=linkchecker`) and get a program
that fails with an ImportError.
2014-04-17 13:56:47 +03:00
Bastian Kleineidam
9e91471f66 Bump up version. 2014-04-09 19:44:18 +02:00
Bastian Kleineidam
a7c57394e9 Use correct dirname for cacert.pem 2014-03-10 22:41:05 +01:00
Bastian Kleineidam
41d07729bb Install certificate store with installers. 2014-03-10 22:34:37 +01:00
Bastian Kleineidam
887a814d42 Fix osx build. 2014-03-08 19:35:19 +01:00
Bastian Kleineidam
c0e54589b5 Fix non-osx builds again. 2014-03-05 20:52:56 +01:00
Bastian Kleineidam
c6a221d421 Define HAVE_STRLCPY and HAVE_STRLCAT to fix build error on osx 2014-03-05 20:22:32 +01:00
Bastian Kleineidam
b96e3d08c1 Bump up version. 2014-03-05 19:27:39 +01:00
Bastian Kleineidam
182f89d57f Remove unused certificate copy. 2014-03-04 22:10:24 +01:00
Bastian Kleineidam
cf30efe60e Remove nagios stuff 2014-03-04 21:42:50 +01:00
Bastian Kleineidam
7b34be590b Introduce check plugins, use Python requests for http/s connections, and some code cleanups and improvements. 2014-03-01 00:12:34 +01:00
Bastian Kleineidam
adc17fbe77 Bump up version 2014-01-16 08:42:34 +01:00
Bastian Kleineidam
c806be5c15 Updated copyright 2014-01-08 22:33:04 +01:00
Bastian Kleineidam
09a2243546 Add missing logger classes for installers. 2014-01-08 22:25:44 +01:00
Bastian Kleineidam
0b8e22648d Bump up version. 2013-12-24 07:17:49 +01:00
Bastian Kleineidam
eafbdb92ed Improved function doc 2013-12-18 20:59:35 +01:00
Bastian Kleineidam
7c6c7b84c1 Add DNS path for py2app installer. 2013-12-13 20:37:16 +01:00