Releases: dnum-mi/basegun
Releases · dnum-mi/basegun
v5.1.1
v5.1.0
5.1.0 (2025-05-30)
Features
- 🔒 add contact details endpoint and api call (b809a2d)
- 🔒 hide ircgn email (6493b80)
- 🔊 add logs related to authentication (6594eb4)
- 📝 update accessibility and contact pages (511a7b4)
- 🛂 implement rate limit on api requests (56439f2)
- ✨ add alarm gun detection api and tests (2e981cd)
- ✨ add api route and tests for alarm gun detection (04c7fcc)
- ✨ add contact path for weapon expert (82263b5)
- ✨ add dummy identification for lever rifle and semi-automatic or automatic long gun (4c58fa7)
- ✨ add dummy shotgun identification (14cce76)
- ✨ add email client with local email server (6955bad)
- ✨ add endpoint to contact experts via email (b3c9576)
- ✨ add endpoint to contact experts via email (de89ff2)
- ✨ add expert contact path for police and gendarmerie (518ae81)
- ✨ add expert contact path for police and gendarmerie (a8e5a9c)
- ✨ add expert contact path for police and gendarmerie (0714d3f)
- ✨ add expert form path (4ce1b67)
- ✨ add gun length and gun barrel length to resultstore (64b291c)
- ✨ add identification blank gun path (8b28cfe)
- ✨ add luxon for fix utc issues (32e1272)
- ✨ add pictures as email attachements (3210393)
- ✨ Add pop-up mail informations and update situations for contacting expert (9b451dc)
- ✨ Add pop-up mail informations and update situations for contacting expert (66e3025)
- ✨ add popup video component (#252) (5c6e84d)
- ✨ add return previous step button for blank gun identification (1f59c2e)
- ✨ add swiper for identificationblankgun and fix images names (134de0f)
- ✨ display phone number depending on the time (5765d6b)
- ✨ display phone number depending on the time (5765d6b)
- ✨ display phone number depending on the time (b026d67)
- ✨ finalize expert form contact with email attachment (0277854)
- ✨ fix duration securing videos (bcc6b9f)
- ✨ fix revolver with hidden door display (5765d6b)
- ✨ fix revolver with hidden door display (70af91c)
- ✨ hide PN button for expert contact path (400ac4f)
- ✨ implementation ocr module for blank guns (900aa3c)
- ✨ redirect to right page if no card detected (4707406)
- ✨ update hidden door revolver videos (730ac87)
- ✨ update hidden door revolver videos (730ac87)
- ✨ update hidden door revolver videos (730ac87)
- ✨ update hidden door revolver videos (730ac87)
- ✨ update instructions and example photo for upload (#394) (5d18814)
- 🧑💻 add healthcheck for Keycloak service in docker-compose.yml (4a92bd3)
- ⚡ automatically retrieve jwks (cb16ce3)
- ❇️ add tutorial to secure a firearm (#159) (e1edd0a)
Bug Fixes
- 🐛 add text to typologies files (7776725)
- 🐛 change auth_idp and cheops to idp and Cheops (9ca0aae)
- 🐛 feedback not working on resultpage (ceaaa46)
- 🐛 fix authentication by adding audience in jwt decode (661fc98)
- 🐛 fix disclaimer display on dummy weapons (d6b58ae)
- 🐛 fix epaule_a_pompe securing steps (9552595)
- 🐛 fix popup uzi video (19ebc03)
- 🐛 fix redirection after login with Passage 2 (b5cde1e)
- 🐛 fix refresh accesstoken every seconds (e2e7232)
- 🐛 fix timout while sending emails (9471ae1)
- 🐛 fix tutorial log when user is not able to perform a step (36e0c8f)
- 🐛 make markings_pictures optional (cc6bbdc)
- 🐛 Put clean registy on separate job in ci (c872646)
- 🐛 remove measure model call when confidence level is low (f6ea811)
- 🐛 show message for all user other than proxyma in expert contact (00a3d09)
- 👷 fix ci build reusable workflow (db4a4f9)
- 💚 fix release please config (3b16040)
- 💄 use alerts instead of modal for expert form submission (714487f)
- 🔒 set server_tokens to off in nginx conf (2bcd626)
- ✏️ fix non-display securing weapons (5765d6b)
- ♿ fix accessibilities issues ([fcc3de5](https://...
v5.0.0
What's Changed
- Show contact only to authenticated users by @thomashbrnrd in #514
- fix: 🐛 remove measure model call when confidence level is low by @nutfdt in #530
- Add email client with local email server by @thomashbrnrd in #513
- refactor: ♻️ rework signing key retrieval by @thomashbrnrd in #538
- feat: ✨ add pictures as email attachements by @thomashbrnrd in #539
- fix: 🔒 set server_tokens to off in nginx conf by @thomashbrnrd in #540
- feat: ✨ finalize expert form contact with email attachment by @nutfdt in #541
- fix: 🐛 fix redirection after login with Passage 2 by @nutfdt in #550
- Update LICENSE by @leihuayi in #551
- chore: 🔥 remove not used anymore workflows by @thomashbrnrd in #554
- ci: ⚡ add kaniko mirror registry by @thomashbrnrd in #560
- ci: 🐛 fix github branch name variable by @thomashbrnrd in #558
- refactor: 🔥 Remove config for running app behind proxy by @leihuayi in #559
- style: 💄 add SCAE images in expert contact form by @nutfdt in #548
- Add kaniko mirror registry by @thomashbrnrd in #561
- docs: 📝 Update documentation by @leihuayi in #555
- ci: 👷 add release please action by @thomashbrnrd in #529
- feat: ⚡ automatically retrieve jwks by @thomashbrnrd in #563
- refactor: 🔥 remove plausible io by @thomashbrnrd in #569
- build(deps): bump cryptography from 42.0.8 to 43.0.1 in /backend by @thomashbrnrd in #570
- chore: 📦 update vite by @thomashbrnrd in #571
- build(deps): bump rollup in /frontend by @thomashbrnrd in #572
- Create dependabot.yml by @thomashbrnrd in #573
- ci: 👷 replace special chars in docker image tag by @thomashbrnrd in #574
- build(deps): bump uvicorn from 0.23.2 to 0.31.0 in /backend by @dependabot in #576
- build(deps): bump autodynatrace from 2.0.0 to 2.1.1 in /backend by @dependabot in #575
- build(deps): bump gunicorn from 22.0.0 to 23.0.0 in /backend by @dependabot in #579
- build(deps): bump coverage from 7.3.2 to 7.6.1 in /backend by @dependabot in #578
- build(deps-dev): bump unplugin-auto-import from 0.17.8 to 0.18.3 in /frontend by @dependabot in #577
- build(deps): bump faker from 26.0.0 to 30.1.0 in /backend by @dependabot in #581
- build(deps): bump oidc-client-ts from 3.0.1 to 3.1.0 in /frontend by @dependabot in #582
- build(deps): bump vue from 3.5.4 to 3.5.11 in /frontend by @dependabot in #584
- build(deps-dev): bump @unocss/transformer-directives from 0.58.9 to 0.63.4 in /frontend by @dependabot in #585
- build(deps): bump @gouvfr/dsfr from 1.11.2 to 1.12.1 in /frontend by @dependabot in #583
- refactor: ♻️ use env variable for contact numbers by @nutfdt in #547
- feat: 🧑💻 add healthcheck for Keycloak service in docker-c… by @thomashbrnrd in #589
- Revert "refactor: ♻️ use env variable for contact numbers" by @thomashbrnrd in #591
- fix: ✅ Updating API tests that uses authentification by @nutfdt in #588
- refactor: 🔥 remove unused code in test_api.py by @thomashbrnrd in #603
- build(deps): bump faker from 30.1.0 to 30.3.0 in /backend by @dependabot in #593
- feat: ✨ add dummy shotgun identification by @nutfdt in #543
- build(deps): bump fastapi from 0.103.2 to 0.115.2 in /backend by @dependabot in #594
- build(deps): bump pyjwt from 2.8.0 to 2.9.0 in /backend by @dependabot in #595
- build(deps): bump pinia-plugin-persistedstate from 3.2.3 to 4.1.1 in /frontend by @dependabot in #597
- build(deps-dev): bump unplugin-vue-components from 0.26.0 to 0.27.4 in /frontend by @dependabot in #598
- build(deps-dev): bump @unocss/transformer-variant-group from 0.58.9 to 0.63.4 in /frontend by @dependabot in #599
- build(deps-dev): bump eslint-plugin-vue from 9.28.0 to 9.29.0 in /frontend by @dependabot in #600
- build(deps-dev): bump @vue/eslint-config-typescript from 12.0.0 to 13.0.0 in /frontend by @dependabot in #601
- chore: 🧑💻 add cypress screenshots to gitignore by @thomashbrnrd in #605
- fix: ♿ fix accessibilities issues by @nutfdt in #542
- Add phone numbers as env variables by @thomashbrnrd in #606
- build(deps): bump faker from 30.3.0 to 30.6.0 in /backend by @dependabot in #608
- build(deps): bump cryptography from 43.0.1 to 43.0.3 in /backend by @dependabot in #609
- build(deps): bump uvicorn from 0.31.0 to 0.32.0 in /backend by @dependabot in #610
- build(deps): bump coverage from 7.6.3 to 7.6.4 in /backend by @dependabot in #611
- build(deps-dev): bump eslint-plugin-cypress from 2.15.2 to 3.6.0 in /frontend by @dependabot in #613
- build(deps): bump vue from 3.5.11 to 3.5.12 in /frontend by @dependabot in #612
- build(deps-dev): bump eslint-plugin-vue from 9.29.0 to 9.29.1 in /frontend by @dependabot in #615
- build(deps-dev): bump @types/node from 20.16.11 to 22.7.7 in /frontend by @dependabot in #616
- build(deps-dev): bump vite-plugin-pwa from 0.17.5 to 0.20.5 in /frontend by @dependabot in #614
- build(deps): bump basegun-ml from 1.0.1 to 2.0.3 in /backend by @dependabot in #596
- feat: ✨ add api route and tests for alarm gun detection by @nutfdt in #617
- build(deps): bump vite from 5.4.8 to 5.4.10 in /frontend by @dependabot in #618
- build(deps-dev): bump cypress from 13.15.0 to 13.15.1 in /frontend by @dependabot in #619
- build(deps-dev): bump vitest from 1.6.0 to 2.1.3 in /frontend by @dependabot in #621
- build(deps-dev): bump prettier from 3.3.1 to 3.3.3 in /frontend by @dependabot in #620
- build(deps): bump faker from 30.6.0 to 30.8.1 in /backend by @dependabot in #622
- build(deps): bump boto3 from 1.28.39 to 1.35.49 in /backend by @dependabot in #623
- build(deps): bump fastapi from 0.115.2 to 0.115.4 in /backend by @dependabot in #624
- build(deps): update numpy requirement from <2.0.0 to <3.0.0 in /backend by @dependabot in #625
- test: ✅ add new e2e test for expert contact path by @nutfdt in #590
- refactor: 🔥 remove meta property "reload:true" by @nutfdt in #628
- build(deps): bump pinia from 2.2.4 to 2.2.6 in /frontend by @dependabot in #629
- build(deps-dev): bump typescript from 5.6.2 to 5.6.3 in /frontend by @dependabot in #630
- build(deps): bump boto3 from 1.35.49 to 1.35.54 in /backend by @dependabot in #634
- build(deps): bump faker from 30.8.1 to 30.8.2 in /backend by @dependabot in #635
- build(deps): bump pinia-plugin-persistedstate from 4.1.1 to 4.1.2 in /frontend by @dependabot in #632
- build(deps): bump faker from 30.8.2 to 33.0.0 in /backend by @dependabot in #639
- build(deps): bump pyjwt from 2.9.0 to 2.10.0 in /backend by @dependabot in #640
- build(deps): bump @gouvminint/vue-dsfr from 7.0.1 to 7.1.0 in /frontend by @dependabot in #631
- build(deps): bump boto3 from 1.35.54 to 1.35.72 in /backend by @dependabot in https://github.com/dnu...
v4.0.0
Changes
- style: 💬 update text for sending email to ircgn @nutfdt (#526)
- Update alarm guns category @thomashbrnrd (#510)
- style: 💬 change text when typology unknown and update … @nutfdt (#503)
- Reset selectedOptions state in result store @thomashbrnrd (#499)
- Add prettier with usefull configuration @thomashbrnrd (#495)
- Update getCategories for revolvers @thomashbrnrd (#494)
- feat: 📝 update accessibility and contact pages @nutfdt (#484)
- style: 🎨 update introduction text @nutfdt (#487)
- chore: 🎨 standardize html balises with DSFR @nutfdt (#486)
- Update alarm guns number in text @thomashbrnrd (#485)
- Use UTC+1 to display IRCGN phone number @thomashbrnrd (#478)
- feat: ✨ update hidden door revolver videos @nutfdt (#473)
- Add getDisclaimer for semi-auto-style-militaire-autre @thomashbrnrd (#477)
- Refactor GuideSecuringFirearm and footer / stepper css @thomashbrnrd (#474)
- Refactor category handling @thomashbrnrd (#470)
- Use latest docker compose version and fix version warning @thomashbrnrd (#463)
- feat: ✨ display phone number depending on the time @nutfdt (#461)
- feat: ✨ fix revolver with hidden door display @nutfdt (#462)
- Add get disclaimer in typology files @thomashbrnrd (#453)
- refactor: ♻️ delete isSecuringOptions from typologies files @nutfdt (#456)
- Remove WORKSPACE from s3 image path @thomashbrnrd (#454)
- style: 💄 refactor css @nutfdt (#455)
- style: 💄 replace logo @nutfdt (#451)
- Remove steps from LocalStorage and simplify stepper management @thomashbrnrd (#447)
- test: ✅ updates tests e2e and images @nutfdt (#446)
- Update MissingCardPage display conditions @thomashbrnrd (#445)
- Add feedback when card is missing @thomashbrnrd (#439)
- Update instructions page @thomashbrnrd (#437)
- Update accessibility page @thomashbrnrd (#435)
- Add accessibility page with link and compliant mention @thomashbrnrd (#425)
- Improve categories with measures @thomashbrnrd (#416)
- feat: ✨ update instructions and example photo for upload @nutfdt (#394)
- Remove unwanted yolo model loading @thomashbrnrd (#399)
- Implement measure ml model @thomashbrnrd (#395)
- Reorganize backend files to make it futurproof @thomashbrnrd (#393)
- Add email autocompletion for expert contact @thomashbrnrd (#392)
- Use file and stdout log outputs @thomashbrnrd (#384)
- Change some texts for expert contact features @thomashbrnrd (#371)
- Use stdout for logging instead of file @thomashbrnrd (#370)
- refactor: ♻️ Update IRCGN phone number and email + Hide contac… @nutfdt (#343)
- Change dummy weapong result text and remove beta wording @thomashbrnrd (#335)
- Update some texts and fix some typos @thomashbrnrd (#334)
- Remove duplicated step in tutorial @thomashbrnrd (#328)
- Update LPS phone number and email @thomashbrnrd (#331)
- Remove contact form from develop @thomashbrnrd (#321)
- Use new ML model @thomashbrnrd (#305)
- Use multiple workers in prod @thomashbrnrd (#304)
- feat: ✨ add expert contact path for police and gendarmerie @nutfdt (#289)
- feat: ✨ add expert contact path for police and gendarmerie @nutfdt (#288)
- add expert contact path for police and gendarmerie @nutfdt (#287)
- style: 💄 update static pages @nutfdt (#286)
- Update base images versions @thomashbrnrd (#285)
- Resolve CNE06 @thomashbrnrd (#282)
- Use specific repo instead of infra directory @thomashbrnrd (#275)
- style: 💄 update display securing pop-up @nutfdt (#274)
- Use new bucket to mitigate CNE03 @thomashbrnrd (#271)
- Remove logs api @thomashbrnrd (#269)
- Add model to repo using git lfs @thomashbrnrd (#261)
- Add ingress exposition label @thomashbrnrd (#265)
- 251 popup videos @nutfdt (#263)
- Remove geolocation.io dependancy @thomashbrnrd (#256)
- Update babel and postcss to fix CVEs @thomashbrnrd (#253)
- Add codeowners file @thomashbrnrd (#250)
- Remove podAnnotations from values.yml @thomashbrnrd (#248)
- Remove some not needed properties for deployments @thomashbrnrd (#247)
- style: 💄 update securing photos @nutfdt (#246)
- Remove legacy infra folder @thomashbrnrd (#245)
- tech : add TS config @nutfdt (#228)
- Use pytest instead of unittest @thomashbrnrd (#242)
- Change default value to minio for s3 storage @thomashbrnrd (#239)
- Merge develop into main @thomashbrnrd (#238)
- Add secrets for prod env @thomashbrnrd (#236)
- Set verify for boto3 ssl to false @thomashbrnrd (#234)
- Use env variable for boto3 ssl verify @thomashbrnrd (#233)
- Add secrets for dev / staging env @thomashbrnrd (#229)
- Create values.yaml for each env @thomashbrnrd (#225)
- Add livenessProbe to filebeat sidecar @thomashbrnrd (#227)
- Add mandatory labels to pods @thomashbrnrd (#226)
- Remove images and tags from docker-compose.yml @thomashbrnrd (#224)
- Update front base image @thomashbrnrd (#223)
- Remove root package-lock.json @thomashbrnrd (#222)
- Update python and requirements versions @thomashbrnrd (#221)
- Update pytorch to fix CVE @thomashbrnrd (#219)
- Set backend resources limits @thomashbrnrd (#212)
- Set manifest theme color @thomashbrnrd (#210)
- Add eslint to pre-commit hooks @thomashbrnrd (#209)
- Add black, isort and pre-commit @thomashbrnrd (#207)
- build(secret): add image pull secret @thomashbrnrd (#206)
- Add api prefix and use k8s ingress @thomashbrnrd (#204)
- Update CI jobs needs and helms charts @thomashbrnrd (#198)
- Revert "Use commit sha in ci" @thomashbrnrd (#203)
- Use commit sha in ci @thomashbrnrd (#201)
- Add build and test jobs @thomashbrnrd (#200)
- build(prefix): add prefix to api routes @thomashbrnrd (#197)
- Dso auto sync on all push @thomashbrnrd (#186)
- Make docker images rootless @thomashbrnrd (#173)
🚀 Features
- Add OIDC with Passage2 @thomashbrnrd (#508)
- feat: ✨ identification blank gun path @nutfdt (#386)
- Feat yolo classif @AurelienmartW (#320)
- feat: ✨ add contact path for weapon expert @nutfdt (#280)
- feat: ✨ add popup video component @nutfdt (#252)
- feat: ❇️ add tutorial to secure a firearm @NadeigeC (#159)
- Feature/adapt infra for dso env @thomashbrnrd (#179)
- Add ci job to build filebeat rootless @thomashbrnrd (#178)
🐛 Bug Fixes
- fix: 🐛 feedback not working on resultpage @thomashbrnrd (#528)
- fix: 🐛 fix tutorial log when user is not able to perform a step @thomashbrnrd (#527)
- fix: 🐛 fix disclaimer display on dummy weapons @nutfdt (#521)
- fix: 🐛 fix popup uzi video @nutfdt (#518)
- ci: 💚 fix ci build by removing references to deleted files @thomashbrnrd (#516)
- Fix MissingCardPage not showing when no card is detected @thomashbrnrd (#507)
- fix: 🐛 add text to typologies files @nutfdt (#489)
- Fix epaule_a_pompe securing steps @thomashbrnrd (#465)
- Fix shoulder guns typologies measures rules @thomashbrnrd (#438)
- Fix steps when doing going back on alam gun path @thomashbrnrd (#436)
- Fix alarm guns user journey trigger @thomashbrnrd (#428)
- Fix tutorial not showing @thomashbrnrd (#324)
- fix(upload): error page not always showing @thomashbrnrd (#302)
- Fix dso automatic sync @thomashbrnrd (#277)
- Fix imagePullSecrets path in helm charts @thomashbrnrd (#211)
- Fix secrets for S3 @thomashbrnrd (#194)
- Use a log file instead of STDOUT for logging @leihuayi (#181)
🔥 Enhancements
- feat: ✨ hide PN button for expert contact path @nutfdt (#506)
- Use pinia-plugin-persistedstate instead of custom vueuse function @thomashbrnrd (#504)
- Use ML models package and remove custom ml functions @thomashbrnrd (#500)
- Remove custom case for black powder revolver in result page @thomashbrnrd (#493)
- Refactor black powder revolver path @thomashbrnrd (#492)
- feat: ✨ add luxon for fix utc issues @nutfdt (#491)
- Merge resultStore and stepsStore @thomashbrnrd (#488)
- refactor: ♻️ remove isDummyTypology and refactor guideFactice @nutfdt (#480)
- Replace organisation datalab-mi to dnum-mi @thomashbrnrd (#482)
- Standardize securing footer @thomashbrnrd (#481)
- refactor: ♻️ standardize securing steps on typologies files @nutfdt (#457)
- feat: ✨ Add pop-up mail informations and update situations f… @nutfdt (#333)
- style: 💄 fix firearms syntax @nutfdt (#266)
- Use different s3 buckets for each env @thomashbrnrd (#249)
- Add new securing videos @nutfdt (#218)
- Enh/use s3 instead of swift @thomashbrnrd (#177)
- Single requirements file @leihuayi (#184)
v3.2
v3.1
Changes
🚀 Features
🐛 Bug Fixes
🔥 Enhancements
v2.0
Changes
- Tutos factices @leihuayi (#158)
- refactoring code and create stores pinia @NadeigeC (#123)
- Add new images with arrow @NadeigeC (#120)
- Add new store to manage guide factices @NadeigeC (#119)
🚀 Features
- feat: ✨ Add custom page if no connection available @NadeigeC (#146)
- feat: 📊 Logging the detection of dummy or real firearms @leihuayi (#148)
- refactor: 🎨 Refactoring Result component @NadeigeC (#143)
- fix: 🐛 Triying registerSW with autoUpdate @NadeigeC (#134)
- fix empty localStorage on result page @NadeigeC (#132)
- Revert "fix empty localStorage on result page" @NadeigeC (#133)
- fix empty localStorage on result page @NadeigeC (#131)
- fix: 🐛 little fixes after review @NadeigeC (#130)
- fix: 🐛 little fixes after review @NadeigeC (#129)
- ⬆️ Feat/upgrade dependencies @NadeigeC (#128)
- rename stat select_option variable @NadeigeC (#127)
- Add new stat variables @NadeigeC (#126)
- Feat/add tutorial for detecting airsofts @NadeigeC (#125)
- Fix text on selectOption @NadeigeC (#122)
- Feat/add tutorial for detecting airsofts @NadeigeC (#121)
- Add tutorial for dectecting airsofts @Carolinedanslesnuages (#105)
🐛 Bug Fixes
- fix empty localStorage on result page @NadeigeC (#132)
- fix empty localStorage on result page @NadeigeC (#131)
- fix: 🐛 little fixes after review @NadeigeC (#130)
- fix: 🐛 little fixes after review @NadeigeC (#129)
🔥 Enhancements
- [WIP] fix: 💄 Add new images with arrow and little fixes @NadeigeC (#157)
- [WIP] fix: 🚑 fixs after SCAE experts recommendations @NadeigeC (#155)
- style: 💄 improve css style in main.css and inline or scoped styles @NadeigeC (#153)
- enh: ♻️ remove bootstrap and replace by Dsfr classes @NadeigeC (#151)
- enh: ♻️ migrate components vue2 to vue3 @NadeigeC (#149)
- refactor: 🎨 Refactoring HeaderMain with DsfrHeader component @NadeigeC (#144)
- refactor: 🎨 Refactoring Result component @NadeigeC (#143)
v1.5
Changes
- Develop v.1.5 @NadeigeC (#117)
- 💄 fixed upload button on footer @NadeigeC (#116)
- 🎨 PWA issue on deploy @NadeigeC (#115)
- Redirection to result page only after having received result from backend @leihuayi (#113)
🚀 Features
🐛 Bug Fixes
🔥 Enhancements
- Enhancement/fix and improve code after upgrade dependances @Carolinedanslesnuages (#89)