Commit 3c257dc
authored
Add encrypted file messaging support (#367)
* send images using blossom server
* update dependencies
* add more files, pdf, txt, videos
* add documentation and improve send files UI
* use localized strings for file message actions
* Add validation for hex key length before parsing
* Sanitize filename to prevent path traversal
* remove unuced nonceHex parameter
* Avoid triggering side effects from build
* Eliminated code duplication
* HTTP Client Resource Leak Fixed
* Add secure file upload system with format restrictions and image sanitization
* sanitize files name
* update dependencies
* code rabbit sugestions
* Add a confirmation message before sending the file
* tap to open images
* coderabbit sugesions
* Add comprehensive file messaging tests
- Add 31 tests covering encryption, validation, upload/download
- Include edge cases and security validation
* fix tests
* Generated mocks for CI compatibility and coderabbit suggestion
* Improve gift wrap tests
* nitpick rabbit suggestions
* improve tests
* centralizing BlossomException to avoid multiple definitions
* centralizing Blossom server config
* missing file
* fix: remove duplicate code
* add translations and follow coderabbit sugests
* add Unicode normalization and robust JSON parsing for file messaging1 parent e0ea3b9 commit 3c257dc
File tree
28 files changed
+5559
-91
lines changed- android/app
- docs/architecture
- lib
- core/config
- features/chat
- notifiers
- screens
- utils
- widgets
- l10n
- services
- test
- features/chat
28 files changed
+5559
-91
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
115 | 124 | | |
116 | 125 | | |
117 | 126 | | |
0 commit comments