Chlod Alejandro
903e27e9d8
fix post-auth redirection
Turns out the next URL redirection got cleared from
the session before it gets used. Moved the logic
around to make sure that doesn't happen (#58 ).
5 месяцев назад
Ben Kurtovic
f606743b4d
Fix another jinjaism
5 месяцев назад
Ben Kurtovic
06ac61d1dd
Fix another jinjaism
5 месяцев назад
Ben Kurtovic
0d6f5c2e78
Fix a jinja2ism
5 месяцев назад
Ben Kurtovic
062f235e24
Fix a missing return
5 месяцев назад
Ben Kurtovic
344d13832a
Fixes for pymysql
5 месяцев назад
Ben Kurtovic
770fb794c0
Fix instance-relative config setup
5 месяцев назад
Ben Kurtovic
80d1b3355a
Fix swallowing HTTP errors
5 месяцев назад
Ben Kurtovic
0dd59415d9
Typo fix
5 месяцев назад
Ben Kurtovic
f330db4dd4
Update SQL schema
5 месяцев назад
Ben Kurtovic
e473e9ea38
Bump ruff/pyright versions
5 месяцев назад
Ben Kurtovic
580ba64ee3
Update Makefile
5 месяцев назад
Ben Kurtovic
769fc7f7bb
Mostly finish Jinja refactoring
1 год назад
Ben Kurtovic
7826e87534
More Python 3 conversion and heavy refactoring
2 лет назад
Ben Kurtovic
367a14d3ac
Initial Python 3 conversion
2 лет назад
Ben Kurtovic
c14c3762ce
Background thumbnail size must be a known size
6 месяцев назад
Ben Kurtovic
865c4b5f7e
Try to make sessions more persistent
8 месяцев назад
Ben Kurtovic
349c47aead
Disable multi-source logic for now until frontend can render
1 год назад
Ben Kurtovic
5c0a2d45b4
Merge pull request #52 from earwig/feat/auth
Require OAuth for search engine checks
2 лет назад
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.
2 лет назад
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.
2 лет назад
Chlod Alejandro
bb28ba4472
update resources
2 лет назад
Ben Kurtovic
19c873f1c8
Random bugfixes
2 лет назад
Ben Kurtovic
23663afbe2
Fix background URL generation
4 лет назад
Ben Kurtovic
3c09a05d8c
Fix
5 лет назад
Ben Kurtovic
13b548a8d5
Form restyling; layout cleanup/responsiveness
5 лет назад
Ben Kurtovic
b74efeed0e
Flipped condition
5 лет назад
Ben Kurtovic
5d18a911fb
Forgot to update min.css
5 лет назад
Ben Kurtovic
79ec7a3319
Styling tweaks
5 лет назад
Ben Kurtovic
208ebd3628
Restyling
5 лет назад
Ben Kurtovic
2254a68bc8
Styling tweaks
5 лет назад
Ben Kurtovic
15f3aee20b
Center background
5 лет назад
Ben Kurtovic
1d91b9171b
Clean up CSS/JS; new minify pipeline; rework footer
5 лет назад
Ben Kurtovic
0a81acfa5c
Even better error handling
5 лет назад
Ben Kurtovic
b134ef67ba
Even better error handling
5 лет назад
Ben Kurtovic
c829590bc9
Bugfix
5 лет назад
Ben Kurtovic
ad87596e37
Better error handling for revision IDs
5 лет назад
Ben Kurtovic
85a7bbfc5e
Rename confidence to similarity in most user-facing text
5 лет назад
Ben Kurtovic
38c03e334b
Add log analysis script and improve API docs
6 лет назад
Ben Kurtovic
eacb294735
Update URLs
6 лет назад
Ben Kurtovic
4cebe36eee
Validate site info if not in sites DB
7 лет назад
Ben Kurtovic
96ac14ec38
Use rvslots for fetching revision content
7 лет назад
Ben Kurtovic
ce18eb9065
Disable form submission button while loading
7 лет назад
Ben Kurtovic
4c428d4d2b
Better error message when the tool runs out of search quota
7 лет назад
Ben Kurtovic
c73179b28c
Update highlighter for new MarkovChain implementation
7 лет назад
Ben Kurtovic
f4812b20e5
Reduce worker counter to 8
7 лет назад
Ben Kurtovic
01cd6dc763
Make caching advisory and reduce db lock duration
7 лет назад
Ben Kurtovic
8321a07ba9
More additions for sqlite support
7 лет назад
Ben Kurtovic
ca58aac413
Add sqlite3 backend to replace mysql
7 лет назад
Ben Kurtovic
abd736ce4e
Fix flask_mako import
7 лет назад