Commit graph

1710 commits

Author SHA1 Message Date
Jesse Hallam
6f381cfcf5
MM-53775: hide Thread Overview until a reply occurs (#8316) 2024-11-06 13:01:42 -04:00
Rahim Rahman
97e74c92af
feat:proper badge theme use for server list (#8313)
* fix(MM-61209): mention badge incorrect theme color

* @asaadmahmood color correction

* @asaadmahmood borderWidth 1px

* remove borderWidth: 1
2024-11-05 07:11:17 -07:00
Rahim Rahman
aa85f22729
fix(MM-61209): mention badge incorrect theme color (#8312)
* fix(MM-61209): mention badge incorrect theme color

* removed expect-error with proper typing
2024-11-05 06:25:34 -07:00
Joram Wilander
3764bf031e
MM-59449 Add tests for actions/remote/post (#8301)
* Add cud tests to actions/remote/post

* Remove unused fetchPostsForCurrentChannel

* Add fetch tests to actions/remote/post

* Update app/actions/remote/post.ts

* fix tests

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-11-04 08:27:20 -05:00
Joram Wilander
a3582c42a9
MM-59423 Add tests to actions/remote/notifications (#8302)
* Add tests to actions/remote/notifications

* Fix typing error in test
2024-11-04 08:27:03 -05:00
Joram Wilander
cd2725ea31
MM-59422 Add tests to actions/remote/search (#8304)
* Add tests to actions/remote/search

* Better confirm results of searchFiles test
2024-11-04 08:26:50 -05:00
Joram Wilander
99db5bdee8
Add tests to actions/remote/groups (#8303) 2024-11-04 19:24:01 +08: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
Rahim Rahman
41ab86cd2d
fix(MM-53762): missing file and reaction (#8284)
* fix: missing file and reaction

* update import
* simplify code

* update post test to show the changes fix emoji and reaction
* clean up  test
2024-10-30 14:55:34 -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
Joram Wilander
f2198137aa
Add tests to actions/remote/preference (#8299) 2024-10-30 07:53:05 -04:00
Elias Nahum
534aeaaef6
Fix sidebar teams order (#8281) 2024-10-30 17:12:58 +08: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
Joram Wilander
e4d895df85
MM-59438 Add tests to actions/remote/session (#8296)
* Add tests to actions/remote/session

* Fix styling

* Fix typing in session_manager
2024-10-29 11:06:01 -04:00
Daniel Espino García
2e8c9ce9a5
Reconnect the network when we switch network types (#8034) 2024-10-29 10:14:31 +01:00
Elias Nahum
1beb9a99c2
Add logs when notification device tokens is registered or fails to do so (#8282) 2024-10-29 08:18:51 +08:00
Joram Wilander
c1b66b364b
Add tests to actions/remote/thread (#8289) 2024-10-28 09:40:06 -04:00
Joram Wilander
daf13fa1b9
Add tests to actions/remote/reactions (#8290) 2024-10-28 09:16:31 -04:00
TheoForger
e932cf30a0
Add Index to 'type' column in 'Post' table (#8278)
* update `Post` table schema and migration plan to index `type` column

* use `unsafeExecuteSql()` for adding index during migration

* Update SQL query to create index

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Update docs

* Remove `UNIQUE` from SQL query

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2024-10-26 14:14:56 +02:00
Claudio Costa
751bb2dfb1
Ensure full validation of Calls post props (#8279) 2024-10-24 16:10:49 -06:00
Rajat Dabade
e4dc8dbbfe
MM-59973: fix the emoji count 0 issue when archive and unarchive chan… (#8146)
* MM-59973: fix the emoji count 0 issue when archive and unarchive channels

* ref to null and initialing it

* refactor: added a safe condition

* refactor code

* more clean up

* clean-ups

* index to tosting as a key to component

* refactor code

* fix: (MM-59973) emoji count 0 update (#8256)

* reversed from all useMemo to useMemo + useEffect
* tried to include everything into useMemo was an anti-pattern
* moved back to useMemo + useEffect
* previousNumber and animateToNumber comparison has some flaw when dealing with difference length between the two

* simple fix

* fix more silly mistakes

* move _previousNumberString to constant

* Test: increase timeout-minutes to 120 for e2e test

* reverted the timeout-minutes back to 40

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-23 16:17:37 +05:30
Elias Nahum
8c7c02d298
Add support for Auth Scheme customization (#8261) 2024-10-23 08:44:12 +08:00
Joram Wilander
05f7875d22
Add tests to actions/remote/user (#8273) 2024-10-21 11:12:42 -04: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
Tanmay Thole
f8a1a5f187
feat: Add copy button on code view (#8244)
* feat: Add copy button on code view

* docs: Update localization file

* Update app/screens/code/index.tsx

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>

* refactor: Update deps array

---------

Co-authored-by: Rahim Rahman <rahim.rahman@mattermost.com>
2024-10-17 10:24:07 +02:00
Elias Nahum
98b8bf109f
fix bookmarks sort order when WS does not bump update_at (#8264) 2024-10-17 09:05:01 +08:00
Rajat Dabade
647b8c8eb6
MM-60705 DB migration: added update_at column to draft table for mobile (#8237)
* MM-60705 DB migration: added update_at column to draft table for mobile

* refactor: updated docs

* refactor: reverted unwanted changes and updated default value for update_at columns

* refactor: changed the condition for excepting 0 value for update_at column
2024-10-15 19:49:22 +05:30
Daniel Espino García
bc8a42b161
Native set load measured (#8242)
* Track notification loaded on native side instead of JS

* iOS details and iOS 18 changes

* Fix tests
2024-10-14 16:07:06 +02:00
Claudio Costa
fa7e7ef44d
Update calls-common (#8255)
* Bump rtc monitor interval to 10s

* Update calls-common
2024-10-11 13:47:49 -06:00
Abdullahi Abass
7dcb6ad4ce
fix: render channel links in threads list (#8205)
fixes: https://github.com/mattermost/mattermost/issues/27859

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-10-11 00:55:24 -06:00
Claudio Costa
e693431dec
[MM-45894] Calls: support for signaling media tracks using data channels (#8246)
* Replace pako with fflate

* Allow signaling through data channel

* Update calls-common
2024-10-09 16:33:33 -06: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
Joram Wilander
d486f4861a
Add tests to actions/remote/team (#8241) 2024-10-03 08:18:27 -04:00
Pablo Vélez
0cbbe7266d
MM-60534 -fix rate my app broken styles (#8232)
* MM-60534 -fix rate my app broken styles

* use a simpler and more general approach
2024-09-30 18:17:11 +02:00
Elias Nahum
f04838d9b1
open an external browser when the server config for MobileExternalBrowse is set to true (#8220) 2024-09-17 06:40:12 +08:00
Elias Nahum
394da4487c
Various Fixes (#8212) 2024-09-13 04:46:15 +08:00
Daniel Espino García
20d248fb99
Send notification status information to the server (#8060)
* Send notification status information to the server

* Add version and update names

* Update props names

* Use the single endpoint
2024-09-12 16:52:52 +02:00
Pablo Vélez
c31ec8a711
MM-60312- rename ssoOffice 365 to sso EntraId (#8209)
* MM-60312- rename ssoOffice 365 to sso EntraId

* address pr comments, remove old icon and fix i18n
2024-09-09 11:52:18 +02:00
Rahim Rahman
00e05d581e
fix: MM-58164 Search text is behind the textbox while searching (#8026)
* fix: MM-58164 search text hides behind textbox
* clean up unit test for useCollapsibleHeader
* simplify math
* unlock doesn't need to use useCallback as it doesn't have any deps
* revert changes on unlock
* using lockValue & headerOffset directly into children props
* disable scrolling to prevent scrollValue from being updated
* properly snapping flatlist to the proper spot in a few scenarios

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-09-05 11:28:00 -06:00
Joram Wilander
aba68c45d5
MM-59440 Add unit tests for actions/remote/channel (#8184)
* Add member tests for actions/remote/channel

* Add channel and dm tests to actions/remote/channel

* Update app/actions/remote/channel.test.ts

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-08-29 09:46:16 -04: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
Claudio Costa
13ca346155
[MM-60291] Fix rendering of live captions (#8185)
* Load jobs state from call state

* Fix rendering of live captions overlay
2024-08-28 07:28:12 -06:00
Elias Nahum
8b869c246b
fix sso login success message (#8174)
* fix sso login success message

* fix if statement

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-08-27 08:06:51 +08:00
yasserfaraazkhan
0bf501a14a
Mock date.now in flaky app/actions/team tests (#8171) 2024-08-27 01:44:00 +08:00
Joram Wilander
16b4ec8b60
Add unit tests for actions/local/user (#8170) 2024-08-26 08:22:58 -04:00
Joram Wilander
ee5a84ddc7
Add unit tests for actions/local/thread (#8169) 2024-08-26 08:22:37 -04:00
Daniel Espino García
8eba95ad5c
Quick fix for post input not capitalizing the start of sentences (#8168) 2024-08-26 10:48:44 +02:00
Daniel Espino García
6ad21e1da3
Fix hardware keys not working as expected (#8156) 2024-08-22 10:15:39 +02:00
Claudio Costa
52d04ca252
[MM-57994] Hide Calls buttons/actions if plugin is not enabled (#8121)
* Limit group calls to DMs only on unlicensed servers

* Hide Calls buttons/actions if plugin is disabled

* Fix lint

* Address feedback
2024-08-19 09:33:20 -06:00
yasserfaraazkhan
0698cf558d
Add Unit tests to app/actions/local/teams.ts (#8088) 2024-08-13 20:21:17 +05:30
Rajat Dabade
8f536f7597
Attachment list in view info for DMs and GMs mobile (#8120)
* Attachment list in view info for DMs and GMs mobile

* refactor: only get currentID for DMs and GMs

* used typing
2024-08-13 19:33:10 +05:30
Claudio Costa
4e4bd8fe27
[MM-57781] Limit group calls to DMs only on unlicensed servers (#8075)
* Limit group calls to DMs only on unlicensed servers

* Update calls-common
2024-08-13 08:25:13 +02:00
Elias Nahum
5261e29c38
add unit tests to app/utils/markdown (#8135) 2024-08-12 09:16:11 +03: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
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
Joram Wilander
7a595d0ccb
Add unit tests for actions/local/channel_bookmark (#8125) 2024-08-06 14:20:45 -04:00
Joram Wilander
728fef8c64
MM-59618 Add unit test coverage of app/actions/local/systems (#8128)
* Add return values to storeConfigAndLicense

* Add unit tests for actions/local/systems
2024-08-06 14:20:26 -04: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
Claudio Costa
3656bff4bd
[MM-57698] Implement client ICE candidate pairs metric (#8051)
* Implement client ICE candidate pairs metric

* Update calls package
2024-07-26 10:14:33 +02:00
Claudio Costa
7682c5ccce
[MM-52657] AV1 support (#8037)
* AV1 support

* Guard functionality behind config flag

* Update calls package

* Fix default config

* fix
2024-07-26 10:01:33 +02:00
Daniel Espino García
26ae247d0f
Avoid registering wrong performance load logs (#8107) 2024-07-24 18:42:31 +02:00
Elias Nahum
a3ac7535f1
added unit tests for utils/file/file-picker (#8099) 2024-07-23 20:15:05 +08:00
Elias Nahum
de6ccaef01
SSL Pinned Certificate (#8055) 2024-07-23 18:26:20 +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
ea8adb5167
Fix server list bottom sheet on tablet (#8094) 2024-07-16 14:47:59 -04:00
yasserfaraazkhan
cdaae87017
Add unit test cases for reactions.ts (#8084) 2024-07-15 17:44:25 +05:30
Pablo Vélez
d02e39b1f3
MM-56933 - password dont disable autocomplete (#8057) 2024-07-15 12:55:33 +02:00
Elias Nahum
e4d8d1177e
add file utils unit tests (#8079) 2024-07-15 16:55:23 +08:00
Saturnino Abril
58b50b1a5b
test: app/actions/app/global.ts (#8087) 2024-07-15 16:53:32 +08:00
Joram Wilander
3c6d5aa4ae
Add tests for actions/local/post (#8083) 2024-07-15 16:52:44 +08: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
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
Aditya Pratap Singh Hada
6dcefaf1e4
[MM-56585]Show only unreads filter stays active after changing the 'Group unreads' setting (#7790)
* showing unread and threads, of group unread setting in on

* using third variable to maintain state for showing categories

* removed useState from useMemo

* Removed state, return orderctegroies if onlyUnreads & unreadsOnTop is true

* test cases updates

* removed onlyUnreads props from threads

* removed onlyUnreads

* test cases updated

* removed unnecessary changes

* removed onlyUnreads from dep

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-04-16 12:29:59 +02:00
Philippe Karle
02261eb8c0
Fix channel members list not fully loaded (#7896)
* Load more users when reaching bottom of the list

Fix mattermost issue when typing quickly within search input

* Update: logic to load next users on bottom list reached

* Update: logic refactored

---------

Co-authored-by: Philippe Ka <philippe.karle@infomaniak.com>
2024-04-16 12:23:00 +02:00
Daniel Espino García
31b737da73
Fix id error when moving to a channel (#7890) 2024-04-08 09:52:42 +02:00
Elias Nahum
73fc79903f
Allow iOS to connect to servers without SSL (#7881) 2024-03-28 20:09:50 +08: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 Poile
4e68662899
[MM-57019] Calls: Live captions support for mobile (#7854)
* mobile support for live captions

* add the 'Live captions turned on' ephemeral notice

* PR comments

* message should be translatable

* run i18n-extract

* call_recording_state -> call_job_state; ccAvailable is now dynamic

* backwards compatibility with pre calls v0.26.0

* correct mobile version in deprecation comments

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2024-03-20 09:10:05 -04: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
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
Julio Vc
8b32bc73c4
MM-56391: fixed search bar moving up in ios (#7796)
* MM-56391: fixed search bar moving up in ios

* chore: solved merging conflicts

* chore: removed auto formating in package-lock.json

* Update package-lock.json

* chore: reverted changes in package-lock.json

* resetted pr and fixed linting

---------

Co-authored-by: Julio Villalvazo Carrera <j.carrera@cyberpuerta.mx>
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-22 10:44:47 +01:00
Daniel Espino García
c43656496e
Fix issue when opening a avatar image from a thread (#7824)
* Fix issue when opening a avatar image from a thread

* Remove unneeded casting

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-02-20 17:16:07 +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
Daniel Espino García
41113ce857
Update iOS permissions texts (#7805)
* Update iOS permissions texts

* Add missing changes
2024-02-01 13:23:58 -05:00
Elias Nahum
0897f54bf0
Fix multi-server icon mention badge (#7795) 2024-02-01 22:29:03 +08:00
Tom De Moor
96d5aefa09 Loads the correct translation file 2024-01-31 08:23:26 +01:00
Cedric Ong
6daa77f0da
remove usages of isTimeZoneEnabled (#7769) 2024-01-30 13:22:55 +01:00
Daniel Espino García
780f623274
Remove motion reducer from critical animations (#7786)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-29 17:35:58 +01:00
Cedric Ong
4287802ab2
[MM-53711] Set save button opacity for editing a post when disabled (#7763)
* set save button opacity when disabled

* change import

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-29 10:53:31 +01:00
Scott Bishel
67a226ea1e
Merge pull request #7785 from mattermost/MM-56592-plugin-deeplink
MM-56592: Remove deeplink for plugins
2024-01-26 09:16:56 -07:00
Daniel Espino García
05e7550305
Fix foldable device LHS size when changing modes (#7787)
Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-25 09:37:49 +01:00
Mattermost Build
7be7e5f0c4
Merge branch 'main' into MM-56592-plugin-deeplink 2024-01-25 08:51:41 +02:00
Scott Bishel
6e7df26150
Merge pull request #7784 from mattermost/MM-56085-page-preferences
MM-56085 - Add paging for preferences
2024-01-24 13:42:16 -07:00
Scott Bishel
1a2c8cb61d lint fixes 2024-01-23 14:20:49 -07:00
Scott Bishel
6169ee8e4f remove deeplink for plugins 2024-01-23 13:25:21 -07:00
Scott Bishel
ceb9d742c9 add paging for preferences to match new server limitation 2024-01-23 12:14:12 -07:00
Elias Nahum
1584208536
Do not display deactivated users to add channel members (#7767) 2024-01-19 06:37:07 +08:00
Doug Lauder
f5988f0ddc
Merge pull request #7765 from mattermost/fix_shared_channels_DM
Fix channel switcher routing for DMs with remote users
2024-01-18 07:44:37 -05:00
Elias Nahum
106324335c
MM-56542 fix custom theme selection (#7762) 2024-01-18 06:00:21 +08:00
wiggin77
e2aed87e9c Fix channel switcher routing for DMs with remote users 2024-01-17 12:00:24 -05:00
Claudio Costa
84858e4450
[MM-46339] Handle user leaving channel with active call (#7754)
* Handle user leaving channel with active call

* Remove debug log
2024-01-15 08:11:25 -06:00
Daniel Espino García
9ea38cfb3f
Fix MM55258 (#7729)
* Fix MM55258

* Address feedback

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 10:19:33 +01:00
Daniel Espino García
8bd9cac9f5
Fix joining channels from the find channels screen (#7732)
* Fix joining channels from the find channels screen

* Fix lint

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2024-01-15 10:18:37 +01:00
M-ZubairAhmed
cc96982d24
MM-53479 : Improve design of keyword that trigger notification in mobile (#7458) 2024-01-13 06:56:22 +00:00
Miguel de la Cruz
4095212d86
Improves get roles by names requests to batch them following the new endpoint limit (#7650) 2023-12-22 10:29:49 +01:00
Christopher Poile
d6566b591a
MM-54866 - Calls: Transcription notifications (#7704) 2023-12-21 17:19:28 -05: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
Tanmay Thole
15fb6363aa
fix: height for multiple line floating text input (#7688) 2023-12-13 09:50:18 +01:00
Elias Nahum
bcf3dc61ab
MM-54575 fix server & user list tutorials (#7698) 2023-12-06 15:41:04 +08: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
Daniel Espino García
d469470592
Make app init more idempotent (#7676)
* Make app init more idempotent

* Remove previous subscriptions
2023-12-04 17:01:08 +01:00
Alex Yetto
ab7da5f664
fix opening same modal twice (#7639)
Co-authored-by: Fokin Aleksandr Konstantinovich <aleksafokin@ozon.ru>
2023-12-01 10:48:40 +01: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
Harshil Sharma
9ff24a8551
Merge pull request #7682 from mattermost/gm_conversion_on_reconnect_handler
[MM-55463] GM conversion reconnect handler
2023-11-29 09:25:02 +05:30
Caleb Roseland
79d7c628e4 Merge branch 'main' into MM-53902-cont 2023-11-27 15:09:55 -06:00
harshil Sharma
946ccf04bb Merge branch 'main' into gm_conversion_on_reconnect_handler 2023-11-27 15:27:55 +05:30
harshil Sharma
3c6638f474 Optimized the number of calls to fetchMyChannelsForTeam 2023-11-27 15:22:50 +05:30
Daniel Espino García
46125b201f
Fix issue when logout is called several times for the same server (#7666) 2023-11-27 10:50:40 +01:00
Harshil Sharma
59a69368bf
Added one important test (#7683)
* Added one important test

* Update app/actions/local/category.test.ts

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-11-25 07:55:46 +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
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
harshil Sharma
d31887bf77 Merge branch 'main' into gm_conversion_on_reconnect_handler 2023-11-24 11:35:07 +05:30
harshil Sharma
878ed5673c nit fix 2023-11-24 11:17:12 +05:30
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
harshil Sharma
28949d5605 Merge branch 'main' into gm_conversion_on_reconnect_handler 2023-11-23 11:17:30 +05:30
harshil Sharma
58fc869d70 Added onReconnect handling for converted GM 2023-11-23 10:40:49 +05:30
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
Christopher Poile
6baa850d36
MM-54277 - Calls: Add incoming banners to channel_list screen (#7673) 2023-11-22 16:56:27 -05:00
KyeongSoo Kim
1a59bd9e0e
[MM-42586] Reaction toggle behavior (#7674) 2023-11-22 21:05:58 +08:00
Harshil Sharma
908e4c08d4
Merge pull request #7654 from mattermost/gm_to_channel
GM to channel conversion
2023-11-22 15:44:40 +05:30
Harshil Sharma
c037c3375a
Merge pull request #7667 from mattermost/show-conversion-error
Displayed channel related error with name field
2023-11-22 15:40:07 +05:30
harshil Sharma
55004c9773 Merge branch 'main' into gm_to_channel 2023-11-22 11:40:50 +05:30
Caleb Roseland
12a80c4f29 subpath tests, variations test 2023-11-21 22:05:35 -06:00
Christopher Poile
daa2b1a497
MM-54351 - Calls: Improve logging (#7671) 2023-11-20 20:28:38 -05:00
harshil Sharma
f58987ef68 Merge branch 'main' into gm_to_channel 2023-11-20 11:58:21 +05:30
Caleb Roseland
f8f4e9e474 review changes 2023-11-17 11:18:05 -08:00
Daniel Espino García
044cebc978
Show at mentions in RemoveMarkdown renderer (#7664) 2023-11-17 11:43:25 +01:00
harshil Sharma
c6967b701b text fix 2023-11-17 11:25:06 +05:30
Christopher Poile
c9fe72460b
MM-54865 - Calls: Multisession support (#7647)
* add multisession support for calls mobile

* ensure backwards compatibility

* remove extra line
2023-11-16 14:30:49 -05: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
harshil Sharma
cec7961d18 Displayed channel related error with name field 2023-11-16 17:06:39 +05:30
harshil Sharma
ba9a84e3e6 Merge branch 'main' into gm_to_channel 2023-11-16 13:23:27 +05:30
harshil Sharma
72d513987c fixes 2023-11-16 13:20:41 +05:30
Caleb Roseland
bf91340fd4 put back plugin case 2023-11-15 21:29:54 -06:00
Caleb Roseland
cd460e909c Merge branch 'main' into MM-53902-cont 2023-11-15 21:25:24 -06:00
Caleb Roseland
bf25f10c38 refactor parseDeepLink with path-to-regexp 2023-11-15 21:24:48 -06:00
Daniel Espino García
94e1334ebb
Maintenance fixes (#7665) 2023-11-15 15:07:00 +01:00
harshil Sharma
b0becb4cee Fixed menu icon 2023-11-15 16:29:04 +05:30
harshil Sharma
316971f6d8 Reverted accidental change 2023-11-15 16:04:01 +05:30
harshil Sharma
e0239a0e76 Review fixes 2023-11-15 15:20:01 +05:30
harshil Sharma
4af2ad2f69 review fixes 2023-11-15 14:13:55 +05:30
Christopher Poile
f0334d8c0e
MM-54323 - Calls: Incoming call from different server (#7646)
* 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

* show servername for notifications from other servers

* if >1 active servers, always show server name, otherwise don't

* add height of notification bar in measurements

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 17:03:55 -05:00
Elias Nahum
94a910303b
Allow connecting to a previous server if credentials are not in the keychain (#7661) 2023-11-14 19:14:46 +08:00
harshil Sharma
9c6ae712a9 Review fixes 2023-11-14 15:53:48 +05:30
harshil Sharma
0164c1b1f1 Review fixes 2023-11-14 15:33:19 +05:30
Tanmay Vardhaman Thole
805c794b3e
MM 45015 - auto follow threads (#7463)
* auto follow select option added

* unused code removed

* auto follow threads condition fixed on CRT enabled

* error handles

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-11-14 10:00:19 +01:00
harshil Sharma
77a1f79790 Review fixes 2023-11-14 13:57:25 +05:30
harshil Sharma
e3d67afcf4 Merge branch 'main' into gm_to_channel 2023-11-14 10:42:37 +05:30
harshil Sharma
270c25a2ad Added server version check 2023-11-13 15:58:17 +05:30
harshil Sharma
eebd48466f Review fixes 2023-11-13 15:31:29 +05:30
harshil Sharma
8fe529a4f5 WIP 2023-11-10 19:54:58 +05:30
Amy Blais
148f9dd716
Update supported ESR version (#7610)
* Update README.md

* Update supported_server.ts

* Update full_description.txt

* Update changelog
2023-11-10 09:19:54 -05:00
Harshil Sharma
49272f0b72
Apply suggestions from code review
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-11-10 19:36:21 +05:30
harshil Sharma
7106c1807b Somre review fixes 2023-11-10 16:14:11 +05:30
harshil Sharma
34567cb74e Cleanup 2023-11-09 17:23:48 +05:30
harshil Sharma
742739fc0b Handled onreconnect sync 2023-11-09 10:00:25 +05:30
harshil Sharma
4138a202f2 removed debug logs 2023-11-07 13:10:22 +05:30
harshil Sharma
082b3c7f1e Handled websocket notification race condition 2023-11-07 11:39:16 +05:30
harshil Sharma
aff310471a Merge branch 'main' into gm_to_channel 2023-11-06 10:12:49 +05:30
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
Christopher Poile
a0b1367fd3
MM-54278 - Calls banners redesign (#7611)
* join call banner

* same style of voice-on indicator; avatar & emoji sizing spacing polish

* refactor all calls bars; new calls bars UI designs

* i18n changes

* fix for warning bar's close icon color

* refactor banners to normalize UI; new 'noone is talking' design

* fix for avatar in current call bar

* change design for incoming call on calls screen

* remove commented out code
2023-11-03 16:23:12 -04:00
Caleb Roseland
744d5c1120 include backslashes 2023-11-03 14:46:00 -05:00
harshil Sharma
ea34873d5f Handled category updates 2023-11-03 15:46:52 +05:30
Caleb Roseland
a8fe9794d0 Merge branch 'main' into MM-53902-cont 2023-11-02 16:36:28 -05:00
rashmibharambe
a01fac4753
Session timeout notification incorrectly says "Days" on iOS (#7629)
* Session timeout notification incorrectly says "Days" on iOS

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Update index.ts

* Session timeout notification incorrectly says "Days" on iOS

* Update index.ts

* Update en.json

* Update index.ts
2023-11-02 16:38:57 +01:00
harshil Sharma
e171c82703 Disabled option for guest users 2023-11-02 12:00:19 +05:30
harshil Sharma
bf2fd6594d WIP 2023-11-01 18:15:05 +05:30
harshil Sharma
3555eb5d72 Merge branch 'main' into gm_to_channel 2023-11-01 10:48:02 +05:30
harshil Sharma
761fcc8ab5 WIP 2023-11-01 10:29:31 +05:30
Daniel Espino García
b9024f5183
Fix error around combined user activity (#7637) 2023-10-31 15:59:54 +01:00
harshil Sharma
8ae4c1b707 Merge branch 'main' into gm_to_channel 2023-10-31 11:45:28 +05:30
harshil Sharma
2a65fa7816 Merge branch 'main' into gm_to_channel 2023-10-31 07:44:04 +05:30
harshil Sharma
ead1a2f73b added types 2023-10-31 07:24:34 +05:30
harshil Sharma
10a58011d4 Fixed bug where icons were missing in plus menu 2023-10-30 20:18:06 +05:30
Harshal sanghvi
128be0994e
fixed theme save on android back button (#7579) 2023-10-30 09:17:00 -04:00
harshil Sharma
67f6740be4 Making conversion API call 2023-10-30 18:33:19 +05:30
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
harshil Sharma
978a13adc5 Set teammate display name 2023-10-30 09:26:58 +05:30
harshil Sharma
66dc8a4db6 Set teammate display name 2023-10-30 09:26:35 +05:30
Paul Vrn
2583b470b2
[MM-54599] Fix Servers bottom sheet (#7609) 2023-10-30 07:53:15 +04:00
harshil Sharma
7c008a9726 Merge branch 'main' into gm_to_channel 2023-10-30 07:52:55 +05:30
harshil Sharma
723f88cdcf Handled case of no common team 2023-10-27 17:14:24 +05:30
harshil Sharma
6752d84b21 Handled case of no common team 2023-10-27 16:32:20 +05:30
Daniel Espino García
01fdd1f7d4
Fix recent sorting difference with webapp (#7632) 2023-10-26 15:15:54 +02:00
harshil Sharma
d3ba8439f2 Handled case of single common team 2023-10-26 17:17:13 +05:30
harshil Sharma
29c64c8100 Handled case of all members deactivated 2023-10-26 11:23:32 +05:30
harshil Sharma
bac0136dae WIP 2023-10-25 19:38:48 +05:30
Pablo Andrés Vélez Vidal
196372eeb4
Merge pull request #7495 from mattermost/MM-50354-not-show-push-notifications-warning-if-disabled
MM-50354 - do not show push disabled notification once acknowledged
2023-10-25 11:50:17 +02:00
Harrison Healey
1a031cdbbe
MM-54887 Fix category order being reversed after moving a channel (#7628) 2023-10-24 16:21:14 -04:00
harshil Sharma
2acd8730ad WIP 2023-10-24 19:38:31 +05:30
harshil Sharma
c59d7fee8e WIP 2023-10-24 15:43:08 +05:30
Caleb Roseland
03ccfda514 better support variations 2023-10-23 17:25:28 -05:00
harshil Sharma
2574c90754 WIP 2023-10-22 07:48:38 +05:30
harshil Sharma
3386966d39 WIP 2023-10-20 18:00:21 +05:30
harshil Sharma
91f87e0754 WIP 2023-10-20 17:18:14 +05:30
harshil Sharma
a717ea520f WIP 2023-10-20 15:57:00 +05:30
harshil Sharma
c70b50fefc WIP 2023-10-19 18:26:46 +05:30
harshil Sharma
ec7252ac4d Added team selector screen 2023-10-19 16:31:18 +05:30
Elias Nahum
12a29fe33e
Fix race condition when showing the turorial (#7599) 2023-10-19 10:34:21 +04:00
Caleb Roseland
fc7d8a3d08 include encoded 2023-10-18 17:10:30 -05:00
Pablo Andrés Vélez Vidal
6dcc999176 capitalize back the alert text 2023-10-18 21:06:12 +02:00
harshil Sharma
9ae6db441f WIP 2023-10-18 16:42:23 +05:30
Pablo Andrés Vélez Vidal
89fc2e8b99 Update alert text 2023-10-18 12:12:37 +02:00
harshil Sharma
6b0de22824 Merge branch 'main' into gm_to_channel 2023-10-18 11:33:45 +05:30
Tom De Moor
392dd21c0f
adding Vietnamese as a new language (beta)
adding Vietnamese as a new language (beta)
Merge pull request #7462 from ctlaltdieliet/i18n-vi
2023-10-17 15:49:54 +02:00
harshil Sharma
cd3ff8be76 Added message box 2023-10-17 16:27:11 +05:30
Elias Nahum
55149a593c
Fix reply from permalink (#7598) 2023-10-17 09:12:24 +04:00
harshil Sharma
65dc65df47 Used goToScreen instead of shoModal 2023-10-17 10:15:42 +05:30
harshil Sharma
a5039fccc8 Created screen 2023-10-16 16:05:59 +05:30
Daniel Espino García
a3eeb69277
Goodbye, GraphQL (#7597) 2023-10-16 10:13:16 +02:00
Christopher Poile
1fb01dfcdc
MM-54553 - Calls: Enable microphone input in background (Android) (#7585)
* Add foreground service for Android; add voip UIBackgroundMode for iOS

* remove iOS change for this PR

* create foreground notification channel once at startup
2023-10-13 14:45:14 -04:00
Pablo Andrés Vélez Vidal
41ca61966b do not remove inside app alerts 2023-10-10 17:12:04 +02:00
Tanmay Vardhaman Thole
f798423a22
copy channel purpose text implemented (#7586)
* copy channel purpose text implemented

* import sequence fixed

* fix: constants added
2023-10-09 18:36:56 +02:00
Pablo Andrés Vélez Vidal
499114f4f9 Merge branch 'main' into MM-50354-not-show-push-notifications-warning-if-disabled 2023-10-09 16:28:58 +02:00
Caleb Roseland
feb521c754
Merge pull request #7584 from mattermost/MM-53857 2023-10-06 17:48:49 -05:00
Mattermost Build
3b19fc5a3b
Merge branch 'main' into MM-54199-attachment-author-name-missing-on-mobile 2023-10-05 18:17:22 +02:00
Harshal sanghvi
f7d2bf1cac
remove redunted copy to clipboard message (#7578)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-10-05 12:29:44 +02:00
Mattermost Build
3d3934e37b
Merge branch 'main' into i18n-vi 2023-10-05 09:38:58 +02:00
Caleb Roseland
0bd2ea7faa fix multiline ternary linting 2023-10-04 15:35:36 -05:00
Caleb Roseland
5811b34b75 remove log 2023-10-04 15:35:14 -05:00
Caleb Roseland
cdbafea607 fix: editing DM/GM channel header 2023-10-04 11:22:58 -05:00
namanh-asher
0072d6a52e
Fix can not reconnect websocket after turn off then turn on wifi. Thi… (#7552)
* Fix can not reconnect websocket after turn off then turn on wifi. This bug happen on some Samsung device (s10+, s20fe,...)

* Fix can not reconnect websocket after turn off then turn on wifi. This bug happen on some Samsung device (s10+, s20fe,...)

* Fix can not reconnect websocket after turn off then turn on wifi. This bug happen on some Samsung device (s10+, s20fe,...)
2023-10-03 12:03:00 +02:00
Aditya Pratap Singh Hada
28dc688fc3
Mm 28872 configure links (#7551)
* Fix: configured help link redirect according to location

* Fix: import statements
2023-10-03 11:09:01 +02:00
Daniel Espino García
385461acfc
Make GM Intro message to change based on the notification preferences (#7563) 2023-10-03 11:03:55 +02:00
Caleb Roseland
ce82213a33 Merge branch 'main' into MM-53857 2023-09-29 16:03:31 -05:00
Pablo Andrés Vélez Vidal
3638da2536 MM-54199 - attachment author name missing on mobile 2023-09-29 15:26:16 +02:00
Harrison Healey
31eb0ca489
Fix handlePreferences warning (#7556)
* Fix handlePreferences warning

* Fix filtered array potentially being undefined
2023-09-28 14:51:01 -04:00
Elias Nahum
672e0ee225
update libwebp (#7562) 2023-09-28 16:44:31 +03:00
Daniel Espino García
ba52acb26f
Add GM as DM feature support (#7515)
* Add GM as DM feature support

* Minor fix

* Address feedback

* Fix case for non set channel notify prop

* Fix strings
2023-09-26 18:35:40 +02:00
harshil Sharma
a6a2ea63a4 Added convert option to GM 2023-09-26 17:32:48 +05:30
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
1d0eefab78
fix: MFA error display (#7544) 2023-09-15 09:47:38 -03:00
Caleb Roseland
188f122315 wip 2023-09-13 16:03:33 -05:00
Elias Nahum
df52740752
Add alert when deeplink is invalid (#7538) 2023-09-12 07:26:05 -03:00
Christopher Poile
397744dc72
Open MM-54223 - Remove unused getOpenGraphMetadata (#7541) 2023-09-08 16:08:37 -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
f463d12187
show alert when server SSL is invalid or untrusted (#7533) 2023-09-07 06:23:34 -03:00
Daniel Espino García
0a78b1d804
Fix posts not showing on permalink view (#7531) 2023-09-04 09:52:12 +02:00
Daniel Espino García
d28ee34aa3
Make androidBackHandler to update if the handler changes (#7519) 2023-08-31 10:31:55 +02:00
Christopher Poile
83f81985cd
MM-53486 - Incoming calls notification banner (#7477)
* upgrade calls-common

* incoming call notifications

* tests

* i18n

* PR comments

* PR comments

* PR comment
2023-08-30 13:58:54 -04:00
Harshal sanghvi
70ea5dc0d1
Fixed: The emoji autocomplete does not appear after switching apps (#7520)
* added last viewed feature

* added constants

* storing data in global table and added server col

* fixed stack screen"

* fixed values for crt

* fixed threadid store logic

* added status on profile in bottom tabs

* fixed error for profile edit

* refactored and removed rule from eslint

* fixed variable in username field

* fixed screen blur focus issue

* keyboard show issue
2023-08-28 15:22:49 +02:00
Claudio Costa
06037ab6da
[MM-53994] Calls: fix potential websocket client leak (#7513)
* Calls: fix potential websocket client leak

* Improve debug log
2023-08-24 14:29:50 -06:00
Pablo Andrés Vélez Vidal
c93fd5a754 MM-53927 - fix channel names not shown during search 2023-08-23 17:11:43 +02:00
Pablo Andrés Vélez Vidal
ccdab81d7e
Merge pull request #7505 from mattermost/MM-53849-mobile-hide-channels-from-archived-teams
MM-53849 - hide channels from archived teams during channels search
2023-08-23 10:44:05 +02:00
Pablo Andrés Vélez Vidal
d4cd0cb1de implement pr feedback; reuse existing keyfromurl function; fix imports 2023-08-22 15:50:45 +02:00
Pablo Andrés Vélez Vidal
7244f95fea add unit test; refactor function; not remove on logout but on server remove 2023-08-21 17:31:16 +02:00
Elias Nahum
69872eb678
Upgrade Dependencies (#7491)
* update dependencies

* update dependencies

* update readable-stream

* further updates
2023-08-18 16:04:28 -04:00
Pablo Andrés Vélez Vidal
109dd21a8a refactor code based on pr comments 2023-08-18 13:55:52 +02:00
Harshal sanghvi
504caa8cd8
Fixed error message position in edit profile screen (#7483)
* added last viewed feature

* added constants

* storing data in global table and added server col

* fixed stack screen"

* fixed values for crt

* fixed threadid store logic

* added status on profile in bottom tabs

* fixed error for profile edit

* refactored and removed rule from eslint

* fixed variable in username field
2023-08-18 12:33:54 +02:00
Daniel Espino García
d193ffd3be
Update supported_server.ts (#7509)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-08-17 16:06:43 +02:00
Daniel Espino García
bc1ad7362f
Fix login not doing entry logic after forced logout (#7507)
* Fix login not doing entry logic after forced logout

* Fix lint
2023-08-16 17:41:39 +02:00
Pablo Andrés Vélez Vidal
3b6dd923df MM-53849 - hide channels from archived teams during channels search 2023-08-15 15:55:54 +02:00
Elias Nahum
68939c9fcc
update reanimated (#7500)
* update reanimated

* fix reanimated types
2023-08-14 14:38:05 -04:00
Daniel Espino García
4670a01ae7
Handle Mark Multiple Channels as Read (#7467)
* Handle Mark Multiple Channels as Read

* Use allSettled
2023-08-14 10:01:55 +02:00
Pablo Andrés Vélez Vidal
7d3115c920 enhance regular expression to support optional subpath 2023-08-10 13:53:27 +02:00
Pablo Andrés Vélez Vidal
0da1b5c6a4 MM-50354 - do not show push disabled notification once acknowledged 2023-08-10 12:23:55 +02:00
Elias Nahum
4f5b42abba
update network library (#7493)
* update network library

* attempt to fix search results 'map' of null
2023-08-10 10:41:39 +02:00
Khanh P. Huynh
191f498ab0
Fix cannot search user when pressing space (#7486)
* - Update AT_METION_SEARCH_REGEX to allow to search user name with space, similar to mentioning user.
- Convert search term to lowercase.

* Update CHANNEL_MENTION_SEARCH_REGEX to allow to search channel name when typing space

* Fix app crash when searching in channel only

---------

Co-authored-by: Huỳnh Phương Khanh <phuongkhanh@evolgroup.vn>
2023-08-09 11:38:06 +02:00
Khanh P. Huynh
0d8466a055
Fix cannot scroll acknowledgement bottom sheet of user list when there are many users (#7489)
* Fix cannot scroll acknowledgement bottom sheet of user list when there are many users

* - Updated showing user list for Tablet
- Added GestureHandlerRootView to avoid bug not show the list

* Wrap BottomSheet inside withGestures function

* Remove GestureHandlerRootView for BottomSheet component since it's been wrapped inside withGesture function
2023-08-09 10:48:21 +02:00
Khanh P. Huynh
eb7432dc27
Fixed UI button Mark all as read in Thread disappear when the font size is large (#7487) 2023-08-08 09:20:39 +02:00
Lucas Reis
833a0fc028
Feat: Adds the Info snackbar when the About info is copied (#7488)
* feat: adding the snackbar when the version info was copied

* fix: PR review
2023-08-08 08:40:30 +02:00
Daniel Espino García
4767c28ae4
Avoid unneeded group fetches (#7482) 2023-08-07 09:43:46 +02:00
Daniel Espino García
ff601982b9
Add some performance improvements (#7481)
* Add some performance improvements

* fix tests
2023-08-07 09:43:00 +02:00
Lucas Reis
8bc1ec2dff
Fix: Show admin on channel members (#7472)
* feat: adding the scheme_admin info on the channel members user_list sections

* feat: adding the scheme_admin info on channel members when there is a search in the textbox
2023-08-07 09:41:47 +02:00
Daniel Espino García
8a32588507
Fix DMs in sidebar (#7468)
* Fix DMs in sidebar

* Properly handle view, show and open preferences

* Refactor openChannel to keep similar logic together
2023-08-02 11:51:33 +02:00
Daniel Espino García
d74826064b
Remove keychain cache to avoid token invalidation problems (#7479) 2023-08-01 15:46:48 +02:00
namanh-asher
79994bf159
Fix keyboard overlap with recent search items in the search tab (#7465)
* Fix keyboard overlap recent search item in search tab

* Set the behavior of KeyboardAvoidingView on Android to 'undefined' to avoid losing some content at the bottom
2023-07-27 10:55:35 +02:00
Elias Nahum
4a79147402
Fix re-selection of custom theme (#7470) 2023-07-26 12:48:14 -04:00
Sudhanva-Nadiger
37b245d461
Feat: add copy to clipboard button in "about" mattermost page (#7134)
* feat: add copy to clip board button in about page

* add intl format text

* make suggested changes.

- fix: wrap copyToClipBoard function in useCallBack
- remove annonymous function onPress, provide function pointer
- make code readable in copyToClipBoard function

* formatting

* small fix

* change copy to clipboard position

- created a custom button eith icon and text
- usd button theme color

* button styling

* divider color

* use predefined btn element

* Add e2e test for copy info button

* feat: refactor the styles for thin lines

- fix: change touchable opacity to view
- add margin top to footer text

* change icon size to 15

* remove unnecessary view

* add config to dependency of callback

* suggeste changes on onClick func

* modified en.json file after running i18-extract

* Improve translations

* Address feedback

* Fix non updated default messages

---------

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2023-07-26 09:00:06 -04:00
Harshal sanghvi
871e3964ea
Added status on profile picture in bottom tab (#7464)
* added last viewed feature

* added constants

* storing data in global table and added server col

* fixed stack screen"

* fixed values for crt

* fixed threadid store logic

* added status on profile in bottom tabs
2023-07-25 10:24:55 +02:00
Lucas Reis
722871d165
[MM-48225] Reduce Padding/Margins from Files Tab and moving the Search Results to the FlatList (#7430)
* feat: reducing the padding/margins of tabs and filter icons on the Search Page

* feat: adds the results text inside the post_results and file_results

* feat: changes search results to use translation

* feat: updates text on search results to use FormattedText

* feat: removing text wrapper

* feat: removing margins and using an ItemSeparator to separate the rows of the file results

* feat: refactor spacing on post results and unnecessary top

* review: externalizing Separator on the file_results

* feat: add marginTop in all File components used inside the <Files> component
2023-07-25 10:11:37 +02:00
Harshal sanghvi
b94eb1d4d8
added Remember last viewed channel or thread on cold start feature (#7434)
* added last viewed feature

* added constants

* storing data in global table and added server col

* fixed stack screen"

* fixed values for crt

* fixed threadid store logic
2023-07-21 10:09:26 +02:00
Tom De Moor
ccaab3a899 adding vi 2023-07-19 20:43:14 +02:00
Elias Nahum
47317bb1e9
Do not show archived teams when browsing available teams (#7460) 2023-07-19 08:17:18 -04:00
Devin Binnie
21fc831554
[MM-53249] Allow server to hide or customize the Forgot Password link (#7429)
* [MM-53249] Allow server to hide or customize the Forgot Password link

* Update app/screens/login/form.tsx

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>

* Fix issue for older servers

* Sort imports

---------

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2023-07-18 12:31:35 -04:00
Elias Nahum
3effecd6a4
match desktop search and highlight results (#7445) 2023-07-18 12:17:19 -04:00
Pablo Andrés Vélez Vidal
a576f7c97e
MM-53586 - small fixes in onboarding screens (#7444)
* MM-53586 - small fixes in onboarding screens

* remove the min-width and set the fixed button width
2023-07-18 10:01:31 +02:00
Pablo Andrés Vélez Vidal
84b35ac143
MM-53343 - save button not grayed out when edit message is too long (#7446)
* MM-53343 - save button not grayed out when edit message is too long

* fix too long message not getting removed
2023-07-18 10:00:51 +02:00
Elias Nahum
fa43f68a8f
Fix search hashtag (#7459) 2023-07-17 11:36:28 -04:00
Eduardo Sellanes
3e700f841d
use useAndroidHardwareBackHnd on Files and Members (#7455)
* use useAndroidHardwareBackHnd on Files and Members

* use callbacks

---------

Co-authored-by: Eduardo Sellanes <esellanes@sangoma.com>
2023-07-17 15:01:33 +02:00
Elias Nahum
77859c0340
ignore the : character when searching for emojis in the emoji picker (#7453) 2023-07-13 09:45:28 -04:00
Daniel Espino García
0c4f7f25bc
Upgrade React Native Network Client to 1.3.5 (#7450)
* Upgrade React Native Network Client to 1.3.5

* Fix defaults in the manager
2023-07-12 17:08:40 +02:00
Elias Nahum
40254fba96
fix: crash when reactor is missing (#7448) 2023-07-12 10:22:37 -04:00
Elias Nahum
5a07c1ac29
14 day data cleanup and vacuum (#7438) 2023-07-11 12:45:08 -04:00
Maria A Nunez
f11ffc7976
Remove Post Priority Feature Flag (#7433)
* Remove post priority FF

* Linting
2023-07-07 11:42:35 -04:00
Daniel Espino García
5ab2f86b66
Fix ios cache (#7412)
* Fix Keychain cache

* Fix

* Fix import
2023-07-05 14:01:51 -04:00
Elias Nahum
4d94728d90
fix open code block when keyboard is opened (#7432) 2023-07-05 10:13:28 -04:00
Daniel Espino García
0a8eb836f6
Remove guest tags based on config (#7425) 2023-06-30 11:05:54 +02:00
Daniel Espino García
0a3f5e5914
Fix problems related to closing react but keeping other state (#7405) 2023-06-28 12:49:58 +02:00
Daniel Espino García
6929e7a676
Fix edit post input height and looks (#7366)
Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-26 11:44:00 +02:00
Harshil Sharma
346c4424b0
Merge pull request #7415 from mattermost/priority_text_change
Updated text in post priority popover
2023-06-26 13:13:36 +05:30
Elias Nahum
ef2c12e954
Update Dependencies (#7409)
* dev dependencies

* update deps

* update wdb

* update more deps

* update detox deps

* update logs for database batch

* fix jest setup
2023-06-21 13:40:23 -04:00
Dmitry Lyzlov
cc2728aaa8
Added localization into iOS share extension (#7351) 2023-06-21 12:42:31 +02:00
Daniel Espino García
cffe80b442
Fix fetching unreads from archived channels, fetching groups on unlicensed servers and logs (#7406) 2023-06-20 13:52:05 -04:00
Elias Nahum
01c9e1ab01
Fix image attachment overlap (#7416) 2023-06-20 11:58:04 -04:00
Daniel Espino García
0bfa4e429c
Fix MarkThreadAsRead on notifications (#7417) 2023-06-20 16:24:03 +02:00
Daniel Espino García
21a4f606b4
Add badge to thread screen (#7404)
* Add mention badge to global threads and threads screens

* Tablet fix

* Remove changes on Thread screen
2023-06-20 09:37:24 +02:00
Harshil Sharma
8bb0bac49e
Update app/screens/post_priority_picker/utils.ts
Co-authored-by: Daniel Espino García <larkox@gmail.com>
2023-06-19 15:37:56 +05:30
Harshil Sharma
1c6195e1bb Lint fix 2023-06-19 15:04:55 +05:30
Harshil Sharma
0b591264b2 WIP 2023-06-16 16:02:53 +05:30
Christopher Poile
81dd44ae09
MM-52653 - Calls: Attach call to existing thread on /call start (#7338)
* send rootId when starting a call from a thread

* allow join to start calls in threads and with thread titles
2023-06-15 10:08:50 -04:00
Christopher Poile
dbd943ab8d
MM-52949 - Calls: Blank screen after ending a call and exiting its thread (#7380)
* remove thread and call screen

* simplify how we remove the call screen

---------

Co-authored-by: Mattermost Build <build@mattermost.com>
2023-06-12 08:55:48 -04:00
Elias Nahum
a27ad43394
Fix onViewableItemsChanged item id (#7400) 2023-06-09 14:40:32 -04:00
Elias Nahum
7105320855
Remove double text for SSO login method (#7385) 2023-06-02 10:23:14 -04:00
Daniel Espino García
841db48a86
Improve status sync (#7379) 2023-06-02 15:31:00 +02:00
Daniel Espino García
8647d948db
Fix bad use of updatelocaluser on fetchChannelMember (#7381) 2023-06-02 15:30:36 +02:00
Elias Nahum
0d743bb286
conditionally set the current user status (#7383) 2023-06-01 12:40:33 -04:00
Daniel Espino García
20dfb4f406
Fix issue with missing post headers on threads (#7378)
* Fix issue with missing post headers on threads

* Fix lint
2023-05-31 11:42:20 -04:00
Harrison Healey
aa54d72a01
MM-52888 Always load users mentioned in message attachments (#7361) 2023-05-25 13:47:09 -04:00
Daniel Espino García
9b2c68985a
Fix all references to mention color on "login" screens (#7364)
* Fix all references to mention color on "login" screens

* Add missing change
2023-05-25 10:51:07 +02:00
Daniel Espino García
5d20b26b73
Add license checks to several groups calls (#7369) 2023-05-24 12:29:48 +02:00
Daniel Espino García
b6f62e35fb
Remove unneeded padding on the FindChannels screen on Android (#7368)
* Remove unneeded padding on the FindChannels screen on Android

* Refactor keyboard overlap
2023-05-23 17:33:37 -04:00
Daniel Espino García
0a89ac7cf3
Fix minor error on marking threads as read (#7355) 2023-05-23 17:40:07 +02:00
Daniel Espino García
83e5ca835d
Fix Save button not appearing on edit post screen (#7360) 2023-05-23 17:39:27 +02:00
Daniel Espino García
68818d0048
Update string on notification error (#7370) 2023-05-23 17:34:31 +02:00
Daniel Espino García
19315c63c4
Improve manage members search (#7357) 2023-05-23 11:33:17 -04:00
Daniel Espino García
081f687a11
Improve copy text response time (#7358) 2023-05-19 13:48:00 +02:00
Ilya
265be35dce
Fixed Interactive dialog radio buttons style (#7331)
* Fixed Interactive dialog radio buttons style

* removed unnecacary spaces

* remove spaces

---------

Co-authored-by: Ilia Polozov <ipolozov@stsoft.ru>
2023-05-18 12:39:01 +02:00
Daniel Espino García
5a610f1620
Fix post priority bottom sheet (#7350)
* Fix post priority bottom sheet

* Remove unneeded tablet handling
2023-05-16 19:13:06 +02:00
Md_ZubairAhmed
4e01a94cdd init 2023-05-14 17:34:55 +05:30
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
c99861d728
Use message source on post edit (#7325)
* Use message source on post edit

* Fix tests and bugs
2023-05-11 14:18:07 +02:00
Daniel Espino García
66a37b7032
Show saved posts in search and recent mentions lists (#7326)
* Show saved posts in search and recent mentions lists

* Add missing space
2023-05-11 08:16: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
Daniel Espino García
162cdfb21d
Handle currentUser not available throught the app and refetch it (#7333)
* Handle currentUser not available throught the app and refetch it

* Address feedback
2023-05-05 15:40:59 -04:00
Elias Nahum
3a416dc511
Fix Thread button crash (#7330)
* remove the right button component id

* do not render thread follow button

* use lodash uniqueId instead of uuid
2023-05-05 09:17:47 -04:00
Christopher Poile
c90ace706c
MM-49970 - Calls: Call quality status banner (#7304)
* use mean opinion score detection; add call quality alert bar; tests

* rename MessageBar's file to message_bar

* i18n

* use mosThreshold from calls-common; upgrade calls-common

* use callsBg for text and icon
2023-05-04 15:28:15 -04:00
Christopher Poile
f8f6839945
MM-51228 - Calls: UX redesign & theming support (#7283)
* UX redesign

* fix call bar profile on Android

* update @mattermost/calls; use common color utils

* collapseIcon and time colour fixes (not correct yet on Onyx or Quartz)

* fix time and collapseIcon colors; fix unavailable wrapper

* center users, scroll when full; statusBar bg and styling

* better spacing; better screenshare; no reaction bar when no reactions

* remove margins from bottom; speaker/react buttonOn colour is now callsBg

* update calls-common; update raised hand button colors

* i18n

* cleaning up style sheets

* fix package-lock

* fix vertical alignment of phone icon

* add a noBorder prop to UserAvatarsStack

* typography, icon sizing, spacing changes

* add rounded header; UI improvements; refactor observables

* updating phone icon, join call margins

* join call text; color theming

* remove unneeded container

* phone-outline -> phone

* split CallsChannelState into boolean components

* use sidebar bg to generate calls bg

* fix hand icon, button texts
2023-05-04 14:17:17 -04:00
Elias Nahum
34df44ab53
Always let the server set the create_at timestamp (#7323) 2023-05-04 02:34:17 -04:00
Daniel Espino García
86658edc30
Refactor errors around the app (#7306)
* Refactor errors around the app

* Fix recursive function

* Fix tests
2023-05-03 13:08:55 +02:00
Elias Nahum
712d8465a7
fix small images style (#7310) 2023-04-28 20:56:03 -04:00
Christopher Poile
1ce69f20fb
use CallState and CallChannelState from @mattermost/calls (#7318) 2023-04-28 20:55:40 -04:00
Dmitry Lyzlov
5dfc67dc61
Fixed exception on accessing 'payload' of undefined in InAppNotification (#7317)
* Moved to use auto-generated component id in showOverlay call instead of setting it explicitly

* Fixed linter warnings
2023-04-28 20:55:27 -04:00
Harrison Healey
3c790d2561
MM-52173 Add setting to delay channel autocomplete (#7297)
* MM-52173 Add setting to delay channel autocomplete

* Remove extra enhancer

* Address feedback
2023-04-28 20:55:07 -04:00