Commit graph

2594 commits

Author SHA1 Message Date
Elias Nahum
ed11cf9b6b
Fix running mm-i18n that crashes on conditional operators (#3385) 2019-10-08 15:13:03 +03:00
Harrison Healey
bbd22b8f7f Add android/app/bin to .gitignore (#3374) 2019-10-07 23:53:34 -07:00
Amy Blais
8aeef8a532 Update NOTICE.txt (#3306)
* Update NOTICE.txt

* Update NOTICE.txt
2019-10-07 23:37:06 +03:00
Harrison Healey
2be9285c26 Merge branch 'master' into mark-as-unread 2019-10-07 10:02:38 -04:00
Elias Nahum
c8e2a66f9f
Fix native emojis being cutoff in emoji picker (#3358) 2019-10-07 09:11:53 +03:00
Miguel Alatzar
a5b096fd44
Update total to reflect number of children (#3367) 2019-10-04 15:06:22 -07:00
Harrison Healey
3f13c868f7 Merge branch 'master' into mark-as-unread 2019-10-03 09:28:30 -04:00
Elias Nahum
41d6d6159d
Bump app build number to 236 (#3365) 2019-10-02 21:43:33 +03:00
Elias Nahum
3e3c0b2469
Set Sidebar channel item display name opacity as 0.6 (same as webapp) (#3359) 2019-10-02 21:30:28 +03:00
Elias Nahum
f8f9064968
MM-18999 Fix search in: modifier to show the appropriate badge when n… (#3343)
* MM-18999 Fix search in: modifier to show the appropriate badge when needed for DM/GM

* feedback review

* fix eslint

* fix eslint disable rule
2019-10-02 21:30:13 +03:00
Miguel Alatzar
2cfb6f1136 [MM-18656] Update third party libraries to use WKWebView over UIWebView (#3353)
* Use updated react-native-keyboard-tracking-view

* Use updated react-native-device-info

* Use updated react-native-device-info and add new pod dependency
2019-10-02 11:02:06 -04:00
Paulo Bittencourt
be4bddc52a MM-15220 Support generic error message in interactive dialog (#3259) 2019-10-02 16:47:24 +02:00
Elias Nahum
2f65ff853d MM-18997 Fix More unread overlay preventing interactions (#3342) 2019-10-01 12:53:06 -07:00
Harrison Healey
35797e2564 Merge branch 'master' into mark-as-unread 2019-09-30 16:54:15 -04:00
Matheus Cardoso
26b999e885 MM-17759 Add code highlighting (#3072)
* Add code highlighting

* Fix code style

* Add unit tests

* Some layout adjustments and code style fixes

* Fix failing test

* Fix typo

* Fixed import style

* Update snapshot

* Fix test

* Remove comment

* Add react-native-syntax-highlighter to NOTICE.txt

* Remove duplicated key

* Fix color issue on Android

* Remove unnecessary style

* Fix top spacing on Android

* Add missing trailing comma

* Revert highlighting in Android full-screen code

* Fix margins on android full-screen code

* Fix top padding on Android full-screen code

* Fix font size on Android full-screen code

* Improve top spacing on iOS full-screen code

* Update package-lock.json

* Update package-lock.json

* Update react-native-syntax-highlighter

* Revert away code highlighting on Android code block
2019-09-30 22:52:45 +08:00
Joram Wilander
3f3a7630cc
MM-18832 Update message count string (#3349)
* Update message count string

* Update defaultMessage
2019-09-30 08:45:45 -04:00
Elias Nahum
b8998c676a
Fix channel navbar title displayName variable (#3344)
* Fix channel navbar title displayName variable

* Fix snapshots
2019-09-28 19:36:33 +03:00
Amy Blais
5ce6852958 1.23.1 Changelog (#3281)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2019-09-28 10:08:09 +03:00
CJ
2009999090 MM-18464 Interactive dialog renders out of safe area view on landscape orientation (#3335)
* MM-18464

Updated Dialog Items to support isLandscape for SafeArea View

* MM-18464 Updated SafeAreaView

Updated Autoselector Component

* MM-18464 Resolved Issues

Resolved issues for MM-18464

* MM-18464 Resolved Snapshot

Resolved snapshots
2019-09-27 14:44:48 -07:00
Elias Nahum
3b3a696a55 MM-18603 Fix post header to prevent overlaps (#3332)
* MM-18603 Fix post header to prevent overlaps

* Export BotTag and GuestTag
2019-09-27 17:16:36 -04:00
Dean Whillier
51e5fc04d4
Bump app build number to 235 (#3338) 2019-09-27 15:52:47 -04:00
Elias Nahum
768bb9625a MM-18176 Fix network indicator stock after re-connect (#3329) 2019-09-27 13:42:28 -04:00
Harrison Healey
3e0189430b
MM-18762 Remove some usage of deprecated lifecycle methods (#3299)
* MM-18762 Remove some usage of deprecated lifecycle methods

* Only load ProgressiveImage when a URI changes
2019-09-27 09:16:21 -04:00
Elias Nahum
65e62371ab
Revert long post as ScrollView instead of View (#3333) 2019-09-27 01:30:51 +03:00
Miguel Alatzar
b96a38473c
[MM-18329] Add (you) suffix to self DM channel title (#3293)
* Add (you) suffix to self DM channel title

* Use FormattedText component
2019-09-26 07:51:43 -07:00
Miguel Alatzar
459801d10b
[MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal (#3298)
* Patch react-native-navigation

* Make navigation actions regular functions

* Fix unhandled promise rejection warning

* Missing semicolons

* Mock navigation actions

* Add unit tests for navigation actions

* Place all patches in patches directory

* Fix channel_info snapshot test
2019-09-25 15:23:45 -07:00
Elias Nahum
9975a19b91
MM-18236 Prevent the post menu from triggering when using the back gesture (#3319)
* MM-18236 Prevent the post menu from triggering when using the back gesture in the thread screen

* Update snapshots

* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/components/post/post.js

Co-Authored-By: Miguel Alatzar <migbot@users.noreply.github.com>

* Update app/components/touchable_with_feedback/touchable_with_feedback.ios.js

* Fix eslint
2019-09-26 00:19:49 +03:00
Dean Whillier
24cb1a3316
Bump app build number to 234 (#3327) 2019-09-25 16:08:56 -04:00
Harrison Healey
411ea1f084
MM-16399 Clear current channel when leaving a team (#3288)
* MM-16399 Clear current channel when leaving a team

* Update mattermost-redux
2019-09-25 14:33:48 -04:00
Elias Nahum
ecb9bde1fd MM-18740 Sync app badge number when opening a push notification (#3322) 2019-09-25 10:31:44 -07:00
Elias Nahum
9da5b234ed MM-18542 Fix file attachment scroll on tablets, MM-18732 Slow scroll in landscape & MM-18836 settings sidebar width (#3321) 2019-09-25 10:27:18 -07:00
CJ
67ae09f868 MM-18658 Edit Channel MaxLength (#3317)
Set MaxLength on Edit Channel Name.
Updated ViewTypes MaxLength from 22 to 64 for validation/errors.
2019-09-25 16:53:52 +03:00
Harrison Healey
04b3897ecb Update mattermost-redux 2019-09-25 09:07:55 -04:00
Harrison Healey
c017913911 Merge branch 'master' into mark-as-unread 2019-09-25 09:06:21 -04:00
Elias Nahum
114a18c16d
MM-18453 Use native emojis (#3260)
* MM-18453 Use native emojis

* Remove unnecessary else statement

* Add support for builtIn emojis

* Fix Native emojis snapshot tests

* Set emoji text style from StyleSheet

* Remove unneded version check and try/catch

* Add builtIn emojis as custom emojis in emojiPicker

* Simplify emojiPicker lists and fix jumping section headers

* Update snapshots
2019-09-25 12:27:47 +03:00
Elias Nahum
218e104010 Fix paste files with multiple instances of post textbox (#3302) 2019-09-25 17:03:14 +08:00
Miguel Alatzar
0b044b62a5 [MM-18779] Reset moment local on logout (#3310)
* Reset moment local on logout

* Update app/selectors/i18n.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-09-25 16:02:58 +08:00
Miguel Alatzar
8fd0a515a8
Null check on current (#3309)
* Null check on current

* Null check on current
2019-09-24 17:13:27 -07:00
Carlos Tadeu Panato Junior
ca6495187f add circleci (#3312) 2019-09-24 17:06:31 -07:00
Andre Vasconcelos
d9a3f6f20a Trimming display_name in delete/leave channel alerts (#3291) 2019-09-24 12:42:26 -07:00
Dean Whillier
5176661a5b Bump app build number to 233 (#3307)
* Bump app build number to 233

* blank commit
2019-09-24 21:56:58 +03:00
Miguel Alatzar
6131c44dc2 [MM-18325] Properly determine if channel is archived (#3289)
* Properly determine if channel is archived

* Remove check on ownProps.channelIsArchived
2019-09-24 19:39:28 +03:00
Harrison Healey
b2722e31cc Update mattermost-redux to include changes for Mark as Unread websocket events 2019-09-24 12:35:09 -04:00
Elias Nahum
9e3bd8555d MM-18758 Fix channel info row to be toggleable or with an chevron (#3297) 2019-09-24 10:58:06 -04:00
Harrison Healey
ca68f3a244 Merge branch 'master' into mark-as-unread 2019-09-24 09:41:48 -04:00
Andre Vasconcelos
7bd000d794 GH-11952 Adding option to convert public channel to private (#3230)
* Adding option to convert public channel to private

* Added unit tests, feedback alert with error handling, and new alert text

* Ensuring baseProps is never changed between channel_info tests

* Trimming the display_name on alerts

- Preventing extra empty spaces from being displayed on the alerts by trimming the variable
2019-09-23 18:39:15 -07:00
Elias Nahum
70102d2516 MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets (#3296) 2019-09-23 13:08:32 -07:00
Harrison Healey
d46aebb2a4 Merge branch 'master' into mark-as-unread 2019-09-20 10:42:02 -04:00
Miguel Alatzar
20fb25df8d
Call scrollToIndex only when ref is set and index is in range (#3285) 2019-09-19 12:39:47 -07:00
Sudheer
0f67b47026 Revert "Call scrollToIndex only when ref is set and index is in range (#3282)" (#3284)
This reverts commit ecbbb3f0e5.
2019-09-19 11:39:52 -07:00