Commit graph

494 commits

Author SHA1 Message Date
e51f698030 feat(assets): allow editing general note field on asset details 2026-10-09 23:22:09 +02:00
15403b8604 fix(inspections): scope viewable inspections and assets by contract and municipality 2026-10-09 22:59:10 +02:00
61ce1d3a4d fix(mobile): enforce absolute positioning on map markers to prevent vertical layout drift 2026-10-09 22:53:42 +02:00
fbd1bc452f fix(mobile): resolve nature tree marker symbology and attribute serialization
- Serialize management_type, managing_authority, is_remarkable, is_dead, vitality, and botanical names in mobile_assets_search
- Allow regional (Bruxelles Mobilité), remarkable, and dead trees to display differentiated icons and colors on mobile map
- Fallback tree display name to vernacular/scientific name
- Update asset_symbology.js cachebuster version in mobile template
- Add unit test coverage for nature tree search serialization
2026-10-09 19:52:11 +02:00
45bc88d1a3 refactor(assets): remove specific naturegreensurface template in favor of detail_generic 2026-10-09 19:28:56 +02:00
b813de3984 fix: update English translation for Surface verte to Green surface 2026-10-09 19:16:19 +02:00
Karl Determe
da9e5c1cb8 feat: add ITS asset models and views for location and bollard management 2026-10-09 15:04:41 +02:00
Karl Determe
cd3f3999cb Merge branch 'main' of https://git.valogeo.be/Valogeo/loko 2026-10-09 14:33:49 +02:00
Karl Determe
3c8dcedccc fix: remove empty deleted file from repository 2026-10-09 14:33:38 +02:00
095161872d feat: add dead tree symbology, icon, and map layer support for nature assets 2026-10-09 14:31:17 +02:00
e65c402395 feat: add basemap preference persistence and layer switcher control support 2026-10-09 14:16:12 +02:00
9bdd68bea2 feat: add regional and remarkable nature asset symbology icons and matching logic 2026-10-09 14:04:08 +02:00
f271d65be2 fix(assets): dynamic nature management_type filter based on visible assets and scope nature endpoints by user accessible municipalities 2026-10-09 13:50:49 +02:00
587f4abf8a feat(nature): distinction arbres régionaux, filtre gestionnaire, tableau compact et essences botaniques 2026-10-09 13:32:46 +02:00
Karl Determe
4823d55f08 Merge branch 'main' of https://git.valogeo.be/Valogeo/loko 2026-10-09 13:17:59 +02:00
Karl Determe
cebe496617 feat: add seed command and fixture for Schuman bollards and CCTV cameras 2026-10-09 13:17:49 +02:00
8afa68e066 feat: add management type and authority fields with visualization and filtering for nature trees 2026-10-09 13:09:58 +02:00
Karl Determe
80c54a083d feat: add unified index, map layers, and ITS asset management views and symbology 2026-10-08 16:45:33 +02:00
Karl Determe
7d5718dec2 feat: add admin, models, views, and templates for ITS assets 2026-10-08 14:29:19 +02:00
bb8d6f98c0 style(home): unify quick action buttons size and center content 2026-10-07 16:08:05 +02:00
dd12e2fde1 feat(home): replace history shortcut with asset search in viewer action bar 2026-10-07 15:58:51 +02:00
875efc67f4 feat(home): add user_history widget for viewers and adjust quick action shortcuts 2026-10-07 15:54:57 +02:00
51e6680763 fix(interventions,contracts): enforce can_view_intervention on detail views and allow contract posts access for global viewers 2026-10-07 14:15:53 +02:00
ea02b12ea5 feat(stock): add product search by code and label in purchase order PDF import 2026-10-07 11:58:17 +02:00
b307791b90 feat(contracts): add global permissions to view contract posts and prices on UserConfig
- Add can_view_all_posts and can_view_all_prices boolean fields to UserConfig
- Add migration 0020 with automatic data migration for Legal Office users
- Update permissions helpers, UserConfigAdmin, copy_user_config and intervention detail view
- Add unit tests for global posts and prices permissions
2026-10-07 11:57:57 +02:00
9a85696d90 fix(stock): escapejs translated option text in batch location selects 2026-10-07 11:40:57 +02:00
499ffe824e refactor: redesign calendar notes and documents view with chronological sequencing blocks 2026-10-07 10:45:37 +02:00
2ef730508f feat(calendar): intégrer les notes et documents dans la modale d'intervention 2026-10-07 10:26:08 +02:00
Karl Determe
775151c72d feat: add notification services and observation views implementation 2026-10-06 16:22:23 +02:00
Karl Determe
e27a979a53 feat: add views for stock management and observations applications 2026-10-06 15:56:21 +02:00
Karl Determe
5825eac998 feat: add index, detail, and form HTML templates for management zones 2026-10-06 15:46:37 +02:00
Karl Determe
e87fe1531d feat: add management zone form template and corresponding unit tests 2026-10-06 15:23:50 +02:00
Karl Determe
0c1ae3163d feat: add observation detail template with interactive map, photos, and discussion features 2026-10-06 11:31:19 +02:00
Karl Determe
496b6d9c8b feat: implement observations module with views, models, UI templates, translations, and migrations 2026-10-06 10:04:54 +02:00
Karl Determe
58c1ccd531 feat: add observation management features with map integration, views, and migrations 2026-10-06 10:04:40 +02:00
384a2b29c3 fix(common): support list type_filter and fix translation function shadowing in assets preferences 2026-10-05 18:22:47 +02:00
288921b4aa fix(assets): declare mergedManagementZonesGeojson to prevent ReferenceError in unified view 2026-10-05 16:38:43 +02:00
3e35c98a46 git add loko/assets/static/assets/unified_index.js \
loko/assets/static/assets/unified_map_layers.js \
        loko/assets/templates/assets/unified_index.html \
        loko/assets/tests_management_zones.py \
        loko/assets/views/core.py \
        loko/assets/views/management_zones.py

