Commit graph

818 commits

Author SHA1 Message Date
Harrison Healey
839b21a3b3 MM-14030 Don't show large gifs in posts (#2750)
* MM-14030 Don't show large gifs in posts

* Re-add default argument
2019-05-01 09:35:05 -04:00
Miguel Alatzar
86f2b0a7b9 Allow only jpeg, png, and bmp profile image uploads (#2742) 2019-04-26 08:44:03 -04:00
Miguel Alatzar
89e723b927 Delay PostTextbox animation on iOS when clearing text (#2739) 2019-04-25 07:52:52 -07:00
Miguel Alatzar
de276c7d93 Increase Typing animation duration and remove handleScrollToRecentPost (#2730) 2019-04-23 14:49:46 -07:00
Miguel Alatzar
de7b88beb2 MM-14541 Fix search bar animation stutter in main search bar (#2672)
* Do not expand drawer on search start

* Add state.searching for determining showTeams

* Add leftComponent prop to SearchBar to render SwitchTeamsButton

* Update snapshot tests

* Use native driver when possible and fix start calls
2019-04-22 19:01:48 -07:00
Chris Duarte
5d887f067d
Reminder message (/remind) do not show message text on mobile. (#2710) 2019-04-22 21:56:59 -04:00
Elias Nahum
8ae81de8f4
MM-15215 fix crash caused by malformed post textbox localize string 2019-04-18 18:26:50 -04:00
Miguel Alatzar
69a2c58f5e Ensure the correct value for channelIsLoading is used (#2712) 2019-04-15 10:54:23 -07:00
Elias Nahum
0377249592 MM-14960 Use the correct icon set for channel types (#2699) 2019-04-08 10:51:10 -07:00
Daniel Schalla
a74fabcc98 Add CSRF Header in File Upload and Profile Image Set Operations (#2686) 2019-04-04 10:44:11 -04:00
Christopher Speller
370fa9b952
MM-13618 Adding bot tags. (#2669)
* Adding bot tags.

* Snapshot update.

* Moving bot tag to own component.

* Snapshots.

* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.

* Snapshots and tests.
2019-03-26 17:01:17 -07:00
Martin Kraft
7423e7d3bf MM-14345: Changes the channelIsReadOnly prop to be associated to the post's channel rather than the current channel. Show the unpin regardless of whether a channel is read-only. (#2656) 2019-03-25 17:37:54 -07:00
Courtney Pattison
c3a1e3561e [MM-13381] Added reply to post options (#2665)
* [MM-13381] Added reply to post options

* [MM-13381] Fixes for adding reply to post options

* [MM-13381] Fixed logic for adding reply to post options

* [MM-13381] Fixed canReply logic for post options
2019-03-25 13:29:46 -07:00
Yusuke Nemoto
d852e0991f Support MinimumHashtagLength setting (#2583)
* Support MinimumHashtagLength setting

* Set default value if missing
2019-03-22 14:06:02 -03:00
Saturnino Abril
b5effd3ea3
fix showing o fpost options for system admin (#2644) 2019-03-21 17:52:36 +08:00
Saturnino Abril
e744083833
remove state.value and rely only on props.value (#2635) 2019-03-20 22:15:01 +08:00
Elias Nahum
f539ddf765
MM-14630 Mark channel as read and viewed when opening brought from the background (#2658) 2019-03-19 19:58:23 -03:00
kosgrz
727465140f [MM-14192] Render hyperlinks in Message Attachment title (#2617) 2019-03-07 09:12:33 -05:00
Yusuke Nemoto
e1e1e7cf53 Highlight CJK mention keywords in sentense (#2590) 2019-03-07 22:04:10 +08:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams (#2625) 2019-03-05 11:56:24 -03:00
Saturnino Abril
2237eb1e60
fix enabling post icon override (#2611) 2019-03-05 19:53:07 +08:00
Saturnino Abril
8a4c6de86f
fix intermittent crash when selecting a link (#2620) 2019-03-05 02:28:40 +08:00
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