Commit graph

620 commits

Author SHA1 Message Date
Christopher K. Hoadley
8bb9386aca Update version. 2019-07-16 06:40:16 -05:00
Christopher Kent Hoadley
04613f291e
Merge pull request #254 from sherlock-project/csv_error_with_illegal_username_format
Fix Error When csv Is Written When Username Is Illegal For A Site
2019-07-16 06:37:31 -05:00
Christopher K. Hoadley
77d62bca10 Fix Error When csv Is Written When Username Is Illegal For A Site
This problem happens during the write to the CSV.  There are various results that are gathered during the query for the existence of a given site, and they are always expected to exist in the results dictionary.  However, if a given user name has an illegal format for a given site, then the query is not even attempted.  Which leaves some keys in the dictionary undefined.

The solution is to define these keys even in the case where the username has an illegal format.
2019-07-16 06:35:57 -05:00
Christopher K. Hoadley
805e26dc1c Merge branch 'pr/n249_cclauss' 2019-07-15 19:21:41 -05:00
Siddharth Dushantha
5a3d4ceef5
Merge pull request #251 from sprintal/master
Fix Virgool
2019-07-15 14:53:17 +02:00
cclauss
ed62361f91
Travis CI's default distro is now Xenial
https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment
2019-07-15 13:30:34 +02:00
Kang
afd5634678 Fix Virgool 2019-07-15 21:23:31 +10:00
cclauss
4c5f55b81c
fast_finish: true 2019-07-15 05:20:38 +02:00
cclauss
6960219db4
allow_failures: name: "Sherlock Site Coverage Tests" 2019-07-15 05:16:35 +02:00
cclauss
04ef663a6c
Travis CI: Add SherlockSiteCoverageTests as a parallel run
As suggested at https://github.com/sherlock-project/sherlock/issues/235#issuecomment-511245466

