feat: Release version 3.1.4 - Mode terrain et génération PDF

 Nouvelles fonctionnalités:
- Ajout du mode terrain pour utilisation mobile hors connexion
- Génération automatique de reçus PDF avec template personnalisé
- Révision complète du système de cartes avec amélioration des performances

🔧 Améliorations techniques:
- Refactoring du module chat avec architecture simplifiée
- Optimisation du système de sécurité NIST SP 800-63B
- Amélioration de la gestion des secteurs géographiques
- Support UTF-8 étendu pour les noms d'utilisateurs

📱 Application mobile:
- Nouveau mode terrain dans user_field_mode_page
- Interface utilisateur adaptative pour conditions difficiles
- Synchronisation offline améliorée

🗺️ Cartographie:
- Optimisation des performances MapBox
- Meilleure gestion des tuiles hors ligne
- Amélioration de l'affichage des secteurs

📄 Documentation:
- Ajout guide Android (ANDROID-GUIDE.md)
- Documentation sécurité API (API-SECURITY.md)
- Guide module chat (CHAT_MODULE.md)

🐛 Corrections:
- Résolution des erreurs 400 lors de la création d'utilisateurs
- Correction de la validation des noms d'utilisateurs
- Fix des problèmes de synchronisation chat

🤖 Generated with Claude Code (https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-08-19 19:38:03 +02:00
parent c1f23c4345
commit 5ab03751e1
1823 changed files with 272663 additions and 198438 deletions

View File

@@ -1 +1 @@

View File

@@ -1 +1 @@
"DQsHH2Fzc2V0cy9hbmltYXRpb25zL2dlb19tYWluLmpzb24MAQ0BBwVhc3NldAcfYXNzZXRzL2FuaW1hdGlvbnMvZ2VvX21haW4uanNvbgcqYXNzZXRzL2ZvbnRzL0ZpZ3RyZWUtVmFyaWFibGVGb250X3dnaHQudHRmDAENAQcFYXNzZXQHKmFzc2V0cy9mb250cy9GaWd0cmVlLVZhcmlhYmxlRm9udF93Z2h0LnR0ZgcgYXNzZXRzL2ltYWdlcy9nZW9zZWN0b3ItbG9nby5wbmcMAQ0BBwVhc3NldAcgYXNzZXRzL2ltYWdlcy9nZW9zZWN0b3ItbG9nby5wbmcHJWFzc2V0cy9pbWFnZXMvZ2Vvc2VjdG9yX21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ZmlnLnlhbWwHMnBhY2thZ2VzL2N1cGVydGlub19pY29ucy9hc3NldHMvQ3VwZXJ0aW5vSWNvbnMudHRmDAENAQcFYXNzZXQHMnBhY2thZ2VzL2N1cGVydGlub19pY29ucy9hc3NldHMvQ3VwZXJ0aW5vSWNvbnMudHRmBzRwYWNrYWdlcy9mbHV0dGVyX21hcC9saWIvYXNzZXRzL2ZsdXR0ZXJfbWFwX2xvZ28ucG5nDAENAQcFYXNzZXQHNHBhY2thZ2VzL2ZsdXR0ZXJfbWFwL2xpYi9hc3NldHMvZmx1dHRlcl9tYXBfbG9nby5wbmc="

View File

@@ -1 +1 @@
{"assets/animations/geo_main.json":["assets/animations/geo_main.json"],"assets/fonts/Figtree-VariableFont_wght.ttf":["assets/fonts/Figtree-VariableFont_wght.ttf"],"assets/images/geosector-logo.png":["assets/images/geosector-logo.png"],"assets/images/geosector_map_admin.png":["assets/images/geosector_map_admin.png"],"assets/images/icon-geosector.svg":["assets/images/icon-geosector.svg"],"assets/images/logo-geosector-1024.png":["assets/images/logo-geosector-1024.png"],"assets/images/logo-geosector-512.png":["assets/images/logo-geosector-512.png"],"assets/images/logo-geosector-512.png-autosave.kra":["assets/images/logo-geosector-512.png-autosave.kra"],"assets/images/logo_recu.png":["assets/images/logo_recu.png"],"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"],"packages/flutter_map/lib/assets/flutter_map_logo.png":["packages/flutter_map/lib/assets/flutter_map_logo.png"]}
{"assets/animations/geo_main.json":["assets/animations/geo_main.json"],"assets/fonts/Figtree-VariableFont_wght.ttf":["assets/fonts/Figtree-VariableFont_wght.ttf"],"assets/images/geosector-logo.png":["assets/images/geosector-logo.png"],"assets/images/geosector_map_admin.png":["assets/images/geosector_map_admin.png"],"assets/images/icon-geosector.svg":["assets/images/icon-geosector.svg"],"assets/images/logo-geosector-1024.png":["assets/images/logo-geosector-1024.png"],"assets/images/logo-geosector-512.png":["assets/images/logo-geosector-512.png"],"assets/images/logo-geosector-512.png-autosave.kra":["assets/images/logo-geosector-512.png-autosave.kra"],"assets/images/logo_recu.png":["assets/images/logo_recu.png"],"lib/chat/chat_config.yaml":["lib/chat/chat_config.yaml"],"packages/cupertino_icons/assets/CupertinoIcons.ttf":["packages/cupertino_icons/assets/CupertinoIcons.ttf"],"packages/flutter_map/lib/assets/flutter_map_logo.png":["packages/flutter_map/lib/assets/flutter_map_logo.png"]}

