Skip to content

Merge 'staging' to 'main' #2615

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

Merged
merged 55 commits into from
Jun 13, 2025
Merged

Merge 'staging' to 'main' #2615

merged 55 commits into from
Jun 13, 2025

Conversation

Sujanadh
Copy link
Collaborator

What type of PR is this? (check all applicable)

  • πŸ• Feature
  • πŸ› Bug Fix
  • πŸ“ Documentation
  • πŸ§‘β€πŸ’» Refactor
  • βœ… Test
  • πŸ€– Build or CI
  • ❓ Other (please specify)

Describe this PR

Push changes to main and release to production.

Alternative Approaches Considered

Did you attempt any other approaches that are not documented in code?

Review Guide

Notes for the reviewer. How to test this change?

Checklist before requesting a review

[optional] What gif best describes this PR or how it makes you feel?

spwoodcock and others added 30 commits May 22, 2025 22:50
* feat: migration added to update osm_id type from int to bigint

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* refactor: move migrations dir from backend to src (for frontend + backend)

* build: move migrations to root src dir for both frontend / backend migrations

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: spwoodcock <[email protected]>
* refactor(urlChecker): validate url based on url protocol

* [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 'COMPLETED' status to project status enum and update access checks for project completion

* refactor(project): remove unused get_active_project dependency

* feat(roles): restrict access to completed and archived projects based on check completed parameter

* refactor(auth): replace function-based access checks with class-based implementations for ProjectManager and Mapper
* fix(backend): remove custom validation error handler (default "detail" key)

* fix(frontend): error handling for invalid geojson data extract upload

* fix(backend): remove custom validation error handler (default "detail" key)

* refactor(createProjectService): refactor handling of both string & array post project response, remove top-level error message toast

* refactor(createProjectService): seperate  upload data-extract api call

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: spwoodcock <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Translated using Weblate (Japanese)

Currently translated at 100.0% (14 of 14 strings)

Translation: HOTOSM/Field-TM Forms
Translate-URL: https://hosted.weblate.org/projects/hotosm/field-tm-forms/ja/

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

---------

Co-authored-by: FURUHASHI Taichi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* docs: update README.md

* docs: update .all-contributorsrc

---------

Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
DanielJDufour and others added 16 commits June 4, 2025 19:29
* refactor(user): use /user/usernames api instead of /user api for PM user search

* fix(dataExtract): disable fetch osm data extract option if linestring selected

* fix(splitTasks): disable task splitting algorithm if linestring selected
…ong with odk server request when applicable (#2589)

* feat(organisations): implement organisation approval request notification

* fix(organisations): remove unused organisation URL construction in approval request

* fix(organisations): clarify message for ODK server access request

* fix(organisations): remove thank you message from organisation approval request
* fix(backend): avoid prepending ',' in submission_ids

* feat(backend): add submission_ids while updating entity status

* feat(mapper): add submission_ids in payload and prepend existing submission_ids if found

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* fix(pre-commit): added missing docstring

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(+page): add latestEvent as dependency only for initial sync

* fix(tasks): select last index from task event rows for most recent event
* feat(messages): translations add

* refactor(+page): pass user_sub as key to pass user identifier for who created the new geom

* feat(messages): traslations add

* feat(dialog-entities-actions): workflow to delete newly created entities

* feat(entities): delete new entity api add

* refactor(dialog-entities-actions): style add

* feat: translations

* feat(dialog-entities-actions): only allow entity creator to delete the entity

* refactor(entities): if error, show toast

* refactor(dialog-entities-actions): allow ready and opened_in_odk to be deleted

* feat(featureSelectionPopup): option for pm to delete newly created entity via project details page

* feat(project): delete geom api service add

* refactor(projectSlice): add geom_id on new geom geojson properties

* refactor(project): refactor delete entity api func

* refactor(projectDetails): fix styles

* feat(featureSelectionPopup): entity delete modal

* feat(project): entity delete state

* fix(projectDetails): add setSelectedTaskFeature prop

* feat(+page): pass user_sub as entity feature property

* feat(messages): translations add

* refactor(+page): pass user_sub as key to pass user identifier for who created the new geom

* feat(messages): traslations add

* feat(dialog-entities-actions): workflow to delete newly created entities

* feat(entities): delete new entity api add

* refactor(dialog-entities-actions): style add

* feat: translations

* feat(dialog-entities-actions): only allow entity creator to delete the entity

* refactor(entities): if error, show toast

* refactor(dialog-entities-actions): allow ready and opened_in_odk to be deleted

* feat(featureSelectionPopup): option for pm to delete newly created entity via project details page

* feat(project): delete geom api service add

* refactor(projectDetails): fix styles

* feat(featureSelectionPopup): entity delete modal

* feat(project): entity delete state

* fix(projectDetails): add setSelectedTaskFeature prop

* feat(+page): pass user_sub as entity feature property

* refactor: replace is_new with created_by entity field in code

* fix(mapper): minor tweaks after rebase

* build: add migration for entities is_new --> created_by field

* refactor(entities): update delete new entities api

* refactor(dialog-entities-actions): remove geom_id, update user_sub key to created_by

* fix(+page): remove duplicate loginStore initialization

* refactor(entities): manually sync status after entity deletion

---------

Co-authored-by: spwoodcock <[email protected]>
* feat(entities): state add to store selected entites javaRosa geometry

* feat(main): when entity clicked, set its javaRosa geom to state

* refactor(wrapper): pass entities javaRosa geom either from selectedEntities state or from odk entities response for new entity

* fix(extractGeojsonFromObject): update logic to handle point geoms having semicolon at the end
…mission detail page (#2599)

* fix(submission_crud): update submission retrieval to use pyodk except in submission detail and table

* refactor(submission): simplify submissions retrieval logic to only use pyodk
Merge branch 'development' to 'staging'
@Sujanadh Sujanadh self-assigned this Jun 13, 2025
@github-actions github-actions bot added docs Improvements or additions to documentation frontend:management Related to the management frontend code backend Related to backend code devops Related to deployment or configuration ODK Any requests for optimizing ODK dependency:osm-fieldwork Requires updates in osm-fieldwork tests Related to automated code tests contrib External contributions, or not related to core functionality frontend:mapper Related to the mapper frontend code labels Jun 13, 2025
@Sujanadh Sujanadh merged commit 47b3390 into main Jun 13, 2025
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend code contrib External contributions, or not related to core functionality dependency:osm-fieldwork Requires updates in osm-fieldwork devops Related to deployment or configuration docs Improvements or additions to documentation frontend:management Related to the management frontend code frontend:mapper Related to the mapper frontend code ODK Any requests for optimizing ODK tests Related to automated code tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants