Rajat Dabade
5cceaee7c5
Changed the Edited text style in the post from (edited) to icon + Edited ( #8937 )
...
* Viewing Files in Edit mode in mobile with ability to delete and save
* Added upload attachment to keyboard tracker view
* using state instread of use ref
* Minor
* Added tests
* intl extract
* new function getFiles
ById, batch file deletion and tests
* Files fetching in edit options and tests
* Removed DeviceEventEmitter and used React context
* Added support to check minimum required version to show edit file attachments
* resolve forward ref issue
* Minor
* memotized props for context and observe config with value
* Ability to show quick action and add files to edit post
* type safety for EditPostContext
* Reverted back the post priority props
* constant shift
* Added test for QuickAction to show slashcomand
* Added test for edit_post, upload_item and upload_remove
* Added test for Edit_post_input and edit_post index
* fix the height issue between attachment and keyboard due to safeArea
* Minor: removed debugging border color
* Changed the Edited text style in the post from (edited) to icon + Edited
* Import fixes
* Ability to show quick action and add files to edit post
* type safety for EditPostContext
* Reverted back the post priority props
* constant shift
* Added test for QuickAction to show slashcomand
* Added test for edit_post, upload_item and upload_remove
* Added test for Edit_post_input and edit_post index
* fix the height issue between attachment and keyboard due to safeArea
* Minor: removed debugging border color
* Addressed dev review comments
* Import fixes
* Address UX comments
* Fixed props for UploadItem and remove effective Edit mode
* handled save button disabled state when uploading attachments
* handled newly added and retry file removal without alert message
* Test updated
* Added test for input_quick_action index.tsx
* Added test for not in edit mode for upload_item index
* Added test for upload_remove component when not in edit mode
* added tests for file_upload_error hook
* Added test for calling callback when in edit mode
* Test for edit post input for server version check
* linter fixes
* Changed font size from 16 to 14px for edited
* separated common component and test
* Removed the margin styles from the text as it is not been applied.
* removed the duplicate code from rebase
2025-06-29 12:39:18 +05:30
Elias Nahum
b91e42615f
Secure Files and preview PDF inline ( #8844 )
2025-06-19 15:30:56 +08:00
Lucas Reis
24d2ab57b0
feat: add minimumHashtagLength to Markdown observables ( #8924 )
2025-06-17 09:53:11 +02:00
Elias Nahum
292a20824c
use the actual url in the metadata if there is an image proxy being used ( #8852 )
2025-05-20 05:52:42 +08:00
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
Vasily Belousov
7c3914bd13
[MM-61995] Correct copying instructions when long-pressing an email in messages & headers ( #8798 )
...
* feat: fixed email copy interface
* feat: changed message when long-pressing an email on mobile in messages & headers
* implemented changes: message decriptors outside component; email/url check and cleanHref outside renderContent function
2025-05-13 11:56:38 +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
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
Daniel Espino García
7f21754b78
Fix 60879 ( #8344 )
...
* Fix 60879
* Address feedback
* Address feedback
* Add tests
2024-12-03 10:49:38 +01: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
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
Harrison Healey
0efa409023
MM-61148 Rewrite table parsing and improve error handling around Markdown code ( #8300 )
...
* MM-61148 Rewrite table parsing based off cmark-gfm
* MM-61148 Add better error handling to Markdown code
* Use logError instead of console.error
* Switch back to published release
* Update import paths
2024-11-15 12:23:44 -05:00
Lucas Reis
603ea793f9
MM-60425 Making clickable images work inside Markdown ( #8215 )
...
* fix: disables the gallery click on images inside a markdown link
* feat: removing the logic for acknowledging children that is inside link
* chore: renaming for consistency
2024-10-07 15:57:26 -04: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
Daniel Espino García
b4a3d7ff4d
Fix MM57562 ( #7920 )
...
* Fix MM57562
* fix: Add proper java version for android build
---------
Co-authored-by: Antonis Stamatiou <stamatiou.antonis@gmail.com>
2024-05-06 12:02:12 +02: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
Caleb Roseland
79d7c628e4
Merge branch 'main' into MM-53902-cont
2023-11-27 15:09:55 -06: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
Caleb Roseland
a3b811dcfb
refactor
2023-11-22 17:49:35 -06:00
Daniel Espino García
044cebc978
Show at mentions in RemoveMarkdown renderer ( #7664 )
2023-11-17 11:43:25 +01:00
Tanmay Vardhaman Thole
d8d607257f
copy header text in channel info implemented ( #7605 )
...
* copy header text in channel info implemented
* changes fixed
2023-10-30 12:13:52 +01: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
Harrison Healey
2651dd31e1
MM-53107 Add limit to Markdown nodes ( #7528 )
...
* MM-53107 Add limit to Markdown nodes
* Update commonmark to published version
* Rename field to camel case for consistency
* Update Markdown tests for removed children
2023-09-07 09:18:31 -04:00
Elias Nahum
3effecd6a4
match desktop search and highlight results ( #7445 )
2023-07-18 12:17:19 -04:00
Elias Nahum
fa43f68a8f
Fix search hashtag ( #7459 )
2023-07-17 11:36:28 -04:00
Elias Nahum
4d94728d90
fix open code block when keyboard is opened ( #7432 )
2023-07-05 10:13:28 -04:00
Elias Nahum
5e9de9f4a2
Thread crash fix and other UI fixes ( #7342 )
...
* center align channel name in intro
* align custom status in channel header
* wrap long custom status on profile bottom sheet
* Fix LaTex render clipped on Android
* Add margin for users displayed in a list
* show user profile when tapping on self on channel members
* Fix Thread screen when rootId prop is undefined
* update snapshots
* fix server / login screen on small devices
2023-05-11 09:35:11 -04:00
Daniel Espino García
0a04be7448
Use RN Image for local images instead of FastImage ( #7329 )
2023-05-10 09:44:10 -04:00
Elias Nahum
58d1b02d3a
Fix the query undefined comparison when threadId prop is not set by the navigation library ( #7302 )
2023-04-21 12:27:51 -04:00
Elias Nahum
784b05fe97
Upgrade Dependencies ( #7299 )
...
* upgrade reanimated
* update devDependencies
* upgrade react-intl
* update react-native and some dependencies
* update react-native-permissions
* update RN
* use Share sheet for Report a problem
* update Sentry
* remove step to downloadWebRTC
* update detox deps
* feedback review
2023-04-21 12:16:54 -04:00
Daniel Espino García
720ac22070
Handle undefined metadata all over the app ( #7244 )
...
* Handle undefined metadata on Markdown Table Images
* Add missing change
* Handle undefined image metadata all over the app
2023-03-31 09:41:28 +02:00
Elias Nahum
7aa5bd0611
Update Dependencies and bug fixes ( #7000 )
...
* update dependencies
* update dependencies
* feedback review
* update @mattermost/react-native-turbo-mailer
2023-01-24 09:14:23 +02:00
Daniel Espino García
8edf128d59
Fix code syntax highlight on full screen view ( #6944 )
2023-01-11 21:40:01 +02:00
Elias Nahum
dbe565319d
BottomSheet migration to react-native-bottom-sheet ( #6907 )
...
* BottomSheet migration to react-native-bottom-sheet
* Use correct scroll view for announcement bottom sheet
* ux review
* Fix post options bottom sheet snap point
* feedback review
2023-01-05 09:51:51 +02:00
Elias Nahum
4d039ae88b
Revert "Align latex with text ( #6900 )" ( #6911 )
2022-12-27 15:22:00 +02:00
Daniel Espino García
450b6e1a21
Align latex with text ( #6900 )
...
* Align latex with text
* fix tests
* fix markdown bold
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2022-12-23 14:21:50 +02:00
Daniel Espino García
da4470bd78
Allow to select text from tables on full view ( #6901 )
...
* Allow to select text from tables on full view
* Fix check
* Remove inline style
2022-12-22 20:46:11 +02:00
Elias Nahum
f32b2dfeb2
Perform search when hashtag is pressed ( #6893 )
...
* Perform search when hashtag is pressed
* PM feedback review
2022-12-21 19:35:34 +02:00
Elias Nahum
b01a5bfab8
use matchDeepLink result for relative links ( #6882 )
2022-12-20 11:42:02 +02:00
Elias Nahum
712324c756
Remove lineHeight from post so that it does not break inline images ( #6883 )
2022-12-20 07:09:27 +04:00
Elias Nahum
e294b07418
Add DeepLink support ( #6869 )
2022-12-16 18:57:15 +02:00
Elias Nahum
f51557bcd1
Improve cold start ( #6868 )
2022-12-15 13:56:46 +02:00
Daniel Espino García
28526034d4
Refactor makeStylesFromTheme to use the correct types ( #6801 )
...
* Refactor makeStylesFromTheme to use the correct types
* Address feedback
2022-12-12 10:53:54 +01:00
Elias Nahum
5992a85dfb
fix bad merge
2022-12-06 14:15:23 +02:00
Elias Nahum
8ed78b807c
set mentionHighlightBg background for mention keywords ( #6834 )
2022-12-06 14:09:53 +02:00
Elias Nahum
8e0bf7c397
Fix inline code blocks in thread preview ( #6835 )
2022-12-06 14:09:38 +02:00
Daniel Espino García
33b2cb6623
Check if group exist before fetching the mention ( #6816 )
2022-12-02 15:15:23 +02:00
Daniel Espino García
1aa4188f8e
Move config to its own database table ( #6744 )
...
* Move config to its own database table
* Address feedback
* Fix test
* Revert minimum version related changes
2022-11-11 21:20:42 +04:00