Commit graph

1264 commits

Author SHA1 Message Date
Mattermost Build
3235ace3a0
Improve websocket behavior (#7976) (#8020)
* Improve websocket behavior

* Revert uninteded changes

* Address feedback

(cherry picked from commit b694809da1)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-06-17 13:46:08 +02:00
Mattermost Build
78c01a74f7
Add performance metrics to the app (#7953) (#8008)
* Add performance metrics to the app

* add batcher and improve handling

* Add tests

* Fix test

* Address feedback

* Address feedback

* Address feedback

* update podfile

(cherry picked from commit 5f01f9e9af)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-06-12 09:51:38 +02:00
Mattermost Build
272895d37f
Fix priority footer on tablets (#7966) (#8001)
(cherry picked from commit b966e1f356)

Co-authored-by: Daniel Espino García <larkox@gmail.com>
2024-06-10 17:31:46 +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