Nemoralis
dee657430f
Fix lego messages
4 месяцев назад
Nemoralis
8033face70
Fix CI
4 месяцев назад
Nemoralis
a5d9aa6538
Remove cv-cached class
4 месяцев назад
Nemoralis
333ac7a8cc
Fix CI errors
4 месяцев назад
Nemoralis
114b0d3169
Enable pytest for translations
4 месяцев назад
Nemoralis
d5e7f796a4
Add localization support
4 месяцев назад
Ben Kurtovic
9afe906c6e
Disable non-functional turnitin API
4 месяцев назад
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 месяцев назад
Ben Kurtovic
44dfc517ac
Merge pull request #65 from earwig/dependabot/uv/idna-3.15
Bump idna from 3.13 to 3.15
4 месяцев назад
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 месяцев назад
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 месяцев назад
Ben Kurtovic
ca24db7cd0
Don't send session cookies in static files
5 месяцев назад
Ben Kurtovic
32ac770abc
Unset Set-Cookie when serving static files
5 месяцев назад
Ben Kurtovic
270ad50cf5
Set Cache-Control on static files with a version tag
5 месяцев назад
Ben Kurtovic
f03a58a802
Improve background URL generation
5 месяцев назад
Ben Kurtovic
67cadd1e61
Bump earwigbot to fix import bug and get pre-commit working
5 месяцев назад
Ben Kurtovic
b4dc30b101
Add uv.lock
5 месяцев назад
Ben Kurtovic
79f171d528
Set up pre-commit hooks to run on push
5 месяцев назад
Ben Kurtovic
ece0a0b6be
Rerun ruff format
5 месяцев назад
Ben Kurtovic
dd75cbfcac
Fix a small pyright/editor warning
5 месяцев назад
Ben Kurtovic
b7bb289c30
Merge pull request #64 from ChlodAlejandro/python3
Parse string-type datetime in checker
5 месяцев назад
Chlod Alejandro
d324986f66
parse string-type datetime in checker
Happens to cause issues when using a SQLite engine.
5 месяцев назад
Ben Kurtovic
b9c17fdc12
Merge pull request #63 from ChlodAlejandro/python3-auth-redirect
Fix post-auth redirection
5 месяцев назад
Ben Kurtovic
979b4e3c87
Merge pull request #62 from ChlodAlejandro/python3
add hasattr check to search results
5 месяцев назад
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 месяцев назад
Chlod Alejandro
e8409cf879
add hasattr check to search results
Fixes broken API responses due to `AttributeError`s (#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 лет назад