Should we remove the __|| true__ from the end of line 15 or line 24?  Or leave them as is?
2019-07-15 05:08:59 +02:00
Christopher Kent Hoadley
6146a8040b
Merge pull request #248 from sherlock-project/tests_ci_update
Robustness Update For CI Tests (Part 1)
2019-07-14 18:44:16 -05:00
Christopher K. Hoadley
ea361fb156 Update Travis CI so that it only runs the tests.all.SherlockDetectTests. There are always failures in the coverage tests because one site or the other ends up having problems connecting.
While the CI tests will not do complete coverage, at least they will test something.
2019-07-14 18:35:02 -05:00
Christopher K. Hoadley
b4a9562806 Update tests.all.SherlockDetectTests so it will only run tests against the detection methods.
This was the original intent for this class, but there was no test to ensure that the sites listed did not have their detection method changed.  Now, the test will fail if it does not really cover a given category.
2019-07-14 18:31:55 -05:00
Christopher K. Hoadley
83fe8f0f99 Merge branch 'pr/n239_krufab' 2019-07-14 11:16:32 -05:00
Christopher K. Hoadley
49d9325472 Merge branch 'pr/n245_satznova' 2019-07-14 11:04:39 -05:00
Christopher K. Hoadley
cc163ce0ef Update site list and ranking. Update version. 2019-07-14 11:02:36 -05:00
Christopher K. Hoadley
b76e105c22 Merge branch 'pr/n241_satznova' 2019-07-14 11:00:17 -05:00
Christopher K. Hoadley
ff42aa1453 Merge branch 'pr/n242_sprintal' 2019-07-14 10:59:09 -05:00
satznova
a9c0863ca3 gitlab api used to check username existence 2019-07-14 18:29:48 +05:30
satznova
82ee9c4b8b fixed wattpad false positive issue 2019-07-14 17:10:37 +05:30
Kang
b09e3e1d4d Fix Pinterest 2019-07-14 18:26:13 +10:00
satznova
fa4478416b Merge branch 'master' of https://github.com/sherlock-project/sherlock into site-hackerrank 2019-07-14 13:36:39 +05:30
Christopher K. Hoadley
5731a7bafc Update site list and ranking. Update version. 2019-07-14 02:53:58 -05:00
satznova
2bd9fa1622 added the new site at end of data.json 2019-07-14 13:10:01 +05:30
Kang
d384113cf5 Add LeetCode 2019-07-14 17:09:59 +10:00
satznova
5b15e5896f added support for HackerRank 2019-07-14 12:00:01 +05:30
Christopher K. Hoadley
bded12d993 Merge remote-tracking branch 'origin/master' 2019-07-13 17:06:33 -05:00
Christopher K. Hoadley
795bcc43f4 Merge branch 'pr/n234_cclauss' 2019-07-13 17:05:33 -05:00
Fabio Kruger
810bb5ea36 ISSUE-238 Improved build steps in Dockerfile to allow caching and improved docker instructions 2019-07-13 22:18:18 +02:00
Yahya SayadArbabi
33d0e07537
Merge pull request #237 from marasiali/update-list
Add virgool.io
2019-07-13 22:16:16 +04:30
Ali Marasizadeh
821351fac8 Add virgool.io 2019-07-13 21:29:32 +04:30
Christopher K. Hoadley
e2f42672ad Merge branch 'pr/n227_sp1rs' 2019-07-13 09:57:46 -05:00
Christopher K. Hoadley
e45e0d0c18 Merge branch 'pr/n225_sp1rs'. Update site list and readme.
# Conflicts:
#	sites.md
2019-07-13 09:56:41 -05:00
Christopher Kent Hoadley
bc54f2cf44
Merge pull request #233 from tdh8316/master
Update claimed username for BitBucket.
2019-07-13 09:39:21 -05:00
Christopher K. Hoadley
e9d7a45ca0 Update site list and ranking. Update version. 2019-07-13 09:32:35 -05:00
Christopher K. Hoadley
d2347b040c Convert "OK" site to use more reliable HTTP Status Code Detection. 2019-07-13 09:29:11 -05:00
Christopher K. Hoadley
6c6faff416 Fix regular expression check for "OK". The regex had a bad format: not sure how it could have worked for anyone. 2019-07-13 09:18:51 -05:00
Christopher K. Hoadley
9621019c77 Merge branch 'pr/n228_4slan' 2019-07-13 09:12:52 -05:00
Christopher K. Hoadley
58a29e8de8 Merge branch 'pr/n214_Chris-Johnston' 2019-07-13 09:12:39 -05:00
cclauss
f600fe6805
unittest || true 2019-07-13 12:24:17 +02:00
cclauss
59bc91b08f
Travis CI: Add more flake8 tests
On the flake8 test selection, this PR does _not_ focus on "_style violations_" (the majority of flake8 error codes that [__python/black__](https://github.com/python/black) can autocorrect).  Instead these tests are focus on runtime safety and correctness:
* E9 tests are about Python syntax errors usually raised because flake8 can not build an Abstract Syntax Tree (AST).  Often these issues are a sign of unused code or code that has not been ported to Python 3.  These would be compile-time errors in a compiled language but in a dynamic language like Python they result in the script halting/crashing on the user.
* F63 tests are usually about the confusion between identity and equality in Python.  Use ==/!= to compare str, bytes, and int literals is the classic case.  These are areas where __a == b__ is True but __a is b__ is False (or vice versa).
* F7 tests logic errors and syntax errors in type hints
* F82 tests are almost always _undefined names_ which are usually a sign of a typo, missing imports, or code that has not been ported to Python 3.  These also would be compile-time errors in a compiled language but in Python a __NameError__ is raised which will halt/crash the script on the user.
2019-07-13 10:06:28 +02:00
Donghyeok Tak
92b1b7dc8f
Update claimed username for BitBucket.
- username_claimed 'blue' for BitBucket no longer works
2019-07-13 15:56:32 +09:00
Christopher Kent Hoadley
59e9952a9a
Add note about adult sites. 2019-07-12 05:52:17 -05:00
Aslan MALSAGOV
34124f33c2
OK added 2019-07-12 01:33:31 +02:00
Aslan MALSAGOV
7ac7a000f6
Add support for OK
Add support for OK
2019-07-12 01:30:44 +02:00
sp1rs
c2cd7efe13 Readme cleanup and added more example. 2019-07-12 00:56:57 +05:30
sp1rs
3a8ceaa368 Added codechef in user search. 2019-07-12 00:25:03 +05:30
Chris Johnston
f0588a5545
Merge branch 'master' into feature/mixer-support 2019-07-10 23:25:03 -07:00
Chris Johnston
7e641a7893 use urlProbe attribute for mixer service 2019-07-10 23:23:57 -07:00
Christopher Kent Hoadley
b94c2b19dc
Add Note About Adult Sites
The data.json file is easy to add to, so users will be able to maintain their own forks. This is not ideal. Maybe there could be another repo with an adult data.json? That would avoid forks getting out of date.
2019-07-10 23:34:21 -05:00