View File

@@ -2804,6 +2804,8 @@ retry
connectivity_plus
package_info_plus
package_info_plus_platform_interface
sensors_plus
sensors_plus_platform_interface
Copyright 2017 The Chromium Authors. All rights reserved.
@@ -4844,30 +4846,6 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
event_bus
The MIT License (MIT)
Copyright (c) 2013 Marco Jakob (majakob@gmx.ch)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
--------------------------------------------------------------------------------
expat
Copyright (c) 1997-2000 Thai Open Source Software Center Ltd
@@ -31405,62 +31383,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--------------------------------------------------------------------------------
mqtt5_client
MIT License
Copyright (c) 2017 Steve Hamblett<steve.hamblett@linux.com>
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
<<< License for using the included Observable code >>>
------------------------------------------------------
Copyright 2016, the Dart project authors. All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are
met:
* Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above
copyright notice, this list of conditions and the following
disclaimer in the documentation and/or other materials provided
with the distribution.
* Neither the name of Google Inc. nor the names of its
contributors may be used to endorse or promote products derived
from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
--------------------------------------------------------------------------------
nm
@@ -32056,7 +31978,7 @@ petitparser
The MIT License
Copyright (c) 2006-2025 Lukas Renggli.
Copyright (c) 2006-2024 Lukas Renggli.
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy
@@ -36284,7 +36206,7 @@ xml
The MIT License
Copyright (c) 2006-2023 Lukas Renggli.
Copyright (c) 2006-2025 Lukas Renggli.
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy

View File

@@ -0,0 +1,84 @@
# Configuration du module Chat
# Regles de permissions par role
# Version du module
module_info:
version: "1.0.0"
name: "Chat Module Light"
description: "Module de chat autonome et portable pour GEOSECTOR"
chat_permissions:
# Role 1: Membre standard
role_1:
name: "Membre"
description: "Membre de l'amicale"
can_message_with:
- role: 1
condition: "same_entite" # Meme amicale seulement
description: "Collegues membres"
- role: 2
condition: "same_entite" # Admin de sa propre amicale
description: "Administrateur de votre amicale"
can_create_group: false
can_broadcast: false
help_text: "Vous pouvez discuter avec les membres de votre amicale"
# Role 2: Administrateur d'amicale
role_2:
name: "Admin Amicale"
description: "Administrateur d'une amicale"
can_message_with:
- role: 1
condition: "same_entite" # Membres de son amicale
description: "Membres de votre amicale"
- role: 2
condition: "same_entite" # Autres admins de son amicale
description: "Co-administrateurs"
- role: 9
condition: "all" # Tous les superadmins
description: "Super administrateurs"
can_create_group: true
can_broadcast: false
help_text: "Vous pouvez discuter avec les membres de votre amicale et les super admins"
# Role 9: Super administrateur
role_9:
name: "Super Admin"
description: "Administrateur systeme"
can_message_with:
- role: 2
condition: "all" # Tous les admins d'amicale
description: "Administrateurs d'amicale"
allow_selection: true # Permet selection multiple
allow_broadcast: true # Permet envoi groupe
can_create_group: true
can_broadcast: true
help_text: "Vous pouvez envoyer des messages a tous les administrateurs d'amicale ou selectionner des destinataires specifiques"
# Configuration de l'interface
ui_config:
show_role_badge: true
show_entite_info: true
enable_autocomplete: true
min_search_length: 2
# Messages par defaut
messages:
no_permission: "Vous n'avez pas la permission de creer cette conversation"
no_recipients: "Aucun destinataire disponible"
search_placeholder: "Rechercher un destinataire..."
new_conversation: "Nouvelle conversation"
select_recipients: "Selectionner les destinataires"
# Couleurs par role (optionnel)
role_colors:
1: "#64748B" # Gris pour membre
2: "#2563EB" # Bleu pour admin
9: "#DC2626" # Rouge pour superadmin
# Configuration API
api_config:
recipients_endpoint: "/chat/recipients"
create_room_endpoint: "/chat/rooms"
require_entite_for_role_1: true
require_entite_for_role_2: true

