Ben Kurtovic
8fc5263bd0
Add check history table; move login gate earlier
2 mesi fa
Ben Kurtovic
4b3505761e
Missed a schema update
2 mesi fa
Ben Kurtovic
a9b4dbb7f8
Record more info in cache table
2 mesi fa
Ben Kurtovic
ea0f5c2846
Merge pull request #70 from earwig/dependabot/uv/uv-652291023f
Bump the uv group across 1 directory with 2 updates
3 mesi fa
dependabot[bot]
a8b61a446b
Bump the uv group across 1 directory with 2 updates
Bumps the uv group with 2 updates in the / directory: [nltk](https://github.com/nltk/nltk ) and [soupsieve](https://github.com/facelessuser/soupsieve ).
Updates `nltk` from 3.9.4 to 3.10.0
- [Release notes](https://github.com/nltk/nltk/releases )
- [Changelog](https://github.com/nltk/nltk/blob/develop/ChangeLog )
- [Commits](https://github.com/nltk/nltk/compare/3.9.4...v3.10.0 )
Updates `soupsieve` from 2.8.3 to 2.8.4
- [Release notes](https://github.com/facelessuser/soupsieve/releases )
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.8.3...2.8.4 )
---
updated-dependencies:
- dependency-name: nltk
dependency-version: 3.10.0
dependency-type: indirect
dependency-group: uv
- dependency-name: soupsieve
dependency-version: 2.8.4
dependency-type: indirect
dependency-group: uv
...
Signed-off-by: dependabot[bot] <support@github.com>
3 mesi fa
Ben Kurtovic
7b8e1a1ebd
Merge pull request #69 from earwig/dependabot/uv/soupsieve-2.8.4
Bump soupsieve from 2.8.3 to 2.8.4
3 mesi fa
Ben Kurtovic
31c679c3bb
Merge pull request #67 from earwig/dependabot/uv/pyjwt-2.13.0
Bump pyjwt from 2.12.1 to 2.13.0
3 mesi fa
dependabot[bot]
51a55faff6
Bump soupsieve from 2.8.3 to 2.8.4
Bumps [soupsieve](https://github.com/facelessuser/soupsieve ) from 2.8.3 to 2.8.4.
- [Release notes](https://github.com/facelessuser/soupsieve/releases )
- [Commits](https://github.com/facelessuser/soupsieve/compare/2.8.3...2.8.4 )
---
updated-dependencies:
- dependency-name: soupsieve
dependency-version: 2.8.4
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
3 mesi fa
dependabot[bot]
23ea9998e5
Bump pyjwt from 2.12.1 to 2.13.0
Bumps [pyjwt](https://github.com/jpadilla/pyjwt ) from 2.12.1 to 2.13.0.
- [Release notes](https://github.com/jpadilla/pyjwt/releases )
- [Changelog](https://github.com/jpadilla/pyjwt/blob/master/CHANGELOG.rst )
- [Commits](https://github.com/jpadilla/pyjwt/compare/2.12.1...2.13.0 )
---
updated-dependencies:
- dependency-name: pyjwt
dependency-version: 2.13.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 mesi fa
Ben Kurtovic
9afe906c6e
Disable non-functional turnitin API
4 mesi fa
Ben Kurtovic
260c445b33
Merge pull request #66 from earwig/dependabot/uv/urllib3-2.7.0
Bump urllib3 from 2.6.3 to 2.7.0
4 mesi fa
Ben Kurtovic
44dfc517ac
Merge pull request #65 from earwig/dependabot/uv/idna-3.15
Bump idna from 3.13 to 3.15
4 mesi fa
dependabot[bot]
91e748e145
Bump urllib3 from 2.6.3 to 2.7.0
Bumps [urllib3](https://github.com/urllib3/urllib3 ) from 2.6.3 to 2.7.0.
- [Release notes](https://github.com/urllib3/urllib3/releases )
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst )
- [Commits](https://github.com/urllib3/urllib3/compare/2.6.3...2.7.0 )
---
updated-dependencies:
- dependency-name: urllib3
dependency-version: 2.7.0
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 mesi fa
dependabot[bot]
bceade42c9
Bump idna from 3.13 to 3.15
Bumps [idna](https://github.com/kjd/idna ) from 3.13 to 3.15.
- [Release notes](https://github.com/kjd/idna/releases )
- [Changelog](https://github.com/kjd/idna/blob/master/HISTORY.md )
- [Commits](https://github.com/kjd/idna/compare/v3.13...v3.15 )
---
updated-dependencies:
- dependency-name: idna
dependency-version: '3.15'
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
4 mesi fa
Ben Kurtovic
ca24db7cd0
Don't send session cookies in static files
5 mesi fa
Ben Kurtovic
32ac770abc
Unset Set-Cookie when serving static files
5 mesi fa
Ben Kurtovic
270ad50cf5
Set Cache-Control on static files with a version tag
5 mesi fa
Ben Kurtovic
f03a58a802
Improve background URL generation
5 mesi fa
Ben Kurtovic
67cadd1e61
Bump earwigbot to fix import bug and get pre-commit working
5 mesi fa
Ben Kurtovic
b4dc30b101
Add uv.lock
5 mesi fa
Ben Kurtovic
79f171d528
Set up pre-commit hooks to run on push
5 mesi fa
Ben Kurtovic
ece0a0b6be
Rerun ruff format
5 mesi fa
Ben Kurtovic
dd75cbfcac
Fix a small pyright/editor warning
5 mesi fa
Ben Kurtovic
b7bb289c30
Merge pull request #64 from ChlodAlejandro/python3
Parse string-type datetime in checker
5 mesi fa
Chlod Alejandro
d324986f66
parse string-type datetime in checker
Happens to cause issues when using a SQLite engine.
5 mesi fa
Ben Kurtovic
b9c17fdc12
Merge pull request #63 from ChlodAlejandro/python3-auth-redirect
Fix post-auth redirection
5 mesi fa
Ben Kurtovic
979b4e3c87
Merge pull request #62 from ChlodAlejandro/python3
add hasattr check to search results
5 mesi fa
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 mesi fa
Chlod Alejandro
e8409cf879
add hasattr check to search results
Fixes broken API responses due to `AttributeError`s (#58 ).
5 mesi fa
Ben Kurtovic
f606743b4d
Fix another jinjaism
5 mesi fa
Ben Kurtovic
06ac61d1dd
Fix another jinjaism
5 mesi fa
Ben Kurtovic
0d6f5c2e78
Fix a jinja2ism
5 mesi fa
Ben Kurtovic
062f235e24
Fix a missing return
5 mesi fa
Ben Kurtovic
344d13832a
Fixes for pymysql
5 mesi fa
Ben Kurtovic
770fb794c0
Fix instance-relative config setup
5 mesi fa
Ben Kurtovic
80d1b3355a
Fix swallowing HTTP errors
5 mesi fa
Ben Kurtovic
0dd59415d9
Typo fix
5 mesi fa
Ben Kurtovic
f330db4dd4
Update SQL schema
5 mesi fa
Ben Kurtovic
e473e9ea38
Bump ruff/pyright versions
5 mesi fa
Ben Kurtovic
580ba64ee3
Update Makefile
5 mesi fa
Ben Kurtovic
769fc7f7bb
Mostly finish Jinja refactoring
1 anno fa
Ben Kurtovic
7826e87534
More Python 3 conversion and heavy refactoring
2 anni fa
Ben Kurtovic
367a14d3ac
Initial Python 3 conversion
2 anni fa
Ben Kurtovic
c14c3762ce
Background thumbnail size must be a known size
6 mesi fa
Ben Kurtovic
865c4b5f7e
Try to make sessions more persistent
8 mesi fa
Ben Kurtovic
349c47aead
Disable multi-source logic for now until frontend can render
1 anno fa
Ben Kurtovic
5c0a2d45b4
Merge pull request #52 from earwig/feat/auth
Require OAuth for search engine checks
2 anni fa
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 anni fa
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 anni fa
Chlod Alejandro
bb28ba4472
update resources
2 anni fa