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