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 meses atrás
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 meses atrás
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 meses atrás
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 meses atrás
Ben Kurtovic
9afe906c6e
Disable non-functional turnitin API
4 meses atrás
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 meses atrás
Ben Kurtovic
44dfc517ac
Merge pull request #65 from earwig/dependabot/uv/idna-3.15
Bump idna from 3.13 to 3.15
4 meses atrás
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 meses atrás
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 meses atrás
Ben Kurtovic
ca24db7cd0
Don't send session cookies in static files
5 meses atrás
Ben Kurtovic
32ac770abc
Unset Set-Cookie when serving static files
5 meses atrás
Ben Kurtovic
270ad50cf5
Set Cache-Control on static files with a version tag
5 meses atrás
Ben Kurtovic
f03a58a802
Improve background URL generation
5 meses atrás
Ben Kurtovic
67cadd1e61
Bump earwigbot to fix import bug and get pre-commit working
5 meses atrás
Ben Kurtovic
b4dc30b101
Add uv.lock
5 meses atrás
Ben Kurtovic
79f171d528
Set up pre-commit hooks to run on push
5 meses atrás
Ben Kurtovic
ece0a0b6be
Rerun ruff format
5 meses atrás
Ben Kurtovic
dd75cbfcac
Fix a small pyright/editor warning
5 meses atrás
Ben Kurtovic
b7bb289c30
Merge pull request #64 from ChlodAlejandro/python3
Parse string-type datetime in checker
5 meses atrás
Chlod Alejandro
d324986f66
parse string-type datetime in checker
Happens to cause issues when using a SQLite engine.
5 meses atrás
Ben Kurtovic
b9c17fdc12
Merge pull request #63 from ChlodAlejandro/python3-auth-redirect
Fix post-auth redirection
5 meses atrás
Ben Kurtovic
979b4e3c87
Merge pull request #62 from ChlodAlejandro/python3
add hasattr check to search results
5 meses atrás
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 meses atrás
Chlod Alejandro
e8409cf879
add hasattr check to search results
Fixes broken API responses due to `AttributeError`s (#58 ).
5 meses atrás
Ben Kurtovic
f606743b4d
Fix another jinjaism
5 meses atrás
Ben Kurtovic
06ac61d1dd
Fix another jinjaism
5 meses atrás
Ben Kurtovic
0d6f5c2e78
Fix a jinja2ism
5 meses atrás
Ben Kurtovic
062f235e24
Fix a missing return
5 meses atrás
Ben Kurtovic
344d13832a
Fixes for pymysql
5 meses atrás
Ben Kurtovic
770fb794c0
Fix instance-relative config setup
5 meses atrás
Ben Kurtovic
80d1b3355a
Fix swallowing HTTP errors
5 meses atrás
Ben Kurtovic
0dd59415d9
Typo fix
5 meses atrás
Ben Kurtovic
f330db4dd4
Update SQL schema
5 meses atrás
Ben Kurtovic
e473e9ea38
Bump ruff/pyright versions
5 meses atrás
Ben Kurtovic
580ba64ee3
Update Makefile
5 meses atrás
Ben Kurtovic
769fc7f7bb
Mostly finish Jinja refactoring
1 ano atrás
Ben Kurtovic
7826e87534
More Python 3 conversion and heavy refactoring
2 anos atrás
Ben Kurtovic
367a14d3ac
Initial Python 3 conversion
2 anos atrás
Ben Kurtovic
c14c3762ce
Background thumbnail size must be a known size
6 meses atrás
Ben Kurtovic
865c4b5f7e
Try to make sessions more persistent
8 meses atrás
Ben Kurtovic
349c47aead
Disable multi-source logic for now until frontend can render
1 ano atrás
Ben Kurtovic
5c0a2d45b4
Merge pull request #52 from earwig/feat/auth
Require OAuth for search engine checks
2 anos atrás
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 anos atrás
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 anos atrás
Chlod Alejandro
bb28ba4472
update resources
2 anos atrás
Ben Kurtovic
19c873f1c8
Random bugfixes
2 anos atrás
Ben Kurtovic
23663afbe2
Fix background URL generation
4 anos atrás
Ben Kurtovic
3c09a05d8c
Fix
5 anos atrás
Ben Kurtovic
13b548a8d5
Form restyling; layout cleanup/responsiveness
5 anos atrás
Ben Kurtovic
b74efeed0e
Flipped condition
5 anos atrás