Commit graph

1333 commits

Author SHA1 Message Date
Elias Nahum
a95fcb3847
MM-16061 Keep unread channels in place on Tablets (#2865) 2019-06-06 15:16:47 -04:00
Elias Nahum
ffe5a89a46
Show broken image for inline images without dimensions (#2868) 2019-06-06 15:15:09 -04:00
Elias Nahum
f76bd73c0b Fix image preview width on tablets (#2867) 2019-06-06 21:04:36 +08:00
Elias Nahum
a05d11635e
Fix file upload not completing (#2866)
* Fix file upload not completing

* Update snapshots
2019-06-06 08:39:57 -04:00
Elias Nahum
ddbc89bb9a
MM-16070 Fix channel sidebar state while filtering (#2864) 2019-06-05 19:34:17 -04:00
Elias Nahum
151a304857
Fix opengraph image on tablet to account for the sidebar (#2863) 2019-06-05 17:59:27 -04:00
Elias Nahum
2a443b35f5
MM-15643 Fix race condition to prompt for passcode and (#2862)
detect if passcode has been removed while the app in the background
2019-06-05 11:08:35 -04:00
Elias Nahum
2a8cf194cb
MM-16013 make paperplain animation faster (#2860) 2019-06-05 11:07:27 -04:00
Saturnino Abril
0b8eb7aac6 fix server version for Android telemetry (#2857) 2019-06-03 09:03:18 -07:00
Elias Nahum
f9d7f74e38
Update netInfo to check for internet connectivity (#2850)
* Update netInfo to check for internet connectivity instead of using apple.com as a reference

* Fix network indicator position on tablets
2019-05-31 13:34:42 -04:00
Elias Nahum
ad0c3a5ea2 MM-15912 Fix uploads stuck at 100% (#2847) 2019-05-30 11:57:45 -07:00
Harrison Healey
163f0b7fdf MM-15643 Better close app when checking for pin code (#2846) 2019-05-30 11:47:15 -07:00
Harrison Healey
64fbff6e71
MM-15643 Send user to settings when passcode is required (#2836)
* MM-15643 Send user to settings when passcode is required

* Allow access to the managed config in the iOS extensions
2019-05-27 19:39:43 -04:00
Elias Nahum
2c7116bc7f
Fix autocomplete showing behind the keyboard on iOS and not working on Android (#2830)
* Fix autocomplete showing behind the keyboard on iOS and not working on Android

* Unbundle config for Android

* Dismiss keyboard on post long press, fix scroll to bottom on new message and update tests

* Add a timeout before scrolling to give time to render the last post

* Fix crash on Android
2019-05-27 19:21:46 -04:00
Miguel Alatzar
ce733903b6
Add unit test for PostBody's measurePost (#2833) 2019-05-25 11:59:32 -04:00
Miguel Alatzar
70218d2173 Allow updating of isLongPost after editing message (#2829) 2019-05-24 14:50:30 -07:00
Miguel Alatzar
e1c5536da8 [MM 15552] Determine number of placeholder rows from height (#2827)
* Calculate maxRows in ChannelLoader component

* Update rn-placeholder

* Fix style check
2019-05-24 12:01:12 -04:00
Elias Nahum
966db803ff Allow drawer pan responder when switching teams (#2823) 2019-05-23 09:01:39 -07:00
Harrison Healey
ac29021c88
MM-15582 Don't show forgot password link without email/username login (#2811) 2019-05-22 11:55:55 -04:00
Elias Nahum
0eda4f49a3
Fix code so it can be parsed by mmjstool (#2816) 2019-05-22 09:32:14 -04:00
Miguel Alatzar
c617f96162 Allow flagging of read-only channel posts (#2801) 2019-05-21 09:12:24 -07:00
Harrison Healey
474d6a0ff2 MM-14802 Add autocorrect when editing a post (#2810) 2019-05-21 08:51:42 -07:00
Elias Nahum
8676d063f2
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799)
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard

* Fix tests

* feedback review

* add new line at the end of file

* feedback review and added todo list

* Track interactive dismiss keyboard and set scrollview bounds natively

* Fix snapshots

* Fastlane default to current branch when no BRANCH_TO_BUILD is set

* Set NODE_OPTIONS in ios build script

* Rebind scrollview when channel gets first set of posts

* Keep scrolling momentum on keyboard close

* Update react-native-keyboard-tracking-view

* Fix ScrollView offset with keyboard-tracking

* Fix offset while dragging the keyboard

* Allow action on channel drawer on tablets

* Fix typo

Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>

* Fix indentation
2019-05-20 12:04:18 -04:00
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets (#2793)
* Keep the channel drawer opened on tablets

* update en.json after running mmjstool

* Set the channel drawer to width 220

* feedback review

* PM Review

* Fix snapshots
2019-05-16 20:40:32 -04:00
Elias Nahum
d0071c21b0 MM-15282 Fix cutoff placeholder on Android (#2798)
* MM-15282 Fix cutoff placeholder on Android

* Feedback review
2019-05-16 17:35:09 -07:00
Elias Nahum
bbfd6e820f
Fix select default channel (#2800)
* Fix select default channel

* use utility with channels in team object

* feedback review

* update mattermost-redux
2019-05-16 20:02:19 -04:00
Elias Nahum
013579c69f MM-15481 close post menu when replying to a message (#2797) 2019-05-16 16:25:48 -07:00
Miguel de la Cruz
35e4a2b73a
[MM-14751] Take group_constrained into account when adding users to channels (#2737)
* [MM-14751] Take group_constrained into account when adding users to channels

* Pass current channel properties instead of the complete object

* Point package.json to new mattermost-redux
2019-05-16 10:20:00 +01:00
Martin Kraft
5f7ab2bf15 MM-15528: Updates to channel info for group-constrained channels. (#2786)
* MM-15528: Adds new group-managed text to channel info header.

* MM-15528: Hides 'Add Members' link if group-constrained.

* MM-15528: Sets member list to view-only if channel is group-constrained.

* Update app/screens/channel_members/index.js

Co-Authored-By: Harrison Healey <harrisonmhealey@gmail.com>
2019-05-13 17:14:47 -04:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies (#2777)
* Upgrade to RN 0.59.6 and dependencies

* Remove channel loader unused style

* Update to the latest netInfo that fixes a crash

* Do not set default timezone with moment

* Use RN 0.59.8
2019-05-13 13:33:18 -04:00
scott lee davis
6cf8d1a9e8 MM-15442 Filtered list not showing bot account icon (#2787)
* handle channel.isBot undefined state gracefully

* Use Boolean for is isBot check

Co-Authored-By: Christopher Speller <crspeller@gmail.com>
2019-05-13 08:45:51 -07:00
Jason Blais
d51d4e4c9c Update help text for at-here, at-channel, at-all (#2790)
* Update help text for at-here, at-channel, at-all

https://community.mattermost.com/core/pl/kqmabdzqb3df7xx5xjsaosozir

* Update at_mention.js
2019-05-13 11:13:39 -04:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
Miguel Alatzar
c91bf75b09
[MM-14887] Include all png, jpeg, and bmp MIME types (#2781)
* Include all png, jpeg, and bmp MIME types

* Update snapshot
2019-05-09 14:18:24 -07:00
Saturnino Abril
c450c530a7 add lastPostIndex props to Thread and Permalink, and add markers for those screens (#2780) 2019-05-09 07:39:58 -07:00
Miguel Alatzar
1a81daaa37
[MM-15379] Avoid possible reading of .name on undefined (#2778)
* Avoid possible reading of property on undefined

* Add unit test for handleSelectChannelByName

* Update mattermost-redux hash
2019-05-08 13:16:03 -07:00
Sergey Zhukov
7eeda159db Removed @babel/polyfill (#2776) 2019-05-08 15:00:08 -04:00
scott lee davis
b819867b50 MM-15228 consecutive bot posts maintain the profile image (#2746)
* do not group consecutive bot posts

* fixes from make check-style
2019-05-08 09:38:18 -07:00
Saturnino Abril
e086d66ec2
[MM-13955] Add telemetry for Android (#2719)
* add markers for Android profiling

* update per comments

* Remove beta build flag

* update per comment, latest change on telemetry server and others

* rebase and fix merge conflicts, and update per comments

* update commit hash of mattermost-redux
2019-05-08 00:23:59 +08:00
Elias Nahum
5ce9208d32 MM-14958 Scroll to bottom when posting a new message (#2761) 2019-05-07 13:28:16 +05:30
Elias Nahum
a16c98b34e MM-15428 Return empty object for native managed configuration when not set (#2770) 2019-05-06 09:20:08 -07:00
Elias Nahum
7e70020332 MM-15428 Fix iOS when managed config is not set (#2768) 2019-05-03 20:18:41 -07:00
Elias Nahum
08df256c1d MM-14921 Fix iPad layout including safeAreaInsets (#2748)
* MM-14780 and MM-14921 Fix iPad layout including safeAreaInsets

* Fix unit tests
2019-05-03 17:42:32 -04:00
Miguel Alatzar
d213565ebb
Use numbered capture over named capture (#2765) 2019-05-03 13:18:41 -07:00
Miguel Alatzar
19c493ff6e
[MM-15401] Fix setting of extension when caching files (#2762)
* Get extension from Content-Disposition first

* User ImageCacheManager.cache over getCacheFile

* Add unit tests for ImageCacheManager.getCacheFile

* Add unit tests for ImageCacheManager.cache

* Use exports and require to be able to mock isDownloading

* Chain mockReturnValueOnce calls

* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00
Elias Nahum
6eeb830662
Use of cached managed config in components (#2758) 2019-05-01 18:34:09 -04:00
Harrison Healey
1173ca3d97
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:34:45 -04:00
Joram Wilander
df2ecf3409
Add native module to reset TextInput to fix bad cursors in some Android keyboards (#2753) 2019-05-01 09:27:21 -04:00
scott lee davis
5a70bedcbe MM-15161 show icon for bot instead of system icon in ephemeral post (#2740)
* show icon for bot instead of system icon in ephemeral post

* added check for if user is null
2019-05-01 09:08:50 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name (#2754) 2019-04-30 11:12:28 -04:00