Commit graph

622 commits

Author SHA1 Message Date
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