Mattermost Build
dfffcc0015
Automated cherry pick of #8185 ( #8186 )
...
* [MM-60291] Fix rendering of live captions (#8185 )
* Load jobs state from call state
* Fix rendering of live captions overlay
(cherry picked from commit 13ca346155 )
* Fix type error
---------
Co-authored-by: Claudio Costa <cstcld91@gmail.com>
2024-08-28 08:06:52 -06:00
Mattermost Build
6a402e3bcc
fix sso login success message ( #8174 ) ( #8182 )
...
* fix sso login success message
* fix if statement
---------
Co-authored-by: Mattermost Build <build@mattermost.com>
(cherry picked from commit 8b869c246b )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-08-27 14:34:57 -04:00
Mattermost Build
990a7b9c62
Quick fix for post input not capitalizing the start of sentences ( #8168 ) ( #8172 )
...
(cherry picked from commit 8eba95ad5c )
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-08-26 08:50:38 -04:00
Mattermost Build
418e2c5a01
Fix hardware keys not working as expected ( #8156 ) ( #8160 )
...
(cherry picked from commit 6ad21e1da3 )
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-08-22 08:13:05 -04:00
Mattermost Build
6bbbd73deb
Avoid registering wrong performance load logs ( #8107 ) ( #8108 )
...
(cherry picked from commit 26ae247d0f )
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-07-24 13:07:53 -04:00
Mattermost Build
0bf441b49d
Fix server list bottom sheet on tablet ( #8094 ) ( #8097 )
...
(cherry picked from commit ea8adb5167 )
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-07-16 14:52:36 -04:00
Mattermost Build
6cc87dacc6
MM-56933 - password dont disable autocomplete ( #8057 ) ( #8090 )
...
github-release / test (push) Has been cancelled
github-release / build-ios-unsigned (push) Has been cancelled
github-release / build-android-unsigned (push) Has been cancelled
github-release / release (push) Has been cancelled
(cherry picked from commit d02e39b1f3 )
Co-authored-by: Pablo Vélez <pablovv2016@gmail.com>
2024-07-15 09:40:23 -04:00
Joram Wilander
333b594561
Add unit tests for app/actions/local/file and app/actions/local/group ( #8077 )
...
* Add tests for actions/local/file
* Add tests for actions/local/group
2024-07-11 12:49:27 -04:00
Joram Wilander
6031e8da6e
Add unit tests for app/actions/local/draft ( #8067 )
...
* Add tests for actions/local/draft/updateDraftFile
* Add tests for actions/local/draft/removeDraftFile
* Add tests for actions/local/draft/updateDraftMessage
* Add tests for actions/local/draft/addFilesToDraft
* Add tests for actions/local/draft/removeDraft
* Add tests for actions/local/draft/updateDraftPriority
* Fix updateDraftMessage test case
* Update app/actions/local/draft.test.ts
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
* place common beforeeach/aftereach top of file (#8076 )
---------
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: yasserfaraazkhan <attitude3cena.yf@gmail.com>
2024-07-11 10:10:37 -04:00
Elias Nahum
9bdb5c15e1
more utils unit test coverage ( #8068 )
2024-07-11 20:18:55 +08:00
Daniel Espino García
f3de4445c2
Restore out of channel and some cleanup ( #8050 )
...
* Restore out of channel and some cleanup
* Fix i18n
2024-07-09 11:31:31 +02:00
Elias Nahum
10135091d1
Fix button ui when disabled ( #8056 )
2024-07-09 07:12:59 +08:00
Joram Wilander
dd3a38b5fe
Add unit tests for app/actions/local/channel ( #8063 )
...
* Add tests for actions/local/channel/removeCurrentUserFromChannel
* Add tests for actions/local/channel/setChannelDeleteAt
* Add tests for actions/local/channel/selectAllMyChannelIds
* Add tests for actions/local/channel/markChannelAsUnread
* Add tests for actions/local/channel/resetMessageCount
* Add tests for actions/local/channel/storeMyChannelsForTeam
* Fix test names
* Add tests for actions/local/channel/updateMyChannelFromWebsocket
* Add tests for actions/local/channel/updateChannelInfoFromChannel
* Add tests for actions/local/channel/updateLastPostAt
* Add tests for actions/local/channel/updateChannelsDisplayName
* Add tests for actions/local/channel/showUnreadChannelsOnly
* Add tests for actions/local/channel/updateDmGmDisplayName
* Remove unnecessary spying
2024-07-08 08:30:12 -04:00
Joram Wilander
2c29172135
Add unit tests for app/actions/local/category ( #8058 )
...
* Add unit tests for app/actions/local/category
* Remove unnecessary forEach
* Run setup only once
2024-07-08 08:29:57 -04:00
Daniel Espino García
095b97425f
Graciously handle load measure when there is no mark ( #8052 )
...
* Graciously handle load measure when there is no mark
* Make public interface cleaner
2024-07-08 13:31:00 +02: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
ckaznable
331d3130bc
Fix User Agent issue in some device ( #8049 )
...
* Remove deviceName from User Agent
* Use modelName for User Agent
2024-07-03 15:41:48 +02:00
Daniel Espino García
b7791add7c
Use UUID native functions ( #8032 )
2024-06-20 18:22:59 +08:00
Christopher Poile
53b011068e
[MM-58561] Calls: Add stop recording confirmation; update call screen ( #8007 )
...
* add rec confirmation; update call screen
* add EnableTranscriptions to dep array
* remove unneeded asyncs
* properly center title; fix horizontal spacing for title buttons
* cleanup
2024-06-19 17:01:49 -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
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
b694809da1
Improve websocket behavior ( #7976 )
...
* Improve websocket behavior
* Revert uninteded changes
* Address feedback
2024-06-17 09:58:58 +02: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
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
b966e1f356
Fix priority footer on tablets ( #7966 )
2024-06-10 17:08:53 +02:00
Christopher Poile
c93e16218a
[MM-57250] Calls: Provide feedback after user clicks Start call ( #7967 )
...
* make joinCall async; adding loading spinner to join/start button
* always close channelInfo
* i18n
* change how we compute active text
* use isPreferred for leave & join call button
* add joiningChannelId to calls state to track when joining a call
2024-06-06 15:39:15 -04:00
Daniel Espino García
9628e15fb8
Fix user autocomplete not showing users not in channel ( #7980 )
2024-05-31 15:10:11 -04:00
Elias Nahum
83e4aba522
fix update image on account screen when updating profile image ( #7978 )
2024-05-31 16:44:31 +02:00
Daniel Espino García
663f9ba01a
Fix user autocomplete not always showing on search screen ( #7977 )
2024-05-31 09:10:04 +02:00
Christopher Poile
3f7fa8b1a1
[MM-57267] Calls: Update post UI ( #7965 )
...
* MM-58259 - allow current host to run /end call; fix deprecated test fns
* update call card UI
* update call ended icon
* make joinCall async; adding loading spinner to join/start button
* Revert "make joinCall async; adding loading spinner to join/start button"
This reverts commit bbb136690702c46ce2d4430a6b49aa96f143fb5e.
* shadowRadius 3 -> 1
2024-05-24 14:16:28 -04:00
Christopher Poile
5e1c75fd6d
[MM-57291] Calls: Add channel name to call header ( #7968 )
2024-05-24 13:50:04 -04:00
Christopher Poile
59db1839ec
[MM-57460] - Calls: Host controls, add mute all to participant list ( #7945 )
...
* add mute all to participant list
* i18n
* hostControlsAvailable
* mute-all -> mute-others
2024-05-10 16:51:11 -04:00
Christopher Poile
7fbd2e52e2
[MM-58129] Calls: Host controls remove participant, view profile ( #7938 )
...
* host remove command, host removed feedback
* add view profile control
* i18n; dismissBottomSheet later
* PR comments
* remove confusing setPreviousCall(null)
* our own separator, bit more space for Android
* no need for previousCall due to changes on server
* move host removed alert to an error
* channel_id is not send via the msg.broadcast
* channel_id is still sent via the msg.broadcast
2024-05-10 16:43:35 -04:00
Daniel Espino García
4992a96891
Avoid race condition setting the badge number when the app is in the background ( #7925 )
2024-05-10 09:21:32 +02:00
Daniel Espino García
22e21a4026
Fix notification impeding the input in the rest of the app ( #7942 )
2024-05-09 13:02:22 +02:00
Daniel Espino García
25326a623a
Fix server options text by in Quartz theme ( #7944 )
2024-05-09 12:07:04 +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
Christopher Poile
2eb8adb3f6
[MM-57958] Calls: Host controls: stop screenshare, mute, lower hand ( #7929 )
...
* add muteSession & stopScreenshare controls; obey mute host ctrl
* lower hand host control; obey lower hand ws msg
* no need to await host api call
2024-05-06 15:14:40 -04: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
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
a6d043670a
Properly unset the active channel in the server ( #7919 )
2024-05-06 10:46:20 +02:00
Ilya Polozov
105073ce76
Prioritize @ autocomplete results based on recency and thread activity ( #7506 )
...
* changed autocomplete results on recency
* fixed issues
* fixed imports, moved get fucn to queries folder
* fixed en.json file
* fixed lint promblems
---------
Co-authored-by: Ilia Polozov <ilya.polozov@onza.me>
2024-05-06 10:45:44 +02:00
Christopher Poile
c071eaf617
[MM-57707] - Calls: Add host controls menu ( #7905 )
...
* add host controls screen; add control for make host
* licensing & host logic
* refactor participant card; dynamic profile sizing; PR comments
* render participant name and profile changes in ParticipantsList
* package-lock update after rebase onto main
* use config's HostControlsAllowed
2024-04-24 17:23:23 -04:00
Daniel Espino García
c5e6e34fea
Fix MM 56723 ( #7883 )
...
* Fix MM 56723 (iOS)
* Add android
* Android fixes and version checking
* Add version check to ios
* Address feedback
* Add all versions to android
* Check all versions on iOS
* Fix unhandled version case
* Add comments
* Add final version numbers
2024-04-24 17:12:56 +02:00
Matthew Birtch
205816cb93
MM-37809 Update Default Themes ( #7907 )
2024-04-24 06:54:09 +08:00
Aaron Hopkins
42b36b2e1e
Update post_options.tsx ( #7912 )
...
[MM-52675] Use message_source in copy text action (#26674 )
2024-04-23 12:07:53 +02:00
Christopher Poile
1774445715
[MM-57706] Calls: Participants list for call screen ( #7895 )
...
* Add participants bottom sheet to call screen
* i18n
* fix ruby-version
* use tag instead of host_badge
* extract Participant, use FlatList
* fix for android
* android participants list close button
2024-04-22 11:01:18 -04:00