Skip to content

Feat/projects access - #64

Open
Jesusya-26 wants to merge 73 commits into
iduprojects:mainfrom
IDUclub:feat/projects-access
Open

Feat/projects access#64
Jesusya-26 wants to merge 73 commits into
iduprojects:mainfrom
IDUclub:feat/projects-access

Conversation

@Jesusya-26

Copy link
Copy Markdown
Collaborator

No description provided.

Jesusya-26 and others added 30 commits August 8, 2025 19:09
Changes:
- feat: add github actions workflow to build and deploy urban api
- fix: .env example and create docker-compose.deploy.yaml
Changes:
- feat: add `properties` column to projects phases model
Changes:
- feat: method get project phase document url returns not only url, but also display filename
Changes:
- fix: `asyncio.gather` batch insert -> iterative insert (hexagons)
- fix: create model `Point` for `centre_point` column
Changes:
- fix: set `basic` functional zone type for all base scenarios (instead null)
- fix: add `copy_buffers` to `add_project` method
Changes:
- feat: translation sqlalchemy errors to IduApiError
- feat: add error codes for custom urban_db triggers
- feat: method to get social values indicator values by territory identifier
- fix: unique constraints to unique indexes
Changes:
- feat: add logrotate via supervisord
- fix: geojson file method returns correct file with json (not string)
Version 1.44.0 (urban_api 0.52.0)
feat: /physical_objects/around for scenarios
fix(0.53.1): enable echo with debug flag
Changes:
- fix: log function for SQLAlchemyError
- chore: make format/lint
Changes:
- fix: iduapierror -> urbanapierror
Changes:
- fix: iduapierror -> urbanapierror
Changes:
- fix: add min length constraint for list body
Changes:
- fix: remove producing event RegionalScenarioIndicatorsUpdated
Changes:
- feat: methods to get physical object or service types for a given scenario (context and project territory)
- feat: add filters for method `get_geometries_with_all_objects_by_scenario_id` to except given physical object or service types
Changes:
- feat: add field `description` for buffer types
- feat: add trigger for insert/update buffers with specified geometry
Version 1.47.0 (urban_api 0.55.0)
Changes:
- feat: method to get only one territory with indicator values in geojson format
- feat: returns also territory_type, is_city and centre_point in properties for methods to get indicators/normatives by territory id
Changes:
- feat: create table `territory_indicators_binds_dat` to store bindings for territory indicator values (with new schema `tech`)
- feat: methods to get/create/update territories indicators bindings
- feat: returns list of bindings (min/max values) for each indicator in addition to methods for get indicator values
- fix: `set_default_buffer_geometry` trigger (fix raising exceptions)
Version 1.49.0 (urban_api 0.57.0)
Changes:
- feat: `is_locked` param for scenario objects
- fix: post scenario service (with select for update)
Changes:
- fix: get scenario physical objects around
- fix: get context objects
Jesusya-26 and others added 29 commits December 15, 2025 13:20
Changes:
- fix: alembic env
Version 1.51.0 (urban_api 0.59.0)
Changes:
- feat: project cadastres (add new table and methods)
- fix: optional authorization in GET methods
Version 1.52.0 (urban_api 0.60.0)
Changes:
- fix: batch copy geometries
Changes:
- replace path mapping for Prometheus with routers check
- add inflight requests metric
- update logs exporter config to unmap body dictionary to attributes
- add jaeger and exporter to config example
Changes:
- feat: add column `is_cut` for project geometries
- fix: add query param `include_scenario_objects` for methods to get context physical objects with geometry, services with geometry and geometries with all objects
Version 1.54.0 (urban_api 0.62.0)
Changes:
- fix: `include_scenario_objects` param
Changes:
- put `ObservabilityMiddleware` before `ExceptionHandlerMiddleware` to avoid repetative code
- move `host` and `port` to new `uvicorn` section at config along with new `reload` and `forwarded_allow_ips`
- add request_id and remove trace_id/span_id generation if tracing is disabled
- move logging logic from utils to observability
- pass trace_id/span_id in HEX form
- remove unused system metrics as Prometheus default ones are fine
Version 1.55.0 (urban_api 0.63.0)
Changes:
- feat: new custom swagger ui
- feat: processing jwt tokens from keycloak auth server
- feat: remove all deprecated methods
- feat: oauth2 schema instead of bearer token
Changes:
- feat: `project_storage_dep`
- fix: tests (no config, testcontainers)
- fix: `get_normative_values_by_parent_id` sql statement
Version 2.0.0a1 (urban_api 1.0.0a1)
Changes:
- feat: Urban MCP Server (90+ tools, using `fastmcp`)
- feat: `MCPCursorPage` for MCP cursor-base pagination
- fix: add `params` argument for methods with `paginate`
Version 2.1.0a3 (urban_mcp 0.1.0, urban_api 1.0.0a3)
Changes:
- feat: re-group tools, run one starlette app with mounting fastmcp sub-apps for each group
- feat: remove all object geometries and urban objects tools
- feat: add CreateProject tool (and kafka/minio dependencies)
- feat: update urban mcp config
Changes:
- feat: move `project_id`/`scenario_id` from meta to function arguments
Changes:
- feat: change projects access logic (add check roles `projects:read` and `projects:write` for service clients)
Changes:
- fix: access logic for method to create base scenario
Changes:
- feat: add method to get all scenario objects without geometry
@Jesusya-26
Jesusya-26 force-pushed the feat/projects-access branch from 9052600 to caf87bb Compare July 30, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants