Daniel Espino García
af0a7525c8
Refactor Open Profile ( #8746 )
...
* Refactor Open Profile
* Add missing changes
* Fix tests
* Fix tests
* Address feedback
2025-05-13 17:07:13 +02:00
Guillermo Vayá
fcdef7b488
[MM-63548] Address potential risks ( #8816 )
...
* Address potential risks
2025-05-07 17:20:33 +02:00
Rajat Dabade
f75c50ad2b
Feature schedule posts ( #8509 )
2025-04-14 22:08:59 +05:30
Elias Nahum
9a83813c23
Fix build on Xcode 16.3 ( #8760 )
2025-04-10 09:09:03 +08:00
Elias Nahum
374f812b98
Update dependencies ( #8721 )
...
* update fastlane
* update dev dependencies
* update to eslint 9+
* update testing-library
* update react-intl
* update bottom-sheet
* update expo
* update reanimated
* upgrade msgpack
* upgrade datepicker
* upgrade react-navigation
* update sentry
* update FlasList
* update fuse.js moment-timezone node-html-parser and semver
* update gesture-handler
* update image-picker
* update react-native-keychain
* update react-native-localize
* update react-native-navigation
* update watermelonDB
* update react-native-permissions
* update react-native-safe-area-context and react-native-screens
* update react-native-share and react-native-svg
* update react-native-video and react-native-webrtc
* update @mattermost/rnutils
* update @mattermost/rnshare
* update @mattermost/hardware-keyboard
* fix isMainActivity
* update android dependencies
* fix upload file progress indicator
* fix entry update config & license
* revert to stable version of @sentry/react-native
* update react-intl again
* update moment-timezone
* upgrade @react-native-camera-roll/camera-roll
* update @react-native-clipboard/clipboard
* update @react-navigation again
* update @shopify/flash-list
* update eslint
* update expo again
* update html-entities
* update mime-db
* update react-native-permissions
* Revert "update react-intl again"
This reverts commit e8e6d5a60dfa56b82b810cbbd7cdffec7697ffc7.
* Revert "update react-intl"
This reverts commit c77f329bb38910aeeba03869b72d77a8b0e00ba1.
* update react-native-keychain
* update and patch react-intl
* mend
* feedback during review 1
2025-04-07 09:30:06 +08:00
Daniel Espino García
fefa164a06
Unify Is Read Only logic to avoid code repetition and improve redability ( #8720 )
2025-04-06 17:50:19 +02:00
Daniel Espino García
85e01a7fb6
Add model mocks to TestHelper ( #8715 )
...
* Add model mocks to TestHelper
* Address feedback
2025-03-28 09:40:08 +01:00
Daniel Espino García
782b1c69a8
Make attachments and app bindings more robust yet secure ( #8570 )
...
* Make attachments and app bindings more robust yet secure
* Fix tests
* i18n extract
* Address feedback
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2025-03-14 12:02:32 +01:00
Elias Nahum
d84a0afd3a
Avoid unnecessary re-renders ( #8673 )
...
* Only set the height on the message component if it ends up being greater than the maxHeight to avoid re-renders
* Cache the teams theme to avoid unnecessary computation and re-renders
* useDidUpdate instead of useEffect to avoid setting the theme preference without need
* add comment on clear cache
2025-03-13 21:28:48 +08:00
Rahim Rahman
dc45bcb4a6
fix(MM-62461): uploading image attachment shows new message ( #8528 )
...
* fix(MM-62461): uploading image attachment shows new message
* remove console.logs
* clean up unit test
* clean up unneeded unit tests
2025-01-29 22:44:40 -07:00
Daniel Espino García
25919131fc
Fix styles for add people ephemeral message ( #8494 )
2025-01-22 13:12:59 +01:00
Elias Nahum
2f3dfbbbfa
Update dependencies and upgrade to RN 0.76.5 ( #8421 )
...
* update dev deps
* partial update dependencies
* update watermelondb
* update rn to 0.76.5, expo to 52.0.18 and others
* upgrade android firebase
* upgrade detox deps
* fix package-lock.json
* update emm and paste-input
* update turbo-log
* update network library
* fix tests
* review feedback
* fix Keyboard blocking signIn button
* Fall back to iphone 14 iOS 17.2 simulator as app crashes on iOS 17.4
* changes in deleteCredentialsForServer is causing a crash
* withOptions x2 clearly is wrong
* re-add cli-platform-apple fix
* fix: RN 0.76.5 issue with bottom sheet disappearing (#8478 )
* experiment, using view vs BottomSheetView
* revert previous & try disabling enableDynamicSizing
* revert an unintended removal
---------
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2025-01-16 07:11:32 -07:00
fxnm
9607f42243
fix: fixed image overflow in message attachments ( #8361 )
...
* fix: fixed image overflow in message attachments
* fix: fixed image overflow in message attachments
2024-12-06 08:27:42 +02:00
Daniel Espino García
d996ed8133
Fix join/leave messages not showing ( #8396 )
2024-12-06 07:46:15 +08:00
Elias Nahum
7cb2ee75b3
Fix bottomSheet bottom insets ( #8331 )
...
* Fix bottomSheet bottom insets
* fix search team picker on android
* ux review
* fix footer padding for message priority modal on iPad
2024-11-29 12:50:09 +08:00
Elias Nahum
d25c6fe245
Extra keyboard ( #8348 )
...
* Add support to use the keyboard area with a component
* fix import
* add missing providers to involved screens
* Change the way we handle the keyboard to allow using custom components in that area
* review feedback
2024-11-29 11:58:13 +08:00
Daniel Espino García
732b17a75c
Add post props validation ( #8323 )
...
* Validate props
* Add calls changes and fix attachments
* Address feedback
2024-11-28 15:59:30 +01:00
Daniel Espino García
f911a29e4c
Fix MM-61710 ( #8368 )
2024-11-27 16:18:08 +01:00
Daniel Espino García
2649b4b63a
Remove app alias for imports ( #8314 )
2024-11-07 08:34:49 +08:00
Jesse Hallam
6f381cfcf5
MM-53775: hide Thread Overview until a reply occurs ( #8316 )
2024-11-06 13:01:42 -04:00
TheoForger
ece82d75ca
[MM-60236] Remove ephemeral posts on refresh/during initial load ( #8260 )
...
* fix: remove ephemeral posts on refresh
* fix: remove ephemeral posts during app launch
* fix: remove code to await the cleanup
* use built in constant instead of string `system_ephemeral`
* remove sort from `queryPostsByType()`
* switch back to the `await` approach in `cleanupEphemeralPosts`
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-11-01 09:28:06 -06:00
Nicolas Le Cam
0c587ab427
feat: Switch FormattedDate component to Intl.DateTimeFormat ( #8276 )
...
* feat: Switch FormattedDate component to Intl.DateTimeFormat
* feat: Revert stylistic only changes
* Add tests
* Take code review into account
* Fix tests by forcing timezone
* Use constant formats in DateSeparator to avoid uneeded rerenders
* Add UserTimezone tests
2024-10-30 14:30:17 -06:00
Tanmay Thole
a580642114
feat: Add visible to you text on ephemeral posts ( #8245 )
...
* feat: Add visible to you text on ephemeral posts
* docs: update localization file
* style: system header of ephemeral post
* feat: visible to you text for ephemeral posts
2024-10-30 10:01:49 +01:00
Elias Nahum
0b83938d3c
update dependencies ( #8131 )
...
* update project depdendencies
* update detox dependencies
* update fastlane
* remove silencing console
2024-08-12 09:15:49 +03:00
Elias Nahum
b330847d95
Channel Bookmarks ( #7817 )
2024-07-18 09:10:28 +08:00
Elias Nahum
b8c088cc70
Upgrade RN as well as update or replace other dependencies ( #8011 )
...
* start upgrade to RN 74
* migrate react-native-fs to expo-file-system
* exclude expo-asset module
* fix database manager remove directory
* fix: android network helper
* include expo on android
* temporarily disable android dep lock
* replace react-native-create-thumbnail with expo-video-thumnails
* update patches file version
* fix android build on 74
* create local library to replace MattermostManaged, Notifications and SplitView modules with new arch support
* migrate app to use new mattermost-rnutils library
* remove unused flipper class for android unsigned
* fix mattermost-rnutils android foldedObserver lifecycle
* use mattermost-rnutils on Android
* use mattermost-rnutils on iOS
* path react-native-navigation to not crash when activity is not NavigationActivity
* create local library for android share extension with new arch support
* Replace ShareModule with @mattermost/rnshare library
* remove ShareModule from android native code
* update react-intl
* update nodejs to 20.x.x npm to 10.x.x and dev deps
* update @gorhom/bottom-sheet
* use MattermostShare conditionally based on the platform
* update @react-native-camera-roll/camera-roll
* remove unused react-native-calendars
* fix metro config
* fix terminate session race condition
* remove unused analytics
* replace react-native-device-info with expo-application and expo-device
* update @react-native-clipboard/clipboard
* update @react-native-community/datetimepicker
* update @react-native-community/netinfo
* update @sentry/react-native
* update react-native-document-picker
* update react-native-gesture-handler
* update react-native-share
* update react-native-svg and react-native-svg-transformer
* update react-native-vector-icons
* update babel
* update react-native-shadow-2
* update semver
* remove react-native-svg-transformer and convert svg files to svg components
* fix @mattermost/rnshare new-arch build on android
* remove react-native-create-thumbnail resolution in build.gradle
* create @mattermost/hardware-keyboard library to replace hw-keyboard-events
* fix hardware-keyboard library
* fix rnutils library
* create @mattermost/keyboard-tracker library
* replace react-native-keyboard-tracking-view with @mattermost/keyboard-tracker
* fix: rnutils to not crash on lateinit context
* fix: rnutils delete database
* revert changes to session_manager
* Removed react-native-webview and added expo-web-browser instead
With expo-web-browser we no longer need the webview for SSO login
the SSO login is now done by using "custom Chrome tabs" on Android
and ASWebAuthenticationSession on iOS
* remove patch for react-native-keyboard-tracking-view
* replace react-native-linear-gradient with expo-linear-gradient
* replace react-native-in-app-review with expo-store-review
* fix: shared group database directory on ios
* replace react-native-fast-image with expo-image
* remove unusued type def for react-native-keyboard-tracking-view
* replace react-native-elements and react-native-button with @rneui
* node version
* update sizzling methods
* fix tests using jest-expo
* replace jail-monkey with expo-device
* update babel deps
* update typescript eslint
* update rn and expo
* react-native-document-picker @react-native-camera-roll/camera-roll @react-native-community/datetimepicker react-native-reanimated react-native-safe-area-context
* update patches
* update @sentry/react-native
* upgrade react-native-navigation
* update expo & expo-image
* upgrade to working version of @sentry/react-native
* update node, cocoapods, bundler, fastlane versions
* @testing-library/react-native and eslint-plugin-jest
* fix: FloatingTextInput causing a crash with reanimated
* update sentry, localize, @types/lodash and uuid
* fix floating text input label
* update react-native-video
* fix: cannot calculate shadow efficiently on some components
* fix: reduce motion warning for bottomSheet
* fix: shadow on YouTube component
* update react-native-webrtc expo and @typescript-eslint
* audit fix
* fix swizzling bad merge
* temp use of github dependency for @mattermost libraries
* feedback review
* feedback review
* npm audit fix
* update bundle deps
* update @mattermost/react-native-turbo-log
* update deps
2024-06-19 09:33:45 +08:00
Christopher Poile
1f2a71c499
[MM-58581] Calls: End call confirmations ( #8004 )
...
* end call confirmations
* i18n
* remove unneeded asyncs
* better alert for android
2024-06-18 10:02:24 -04:00
Daniel Espino García
5f01f9e9af
Add performance metrics to the app ( #7953 )
...
* Add performance metrics to the app
* add batcher and improve handling
* Add tests
* Fix test
* Address feedback
* Address feedback
* Address feedback
* update podfile
2024-06-12 09:45:27 +02:00
Daniel Espino García
82713830de
Fix more messages style ( #7943 )
2024-05-09 12:06:46 +02:00
Elias Nahum
1fd32bbab5
MM-58137 Fix crash by importing the correct Animated component ( #7937 )
2024-05-07 17:56:08 +08:00
Daniel Espino García
b98c184e7c
Fix gallery footer author image showing old image ( #7910 )
...
* Fix gallery footer author image showing old image
* Fix tests
* Address feedback
* Fix tests and minor refactor
2024-05-06 12:00:19 +02:00
Matthew Birtch
205816cb93
MM-37809 Update Default Themes ( #7907 )
2024-04-24 06:54:09 +08:00
Daniel Espino García
9d1030a445
Push react native to 0.73.6 ( #7863 )
...
* Bump react native to 0.73.6
* iOS changes
* Fix gallery
* Fix test
* Add missing patch
* Unify react native navigation patch
* Update the rest of libraries
* iOS updates
* Update mattermost libraries
* Fix tests and final bumps
* iOS podfile update
* Update android locks
* Revert webrtc update because it was messing with the tests
* Update podfile for webrtc
2024-04-22 12:44:39 +02:00
Daniel Espino García
ca7915e2e3
Fix erratic behavior of pull to refresh on threads ( #7911 )
2024-04-22 09:55:20 +02:00
Daniel Espino García
31b737da73
Fix id error when moving to a channel ( #7890 )
2024-04-08 09:52:42 +02:00
Tanmay Thole
97b06ccaf6
feat: Scroll to bottom element ( #7851 )
...
* feat: Scroll to bottom element
* fix: Scroll to bottom element message
* refactor: Removed unnecessary code
* refactor: code quality improved
* Update app/components/post_list/scroll_to_end_view.tsx
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* ci: update i18n
---------
Co-authored-by: Daniel Espino García <larkox@gmail.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-03-26 13:46:09 +01:00
Christopher Speller
c6348ba63b
Add handling of posts with unsafe links. ( #7815 )
...
* Add handling of posts with unsafe links.
* Add more cases.
2024-02-22 12:55:01 -08:00
Elias Nahum
3653df354d
Revert "Channel Bookmarks ( #7750 )" ( #7816 )
...
* Revert "Channel Bookmarks (#7750 )"
This reverts commit 2c5c878829 .
2024-02-07 07:52:55 +08:00
Elias Nahum
2c5c878829
Channel Bookmarks ( #7750 )
2024-02-05 17:07:01 +08:00
Cedric Ong
6daa77f0da
remove usages of isTimeZoneEnabled ( #7769 )
2024-01-30 13:22:55 +01:00
Elias Nahum
de57c343f0
MM-55621 fix layout for tablets and foldables ( #7697 )
...
* MM-55621 fix layout for tablets and foldables
* feedback review
2023-12-05 11:08:43 +08:00
Elias Nahum
edef4ec4a3
Update libraries and dependencies ( #7678 )
...
* update js dependencies
* update react-native libraries
* update watermelonDB
* update RN to 0.72.7
* update fastlane
* fix remove_markdown/at_mention import
* update mattermost libraries
* update fastlane deps
* remove haptic-feedback patch
* update okhttp to 4.12.0 and patch netinfo to accurately identify VPN connections
* create ImaegStyles intersection type
2023-11-25 07:46:13 +08:00
M-ZubairAhmed
4b5489c7a7
[MM-53810] Add mobile markdown support for highlighting without notifications without configuration ability ( #7663 )
2023-11-23 17:11:06 +08:00
KyeongSoo Kim
1a59bd9e0e
[MM-42586] Reaction toggle behavior ( #7674 )
2023-11-22 21:05:58 +08:00
Daniel Espino García
94e1334ebb
Maintenance fixes ( #7665 )
2023-11-15 15:07:00 +01:00
Christopher Poile
332aab134e
MM-55010 - Calls: more messages bar adjustments ( #7620 )
...
* refactor; tried to clarify more_messages; new design
* adjust more_messages text spacing
* small fix for height with incoming call on current channel
* move calls-specific code in the calls product behind a hook
2023-11-03 17:51:32 -04:00
Daniel Espino García
b9024f5183
Fix error around combined user activity ( #7637 )
2023-10-31 15:59:54 +01:00
Pablo Andrés Vélez Vidal
3638da2536
MM-54199 - attachment author name missing on mobile
2023-09-29 15:26:16 +02:00
Christopher Poile
0ec2b09fd5
MM-54117 - Calls: Support wiredHeadsets; generalize panel_item ( #7545 )
...
* generalize panel_item; support wiredHeadsets
* i18n
2023-09-25 08:45:14 -04:00
Elias Nahum
68939c9fcc
update reanimated ( #7500 )
...
* update reanimated
* fix reanimated types
2023-08-14 14:38:05 -04:00