Commit graph

2570 commits

Author SHA1 Message Date
Mattermost Build
3eb8d3857b Set Sidebar channel item display name opacity as 0.6 (same as webapp) (#3364) 2019-10-02 21:34:58 +03:00
Mattermost Build
e9e1dc0541 Automated cherry pick of #3343 (#3363)
* 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:34:41 +03:00
Mattermost Build
c55dcaf598 Automated cherry pick of #3353 (#3361)
* 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 08:38:39 -07:00
Mattermost Build
d5dd4380d9 MM-18997 Fix More unread overlay preventing interactions (#3354) 2019-10-01 22:55:55 +03:00
Mattermost Build
486917d692 Automated cherry pick of #3344 (#3345)
* Fix channel navbar title displayName variable

* Fix snapshots
2019-09-28 19:44:52 +03:00
Mattermost Build
53657536fc Automated cherry pick of #3332 (#3340)
* MM-18603 Fix post header to prevent overlaps

* Export BotTag and GuestTag
2019-09-28 10:01:30 +03:00
Mattermost Build
cd12480577 Automated cherry pick of #3335 (#3341)
* 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:47:21 -07:00
Mattermost Build
643d45b33c Bump app build number to 235 (#3339) 2019-09-27 15:56:58 -04:00
Mattermost Build
d3b5281ecb MM-18176 Fix network indicator stock after re-connect (#3336) 2019-09-27 21:02:51 +03:00
Mattermost Build
d5ea75171c Revert long post as ScrollView instead of View (#3334) 2019-09-27 01:35:49 +03:00
Mattermost Build
73d20fdcdf Automated cherry pick of #3293 (#3330)
* Add (you) suffix to self DM channel title

* Use FormattedText component
2019-09-26 07:54:45 -07:00
Miguel Alatzar
2eb723a6dc
Manual cherry pick of #3298 (#3328) 2019-09-25 15:53:05 -07:00
Elias Nahum
5fafe376fa
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:22:37 +03:00
Mattermost Build
0818489b47 MM-18740 Sync app badge number when opening a push notification (#3324) 2019-09-26 00:08:30 +03:00
Dean Whillier
14593339b3 Bump app build number to 234 (#3327) 2019-09-25 16:10:24 -04:00
Harrison Healey
80fad8c11c Switch mattermost-redux to release branch 2019-09-25 15:15:38 -04:00
Harrison Healey
f2e06aa304 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:37:02 -04:00
Mattermost Build
41bcc75df9 MM-18542 Fix file attachment scroll on tablets, MM-18732 Slow scroll in landscape & MM-18836 settings sidebar width (#3323) 2019-09-25 20:29:56 +03:00
Mattermost Build
03692f1975 Fix paste files with multiple instances of post textbox (#3320) 2019-09-25 17:23:20 +08:00
Elias Nahum
8927e5921a
translations PR 20190923 (#3301) 2019-09-25 11:12:09 +03:00
Mattermost Build
bd4a119c05 Automated cherry pick of #3310 (#3318)
* Reset moment local on logout

* Update app/selectors/i18n.js

Co-Authored-By: Elias Nahum <nahumhbl@gmail.com>
2019-09-25 16:06:06 +08:00
Mattermost Build
6b4b4ce75f Null check on current (#3316) 2019-09-24 17:33:43 -07:00
Mattermost Build
cdc020fc9c add circleci (#3314) 2019-09-24 17:24:21 -07:00
Mattermost Build
5f2d840f27 Automated cherry pick of #3289 (#3304)
* Properly determine if channel is archived

* Remove check on ownProps.channelIsArchived
2019-09-24 12:35:47 -07:00
Mattermost Build
dca0d5e75b Bump app build number to 233 (#3308) 2019-09-24 14:57:32 -04:00
Mattermost Build
4dbdf42ebd MM-18758 Fix channel info row to be toggleable or with an chevron (#3303) 2019-09-24 19:40:25 +03:00
Mattermost Build
cf2262dbc1 MM-18752 Rename constant to handle iPhone X and new iPhone 11 insets (#3300) 2019-09-23 22:19:26 +02:00
Mattermost Build
478bf42b62 Call scrollToIndex only when ref is set and index is in range (#3286) 2019-09-19 12:41:38 -07:00
Mattermost Build
aada9efb2b Bump app build number to 232 (#3278) 2019-09-18 20:52:26 -04:00
Mattermost Build
4ada33b50d Updated Info.plist with new bluetooth usage description key (#3276) 2019-09-18 20:50:24 -04:00
Devin Binnie
b8540b42dd Bump app version number to 1.24.0 (#3274)
* Bump app version number to 1.24.0

* Update build.gradle
2019-09-18 13:28:17 -04:00
Devin Binnie
9bbbf67cc8 Bump app build number to 231 (#3272) 2019-09-18 13:26:12 -04:00
Mattermost Build
54f403c354 Update en.json (#3273) 2019-09-18 10:24:47 -07:00
Mattermost Build
80282c6df1 Ensure onAppStateChange runs only after GlobalEventHandler is configured (#3271) 2019-09-18 10:04:29 -07:00
Mattermost Build
f99d260628 Force drawer to open to channel menu when new teams are added (#3269) 2019-09-18 09:58:44 -04:00
Patrick Kang
2bd67deeea Adds support for 'radio' type in interactive dialogs (#3212) 2019-09-18 15:37:38 +02:00
Elias Nahum
e9db272a9e Go to channel screen when tapping on a channel link (#3265) 2019-09-17 08:30:06 -07:00
Elias Nahum
0811fd7149
Fix crash accessing property of undefined teammate 2019-09-17 09:00:58 -03:00
Saturnino Abril
4d8fa314d1
MM-14273 Add boolean element support to interactive dialog (#3239)
* add boolean element support to interactive dialog

* determine landscape orientation by Dimension
2019-09-17 09:39:12 +08:00
Ewe Tek Min
0d1fd78263 MM-9599 Paste image from clipboard (#3084)
* Show image paste menu

* Get pasted image

* Add more info for file

* Add custom text input and add extension

* Dismiss contextual menu after paste image

* Group image info together

* Add max file check

* Fix max file size text

* Add PropTypes

* Add support for gif and tiff

* add onchange null check

* Use onPaste event

* Move get image info logic

* Clean up listener when no observer

* Add android upload

* Copy file from google docs

* Clean up file after upload

* Prevent text pasted in textbox if it's content uri

* Rename paste file thread

* Move on paste listener logic

* Remove the redundant data in ios

* Get realpath of item

* Clean up

* Only download for image

* Rename to custom text input

* Update RNPasteableEditTextOnPasteListener.java

* Handle for download image failed

* Fix eslint

* Fix test

* Allow multiple images to be pasted

* Remove additional null check

* Add managed control for Android

* Disable only copy, cut and paste

* Accept image in Android edit text

* Add comment for custom text input

* Do not upload when more than max file

* Stop uplaod when exceed file size

* Fix crash when clip data is null

* Return error to JS

* Move download file logic

* Remove console

* Add some tests

* Add test for handleUploadImages

* Add test for file_upload_item

* Use ImageCacheManager to cache remote images

* Fix crashes from one note

* Remove commented code

* Update test
2019-09-16 20:10:14 -03:00
Elias Nahum
da9be433e3
Fix snapshots 2019-09-16 20:06:10 -03:00
Elias Nahum
6853707ef2
MM-18335 Keep the icon badge in sync (#3246)
* MM-18335 Keep the icon badge in sync

* feedback review

* Update snapshot
2019-09-16 17:48:50 -03:00
Elias Nahum
0ef2156b3f MM-17953 Do not show deactivated users in autocomplete (#3251)
* MM-17953 Do not show deactivated users in autocomplete

* feedback review
2019-09-16 16:02:52 -04:00
Amit Uttam
1f88356557 Expand text input area in Android Share extension to use available space (#3262) 2019-09-16 12:03:20 -07:00
Eric Sethna
2c4764bc88 Update session expiry push notification text (#3211)
* Update session expiry text

* Calculate the session expires in days to be displayed in the local notification

* Feedback review
2019-09-16 12:01:10 -07:00
Amy Blais
d8d1e55610 v1.23 Changelog (#3149) 2019-09-16 13:30:00 -03:00
Theo Gkourasas
30f91a3814 MM-15219 Added support for introduction text in interactive dialogs (#3222)
* MM-15219 Added support for optional introduction text in interactive dialogs

* Fixed margins in introduction text for interactive dialogs

* Created DialogIntroductionText component to render the introduction text.  Changed text color

* Changed DialogIntroductionText component to only render if a value is supplied
2019-09-16 09:22:59 -07:00
Elias Nahum
19e6b2a00e
[MM-18362] Sidebar improvements (#3223)
* sidebar lists displays past bottom safe area insets

* Sidebar animation speed

* Sidebar improvements

* Add status icons and avatars to mattermost font

* Bot icon the same size as other channel icons

* improvements to the channel badge

* Badge color and border

* More precision when showing more unread above

* Improve GM icon

* Fix badge on team sidebar

* Align channel sidebar badges

* alignments

* Fix tests

* Remove unnecessary isLandscape in main sidebar connector
2019-09-16 13:17:48 -03:00
Elias Nahum
d28aaf21a8 MM-18241 Fix emoji picker selection and added keyboard tracking on iOS (#3244)
* MM-18241 Fix emoji picker selection and added keyboard tracking on iOS

* Fix flatlist spacing on iOS when searching

* Fix snapshot
2019-09-15 20:31:54 -07:00
Harrison Healey
6fc8569266 MM-18466 Change recent date separators to yesterday/today (#3245)
* MM-18466 Change recent date separators to yesterday/today

* Add i18n strings
2019-09-14 07:02:51 -03:00