git commit -m "feat(assets): integrate management zones into unified assets view

- Add management zones layers and table row support in unified index
- Replace element type radio filters with 3 checkboxes (assets, locations, management zones)
- Add 3rd card in unified add modal for management zone creation
- Include centroid coordinates, area, and unified properties in management zones GeoJSON
- Add comprehensive integration test suite"
2026-10-05 16:00:12 +02:00
b5b0338e09 feat(assets): add management zones CRUD interfaces and permissions
- Add can_edit_management_zones permission to UserThematics model and admin
- Implement ManagementZoneForm with interactive WGS84 polygon capture and SRID 3812 reprojection
- Add views and routes for listing, creating, editing, detailing, and deleting management zones
- Support document attachments (ManagementZoneDocument) and explicit asset linkages
- Add MapLibre polygon drawing tool in zone form and preview map in detail view
- Integrate management zones shortcuts in nature assets map overlay and index
- Add comprehensive unit tests for permissions, forms, and CRUD operations
2026-10-05 15:35:33 +02:00
d36649f3bf feat(assets): add generic ManagementZone model, admin, geojson API and map overlay 2026-10-05 15:12:16 +02:00
8807531eb3 feat(contracts): add contractual lot perimeters overlay on nature assets map 2026-10-05 14:35:31 +02:00
f81ca93590 feat: add geographic polygon and color fields to Contract model and admin 2026-10-05 14:19:07 +02:00
69f5e65495 feat(assets): add basemap and orthophoto switcher to nature location detail map
- Include LayerSwitcherControl on the nature location detail map.
- Support standard vector, aerial orthophotos, and regional basemaps from window.MAP_BACKGROUNDS.
- Ensure proper z-index layer ordering so nature polygons, trees, and equipments remain above raster basemaps.
- Update unit tests to verify layer switcher integration.
2026-10-05 14:04:02 +02:00
11e1674f73 feat: implement nature location detail view with asset summaries, KPIs, and unit tests 2026-10-05 13:44:18 +02:00
f324eb00bd feat(assets): color-code asset types by technical domain for enhanced visual scanning 2026-10-05 11:48:44 +02:00
10e9f1de50 feat(assets): display assets directly in building tree and add collapse/expand all controls 2026-10-05 11:25:55 +02:00
ab1cfb6ab2 fix(assets): remove duplicate closing div breaking page layout in publicbuilding_detail 2026-10-05 10:59:21 +02:00
6802d1e15f fix(assets): fix js coord syntax error and add interactive multi-floor plans viewer 2026-10-05 10:38:35 +02:00
512f6786e3 refactor: move team daily view helper functions and state variables to file scope 2026-10-05 09:56:25 +02:00
63c4a8e539 git add loko/assets/models/buildings.py \
loko/assets/forms.py \
        loko/assets/admin.py \
        loko/assets/templates/assets/buildings/ \
        loko/assets/tests.py \
        loko/assets/migrations/0028_buildingasset_contractor_name_and_more.py

git commit -m "feat(assets): extend building locations and technical equipment models

- Add comprehensive building locations (stairwells, technical rooms, boiler rooms, offices, etc.)
- Add building physical & technical fields (room numbers, floor types, heated status, dimensions)
- Add complete building envelope & technical equipment types (roofs, facades, windows, doors, boilers, heat pumps, etc.)
- Enrich admin, forms, trees, and detail templates with icons, macro-lots, and maintenance tracking
- Add migration 0028 and unit test coverage"
2026-10-05 09:49:08 +02:00