Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add function to convert exifData to GeoJson data * feat: add function to extract exif data from image file * feat: add function to sort array of objects using dateTime property * hotfix: orthophoto zoom to geotiff * refactor: handle cases of no selection * refactor: handle cases of undefined/ null data * refactor: rename item to exifData at map function * refactor: remove destructuring of state and use single var * refactor: update type for handle change event * feat: post drone registered certificate and drone pilot certificate on profile complete * refactor: update import of redux state * refactor: destructure url instead of accessing whole object and accessing url * feat: show default image on profile in case of failure * refactor: update message mutation for if the task is not flyable * refactor: reset exifData at redux state at initial render * feat(update-profile): post only the binary file on certificate * feat: add `@cyntler/react-doc-viewer` package * feat: add document preview modal * feat(dashboard): implement drone certificate preview on task lock request * fix(individual-project): task requested for lock although the project owner lockes the task * feat: set certificate & registration url in my-info endpoint * fix: document viewer details style * fix: UploadArea component * feat: show uploaded certificates on edit profile page * feat: clear selectedDocumentDetails on document preview component unmount * docs: update user roadmap with latest requirements * feat(document-preview): download certificate using blob and additional UI if the file is image * docs: tweak user roadmap based on feedback * feat: set the certificate & registration url in task request page * feat(dashboard): show drone certificate and pilot certificate on task request log * feat: ommit password section if the existing user is trying to login as another role * fix: remove comment code from task schemas * feat(regulators-approval-page): clear local storage on main page unmount * feat: implemented user certificate upload functionality, storing user certificates on S3. (#331) * feat: Implement S3 path structure & file upload for user-specific drone operator certificate uploads * refac: refactor user profile update: Add validation for empty data, handle certificate URL and role updates * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: update certificate URL in database for user profile * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: update registration registration of drone operator * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix(profile-update): UI Issue * feat: add method parameter on `callApiSimultaneously` function * feat(update-profile): post add files `certificate` and `drone registration` file along with the other details * feat: post drone registered certificate and drone pilot certificate on profile complete * feat: show default image on profile in case of failure * feat(update-profile): post only the binary file on certificate * feat: add `@cyntler/react-doc-viewer` package * feat: add document preview modal * feat(dashboard): implement drone certificate preview on task lock request * fix(individual-project): task requested for lock although the project owner lockes the task * feat: set certificate & registration url in my-info endpoint * fix: document viewer details style * fix: UploadArea component * feat: show uploaded certificates on edit profile page * feat: clear selectedDocumentDetails on document preview component unmount * feat(document-preview): download certificate using blob and additional UI if the file is image * feat: set the certificate & registration url in task request page * feat(dashboard): show drone certificate and pilot certificate on task request log * feat: ommit password section if the existing user is trying to login as another role * fix: remove comment code from task schemas * feat(regulators-approval-page): clear local storage on main page unmount --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sujit <[email protected]> * fix: set iscertifiedDroneUser initial value once * feat(user-profile): support pdf to upload certificates * feat: add zoom to extent function * refactor: remove unecessary states and handle session end of modal * refactor: rename title for imageMapBox modal * feat(project-approval-page): clear comment on approval comment success * feat: update type for coordinates * feat: make project `DescriptionSection` dynamic to render on both project description and project approval page * feat: add about section on project description page * feat: make regulator approval status optional to view on description section * feat(project-description): make map popup disabled if the regulator approval status is `REJECTED` * feat(project-description): disable popup open on table row click if requlator approval status is `REJECTED` * Adjust project description as per regulator's approval status (#361) * feat: Implement S3 path structure & file upload for user-specific drone operator certificate uploads * refac: refactor user profile update: Add validation for empty data, handle certificate URL and role updates * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: update certificate URL in database for user profile * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: update registration registration of drone operator * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix(profile-update): UI Issue * feat: add method parameter on `callApiSimultaneously` function * feat(update-profile): post add files `certificate` and `drone registration` file along with the other details * feat: post drone registered certificate and drone pilot certificate on profile complete * feat: show default image on profile in case of failure * feat(update-profile): post only the binary file on certificate * feat: add `@cyntler/react-doc-viewer` package * feat: add document preview modal * feat(dashboard): implement drone certificate preview on task lock request * fix(individual-project): task requested for lock although the project owner lockes the task * feat: set certificate & registration url in my-info endpoint * fix: document viewer details style * fix: UploadArea component * feat: show uploaded certificates on edit profile page * feat: clear selectedDocumentDetails on document preview component unmount * feat(document-preview): download certificate using blob and additional UI if the file is image * feat: set the certificate & registration url in task request page * feat(dashboard): show drone certificate and pilot certificate on task request log * feat: ommit password section if the existing user is trying to login as another role * fix: remove comment code from task schemas * feat(regulators-approval-page): clear local storage on main page unmount * fix: set iscertifiedDroneUser initial value once * feat(user-profile): support pdf to upload certificates * feat(project-approval-page): clear comment on approval comment success * feat: make project `DescriptionSection` dynamic to render on both project description and project approval page * feat: add about section on project description page * feat: make regulator approval status optional to view on description section * feat(project-description): make map popup disabled if the regulator approval status is `REJECTED` * feat(project-description): disable popup open on table row click if requlator approval status is `REJECTED` --------- Co-authored-by: Pradip-p <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sujit <[email protected]> * fix: hide approval section if the approval status has value * add trailing slash(/) in the regulator approval endpoint * style: about project * feat(project-description): show different popup message and hide task lock button if the `regulator_approval_status` is `PENDING` or `REJECTED` * fix: about typo and set default selected project tab to about * fix: capitalize tab options label * fix: update roles in existing user when auto local regulator creation * feat(regulators-approval-section): hide approval section on approval status updates * fix: remove commented code * fix: show popup on task click although the project is rejected * fix: update roles in existing user when auto local regulator creation (#362) * fix: upadate the regulator * Fix/regulator profile creation (#366) * fix: update roles in existing user when auto local regulator creation * fix: upadate the regulator * fix: reslove user roles access issues with regulator * feat: add drone altitude regulations model * feat: Add 'get all' and 'get one' endpoints for drone altitudes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * reac: Rename DbDroneAltitude class to DbDroneFlightHeight and update table name * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: Implemented endpoint to retrieve all drone altitude regulations of country (#368) * feat: add drone altitude regulations model * feat: Add 'get all' and 'get one' endpoints for drone altitudes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * reac: Rename DbDroneAltitude class to DbDroneFlightHeight and update table name * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat: add `OSM_NOMINATIM_URL` on viteconfig and env.example * feat(project-creation): get project country by project centroid using `OSM Nominatim API` find centroid with the help of `truf` Integrated Nominatim API to fetch the country based on the centroid coordinates * Replace `pdm` to `uv` for faster dependency management (#347) * feat: migrate from pdm to uv * build: replace pdm with uv, add pre-commit hook to lock deps * build: replace all usage of pdm with uv * build: replace pdm with uv for faster dependency managementreplace all usage of pdm with uv * feat: update entry point to run with uv * update: users deps login_required --------- Co-authored-by: Niraj Adhikari <[email protected]> * feat: add className optional prop to InfoMessage component for dynamic styling * feat: add orthoPhoto task component * feat: add symbol type prop for icon at tooltip * refactor: remove delay * feat: add functions to handle visiblity of vector layers and orthophoto layers * refactor: remove button of show orthophoto from description section * refactor: update onSuccess function to navigate user from task page to project page * feat(create-project): Show warning if altitude exceeds country’s max limit * feat(individual-project): disable popup only if the user role regulator and has no other roles * feat(create-project): update fields description * feat: add validations for input feild * refactor: update onSuccess Function to navigate user to dashboard after password change * style: add z-index to user profile * feat: remove nominatim api from .env and vite config and save as a constant variable since it is constant on all environment * feat: update .env.example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: Show warning if altitude exceeds country's max limit (#370) * feat: add drone altitude regulations model * feat: Add 'get all' and 'get one' endpoints for drone altitudes * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * reac: Rename DbDroneAltitude class to DbDroneFlightHeight and update table name * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: add `OSM_NOMINATIM_URL` on viteconfig and env.example * feat(project-creation): get project country by project centroid using `OSM Nominatim API` find centroid with the help of `truf` Integrated Nominatim API to fetch the country based on the centroid coordinates * feat: add className optional prop to InfoMessage component for dynamic styling * feat(create-project): Show warning if altitude exceeds country’s max limit * feat(individual-project): disable popup only if the user role regulator and has no other roles * feat(create-project): update fields description * feat: remove nominatim api from .env and vite config and save as a constant variable since it is constant on all environment * feat: update .env.example * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: Pradip-p <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sujit <[email protected]> * feat: overwrite props className using `cn` the utils function to merge class names using `clsc` and `twMerge` * fix: typo * feat: add validation to check if old and new password are same * refactor: update placeholder for file upload * feat: updated count waypoints within AOI * fix: added auth in endpoint * feat: update handleDrawEnd function to prevent duplicate draw * feat: add conditional rendering for orthophoto button at map * refactor: remove character length restriction from comment submission * refactor: update naming of filterDuplicateFeature parameters * fix: update waypoints count of aoi * feat: add service to get project waypoints * feat: implementation of project avg taskway points count api * feat: add logic to count number of waypoints in task split (#373) * feat: updated count waypoints within AOI * fix: added auth in endpoint * fix: update waypoints count of aoi * feat: add service to get project waypoints * feat: implementation of project avg taskway points count api --------- Co-authored-by: Bijay Rauniyar <[email protected]> * fix: disable popup trigger if user signin as `ReGULATOR` * fix: added slash in waypoints count endpoint * [pre-commit.ci] pre-commit autoupdate (#376) updates: - [github.com/astral-sh/uv-pre-commit: 0.5.2 → 0.5.5](astral-sh/uv-pre-commit@0.5.2...0.5.5) - [github.com/commitizen-tools/commitizen: v3.31.0 → v4.0.0](commitizen-tools/commitizen@v3.31.0...v4.0.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.0 → v0.8.1](astral-sh/ruff-pre-commit@v0.8.0...v0.8.1) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * refctor: update params and add a loading state for avg way points * fix: ensure small areas merge with the nearest one in task splitting (#378) * fix: task locking and validation error in project creator (#382) * add images.json file into s3 * feat: add turf/transform-rotate package * feat: add onDrag event listner and corresponding props * feat: add type for functions to be call at on drag event * feat: add feature to rotate filght plan * feat: add function to calculate angle, centeroid * feat: add funciton to rotate geojson * refactor: update type for function params * Feat/flightplan rotation (#383) * feat: add turf/transform-rotate package * feat: add onDrag event listner and corresponding props * feat: add type for functions to be call at on drag event * feat: add feature to rotate filght plan * feat: add function to calculate angle, centeroid * feat: add funciton to rotate geojson * refactor: update type for function params * feat: gcp app with router setup * feat: function to calculate image footprints * fix: regulator tags updated in routes * functions to find images within a point * feat: endpoint to find all the images that contains the specific point * gcp router added in main.py * typing used for params * refactor: update type for calculate angle fn * hot-fix: ignore ts on modal component * feat: add needDragEvent Prop * refactor: update taskDataPolygon and pass needDragEvent at vector layer * bump drone_flightplan version * bump drone_flightplan version (#387) * bump drone_flightplan version to 0.3.3 * [pre-commit.ci] pre-commit autoupdate updates: - [github.com/astral-sh/uv-pre-commit: 0.5.5 → 0.5.7](astral-sh/uv-pre-commit@0.5.5...0.5.7) - [github.com/commitizen-tools/commitizen: v4.0.0 → v4.1.0](commitizen-tools/commitizen@v4.0.0...v4.1.0) - [github.com/astral-sh/ruff-pre-commit: v0.8.1 → v0.8.2](astral-sh/ruff-pre-commit@v0.8.1...v0.8.2) - [github.com/pycontribs/mirrors-prettier: v3.3.3 → v3.4.2](pycontribs/mirrors-prettier@v3.3.3...v3.4.2) * feat: update rotation funcitons * feat: optimization of flightplan rotation * style: add dropshadow style * feat: add newAsync Popup for taskpage * feat: add rotattionCue component * feat: optimize flightplan rotation * feat: add layer ids constants * refactor: remove unused vars * feat: add function to swap first and last coordinate and fucntion to get last coordinate * style: add responsive attributes to rotation cue * refactor: update swapFirstAndLastCoordinate * refactor: remove swapFirstAndLast coordinate function * fix: update the flight plan time & updated waypoints conuts if user terrian follow (#390) * feat: update api for taskDataPolygon * refactor: update popup close fn * refactor: update type for mouse Events * fix: calculate bbox for the drone image (#393) * refactor: update taskWayPointsData data * feat: add est flight time * refactor: update type for coordinates * feat: generate and download KMZ files with placemarks (#392) * Added API to generate and download KMZ files * feat: added centroids on task details * fix: update authentication read task * feat: update rotation cue to handle touch events * feat: add button to save rotated taskpoints * Gcp calculation (#394) * fix: calculate bbox for the drone image * fix: calculate image footprints * refactor: extract centroid from api * feat: remove conditional color of points vector layer * refactor: update get exif data function to check N and S and provide negative or positive coordinates * style: decrease height of save rotated plan button * feat: add rotation degree inside rotation cue * docs: add quick summary page about GCP workflow * style: add bgcolor for toggled buttons * feat: update events for rotation handle * Get a list of images that contains a GCP Point from a whole Project (#396) * fix: calculate bbox for the drone image * fix: calculate image footprints * feat: get a list of images that contains a point * Style/responsive (#397) * refactor: remove useEffect and items to show state * style: add css to hide spinner on input:number * style: decrease width of select and input feilds * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Fix/image procssing status (#386) * fix: add state image processing started to already image uploaded state * fix: change updated time to be same as created at * fix: add state for image processing to already present url * refactor: add funcitonality to start image processing manually * refactor: remove upload button * style: add bg color for IMAGE_UPLOADED state * fix: resolved image processing issues, state management for color, and dashboard listing --------- Co-authored-by: Bijay Rauniyar <[email protected]> Co-authored-by: Pradip-p <[email protected]> * feat: Download dem file from JAXA if not provided by the user (#380) * feat: auto add dem file if not provided by the user for more information, see https://pre-commit.ci * fix: scrapy signals issue with signals for more information, see https://pre-commit.ci * feat: add constants for dem radio data * feat: add reducer and action ro set demTYpe * feat: add dem type * feat: auto add dem file if not provided by the user for more information, see https://pre-commit.ci * fix: scrapy signals issue with signals for more information, see https://pre-commit.ci * refactor: remove title from dem type switch * fix: pre commit fix --------- Co-authored-by: Bijay Rauniyar <[email protected]> * Update README.md * update: label for dem file download from jaxa * Feat/flightplan rotation (#400) * feat: implement api to save rotated flight plan * refactor: remove type from flightPlan mutation * refactor: update condition to show update image button * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] pre-commit autoupdate (#403) updates: - [github.com/astral-sh/uv-pre-commit: 0.5.7 → 0.5.9](astral-sh/uv-pre-commit@0.5.7...0.5.9) - [github.com/astral-sh/ruff-pre-commit: v0.8.2 → v0.8.3](astral-sh/ruff-pre-commit@v0.8.2...v0.8.3) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat: update drone image processor to handle single and multiple tasks (#399) * feat: add endpoints to process all task images of AOI * reac: refactor process_assets_from_odm function to reduce redundancy * fix: remove double s3_path from process_assets_from_odm * fix: added all tasks images in odm processing * fix: remove local setup of config & docker-compose * fix: remove multple class for drone images processing & now handle from single class * fix: refine drone image processing * added tags in the odm webhook router endpoint --------- Co-authored-by: Niraj Adhikari <[email protected]> * Update faq section to add basic frequently asked questions.md (#402) * Update faq.md * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * feat: initial py-test setup & update Dockerfile (#404) * feat: setup the pytest * feat: initial pytest setup for drone create * feat: updated dependency overrides for login required * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: updated test case for read drone * feat: update user test routes & make dummy project data as fixtures * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * fix: update response for flight plan * [pre-commit.ci] pre-commit autoupdate (#412) updates: - [github.com/astral-sh/uv-pre-commit: 0.5.9 → 0.5.11](astral-sh/uv-pre-commit@0.5.9...0.5.11) - [github.com/astral-sh/ruff-pre-commit: v0.8.3 → v0.8.4](astral-sh/ruff-pre-commit@v0.8.3...v0.8.4) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * Implement Waylines flight mode in flights with terrain following enabled. (#411) * flight mode enums * updated drone_flightplan package * implement waylines in terrain following as well * upgrade drone_flightplan package * remove: generate each points in waypoints generation * feat: update waypint service to accept waypoint mode * feat: add reducer state and action for waypoint mode value update * feat: add constant waypoint options * feat: fetch waypoint data as per selected waypoint mode * style: download waypoints/waylines as per waypoint mode --------- Co-authored-by: Sujit <[email protected]> Co-authored-by: Sujit <[email protected]> * heading angle added in popup * fix: waypoints count * remove unwanted params in waypoint generation * change buffer distance for take off point * fix: waypoints count in project creation * fix: kmz download in android chrome * [pre-commit.ci] pre-commit autoupdate (#418) updates: - [github.com/astral-sh/uv-pre-commit: 0.5.11 → 0.5.13](astral-sh/uv-pre-commit@0.5.11...0.5.13) Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * fix: Show re-upload section if image upload is failed (#417) * feat: show re-upload section if the image count is >0 and task status is still `LOCKED_FOR_MAPPING` if image count is >0 and status is same it indicates that all images upload is failed so it couldnt trigger the status update api so display re-upload section if image count is >0 and status is `LOCKED_FOR_MAPPING` * fix: download menu hidden on mobile view reduce waypoint mode switcher z-index * Implement all image processing with gcp files & updated task table to maintain task areas and so on. (#416) * feat: update the gcp files for all project images * feat: update the new fields in tasks tables * feat: update task areas from db to instead of postgis * feat: update task flight time, flight distance & task areas * fix: import errors in project routes * fix: waypoints & waylines counts * fix: only get unique task id based on task events when all image processing.. * fix: issues resolved in user task out lists in dashboard * fixup! fix: issues resolved in user task out lists in dashboard * feat: update assests_url in task tables instead of searching in s3 * fix: run pre-commit for format migartions file * fix: process assests from odm, download issues * feat: update the gcp files for all project images * feat: update the new fields in tasks tables * feat: update task areas from db to instead of postgis * feat: update task flight time, flight distance & task areas * fix: import errors in project routes * fix: waypoints & waylines counts * fix: only get unique task id based on task events when all image processing.. * fix: issues resolved in user task out lists in dashboard * fixup! fix: issues resolved in user task out lists in dashboard * feat: update assests_url in task tables instead of searching in s3 * fix: run pre-commit for format migartions file * fix: process assests from odm, download issues * feat: add dem file on task split api payload * fix: dem data upload section is on view althoiugh the terrian follow option is false * fix: projection creation fail if no fly is [] remove no flyzone key if np fly zone data is not available * feat: remove unused api service `getAllAssetsUrl` * feat: add remove project assets api fetch and display data from project description api * feat: add action and slice for storing assets information of task * feat(task-description-map-section): remove extra call for task information and use data from redux state * feat: remove task-assets-information api and display data from task description api store asests info on redux state on api call success and remove on component unmount update keys as per data information * refactor: comment task assets information services * refactor: remove comment * feat: implement dummy api for upload the task table * fix: remove flight data from waypoints routes --------- Co-authored-by: Sujit <[email protected]> * fix: update all image processing without gcp files issues solve on task table update * hotfix: fixes on flight plan time & distance * fix:Ensure password is saved during user creation if provided (#421) - Updated logic to handle cases where a password is provided during profile creation. Improved user creation flow to avoid incomplete records. Added checks to hash and save the password if it's present. * feat: invalidate task description storing to refetch the updated data on image upload and start processing (#422) --------- Co-authored-by: Bijay Rauniyar <[email protected]> Co-authored-by: Niraj Adhikari <[email protected]> Co-authored-by: Sujit <[email protected]> Co-authored-by: Sovas Tiwari <[email protected]> Co-authored-by: spwoodcock <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Sujit <[email protected]> Co-authored-by: Bijay Rauniyar <[email protected]> Co-authored-by: Niraj Adhikari <[email protected]> Co-authored-by: Saurav Aryal <[email protected]> Co-authored-by: Manjita Pandey <[email protected]> Co-authored-by: Sujit <[email protected]>
- Loading branch information