Feat/projects access - #64
Open
Jesusya-26 wants to merge 73 commits into
Open
Conversation
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
Version 1.43.0 (urban_api 0.51.0)
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
Version 1.46.0 (urban_api 0.54.0)
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
Version 1.48.0 (urban_api 0.56.0)
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)
Version 1.50.0 (urban_api 0.58.0)
Changes: - fix: get scenario physical objects around - fix: get context objects
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
Version 1.53.0 (urban_api 0.61.0)
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
force-pushed
the
feat/projects-access
branch
from
July 30, 2026 13:54
9052600 to
caf87bb
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.