Chlod Alejandro
10add79574
Require OAuth for search engine checks
Begin requiring OAuth for search engine checks.
This adds an extra validation step in checker.py.
It occurs after a cached result is checked for, which
allows unauthenticated viewers to still preview cached
results.
pirms 1 mēnesi
Chlod Alejandro
35dee57a41
Add OAuth flow
Adds the initial backend requirements for the
OAuth flow, which will be made required for all
search engine checks. This adds three new routes:
- `/login` (GET, POST) - for logging in
- `/logout` (GET, POST) - for logging out
- `/oauth-callback` - OAuth 1.0a callback route
Login/logout state can be checked through the
header. By default, a separate page navigation is
not required when the link is clicked by the user.
When following a link to `/log(in|out)`, however,
an extra button will be shown to prevent inadvertent
logins/logouts.
pirms 1 mēnesi
Chlod Alejandro
bb28ba4472
update resources
pirms 1 mēnesi
Ben Kurtovic
19c873f1c8
Random bugfixes
pirms 3 mēnešiem
Ben Kurtovic
23663afbe2
Fix background URL generation
pirms 2 gadiem
Ben Kurtovic
3c09a05d8c
Fix
pirms 3 gadiem
Ben Kurtovic
13b548a8d5
Form restyling; layout cleanup/responsiveness
pirms 3 gadiem
Ben Kurtovic
b74efeed0e
Flipped condition
pirms 3 gadiem
Ben Kurtovic
5d18a911fb
Forgot to update min.css
pirms 3 gadiem
Ben Kurtovic
79ec7a3319
Styling tweaks
pirms 3 gadiem
Ben Kurtovic
208ebd3628
Restyling
pirms 3 gadiem
Ben Kurtovic
2254a68bc8
Styling tweaks
pirms 3 gadiem
Ben Kurtovic
15f3aee20b
Center background
pirms 3 gadiem
Ben Kurtovic
1d91b9171b
Clean up CSS/JS; new minify pipeline; rework footer
pirms 3 gadiem
Ben Kurtovic
0a81acfa5c
Even better error handling
pirms 3 gadiem
Ben Kurtovic
b134ef67ba
Even better error handling
pirms 3 gadiem
Ben Kurtovic
c829590bc9
Bugfix
pirms 3 gadiem
Ben Kurtovic
ad87596e37
Better error handling for revision IDs
pirms 3 gadiem
Ben Kurtovic
85a7bbfc5e
Rename confidence to similarity in most user-facing text
pirms 3 gadiem
Ben Kurtovic
38c03e334b
Add log analysis script and improve API docs
pirms 4 gadiem
Ben Kurtovic
eacb294735
Update URLs
pirms 4 gadiem
Ben Kurtovic
4cebe36eee
Validate site info if not in sites DB
pirms 5 gadiem
Ben Kurtovic
96ac14ec38
Use rvslots for fetching revision content
pirms 5 gadiem
Ben Kurtovic
ce18eb9065
Disable form submission button while loading
pirms 5 gadiem
Ben Kurtovic
4c428d4d2b
Better error message when the tool runs out of search quota
pirms 5 gadiem
Ben Kurtovic
c73179b28c
Update highlighter for new MarkovChain implementation
pirms 5 gadiem
Ben Kurtovic
f4812b20e5
Reduce worker counter to 8
pirms 5 gadiem
Ben Kurtovic
01cd6dc763
Make caching advisory and reduce db lock duration
pirms 5 gadiem
Ben Kurtovic
8321a07ba9
More additions for sqlite support
pirms 5 gadiem
Ben Kurtovic
ca58aac413
Add sqlite3 backend to replace mysql
pirms 5 gadiem
Ben Kurtovic
abd736ce4e
Fix flask_mako import
pirms 5 gadiem
Ben Kurtovic
d9b49d84f9
Tweak phrasing
pirms 5 gadiem
Ben Kurtovic
29861c1118
Revert previous; literal_eval is necessary here. Add error handling.
pirms 6 gadiem
Ben Kurtovic
a63e4e2236
Safer parsing for Turnitin API result.
pirms 6 gadiem
Ben Kurtovic
586ba633f8
Use tools-static.wmflabs.org for jquery.
pirms 7 gadiem
Ben Kurtovic
79866da842
Strip whitespace.
pirms 7 gadiem
Ben Kurtovic
088dfe6197
Again, fix link and cleanup.
pirms 7 gadiem
Ben Kurtovic
1e5ca3f93e
Minor style tweak; link fix.
pirms 7 gadiem
Ben Kurtovic
341c882a50
Fix template.
pirms 7 gadiem
Ben Kurtovic
21aad51375
Fix unnecessary extra work.
pirms 7 gadiem
Ben Kurtovic
693fef3861
Fix include.
pirms 7 gadiem
Ben Kurtovic
63f1ae98c4
Show warning when a page has an attribution template.
pirms 7 gadiem
Ben Kurtovic
a2df4bba0a
Tweak parameters.
pirms 8 gadiem
Ben Kurtovic
c0af265318
Unnecessary slash.
pirms 8 gadiem
Ben Kurtovic
1076959f71
Bugfix in highlight_delta() call; clarify docs.
pirms 8 gadiem
Ben Kurtovic
2a81217de8
Add support for detailed text comparison in API (T132949)
pirms 8 gadiem
Ben Kurtovic
f448d06846
Yandex -> Google
pirms 8 gadiem
Ben Kurtovic
3e8dc731da
Bing -> Yandex
pirms 8 gadiem
Ben Kurtovic
9289a221de
Rebrand Yahoo -> Bing.
pirms 8 gadiem
Ben Kurtovic
8be5c63bc1
Turnitin bugfix.
pirms 8 gadiem