Ben Kurtovic
eceead74bb
Updates, mostly in cookies and settings.
vor 12 Jahren
Ben Kurtovic
3e934fbaef
Massively update cookie handling.
vor 12 Jahren
Ben Kurtovic
066dc9504f
Use cookies to store default site.
vor 12 Jahren
Ben Kurtovic
f11bf7198c
Oops, these are objects with values.
vor 12 Jahren
Ben Kurtovic
b2910d5754
Grammar
vor 12 Jahren
Ben Kurtovic
79a938f3b9
Cookies to store state of collapsable box.
vor 12 Jahren
Ben Kurtovic
8cce98fc8f
Query object for storing parameters in a structured manner.
vor 12 Jahren
Ben Kurtovic
c238cfaac5
Fixing the return values of copyvios.main().
vor 12 Jahren
Ben Kurtovic
b4b5ac4f93
Restructure into an actual package that makes sense.
vor 12 Jahren
Ben Kurtovic
80e224d768
Move support.copyvios to copyvios
vor 12 Jahren
Ben Kurtovic
0f3414c576
Refactor the last bit of parsing code into support.copyvios.
Will clean up in a bit.
vor 12 Jahren
Ben Kurtovic
420a1708e0
Refactor get_site() to copyvios.mako directly instead of the checker.
vor 12 Jahren
Ben Kurtovic
f58465718e
Fixing contexts
vor 12 Jahren
Ben Kurtovic
5bff019edc
Trying a radical restructuring...
vor 12 Jahren
Ben Kurtovic
969badc4a3
Only display "bypass cache" option if the result was actually cached.
vor 12 Jahren
Ben Kurtovic
bcb1756510
Check existence in a way that we won't make unnecessary queries.
vor 12 Jahren
Ben Kurtovic
41165fcdac
Only escape site names if they contain characters outside of the BMP.
Also doing some cleanup.
vor 12 Jahren
Ben Kurtovic
b0a6da8b36
Ignore fishbowl wikis, because we can't log in to them.
vor 12 Jahren
Ben Kurtovic
1368a19a19
Support for closed or private wikis where we can't create an account.
vor 12 Jahren
Ben Kurtovic
4e747f0f10
A couple more fixes.
vor 12 Jahren
Ben Kurtovic
2b82bd29d2
Fix another Site bug.
vor 12 Jahren
Ben Kurtovic
8345559b3e
Missed the required result.cached attribute.
vor 12 Jahren
Ben Kurtovic
a23a39950a
Apparently some special sites have no subdomain?
vor 12 Jahren
Ben Kurtovic
d93661f8f4
Organize query string parsing better.
vor 12 Jahren
Ben Kurtovic
36c6c75519
Make things make more sense when working with special sites.
vor 12 Jahren
Ben Kurtovic
b943db2796
Accidentally b0rked that tuple a bit...
vor 12 Jahren
Ben Kurtovic
99f75be9ee
Store site names escaped to get around MySQL 5.1 unicode limitation.
vor 12 Jahren
Ben Kurtovic
4003711724
Forgot we can't iterate over cursor.execute()...
vor 12 Jahren
Ben Kurtovic
fb47c54cfb
Missed a continue.
vor 12 Jahren
Ben Kurtovic
314663a5e2
time_since_update when no updates have occured should not be zero!
vor 12 Jahren
Ben Kurtovic
744c1f0507
Mixed up a Bot and a Site somewhere...
vor 12 Jahren
Ben Kurtovic
a64eac6214
Fix imports?
vor 12 Jahren
Ben Kurtovic
1846a895a2
Missed a closing bracket.
vor 12 Jahren
Ben Kurtovic
910e839c14
Make updating work with a completely empty database.
vor 12 Jahren
Ben Kurtovic
17fdf4a142
Rename languages and projects tables to their singular equivalents.
vor 12 Jahren
Ben Kurtovic
dcd53d0f66
Be smarter about Unicode!
vor 12 Jahren
Ben Kurtovic
bab8bff6ad
Hopefully make the dropdown menus clearer.
vor 12 Jahren
Ben Kurtovic
f644208f05
Implement missing cases, plus closing a few Unicode loopholes.
vor 12 Jahren
Ben Kurtovic
b8d5376020
Support special sites (e.g. Commons, Meta) Part II; cleanup
vor 12 Jahren
Ben Kurtovic
7d7393ad54
Support special sites (e.g. Commons, Meta) Part I
vor 12 Jahren
Ben Kurtovic
ecc5a13cf5
Dynamically load sites from the API and cache this information.
- Also removing some unused imports and cleaning up code.
vor 12 Jahren
Ben Kurtovic
66122c147f
Try to clarify the optionality of giving a URL.
vor 12 Jahren
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.
vor 12 Jahren
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.
vor 12 Jahren
Ben Kurtovic
fa16d5eff7
highlight_delta() should work with trigrams
vor 12 Jahren
Ben Kurtovic
c368540fba
Some updates for the new version of EarwigBot.
Still have to update bigrams to trigrams.
vor 12 Jahren
Ben Kurtovic
c49119ea97
Protocol-relative URLs in some places for full HTTPS support
vor 12 Jahren
Ben Kurtovic
7d92f7a76b
Copyvio detection interface is (mostly) done.
vor 12 Jahren
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
vor 13 Jahren
Ben Kurtovic
4e9b7c1b1c
updates; new layout idea
vor 13 Jahren