Daniel Espino García
2649b4b63a
Remove app alias for imports ( #8314 )
2024-11-07 08:34:49 +08:00
Elias Nahum
418f43cf16
Add utils/post_list unit tests ( #8265 )
2024-10-18 12:45:08 +08:00
Elias Nahum
eba51a73c6
Add utils/role unit tests ( #8266 )
2024-10-18 06:30:34 +08:00
Elias Nahum
0df47511a9
Add utils/search unit tests ( #8267 )
2024-10-18 06:29:49 +08:00
Elias Nahum
394da4487c
Various Fixes ( #8212 )
2024-09-13 04:46:15 +08:00
Elias Nahum
a2dca382c7
add unit tests to app/utils/notification ( #8140 )
2024-08-29 00:04:12 +08:00
Elias Nahum
2174c679e1
add unit tests for app/utils/navigation ( #8139 )
2024-08-29 00:03:50 +08:00
Elias Nahum
358417dd7b
add unit tests to app/utils/permalink ( #8141 )
2024-08-29 00:03:25 +08:00
Elias Nahum
48af5fdcd5
add unit tests to app/utils/post ( #8142 )
2024-08-29 00:02:40 +08:00
Elias Nahum
5261e29c38
add unit tests to app/utils/markdown ( #8135 )
2024-08-12 09:16:11 +03:00
Elias Nahum
bde7e3e006
add unit tests to app/utils/general ( #8133 )
2024-08-08 14:21:17 +03:00
Elias Nahum
6b5de21317
Add unit tests for app/utils/images ( #8134 )
2024-08-08 14:20:40 +03:00
Elias Nahum
e7fe7c23ff
add unit tests to utils/gallery ( #8117 )
2024-08-06 13:17:36 +03:00
Elias Nahum
4048b70713
fix cannot read data when opening a deeplink ( #8109 )
2024-07-27 03:37:57 +08:00
Elias Nahum
ca00ab21da
fix loop counters should not be assigned within the loop body ( #8112 )
2024-07-26 09:03:33 -04:00
Elias Nahum
a3ac7535f1
added unit tests for utils/file/file-picker ( #8099 )
2024-07-23 20:15:05 +08:00
Elias Nahum
5b510cb780
fix issues found by sonarqube ( #8095 )
...
* fix issues found by sonarqube
* fix unit test
2024-07-18 09:40:47 +08:00
Elias Nahum
b330847d95
Channel Bookmarks ( #7817 )
2024-07-18 09:10:28 +08:00
Elias Nahum
e4d8d1177e
add file utils unit tests ( #8079 )
2024-07-15 16:55:23 +08:00
Elias Nahum
9bdb5c15e1
more utils unit test coverage ( #8068 )
2024-07-11 20:18:55 +08:00
Elias Nahum
a7224479d5
added utils unit tests ( #8040 )
2024-07-05 07:17:09 +08:00
Christopher Poile
92bdb2847b
[MM-57486] [MM-58008] Calls: Mobile ringing for incoming calls ( #7984 )
...
* notification ringing, settings screen, native code patch, ringing mp3s
* i18n
* play preview on first press
* prevent playing from background (only affects Android) to match iOS beh
* stop ringing/vibration on entering background
* ring when coming back from background and new incoming call is present
* no push notification sound when it's a call; improve ringing
* move sounds to asset folder; copy on postinstall for android bundling
* make Ringtone type a string enum
* make Android ring async + await ring and stop; changes from PR comments
* missing fields after merge
* release lock on an exception
* cancel sample ringing when turning notifications off
* copy sound files for android build
* typo
* update snapshots
* testing if the problem is copying the mp3 files
* fix android mp3 assets when building for non-release
* add sounds to .gitignore
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-07-03 10:22:46 -04:00
Daniel Espino García
b7791add7c
Use UUID native functions ( #8032 )
2024-06-20 18:22:59 +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
Elias Nahum
dddd09aa9b
Add unit tests to utils config, datetime, error_handling, errors and files ( #8018 )
2024-06-15 01:29:03 +08:00
Elias Nahum
aea670745f
Add unit tests to Utils buttonStyles and categories ( #8015 )
...
* utils/buttonStyles tests
* utils/categories tests
2024-06-14 17:11:36 +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
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
Elias Nahum
73fc79903f
Allow iOS to connect to servers without SSL ( #7881 )
2024-03-28 20:09:50 +08:00
Tanmay Thole
7b6f00a828
[MM-55988]: alert message in DM of persistent notification changed ( #7743 )
...
* fix: alert message in DM of persistent notification changed
* fix: alert message of persistent notification
* fix: persistent notifications text
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-03-04 10:06:20 +01: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
Mattermost Build
7be7e5f0c4
Merge branch 'main' into MM-56592-plugin-deeplink
2024-01-25 08:51:41 +02:00
Scott Bishel
6169ee8e4f
remove deeplink for plugins
2024-01-23 13:25:21 -07:00
wiggin77
e2aed87e9c
Fix channel switcher routing for DMs with remote users
2024-01-17 12:00:24 -05:00
M-ZubairAhmed
cc96982d24
MM-53479 : Improve design of keyword that trigger notification in mobile ( #7458 )
2024-01-13 06:56:22 +00:00
Christopher Poile
2c1f318868
MM-54866 - Calls: Transcription support ( #7703 )
...
* captions on videos from posts and searches
* add the patch for react-native-video which fixes subtitle downloading
* improve spacing
* fix patch file
* upgrade compass-icons; use cc icon
* revert patch overwrite
* fix patch
* use useMemo
* fix hitslops on pressables
* use new Caption format; refactor for clarity
* simplify tracks creation and use
2023-12-21 16:20:21 -05: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
Erin A
7c747c28b6
[MM-54529] Prevent Persistent Notifications Error Message for DM Channel ( #7648 )
...
* Update index.ts persistentNotifications to include param and conditions for channelType
* Update message for "no recipients mentioned" to not occur for `DM_CHANNEL`.
* Update send message to either start with "Recipients" for DM channel or "@mentioned recipients"
* Include `channelType` in call to `persistentNotificationsConfirmation`
* Fix typo in persisten(t)NotificationsEnabled
* Remove ternary in translatable string
* Add channelType to callback's dependencies
* Make channelType optional
2023-11-30 09:49:20 +01:00
Caleb Roseland
79d7c628e4
Merge branch 'main' into MM-53902-cont
2023-11-27 15:09:55 -06:00
Caleb Roseland
4a422af3d6
refactor /:route param
2023-11-24 16:43:19 -06:00
Caleb Roseland
89fc14bb43
fix plugin path matching, add coverage
2023-11-24 13:15:26 -06: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
5d35b4a995
remove unneeded decode
2023-11-22 22:59:59 -06:00
Caleb Roseland
e39736b4da
parameter cleanup
2023-11-22 22:54:42 -06:00
Caleb Roseland
a3b811dcfb
refactor
2023-11-22 17:49:35 -06:00
Caleb Roseland
12a80c4f29
subpath tests, variations test
2023-11-21 22:05:35 -06:00
Caleb Roseland
f8f4e9e474
review changes
2023-11-17 11:18:05 -08:00
Christopher Poile
6fb5d85798
MM-55036 - Calls: Fix: Receiving in-app notifications for calls notifications while active ( #7623 )
...
* when active, do not show overlay if this is a calls-started notification
* add calls notification type; keep message test for backwards compat
* process calls notifications properly
* revert NOTIFICATION_TYPE.CALLS; use sub_type for backwards compatibility
* add ticket and comment for future refactoring of isCallsStartedMessage
2023-11-16 09:28:29 -05:00