Ben Kurtovic
79f171d528
Set up pre-commit hooks to run on push
před 5 měsíci
Ben Kurtovic
ece0a0b6be
Rerun ruff format
před 5 měsíci
Ben Kurtovic
dd75cbfcac
Fix a small pyright/editor warning
před 5 měsíci
Ben Kurtovic
b7bb289c30
Merge pull request #64 from ChlodAlejandro/python3
Parse string-type datetime in checker
před 5 měsíci
Chlod Alejandro
d324986f66
parse string-type datetime in checker
Happens to cause issues when using a SQLite engine.
před 5 měsíci
Ben Kurtovic
b9c17fdc12
Merge pull request #63 from ChlodAlejandro/python3-auth-redirect
Fix post-auth redirection
před 5 měsíci
Ben Kurtovic
979b4e3c87
Merge pull request #62 from ChlodAlejandro/python3
add hasattr check to search results
před 5 měsíci
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 ).
před 5 měsíci
Chlod Alejandro
e8409cf879
add hasattr check to search results
Fixes broken API responses due to `AttributeError`s (#58 ).
před 5 měsíci
Ben Kurtovic
f606743b4d
Fix another jinjaism
před 5 měsíci
Ben Kurtovic
06ac61d1dd
Fix another jinjaism
před 5 měsíci
Ben Kurtovic
0d6f5c2e78
Fix a jinja2ism
před 5 měsíci
Ben Kurtovic
062f235e24
Fix a missing return
před 5 měsíci
Ben Kurtovic
344d13832a
Fixes for pymysql
před 5 měsíci
Ben Kurtovic
770fb794c0
Fix instance-relative config setup
před 5 měsíci
Ben Kurtovic
80d1b3355a
Fix swallowing HTTP errors
před 5 měsíci
Ben Kurtovic
0dd59415d9
Typo fix
před 5 měsíci
Ben Kurtovic
f330db4dd4
Update SQL schema
před 5 měsíci
Ben Kurtovic
e473e9ea38
Bump ruff/pyright versions
před 5 měsíci
Ben Kurtovic
580ba64ee3
Update Makefile
před 5 měsíci
Ben Kurtovic
769fc7f7bb
Mostly finish Jinja refactoring
před 1 rokem
Ben Kurtovic
7826e87534
More Python 3 conversion and heavy refactoring
před 2 roky
Ben Kurtovic
367a14d3ac
Initial Python 3 conversion
před 2 roky
Ben Kurtovic
c14c3762ce
Background thumbnail size must be a known size
před 6 měsíci
Ben Kurtovic
865c4b5f7e
Try to make sessions more persistent
před 8 měsíci
Ben Kurtovic
349c47aead
Disable multi-source logic for now until frontend can render
před 1 rokem
Ben Kurtovic
5c0a2d45b4
Merge pull request #52 from earwig/feat/auth
Require OAuth for search engine checks
před 2 roky
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.
před 2 roky
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.
před 2 roky
Chlod Alejandro
bb28ba4472
update resources
před 2 roky
Ben Kurtovic
19c873f1c8
Random bugfixes
před 2 roky
Ben Kurtovic
23663afbe2
Fix background URL generation
před 4 roky
Ben Kurtovic
3c09a05d8c
Fix
před 5 roky
Ben Kurtovic
13b548a8d5
Form restyling; layout cleanup/responsiveness
před 5 roky
Ben Kurtovic
b74efeed0e
Flipped condition
před 5 roky
Ben Kurtovic
5d18a911fb
Forgot to update min.css
před 5 roky
Ben Kurtovic
79ec7a3319
Styling tweaks
před 5 roky
Ben Kurtovic
208ebd3628
Restyling
před 5 roky
Ben Kurtovic
2254a68bc8
Styling tweaks
před 5 roky
Ben Kurtovic
15f3aee20b
Center background
před 5 roky
Ben Kurtovic
1d91b9171b
Clean up CSS/JS; new minify pipeline; rework footer
před 5 roky
Ben Kurtovic
0a81acfa5c
Even better error handling
před 5 roky
Ben Kurtovic
b134ef67ba
Even better error handling
před 5 roky
Ben Kurtovic
c829590bc9
Bugfix
před 5 roky
Ben Kurtovic
ad87596e37
Better error handling for revision IDs
před 5 roky
Ben Kurtovic
85a7bbfc5e
Rename confidence to similarity in most user-facing text
před 5 roky
Ben Kurtovic
38c03e334b
Add log analysis script and improve API docs
před 6 roky
Ben Kurtovic
eacb294735
Update URLs
před 6 roky
Ben Kurtovic
4cebe36eee
Validate site info if not in sites DB
před 7 roky
Ben Kurtovic
96ac14ec38
Use rvslots for fetching revision content
před 7 roky