Commit Graph

892 Commits

Author SHA1 Message Date
gfyoung
51a0ec21bd Document all functions in Python scripts 2017-05-23 21:58:22 -04:00
Steven Black
674c903ada New data from yoyo.org, someonewhocares.org, Laicure, and Badd-Boyz 2017-05-23 10:11:04 -04:00
Steven Black
67dea02b9c Merge pull request #317 from gfyoung/make-hosts-python
Create makeHosts file in Python
2017-05-23 10:08:00 -04:00
Steven Black
526a457a38 Merge pull request #322 from gfyoung/kde-neon-dns-cache
Check /usr/lib and /lib for systemd
2017-05-23 10:03:22 -04:00
Steven Black
b064f9c092 Merge pull request #323 from gfyoung/unicode-str-join
Concatenate str only in os.path.join
2017-05-23 00:16:03 -04:00
gfyoung
2aecbf9707 Concatenate str only in os.path.join
Closes gh-316.
2017-05-22 23:31:35 -04:00
gfyoung
8806131c74 Check /usr/lib and /lib for systemd
Closes gh-321.
2017-05-22 21:19:31 -04:00
gfyoung
90afb0c623 Create makeHosts file in Python
Closes gh-316.
2017-05-21 22:30:36 -04:00
Steven Black
30cbb9a1ec Merge pull request #319 from gfyoung/path-join-robust
Wrap os.path.join to handle LOCALE issues (take 2)
2017-05-21 22:26:02 -04:00
gfyoung
8f3e71e327 Wrap os.path.join to handle LOCALE issues
Closes gh-81.
Closes gh-318.
2017-05-21 21:51:13 -04:00
Steven Black
a593138734 New data by Clefspeare, yoyo.org, someewhocares.org, Laicure, KADhosts, and Badd-Boyz. 2017-05-21 21:39:18 -04:00
Steven Black
d343798ed1 Ref: Issue #312 undo commit 2ff5dc2
cc @gfyoung

Commit 2ff5dc2 is generating errors on macOS.

See Issue #318.
2017-05-21 21:34:54 -04:00
Steven Black
6708d74034 Latest freshest host files. 2017-05-21 10:48:17 -04:00
Steven Black
2fae89db0e Merge pull request #312 from gfyoung/path-join-robust
Wrap os.path.join to handle LOCALE issues
2017-05-21 10:42:20 -04:00
gfyoung
c8e8ddee6c Wrap os.path.join to handle LOCALE issues
Closes gh-81.
2017-05-19 16:27:12 -04:00
Steven Black
f87290eff8 Merge pull request #310 from gfyoung/ubuntu-mint-dns-cache
Add DNS cache flushing calls for Linux
2017-05-19 07:30:54 -04:00
Steven Black
4b8be02a64 Merge pull request #309 from gfyoung/get-file-by-url-robust
Don't crash if data source unreachable
2017-05-19 07:28:03 -04:00
gfyoung
b3838ef2d2 Add DNS cache flushing calls for Linux
1) Add command for Linux Mint
2) Add additional command for NCSD cache

