bayanat v2.9.0
Features, Improvements, Fixes
This will be updated shortly.
Upgrade Steps
Please ensure the Bayanat database, config.json and the .env files are backed up before beginning this upgrade.
After stopping all Bayanat services, carefully follow the following steps to upgrade to this version:
-
Upgrade deps:
source env/bin/activate pip install -r requirements.txt -
Database migrations:
psql -d bayanat -f enferno/migrations/20250115_120200_export_ref_to_tags.sql psql -d bayanat -f enferno/migrations/20250527_000000_search_optimization_indexes.sql psql -d bayanat -f enferno/migrations/20250623_120954_create_id_number_types.sql psql -d bayanat -f enferno/migrations/20250623_184016_actor_id_number_migration.sql psql -d bayanat -f enferno/migrations/20250718_153735_create_notification_table.sql -
Restart services.
What's Changed
- feat: Harden nginx config by @zhabiba24 in #40
- bugfix: remove no longer needed options watcher by @crnogaj in #43
- docs: update API docs for web import endpoints by @cango91 in #47
- BYNT-1275: CSRF rate limiting by @cango91 in #49
- new YT-DLP upgrade + minor upgrade of few other libs by @level09 in #53
- Database Migration: add database migration guidelines to CONTRIBUTING.md by @level09 in #59
- BYNT-1322: Change Export.ref to Export.tags by @cango91 in #55
- feat: OpenAI Whisper Integration by @cango91 in #48
- fix: satellite imagery is broken in GeoMap and GlobalMap by @apodacaduron in #46
- Video playback issues by @apodacaduron in #45
- bugfix: missing @celery.task decorator for web import by @tarekio in #63
- fix import of media mixin on import log by @apodacaduron in #66
- fix clear search behavior bulletins by @apodacaduron in #64
- Fix 'Invalid Date' in Import Log Dialog by @apodacaduron in #74
- Fix pagination after bulk updates on the bulletins page by @apodacaduron in #72
- Dependency upgrades by @level09 in #79
- fix: replace existing media check which sqlalchemy doesn't recognize by @tarekio in #80
- Permanent fix for non-English media filenames by @tarekio in #81
- bug: BYNT-1335 - Error Parsing Doc/Pdf on Media Import by @cango91 in #61
- Bump jinja by @tarekio in #85
- Support pre-3.12 versions by @tarekio in #84
- Move media import processing to celery fully by @tarekio in #83
- Bynt-1328/1332 Preserving Arabic titles media import/Web Import Can't Import Content With Long Titles by @cango91 in #67
- Tweak to media import settings language and defaults by @tarekio in #90
- Optimize Celery tasks by implementing connection pooling by @level09 in #88
- Update dependencies in requirements files by @level09 in #91
- Improve ETL code by @tarekio in #89
- Bump @babel/runtime from 7.26.0 to 7.26.10 by @dependabot[bot] in #87
- Bump axios from 1.7.8 to 1.8.2 by @dependabot[bot] in #86
- Dependency Upgrades by @level09 in #96
- Auto scroll to invalid elements by @apodacaduron in #71
- bump requests version. by @cango91 in #101
- bug: BYNT-1331 - Web Import downloads low quality by @cango91 in #62
- Add missing dz property on extradropzone by @apodacaduron in #103
- Setup wizard goes into loop when 2fa is activated by @apodacaduron in #99
- bug: Setup Test Modifies Production Configuration by @cango91 in #76
- Show Arabic content if English is missing by @tarekio in #105
- Test Improvements by @cango91 in #60
- Migrate image gallery from PhotoSwipe to lightgallery.js by @apodacaduron in #98
- Fixes for issues in sheet imports by @tarekio in #104
- BYNT-1274: Configure Logging Behavior by @cango91 in #51
- Add title max length warning by @apodacaduron in #70
- Duplicated rows when creating records by @apodacaduron in #75
- BYNT-807: Add search to location admin levels and types by @cango91 in #112
- chore(deps): bump urllib3 from 2.4.0 to 2.5.0 in /requirements by @dependabot[bot] in #115
- Specify v4 s3 signatures to allow buckets with KMS encryption by @tarekio in #82
- BYNT-1362: Add search for actor tags by @cango91 in #110
- Bynt-1351: Missing whisper handling by @cango91 in #111
- Secondary language not displayed in preview by @apodacaduron in #113
- Bynt 1301 css adjustment unifield by @apodacaduron in #117
- Remove videojs example files by @apodacaduron in #118
- Location dialog is broken by @apodacaduron in #120
- BYNT-1337 - Export error handling by @cango91 in #108
- Implement better handling of server responses in handle request error by @apodacaduron in #114
- BYNT-1365: Webauthn device name validation using form extension by @cango91 in #119
- BYNT-1370/1/2: ID Number Types and Actor.id_number migration by @cango91 in #121
- BYNT-1383: Set default for radius by @cango91 in #128
- System administration new design by @apodacaduron in #58
- New Short Actor Form & Bulletin Dialog Redesign by @apodacaduron in #109
- chore(deps): bump pillow from 11.2.1 to 11.3.0 in /requirements by @dependabot[bot] in #125
- Ensure only non-empty strings are converted to JSON arrays by @level09 in #137
- BYNT-1368: Sheet Import - Actor Move Origin ID by @cango91 in #123
- chore: merge validation utils into a single file by @cango91 in #130
- Implement new login design by @apodacaduron in #116
- replace hardcoded url with one from the config by @apodacaduron in #138
- Add confirmation for resetting an import sheet mapping fix back btn by @apodacaduron in #134
- BYNT-1387: enforce password policies in backend + chore: configure gitleaks to ignore tests by @cango91 in #129
- BYNT-1400: Handle new ID number in Sheet Import (BE) by @cango91 in #141
- BYNT-1391: Add DELETE Mapping endpoint by @cango91 in #133
- Show delete button as soon as ID Number input is dirty by @apodacaduron in #142
- Media file is not fully visible after rotation by @apodacaduron in #146
- chore(deps): bump form-data from 4.0.1 to 4.0.4 by @dependabot[bot] in #145
- Make event title optional by @apodacaduron in #143
- BYNT-1389: Standardize API Responses by @cango91 in #131
- Search Optimization Rewrite by @level09 in #97
- Update torch version to 2.8.0 in optional requirements by @level09 in #152
- bynt-1364: implement username and email validation for user endpoints by @cango91 in #126
- Fix Code Scanning Potential Stack Trace exposure by @level09 in #153
- Notification system 🚨 by @cango91 in #50
New Contributors
- @zhabiba24 made their first contribution in #40
- @crnogaj made their first contribution in #43
- @tarekio made their first contribution in #63
Full Changelog: v2.4.0...v2.9.0