Commit graph

686 commits

Author SHA1 Message Date
Elias Nahum
fdf93ae0c5
MM-37674 Fix android push notification crash (#5601) 2021-08-06 09:00:14 -04:00
Elias Nahum
813af2199d
Bump app build number to 366 (#5584) 2021-07-30 10:47:15 -04:00
Elias Nahum
f12987935c
Bump version to 1.46.0 (365) (#5569)
* Bump app build number to  365

* Bump app version number to  1.46.0
2021-07-24 21:37:28 -04:00
Elias Nahum
1be1278087
Bump Version to 1.45.1 and Build to 364 (#5558)
* Bump app build number to  364

* Bump app version number to  1.45.1
2021-07-20 11:58:42 -04:00
Elias Nahum
ba78bc9d00
Properly group Android push notifications by channel (#5548) 2021-07-20 11:36:42 -04:00
Elias Nahum
d7cd660ab7
Bump app build number to 363 (#5537) 2021-07-12 20:07:04 -04:00
Elias Nahum
78156ee75b
1.45 Release testing bug fixes (#5529)
* MM-36908 display unicode emoji in text field after selecting from autocomple

* MM-36935 Fix android crash when ammending search in Sidebar Jump to

* MM-36929 & MM-36928 fix notification badge resetting on new notification

* MM-36920 Fix android push notification issues

* MM-36922 Edit profile image

* Fix crash when opening Android test notification
2021-07-12 16:01:37 -04:00
Elias Nahum
9fafc3be5b
Bump app build number to 362 (#5522) 2021-07-07 21:18:28 -04:00
Elias Nahum
6984923a4c
Bump Version to 1.45.0 and build to 361 (#5518)
* Bump app build number to  361

* Bump app version number to  1.45.0
2021-07-07 12:55:34 -04:00
Elias Nahum
65a14f309b
Allow reply from individual notifications on Android (#5494) 2021-06-29 14:32:08 -04:00
Elias Nahum
991fe4779f
Bump Version to 1.44.1 and build to 360 (#5487) 2021-06-25 14:52:52 -04:00
Elias Nahum
f4f8379796
Update dependencies and setup project with node 16 / npm 7 (#5474) 2021-06-21 18:36:38 -04:00
Elias Nahum
362006db29
Bump app build number to 359 (#5458) 2021-06-14 16:23:27 -04:00
Elias Nahum
d871029b9d
Bump app build number to 358 (#5450) 2021-06-11 19:04:16 -04:00
Elias Nahum
0a4dafa127
MM-36256 avoid path traversal for Android image picker (#5432) 2021-06-08 09:11:27 -04:00
Elias Nahum
e87bc86f44
Version number (#5421)
* Bump app build number to  357

* Bump app version number to  1.44.0
2021-06-04 09:50:41 -04:00
Elias Nahum
9f238d5ef4
Post List & post components refactored (#5409)
* Update transform to make Android's post list scroll smooth

* set start since metric when appStarted is false

* Refactor Formatted components

* Downgrade RNN to 7.13.0 & patch XCDYouTube to allow video playback

* Refactor Post list and all related components

* review suggestion rename hour12 to isMilitaryTime

* feedback review use aliases

* feedback review deconstruct actions in markdown_link

* feedback review simplify if/else statement in combined_used_activity

* Simplify if statement for consecutive posts

* Specify npm version to build iOS on CI

* Refactor network_indicator

* render Icon in file gallery with transparent background

* Increase timeout to scroll to bottom when posting a new message

* fix: scroll when tapping on the new messages bar

* fix: dismiss all modals

* fix navigation tests

* Handle dismissAllModals for iOS to prevent blank screens

* Prevent modal from dismissing when showing the thread screen in the stack

* Update app/components/image_viewport.tsx

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

* Update app/utils/post.ts

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

* Apply suggestions from code review

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

* fix: rename selector and prop

* Fix XCDYouTube patch

* Fix posting from a thread in the right channel

* do not render reply bar on the thread screen

* close previous permalink before showing a new one

* move XCDYouTube patch to ios/patches folder

* closePermalink directly instead of using an onClose prop

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Miguel Alatzar <this.migbot@gmail.com>
2021-06-03 11:12:15 -07:00
Elias Nahum
3181c66348
MM-35992 set android activity affinity to blank (#5408) 2021-06-01 09:36:49 -04:00
Anurag Shivarathri
6e23fbe7a7
MM-32921 shared channels (#5241)
* Unable to open previews from search, pinned and mentions

* Updated Compass Icons

* Added Icon to LHS and Channel Info

* Added Icons to Manage/View Members list

* Added Icon to shared users in posts

* Added icon to channel header, fixed header style

* Added Icons in autocomplete

* WIP: Add shared shannels to browse

* Adding Shared Channels string to i18n

* Added remote organization to remote user profile

* Updated snapshot for channel header

* Added browsing shared channels

* Removed the exmpty line

* Added snapshot when user is remote

* Reverted compass icons and added icons only needed for shared channels

* Fixed i18n swapped

* Copied compass-icons from webapp

* Fixed showing shared channels as deleted after browsing them

* Added new compass ttf to android & fixed icon style for browse channel listing

* Fixed search for shared channels

* user profile snapshot updated with testId

* User list row snapshot updated with testID

* Moved shared user check to util function

* Fixed required props warning for ChannelIcon component

* Update app/screens/user_profile/index.js

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

* Removed Request related redux

* Reverted client4

* Added rest calls

* Updated snapshot

* Reverted files

* Adding back shared channels stuff to channel icon & showing shared channels only when enabled in browse channels

* Fixed misc issues

* moved empty array outside the function to avoid re-render

* Removed renaming fields

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-05-24 16:07:47 +05:30
Elias Nahum
288c847518
Add Perf metrics, some cleanup & dep updates (#5378) 2021-05-12 08:48:20 -04:00
Miguel Alatzar
f47f872b1a
Bump app build number to 356 (#5385) 2021-05-11 10:45:21 -07:00
Miguel Alatzar
fe48da091f
Bump app build number to 355 (#5372)
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2021-05-04 08:42:41 -04:00
Miguel Alatzar
4ce5a1ea71
Bump app version number to 1.43.0 (#5371) 2021-05-04 08:14:43 -04:00
Shaz Amjad
f01981ca25
[MM-26160] Updates to check if text is string before attaching as string (#5353)
* Updates to check if text is string before attaching as string
* Code tidy-up
2021-04-29 10:54:27 +10:00
Elias Nahum
a7e0ee262b
Bump app build number to 354 (#5341) 2021-04-19 11:51:06 -04:00
Miguel Alatzar
11b1cc8ad8
Bump app build number to 353 (#5331) 2021-04-15 10:54:08 -07:00
Miguel Alatzar
154b2e6adb
Bump app build number to 352 (#5324) 2021-04-14 14:23:04 -07:00
Elias Nahum
26f6880c04
Bump app build number to 351 (#5309) 2021-04-12 12:30:11 -04:00
Elias Nahum
72daf965cf
Bump app build number to 350 (#5296) 2021-04-08 11:51:55 -04:00
Elias Nahum
fa58f25a92
Bump app build number to 349 (#5291) 2021-04-07 14:34:18 -04:00
Anurag Shivarathri
66ebe3683b
MM-34508 in-app browser emm configuration (#5274) 2021-04-07 14:15:19 -04:00
Elias Nahum
f8a0f29237
Update dependencies (#5266)
* 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
2021-04-06 11:12:31 -04:00
Elias Nahum
4ce430bdb8
MM-32725 Reduce KeyStore qty access (#5261) 2021-04-06 09:54:00 -04:00
Elias Nahum
9e30de1ba7
Copy temp file if isMediaDocument contentUri is null (#5269) 2021-04-03 14:53:54 -03:00
Miguel Alatzar
c11f3dc501
Bump app build number to 348 (#5248) 2021-03-26 15:07:19 -07:00
Miguel Alatzar
51a2940c41
Bump app version number to 1.42.0 (#5246) 2021-03-26 15:00:24 -07:00
Miguel Alatzar
09386d9fde
Bump app build number to 347 (#5224) 2021-03-15 14:28:00 -03:00
Elias Nahum
86a096d1ce
MM-33495 Sanitize filename in Android ShareExtension (#5210)
* MM-33495 Sanitize filename in Android ShareExtension

* Apply sanitization after getting uri last path segment

Co-authored-by: Mattermod <mattermod@users.noreply.github.com>
2021-03-08 14:38:06 -03:00
Miguel Alatzar
3404495133
Bump app build number to 346 (#5205) 2021-03-03 20:01:28 -07:00
Miguel Alatzar
c416343388
Bump app version number to 1.41.0 (#5203) 2021-03-03 19:52:40 -07:00
Miguel Alatzar
43645d781e
Bump app build number to 345 (#5173) 2021-02-10 15:04:07 -07:00
Miguel Alatzar
70a8cf0651
Bump app build number to 344 (#5158) 2021-02-05 11:31:40 -07:00
Miguel Alatzar
9da0f43417
Bump app build number to 343 (#5151) 2021-02-01 15:00:58 -07:00
Miguel Alatzar
a659eb69d9
Bump app build number to 342 (#5142) 2021-01-26 17:48:04 -07:00
Miguel Alatzar
b4a5b54c16
Bump app version number to 1.40.0 (#5140) 2021-01-26 17:36:47 -07:00
Elias Nahum
9568a4592c
MM-32183 Fix in-app notification + Android ack (#5132)
* MM-32183 Fix in-app notification + Android ack

* comment suggested change

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

Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2021-01-26 14:21:02 -07:00
Anurag Shivarathri
d11d613815
OAuth through OS browser, added google login & open id methods (#5075)
* Initialised SSO with linking

* Fixed lint errors

* Added translation and version check

* Added translation & detox file: WIP

* Added google logo and login button

* Added openid login option

* Added tests

* Added fallback support for google

* Added server check for openid

* Removed unwated memos

* Server support changed to 5.32

* Added try catch for Linking openurl

* Removed 'or'

* Changed test case version to 5.32

* Changed server version to 5.32

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Update app/screens/sso/sso_with_redirect_url.tsx

Co-authored-by: Hossein <hahmadia@users.noreply.github.com>

* Update assets/base/i18n/en.json

Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>

* Added new custom url scheme for auth

* Added custom url scheme based on app build type, custom user agent for only google & misc typo fixes

* Added check for Deviceinfo

* Reverted to openLink

* Using tryOpenURL instead of Linking.openURL

* Changed office365 url

* Handling cookie read error caused on localhost

* Fixed lint errors

* Updated version in tests

Co-authored-by: Anurag Shivarathri <anurag@13.local>
Co-authored-by: Katie Wiersgalla <39744472+wiersgallak@users.noreply.github.com>
Co-authored-by: Hossein <hahmadia@users.noreply.github.com>
2021-01-19 21:15:24 +05:30
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
3338511355
Bump app build number to 341 (#5112) 2021-01-11 16:00:55 -07:00
Miguel Alatzar
407333b446
Bump app build number to 340 (#5096) 2021-01-07 15:29:38 -07:00
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