-
-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(backend): ProjectUserDict usage and standardise geojson parsing/u…
…sage throughout (#1659) * fix(backend): improve get_uid function to be flexible (AuthUser, DbUser, dict) * refactor: standardise geojson usage to featcol via jazzband/geojson * refactor: update schemas to better divide geojson_pydantic and geojson * refactor: update function names form postgis_utils * refactor(backend): usage of ProjectUserDict project obj in project_routes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactor: replace authuser by projectuserdict in task_routes and submission_routes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactor: reduce extra projects call function in submission_crud * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: added back the code from develop to handle multipolygon geoms * refactor: fix pre-commit errors for ruff * refactor: rename current_user --> project_user (dict) * refactor: minor changes for auth types --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: sujan <[email protected]>
- Loading branch information
1 parent
35e1f60
commit 018605b
Showing
16 changed files
with
399 additions
and
552 deletions.
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
Oops, something went wrong.