-
Notifications
You must be signed in to change notification settings - Fork 2
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
New Release v1.28.0 - #minor #473
Merged
Merged
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
PB-844: docker compose use postgis version 16
In #440 we added CommonMiddlewareWithInternalRedirect to respond to URLs that don't end with a trailing slash without user-visible redirection. This was primarily done to handle a limitation of AWS API Gateway v1. We eventually decided to use API Gateway v2 which does not have this limitation. Hence, we remove this code that is not useful and update the tests accordingly. This is basically a revert of #440 although we keep some of the test refactoring/improvements.
This should fix the following failure: ``` app/tests/test_admin_page.py:337:25: W1309: Using an f-string that does not have any interpolated variables (f-string-without-interpolation) ```
PB-796: remove CommonMiddlewareWithInternalRedirect.
PB-950 Use renamed RDS secrets
…nly when viewed from collection
…sset-object PB-917: Save file size on asset object
Endpoint to get list of items is sometimes slow. This is due to the sql query that the postgresql planner does not optimize properly, even though the indexes seem to be set as expected. Using a subquery to filter greatly improves the performance (up to 1 second reduction in query execution time).
PB-962: Improve performance to list items
Fix unapplied changes to spec.
Add optional href field to request body of create/update asset.
Fix spec asset href
PB-1071: add new mime types for Zipped LAS and Cloud Optimized Point
PB-1008 Test the ch.are pattern
We are delegating the authentication to API Gateway which sets the `Geoadmin-Username` header. However due to how API Gateway and JWT-based authentication work, the header is only set at login time. It is on the service to keep track of the user afterwards. This change updates service-stac in Dev to trust the `Geoadmin-Username` header if it is present. Then service-stac persists the user across their whole session. Relevant documentation is at https://docs.djangoproject.com/en/5.1/howto/auth-remote-user/
PB-1009: trust API Gateway to authenticate users.
…y provider The response from the /collections route can now be filtered by provider. The get method of COllectionList has also been re-factored to reduce code repetition. In order to achieve this, filter_queryset has been overwritten in CollectionList to read the provider argument and filter the dataset accordingly.
…by-provider PB-224: Added a query parameter on the /collections route to filter by provider
benschs
approved these changes
Nov 25, 2024
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.
The deployment on DEV has been done and tested (locally) successfully. As such, I want to merge develop into master to conduct further integration tests.
For reminder, this is the feature being added.