-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Python 3 Migration #225
Merged
Merged
Python 3 Migration #225
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fix html setting post.
* Add google chat api models * add google chat webhook formatting * improve webhook error handling * update webhook tests * Delete testdoc.xlsx --------- Co-authored-by: William Leighton Dawson <leighton@thinkst.com>
* add generic data to DNS hits and alerts * Add unit test for _generic() * remove isort, update test, improve gen data b32 padding * add toml to dev dependencies * continue on unit test fail
* add initial email and domain blocking * add unit test for email blocking and unblocking * add error codes to responses (frontend still doesn't show the right thing) * add v3 deploy workflow * remove redundant build workflow * add unit test for email blocking * add /legal and banners, make script runnable directly * enable tests, add integration test for error codes * separate poetry call from install use pipx to install poetry on windows * exclude skipped tests from coverage
* make kube ca/cert gen cleaner, put server ca in token, match extensions with actual kubernetes setup * reduce log output * update mysql test * use https for live v2
* rename backend to frontend * target T5234_v3_deploy_workflow docker branch, and include commit sha * hard-code env file locations & make tests run from inside /tests * add option to disable sentry * make test_custom_image.py::test_custom_image_web_image ~3x faster * fix rate-limiting, move .env to .env.dist
…to v3 (#199) * add request headers and args to webhooks * minor changes and catch-ups with v2
* add mailgun support and a unit test, update test workflow
* add azure id token to v3 * exclude aws and azure tokens from auto-generation in frontend tests
add pdf_gen unit test remove invalid CSS
* unify env tile formats * make sentry optional * add pdf_gen unit test * remove invalid CSS * add ipinfo api key and set globally in queries * fix typo
* add log.ini * add frontend log config and switchboard web logging * update k8s key fetch url; fix kubectl install in devcontainer * bump pyngrok to 6.0.0; update poetry.lock
* Fix error log str fmt * Fix windir data extraction * Delete unused files * Fix typo * Improve test
* make log.error use format strings, make l&r optional on SlowRedirectHit * remove token_url * fix canarydrops * fix auth error for non-existent tokens * fix QR code GIF return mimetype * match v2 for alert_{email,webhook}_{url,enabled} defaults * fix devcontainer frontend ports * make location and referer optional and allow location to be PseudoUrl * let clonedsite work on domains not urls * fix slow redirect tokens
* fix email token rendering on /manage page * fix timestamps on /history * fix /generate not showing url for web & redirect tokens * remove signed-exe /manage page download; fix broken links * fix jpeg mimetype, make response error less confusing * make error responses return 400 by default, configurable * replace ngrok with webhook.site * fix sensitive cmd token frontend and .reg template
thinkst-pieter
approved these changes
Jul 20, 2023
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes all our changes to migrate to Python 3. They have been reviewed and tested already in their respective PRs referenced in the commits.
There will be two additional commits:
And finally, before merging: