Commit graph

796 commits

Author SHA1 Message Date
MartB
0a2bbb73e7 [MM-13824] add one_you strings for better translatability in team/channel related messages. (#2604) 2019-03-01 13:15:02 -05:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) (#2575)
* iOS Native Share Extension (Swift)

* Re-arrange files

* Fix .gitignore
2019-02-26 14:31:57 -03:00
kosgrz
590c7ed45d [MM-14193] Render emojis in Message Attachment title (#2591) 2019-02-25 13:00:45 -03:00
Elias Nahum
88f5848850
Dependencies update (#2576)
* Dependencies update

* Fix WebView

* Update to RN 0.58.5 and include the WebSocket fix

* Update react-native-video

* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Miguel Alatzar
c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen (#2468)
* Use updated getJoinableTeams function from mattermost-redux

* Use onEndReached for infinite scrolling of paginated teams

* Add onRefresh

* Update Settings screen to expect joinableTeams as array

* Fix linter issues

* Test that page is updated after getTeams() call

* Revert package-lock.json changes

* Update mattermost-redux dependency

* Update mattermost-redux dependency

* Only call getTeams if more can be loaded and only after a previous
call has completed

* Update snapshot due to  prop

* Update CustomList to support refreshing as well as option to not
render the separator

* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08:00
Saturnino Abril
710ae4d601 [MM-14017] Fix whitespace between input box and post list on iOS (#2580)
* fix whitespace between input box and post list on iOS

* corrected viewPosition when pulling down the post list and add constant for thread screen

* corrected changes made to viewPosition
2019-02-19 21:20:16 -08:00
Elias Nahum
a358c7b99b
Fix opengraph and reactions for older servers (#2581) 2019-02-19 19:04:10 -03:00
Chris Duarte
f4761860a1 Don't show confusing versioning message in "Check for Updates" screen when using a beta/testing build or platform config hasn't been updated for prod (#2556)
UI doesn't update when NO_BETA is set
2019-02-20 01:11:41 +05:30
Saturnino Abril
f88c2e2a00
[MM-13295] Make channel link clickable for user who's not member of the public channel (#2466)
* Make channel link clickable for user who's not member of the public channel

* update per review

* update per comment

* remove setChannelDisplayName
2019-02-20 01:45:04 +08:00
Elias Nahum
a0a1fa28ce
MM-13896 Sync channel as read between clients (including opening Push Notifications) (#2548)
* Update mattermost-redux to use latest WS changes

* Properly mark channel as read, keep the new message indicator, and fix push notification flow

* unneeded parameter in setCurrentUserStatusOffline

Co-Authored-By: enahum <nahumhbl@gmail.com>

* Feedback review

* Update mm-redux ref
2019-02-16 15:09:22 -03:00
Chris Duarte
ffe6b9e2ef Deep linking based on channel url; Fix merge conflicts (#2542)
Code cleanup
2019-02-14 13:29:57 -05:00
Dean Whillier
7eb434b256 [MM 13934] Prevent blank mention keys from crashing the app (#2570)
* don’t match blank word boundaries

* test for blank mention keys

* Check for blank mention before looking for match

* account for multiple spaces as a blank mention
2019-02-13 15:05:52 -08:00
Sudheer
fc69daf6e5 Fix alignment of count on channel drawer (#2569) 2019-02-13 20:57:26 +08:00
Harrison Healey
5eac23ea8c
MM-14001 Don't mount PostBodyAdditionalContent for system messages (#2564) 2019-02-12 15:41:20 -05:00
Dean Whillier
c24ffe8b11
[MM 13720] Fix for "No internet connection" banner not always showing (#2563)
* Add `opacity` to compopnent state …

… to trigger render updates when the property changes.

* Fix bug stopping app from updating connection status

- if the app is opened when no internet connection is present, turning on the internet with the app open will not remove the `No internet connection` message.

* style corrections
2019-02-12 11:06:43 -05:00
Elias Nahum
3db8604102 Add support for relative permalinks (#2555) 2019-02-08 22:54:26 +08:00
Elias Nahum
145842e19e
Fix placeholder image on Android when profile pic is removed (#2551) 2019-02-07 09:20:43 -03:00
Elias Nahum
614e8e32ca
MM-13974 Missing translations (#2549)
* Missing translations

* update snapshots
2019-02-05 19:15:31 -03:00
Elias Nahum
da6160f0b8
Fix previewing doc files more than once on Android (#2550) 2019-02-05 19:12:56 -03:00
Dean Whillier
da32c22c56
Enable tapping on channels when jump to textfield is focused. (#2535)
* Allow tapping on channels in the filtered list …

… when the keyboard is open. This option also allows tapping on non-interactive areas to still dismiss the keyboard.

* keyboard propery updates

- change ‘on-drag’ to ‘interractive’
- change ‘handled’ to ‘always’ to be more consistent with other uses of same property

* support multiple keyboard dismiss modes
2019-01-30 15:55:02 -05:00
Elias Nahum
fdcae0594a MM-13875 Fix user profile icon for a Webhook to follow the prop for use_user_icon (#2533) 2019-01-31 00:29:34 +05:30
Sudheer
c2bcb0e2de MM-13525 Fix alignment of jewel on channel drawer icon (#2473)
* MM-13525 Fix alignement of jewel on channel drawer icon
Fix position of dot
Fix snapshot
Change unread indicator to be View instead of . text

* Fix position of dot for unread indicator in badge

* Update snapshot
2019-01-28 12:52:05 -03:00
Elias Nahum
c4e3f08c82
MM-13846 Alert boxes to follow UX Guidelines (#2525) 2019-01-28 12:48:07 -03:00
Chris Duarte
e92f7afa82 Clicking username in read-only allows sending message (#2489) 2019-01-24 09:46:57 -04:00
Elias Nahum
e1853c6682 MM-13665 Prevent quick multiple taps on file to open multiple file previews (#2503) 2019-01-11 21:29:44 +05:30
Sudheer
53e98628f0 MM-13432 Remove getFilesForPost request state and use react state (#2496)
* MM-13432 Remove getFilesForPost request state and use react state

* Add test cases
2019-01-09 20:21:02 +08:00
Elias Nahum
477dcbb1c5 Fix other users status changes (#2491) 2019-01-07 15:15:12 -05:00
Elias Nahum
8c9fd9d9ac Fix visibility of retry failed message option (#2492)
* Fix visibility of retry failed message option

* Feedback review
2019-01-07 15:10:16 -05:00
Harrison Healey
ff51501b0c
MM-11232 Fix table column width to better support wide tables (#2467)
* MM-11232 Fix table column width to better support wide tables

* Fix horizontal scrolling on Android
2019-01-07 13:53:04 -05:00
Elias Nahum
df4b124028
Fix post menu rounded corners (#2472) 2018-12-28 08:35:18 -03:00
Elias Nahum
5e1db3497f
LHS use getSortedFavoriteChannelIds instead of getFavoriteChannelIds (#2471) 2018-12-28 08:32:56 -03:00
Chris Duarte
b4b10e17e8 Fixes for duplicate text on message attachments, empty space when attachment has no title (#2460) 2018-12-28 08:31:10 -03:00
Saturnino Abril
af8faa8a2c
[MM-13433] Fix unnecessary rendering for reactions component and reaction list screen (#2464)
* fix unnecessary rendering for reactions component and reaction list screen

* update redux commit
2018-12-18 23:07:42 +08:00
Brad Coughlin
15b44e9d71 MM-12354 Remove Profile Image (#2428)
* save progress

* Add option to remove profile picture

* missed when rebasing

* rename extraOptions to removeProfileImage

* clean up removeProfileImage action

* placeholder after removing profile picture, unit tests
2018-12-17 07:56:39 +08:00
Elias Nahum
423ae63d60
Update date separators when timezone changes (#2443)
* Update date separators when timezone changes

* Fix typo
2018-12-13 15:34:05 -03:00
Sudheer
615c8f3b81
MM-13333 Fix minor alignment issue with reply thread indicator (#2456)
* Add a pixel to margin right for profile_picture container
    to compensate status icon platform styles
2018-12-13 17:51:56 +05:30
Harrison Healey
317d26ed64 MM-13421 Fix channel sidebar sometimes using old permissions (#2450) 2018-12-12 09:38:57 -03:00
Harrison Healey
901a59a01b MM-13420 Always show the Unreads section in the channel list (#2451) 2018-12-12 09:37:12 -03:00
Elias Nahum
19f261a768
Fix copy markdown link (#2449) 2018-12-12 09:36:06 -03:00
Elias Nahum
d0957e3879
Fix edit profile image (#2448) 2018-12-12 09:34:41 -03:00
Elias Nahum
9ecec88603
MM-13419 Fix leaving private channel from another client (#2442) 2018-12-10 10:55:01 -03:00
Elias Nahum
a6eea28b5b
MM-13365/MM-13375 Fix edit profile image (#2433)
* MM-13365/MM-13375 Fix edit profile image

* Set Max file size to 20Mb
2018-12-10 09:24:50 -03:00
Elias Nahum
aa20048b2b
Properly check if link is an image when link is shortened (#2441) 2018-12-10 09:19:43 -03:00
Elias Nahum
11497ab270
Hide Favorite channel section when there are not favorite channels (#2439) 2018-12-10 09:18:13 -03:00
Elias Nahum
913fd35724
MM-13379 Make deleted comments indented (#2437) 2018-12-07 12:27:44 -03:00
Elias Nahum
993228b666
MM-13374 Fix collapse posts with long message attachments (#2436) 2018-12-07 12:27:01 -03:00
Elias Nahum
ceb1a5a94b
MM-13367 Unexpected scrolling/blank while long post is incoming (#2435) 2018-12-07 12:26:08 -03:00
Elias Nahum
54c44c530d
MM-13364 Fix text too light on dark themes in TextSetting widget (#2432) 2018-12-07 12:24:21 -03:00
Elias Nahum
b6eb57ae57
Fix team mention badge alignment on iOS (#2427) 2018-12-07 12:22:41 -03:00
Elias Nahum
e89de72b47
Fix reaction list cutoff at end of list (#2424) 2018-12-07 12:14:36 -03:00