Commit graph

3069 commits

Author SHA1 Message Date
Sudheer
a8ad077086 MM-20790 Mark as Unread option should not be available on mobile if the server does not support it (#3655)
* MM-20790 Mark as Unread option should not be available on mobile if the server does not support it

 * Check for server version with min 5.18v for showing the option
   to mark as unread

* Change if condition
2019-12-03 14:06:18 -05:00
CJ
da858797d3
MM-19837 Remove Opacity from AtMention Markdown (#3640)
* MM-19837 Remove Opacity from AtMention Markdown

Removed the opacity that was set on the base text style for the markdown on AtMention for system messages.

* MM-19837 Updated opacity for AtMention

The baseTextStyle being used to set the opacity is used across the entire text format, so for this change where an AtMention is used, I added a new opacity to overwrite the on applied by the baseTextStyle.
2019-12-03 13:07:34 -05:00
Elias Nahum
4cc375dcb0
Fix SSO login on iOS (#3657) 2019-12-03 13:08:30 -03:00
CJ
aa03f1cd1c Updated localization items (#3638)
Updated the i18n and default messages for the network failure and entire channel message alert.
2019-12-03 21:53:55 +08:00
Elias Nahum
59c8cbed55 MM-20780 MM-20782 Clear cookies on logout (#3645) 2019-12-03 08:33:09 +08:00
Elias Nahum
9096818003 MM-20778 Remove caption as part of the file path (#3646) 2019-12-03 08:12:53 +08:00
Hossein Ahmadian-Yazdi
4a6d280d29
WIP: [MM-20164] Update Redux hash for member role changing (#3650)
* Stub hash

* update redux hash

* Address PR comments

* updated hash
2019-12-02 14:49:22 -05:00
Elias Nahum
a0a0ed7334 MM-20806 Remove extra info from logs (#3644)
* MM-20779 Handle Android notification reply with special characters

* Remove extra info from logs

* Review feedback
2019-12-02 09:27:43 -07:00
Elias Nahum
39cdbb757d MM-20779 Handle Android notification reply with special characters (#3636) 2019-12-02 08:25:33 -07:00
Elias Nahum
8d37e3d22f MM-20789 Enforce SECURE_SOFTWARE (#3637) 2019-12-02 08:23:27 -07:00
Elias Nahum
4933cecd1d MM-20758 MM-20762 Fix archived channels in more channels screen (#3635)
* MM-20758 MM-20762 Fix archived channels in more channels screen

* Separate archived and public channels
2019-12-01 22:07:28 -05:00
Andre Vasconcelos
f7bed8dcdb MM-15635 - Making markdown tables more responsive (#3249)
* Making markdown tables more responsive

* Changing implementation of isTablet and isLandscape

* Fixing variable names & added more table styles

* Adding header backgrounds & iOS fixes

* Changing cell padding to 8

* Fixing positioning of expand table buttons

* Fixed android issues and flex render conditions

- Centered icon in expand button instead of using fixed paddings (icon was slightly off center)
- Fixed expand button rendering on android
- Separated full table view into ios / android to allow for separate styling

* Merging table back to single file

* Resolving conflicts & improving full table view

- Made the full table view scrollable through any part of the screen, as opposed to only the table area (only works on iOS)
- Resolved conflicts with PR that limits tables to 5 columns visible on channel view
- Made changes to keep behavior of tables consistent on table view
- Added logic to render "moreRight" element if table was cut in channel view
- Updated snapshot
2019-11-30 14:27:02 -03:00
Harrison Healey
d140edf78e MM-20228 Update Mark as Unread menu option text (#3634) 2019-11-30 14:13:51 -03:00
Elias Nahum
46efa88bb4
MM-19990 Prevent glimpse of the app if TOS not accepted (#3617) 2019-11-30 14:12:08 -03:00
CJ
a3c7b4707e MM-19708 Adjusted display name width to 80% for landscape (#3599)
* MM-19708 Adjusted display name width to 80% for landscape

Adjusted landscape maxWidth for both the base display of the name and the adjusted width with bot/reply buttons.

* Making less complex

* MM-19708 Reduced complexity of style code

Reduced complexity of style code

* MM-19708 Updated snapshots

* MM-19708 Updated for eslint
2019-11-29 13:16:38 -03:00
Amy Blais
a145a13d87 Update NOTICE.txt (#3607) 2019-11-28 10:18:46 -03:00
Miguel Alatzar
85264f2c54 Use bottom sheet over modal (#3618)
* Use bottom sheet over modal

* check-style fixes
2019-11-28 08:05:38 -03:00
Elias Nahum
afd3e3374c MM-20689 Long post to use all available space (#3623)
* MM-20689 Long post to use all available space

* Add footer and update snapshots

* Fix footer ui

* Remove file_ids from connected component
2019-11-28 17:30:02 +08:00
Elias Nahum
e8cd6dad73 MM-19896 Correct helper text on Email Notifications (#3614) 2019-11-28 10:23:30 +01:00
Elias Nahum
16c9349490 MM-20729 & MM-20731 Fix YouTube playback and rotation (#3621) 2019-11-28 00:19:12 -05:00
Asaad Mahmood
19c99673f7 MM-20326 - Updating markdown table css (#3608)
* MM-20326 - Updating markdown table css

* Updating UI

* MM-20326 - Updating markdown table css
2019-11-28 03:02:40 +08:00
Miguel Alatzar
2393eb3283 [MM-20200] Fix autocomplete when editing channel header (#3595)
* Fix autocomplete when editing channel header

* Fix iOS scroll

* Use zIndex on header help text view

* No need to use innerRef

* Fix typos
2019-11-28 01:43:28 +08:00
Elias Nahum
75e0854411 MM-20694 Fix race condition when the store has not rehydrated (#3610)
* MM-20694 Fix race condition when the store has not rehydrated

* Making waitForHydration re-usable
2019-11-27 08:03:50 -07:00
Elias Nahum
80d4119dbe Android release launch screen (#3609) 2019-11-26 23:39:34 -05:00
CJ
9041e90276 MM-19834 Fixed direct mentions highlight color (#3572)
* MM-19834 Fixed direct mentions highlight color

Updated the AtMention to check if it will be highlighted before applying it's color. The highlight function was applying it's color before the AtMention color, so it was being overwritten.

* MM-19834 Start Unit Test

* MM-19834 Added Unit Tests

Added unit tests for the rendering of highlighted/non-highlighted displayname.
2019-11-27 09:08:05 +08:00
Miguel Alatzar
c977e38639
Fix video player refs (#3604) 2019-11-25 17:27:24 -07:00
Miguel Alatzar
c2868cf5a8 Remove react-native-cookies patch (#3603) 2019-11-23 21:40:30 -03:00
Amy Blais
5e73df6211 1.25.1 changelog (#3600)
* Update CHANGELOG.md

* Update CHANGELOG.md
2019-11-22 22:01:39 -03:00
Elias Nahum
d6dd63cd61
Bump Version to 1.26 and Build number to 248 (#3601)
* Bump app build number to 248

* Bump app version number to 1.26.0
2019-11-22 15:38:45 -03:00
CJ
f577c00422 MM-20201 Fixed asterisk on Nickname (#3588)
* MM-20201 Fixed asterisk on Nickname

Added optional prop to the Nickname field, which removes the asterisk

* MM-20201 Updated Position field also

Added optional prop to position field.
2019-11-21 18:02:42 -07:00
Elias Nahum
3ac0db6f61
MM-20347 Handle Flag for ID Loaded Push Notifications (#3586)
* Fix id-loaded on Android

* Fix id-loaded on iOS

* Remove constant for PUSH_TYPE_ID_LOADED
2019-11-21 19:34:10 -03:00
Elias Nahum
47157c70a9
Bump app build number to 247 (#3593) 2019-11-21 13:20:54 -03:00
Miguel Alatzar
f651da975f [MM-20640] Create notification channels only if supported (#3590)
* Create notification channels only if supported

* Update comment
2019-11-21 13:12:49 -03:00
Elias Nahum
ec99b65f00
Bump version to 1.25.1 and Build number to 246 (#3587)
* Bump app build number to 246

* Bump app version number to 1.25.1

* Update Fastlane
2019-11-20 21:18:44 -03:00
Amy Blais
80c9766190 1.25.1 Changelog (#3584)
* Update CHANGELOG.md

* Update CHANGELOG.md
2019-11-20 16:27:45 -07:00
Miguel Alatzar
430463822b
Use LifecycleEventListener listener for MattermostManagedModule (#3578) 2019-11-20 15:25:53 -07:00
Elias Nahum
7baa92d881 Avoid OOM crash on iOS13 Share Extension (#3579) 2019-11-20 10:13:05 -07:00
Elias Nahum
ad4cf914b3 Fixes crash when sso cookies does not contain an expiration date (#3580) 2019-11-20 08:54:38 -07:00
Miguel Alatzar
1d3379c32e [MM-20138] Slice markdown table (#3571)
* Preview markdown table as 5x5 max

* Make linter happy

* Determine max columns from device width

* Add snapshot test

* Use Dimensions and update unit tests

* Remove async
2019-11-20 03:27:55 +08:00
Harrison Healey
7004ea01dc Merge branch 'master' into mark-as-unread 2019-11-19 11:58:33 -05:00
Elias Nahum
7af63a7bfe Fix CircleCI iOS build by adding watchman (#3574) 2019-11-19 09:51:41 -07:00
Elias Nahum
609260dac3
Update Podfile.lock 2019-11-19 13:46:48 -03:00
Harrison Healey
b69c6af2b4 Merge branch 'master' into mark-as-unread 2019-11-19 09:57:43 -05:00
Matheus Cardoso
6c1c64f81d MM-17838 Wrap reactions when they exceed screen size (#3144)
* MM-17838 Wrap reactions when they exceed screen size

* Hide add reaction button after 40 reactions

* Hide add reaction button after 40 reactions

* Fix tests

* Fix crash when post has no reactions and convert to factory

* Create constant and use a separate prop for allowing more reactions
2019-11-18 22:10:38 -03:00
Elias Nahum
d41f51ea04
Update Podfile.lock 2019-11-18 21:11:16 -03:00
Miguel Alatzar
ba76e5eac7 [MM-16232] ID loaded push notifications (#3562)
* [MM-16232] Android: Fetch notification in notificationReceiptDelivery (#3552)

* Fetch notification in notificationReceiptDelivery

* Fix patch

* Fix patch take 2

* No need to send user_id to ack endpoint

* Just putString in mNotificationProps

* Fix patch take 3

* Revert react-native-notifications patch

* Update patch and fix rejections

* Remove trailing newline in patch

* Move PushNotification changes to end of patch

* npm cache test

* Revert "npm cache test"

This reverts commit d31030aaeeb010c1c3d22a5f6196191eeb849add.

* Created patch after upgrading node

* Created patch after upgrading node take 2

* Remove androidx changes from patch

* Patch packages then jetify

* Cache node_modules without patches

* Remove adding of default message (#3557)

* [MM-16232] iOS: Fetch id-loaded push notification from server (#3556)

* Fetch notification from server

* Parse fetched notification response

* Fix id-loaded notifications for DM/GM's

* audit fix

* Only add keys if they exist

* Throw exception if response code is not 200
2019-11-18 19:29:49 -03:00
Harrison Healey
725e9a6985 Merge branch 'master' into mark-as-unread 2019-11-18 17:21:42 -05:00
Amy Blais
84a874918d v1.25 Changelog (#3440) 2019-11-18 15:15:04 -03:00
Elias Nahum
b2e657b159 MM-19991 Filtering search by channel should also show the channel name and not only its ID (#3561) 2019-11-18 23:56:01 +08:00
Elias Nahum
00874eb3ff MM-20007 Fix app crashes when previewing some gif files (#3563) 2019-11-18 10:31:29 -05:00