Closes gh-128.
2017-05-18 11:30:23 -04:00
gfyoung
8cb610a757 Don't crash if data source unreachable
Closes gh-26.
2017-05-18 00:17:11 -04:00
Steven Black
c0196ce5dc Merge pull request #304 from gfyoung/update-readme-doc-clarify
Reorganize cross-platform instructions for repo usage
2017-05-17 23:12:59 -04:00
gfyoung
931f69ff22 Reorganize cross-platform instructions for repo usage 2017-05-17 23:04:30 -04:00
Steven Black
11791fc09c Merge pull request #303 from gfyoung/update-readme-doc
Lift restriction on Python 3.x for makeHosts*
2017-05-17 22:58:13 -04:00
gfyoung
96c7287584 Lift restriction on Python 3.x for makeHosts* 2017-05-17 02:35:46 -04:00
Steven Black
06611e48a0 New data from fakenews, mvps.org, and malwaredomainlist.com. 2017-05-16 22:02:58 -04:00
Steven Black
fc57dc72a7 Merge pull request #306 from gfyoung/update-hosts-windows
Lift Python 3.5.x restriction on updateHostsWindows.bat
2017-05-16 14:32:17 -04:00
gfyoung
eed24ab456 Lift Python 3.5.x restriction on updateHostsWindows.bat 2017-05-16 13:47:54 -04:00
Steven Black
b1bfce7a1c Issue #298 and #302: rebuild the readme files to include the travis build status. 2017-05-15 20:52:25 -04:00
Steven Black
a8848911ad Merge pull request #302 from gfyoung/travis-svg-readme
Add Travis SVG to README
2017-05-15 20:49:13 -04:00
gfyoung
fe963d599a Add Travis SVG to README 2017-05-15 20:45:39 -04:00
Steven Black
61c4b096d6 New data from Laicure and Badd-Boyz. 2017-05-15 20:44:09 -04:00
Steven Black
816bb34bcd Merge pull request #301 from gfyoung/travis-flake8-testing
Add Travis for style checking
2017-05-15 20:35:09 -04:00
gfyoung
7aad916f71 Add Travis for style checking
Closes gh-298.
2017-05-15 20:30:01 -04:00
Steven Black
213490e73f Merge pull request #300 from gfyoung/flake8-fixes
Patch all style errors in updateReadme.py
2017-05-15 17:11:28 -04:00
gfyoung
dfe66197f5 Patch all style errors in updateReadme.py 2017-05-15 15:13:39 -04:00
Steven Black
c4463bc5bb Merge pull request #299 from gfyoung/flake8-fixes
Patch all style errors in updateHostsFile.py
2017-05-15 15:09:08 -04:00
gfyoung
26cac85ca3 Patch all style errors in updateHostsFile.py 2017-05-15 15:00:16 -04:00
Steven Black
799510b46d Merge pull request #297 from gfyoung/camel-underscore-consistency
Standardize underscore names in updateHostsFile.py
2017-05-15 14:50:06 -04:00
gfyoung
21dd1d9d56 Standardize underscore names in updateHostsFile.py 2017-05-15 13:32:39 -04:00
Steven Black
d2bd759a76 Merge pull request #296 from gfyoung/python-three-compat
Condense Python 2-3 compatibility code
2017-05-15 10:13:44 -04:00
gfyoung
0015363385 Condense Python 2-3 compatibility code 2017-05-14 22:30:36 -04:00
Steven Black
0347097610 Merge pull request #294 from gfyoung/custom-exclusions-condense
Condense exclusion customization logic
2017-05-14 22:14:48 -04:00
gfyoung
190592577d Condense exclusion customization logic 2017-05-14 22:10:19 -04:00
Steven Black
05e94500ab Merge pull request #291 from gfyoung/flush-dns-cache-windows
Clean up updateHostsFile.py
2017-05-14 22:10:16 -04:00
gfyoung
ceb3765d24 Flush DNS cache on Windows 2017-05-14 22:07:43 -04:00
Steven Black
4f26529c5a Merge pull request #295 from gfyoung/print-statement-spacing
Remove unnecessary space between print and parenthesis
2017-05-14 22:06:28 -04:00
gfyoung
118a8e78a5 Remove unnecessary space between print and parenthesis 2017-05-14 14:54:24 -04:00
Steven Black
83af37862c Merge pull request #292 from gfyoung/remove-unused-imports
Remove unnecessary imports in updateHostsFile.py
2017-05-14 11:03:22 -04:00
Steven Black
03dfcb4c3d Merge pull request #293 from gfyoung/query-yes-no-return
Have query_yes_no return boolean
2017-05-14 10:41:56 -04:00
gfyoung
5830bb8db0 Have query_yes_no return boolean
Bugs have been found where we assumed
that query_yes_no returned True/False.
Not only is it easier to check booleans
instead of strings, but it also looks
a lot cleaner in the code.
2017-05-14 00:15:58 -04:00
gfyoung
de2e45e8b2 Remove unnecessary imports in updateHostsFile.py 2017-05-13 23:43:00 -04:00