Commit graph

636 commits

Author SHA1 Message Date
Miguel Alatzar
53885d2bf9
Bump app build number to 339 (#5086) 2021-01-04 15:45:18 -07:00
Miguel Alatzar
ff1901eb61
Bump app version number to 1.39.0 (#5084) 2021-01-04 15:34:35 -07:00
Elias Nahum
367534df12
Bump app build number to 338 and version to 1.38.1 (#5058)
* Bump app build number to 338

* Bump app version number to 1.38.1

* Update fastlane
2020-12-18 20:59:58 -03:00
Miguel Alatzar
25d5b48db1
Bump app build number to 337 (#5035) 2020-12-11 12:05:55 -07:00
Miguel Alatzar
6ebfe6d1c7
Bump app build number to 336 (#4998) 2020-12-02 14:34:32 -07:00
Miguel Alatzar
16bc98bbce
Bump app build number to 335 (#4973) 2020-11-19 10:20:35 -07:00
Miguel Alatzar
91c08143a8
Bump app version number to 1.38.0 (#4972) 2020-11-19 09:59:46 -07:00
Elias Nahum
b226d451f3
update dependencies (#4958)
* update dependencies

* revert keychain update

* Update dependencies & Fastlane

* set path agnostic for bash in scrips

* Fix open from push notification race

* patch react-native-localize
2020-11-18 19:45:07 -07:00
Elias Nahum
83a157421c
Bump app build number to 334 (#4964) 2020-11-12 21:23:05 -03:00
Elias Nahum
dbd7bc8a51
Gallery Improvements (#4837)
* Open/Close Gallery transitions

* Include postId in file info & disable opening the gallery in some cases

* Add progress bar component

* Transition to gallery based on platform

* Improve getting the filename for non attachments

* Patch RNFetchBlob TS definition

* Add gallery types

* fix unit tests for message and post attachment

* add getLocalPath method

* Add react-native-share dependency

* Re-style gallery footer

* Refactor Gallery screen

* Double tap zoom in/out and translate

* Make android activity "transparent"

* Do not animate to height on dismissing gallery

* Open gallery for file uploads

* Fix borderRadius for gallery action button

* Use progress bar for file uploads

* Replace progress bar for file attachment document

* Upgrade RNN to 7.1.0 to fix share elements transitions

* Fix Gallery unit tests

* translate down when popping screen on iOS

* Swipe, Pan & Tap fixes

* fix gallery footer avatar eslint

* Fix gallery snapshot tests

* Use CompassIcon in Gallery

* Feedback from UX review

* Fix gallery UI for other file types

* Set other file type gallery button to 48pt
2020-11-06 21:17:27 -03:00
Bhargav Sangani
b05b797b06
MM-27354 Progressive image loading (#4945)
* init

* Pick one from mini preview and thumnail URL in file attachment image

* Blur thumbnail mini preview & update testID's

* Set blurRadious based on Platform OS

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-11-06 18:26:45 -03:00
Miguel Alatzar
c70381baf2
Bump app build number to 333 (#4952) 2020-11-05 12:32:22 -07:00
          ​ ⁠  ⁠ Ån̶t̶hia¯₣ab̷r̷ε ⚜
2eaeb4e040
make mattermost resizeable on Android DeX #3427 (#4936)
https://github.com/mattermost/mattermost-mobile/issues/3427
2020-11-02 23:28:12 +01:00
Elias Nahum
4e53683a3a
Bump app build number to 332 (#4933) 2020-10-29 09:16:27 -03:00
Elias Nahum
9940aacad1
MM-29869 Replace radio button Material with Compass icons (#4928) 2020-10-29 07:38:31 -03:00
Elias Nahum
80c655b8a9
Bump Version to 1.37.0 and Build to 331 (#4907)
* Bump app build number to 331

* Bump app version number to 1.37.0

* Update fastlane to 2.164.0
2020-10-20 09:28:56 -03:00
Elias Nahum
043b3a0e8e
Refactor Android Share extension (js) (#4893)
* Refactor Android Share extension (js)

* Feedback review
2020-10-19 21:39:59 -03:00
Elias Nahum
30d4aa2a3e
Build Improvements (#4884)
* Use AppGroupId from Info.plists instead of hardcoded constant

* Update script, ci & Makefile

* Update Cocoapods to 1.9.3

* Split android builds using ABI filters

* Update Fastlane deps & build scripts

* Update CI to use latests scripts

* Display app version & build number in select server screen

* Make generate scripts compatible with node < 12

* Build scripts

* add build script to package.json

* Update to use bundler 2.1.4 and CI with Xcode 12

* Fix script name for build:ios-unsigned

* Fix RN iOS scripts

* Update CI pods-dependencies step

* Add pipefail to android executor

* Update Fastlane

* Fix type in postinstall script

* update android executor and set TERM

* Fix S3 bucket name variable

* Apply suggestions from code review

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Fix master unit tests

* use requireActual in jest setup

* Jest setup to use react instead of React

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-10-15 22:09:36 -03:00
Miguel Alatzar
57d60649f8
[MM-22959] Use Compass icons (#4847)
* Use Compass icons

* Update ChannelInfo and AdvancedSettings

* Fix search modifiers

* Fix Autocomplete item

* Remove VectorIcon component

* Unlink react-native-vector-icons

* Revert ProgressiveImage changes

* Update Mark as Unread icon

* Apply review suggestion

* Replace extension icons

* Update video control button style

* Replace (un)flag with (un)save

* Replace (un)flag with (un)save - take 2

* Use bookmark-outline icon

Co-authored-by: Miguel Alatzar <miguel@Miguels-MacBook-Pro.local>
2020-10-15 15:34:24 -07:00
Miguel Alatzar
4782afc28e
Bump app build number to 330 (#4876) 2020-10-05 13:22:11 -07:00
Miguel Alatzar
ae43ba1187
Emit PASTE_FILES event only from last subscribed input (#4872) 2020-10-05 13:09:31 -07:00
Miguel Alatzar
935e1143b9
Update gradle version (#4874) 2020-10-05 12:31:35 -07:00
Miguel Alatzar
2c7be6f0aa
Bump app build number to 329 (#4864) 2020-10-02 10:51:41 -07:00
Miguel Alatzar
4265db3ecd
Bump app build number to 328 (#4848) 2020-09-25 14:51:01 -07:00
Miguel Alatzar
816209b739
Bump app build number to 327 (#4829) 2020-09-22 10:46:47 -07:00
Miguel Alatzar
0750797f45
Bump app version number to 1.36.0 (#4828) 2020-09-22 08:10:16 -07:00
Miguel Alatzar
8abee342ff
Bump app build number to 326 (#4825) 2020-09-21 12:41:20 -07:00
Miguel Alatzar
337287d69e
Bump app version number to 1.35.1 (#4823) 2020-09-21 12:19:02 -07:00
Elias Nahum
1b38cafee6
Bump app build number to 325 (#4802) 2020-09-10 16:55:32 -03:00
Elias Nahum
d44d3bcbe6
Bump app build number to 324 (#4799) 2020-09-10 15:32:59 -03:00
Elias Nahum
bab1cc0601
AppConfig setting to control the default request timeout (#4797)
* AppConfig setting to control the default request timeout

* Set default timeout to 10s
2020-09-10 15:12:00 -03:00
Miguel Alatzar
cab0b4fafa
Bump app build number to 323 (#4791) 2020-09-09 13:38:48 -03:00
Miguel Alatzar
40fd9552d5
Bump app build number to 322 (#4787) 2020-09-08 21:47:42 -07:00
Saturnino Abril
f05faaa949
E2E: Initial Detox setup for Mobile UI automation (#4535)
* initial Detox setup for mobile UI automation

* fix iOS allow permission on opening the app, add npm script to root folder, fix test when using longer site URL and add detox dependency to root for android build dependency

* remove detox proguardFile

* update packages and emulator

* change folder build on local and CI

* add test to post a message, ability to have test in isolation, server API commands, server config, dependency updates and update folder structure

* update snapshot

* update detox and do clean up

* update dependencies
2020-08-29 07:18:41 +08:00
Miguel Alatzar
619153ebe0
Bump app build number to 321 (#4749) 2020-08-28 11:27:13 -07:00
Elias Nahum
9aa68bb346
Bump app build number to 320 (#4740) 2020-08-27 12:44:29 -04:00
Miguel Alatzar
68457c5e7e
Use substring over replaceFirst (#4707) 2020-08-20 14:55:09 -04:00
Elias Nahum
3e8e78c5fc
Bump Version to 1.35.0 and Build to 319 (#4699)
* Bump app build number to 319

* Bump app version number to 1.35.0
2020-08-18 20:09:15 -04:00
Miguel Alatzar
66a8f8a55f
Send event to JS only if React initialized (#4668) 2020-08-13 11:19:59 -07:00
Miguel Alatzar
fbc400bcff
Bump app build number to 318 (#4661) 2020-08-11 12:07:26 -07:00
Elias Nahum
9fe6a2f72c
Bump app build number to 317 (#4652) 2020-08-07 13:50:56 -04:00
Miguel Alatzar
086d1bddea
Bump app build number to 316 (#4630) 2020-07-31 00:47:49 -04:00
Miguel Alatzar
dcc3c8031e
Bump app build number to 315 (#4627) 2020-07-30 13:10:25 -07:00
Miguel Alatzar
ef7db846f7
Bump app build number to 314 (#4615) 2020-07-24 10:55:36 -07:00
Miguel Alatzar
776b58c413
Bump app build number to 313 (#4604) 2020-07-21 14:53:30 -07:00
Miguel Alatzar
61ec5cb8a8
Bump app build number to 312 (#4602) 2020-07-21 12:20:05 -07:00
Miguel Alatzar
7a98260305
Bump app version number to 1.34.0 (#4600) 2020-07-21 11:08:03 -07:00
Elias Nahum
a99e938e9c
MM-26817 Upgrade to RN 0.63 (#4566)
* Upgrade to RN 0.63

* Bump to RN 0.63.1

* Fix RN patch

* Use JSC Intl version

* Update android/app/build.gradle

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>

* Fix Android external storage permission

* Fix emoji imageUrl when no server url is present

* Patch react-native-image-picker

* Allow to post attachment only messages

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-07-20 18:08:11 -04:00
Elias Nahum
9c9aee69f4
Bump Version to 1.33.1 and build to 311 (#4576)
* Bump app build number to 311

* Bump app version number to 1.33.1
2020-07-15 15:56:17 -04:00
Elias Nahum
6ebcfaa4cd
Bump app build number to 310 (#4560) 2020-07-10 16:40:35 -04:00
sowmiyamuthuraman
e754e861a2
Show toast when pressing back button on channel screen (#4384)
* MM-24328: Show Press again to exit toast when back button on Channel screeen is pressed.

* Fix feedbacks.

* Handle back press only for the Channel screen.

* MM-24328: Add a back press handler to share activity.

* Update the toast message as Press back again to exit.
2020-07-08 18:01:13 -04:00
Elias Nahum
2bf65491be
Bump app build number to 309 (#4549) 2020-07-08 14:06:29 -04:00
Elias Nahum
aa9d468c5e
Bump Version to 1.33.0 and build number to 308 (#4509)
* Bump app build number to 308

* Bump app version number to 1.33.0
2020-06-29 17:55:00 -07:00
Elias Nahum
06f1a2eef0
Bump app build number to 307 (#4500) 2020-06-26 21:53:56 -04:00
Elias Nahum
48617a7ab2
Bump Version to 1.32.2 and Build number to 306 (#4494)
* Bump app version number to 1.32.2

* Bump app build number to 306
2020-06-26 16:42:56 -04:00
Miguel Alatzar
4dff2cc80c
[MM-25781] Don't retry nor use response message on 401 (#4433)
* Don't retry nor use response message on 401

* Explicitly call contentHandler on retry exhaustion

* Handle all non 200 responses for id_loaded notifications

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-06-25 12:04:10 -07:00
Miguel Alatzar
9df903fd60
Bump build number to 305 (#4477) 2020-06-23 18:49:30 -07:00
Miguel Alatzar
dbe9b4ee35
Bump app build number to 304 (#4468) 2020-06-22 15:37:32 -07:00
Miguel Alatzar
9d91eabe9a
Bump build number (#4459) 2020-06-19 16:51:39 -07:00
Miguel Alatzar
f6611f7093
[MM-26318] Improve cold start and channel switching times (#4452)
* Remove withEncryption

* Remove warm up

* Downgrade react-native-keychain
2020-06-19 16:12:15 -07:00
Elias Nahum
b85766ec31
MM-25931 Handle incoming session expired push notification (#4417) 2020-06-17 21:30:19 -04:00
Elias Nahum
4cd8d2ed5e
Bump app build number to 302 (#4425) 2020-06-15 14:15:06 -04:00
Miguel Alatzar
fc7083897c
Bump app build number to 301 (#4420) 2020-06-12 13:19:16 -07:00
Miguel Alatzar
1bc7ed1cd6
Bump app build number to 300 (#4414) 2020-06-11 13:24:10 -07:00
Elias Nahum
6de0a30f70
Bump app build number to 299 (#4404) 2020-06-09 16:04:30 -04:00
Amit Uttam
e59a53dde0
MM-25849 Apply backoff & retry logic only for ID-loaded push notifications (#4391)
Changes in #4302 piggy-backed on the existing [exception catching logic](https://github.com/mattermost/mattermost-mobile/pull/4302/files#diff-266cddcf80a6bc300b40cc922e7a659bL101-L102) to retry failed request (status != 200). However, the change applied retries for any type of push notification.
2020-06-08 12:47:09 -03:00
Miguel Alatzar
b60ab264f4
Bump app build number to 298 (#4382) 2020-06-03 10:29:41 -07:00
Elias Nahum
65bc1f7fab
Bump app build number to 297 (#4366) 2020-05-28 13:33:31 -04:00
Elias Nahum
4d54ce292f
Bump app build number to 296 (#4360) 2020-05-27 15:35:58 -04:00
Miguel Alatzar
0b4a0924c8
Bump app build number to 295 (#4335) 2020-05-22 10:23:19 -07:00
Miguel Alatzar
904f45d511
Bump app build number to 294 (#4320) 2020-05-21 09:29:35 -07:00
Miguel Alatzar
a6cfe9ab5f
Bump app version number to 1.32.0 (#4318) 2020-05-21 09:04:25 -07:00
Amit Uttam
ea0f8ab5f0
MM-22181 Backoff retries for ID-loaded push notification messages (#4302)
* MM-22181 Backoff retries for ID-loaded push notification messages

Fibonacci backoffs. 6 attempts in ~20 seconds, not including response latency for each failure.

0 seconds to attempt 1 (original try)
1 seconds to attempt 2
2 seconds to attempt 3
3 seconds to attempt 4
5 seconds to attempt 5
8 seconds to attempt 6

* PR review: Reset re-request counter when server call succeeds

* PR Review: Localize scope of recursion counter

This handles scenario where multiple notification requests are being made at the same time for multiple messages. Counter will be isolated for each fetch request.

* PR Review: Remove unnecessary class variable

* Trigger Build

Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2020-05-19 10:48:55 -07:00
Elias Nahum
d3a6e166ad
MM-15758 Update dependencies including Fastlane (#4272)
* Update dependencies including Fastlane and disable Flipper on iOS

* Remove EventEmitter for previous doc-viewer

* Fix android crash when setting more channels buttons

* Downgrade fuse.js

* Upgrade deps to latest

* Update Podfile.lock

* Downgrade RNN to 6.4.0

* QA Review #2

* Upgrade fuse.js to 6.0.0
2020-05-18 11:24:47 -07:00
Amit Uttam
1f59cbfa28
Bump app build number to 293 (#4297) 2020-05-13 19:37:28 -03:00
Elias Nahum
36e55c95a2
MM-23570 Migrate from Segment to Rudder (#4293)
* Replace Segment with Rudder (ios not working)

* Update @assets reference and fix tests
2020-05-13 16:54:07 -04:00
Amit Uttam
79c09d4ac0
Bump app build number to 292 (#4290) 2020-05-12 09:43:41 -03:00
Miguel Alatzar
c4cdfa61db
Bump app build number to 291 (#4255) 2020-04-30 12:18:28 -07:00
Miguel Alatzar
1316bee403
Bump app build number to 290 (#4247) 2020-04-29 12:04:10 -07:00
Miguel Alatzar
8226b4730c
Bump app build number to 289 (#4242) 2020-04-27 15:35:13 -07:00
Amit Uttam
520ddb37ce
Bump app version number to 1.31.0 (#4234) 2020-04-27 11:31:53 -03:00
Amit Uttam
feb370f4c7
Bump app build number to 288 (#4232) 2020-04-27 11:16:07 -03:00
Miguel Alatzar
1586b0fb6e
Bump app build number to 287 (#4229) 2020-04-24 11:47:09 -07:00
Elias Nahum
a4e87a0e26
Bump app build number to 286 and version to 1.30.1 (#4221)
* Bump app build number to 286

* Bump app version number to 1.30.1
2020-04-23 13:36:57 -04:00
Miguel Alatzar
f85e198ba2
Bump app build number to 285 (#4167) 2020-04-16 19:28:28 -07:00
Elias Nahum
c35a34107a
Bump app build number to 284 (#4162) 2020-04-16 16:39:58 -04:00
Elias Nahum
b025ed0f01
Bump app build number to 283 (#4159) 2020-04-16 08:59:52 -04:00
Elias Nahum
aaa571db32
Upgrade to RN 0.62.2 (#4093)
* Upgrade to RN 0.62.0

* Update packager module paths

* Fix Android PasteableInput

* Fix regression on Android share extension credentials needed

* Update android/app/src/main/java/com/mattermost/rnbeta/RNPasteableEditTextOnPasteListener.java

* Reject commit if TSC check fails and Fix small eslint issues automatically

* Use super.getExportedCustomBubblingEventTypeConstants in RNPasteableTextInputManager

* Update to rn 0.62.2

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-04-14 16:39:51 -04:00
Elias Nahum
795091983c
Bump app build number to 282 (#4154) 2020-04-14 15:56:35 -04:00
Elias Nahum
4f04216c9f
Bump app build number to 281 (#4148) 2020-04-13 19:25:59 -04:00
Miguel Alatzar
b450c4ac9a
Bump app build number to 280 (#4139) 2020-04-09 15:06:41 -07:00
Miguel Alatzar
ee21ff8d81
Bump app build number to 279 (#4114) 2020-04-02 11:50:10 -07:00
Miguel Alatzar
1079498461
[MM-23708] Send HW key pressed event only when a HW keyboard is connected (#4100)
* Check if HW keyboard is connected

* Call super

* Fix double new line insert
2020-03-31 21:43:18 -03:00
Amit Uttam
2c031c51b2
MM-23687 Fix Android Share Extension (currently can't post) (#4095)
Fixes regression introduced in f5369ac9c5
2020-03-30 16:36:01 -03:00
Elias Nahum
7d8a286192
Bump app build number to 278 (#4081)
* Update mattermost-redux

* Update Fastlane

* Bump app build number to 278
2020-03-26 20:27:45 -03:00
Elias Nahum
0631623b13
Bump version to 1.30 and Build number to 277 (#4051)
* Bump app version number to 1.30.0

* Bump app build number to 277
2020-03-19 14:23:18 -03:00
Amit Uttam
f5369ac9c5
MM-21582 Parse payload safely to report Sentry exception with needed info (#4047)
Users are hitting legitimate exceptions when using the Android Share extension.

However, in some cases where the channel ID isn't available from the user's actions that triggered the exception, the Sentry error reporting message payload can't be successfully formed and it bombs.

This commit allows Sentry's payload to be successfully formed, so that we can now see the actual underlying exception (with its associated user data) in Sentry. The single, catch-all `NoSuchKeyException` should now stop, and be replaced by a few new Sentry exception reports to analyze and tackle individually.
2020-03-19 14:16:16 -03:00
Elias Nahum
0f3ea72556
Bump app build number to 276 (#4028) 2020-03-11 18:25:56 -03:00
Elias Nahum
0a98672e23
Bump app build number to 275 (#4022) 2020-03-09 17:44:41 -03:00
Elias Nahum
5f74491ea8
Upgrade Navigation library (#3997)
* Upgrade Navigation library

* Feedback review on Navigation Library

* Fix select server background color

* Fix iPhone 11 and 11 Pro Max navbar height

* Fix background color on Select Server

* Upgrade nav lib to 6.1.0

* Apply patch to nav lib

* Upgrade RNN to 6.1.1
2020-03-09 12:50:42 -07:00