Commit graph

2364 commits

Author SHA1 Message Date
Bastian Kleineidam
836e8a700d Print detected modules information. 2011-04-14 12:20:56 +02:00
Bastian Kleineidam
d74523500a Add version info of used modules to GUI about page. 2011-04-14 10:03:59 +02:00
Bastian Kleineidam
7365170564 Updated copyright. 2011-04-12 09:13:39 +02:00
Bastian Kleineidam
42ed4350de Use Qt Macintosh widgte style on OS X systems. 2011-04-12 08:55:25 +02:00
Bastian Kleineidam
e3fb40f753 Fix internal error handling in non-main threads. 2011-04-12 08:31:10 +02:00
Bastian Kleineidam
2493684604 Also send Cache-Control header to prevent caching. 2011-04-10 11:03:20 +02:00
Bastian Kleineidam
d915b17498 Prevent getting cached answers for version update check. 2011-04-10 10:57:56 +02:00
Bastian Kleineidam
02b54d804c Allow additional headers for url.get_content(). 2011-04-10 10:57:28 +02:00
Bastian Kleineidam
84f6d56a49 Print level in loggers xml, csv and sql. 2011-04-09 10:51:03 +02:00
Bastian Kleineidam
c0732e3d37 Do not print empty country information. 2011-04-06 17:22:48 +02:00
Bastian Kleineidam
ef499d5cf2 Write statistics when saving result files in the GUI. 2011-04-06 14:31:58 +02:00
Bastian Kleineidam
b9c9dda9b3 Correctly encode CSV output. 2011-04-06 12:54:58 +02:00
Bastian Kleineidam
40cad4e468 Add detailed locale info to internal error output. 2011-04-06 11:56:55 +02:00
Bastian Kleineidam
c3b3027c6d Only output configured parts in CSV logger. 2011-04-06 11:12:05 +02:00
Bastian Kleineidam
520b417855 Added CSV output type in the GUI for results. 2011-04-04 18:58:20 +02:00
Bastian Kleineidam
b465542388 Fix display of warnings in GUI pane. 2011-04-02 14:07:57 +02:00
Bastian Kleineidam
8b2fa88f18 Print gconf errors only in debug mode. 2011-03-25 13:34:48 +01:00
Bastian Kleineidam
53205cbe20 Added documentation to getText() function. 2011-03-21 16:48:09 +01:00
Bastian Kleineidam
cdb00e9ef8 Do not write empty tag attributes. 2011-03-21 16:07:45 +01:00
Bastian Kleineidam
3e6de5213c Updated copyright 2011-03-21 15:23:40 +01:00
Bastian Kleineidam
ec8e529406 Cleanup new get_encoded_writer() function. 2011-03-21 13:17:12 +01:00
Bastian Kleineidam
c1eb8d85e9 Use new get_encoded_writer() function. 2011-03-21 13:16:43 +01:00
Bastian Kleineidam
847d740e37 Move get_stdout_writer() to i18n module and allow the make sys.stdout a function argument. 2011-03-21 13:11:32 +01:00
Bastian Kleineidam
e7bd7ab667 Reword the internal error message for other clients than commandline. 2011-03-21 12:35:36 +01:00
Bastian Kleineidam
7770153b55 Remove send button. 2011-03-21 12:32:20 +01:00
Bastian Kleineidam
e8274ef4ab Add getText() method. 2011-03-21 12:32:00 +01:00
Bastian Kleineidam
48c3343e8b Make sure all internal error output is printed to given output stream. Also add ability to pass traceback information directly. 2011-03-21 11:34:46 +01:00
Bastian Kleineidam
2c61e8db49 Fix File->Save results command. 2011-03-19 17:02:15 +01:00
Bastian Kleineidam
da58546e6d Really read user and system configuration file. 2011-03-17 17:02:51 +01:00
Bastian Kleineidam
671de9774e Fix for previous commit adding warnings tags. 2011-03-17 16:47:39 +01:00
Bastian Kleineidam
d60ae7911b Regenerate GUI dialogs with newer Qt. 2011-03-16 18:07:18 +01:00
Bastian Kleineidam
a427bc10c1 Added send button to debug dialog. 2011-03-16 18:06:47 +01:00
Bastian Kleineidam
82e5ba8ce6 Add warning tag attribute in XML loggers. 2011-03-15 13:42:21 +01:00
Bastian Kleineidam
f4f921384e Updated copyright 2011-03-13 07:52:18 +01:00
Bastian Kleineidam
502430489a Add url2pathname workaround for Windows. 2011-03-12 16:33:48 +01:00
Bastian Kleineidam
77f207b69a Use sys.stdout wrapper for CGI output. 2011-03-12 09:02:29 +01:00
Bastian Kleineidam
8da37a32ee Refactor sys.stdout wrapping into a function. 2011-03-11 20:05:27 +01:00
Bastian Kleineidam
64a488aaf3 Added copyright and license information. 2011-03-11 18:03:14 +01:00
Bastian Kleineidam
415c87e6cf Work around a urlsplit() regression in Python >2.6 2011-03-11 15:18:21 +01:00
Bastian Kleineidam
7b33cfac7b Use stripped URL base constructing absolute URL. 2011-03-11 15:17:36 +01:00
Bastian Kleineidam
4ee62863e5 Recognize PHP files as HTML files on Windows. 2011-03-11 13:30:34 +01:00
Bastian Kleineidam
78ea8d5594 Remove unnecessary call to url2pathname(). 2011-03-11 12:28:33 +01:00
Bastian Kleineidam
ae109ed994 Correct conversion between URL and filename paths. 2011-03-11 10:38:17 +01:00
Bastian Kleineidam
c6d2eab46c Prevent false positives when detecting file type of certain archive files. 2011-03-10 13:13:25 +01:00
Bastian Kleineidam
c3bc16cde7 Added blank line before each URL output. 2011-03-10 10:51:44 +01:00
Bastian Kleineidam
8e0fe33edb Improved error handling for proxy configuration functions. 2011-03-10 09:34:42 +01:00
Bastian Kleineidam
2c53507097 Improved logging documentation. 2011-03-09 12:08:03 +01:00
Bastian Kleineidam
31d4f04fd2 Support reading GNOME and KDE proxy settings. 2011-03-09 10:49:18 +01:00
Bastian Kleineidam
a06f354837 Add distutils find_executable to fileutils. 2011-03-09 10:47:38 +01:00
Bastian Kleineidam
f2f05af3dc Strip embedded whitespace from URLs given at the commandline or the GUI. 2011-03-07 12:54:35 +01:00
Bastian Kleineidam
420c21c2de Strip leading and trailing whitespace from URLs. 2011-03-07 12:33:09 +01:00
Bastian Kleineidam
21e4824f65 Fix typo calling get_temp_file() function. 2011-03-07 09:57:40 +01:00
Bastian Kleineidam
de5d1757f0 Add workaround for buggy IIS HEAD support. 2011-02-24 11:12:59 +01:00
Bastian Kleineidam
2227812b24 Documentation update. 2011-02-20 11:12:14 +01:00
Bastian Kleineidam
68a8de58d1 Deprecate the --interactive commandline option. 2011-02-20 11:05:29 +01:00
Bastian Kleineidam
c89bd05651 Remove unused variables and imports. 2011-02-19 11:46:20 +01:00
Bastian Kleineidam
8ced5582aa Fix cancelation in GUI. 2011-02-19 09:02:52 +01:00
Bastian Kleineidam
2ec312301e Fix linkcheck.dns py2exe packaging. 2011-02-18 17:26:00 +01:00
Bastian Kleineidam
97ef8ed204 Deprecated --allow-root and always drop privileges. 2011-02-18 15:32:21 +01:00
Bastian Kleineidam
a493a3ded1 Deprecate the --priority option. 2011-02-18 14:53:32 +01:00
Bastian Kleineidam
982e13d193 Improved thread lock handling. 2011-02-18 14:49:53 +01:00
Bastian Kleineidam
2d55c87429 Make sure ignore URL patterns take precedence over nofollow URL patterns. 2011-02-18 07:47:22 +01:00
Bastian Kleineidam
eaa2b79bc3 Updated documentation. 2011-02-17 19:59:02 +01:00
Bastian Kleineidam
e638a2fe6d Updated copyright and translations. Added some missing docstrings. 2011-02-17 07:38:02 +01:00
Bastian Kleineidam
644c72605e Disable bookmark menu entries if file not found. 2011-02-16 07:36:57 +01:00
Bastian Kleineidam
ea6ad52139 Fix Google Chrome profile dir. 2011-02-15 19:49:52 +01:00
Bastian Kleineidam
8ba5f51e8c Fix Google Chrome profile dir. 2011-02-15 19:39:14 +01:00
Bastian Kleineidam
cbe6089b4e Added ShellFolder registry utility function. 2011-02-15 19:38:42 +01:00
Bastian Kleineidam
743e4a9d5d Fix Opera profile directory. 2011-02-15 19:38:26 +01:00
Bastian Kleineidam
3dc513a88d Added context menu entry for Opera bookmark files. 2011-02-15 18:52:41 +01:00
Bastian Kleineidam
6906c2b136 Add Google Chrome bookmark context menu entry. 2011-02-15 18:37:44 +01:00
Bastian Kleineidam
0d4377d1ba Support Google Chrome Bookmark files. 2011-02-15 18:26:00 +01:00
Bastian Kleineidam
25b6dc2e57 Refactor bookmark parsing code into own package. 2011-02-15 17:31:42 +01: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
0589933b97 Reuse connections more than once. 2011-02-14 20:28:38 +01:00
Bastian Kleineidam
85f3690068 Updated copyright. 2011-02-11 14:00:31 +01:00
Bastian Kleineidam
1fada7f316 Do not view parent source of FTP directories. 2011-02-11 12:43:15 +01:00
Bastian Kleineidam
db6a3669b3 Correctly detect empty FTP paths as directories. 2011-02-11 12:35:53 +01:00
Bastian Kleineidam
37b09d7e15 Disable view of parent source if it is a parent directory. 2011-02-11 10:28:48 +01:00
Bastian Kleineidam
042a77d79e Remove old context menu action. 2011-02-11 10:18:36 +01:00
Bastian Kleineidam
1817f9da3e Add donation menu entry. 2011-02-10 12:40:38 +01:00
Bastian Kleineidam
a24ced8b9a Check for existance of local files, including directories. 2011-02-09 08:50:36 +01:00
Bastian Kleineidam
362c7a1d9d Preselect filename on save dialog when editing file:// URLs. 2011-02-09 08:46:09 +01:00
Bastian Kleineidam
8fc3856782 Use Alt-key shortcuts for menu entries. 2011-02-09 07:42:47 +01:00
Bastian Kleineidam
dc405a43d1 Code cleanup. 2011-02-09 07:42:36 +01:00
Bastian Kleineidam
2b2187d660 Use Alt-key shortcuts for menu entries. 2011-02-09 07:32:28 +01:00
Bastian Kleineidam
4a0c63aa56 Fix joining of URLs when parent URL has CGI parameter. 2011-02-08 21:25:55 +01:00
Bastian Kleineidam
48e4bd8bfd Updated copyright 2011-02-06 09:50:48 +01:00
Bastian Kleineidam
e8a011c538 Improved GUI labels for URL statistics. 2011-02-01 07:36:01 +01:00
Bastian Kleineidam
6f33956860 Detect local or development version in update check. 2011-01-31 09:57:22 +01:00
Bastian Kleineidam
8473bfee96 Properly detect missing IPv6 protocol support. 2011-01-29 11:35:06 +01:00
Bastian Kleineidam
3303a3697d Fix Geoip error message when only country DB is installed. 2011-01-11 10:16:57 -06:00
Bastian Kleineidam
eaf3ca0d89 Set codec error policy on StreamWriter for stdout. 2011-01-09 13:57:14 -06:00
Bastian Kleineidam
815f8ce29e Remove unused import. 2011-01-09 09:55:30 -06:00
Bastian Kleineidam
71b15b70f4 Updated copyright 2011-01-06 09:59:57 +01:00
Bastian Kleineidam
5f70b7210f Add tempfile utility function. 2011-01-06 09:52:11 +01:00
Bastian Kleineidam
3c48c04b1c Updated copyright and remove unused imports. 2011-01-06 09:38:32 +01:00
Bastian Kleineidam
689624ec16 Fix update check. 2011-01-04 23:34:34 +01:00
Bastian Kleineidam
066c57ffe3 Update copyright and german translation. 2011-01-04 20:44:07 +01:00
Bastian Kleineidam
aa7de751a6 Make update check in background thread. 2011-01-04 20:33:47 +01:00
Bastian Kleineidam
25ee6d0980 Added update check to GUI. 2011-01-04 19:45:43 +01:00
Bastian Kleineidam
74ccd2838b Added update detection functions. 2011-01-04 19:15:56 +01:00
Bastian Kleineidam
13e1a522ed Remove reset button from options dialog. 2011-01-01 10:39:44 +01:00
Bastian Kleineidam
d011d1524c Parse PHP files recursively. 2010-12-28 17:11:29 +01:00
Bastian Kleineidam
5a50b024d5 Updated copyright 2010-12-23 19:48:54 +01:00
Bastian Kleineidam
0aa15a3e83 Rename Ok button to Close. 2010-12-23 19:47:54 +01:00
Bastian Kleineidam
fd3fe8dcaa Fix missing content types for cached URLs. 2010-12-23 07:37:36 +01:00
Bastian Kleineidam
2a4b60de4d Remove unused imports. 2010-12-22 13:06:24 +01:00
Bastian Kleineidam
84e4e3b28a Fix regression from last commit in this file. 2010-12-22 13:06:10 +01:00
Bastian Kleineidam
e6ccd71ae1 Improved statistics output. 2010-12-22 13:05:32 +01:00
Bastian Kleineidam
0d8a583e39 Fix internal pattern for file URLs (regression from commit 90e0f4e) 2010-12-21 21:10:31 +01:00
Bastian Kleineidam
6090e1a66c Print anchor in __str__() 2010-12-21 20:55:49 +01:00
Bastian Kleineidam
1ebd4d1fc4 Simplify code. 2010-12-21 20:55:35 +01:00
Bastian Kleineidam
90e0f4e5cc Detect filenames with spaces as internal links. 2010-12-21 07:05:12 +01:00
Bastian Kleineidam
9ea35241c0 Set correct scheme on file links. 2010-12-21 01:23:50 +01:00
Bastian Kleineidam
06ec8e6389 Reset GUI statistics before each check run. 2010-12-21 00:35:07 +01:00
Bastian Kleineidam
128f8eb6e4 Move firefox routines to firefox module. 2010-12-21 00:02:12 +01:00
Bastian Kleineidam
1db239cb06 Add missing variable. 2010-12-20 23:55:29 +01:00
Bastian Kleineidam
5855312e2d Find Firefox bookmark file. 2010-12-20 23:52:57 +01:00
Bastian Kleineidam
fad1a110c4 Generalize the unicode_safe function encoding. 2010-12-20 23:44:28 +01:00
Bastian Kleineidam
67df470127 Write different text parts in single write() calls. 2010-12-20 23:44:13 +01:00
Bastian Kleineidam
a9b6c10cd5 Fix unicode errors when writing to sys.stdout. 2010-12-20 23:43:37 +01:00
Bastian Kleineidam
7c08290c44 Fix broken anchor checking. 2010-12-20 19:55:26 +01:00
Bastian Kleineidam
ed75de6005 Apply patch against denial-of-service attack from Python 2.7 upstream branch. 2010-12-19 16:55:22 +01:00
Bastian Kleineidam
6931f665b2 Fix clearing of URL name property. 2010-12-19 15:05:52 +01:00
Bastian Kleineidam
427b878834 Updated translation and copyright 2010-12-18 21:00:29 +01:00
Bastian Kleineidam
0b8f8d52b2 Check for empty URL before determining content type. 2010-12-18 08:26:59 +01:00
Bastian Kleineidam
55cad24b7d Improved layout. 2010-12-18 08:04:43 +01:00
Bastian Kleineidam
b05ca0e345 Clear properties and statistics before check. 2010-12-17 20:25:06 +01:00
Bastian Kleineidam
eee28b9af2 Layout the statistics widgets. 2010-12-17 19:50:52 +01:00
Bastian Kleineidam
88ae8a83b0 Display clear button in URL input field. 2010-12-17 07:50:56 +01:00
Bastian Kleineidam
7a2c89b7fe Display URL properties and statistics in the main window. 2010-12-16 21:52:26 +01:00
Bastian Kleineidam
b485594dfb Print statistics information in HTML output. 2010-12-15 14:36:19 +01:00
Bastian Kleineidam
a94269fd5b Remove unused ID part of loggers. 2010-12-15 13:24:31 +01:00
Bastian Kleineidam
224061e284 Fix to_wire by looking of URL parts have been initialized. 2010-12-15 13:24:12 +01:00
Bastian Kleineidam
f2b8c742fc Gather URL length statistics. 2010-12-15 07:55:00 +01:00
Bastian Kleineidam
7c55351511 Add get_content_type methods to subclasses. 2010-12-15 07:54:44 +01:00
Bastian Kleineidam
870bd2147a Output statistics in text logger. 2010-12-14 20:52:42 +01:00
Bastian Kleineidam
2b2121b9ed Added content type and domain to URL logging info. 2010-12-14 20:30:53 +01:00
Bastian Kleineidam
01184784ef Remove warning about Unicode domains which are more widely supported now. 2010-12-11 07:58:15 +01:00
Bastian Kleineidam
e48acc08af Remove old comments and set line and column number on flush. 2010-12-11 07:57:50 +01:00
Bastian Kleineidam
c809007579 Expand help index tree. 2010-12-07 22:24:30 +01:00
Bastian Kleineidam
09e29f4758 Improve about dialog. 2010-12-03 22:49:32 +01:00
Bastian Kleineidam
d51999c1e6 Rename Debug menu option and disable it according to options. 2010-12-03 20:54:14 +01:00
Bastian Kleineidam
4a9b05dbfd Only prepend http:// to non-empty URLs. 2010-12-03 20:46:57 +01:00
Bastian Kleineidam
6d38a4e296 Rename Save menu option and disable it initially. 2010-12-03 20:46:31 +01:00
Bastian Kleineidam
7807be517b Assume URL starts with http:// if its not a local file. 2010-12-03 18:25:18 +01:00
Bastian Kleineidam
033812fc4e Updated module copies to Python 2.7 2010-12-02 19:38:27 +01:00
Bastian Kleineidam
97ac26ee26 Set minimum size for Option dialog. 2010-11-28 11:05:04 +01:00
Bastian Kleineidam
fcc7977e72 Set minimum width for URL property labels. 2010-11-28 10:36:57 +01:00
Bastian Kleineidam
500c64e758 Remove unused ID URL property. 2010-11-28 10:32:51 +01:00
Bastian Kleineidam
73afed2092 Remove the unused and hidden ID column in the GUI QTreeView. 2010-11-26 21:41:24 +01:00
Bastian Kleineidam
9e88377584 Remove stray raise statement from previous commit. 2010-11-26 21:35:49 +01:00
Bastian Kleineidam
e57456ccdb Use correct charset encoding in XML output. 2010-11-26 21:24:36 +01:00
Bastian Kleineidam
22ed9011b7 Merge branch 'guisave' 2010-11-26 21:23:48 +01:00
Bastian Kleineidam
9be3e8626d Add save action for URL results. 2010-11-26 21:23:27 +01:00
Bastian Kleineidam
431953a6d9 Fix typos. 2010-11-26 21:23:13 +01:00
Bastian Kleineidam
4f9727710a Log URL data directly in the model. 2010-11-26 20:29:33 +01:00
Bastian Kleineidam
69ca5c1110 Reuse an empty QVariant object. 2010-11-26 20:26:31 +01:00
Bastian Kleineidam
c5676f0297 Catch socket errors when closing SMTP connections. 2010-11-26 19:51:26 +01:00
Bastian Kleineidam
8cfc7bfa48 Add save menu action. 2010-11-26 18:11:23 +01:00
Bastian Kleineidam
96de427112 Revert "Added save menu action." Wrong branch.
This reverts commit 1e4146c78d.
2010-11-26 18:08:59 +01:00
Bastian Kleineidam
1e4146c78d Added save menu action. 2010-11-26 18:07:20 +01:00
Bastian Kleineidam
3111ae0269 Revert previous commit: re-add Timeout exception. 2010-11-26 17:25:49 +01:00
Bastian Kleineidam
5f06f1b194 Fix wrong call to __init__ of URL proxy handler. 2010-11-26 12:23:41 +01:00
Bastian Kleineidam
5c9c15071a Limit FTP download file size. 2010-11-25 20:44:41 +01:00
Bastian Kleineidam
0cf22e5242 Limit FTP download file size. 2010-11-25 20:44:14 +01:00
Bastian Kleineidam
9e1178df5c Programming style fixes. 2010-11-24 21:35:50 +01:00
Bastian Kleineidam
2efe3073c5 Fix sorting of URLs in result list. 2010-11-23 23:56:03 +01:00
Bastian Kleineidam
d9dbcb5407 Optimize GUI by disabling sorting while a check is running. 2010-11-23 23:23:14 +01:00
Bastian Kleineidam
a644aada2e Activate links in property dialogs. 2010-11-23 00:25:32 +01:00
Bastian Kleineidam
b2bdbed3c4 Move encode() method to base class. 2010-11-22 07:43:33 +01:00
Bastian Kleineidam
d97b7a4e4e Force UTF-8 for CSV logger. 2010-11-21 20:48:50 +01:00
Bastian Kleineidam
f0b911b608 Use codecs module for proper output encoding. 2010-11-21 20:19:27 +01:00
Bastian Kleineidam
6fac69cddb Fall back to GET when connection is reset. 2010-11-21 19:50:51 +01:00
Bastian Kleineidam
729a4fffc6 Adjust spacer width. 2010-11-21 14:23:01 +01:00
Bastian Kleineidam
57d0f961d9 Merge Python 2.6 branch. 2010-11-21 11:37:17 +01:00
Bastian Kleineidam
5058161e40 Remove deprecated options and backward compatibility parts. 2010-11-21 11:35:56 +01:00
Bastian Kleineidam
03034ddc1c Updated copyright 2010-11-21 11:25:07 +01:00
Bastian Kleineidam
fb44f6b775 Updated httplib. 2010-11-21 11:24:53 +01:00
Bastian Kleineidam
7302f4bc22 Use the builtin set type. 2010-11-21 10:55:10 +01:00
Bastian Kleineidam
350c952a1f Use new textwrap feature to not break on hyphens. 2010-11-21 10:48:40 +01:00
Bastian Kleineidam
017a1087ba Remove unneeded __future__ import 2010-11-21 10:45:30 +01:00
Bastian Kleineidam
b24086f1a0 Remove tests for old Python versions. 2010-11-21 10:44:27 +01:00
Bastian Kleineidam
fcc3e6dc03 Remove copy of namedtuple implementation. 2010-11-21 10:44:11 +01:00
Bastian Kleineidam
04f9c1b854 Use urlparse.parse_qs() instead of cgi.parse_qs() 2010-11-21 10:43:47 +01:00
Bastian Kleineidam
6dcb0e10de Require Python 2.6 2010-11-21 10:42:44 +01:00
Bastian Kleineidam
ffcb6017ba Store column widths in registry settings. 2010-11-20 20:25:27 +01:00
Bastian Kleineidam
c0c8f83827 Start checking when return is pressed in the URL label. 2010-11-20 19:58:17 +01:00
Bastian Kleineidam
167f2bf5a9 Add name for option dialog. 2010-11-20 19:53:05 +01:00
Bastian Kleineidam
d51ee5e61e Updated copyright. 2010-11-20 12:02:35 +01:00
Bastian Kleineidam
d246b8718f Use new style signals. 2010-11-18 23:30:50 +01:00
Bastian Kleineidam
8f20ea94fb Remove unnecessary variable setting. 2010-11-18 21:10:14 +01:00
Bastian Kleineidam
cf7be13776 Save GUI options in QSettings. 2010-11-17 21:25:13 +01:00
Bastian Kleineidam
2a1658a1d3 Refactor QSettings 2010-11-17 20:28:43 +01:00
Bastian Kleineidam
147bf31e1e Check for allowed HTTP GET method before parsing anchors in HTML file contents. 2010-11-17 19:13:26 +01:00
Bastian Kleineidam
17ce930611 Ignore irc:// URLs. 2010-11-10 19:56:31 +01:00
Bastian Kleineidam
59ac6ffb5c Set maximum length of URL textinput. 2010-11-06 20:29:36 +01:00
Bastian Kleineidam
45ff41c6c5 Minor layout changes. 2010-11-06 20:13:15 +01:00