View File

@@ -39,6 +39,6 @@ _flutter.buildConfig = {"engineRevision":"ef0cd000916d64fa0c5d09cc809fa7ad244a57
_flutter.loader.load({
serviceWorkerSettings: {
serviceWorkerVersion: "3634944934"
serviceWorkerVersion: "1680234143"
}
});

View File

@@ -11,7 +11,7 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "f36879dd176101fac324b68793e46
"icons/Icon-512.png": "4495c4d7eeff38c1a967d16a8129bd2e",
"icons/Icon-maskable-512.png": "4495c4d7eeff38c1a967d16a8129bd2e",
"flutter.js": "83d881c1dbb6d6bcd6b42e274605b69c",
"flutter_bootstrap.js": "c52a6020146d36f73f620679be8ffbc5",
"flutter_bootstrap.js": "3b81567a15d2475423fc4fff4f91283b",
"favicon-64.png": "259540a3217e969237530444ca0eaed3",
"index.html": "2aab03d10fea3b608e3eddc0fc0077e5",
"/": "2aab03d10fea3b608e3eddc0fc0077e5",
@@ -25,13 +25,14 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "f36879dd176101fac324b68793e46
"canvaskit/skwasm.js.symbols": "e72c79950c8a8483d826a7f0560573a1",
"canvaskit/skwasm.js": "ea559890a088fe28b4ddf70e17e60052",
"favicon-32.png": "21510778ead066ac826ad69302400773",
"version.json": "f04ca24594865bd8fb39991801f03c65",
"version.json": "dc323314986574195f4c0911b73c2d08",
"favicon.png": "21510778ead066ac826ad69302400773",
"favicon-16.png": "106142fb24eba190e475dbe6513cc9ff",
"assets/AssetManifest.json": "ee827821edbe97bd24fe72882535afca",
"assets/AssetManifest.bin": "f1f694a4898aea6648eb53d349609844",
"assets/fonts/MaterialIcons-Regular.otf": "f8e4b3a46d9b5463bfc253422cb931db",
"assets/AssetManifest.json": "be01976599a5c8d0e24a96d48f9f680d",
"assets/AssetManifest.bin": "ba9f27da402ad067e14fbca1dc7e79a5",
"assets/fonts/MaterialIcons-Regular.otf": "6520fc0b4b2209d71470fffa59d3030c",
"assets/FontManifest.json": "2eb88ea349cfc4d8628e771303d003ca",
"assets/lib/chat/chat_config.yaml": "951e93d3619845be5e31bf38d997a1e8",
"assets/packages/flutter_map/lib/assets/flutter_map_logo.png": "208d63cc917af9713fc9572bd5c09362",
"assets/packages/cupertino_icons/assets/CupertinoIcons.ttf": "33b7d9392238c04c131b6ce224e13711",
"assets/assets/images/logo-geosector-512.png-autosave.kra": "cd1b8b451817f93a6f3d03c9fe59c351",
@@ -44,9 +45,9 @@ const RESOURCES = {"icons/Icon-maskable-192.png": "f36879dd176101fac324b68793e46
"assets/assets/fonts/Figtree-VariableFont_wght.ttf": "d25a5457a34fbf1c36b2937df1cf543b",
"assets/assets/animations/geo_main.json": "e1c9755530d5f83718d4d43b0a36a703",
"assets/shaders/ink_sparkle.frag": "ecc85a2e95f5e9f53123dcaf8cb9b6ce",
"assets/NOTICES": "d1d24a6d37f88e05b7d4c2d8cc066528",
"assets/AssetManifest.bin.json": "01a86053322475f2d9ce5c0a8d863d63",
"main.dart.js": "187f3fb54fa5967eecb2eab3cbbcf26d",
"assets/NOTICES": "574f862e50d7e127b9fd2840191e8359",
"assets/AssetManifest.bin.json": "d7830fa1fe53ff5110ed58a76ce23a45",
"main.dart.js": "b28c95dcf0663c103e1c1d6bfee38d3f",
"manifest.json": "4c436b37549165212484247d584e67cc"};
// The application shell files that are downloaded before a service worker can
// start.

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
{"app_name":"geosector_app","version":"3.0.8","build_number":"308","package_name":"geosector_app"}
{"app_name":"geosector_app","version":"3.1.4","build_number":"314","package_name":"geosector_app"}