mattermost-mobile/app/hooks
Elias Nahum 44eb76bed7
feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312)
* refactor: implement custom ExpoImage wrapper for cache control

Add ExpoImage component with automatic cacheKey/cachePath management and replace all expo-image imports across the app

* refactor(ios): convert Gekidou to CocoaPods

Migrate from Swift Package Manager to CocoaPods, add Keychain write operations, refactor notification handler to remove react-native-notifications headers, and upgrade Swift to 5.0

* npm audit

* update fastlane

* feat(ci): integrate Intune MAM for enterprise builds with strict OSS protection

Add Intune submodule, CI actions, Fastlane configuration, developer scripts, pre-commit hooks, and validation workflows to enable internal MAM builds while protecting OSS repository

* fix tests by mocking @mattermost/intune

* feat: implement Intune MAM integration with comprehensive security enforcement

Add IntuneManager, refactor SecurityManager/SessionManager for MAM policies, implement native OIDC auth flow, add biometric enforcement, conditional launch blocking, and file protection controls

* fix alerts when no server database is present

* Unify cache strategy

* fix emit config changed after it was stored in the db

* Handle Mid-Session Enrollment Detection

* fix ADALLogOverrideDisabled missing in Fastfile

* fix flow for initial enrollment

* fix and add unit tests

* enable Intune configuration for PR and beta builds, CLIENT_ID should be changed before actual release

* Update intune submodule with addressed feedback

* fix validate-intune-clean workflow

* feat(intune): add comprehensive error handling and SAML+Entra support

Add production-ready error handling for native Entra authentication with
user-friendly i18n messages, comprehensive test coverage, and support for
Entra login when server requires SAML.

* update i18n

* update intune submodule

* update build-pr token

* fix race condition between server auth and intune enrollment

* fix CI workflow to build with intune

* use deploy key for intune submodule

* set the config directly in the submodule .git

* debug injection

* try setting GIT_SSH_COMMAND

* remove action debug

* fix server url input

* match pod cache with intune hash

* Fastfile and envs

* have workflows check for intune/.git

* have ci cache intune frameworks as well

* update Fastlane to set no-cache to artifacts uploaded

* fix s3 upload

* fix pblist template

* Attempt to remove the cache control for PR uploads to s3

* use hash from commit for S3 path

* Implement crash-resilient selective wipe with automatic retry and add removeInternetPassword to Gekidou Keychain

* Fix surface errors from intune login

* fix postinstall scripts

* use cacheKey for draft md images

* remove unnecessary double await during test

* Have isMinimumLicenseTier accept valid license sku tier as target

* Add missing Auth error messages

* remove the last period for intune errors in i18n

* do not call unenroll with wipe on manual logout

* Fix tests and Intune error messages

* do not filter any SSO type regardless of which is used for Intune

* fix 412 to not retry

* fix tests, app logs sharing and share_extension avatar cache

* apply setScreenCapturePolicy on license change

Co-authored-by: Eva Sarafianou <eva.sarafianou@mattermost.com>

* re-apply screen capture on enrollment

Co-authored-by: Eva Sarafianou <eva.sarafianou@mattermost.com>

* use userData from intunr login and prevent getMe

Co-authored-by: Eva Sarafianou <eva.sarafianou@mattermost.com>

* Check for Biometrics and Jailbreak as we used to

---------

