Repository navigation
chore: Merge 4.79.0 into master - #7963
Merged
Merged
Conversation
* chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com>
* chore: match web copy for undecryptable e2e messages * tests * i18n * action: organized translations --------- Co-authored-by: OtavioStasiak <OtavioStasiak@users.noreply.github.com>
* chore: replace react-native-restart with expo reloadAppAsync * chore: replace react-native-background-timer with setInterval * chore: bump react-native-localize to 3.7.0 * chore: replace react-native-file-viewer with expo-quick-look * chore: migrate from expo-av to expo-audio and expo-video (#6719) * chore: bump react-native-mmkv and react-native-nitro-modules * chore: drop dead react-native-mmkv patch and tighten its jest mock * chore: RN 0.86 / Expo 57 dependencies, toolchain and patches (#7693) * chore: upgrade dependencies and patches to RN 0.86 / Expo 57 * chore: align upgrade toolchain floors and CI checks * chore: update Jest toolchain for RN 0.86 and Expo 57 * fix: adapt app code to React Native 0.86 and Expo 57 (#7694) * fix: adapt app code to React Native 0.86 and Expo 57 * test: await scheduled gesture and floating date callbacks * fix(ios): support React Native 0.86 and Expo 57 (#7696) * fix(ios): support React Native 0.86 and Expo 57 * test: fix jest failures under Node 22 Resolve Expo's lazy fetch global in jest setup so suites that fully mock react-native no longer crash when jest enumerates globals at teardown. Restore real timers only after Testing Library unmounts, so immediates scheduled with fake timers are cancelled with the same clock. * fix(android): adopt Expo 57 autolinking plugin and drop jcenter from patched libraries Expo 57 removed scripts/autolinking.gradle in favour of the expo-autolinking-settings and expo-root-project Gradle plugins. Gradle 9 removed jcenter(), which @react-native-cookies/cookies and react-native-math-view still declared. Bump the iOS Pods cache key so runners stop restoring Local Podspecs generated for the previous React Native version. * fix(android): build with React Native 0.86 codegen and Expo 57 prebuilt modules Bump @react-native/codegen, babel-preset and typescript-config to 0.86.3 so libraries stop resolving the stale 0.80 codegen. Build the four patched Expo packages from source, since Expo 57 ships prebuilt Android artifacts that ignore patch-package changes. Patch camera-roll to drop string literal unions from its spec, keyboard-controller for the non-null onConfigurationChanged signature, math-view to drop the removed UIManagerModuleListener import, and expo-font for the nullable loadedFonts field. Declare androidx.localbroadcastmanager explicitly and resolve the WRITE_EXTERNAL_STORAGE maxSdkVersion manifest conflict. * fix: drop undefined request headers rejected by Expo fetch Expo 57 installs its native fetch as the global and rejects header entries whose value is undefined. getServerInfo sent X-Auth-Token and X-User-Id as undefined before login, so every deep link login fell back to the Add workspace screen and all E2E flows failed. * test(e2e): wait for LoginView transition before keyboard navigation * fix(login): keep focus on the password field when submitting with a hardware keyboard * fix(ios): compile the release bundle with the hermesc matching the bundled Hermes runtime * fix(ios): expose room header testIDs to accessibility tree An accessible wrapper around the room header hides its children from XCUITest on React Native 0.86, so Maestro could not find the header title or the header button. Move the accessibility label and role to the pressable header, which already exposes its children. * fix(ios): expose rooms list header testIDs to accessibility tree Same cause as the room header: an accessible wrapper inside the native stack header hides its children from XCUITest, so Maestro could not find the servers list button. * fix(ios): bump react-native-linear-gradient to 2.8.3 to stop zero-size layer crash on mention autocomplete * fix(ios): address upgrade review feedback * fix(ios): exclude Android keyboard flow change * fix: update Android build for React Native 0.86 (#7695) * fix: update Android build for React Native 0.86 * fix: restore Android Gradle 9 compatibility * fix: align React Native codegen version * fix: resolve Android storage permission merge * fix: patch Android modules for React Native 0.86 * fix: restore Android local broadcast dependency * fix: build patched Expo modules from source * fix: raise iOS deployment target to 16.4 for Expo 57 * fix: materialize expo fetch global before jest mocks * fix: keep setImmediate real under jest fake timers * fix: key iOS pods cache by Podfile.lock hash * fix: allow non-modular React includes in framework modules * fix: drop undefined header values before fetch expo/fetch, installed as the global fetch on native by Expo 57, forwards header entries to the native request verbatim, so an undefined value fails the Kotlin cast to Pair<String, String> and rejects the whole request. * fix: build React-Core from source instead of prebuilt * fix: match Expo import access level with generated provider * fix: adopt Expo 57 AppDelegate contract * fix: compile Hermes bytecode with the legacy compiler * fix: expose header test ids on iOS * fix: expose team channels header test id * fix: remove iOS changes from Android upgrade * ci: make TypeScript check blocking again * fix: restore default submit behavior on login email field * fix: keep test identifiers on iOS accessibility elements * fix: expose test identifiers on accessible elements * fix: keep a single test identifier per element * fix: remove OrSeparator from accessibility focus chain * chore(ios): re-enable prebuilt React-Core and Hermes V1 (#7698) Removed the three Podfile opt-outs (RCT_USE_PREBUILT_RNCORE, RCT_USE_RN_DEP, RCT_HERMES_V1_ENABLED) and the HERMES_CLI_PATH post_install override, letting React Native 0.86 use its prebuilt React-Core/ReactNativeDependencies tarball and Hermes V1 (250829098.0.17) instead of building from source. Dropped the RCTViewManager accessibility-role patch: it only touched the Paper renderer, the app runs on Fabric, and the file no longer compiles under prebuilt Core. VoiceOver role-update behavior is covered by manual smoke testing, not this patch. RNFB pods forced to static libraries in the pre_install hook to avoid a non-modular-include failure on RNFB 21.x; the fix ships in react-native-firebase >= 26.3.0, so this can be dropped on that bump. SocketRocket now ships vendored inside the ReactNativeDependencies xcframework under a namespaced header path, so SSLPinning.mm's import changed from a flat "SRWebSocket.h" to <SocketRocket/SRWebSocket.h>. Copy Pods Resources phases regenerated by pod install, dropping the boost/glog/RCT-Folly privacy bundles that no longer exist as separate pods. * fix(e2e): anchor keyboard navigation login on focus (#7703) * fix(e2e): reach login email field by focus instead of Dpad count The keyboard navigation onboarding flow walked to the email field with four blind Remote Dpad Down presses. Removing the decorative OR separator from the accessibility focus chain shortened the chain by one, so the email was typed into the password field and the password into the email field, and login was never submitted. Press Down until login-view-email reports focused, bounded by times: 10, and assert focus before typing. Maestro returns normally when a repeat bound is exhausted, so without the assertion an over-long chain would fail later at the rooms-list-view wait with an unrelated error. The separator only renders when totalServices > 0, so the chain length depends on server config and no fixed count is correct. * fix(e2e): reach password and submit by focus, hide keyboard first Anchoring the email field exposed two more blind steps in the same flow. The hop to the password field assumed Enter moves focus, and the submit assumed Enter on the password field logs in. Neither had been exercised before, because the flow failed earlier. Press Down until each target reports focused, bounded and asserted like the email field. The submit loop needs the soft keyboard hidden first: with the keyboard up the Dpad presses go to the input method and never reach the login screen, so the submit button is never focused. * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 (#7706) * chore(deps): bump reanimated to 4.6.0 and worklets to 0.12.2 Reanimated 4.6.0 requires react-native-worklets 0.12.x, so both move together. Worklets drops its caret to match reanimated's exact pin. Reanimated 4.6.0 initializes CSS event handling at import time, which the JS-only fallback used by Jest does not implement, so the mock entry point throws on load. Stubbing setCSSEventHandler at its source keeps the rest of the proxy module real. * chore(ios): update Podfile.lock for reanimated and worklets CocoaPods preserves versions already in Podfile.lock, so pod install would not have picked these up on its own. * chore(ios): bump ffi to 1.17.4 for Xcode 27 compatibility * chore(deps): bump react-native-screens to 4.28.0 (#7709) * chore(deps): bump @react-navigation family (#7710) * chore(deps): bump react-native-safe-area-context to 5.10.0 (#7711) * fix(ios): adopt UIScene lifecycle for iOS 27 iOS 27 SDK requires scene-based app lifecycle. The app now uses Expo's ExpoAppSceneDelegate via a new SceneDelegate, with startReactNative and boot splash initialization moved out of the app delegate into the scene delegate. * fix(android): stop gesture-handler buttons hijacking hardware Enter/D-pad The RN 0.86 gesture-handler bump added an Android-only onKeyUp override that intercepts DPAD_CENTER/ENTER/SPACE and activates whichever button currently holds native view focus, bypassing the default performClick() path. Every composer and header icon button is a BorderlessButton, so this silently fired the wrong button (e.g. the header drawer button) on hardware Enter/D-pad and swallowed the key event elsewhere. Removed the hunk; the iOS press-handling hunk is untouched. * fix(room-list): close other swiped room items when a new one opens Track the currently open swipeable room item in a single UI-thread mutable value (openSwipeItemId) instead of per-item state. Every Touchable reacts to that value and springs itself closed once another row claims it, so only one room can be swiped open at a time. Tapping a room, long-pressing it, or opening its own actions all clear or reassign ownership. Also replaces the abrupt default spring with an explicit, softer config (damping/mass/stiffness) shared by every open/close animation. * test(room-list): drop tautological swipe test, keep mock reverted openSwipeItem.test.ts only asserted that a shared value keeps what was written to it, which added no coverage. GestureDetector/pan behavior isn't exercisable through the existing jest reanimated mocks (useAnimatedReaction is a no-op), so a real cross-row close test isn't practical here without a broader mocking change. Revert the makeMutable jest mock added for that test since nothing else in the suite needs it. * fix(room-list): close open row on press-in of another row * wip: gesture manual restructuring attempt (bisect checkpoint) * fix(room-list): close open swipe row via plain JS registry * fix(room-list): swallow tap that only closes another open row * fix(room-list): close other row's swipe animation from the UI thread Route the cross-row close through a Reanimated shared-value registry so tapping row 2 starts row 1's spring close synchronously on the UI thread, from the pan gesture's onBegin worklet, instead of waiting for a JS-thread hop via scheduleOnRN. The JS-thread round trip could be delayed by other work on that thread, stalling the animation partway through and making it finish as a single jump instead of a smooth spring. * feat(room-list): WhatsApp-style swipe actions and release spring * fix(room-list): match left action width and tighten swipe release rules Left action opens to one action width like each right action. Haptic on the full-swipe threshold fires on both sides and only while the finger is down. Release opens a side only past half an action width; an open row stays open unless swiped fully closed. Release decision extracted to getSwipeRelease with tests. * fix(room-list): refresh row when its record changes Row read state, title, avatar and invite state now come from a useSyncExternalStore subscription to the record, since the compiler cached them on the in-place mutated record. The custom memo comparator is removed. Thread unreads count as unread, matching the badge. * refactor(room-list): write gesture flag with shared value set * fix(a11y): close drawer when navigating to the focused sidebar route (#7717) * fix(a11y): close drawer when navigating to the focused sidebar route Tapping a sidebar entry for the route already focused left the drawer open, because the drawer router only closes it when the focused index changes. Subsequent taps were swallowed by the drawer scrim. * chore(e2e): map ToastsAndDialogs flow to SidebarView The flow reaches Accessibility & appearance through the sidebar, so a change under app/views/SidebarView can break it. Without this the impact analysis never selects its shard for sidebar-only changes. * fix(room-list): show selected room tint only in master-detail On iPhone the row got the tablet selected-room tint while the room was subscribed, so a tap flashed a second time before navigating and the row stayed tinted during the interactive back-swipe. * fix(room-list): re-render row on every record change * fix(room-list): read swipe offset from shared value * test(room-list): assert close resets translation * refactor(room-list): observe row record without opting out of the compiler * fix(room-list): reset closed-row tap guard on every touch * fix(room-list): close previously open row when another row opens * refactor(room-list): address review feedback * ci(ios): restore Xcode version pin * ci(ios): pin Xcode 26.6 * perf(room-list): mount swipe actions only while the row is moved * chore: tidy RN 0.86 upgrade leftovers * chore(deps): upgrade react-native-gesture-handler to 3.3.0 (#7726) * chore(deps): bump react-native-gesture-handler to 3.3.0 * refactor: migrate gestures to the gesture handler 3 hook API * refactor: replace deprecated gesture handler buttons with Touchable * chore(ios): update Podfile.lock for react-native-gesture-handler 3.3.0 * fix: restore disabled state on Touch after gesture handler 3 migration * fix(android): enable nested scroll on reactions lists inside the action sheet * fix(android): activate focused gesture-handler buttons on hardware Enter/D-pad * test: refresh audio button snapshots after gesture handler upgrade * fix: restore React Native Gradle plugin composite build * refactor(RoomItem): settle swipe on the UI thread and mirror it in RTL Derive the open side from the resting offset instead of a separate row state, release and register the row inside the gesture worklet, fire the threshold haptic from the pan update, and flip gesture input and output once for right-to-left layouts. Drop the duplicate long-press gesture and skip the snapshot rebuild on the record's initial emission. * fix(RoomItem): close the open row when a swipe-disabled row is tapped * refactor(RoomItem): move swipe utils and room snapshot hook into subfolders --------- Co-authored-by: OtavioStasiak <otaviostasiakmusic@outlook.com>
* fix: composer placeholder fits the input width * fix: composer shows the message text when editing it
* fix: Directory list drops, repeats and mixes rows when paging * chore: remove inaccurate comment on Directory initial search effect * fix: Directory drops repeated rooms within a page and stale pages during search debounce * fix: hide previous Directory results while a new search is pending
Loading @rocket.chat/ui-kit and @rocket.chat/message-parser on first use made the first block message in a room take ~100 ms to mount. The rooms list now loads both when the JS thread is idle. MessageBlock is now a stable component, so a re-render no longer remounts the block subtree, and rendered blocks are keyed, which removes the missing-key error on InfoCard.
* perf: read avatar ETag synchronously on first render Avatars used to render twice on mount: once with an empty ETag, then again after an async WatermelonDB lookup resolved. The ETag is now read synchronously through the JSI adapter and kept in sync with useSyncExternalStore, and the Redux config reads collapse into one structured selector. * test: reset avatar ETag mocks between tests * test: mock useAvatarETag in the global jest setup
* chore: refresh agent docs and add coding standards Trim CONTEXT.md, fix stale CLAUDE.md/README claims (Android 7.0+, bundle install, pnpm test), add CODING_STANDARDS.md for reviewers, complete the CI call graph, point the PR template at this repo's CONTRIBUTING.md, and drop the dead 'e2e' jest ignore that skipped every test in paths containing e2e. * chore: drop restated lint config and CI call graph, flag tautological tests * chore: add comment and test rules to coding standards
…ount (#7774) The flow opened the drawer and pressed Left, Down, Down to reach Accessibility & Appearance. Left only moved focus because every room row kept its swipe action buttons mounted behind the row, and Down from one of those hidden buttons landed on the drawer's Profile item. Swipe actions now mount only while a row is swiped, so Left has nowhere to go and the two Downs stop on Edit status. Press Down until the Accessibility item holds focus, bounded and asserted like the login steps in the onboarding flow. The focused view is the keyboard-focus wrapper, which carries no testID, so the selector matches it by its sidebar-accessibility descendant.
* fix: scope getServerInfo request headers to known servers Only attach the stored auth headers when the user is already signed in to the requested server, and add tests. * fix: only send auth headers in getServerInfo to servers the user is signed in to Drops the Basic auth handling and skipCustomHeaders option from the previous commit and reverts fetch.ts to develop. * remove comment * coderabbit suggestion * fix: address review comments for deep-link consent and getServerInfo - extract getSessionHeaders to fix oxlint complexity - move getServerInfo test to __tests__ folder - prompt before first request to new deep-link host * fix: scope Basic Authorization to requested server in getServerInfo Load Basic auth only for the requested host and skip global customHeaders so deep links to unknown hosts no longer receive the active workspace credentials. * refactor: pass serverRecord to ensureDeepLinkLoginConsent and cover the known-host branch The callers already hold serverRecord, so the consent check no longer re-reads MMKV and the database. The known-host test now uses a server record without a signed-in user so it reaches the new branch. * fix: scope Basic Authorization on the cloud lookup and add-server requests getUniqueId and the add-server requests (getLoginServices, getLoginSettings) still merged the global custom headers, so the current workspace's Basic Authorization reached the requested host after the scoped /api/info call. getUniqueId now sends only the requested server's stored Basic auth, and handleServerRequest points the global Basic auth at the requested server before making any request. * fix: keep Basic auth and session headers scoped to the right server - restore the active workspace's Basic auth when the add-workspace flow is closed - stop sending the global Basic auth to the releases.rocket.chat lookup - require the stored token, not only the user id, before sending session headers - cover the call-push consent branches * fix: end the VoIP call when the sign-in prompt is declined * test: restore customHeaders after each fetch test and drop redundant skipCustomHeaders assertions * revert: move applyBasicAuth handling in selectServer out of this PR * Revert "revert: move applyBasicAuth handling in selectServer out of this PR" This reverts commit 48a3f45. * revert: drop VoIP call cleanup on declined deep-link consent Reverts 924bbf7. The extra handleVoipAcceptFailed call on the decline branch is not part of the credential-leak fix this PR is about. * fix: restore the active workspace's Basic auth when the add-workspace flow finishes Re-apply the connected workspace's stored Basic auth on FINISH_ADD so a failed probe can't leave the probed host's header on later requests. * fix: restore the active workspace's Basic auth as soon as the add-workspace probe ends handleServerRequest swaps the global Basic auth to the probed host and only handed it back on FINISH_ADD, so a failed connect left the active workspace's requests carrying the wrong Authorization until the form unmounted. Restore it in a finally block instead and drop the FINISH_ADD watcher, which keyed off sdk.host before the new connection existed. * fix: address review comments on scoped probe auth and deep-link consent - Guard hardware back while the add-workspace check runs so the active workspace Basic auth can't leak to the probed host - Drop the redundant global Basic auth write in NewServerView - Let fetch callers' headers win over global custom headers and add the getBasicAuthKey helper - Send per-request Basic auth in getLoginServices/getLoginSettings and scope the global swap in getWebsocketInfo to the handshake only, so the probe no longer touches the shared headers - Thread the requested server version through the cloud unique-id lookup - Neutral deep-link consent copy for tokenless links * chore(i18n): add Deep_link_open_* strings for tokenless deep-link consent * refactor: simplify scoped Basic auth handling and share stored-session lookup - keep the add-workspace websocket handshake swap inline in getWebsocketInfo - read the stored user id and token through getStoredSession everywhere - select the deep-link consent copy from a table instead of repeated ternaries - only swallow hardware back while connecting when there is a workspace to return to - remove explanatory comments from tests * refactor: fold add-workspace back guard into handleBackPress * test: cover the add-workspace hardware back guard in NewServerView * fix: restore the active workspace headers before the add-workspace handshake settles * fix: scope the auto-lock time sync request to the requested server's Basic auth * refactor: share applyBasicAuth and finish the deep-link consent rename * fix: end the VoIP call when the deep-link open prompt is declined Also rename shouldAutoConfirmDeepLinkLogin to shouldAutoConfirmDeepLinkConsent now that it gates both prompts. * test: seed a stale header in the reselect test and use ~/ imports in the new tests * fix: skip the DM navigation when the deep-link open prompt is declined after a failed VoIP accept Declining the prompt only needs to end the call and reset the VoIP state. Running the full failed-accept handler also tried to open a DM with the caller on the active workspace, which is not the host the user declined. * fix: send Basic auth to the iframe SSO endpoint only on the server's own origin The iframe login fetch went through the shared headers, so it carried the active workspace's Basic Authorization to whatever host Accounts_Iframe_api_url points at. It now sends the stored Basic auth only when the URL has the same origin as the server. * test: drop dead active-server setup from the probeAuth tests * refactor: restore isLoggedInServer to read only the user id * test: use ~/ imports for collaborators in getServerInfo and getLoginSettings tests * test: move logout test into __tests__ and use ~/ paths in jest.mock calls * test: use fake timers in getServerTimeSync tests to stop leaking the race timeout * test path fix * test: drive the probe handshake through the real SDK so header timing is pinned at WebSocket construction * refactor: rename getBasicAuthHeader module to serverBasicAuth * fix: send /api/info the requested server's own stored session * refactor: read the stored session through getStoredSession in removeServer test: cover the back handler when connecting flips after mount * fix: send each page of the public settings fetch the requested server's own Basic auth * refactor: address review feedback on basic auth and deep-link consent helpers Drop the unreachable early-return applyBasicAuth and its test, fold setBasicAuth into applyBasicAuth, rename the probe test array, and pass isKnownHost to ensureDeepLinkConsent. * fix: time out the add-workspace probe when the host never answers Race the probe against a 30s timer so a host that accepts the connection and never responds can't leave the user stuck on Add workspace, and show a dedicated Connection_timed_out message. * fix: abort the add-workspace probe requests when it times out or is superseded A probe that timed out kept its settings and login-services requests running, so a late reply could overwrite the active workspace's settings. The probe now shares one abort signal across its requests and closes the websocket probe on abort. * using workspace instead of server * some more changes * refactor: share the workspace basic auth helpers and abort the whole add-workspace probe Every per-workspace request now goes through fetchForWorkspace, and the websocket handshake header swap through withBasicAuth, both in serverBasicAuth, so a call site can no longer forget to scope the Basic auth. The probe's abort signal now also reaches the /api/info, unique-id and supported-versions requests; an abort that comes from that signal leaves the store alone instead of failing the active workspace's connection. The NewServerView back handler is back to plain functions with explicit effect deps, the getLoginSettings tests live in getSettings.test.ts, and the fetch spy shared by the basic auth tests is testUtils/mockGlobalFetch. * refactor: drop unrequested renames in logout test and deep-link auto-confirm helper * fix: send the shared Basic auth only to the workspace origin fetch attaches the shared Authorization only to the origin applyBasicAuth recorded it for, and fetchForWorkspace sends the stored Basic auth only to the server's own origin. This replaces the per-call Authorization overrides on the supported-versions lookup and the iframe SSO request, and moves the origin comparison into isSameOrigin next to getOrigin. * refactor: restore the inline session read in removeServer Logout is left for a follow-up, so removeServer reads the stored user id and token the way it did before. * refactor: let the deep-link callers decide whether consent is needed Drops the isKnownHost flag from ensureDeepLinkConsent. handleOpenDifferentServer and handleClickCallPush now skip the prompt for known hosts without a token. * test: move the logout test into __tests__ Uses ~/ paths in the jest.mock calls. * refactor: share the deep-link consent predicate between both callers handleOpenDifferentServer and handleClickCallPush repeated the same "token or unknown host" condition, which pushed handleClickCallPush over the cognitive complexity limit. Name it once as requiresDeepLinkConsent. * refactor: keep the add-workspace probe result typed through the timeout race
* chore: add react-doctor * refactor: use shared value get/set so React Compiler compiles animated components * refactor: declare functions before effects use them * refactor: use useWatch and drop try/finally so React Compiler compiles form views * chore: run the pinned react-doctor * fix: report room loading in the same render as a rid swap * refactor: derive state in render instead of syncing it from effects * fix: flag the next 2FA prompt as invalid after a rejected code The retry read twoFactorCode from a stale render closure, so it was always null and the second prompt never showed the invalid state. Keep it in a ref instead. * refactor: retry the profile password change directly and drop the runInit comment * chore: pin react-doctor to an exact version * refactor: keep values that never render in refs * refactor: initialize state lazily * refactor: use per-method lodash imports, Set lookups and Object.fromEntries * refactor: check room action permissions in parallel * refactor: drop try/finally and redundant memoization so React Compiler compiles more views * chore: run react-doctor through npx latest instead of a pinned devDependency * refactor: compute values before try blocks so React Compiler compiles more views * fix: save the latest composer text as the draft * fix: guard 2FA error details and validate the values ProfileView submits * refactor: resolve quote permalinks in parallel and batch presence writes * refactor: use Set lookups for selected options, roles and setting keys * refactor: render header and list items inline instead of nested components * refactor: derive loading and user roles in render instead of setting them in effects * chore: waive react-doctor findings with documented reasons * refactor: save the composer draft from a single effect * refactor: check room action permissions in one hasPermission call * fix: ignore endpoint responses that arrive after a newer request * fix: skip unresolved permalinks when quoting messages
* fix: URL preview card no longer shifts the room on open * test: update URL story snapshots for the reserved preview image * fix: bound URL preview image height before the width is measured
* feat: open video conferences in workspace conference window * coderabbit changes * fix: set host-only conference auth cookies via setFromResponse * fix: harden the conference window against logout, iframes and stale calls Review follow-ups on the workspace conference window: - Clear the call state and expire the seeded rc_uid/rc_token cookies on logout. The overlay is mounted outside the navigator, so nothing else unmounted it: the minimized bar rendered over the login screen and expanding it produced a webview with no route to dismiss it. - Honour isTopFrame in onShouldStartLoadWithRequest. iOS reports subframe navigations there too, so a cross-origin provider embed was being cancelled and handed to the external browser. - Gate the feature on a secure server. Cleartext workspaces now fall back to the regular join flow instead of loading a page that the webview's own guards then reject. - Correlate the preflight carry-over on rid, so joining a call from another room no longer inherits the previous room's page. - Add a minimize control to the overlay, pop ConferenceView when the call ended under another screen, and drop the call when the server changes. - Surface load failures with retry/close instead of a blank overlay. - Keep the minimized bar off RoomView's composer. - Fix the IPv6 loopback allowance, which never matched WHATWG's bracketed hostname, and keep the injected bridge script ES5. - Only request ACCESS_FINE_LOCATION on API 29/30, and declare BLUETOOTH_SCAN as neverForLocation. Move isConferenceWindowEnabled to methods/helpers and drop the unused useConferenceWindow hook. * refactor: return to a conference call from the media call header Replace the custom "Return to call" bar with MediaCallHeader, the header the VoIP call already uses, so both call types are returned to the same way. The header is a flow sibling above the navigator rather than an overlay, so screen content is pushed down instead of covered — which also removes the bar's overlap with RoomView's composer. When no VoIP call is active and a conference call is, the header renders the conference row: expand, the call title, and end call, built from the same HeaderButton primitives. A VoIP call still wins if both somehow exist, which isInActiveVoipCall already prevents. Extract expand/minimize/close into conferenceCallNavigation so the header, the webview overlay and openConferenceCall cannot disagree about what each one means, and keep the store itself free of navigation. * fix: drop the overlay minimize button from the conference call The conference page provides its own controls, so the button duplicated them and overlapped the page's call timer. Remove it, along with the minimizeConferenceCall action and the Minimize_call string it was the only user of. ConferenceView still reports the minimize on blur, so popping the route keeps the call alive in the background. * fix: gate conference bridge on per-session token and pop conference on server switch - Mint an unguessable bridgeToken per WebView mount and require it on incoming rc-conference messages, so cross-origin child frames on Android cannot forge close/openInMainWindow. - Use closeConferenceCall() for the server-change cleanup so the empty ConferenceView route is popped when it is showing. * fix: always request Android BT permission and sync conference cookies with credentials * more changes * refactor: harden conference call navigation and logout cleanup - expandConferenceCall no-ops with no active call instead of pushing an empty ConferenceView - ConferenceView selects store fns individually and guards back() against deep-link races - logout uses closeConferenceCall so the route pops; removeServer also clears server cookies - align ConferenceViewScreen wrapper with JitsiMeetViewScreen * fix: gate conference credentials on same-origin and drop stale opens - ConferenceWebView injects cookies, Cookie header and bridge credentials only when the url matches the server origin, not merely HTTPS - openConferenceCall drops a pending open invalidated by close/logout/server-switch via a generation counter plus a server re-check * fix: close conference window review findings Address six issues found reviewing the branch against develop, plus two tests that never exercised the guards they claimed to. - ConferenceWebView: the same-origin navigation guard failed open on Android. react-native-webview builds the synchronous shouldOverrideUrlLoading event without isTopFrame (only the legacy fallback event sets it), so `!isTopFrame` was always true and every navigation skipped isConferenceUrl — handing the bridge script, the login token and the rc_uid/rc_token cookies to any origin. Test for `isTopFrame === false` instead; Android never raises this callback for inner frames, so nothing legitimate is blocked. - deepLinking: handleNavigateCallRoom still passed the old positional `true` after videoConfJoin moved to an options object, so fromPush and rid both destructured to undefined — push-accepted joins reported error-init-video-conf instead of Missed_call, and rid never reached openConferenceCall. - setServerCookies: the new secure-url check broke Jitsi auth on cleartext self-hosted servers, which JitsiMeetView swallowed before mounting the WebView with no credentials. Add an explicit allowInsecureServer opt-in for that caller; the conference window still refuses cleartext upstream. - ConferenceWebView: the cookie effect reset cookiesSet, which gates mounting the WebView, so a mid-call token refresh tore down the live WebRTC session. Write the cookies without unmounting. - Move ConferenceView from ChatsStack to the root InsideStack, next to CallView. MediaCallHeader is mounted app-wide, so "return to call" from Settings, Profile or Admin set expanded without the navigate ever resolving, leaving a full-screen overlay nothing could minimize. - openConferenceCall: throw for the states it cannot serve (window disabled, un-buildable url) so callers surface an error instead of the user tapping Join to no effect; stay quiet only for calls the user themselves superseded. Add the missing alert in useVideoConf. The two openConferenceCall tests covering the generation guard and the server-changed check resolved their permission mock before it was called, so they threw before asserting. Await the request instead; both now fail if either guard is removed. * fix: gate trusted conference mount on per-server cookie write * fix: scope conference cookies to the workspace path * fix: restrict conference window.open() to http(s) urls * more changes * style fix * remove screenshare as it is not showing alert * fix: request BLUETOOTH_CONNECT for call audio on Android 12+ WebRTC audio in the conference and Jitsi WebViews routes via the OS audio manager, so BT headsets need BLUETOOTH_CONNECT at runtime on API 31+. Declare it in the manifest (audio-only, neverForLocation) and request it in the shared VoIP permission helper without blocking the call on denial. Also gate the trusted WebView mount per-URL so trusted->trusted switches re-write cookies. * fix: address coderabbit review 5209937314 - gate conference WebView mount on successful cookie write with retry - reject unsafe credential values in server cookies - scope conference calls to owning server * fix: address coderabbit review 5210904214 * refactor: gate the conference window on the livekit provider, not a client setting VideoConf_Conference_Window_Enabled only ever encoded web-only UI concerns (popout reuse, ongoing-calls list) and had no bearing on whether the /conference/:id page actually works — so mobile was gating on the wrong signal. Branch on providerName from the capabilities/join responses already being fetched instead, which reflects the real per-call provider and keeps old servers on the legacy Jitsi/link flow automatically. * remove comment... * some cleanup * Change status bar color and change permission to allow media all time * test fix * fix: require https before attaching conference credentials isSecureHttpUrl allowed http loopback for local-dev navigation, but ConferenceWebView reused it to gate cookies, the credential bridge, and the Cookie header too — leaking rc_token in cleartext for an http loopback server. Gate credentialsAllowed and setServerCookies on a strict https check instead, keeping loopback http navigable but never credentialed. * chore: remove review comments * fix: use theme colors for conference background * feat: add Return_to_call translations to all locales * chore: replace magic number with HEADER_TOP_PADDING in MediaCallHeader --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
) * chore: bump react-native-reanimated to 4.7.1 and worklets to 0.13 * fix: keep the legacy layout animations proxy for the rooms list * ci: include the reanimated feature flags in the native fingerprint * fix: skip the rooms list row fade outside a section toggle * fix: skip the rooms list toggle fades when reduced motion is on
…7903) * fix: empty composer input when editing thread reply after cache clear * fix: autoplay next voice message in a thread after cache clear * Revert "fix: autoplay next voice message in a thread after cache clear" This reverts commit 29799c6. * fix: load thread parent stored only in threads table when editing in a thread * test: share clear local cache e2e steps * test: drop redundant tmid default in ComposerInput test --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
* test: ci * new_matchfile * fix: CI android build * point to right secret * restore FASTLANE_REPO_PAT secret declaration * test: map edit-thread-message e2e in the sniffler test map
* test(e2e): cover workspaces that require a client certificate * test(e2e): open Downloads before picking the certificate on Android * test(e2e): harden the client certificate proxy and cleanup Keep the upgraded socket's errors from crashing the runner, root adbd before the logcat capture starts so it survives the whole shard, and remove the generated certificates after the suite. * ci: retry rooting adbd before the e2e logcat capture * ci: root adbd after the emulator health check * test(e2e): simplify the client certificate helpers * test(e2e): reuse one client certificate name and harden the Android picker
* fix: close the socket opened to log out of a removed workspace * test: drop logout-before-disconnect order check in removeServer
* test: model-check the file upload lifecycle * fix: send a file again after its upload failed * chore: move the upload lifecycle model's sync commit to the fix * test: replace the upload lifecycle model check with a cancel race test - Remove the verify-upload-lifecycle skill and its tla-ts model - Ignore the whole .claude/ directory again - Cover a cancelled upload that settles after the same file is sent again: the new upload keeps running and is not marked failed * fix: mark a rejected upload failed when its file was copied to the cache Both senders overwrote the file path with the cache copy's path, so persistUploadError looked up a row that doesn't exist and the progress row kept showing "Uploading" for files whose path isn't file://, such as Android content:// files. Keep the cache path in a local instead. The upload lifecycle test mock now always holds a cancelled send, so every cancel test settles it explicitly. * test: cover an upload that fails while its file is copied to the cache
* docs: point the Maestro README at a real flow path * chore: log e2e flows in through Appduct instead of clearState and a deep link * fix: confirm the iOS open-link prompt and settle taps after re-renders in e2e flows * chore: reset the app and open setup rooms through Appduct in e2e flows * fix: recover e2e setup from a hung app and a slow Appduct daemon start * fix: reset the app through Appduct while a screen lock blocks startup * chore: keep the deep link login in e2e flows and use Appduct only to open rooms * chore: link Appduct into e2e Release builds through RUNNING_E2E_TESTS * chore: open setup rooms through Appduct in the remaining e2e flows Discussion and Team read iOS header items and list rows by accessibility label, and Convert Team waits for room actions to close before going back. * fix: convert private groups to teams with the room id alone on 4.8.0+ * fix: wait for the inside navigator before Appduct navigates * chore: stabilize Profile, Room and Keyboard Navigation Components e2e flows Profile hides the keyboard before submitting the new password, Room retries the add-reaction tap when the action sheet is still settling, and Keyboard Navigation Components moves focus until the target row is focused instead of counting Dpad presses. * chore: retry every add-reaction tap in Room and restore Keyboard Navigation Components The second add-reaction tap in Room drops while the action sheet settles, like the first. Keyboard Navigation Components fails the same way on develop, and on that screen no node reports focus after Dpad presses, so the focus loop could not match the target row. * fix: redact e2e logs even when the Appduct bridge has already exited * fix: let Appduct open a room after a share and reopen it from the rooms list * chore: open subscribed rooms through Appduct in Room Info and Join Public Room * chore: simplify e2e signing env, bridge body parsing, team selection waits and convertChannelToTeam * chore: keep Maestro helpers develop still tracks * chore: open subscribed rooms through Appduct in e2e tests Port the Maestro open-room helper to the e2e runner: e2e/support/appduct.ts links to the app with the appduct client and calls its open_room tool, so setup no longer searches the rooms list. Tests that cover search, joining, previewing or offline navigation keep the UI path. * chore: create the direct message through the API before opening it in e2e tests * chore: keep the search path for a room the e2e user still has to join * chore: retry going back when the back button re-renders before the tap * chore: connect e2e tests to Appduct through the @appduct/e2e fixture * chore: update the Appduct pod to 0.16.0 * chore: point e2e test authors at the shared Appduct fixtures * chore: add share-tapped screenshot * chore: remove accidentally committed screenshot * test(e2e): add custom categories coverage (#7831) * test(e2e): cover custom categories * test(e2e): check the renamed category by id * test(e2e): map the custom categories test to its views * test(e2e): tap a category once and close the sheet if it stays open * fix(action-sheet): dismiss a sheet hidden while it is still presenting * fix(action-sheet): ignore a dismiss rejected before the sheet mounts * test(e2e): record valid-workspace replays * test(e2e): log in through Appduct reset instead of clearing app data loginWithDeepLink now resets the app in-process (reset_app + login_with_token) and falls back to the full clearState + auth link when the rooms list does not show up. reset_app also restores the device language, and the login dismisses a leftover native alert from the previous test. openScreen/openRoomScreen navigate through Appduct after the drawer closes, jump-to-message clears the cache through Appduct, and in-app-notification drops the UI round trips it no longer needs. * chore: link Appduct into e2e Release builds through APPDUCT_ENABLED and tidy e2e helpers * fix: disconnect from the workspace in reset_app and address review findings * fix: check the joined room's row, disconnect before removing workspaces, and trim unused e2e helpers * fix: fail e2e login on broken Appduct tools, skip it behind the screen lock, and simplify e2e helpers * fix: open the poll room from the rooms list row in the poll e2e test * revert: open the poll room through Appduct again in the poll e2e test This reverts commit fc21491. * fix: keep an updated message's content in the iOS accessibility tree when accessibility ordering is on * fix: let Appduct reset the app from the share extension * chore: load Appduct tools only under APPDUCT_ENABLED and tidy e2e helpers Appduct tool failures that report invalid input or output now fail the test instead of falling back to the UI. * fix: keep updated message content in the iOS accessibility order without remounting react-native-a11y-order 0.4.0 drops an index from its container whenever any direct subview of the index view is removed, and never links it again. Patch it to unlink only when the linked view itself is removed, relink on layout, and refresh the container's accessibility elements on every change. Remounting the order on each message update is no longer needed, so screen-reader focus stays on the message. * fix: close action sheets and loading overlays in reset_app
…s acked on the current socket (#7913) * fix: answer native calls on monolith servers by waiting for media subs acked on the current socket * test: make the media-sub gate tests exercise the failures they name * chore: pin the sdk to the commit that counts a late media sub ready * chore: pin the sdk to the commit that routes a batched ready to every sub * chore: pin the sdk to the commit that drops its stray pnpm lockfile * test: make the accept-gate integration tests wait on media subs and log in before subscribing * chore: pin the sdk to the commit that records readiness only from the ready frame * chore: pin the sdk to the mobile branch commit that merged the media subs readiness fix
* fix: keep toasts showing after a two-factor prompt closes * refactor: route toasts through one dispatcher to the newest mounted host Close the two-factor prompt's toast host as soon as the prompt starts hiding, so toasts sent during its slide-out reach the root toast. * fix: subscribe the toast dispatcher only while a host is mounted
…lag (#7929) * refactor: name biometric trust states and drop the unread migration flag enroll() wrote kBiometricTrustMigrationV1Done but nothing read it. The unlock path now reads the enabled flag and the relock marker together through readTrustState(), which returns disabled, enrolled, invalidatedPendingRelock or relockPendingWhileEnabled. * fix: read the relock marker after the enrollment check An overlapping unlock can set the marker while getRelockReason awaits the enrollment check. Reading it first skipped the passcode for that unlock. * test: cover a relock marker cleared during the enrollment check * test: drop the redundant trust read assertion * refactor: name trust states after the enabled flag and relock marker
…atar (#7891) * fix: show the real avatar in Android push notifications * ci: pin android build jobs to ubuntu-24.04 * revert: move the android runner pin out of this PR This reverts commit 41ad494. * refactor: name the token-free avatar cache key instead of commenting it --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
…ge (#7899) * fix: keep the quote when replying in direct message to a thread message * refactor: keep getMessageById a messages-only lookup and move touched tests into __tests__ * refactor: drop tmid from quote message lookup * refactor: drop the empty-id guard from getMessageOrThreadMessageById
* fix: differentiate unread room items with info timestamp and titles-labels preview * chore: derive isUnread once in RoomItem * chore: pass isUnread to Title and UpdatedAt * chore: simplify UpdatedAt color and use theme colors in RoomTypeIcon * test: update RoomItem snapshots * chore: reuse alert style in UpdatedAt
…ithout a login (#7919) * fix: show the workspace screen when retrying Connect to a workspace without a login * refactor: read the stored session once in handleSelectServer
* fix: two factor keyboard not showing on Android * fix: focus two-factor input with setFocus and keep autoFocus on iOS --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
* fix: register the push token on every signed-in workspace * fix: keep per-workspace push registrations accurate across logout, deletion and switches Forget a workspace's registration in removeServerData, so logout, removing a workspace and deleting the account all clear it. A registration that a forget overtakes while its post is in flight no longer writes its record back. registerPushToken runs one call at a time and reads the workspace after awaiting the device id, so the record names the workspace the post went to and the newest token is the last one a server receives. * test: cover registering the VoIP token together with the push token
* fix: room messages hidden until the keyboard opens on iOS * test: ci * new_matchfile * test: mount the room body focus anchor only with a hardware keyboard * Revert "Merge branch 'test.ci-iOS' into fix/ios-room-list-clipped-subviews" This reverts commit 28861fa, reversing changes made to e146d57. * fix: keep the room body focus anchor mounted regardless of the hardware keyboard --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
* fix(ios): share the page URL and title from Firefox * fix(ios): share only the link when a page also sends its title * fix(ios): keep the share fix to picking the link over the title * fix(ios): fall back to the text when the shared URL is a file or fails to load * fix(ios): share only http(s) links from text-first shares * refactor(ios): share the open-link step and name the text attachment * refactor(ios): open the already-loaded share URL directly * refactor(ios): drop the unused open result and keep the URL-first path as before
* i18h translation * feat: add abac-removed-users-from-room system message * tests * test: group abac summary tests under getInfoMessage --------- Co-authored-by: Diego Mello <diegolmello@gmail.com>
* fix: retry the socket when the first connect attempt fails A plain open that fails schedules no reopen in the SDK, so a cold start without network stayed on "Connecting..." with a stale room list until the next foreground. Hand the failure to a forced attempt, which enters the SDK's reopen loop, unless the connect() was already superseded. * test: make the superseded-connect retry test depend on the driver guard The replaced transport never settled its close, so reopenNow() was rejected regardless of the guard. Let the mock answer close() so the old driver would reopen without it. * cleanup * cleanup * fix: let the SDK reopen after a failed connect instead of forcing a retry * test: make the replaced-connect test wait out the reopen delay * chore: pin the sdk to the commit that reopens after a failed open * fix: abort a client's requests when it is disconnected so a pending login can't reopen it * fix: clear a failed or pending login when a server is selected * test: share the REST login response * revert: keep the PR to the reopen after a failed connect * test: share the failed-first-attempt setup * test: drop the reopenNow recovery test that passes without the fix * chore: pin the SDK to the merged reopenAfterFailedOpen commit
Contributor
|
Important Review skippedToo many files! This PR contains 861 files, which is 561 over the limit of 300. To get a review, reduce the PR to 300 files or fewer by splitting it into smaller PRs or changing its base branch. Usage-priced reviews support at most 500 files.
|
diegolmello
requested a deployment
to
approve_e2e_testing
November 30, 2026 14:04 — with
GitHub Actions
Waiting
diegolmello
requested a deployment
to
android_build
November 30, 2026 14:08 — with
GitHub Actions
Waiting
diegolmello
requested a deployment
to
ios_build
November 30, 2026 14:08 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Proposed changes
Release 4.79.0. Merge develop into master at commit fb99c2c.
fb99c2c is the develop commit this branch was cut from. It's the first parent of the merge commit, and the resulting tree is identical to develop at that commit.
Issue(s)
https://rocketchat.atlassian.net/browse/NATIVE-1885
How to test or reproduce
Screenshots
Types of changes
Checklist
Further comments
Master was merged with the
oursstrategy: the 4.78.1 hotfixes on master are already on develop, so nothing from master is dropped.