Releases: GeotrekCE/Geotrek-admin
Geotrek-admin 2.98.0
What's Changed
- Fix: allow ApidaeTrekParser subclasses to override mappings by @marcantoinedupre in #3513
- Add arguments loadsignage : sealing / manager (#3377) by @LePetitTim in #3424
- 🐛 fix permissions can bypass structure was always needed for accessib… by @LePetitTim in #3486
- Refactor near trek api filters by @marcantoinedupre in #3500
- Fix default pictogram for moutain bike practice by @marcantoinedupre in #3489
- Fix apidae trek parser by @marcantoinedupre in #3515
- 🐛 Fix trekparser allowed to create trek with other geometry than line… by @LePetitTim in #3517
- Perf improve restrictedarea filter by @LePetitTim in #3512
- 🐛 filter geometries on right geometry types in synchro mobile by @LePetitTim in #3518
- Update data model by @babastienne in #3350
- 🐛 trek deletion not possible without removing report link to this trek by @LePetitTim in #3527
- Fix changelog regarding API filters refactoring by @marcantoinedupre in #3528
- [FIX] Add missing date_insert and date_update values in fixtures by @babastienne in #3520
- 🐛 fix attachments duplication by @LePetitTim in #3530
Full Changelog: 2.97.4...2.98.0
Geotrek-admin 2.97.4
Geotrek-admin 2.97.3
What's Changed
- 🐛 Fix sensitive areas nearby outdoor objects (issue #3494) by @marcantoinedupre in #3495
- 🐛 Fix: set back version number in changelog to 2.97.2+dev by @marcantoinedupre in #3504
- 💫 Allow zoom on HD Views depending on tile depth by @Chatewgne in #3497
- ⬆️ Upgrade mapentity by @Chatewgne in #3506
Full Changelog: 2.97.2...2.97.3
Geotrek-admin 2.97.2
🐛 Bug fixes
- Fix link between attachment and file is lost when updating old attachment without suffix and no title by @Chatewgne in #3490
🏗️ Maintenance
- build(deps): bump fiona from 1.8.21 to 1.9.1 by @dependabot in #3480
- build(deps): bump wcwidth from 0.2.5 to 0.2.6 by @dependabot in #3482
Full Changelog: 2.97.1...2.97.2
Geotrek-admin 2.97.1
🐛 Bug fixes
- Fix link between attachment and file is lost when updating old attachment without suffix by @Chatewgne in #3488
- Attachment filenames are now suffixed with a random string. This might cause duplication of old attachment files that previously did not have a suffix. Make sure to run
clean_attachments
command regularly to save disk space.
Full Changelog: 2.97.0...2.97.1
Geotrek-admin 2.97.0
DO NOT USE Attachments are lost on update
Attachment filenames are now suffixed with a random string. This might cause duplication of old attachment files that previously did not have a suffix. Make sure to run clean_attachments
command regularly to save disk space.
✨ New features
🐛 Bug fixes
- Fix interventions api geom by @LePetitTim in #3469
- Fix pictogram was missing for interventions on lands by @LePetitTim in #3468
- Fix intervention filter when outdoor or signage is not installed by @LePetitTim in #3474
- Fix sensitivity layer was always loaded before click by @LePetitTim in #3478
- fix translation by @lpofredc in #3487
- Fix failing test on some environments by @marcantoinedupre in #3475
📝 Documentation
- Document HD Views usage by @Chatewgne in #3477
- Fix Suricate documentation by @Chatewgne in #3479
🔒 Security
- Sanitize Paperclip attachments by @Chatewgne in #3395
🏗️ Maintenance
- fix inconsistent cypress test by @submarcos in #3466
- ✅ add tests geojson, move tests infrastructure right… by @LePetitTim in #3473
- build(deps): bump django from 3.2.16 to 3.2.17 by @dependabot in #3471
- build(deps-dev): bump pip-tools from 6.12.1 to 6.12.2 by @dependabot in #3462
- build(deps): bump django from 3.2.17 to 3.2.18 by @dependabot in #3484
- 💫 Add possibility to use makefile with docker-compose and docker compose by @LePetitTim in #3485
Full Changelog: 2.96.1...2.97.0
2.96.1
Bug fixes
- Fix APIv2 filters deteriorated performances in 2.96.0
Improvements
- Sensitivity: Add missing attachments list to sensitive areas API
What's Changed
- feat: add missing attachements on SensitivityArea APIs by @lpofredc in #3348
- 🐛 Fix APIv2 filters performances were deteriorated by @Chatewgne in #3465
New Contributors
Full Changelog: 2.96.0...2.96.1
2.96.0
! Warning: this version causes serious performance issue. Please do not upgrade until it is fixed !
New feature
- Handle very high resolution images (HD Views) that will automatically be tiled, for
Trek
,POI
andSite
(#3378) - Handle annotations on HD Views (points, lines, polygons and text)
Improvements
- APIDAE Trek Parser output now shows APIDAE IDs of entities triggering warnings during import
- Update maximum request size in Nginx from 10M to 200M to allow uploading HD pictures (#3378)
Bug fixes
- Fix intervention datatable list if one intervention has no target
- Fix intervention datatable list with interventions on lands
- Fix signage's blade detail
- APIDAE Trek parser now raises an import error on geometry with not continuous segments
Development
- New contributing guide (docs/CONTRIBUTING.rst).
- Development dependencies are now split in dedicated file.
- pip-tools and flake8 are now available in developer environment.
- Dependency graph is now checked in CI (see docs/contribute/development to how add a new dependency).
- New git pre-commit hook to check all is alright before commit (see docs/contribute/development).
Warning
- The default Nginx configuration template has been improved (f9c72d9) to allow uploading big images. It is highly recommanded to apply changes to your Nginx configuration template (in /opt/geotrek-admin/var/conf/nginx.conf.in).
What's Changed
- build(deps): bump docutils from 0.18.1 to 0.19 by @dependabot in #3420
- build(deps): bump zodbpickle from 2.2.0 to 2.6 by @dependabot in #3421
- build(deps): bump asgiref from 3.4.1 to 3.6.0 by @dependabot in #3422
- build(deps): bump papersize from 1.0.1 to 1.3.0 by @dependabot in #3423
- Better split dev dependencies by @submarcos in #3431
- 🐛 Fix intervention datatable list when no target defined by @submarcos in #3426
- Improve quality check and contributing guide by @submarcos in #3430
- build(deps): bump requests from 2.18.1 to 2.18.2 by @submarcos in #3438
- limit dependabot updates with django by @submarcos in #3439
- Add contributing links in README by @submarcos in #3433
- build(deps): bump psycopg2 from 2.9.3 to 2.9.5 by @submarcos in #3441
- build(deps): bump charset-normalizer from 2.0.12 to 3.0.1 by @dependabot in #3435
- build(deps): bump sentry-sdk from 1.5.9 to 1.14.0 by @submarcos in #3442
- build(deps): bump redis from 4.2.2 to 4.4.2 by @dependabot in #3434
- build(deps): bump django-modelcluster from 5.3 to 6.0 by @dependabot in #3440
- build(deps): bump django-mptt from 0.13.4 to 0.14.0 by @dependabot in #3443
- allow dependabot to update dependency graph by @submarcos in #3447
- allow dependabot to update dependency graph by @submarcos in #3449
- 💚 fix cypress test fixtures by @LePetitTim in #3452
- keep always same path order for merge by @submarcos in #3453
- move dependency check in dedicated workflow by @submarcos in #3451
- build(deps): bump pytz from 2022.1 to 2022.7.1 by @dependabot in #3446
- optimize CI by @submarcos in #3456
- optimize CI by @submarcos in #3457
- build(deps): bump attrs from 21.4.0 to 22.2.0 by @dependabot in #3445
- Improve APIDAE Trek parser output with entities external IDs by @marcantoinedupre in #3429
- 🐛 fix intervention datatable list with interventions on lands by @LePetitTim in #3455
- 💚 Add ordered on assertquerysetequal, better test consistent by @LePetitTim in #3459
- 🐛 Fix signage detail indentation blades by @LePetitTim in #3450
- Fix: APIDAE Trek parser now raises an error on not continuous segments by @marcantoinedupre in #3428
- 🌐 Update translations for HD Views by @Chatewgne in #3367
- ✨ Handle HD point of view images for Treks, Sites and POIs by @Chatewgne in #3298
Full Changelog: 2.95.0...2.96.0
2.95.0
New features
- Add possibility to duplicate objects with geometries (#3105)
Minor improvements
- Add blade type on signage detail view (#3325)
Warning
Bionic (Ubuntu 18.04) instances need to install deadsnakes PPA to handle python3.8 updates:
apt-get install software-properties-common
add-apt-repository --yes ppa:deadsnakes/ppa
apt-get install python3.8
Maintenance
In preparation for HD Views developments (PR #3298):
- Bump Python to 3.8
- Bump MapEntity to 8.4.0
- Bump Pillow to 9.3.0
- Bump Celery to 5.2.1
- Bump django-celery-results to 2.4.0
- Bump django-clearcache to 1.2.1
- Add libvips to dependencies
Improvements
- Apidae trek parser supports geometry import from kml or kmz attachment
- More checks on Apidae trek parser in order not to import trek without a geometry
Bug fixes
- Fix loaddem command update other types of geometry
- Recreate cache folders if missing. (#3384)
- Modify site's geometry before saving to avoid edition and export of shapefiles (#3399)
- Fix API V2 cache key with X-Forwarded-Proto header (#3404)
- Check pictogram exist on categories during generation of pdfs
- Prevent "Internal Error" on API v2 when wrong url parameter is provided on courses and sites filter for pois
- Fix ApidaeParsers does not update every time
- Add fixtures licenses initial install
- Fix default conf nginx for mobile
- Replace image's relative URLs with absolute URLs in API v2 trek descriptions (#3321)
- Disable scroll propagation on layers list to avoid zoom changes on map (#2687)
What's Changed
- ⬆️ Bump python to 3.8, mapentity to 8.3.0 by @Chatewgne in #3357
- ⬆️ Bump celery 5.2.1, django-celery-results 2.4.0, django-clearcache 1.2.1, pillow 9.3.0 by @submarcos in #3360
- allow dependabot to open PR to upgrade dependencies by @submarcos in #3361
- Bump django-extensions from 3.1.5 to 3.2.1 by @dependabot in #3365
- Bump django-embed-video from 1.4.3 to 1.4.8 by @dependabot in #3363
- Bump importlib-metadata from 4.8.3 to 5.1.0 by @dependabot in #3364
- Bump markdown from 3.3.7 to 3.4.1 by @dependabot in #3362
- Bump actions/download-artifact from 2 to 3 by @dependabot in #3368
- Bump actions/upload-artifact from 2 to 3 by @dependabot in #3369
- Bump docker/setup-buildx-action from 1 to 2 by @dependabot in #3371
- Bump docker/login-action from 1 to 2 by @dependabot in #3370
- Bump actions/cache from 2 to 3 by @dependabot in #3373
- Bump coverage from 6.2 to 6.5.0 by @dependabot in #3372
- Bump zconfig from 3.6.0 to 3.6.1 by @dependabot in #3375
- Bump tinycss2 from 1.1.1 to 1.2.1 by @dependabot in #3374
- Bump idna from 3.3 to 3.4 by @dependabot in #3366
- build(deps): bump actions/setup-python from 2 to 4 by @dependabot in #3376
- build(deps): bump django-debug-toolbar from 3.2.4 to 3.8.1 by @dependabot in #3382
- build(deps): bump freezegun from 1.2.1 to 1.2.2 by @dependabot in #3381
- build(deps): bump django-filter from 21.1 to 22.1 by @dependabot in #3380
- 🐛 Recreate cache folders if don't exist by @submarcos in #3385
- build(deps): bump requests from 2.27.1 to 2.28.1 by @dependabot in #3392
- build(deps): bump urllib3 from 1.26.9 to 1.26.13 by @dependabot in #3393
- build(deps): bump xmltodict from 0.12.0 to 0.13.0 by @dependabot in #3391
- Fix missing issue in 2.94.0 changelog by @camillemonchicourt in #3394
- 🐛 Force simple geometrycollection on sites by @LePetitTim in #3399
- 🐛 Use X-Forwarded-Proto header to define API v2 cache key by @submarcos in #3405
- build(deps): bump django-tinymce from 3.4.0 to 3.5.0 by @dependabot in #3379
- 🐛 Check pictogram exist on categories during generation of pdfs by @LePetitTim in #3406
- 🐛 Fix apidae parser should not update every time by @LePetitTim in #3408
- Gitlab#246 Retouche pictogrammes POIs Geotrek-Admin by @leboiss in #3409
- 🐛 Add fixtures licenses initial install by @LePetitTim in #3411
- 🐛 Fix default conf nginx for mobile by @LePetitTim in #3414
- 🐛 Fix parser translation field, add modified when new value is different from old value (for each language) by @LePetitTim in #3418
- 🐛 Change for absolute url on trek's description in api v2 by @LePetitTim in #3413
- 💫 Various improvements for the APIDAE trek parser by @marcantoinedupre in #3410
- Fix:
filter_difficulty
now handles when trek has no difficulty value by @marcantoinedupre in #3415 - build(deps): bump jinja2 from 3.0.3 to 3.1.2 by @dependabot in #3407
- build(deps): bump cssselect2 from 0.4.1 to 0.7.0 by @dependabot in #3402
- build(deps): bump wrapt from 1.14.0 to 1.14.1 by @dependabot in #3401
- 🐛 Fix Loaddem command update other types of geometry by @LePetitTim in #3416
- ✨ Add blade type on signage detail view by @LePetitTim in #3417
- Add duplication on objects by @LePetitTim in #3212
- 🐛 Prevent "Internal Error" on API v2 when wrong url parameters is provided on courses and sites filter for pois by @LePetitTim in #3419
New Contributors
Full Changelog: 2.94.0...2.95.0
2.94.0
New feature
- New
LEIParser
to import touristic content and event from LEI touristic data system - New
XMLParser
to import content from XML - ApidaeTrekParser: import trek's contact info into description
- New
Parser
subclass to import POIs from the APIDAE touristic data system. - New
POIParser
to import POIs from files (with and without dynamic segmentation) - Change default color of imported filelayer (#306)
Bug fixes
- Fix shp zipfile import
- ApidaeTrekParser: round computed duration
- ApidaeTrekParser: fix attached pictures import