Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: update role coumn in use profilem, now role will be store in array * fix: fix role issues of user in profile update endpoint * feat: added new endpoints for project centroids * feat: update status & ongoing task on project endpoint * fix: remove unused code from update profile * feat: update role text on signin/signup * feat: redirect to complete profile page if the current signin role is not includes in role list * feat: update text `Drone Oprerator` to `DRONE_OPERATOR` and `Project Creator` to `PROJECT_CREATOR` * feat: update role case for readability * feat: post new role with existing role on profile add as new role * feat: update text `DRONE_OPERATOR` to `DRONE_PILOT` * feat(project-dashboard): fetch projects centroid list * feat(project-dashboard): use separate api to show all projects (not-paginated) on map * fix: return, don't redirect to complete profile if userDetail is not success * feat: added user role in access token * feat: added role of user in auth * fix: reslove project completed status after images processing * feat: return row data on table row click * feat(individual-project): add task_id on contribution table row * feat: cursor pointer if handleTableRowClick function is available * feat: update type of handleRowClick function params * feat(individual-project): store necessary details of task clicked on table on redux * fix: update task counts & user task based on role * feat: show popup on setting property from outside the map * feat: added restriction on task lock request, only project author & drone operator can request the task * feat:(individual-project): pass clicked task details , popup coordinarte on AsyncPopup component and clear task details state on popup close * refac: remove print & commented code from get projects * feat: add user role on login payload * fix: added role on pydentic class to validate * refac: update user task lists & added log for user role * feat: added new image processing state called as IMAGE_PROCESSING_FAILED * feat: call user details api on gogle login success and store on local storage * feat: redirect to complete profile section if the current user role is not exists on users details role list * feat: remove set timeout * feat: redirect to complete profile section if the current user role is not exists on users details role list * feat(task-description): show response message on toast on task lock/unlock * updated s3 utility function for forward slash * feat(profile-complete): update profile and invalidate the query to refetch the updated profile data * feat(user-profile): fetch user details on edit profile page mount * feat: added the new state for task when image processing failed * fix: reslove syntax errors on statistics endpoint * feat: remove api call on user profile for user details page and call on header * feat: update status in project details endpoint * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.6.9 → v0.7.0](astral-sh/ruff-pre-commit@v0.6.9...v0.7.0) * feat: update the status & project creation time on project lists * feat: update task events endpoint for the task image uploaded * feat: added the new case for re-run the image task processing... * feat: updated status of task on get_assets_info * feat: add static cumulative task status values * feat(dashboard): Show task list as per active status card and show detailed status on status column on list * feat(project-details): Replace old Breadcrumb with dynamic one * feat(project-details): Show Unflyable task on map * feat(main-dashboard): add unit of task area on table column header * fix: updating image after image processing... * feat(task-description): remove padding * feat(task-description): update breadcrumb * fix: comment the task restrictions * feat(task-description): remove unnecessary animation code * feat(task-description): show image processing status show re-upload and re-run `processing button in case of failure * feat: upload image component UI and functionality * feat(task-description): update UI of TaskDescription * feat(task-description): trigger status updating api on image upload and image processing starter api success * feat: update image processing rerun function * fix(task-description): make rerun button visible only on imnage process failure * fix(task-description): make rerun button visible only on image process failure * feat: create utill function to format the string with the help of regex remove underscore make first character uppercase and rest of the character lowercase * feat: convert the task state into readable text * feat: added the get orthophoto tile endpoints * hotfix: update task status as completed after image processing... * hotfix: update task status as completed after image processing... * hotfix(taskStatus): update task status as completed after image processing... * fix: pass the matching args to download_and_upload_assets_from_odm_to_s3 * fix: update state of task after image processes * feat: re-upload the images from pre-signed urls * feat(individual-project): show image-processed/task-completed on map * feat: handle state event for image re-upload * feat(project-description): add `image processing failed` state of map task on map * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/commitizen-tools/commitizen: v3.29.1 → v3.30.0](commitizen-tools/commitizen@v3.29.1...v3.30.0) - [github.com/astral-sh/ruff-pre-commit: v0.7.0 → v0.7.1](astral-sh/ruff-pre-commit@v0.7.0...v0.7.1) * feat(task-description): save uploading image (replace/add) on redux store * feat(task-description): add options to choose want to replace the image or add on existing imags while uploading images * feat(task-description): get presigned url as per the type(replace the images/ add to existing images) * fix: update status text on formating `Image Processed` to `Completed` * fix: issues slove on updated imgaes delete on s3 buckets * fix: options passed in odm task * fix: added options for image processing for orthophooto formats * feat(task-description): update status on rerun processing * feat: create orhtophoto preview modal * fix: added options dsm true only * feat: update outline and bbox of task in task details endpoint * docs: start documentation for setting up dev server * ci: update docs build trigger to develop branch * build: update node and web ODM versions, document compose file * docs: extra info in dev setup docs * docs: info for creating wpml flightplan manually * docs: fix link to generate-flightplans.md * build: add extra dependency groups to pyproject * docs: indent code so list counting works * docs: update progress in roadmap, image upload is possible * fix: Adjust task dimensions to allow customization and prevent accidental rectangles * refac: remove ## from import section * feat(project-details): add more details on task listing table like outline and bbox and save clicked task geometry details on redux store * feat: add TaskOrthophotoPreview component * feat(orthophoto-preview): get taskId from redux store * feat(orthophoto-preview): add tile size * feat(orthophoto-preview): save outline of task on taskDescription response success * feat(task-description): update status on rerun processing * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/ruff-pre-commit: v0.7.1 → v0.7.2](astral-sh/ruff-pre-commit@v0.7.1...v0.7.2) * fix(s3-config): update S3 bucket name & path prefix to mimic with dev & prd * refac: s3 bucket path name * refac: refactor orthophoto tile retrieval for improved safety and efficiency * feat(orthophoto-preview): fit bounds before adding orthophoto source and layer * feat(orthophoto-preview): Load orthophoto tiles dynamically based on viewport and zoom level restrict loading to zoom levels >= 12 and task bound is not on view * FrontendImageScan: Disabled as aquasec db fetch failed numerous times * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/commitizen-tools/commitizen: v3.30.0 → v3.30.1](commitizen-tools/commitizen@v3.30.0...v3.30.1) - [github.com/astral-sh/ruff-pre-commit: v0.7.2 → v0.7.3](astral-sh/ruff-pre-commit@v0.7.2...v0.7.3) * feat: add `COGOrthophotoViewer` component * feat: add `@geomatico/maplibre-cog-protocol` and update `maplibre-gl` version to support COG file * feat: implement `COGOrthophotoViewer` to preview task orthophoto * refactor: add task validation with pydantic, Improve DB handling & error logging (#328) * refac: refactor database connection handling and improve error logging in task processing * feat: add task retrieval endpoint with Pydantic validation * feat: Add Pydantic validation for task statistics endpoint response * refactor: vove event handling logic from route.py to logic.py * feat: add reprojection of orthophoto to EPSG:3857 before uploading to S3 * docs: added docs string on image processing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: added try-except to handle/track the error * feat: Add reprojection of orthophoto to EPSG:3857 before uploading to S3 (#333) * feat: add reprojection of orthophoto to EPSG:3857 before uploading to S3 * docs: added docs string on image processing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: added try-except to handle/track the error --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat: add s3 endpoint to vite `defineConfig` * feat(orthophoto-preview): add dynamic source with the url prepended with `cog://` to preview orthophoto * Update MapLibre and Integrate COG Protocol for Efficient Orthophoto Rendering (#334) * feat: add `COGOrthophotoViewer` component * feat: add `@geomatico/maplibre-cog-protocol` and update `maplibre-gl` version to support COG file * feat: implement `COGOrthophotoViewer` to preview task orthophoto * feat: add s3 endpoint to vite `defineConfig` * feat(orthophoto-preview): add dynamic source with the url prepended with `cog://` to preview orthophoto --------- Co-authored-by: Sujit <[email protected]> * feat: make required changes for `loadImage` on map libre version updation to 4 * feat: make required changes for cluster on map libre version updation to 4 * feat: add `COG_URL` * feat: remove rio tiler package & update authord_id in project details endpoint * feat: update author_id in project lists * feat: remove rio-tiler package & update author_id in project details endpoint (#337) * feat: add reprojection of orthophoto to EPSG:3857 before uploading to S3 * docs: added docs string on image processing function * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: added try-except to handle/track the error * feat: remove rio tiler package & update authord_id in project details endpoint * feat: update author_id in project lists --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * fix: remove rio_tiler from project logic * Feat: Refactor project creartion form UI and improve map interactivity (#339) * feat(project-creation-form): form wrapper UI update * feat(project-creation-form): form header update * feat(project-creation-form): form step switcher UI update * feat(project-creation-form): update wrapper of form content and description * feat(project-creation-form): update basic information form information and form content * feat(project-creation-form): update define AOI form information and form content * feat(project-creation-form): update Key parameters form information and form content UI * feat(project-creation-form): update generate task step form information and form content UI * feat(project-creation-form): add animaiton on info text * feat(project-creation-form): update contribution step form information and form content UI * feat(project-creation-form): update style on form wrapper * feat(dashboard): make UI responsive * feat(project-creation-form): clear all state on form component unmount * feat(task-description): prevent click event untill processing starter api and status updation success * feat(project-description): add getLayerOptionsByStatus static function * feat(project-description): refactor dynamic fill color as per task status using `getLayerOptionsByStatus` * feat(project-description): separate the logic of showing `go To Task`/`Lock Task` button by the use of `showPrimaryButton` function * feat: restrict user redirection to complete profile if user profile is loading * feat: add maxBounds `[[-179, -89],[179, 89]]` to restrict map panning --------- Co-authored-by: Sujit <[email protected]> * [pre-commit.ci] pre-commit autoupdate (#340) updates: - [github.com/commitizen-tools/commitizen: v3.30.1 → v3.31.0](commitizen-tools/commitizen@v3.30.1...v3.31.0) - [github.com/astral-sh/ruff-pre-commit: v0.7.3 → v0.7.4](astral-sh/ruff-pre-commit@v0.7.3...v0.7.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Fix: Application crash on file upload and implement zoom to orthophoto (#341) * feat(project-creation-form): form wrapper UI update * feat(project-creation-form): form header update * feat(project-creation-form): form step switcher UI update * feat(project-creation-form): update wrapper of form content and description * feat(project-creation-form): update basic information form information and form content * feat(project-creation-form): update define AOI form information and form content * feat(project-creation-form): update Key parameters form information and form content UI * feat(project-creation-form): update generate task step form information and form content UI * feat(project-creation-form): add animaiton on info text * feat(project-creation-form): update contribution step form information and form content UI * feat(project-creation-form): update style on form wrapper * feat(dashboard): make UI responsive * feat(project-creation-form): clear all state on form component unmount * feat(task-description): prevent click event untill processing starter api and status updation success * feat(project-description): add getLayerOptionsByStatus static function * feat(project-description): refactor dynamic fill color as per task status using `getLayerOptionsByStatus` * feat(project-description): separate the logic of showing `go To Task`/`Lock Task` button by the use of `showPrimaryButton` function * feat: restrict user redirection to complete profile if user profile is loading * feat: add maxBounds `[[-179, -89],[179, 89]]` to restrict map panning * fix(#332): fix crash application on file upload on firefox in firefox `File.lastmodifiedDate` has no longer support fixed replacing `lastModifiedDate` with `lastModified` * feat: add zoomToLayer optional feature on COGOrthophotoViewer component * feat(orthophoto-preview): implement zoom to orthohphoto --------- Co-authored-by: Sujit <[email protected]> * Upload align.laz along with Drone Images (#343) * Upload GCP along with Drone Images * Add align.laz to available uploads * Add descriptions for align * add align.laz modal --------- Co-authored-by: Niraj Adhikari <[email protected]> * fix: update take-off point from 200m to 350m (#348) * docs: add pull request template * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * refactor(frontend): reset takeoff point state incase the location is not valid (#351) * optimize: zoom to geotiff to bounds --------- Co-authored-by: Sujit <[email protected]> Co-authored-by: Niraj Adhikari <[email protected]> Co-authored-by: Niraj Adhikari <[email protected]> Co-authored-by: Sujit <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sam <[email protected]> Co-authored-by: spwoodcock <[email protected]> Co-authored-by: Nischal Shrestha <[email protected]> Co-authored-by: Stephen Mather <[email protected]> Co-authored-by: Bijay Rauniyar <[email protected]>
- Loading branch information