Ben Kurtovic
bcb1756510
Check existence in a way that we won't make unnecessary queries.
12 vuotta sitten
Ben Kurtovic
41165fcdac
Only escape site names if they contain characters outside of the BMP.
Also doing some cleanup.
12 vuotta sitten
Ben Kurtovic
b0a6da8b36
Ignore fishbowl wikis, because we can't log in to them.
12 vuotta sitten
Ben Kurtovic
1368a19a19
Support for closed or private wikis where we can't create an account.
12 vuotta sitten
Ben Kurtovic
4e747f0f10
A couple more fixes.
12 vuotta sitten
Ben Kurtovic
2b82bd29d2
Fix another Site bug.
12 vuotta sitten
Ben Kurtovic
8345559b3e
Missed the required result.cached attribute.
12 vuotta sitten
Ben Kurtovic
a23a39950a
Apparently some special sites have no subdomain?
12 vuotta sitten
Ben Kurtovic
d93661f8f4
Organize query string parsing better.
12 vuotta sitten
Ben Kurtovic
36c6c75519
Make things make more sense when working with special sites.
12 vuotta sitten
Ben Kurtovic
b943db2796
Accidentally b0rked that tuple a bit...
12 vuotta sitten
Ben Kurtovic
99f75be9ee
Store site names escaped to get around MySQL 5.1 unicode limitation.
12 vuotta sitten
Ben Kurtovic
32e5fe1376
Collate as utf8_unicode_ci
12 vuotta sitten
Ben Kurtovic
4003711724
Forgot we can't iterate over cursor.execute()...
12 vuotta sitten
Ben Kurtovic
fb47c54cfb
Missed a continue.
12 vuotta sitten
Ben Kurtovic
314663a5e2
time_since_update when no updates have occured should not be zero!
12 vuotta sitten
Ben Kurtovic
744c1f0507
Mixed up a Bot and a Site somewhere...
12 vuotta sitten
Ben Kurtovic
a64eac6214
Fix imports?
12 vuotta sitten
Ben Kurtovic
1846a895a2
Missed a closing bracket.
12 vuotta sitten
Ben Kurtovic
4057c878df
Adding schema file for the MySQL database.
12 vuotta sitten
Ben Kurtovic
910e839c14
Make updating work with a completely empty database.
12 vuotta sitten
Ben Kurtovic
17fdf4a142
Rename languages and projects tables to their singular equivalents.
12 vuotta sitten
Ben Kurtovic
dcd53d0f66
Be smarter about Unicode!
12 vuotta sitten
Ben Kurtovic
bab8bff6ad
Hopefully make the dropdown menus clearer.
12 vuotta sitten
Ben Kurtovic
f644208f05
Implement missing cases, plus closing a few Unicode loopholes.
12 vuotta sitten
Ben Kurtovic
b8d5376020
Support special sites (e.g. Commons, Meta) Part II; cleanup
12 vuotta sitten
Ben Kurtovic
7d7393ad54
Support special sites (e.g. Commons, Meta) Part I
12 vuotta sitten
Ben Kurtovic
ecc5a13cf5
Dynamically load sites from the API and cache this information.
- Also removing some unused imports and cleaning up code.
12 vuotta sitten
Ben Kurtovic
66122c147f
Try to clarify the optionality of giving a URL.
12 vuotta sitten
Ben Kurtovic
23cb80014c
Support for Duplication Detector-like behavior.
- Implement a &url= parameter and get_url_specific_results().
- Update tool description.
- Increase text box widths.
- "Markov chain size" -> "Trigrams"
- Don't show "The WMF paid Yahoo $X" if $X is $0.
12 vuotta sitten
Ben Kurtovic
d1be6b55df
Replace the actual checker with a dummy.
This allows us to play around with the interface without actually
running checks just yet.
12 vuotta sitten
Ben Kurtovic
e27321d2ea
Try to fix these bugs in earwigbot.mako.
12 vuotta sitten
Ben Kurtovic
fa16d5eff7
highlight_delta() should work with trigrams
12 vuotta sitten
Ben Kurtovic
c368540fba
Some updates for the new version of EarwigBot.
Still have to update bigrams to trigrams.
12 vuotta sitten
Ben Kurtovic
7d464bf141
Update LICENSE
12 vuotta sitten
Ben Kurtovic
c49119ea97
Protocol-relative URLs in some places for full HTTPS support
12 vuotta sitten
Ben Kurtovic
7d92f7a76b
Copyvio detection interface is (mostly) done.
13 vuotta sitten
Ben Kurtovic
910a24a89f
Minor updates.
13 vuotta sitten
Ben Kurtovic
c482d9ff4e
Work on Copyvio Detector and integration with EarwigBot
copyvios.mako can now import the earwigbot package and load pages
gitignored config.ts-earwigbot.json
13 vuotta sitten
Ben Kurtovic
ed086ef962
Grammar
13 vuotta sitten
Ben Kurtovic
82bee179c0
Better handling of images less wide than our screen.
13 vuotta sitten
Ben Kurtovic
25dc8e1226
EarwigBot Status page, minor CSS cleanup.
13 vuotta sitten
Ben Kurtovic
2ee3a79d20
Some pretty awesome stuff.
13 vuotta sitten
Ben Kurtovic
4e9b7c1b1c
updates; new layout idea
13 vuotta sitten
Ben Kurtovic
3a70096689
Slight gradient on bottom bar, switch links.
13 vuotta sitten
Ben Kurtovic
5e63ae849e
bash, improvements, etc etc
13 vuotta sitten
Ben Kurtovic
cbc00a4ad6
Updates, nicer footer, etc
13 vuotta sitten
Ben Kurtovic
4a1829c0c5
dynamic links to stylesheets
13 vuotta sitten
Ben Kurtovic
bda195c414
More stuff
13 vuotta sitten
Ben Kurtovic
f639ae7eba
forgot CSS!
13 vuotta sitten