Commit graph

2244 commits

Author SHA1 Message Date
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
Elias Nahum
57a117add0 MM-15427 Google Play 64-bit requirement compliance (#2792) 2019-05-16 16:15:08 -07:00
Joram Wilander
76191be193 Update rnfetchblob (#2802) 2019-05-16 13:44:22 -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
Elias Nahum
5bf96272ae
Notification receipt delivery for Android and iOS (#2755)
* Notification receipt delivery for Android and iOS

* Update Fastlane with iOS notification service extension

* User JSONObject to build response
2019-05-15 12:45:26 -04:00
amyblais
b746a170a7 v1.19 Changelog (#2720)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-Authored-By: amyblais <amy_blais@hotmail.com>

* Update CHANGELOG.md

Co-Authored-By: amyblais <amy_blais@hotmail.com>
2019-05-15 08:33:23 -04:00
Miguel Alatzar
7912b4df4d
Bump app build number to 193 (#2794) 2019-05-13 15:24:48 -07: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
Elias Nahum
87ee3c893e MM-15532 properly mark channel as read when reading the channel in another client (#2789) 2019-05-13 12:20:27 -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
Elias Nahum
a44fea29c0
Update fastlane iOS beta tester link (#2785) 2019-05-10 18:50:36 -04:00
Miguel Alatzar
27fe5e5c1d
Bump app build number to 192 (#2784) 2019-05-10 10:26:25 -07:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined (#2783) 2019-05-10 09:34:23 -07:00
Miguel Alatzar
1d6dccf0a5
Update react-native-fetch-blob dependency to use okhttp3 v3.13.1 (#2782) 2019-05-09 14:50:20 -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
Joram Wilander
189d2eb607 Update mattermost-redux (#2775) 2019-05-07 15:52:11 -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
Miguel Alatzar
963adcdc9f
Update gems (#2773) 2019-05-06 15:52:27 -07:00
Miguel Alatzar
35f7829d6c
Bump app build number to 191 (#2771) 2019-05-06 14:25:58 -07:00
Elias Nahum
a16c98b34e MM-15428 Return empty object for native managed configuration when not set (#2770) 2019-05-06 09:20:08 -07:00
Miguel Alatzar
2577c5551f
Bump app build number to 190 (#2769) 2019-05-03 21:27:18 -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
746414b3d3
Fixes master branch from crashing when building in release mode (#2767) 2019-05-03 18:26:38 -04: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
ea0468cb83
Bump app build number to 189 (#2764) 2019-05-03 10:38:47 -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
Hanzei
c3cc1ee8c6 Remove outdated information from contributing file (#2759) 2019-05-02 08:25:41 -04:00
Elias Nahum
6eeb830662
Use of cached managed config in components (#2758) 2019-05-01 18:34:09 -04:00
Harrison Healey
0708a53d09
MM-15284 Disable allowBackup on Android (#2756) 2019-05-01 09:39:06 -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
fee9a96a11 MM-14885 Android use sender_name in push notifications (#2747) 2019-04-30 15:33:01 -07:00
Mohammad Parvin
46e6a14c73 Allow user to install mattermost on sd card (#2731)
Cannot install Mattermost when there is no enough space in internal memory, So when add this line
android:installLocation="auto" 
to the manifest file user can install Mattermost on the sd card.
https://developer.android.com/guide/topics/data/install-location
2019-04-30 16:45:18 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name (#2754) 2019-04-30 11:12:28 -04:00
Miguel Alatzar
c87845dee8
[MM-14777] Remove post for user after user deletes it (#2745)
* Remove post after delete

* Add unit test

* Fix check-style errors
2019-04-29 17:07:30 -07:00
Elias Nahum
412a009965 Remove the RN bridge from MattermostManaged (#2741)
* Remove the RN bridge from MattermostManaged

* Fix NativeEventEmitter

* Optimize for zero listeners
2019-04-29 16:24:04 -04:00
Courtney Pattison
ce5c30e9ca [MM-9454] Added fade to send button (#2677)
* [MM-9454] Added jest-enzyme to devDependencies

* [MM-9454] Refactored SendButton as component

* [MM-9454] Added fade to SendButton

* [MM-9454] Changed Fade to PureComponent
2019-04-29 07:54:00 -07:00
kmandagie
b3a586fd57 [MM-12599] Implement assets for Adaptive icons (#2663) 2019-04-26 13:08:15 -07:00
Miguel Alatzar
4faa211edb
Bump app build number to 188 (#2744) 2019-04-26 12:23:17 -07:00
Miguel Alatzar
214ea72666
Bump app version number to 1.19.0 (#2743) 2019-04-26 12:15:57 -07:00