Commit Graph

509 Commits

Author SHA1 Message Date
Mattermost Build
19cd3722e5 Fixes for release 1.42 (#5339) (#5340)
* Downgrade MMKV to 0.4.4

* Handle undefined in getMyTeams selector

* Set minimum server version to 5.31.3 and update unsupported URL

(cherry picked from commit 0a2a490e81)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-04-19 11:50:57 -04:00
Mattermost Build
c3569e27a9 Use RNN 7.11.3 (#5317) (#5319) 2021-04-13 21:40:54 -04:00
Mattermost Build
bb0e056fba Update dependencies (#5266) (#5283)
* Update dependencies

* Fix lint, use npm@6

* Fix unit tests

* Dowgrade Fastlane

* Fix Fastlane script

* use android:api-29-node ci image

* Infer gradle json file from apk output folder

* Fastlane to Parse new version of gradle output-metadata.json

(cherry picked from commit f8a0f29237)

Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-04-06 11:27:26 -04:00
Mattermost Build
c16f3b2d8e Bump app version number to 1.42.0 (#5246) (#5247)
(cherry picked from commit 51a2940c41)

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2021-03-26 15:06:45 -07:00
Miguel Alatzar
c416343388 Bump app version number to 1.41.0 (#5203) 2021-03-03 19:52:40 -07:00
Joseph Baylon
5b7f522404 MM-30423 Detox/E2E: Add e2e for MM-T3192, MM-T3215, MM-T3219, MM-T3221, MM-T3256 (#5180)
* MM-30423 Detox/E2E: Add e2e for MM-T3192, MM-T3215, MM-T3219, MM-T3221, MM-T3256

* Update detox/e2e/test/smoke_test/direct_messages.e2e.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Update detox/e2e/test/smoke_test/email_notifications.e2e.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Update detox/e2e/test/smoke_test/email_notifications.e2e.js

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>

* Renamed return object status to userStatus

Co-authored-by: Saturnino Abril <saturnino.abril@gmail.com>
2021-02-23 08:09:47 -08:00
Joseph Baylon
12676d77e5 Detox/E2E: Upgrade detox version (#5165)
* Detox/E2E: Upgrade detox version

* Update detox/package.json
2021-02-15 17:28:41 +08:00
Miguel Alatzar
e4b2183781 [MM-32587] [MM32602] Downgrade react-native-elements (#5156)
* Downgrade react-native-elements

* Trigger Build

* Update package-lock.json
2021-02-05 11:04:16 -07:00
Harrison Healey
63b0e6043f MM-32254 Update CommonMark and fix handling of deeply nested Markdown (#5148)
* MM-32254 Update commonmark.js fork from upstream

* MM-32254 Fix handling of partially rendered Markdown tree
2021-02-01 11:31:05 -07:00
Miguel Alatzar
b4a5b54c16 Bump app version number to 1.40.0 (#5140) 2021-01-26 17:36:47 -07:00
Elias Nahum
a8a4d72075 Upgrade Dependencies (#5103)
* Update fastlane

* Update detox & deps

* Upgrade cocoapods

* Upgrade dependencies
2021-01-13 12:36:31 -07:00
Miguel Alatzar
ff1901eb61 Bump app version number to 1.39.0 (#5084) 2021-01-04 15:34:35 -07:00
Elisabeth Kulzer
8b8cd1ab4d Add check for empty translation source strings (#5044)
* Update sha

* Update check-deps cache

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-01-04 16:05:10 +01: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
Elias Nahum
be75a688de Update Rudder (#5048) 2020-12-18 16:35:13 -03: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
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
Ashish Bhate
1914b770e5 [MM-28845]: Add storybook to mobile repo (#4870)
*Summary*
- This PR adds storybook into the mobile repo, and adds a sample story for the existing "loading" component.
- In the root of the repo run `npm run storybook`. This step automatically scans and loads all stories. A new browser tab will open with the storybook interface. You can configure the storybook host url by updating the .env file in the root of the repo. This might be required if you're using a real device. When running in an emulator, the code tries to use the default network values.
- Then run the usual `npm run android` (or `npm run ios`) and `npm run start` commands
- Storybook has been integrated into the react-native-dev-menu. When the app is running in the emulator press CTRL+M or CMD+M to open the dev menu and select "Storybook". If running on a real device, shaking the device will bring up the react-native dev menu. You can also press d in the terminal where you ran npm run start to get the app running.
- The storybook interface will open in the mobile app. The stories can be controlled either through the desktop browser storybook UI or the mobile browser storybook UI. Both will render the component on the device.

*Ticket Link*
https://mattermost.atlassian.net/browse/MM-28845

*Device Information*
This PR was tested on:
Iphone 11 emulator running ios 13.7
Pixel 3XL emulator running Android 10
2020-11-02 15:41:07 +05:30
Elias Nahum
f0b66cd607 Upgrade Dependencies (#4917)
* Dev dependecies

* upgrade tinycolor2

* upgrade rn-placeholder

* upgrade react-native@0.63.3

* Upgrade react-native-vector-icons

* Upgrade react-native-screens

* Upgrade react-native-safe-area-context

* Upgrade react-native-reanimated

* Upgrade react-native-permissions

* Upgrade react-native-localize

* Upgrade react-native-image-picker

* Upgrade react-native-haptic-feedback

* Upgrade react-native-gesture-handler

* Upgrade react-native-file-viewer

* Upgrade react-native-document-picker

* Upgrade react-native-device-info

* Upgrade react-native-calendars

* Upgrade mime-db

* Upgrade jail-monkey

* Upgrade fuse.js

* Upgrade emoji-regex

* Upgrade deep-equal

* Upgrade @react-navigation

* Upgrade @react-native-community/netinfo

* Upgrade @react-native-community/clipboard

* Upgrade @react-native-community/cameraroll

* Upgrade @react-native-community/async-storage

* Upgrade @sentry/react-native

* Upgrade @types/react-native

* Upgrade jest
2020-10-28 13:24:27 -03:00
Elias Nahum
ccf286f324 Upgrade rudderstack attempt 2 (#4912) 2020-10-21 08:16:52 -03:00
Elias Nahum
30f7dce631 Update rudderStack (#4909) 2020-10-20 10:18:33 -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
0750797f45 Bump app version number to 1.36.0 (#4828) 2020-09-22 08:10:16 -07:00
Miguel Alatzar
337287d69e Bump app version number to 1.35.1 (#4823) 2020-09-21 12:19:02 -07:00
Saturnino Abril
6e03ba8351 reintroduce @testing-library/react-native now with v7 (#4766) 2020-09-15 09:24:54 -07:00
Miguel Alatzar
524609eb36 Update react-native-elements (#4779) 2020-09-08 15:26:35 -07:00
Elisabeth Kulzer
4bcb595e5b Add check for empty translation strings. (#4718)
* Add check for empty translation strings.

* Test

* Update mmjstools

* Resolve conflicts

* Revert translation test.

* Also use fake dir

* Also use fake dir

* Add translation checks to precommit hook. Remove from Makefile. Add to circleci.

* Fix script to keep it consistent.

* Keep consistent
2020-08-29 19:14:17 +02: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
Elias Nahum
e624fa7ecf Update Dependencies (#4735)
* Update rudderstack dependency

* Upgrade sentry dependency

* Upgrade react-native-elements dependency

* Upgrade react-native-elements dependency

* Upgrade react-native-navigation dependency

* Upgrade react-native-permissions dependency

* Upgrade dev dependencies
2020-08-27 14:48:49 -04:00
Elias Nahum
183eec0fad Upgrade depdendencies (#4725)
* @react-navigation/*
* react-native-navigation
* react-native-calendars
* react-native-gesture-handler
* react-native-reanimated
* react-native-safe-area-context
* react-native-screens
* react-native-video
2020-08-25 15:34:18 -04:00
Elias Nahum
9628dc9547 Update dev dependencies & some others (#4720)
* Dev dependencies

* Upgrade async-storage / netinfo / device-info / elements / mmkv dependencies
2020-08-24 21:22:00 -04:00
Elias Nahum
3fce45f308 Upgrade react-native-fast-image, react-native-localize, react-native-vector-icons, react-native-video & dev dependencies (#4698) 2020-08-20 08:13:35 -07: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
Elias Nahum
b84901e0bf Upgrade react-native-permissions dependency (#4693) 2020-08-18 12:41:54 -04:00
Elias Nahum
a909583025 Upgrade react-native-mmkv-storage dependency (#4671) 2020-08-17 20:33:48 -04:00
Elias Nahum
40a264a4de Upgrade react-native-image-picker dependency (#4670) 2020-08-13 20:32:02 -04:00
Elias Nahum
53fa5a1db7 Upgrade react-native-document-picker dependency (#4669) 2020-08-13 17:03:19 -04:00
Elias Nahum
c48ffd0f65 Upgrade react-native-device-info dependency (#4664) 2020-08-13 14:17:27 -04:00
Elias Nahum
27849beed4 Update react-native-elements (#4658) 2020-08-12 11:10:14 -04:00
Elias Nahum
24f6d2df92 Update moment-timezone & react-native-calendars dependency (#4646) 2020-08-06 17:24:47 -04:00
Elias Nahum
9773e321c1 Upgrade fuse.js dependency (#4640) 2020-08-05 12:08:05 -04:00
Elias Nahum
1abdd1be54 Upgrade sentry dependency (#4636) 2020-08-03 21:41:23 -04:00
Elias Nahum
6b7ca4674c Update netinfo dependency and rn to 0.63.2 (#4614) 2020-08-03 10:18:37 -04:00
Elias Nahum
60418d57c7 Update async-storage dependency (#4599) 2020-07-24 10:06:39 -04:00
Miguel Alatzar
7a98260305 Bump app version number to 1.34.0 (#4600) 2020-07-21 11:08:03 -07:00
Elias Nahum
e7e0ca0d5c Update camera-roll dependency (#4595) 2020-07-21 10:08:07 -04: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