Commit graph

316 commits

Author SHA1 Message Date
Elias Nahum
5d83eef111
Bump app version number to 1.21.0 (#2894) 2019-06-18 16:09:09 -04:00
Miguel Alatzar
a6aa4dd2cc
Update react-native-device-info and fix status value: (#2892) 2019-06-17 20:22:54 -07:00
Elias Nahum
6546dfdfd2
Set post list data and timestamp based on the user timezone if available (#2888) 2019-06-17 15:24:28 -04:00
Eli Yukelzon
056d5a91b7 MM-15486 - Archived channels appear incorrectly on mobile (#2882)
* properly separate archived channels from 'other'

* make sure fetch is performed to display full list

* reverted unneeded change

* corrected display behaviour

* code cleanup

* redux commit reference updated
2019-06-17 10:22:36 -04:00
Miguel Alatzar
270d148413 Update react-native-notifications (#2881) 2019-06-15 14:18:33 -04:00
Elias Nahum
13d06a4588
MM-16280 Fix when post fail to send (#2880) 2019-06-12 16:20:14 -04:00
Tsilavina Razafinirina
f6a73e2f2c MM-11287 Add support for plus sign and period/dot in custom URL schemes (#9155) (#2841) 2019-06-03 11:23:15 -04:00
Elias Nahum
1e8a1307af
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:33:56 -04:00
Elias Nahum
de37a2aa7a
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:18:43 -04:00
Elias Nahum
0d38b22a51
MM-15667 if post was removed exclude it from postsInChannel (#2831) 2019-05-24 15:35:28 -04:00
Miguel Alatzar
a8eb25c965 [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:02 -04:00
Elias Nahum
6c1b366680 update react-native-device-info crash fix (#2824) 2019-05-23 09:44:38 -07:00
Elias Nahum
2f6fb08e44
Bump Version & Build number (#2818)
* Bump app version number to 1.20.0

* Bump app build number to 194

* Update fastlane
2019-05-22 12:05:05 -04:00
Miguel Alatzar
152e1fe264 Upgrade react-native-sentry (#2815) 2019-05-22 10:17:24 -04:00
Saturnino Abril
d498f15040
Update mmjstool commit with fix on newline to end of file (#2814)
* update mmjstool commit with fix on newline to end of file

* explicitly add commit to package.json
2019-05-22 16:50:12 +08:00
Miguel Alatzar
ccadc551ce
Update mattermost-redux (#2813) 2019-05-21 13:04:56 -07:00
Elias Nahum
f7f56e958b
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:02:00 -04: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
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
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
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
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
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
Elias Nahum
746414b3d3
Fixes master branch from crashing when building in release mode (#2767) 2019-05-03 18:26:38 -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
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads (#2715)
* Allow only for jpeg, png, and bmp profile image uploads

* Add file type if missing and update error id

* Update mattermost-redux commit hash

* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Saturnino Abril
e3b4191af9
[MM-14619] Remove Client4.online and related setOnline function (#2718)
* remove Client4.online and related setOnline function

* update mattermost-redux commit to 16a39c671193db23006d848c7866adbb5cae6901
2019-04-24 00:34:34 +08:00
Miguel Alatzar
1a9b34f618
[MM-14699] Update image cache manager to handle correct file extensions (#2701)
* Update image cache manager to handle correct file extensions

* Use RNFetchBlob.fs.existsWithDiffExt to find cached images with
  extensions other than the default .png

* Add package-lock.json

* Use app/util/file's getExtensionFromMime

* Define DEFAULT_MIME_TYPE in image_cache_manager.js
2019-04-22 19:19:21 -07:00
Jesús Espino
c769b536ae
Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user (#2674)
* Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user

* upgrading to the last mattermost-redux version
2019-04-16 23:34:02 +02:00
Harrison Healey
9c53852128
Reorganize post state and make postsInChannel into a sparse array (#2693)
* MM-13957 Reorganize post actions (#2553)

* MM-13957 Reorganize post actions

* Update mattermost-redux

* Update mattermost-redux

* Update package-lock.json to resolve build issues

* MM-13958/MM-13959 Make postsInChannel into a sparse array (#2600)

* MM-13960 Re-add combined system messages (#2637)

* MM-13960 Re-add combined system messages

* Pass entire post to PostOptions

* Update mattermost-redux

* Update mattermost-redux

* Address feedback

* Update mattermost-redux
2019-04-15 17:20:23 -04:00
Carlos Tadeu Panato Junior
9ae71cf393
add mmjstool as dev dep (#2707)
* add mmjstool as dev dep

* run the mmjstool to fix issues

* add extra line

* update makefile

* update per feedback

* revert strings per request
2019-04-09 15:35:22 +02:00
Miguel Alatzar
ae1b81126c [MM-14830] Check for null pushNotification prior to calling sendNotificationScheduled on it (#2702)
* Update react-native-notifications dependency commit hash

* Add package-lock.json
2019-04-08 08:32:52 -04:00
Saturnino Abril
26857bdae1
update commit of commonmark.js that fixes "blank spaces break markdown table" (#2694) 2019-04-05 00:12:45 +08:00
Christopher Speller
ec9e46fb62
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 16:59:45 -07:00
Harshil Sharma
6cb2bdbb0f #MI-372 updated mattermost-redux commit ID to use the latest changes (#2670)
* #MI-372 updated mattermost-redux commit ID to use the latest changes

* Updated commit ID in package lock as well
2019-03-26 18:37:50 -03:00
Elias Nahum
d2d1af2584
Transfer dependencies from enahum to mattermost (#2666) 2019-03-23 12:30:09 -03:00
Elias Nahum
ae66a81e10 MM-14154 Update react-native-image-gallery (#2655) 2019-03-20 14:12:20 +05:30
Elias Nahum
e053219fb0 MM-13795 Detect timezone updates on Android (#2660) 2019-03-19 18:10:45 -07:00
Saturnino Abril
914e24dccd
[MM-14527] Fix default behavior when enabling/disabling email batching (#2642)
* fix default behavior when enabling/disabling email batching

* update redux commit to master - 98856a3
2019-03-14 01:57:49 +08:00
Elias Nahum
b0a18025c4
Wait for VPN connection only when appconfig flag is set (#2627) 2019-03-05 12:01:43 -03:00
Saturnino Abril
8798179618
fix undefined site URL when copying permalink (#2629) 2019-03-05 19:38:01 +08:00
Elias Nahum
6e7a49cccd Fix crash when fresh install android when getting the fcm token (#2608) 2019-02-28 11:16:16 -08:00
Elias Nahum
ad5d0adeff Handle pending posts when dispatching RECEIVED_NEW_POST (#2606) 2019-02-28 10:37:09 -05:00
Elias Nahum
b91ad11fad
Update sentry to fix android build (#2603) 2019-02-27 16:42:38 -03:00
Miguel Alatzar
d8146ca41e
Use forked react-native-navigation with v1 patch (#2596) 2019-02-26 12:38:16 -08:00