Chris Mayo
2a77e12618
Replace deprecated Thread.getName() and Condition.notifyAll()
2021-11-16 19:45:38 +00:00
Chris Mayo
500c13e2cb
Log a debug message when a cached URL is skipped
...
Skipping introduced in:
eaa538c8 ("don't check one url multiple times", 2016-11-09)
2020-07-21 19:54:18 +01:00
Chris Mayo
b974ec3262
Review comments on black linkcheck/
2020-06-01 16:07:21 +01:00
Chris Mayo
a92a684ac4
Run black on linkcheck/
2020-05-30 17:01:36 +01:00
Chris Mayo
a15a2833ca
Remove spaces after names in class method definitions
...
And also nested functions.
This is a PEP 8 convention, E211.
2020-05-16 20:19:42 +01:00
Chris Mayo
44e81d27dd
Remove inheriting object
...
All Python 3 classes are new-style.
2020-05-08 10:45:31 +01:00
Chris Mayo
b0ea72e8c1
Remove # -*- coding: lines
...
Except for tests that include non-unicode characters:
tests/test_po.py
tests/test_strformat.py
tests/test_url.py
tests/checker/test_error.py
tests/checker/test_news.py
2020-05-08 10:45:31 +01:00
Yaroslav Halchenko
b78c2d200e
DOC: minor typo fix
2018-11-01 11:08:09 -04:00
Marius Gedminas
4a092c218c
Whitespace bigotry
2017-03-14 17:18:27 +02:00
Petr Dlouhý
eaa538c814
don't check one url multiple times
2017-02-14 10:23:25 +01:00
Bastian Kleineidam
35eb30432e
Added some Python3 fixes.
2014-09-12 19:36:30 +02:00
Bastian Kleineidam
fc73c6ca6e
Log number of checked unique URLs.
2014-03-14 23:46:17 +01:00
Bastian Kleineidam
19b8baf08c
Move cached queue items to top once in a while.
2014-03-14 22:08:51 +01:00
Bastian Kleineidam
b18854649d
Count unique URLs for url queue limit.
2014-03-14 20:21:46 +01:00
Bastian Kleineidam
6b334dc79b
Fix URL result caching.
2014-03-08 19:35:10 +01:00
Bastian Kleineidam
82f81241fd
Check all links and add better caching.
2014-03-03 23:29:45 +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
e5735e2a5d
Fix URL queue handling.
2012-11-08 12:48:21 +01:00
Bastian Kleineidam
bc683577de
Remove URLs from the in_progress cache.
2012-11-08 11:03:16 +01:00
Bastian Kleineidam
eabaa41bd2
Do not check duplicate URLs.
2012-11-06 21:34:22 +01:00
Bastian Kleineidam
8750d55a73
Add configuration entry for maximum number of URLs.
2012-10-14 11:13:55 +02:00
Bastian Kleineidam
60305d8877
Code cleanup.
2012-09-23 21:20:12 +02:00
Bastian Kleineidam
e21187b275
Put in-progress URLs back near the front of URL queue, not at end.
2012-09-23 21:00:01 +02:00
Bastian Kleineidam
21db38546c
Updated copyright.
2012-09-02 23:36:31 +02:00
Bastian Kleineidam
3baaca47a0
Add maximum number of allowed puts on URL queue.
2012-09-02 22:44:29 +02:00
Bastian Kleineidam
d8fce1ceeb
Do not sort URL queue anymore.
2012-09-02 22:32:14 +02:00
Bastian Kleineidam
7a6436f08f
Increase checked cache in URL queue.
2012-09-02 22:21:49 +02:00
Bastian Kleineidam
2dfe62afa2
Updated copyright.
2011-02-14 21:07:07 +01:00
Bastian Kleineidam
c5884b8d87
Add function documentation.
2011-02-14 21:06:34 +01:00
Bastian Kleineidam
017a1087ba
Remove unneeded __future__ import
2010-11-21 10:45:30 +01:00
Bastian Kleineidam
5b5a62f6d5
Updated copyright
2010-03-10 00:05:05 +01:00
Bastian Kleineidam
57e3b05c88
limit cache sizes
2010-03-10 00:00:12 +01:00
Bastian Kleineidam
5e06b6b8d4
Updated FSF address in GPL blurb
2009-07-24 23:58:20 +02:00
calvin
7b489b5897
Allow missing cache keys in the in_progress queue. This occurs when syntax checks already set the result.
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3957 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2009-02-18 15:34:10 +00:00
calvin
e9805dbd8a
Updated copyright year to 2009
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3887 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2009-01-08 14:18:03 +00:00
calvin
3eac1be9ab
Require and use Python 2.5
...
Use Python 2.5 features and get rid of old compat code. Also some
code cleanups have been made.
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3737 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2008-04-27 11:39:21 +00:00
calvin
6499cb1a63
updated copyright year
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3658 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2008-01-02 14:31:19 +00:00
calvin
9cf3314eab
Use constants for warning tags, avoiding typos in string constants. And move the constants into a separate module const.py
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3611 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2007-11-29 07:50:22 +00:00
calvin
df48d4a905
bump up copyright year
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3534 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2007-01-01 14:57:38 +00:00
calvin
bef2494211
remove unused imports
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3482 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-09-24 10:13:59 +00:00
calvin
6f0dbb5058
copy Queue.Queue code, for Python2.5 compatibility
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3371 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-06-13 22:22:29 +00:00
calvin
b442809838
look that cached URLs get checked quickly in large queues
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3315 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-25 11:35:24 +00:00
calvin
49a21901f9
raise correct Empty()
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3288 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-23 18:57:26 +00:00
calvin
a1905bdb22
support timeout in get() method
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3285 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-23 16:33:00 +00:00
calvin
7f408cce19
fix the self.in_progress optimization
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3257 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-18 18:54:41 +00:00
calvin
003532e20f
put in-progress URLs back to the top of the URL queue
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3248 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-18 16:16:19 +00:00
calvin
7c8ab1b6f7
No maximum size due to possible deadlocks.
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3195 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-16 16:14:42 +00:00
calvin
e8bf93bd90
inherit from StandardError, not from Exception
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3194 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-15 22:22:24 +00:00
calvin
b3b45d7f06
add Timeout exception, and return in_progress URLs on status instead of unfinished
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3187 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-15 18:34:30 +00:00
calvin
ffeaa3484e
add debugging
...
git-svn-id: https://linkchecker.svn.sourceforge.net/svnroot/linkchecker/trunk/linkchecker@3177 e7d03fd6-7b0d-0410-9947-9c21f3af8025
2006-05-14 18:03:59 +00:00