Co-authored-by: Eva Sarafianou <eva.sarafianou@mattermost.com>
2025-12-10 13:07:28 +02:00
..
use_tabs Standardize tabs across different components (#8691) 2025-05-28 16:23:37 +02:00
access_control_attributes.test.ts Mm 63935 abac end user indicators (#8848) 2025-05-19 15:34:03 +02:00
access_control_attributes.ts Mm 63935 abac end user indicators (#8848) 2025-05-19 15:34:03 +02:00
android_back_handler.test.ts Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
android_back_handler.ts Make androidBackHandler to update if the handler changes (#7519) 2023-08-31 10:31:55 +02:00
apps.test.tsx MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
apps.ts Make attachments and app bindings more robust yet secure (#8570) 2025-03-14 12:02:32 +01:00
autocomplete.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
autocomplete.ts [MM-63481] Don't substract keyboard height in Android as it was already substracted (#8697) 2025-03-21 11:41:01 +01:00
bottom_sheet_lists_fix.test.tsx Fix list scrolling inside bottom sheet (#8648) 2025-03-12 17:29:50 +08:00
bottom_sheet_lists_fix.ts Fix list scrolling inside bottom sheet (#8648) 2025-03-12 17:29:50 +08:00
channel_switch.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
channel_switch.ts Add minor fixes and performance improvements on channel switch (#6469) 2022-07-15 16:04:58 +02:00
device.test.tsx Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
device.ts revert: floating banner & low connectivity (#9254) 2025-11-04 07:15:51 -07:00
did_update.test.tsx MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
did_update.ts Upgrade Dependencies (#7299) 2023-04-21 12:16:54 -04:00
emoji_category_bar.test.ts MM-59740 + others - Add tests for various files in hooks/ (#8448) 2025-01-21 08:41:52 -05:00
emoji_category_bar.ts New UI for Emoji picker (#6933) 2023-01-12 13:38:44 +02:00
fetching_thread.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
fetching_thread.ts [MM-47483] Activity Indicator while loading thread posts (#6865) 2022-12-17 01:15:22 +05:30
field_refs.test.ts [MM-62701] [MM-62176]Edit custom profile attributes in user profile (#8557) 2025-02-19 15:51:59 +01:00
field_refs.ts Add Floating Label Autocomplete Selector (#9119) 2025-10-01 13:31:16 +02:00
file_upload_error.test.ts Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
file_upload_error.ts Ability to show quick action and add files to edit post (#8926) 2025-06-25 16:04:08 +05:30
files.test.ts Secure Files and preview PDF inline (#8844) 2025-06-19 15:30:56 +08:00
files.ts feat(iOS): Add Microsoft Intune MAM integration with multi-server support (#9312) 2025-12-10 13:07:28 +02:00
freeze.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
freeze.ts [Gekidou] optimizations, fix & moved files (#6177) 2022-04-18 08:49:17 -04:00
gallery.test.ts Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00
gallery.ts Refactor gallery gestures (#8752) 2025-07-22 14:00:57 +08:00
handle_send_message.test.tsx MM-64243 Fix the animation delay while send the post in the channel (#8868) 2025-06-02 08:29:17 +03:00
handle_send_message.ts MM-64243 Fix the animation delay while send the post in the channel (#8868) 2025-06-02 08:29:17 +03:00
header.test.tsx MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
header.ts Update dependencies (#8721) 2025-04-07 09:30:06 +08:00
input.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
input.ts Fix double tilde by waiting for text values to propagate to the native side (#7132) 2023-02-22 18:03:21 +01:00
markdown.test.ts Add model mocks to TestHelper (#8715) 2025-03-28 09:40:08 +01:00
markdown.ts Show at mentions in RemoveMarkdown renderer (#7664) 2023-11-17 11:43:25 +01:00
navigate_back.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
navigate_back.ts Add support for review app (#6772) 2022-11-24 18:52:15 +01:00
navigation_button_pressed.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
navigation_button_pressed.ts MM-56899 - prevent app block when setting custom status if no internet (#8283) 2024-12-05 15:53:54 -05:00
persistent_notification_props.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
persistent_notification_props.ts Mobile drafts (#8280) 2025-01-13 18:40:03 +05:30
screen_transition_animation.ts Disable Animations when Accessibility configuration is to remove it (#8743) 2025-06-26 11:25:48 +02:00
show_more.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
show_more.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00
team_switch.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
team_switch.ts [Gekidou] perf improvement & fix upgrade path (#6302) 2022-05-24 08:45:17 -04:00
teams_loading.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
teams_loading.ts Show loading only when team channels are being loaded (#6872) 2022-12-19 12:25:23 +01:00
throttled.ts Implementing the Audio Playback/Download on the chat (#7900) 2025-02-19 11:17:30 +01:00
use_external_link.test.ts Update useExternalLink to match webapp (#8675) 2025-03-13 12:28:00 +01:00
use_external_link.ts Update useExternalLink to match webapp (#8675) 2025-03-13 12:28:00 +01:00
use_external_link_handler.ts Mention, embedded link and handling of post update on offline device (#9104) 2025-09-12 14:06:58 +05:30
useCollapsibleHeader.test.tsx Add Playbooks read-only support for mobile devices (#8978) 2025-07-14 09:21:37 +02:00
utils.test.tsx Fix edit attachments (#8468) 2025-01-17 12:41:14 +01:00
utils.ts Add Floating Label Autocomplete Selector (#9119) 2025-10-01 13:31:16 +02:00
why_did_you_update.test.ts MM-59741 + others - Add tests for remaining app/hooks files (#8517) 2025-01-28 08:51:50 -05:00
why_did_you_update.ts [Gekidou] post component tree and partial postList (#5637) 2021-09-06 08:22:55 -03:00