-
-
Notifications
You must be signed in to change notification settings - Fork 962
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
refactor: update Django to 4.2 LTS #1545
Closed
Closed
Changes from 23 commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
6e591c0
add: new vegetation index
NtskwK 0655a48
Merge branch 'OpenDroneMap:master' into master
NtskwK 426c62d
Merge branch 'OpenDroneMap:master' into master
NtskwK 1567a8b
Merge branch 'OpenDroneMap:master' into master
NtskwK cac4eeb
Merge branch 'OpenDroneMap:master' into master
NtskwK f0213e7
Merge branch 'OpenDroneMap:master' into master
NtskwK a3ab91f
Merge branch 'OpenDroneMap:master' into master
NtskwK 62c33ec
Merge branch 'OpenDroneMap:master' into master
NtskwK 37e1619
Merge branch 'OpenDroneMap:master' into master
NtskwK e2e4fb3
style: Update scss style to fit webpack in new version
NtskwK 50c70de
Merge branch 'master' of github.com:NtskwK/WebODM
NtskwK edb3b99
feat: add .vscode to .gitignore
NtskwK 844297b
feat: remove version tag from docker-compose files
NtskwK 197e72c
feat: update postgresql to 16.1
NtskwK e1656cd
feat: update webpack config for hash filename
NtskwK 83ab170
refactor: update celery loglevel in worker.sh for new performance
NtskwK d694ed8
refactor: ingore authentication.py for rest_framework_jwt.authentication
NtskwK b103c57
feat: add GDAL version check and makemigrations in start.sh
NtskwK 9e1c5b8
refactor: change Docker base image to Ubuntu 20.04
NtskwK 040392f
chore: update rio_tiler to 6.6.1
NtskwK 5289cd1
refactor: update Django to 4.2 LTS
NtskwK f32feae
feat: create postgis_raster extensions with Django
NtskwK bda999d
Merge branch 'OpenDroneMap:master' into master
NtskwK 44fc1ba
fix: add slash behind path routes
NtskwK fe39546
refactor: update Docker base image to Ubuntu 22.04
NtskwK dc6a15b
refactor: update docker actions
NtskwK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
from rest_framework_jwt.authentication import BaseJSONWebTokenAuthentication | ||
|
||
|
||
class JSONWebTokenAuthenticationQS(BaseJSONWebTokenAuthentication): | ||
def get_jwt_value(self, request): | ||
return request.query_params.get('jwt') | ||
# from rest_framework_jwt.authentication import BaseJSONWebTokenAuthentication | ||
# | ||
# jwt_decode_handler = api_settings.JWT_DECODE_HANDLER | ||
# jwt_get_username_from_payload_handler = api_settings.JWT_PAYLOAD_GET_USERNAME_HANDLER | ||
# | ||
# class JSONWebTokenAuthenticationQS(BaseJSONWebTokenAuthentication): | ||
# def get_jwt_value(self, request): | ||
# return request.query_params.get('jwt') |
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
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
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
Oops, something went wrong.
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.
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.
Curious about the move from 21 to 20 here. Due to the upcoming EOL of 20.04 would it make sense to work on bumping this to 22.04 or higher?
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.
Version of ubuntu in Docker
webodm_db
andwebodm_webapp
should be same to ensure apt will install some package in the same version. Maybe I should to update both?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.
Done. The base image is Ubuntu 22.04 now, because PDAL can not be found by apt in Ubuntu 24.04.
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.
Yeah 24 is still fairly new but 22 has plenty of life left in it.