Commit graph

1258 commits

Author SHA1 Message Date
Daniel Schalla
a74fabcc98 Add CSRF Header in File Upload and Profile Image Set Operations (#2686) 2019-04-04 10:44:11 -04:00
Christopher Speller
370fa9b952
MM-13618 Adding bot tags. (#2669)
* Adding bot tags.

* Snapshot update.

* Moving bot tag to own component.

* Snapshots.

* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.

* Snapshots and tests.
2019-03-26 17:01:17 -07:00
Martin Kraft
7423e7d3bf MM-14345: Changes the channelIsReadOnly prop to be associated to the post's channel rather than the current channel. Show the unpin regardless of whether a channel is read-only. (#2656) 2019-03-25 17:37:54 -07:00
Courtney Pattison
c3a1e3561e [MM-13381] Added reply to post options (#2665)
* [MM-13381] Added reply to post options

* [MM-13381] Fixes for adding reply to post options

* [MM-13381] Fixed logic for adding reply to post options

* [MM-13381] Fixed canReply logic for post options
2019-03-25 13:29:46 -07:00
Elias Nahum
e960d37cdc
MM-14459 Ensure hydrationComplete is set to true when resetting the cache and logging out (#2664) 2019-03-23 11:07:43 -03:00
Yusuke Nemoto
d852e0991f Support MinimumHashtagLength setting (#2583)
* Support MinimumHashtagLength setting

* Set default value if missing
2019-03-22 14:06:02 -03:00
Antti Seppälä
a52bc4ca2e Do not use WebKit for CookieManager operations in SSO (#2515)
* Do not use WebKit for CookieManager operations in SSO

This allows the SSO login to function again with devices that are not running IOS-11.

* Use WebKit for CookieManager operations only with iOS 11 or later

Detect OS version and use WebKit only when iOS 11 or later is detected.
This allows the SSO login to function again with older devices.
2019-03-22 13:41:06 -03:00
Saturnino Abril
b5effd3ea3
fix showing o fpost options for system admin (#2644) 2019-03-21 17:52:36 +08:00
Saturnino Abril
e744083833
remove state.value and rely only on props.value (#2635) 2019-03-20 22:15:01 +08:00
Elias Nahum
e053219fb0 MM-13795 Detect timezone updates on Android (#2660) 2019-03-19 18:10:45 -07:00
Elias Nahum
f539ddf765
MM-14630 Mark channel as read and viewed when opening brought from the background (#2658) 2019-03-19 19:58:23 -03:00
Saturnino Abril
10cb53c7fb
fix email setting to "Never" when first saved (hitting back button on iOS) without actually changing the selection (#2650) 2019-03-16 03:05:08 +08:00
Saturnino Abril
b5e4b5a657
fix channel mention badge and posts after opening the app from push notification (which is initially at closed state) (#2648) 2019-03-16 00:04:30 +08:00
Saturnino Abril
914e24dccd
[MM-14527] Fix default behavior when enabling/disabling email batching (#2642)
* fix default behavior when enabling/disabling email batching

* update redux commit to master - 98856a3
2019-03-14 01:57:49 +08:00
Jesse Hallam
692953e860
MM-14461: make @-mentions (and searches) case insensitive (#2641) 2019-03-13 09:37:56 -04:00
Saturnino Abril
8719d3f227 fix channel mention when app is started from push notification (#2638) 2019-03-11 15:36:02 -04:00
Elias Nahum
a941ce5fff Add Office 365 login support (#2628) 2019-03-11 15:28:59 +05:30
Saturnino Abril
4e1479d449
do not save email interval preference on cancel on Android device (#2633) 2019-03-09 13:27:07 +08:00
Saturnino Abril
5bcf8f7576 fix multiple text entries when typing with Shift+Letter on Android (#2634) 2019-03-08 09:45:08 -05:00
kosgrz
727465140f [MM-14192] Render hyperlinks in Message Attachment title (#2617) 2019-03-07 09:12:33 -05:00
Yusuke Nemoto
e1e1e7cf53 Highlight CJK mention keywords in sentense (#2590) 2019-03-07 22:04:10 +08:00
Saturnino Abril
ede80d0fe4
Do not show deactivated users when adding members (#2613) 2019-03-06 08:55:58 +08:00
Elias Nahum
b0a18025c4
Wait for VPN connection only when appconfig flag is set (#2627) 2019-03-05 12:01:43 -03:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams (#2625) 2019-03-05 11:56:24 -03:00
Saturnino Abril
2237eb1e60
fix enabling post icon override (#2611) 2019-03-05 19:53:07 +08:00
Elias Nahum
5a96c5c56f Fix checkLoginResponse for MFA (#2623) 2019-03-05 09:08:53 +08:00
Saturnino Abril
275d774c5a fix default email interval from never to immediate (#2614) 2019-03-04 15:51:42 -05:00
Saturnino Abril
8a4c6de86f
fix intermittent crash when selecting a link (#2620) 2019-03-05 02:28:40 +08:00
MartB
0a2bbb73e7 [MM-13824] add one_you strings for better translatability in team/channel related messages. (#2604) 2019-03-01 13:15:02 -05:00
Daniel Schalla
5794a0da4d
[MM-14081] Show MFA Prompt after Server returned error for login request (#2599)
* Show MFA Prompt after Server returned error for login request

* eslint

* Hide MFA error on first login attempt
2019-03-01 19:01:10 +01:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) (#2575)
* iOS Native Share Extension (Swift)

* Re-arrange files

* Fix .gitignore
2019-02-26 14:31:57 -03:00
Dean Whillier
fceca49412
immediately return when connection is offline (#2594) 2019-02-25 16:23:28 -05:00
kosgrz
590c7ed45d [MM-14193] Render emojis in Message Attachment title (#2591) 2019-02-25 13:00:45 -03:00
Miguel Alatzar
e662945b46 [MM-13954] Fix prop type for post reactions (#2578)
* Fix prop type for post reactions

* Update react list test
2019-02-21 21:39:08 +08:00
Elias Nahum
7377665d44 Fix utils reference (#2586) 2019-02-20 17:26:42 -08:00
Elias Nahum
88f5848850
Dependencies update (#2576)
* Dependencies update

* Fix WebView

* Update to RN 0.58.5 and include the WebSocket fix

* Update react-native-video

* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Miguel Alatzar
c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen (#2468)
* Use updated getJoinableTeams function from mattermost-redux

* Use onEndReached for infinite scrolling of paginated teams

* Add onRefresh

* Update Settings screen to expect joinableTeams as array

* Fix linter issues

* Test that page is updated after getTeams() call

* Revert package-lock.json changes

* Update mattermost-redux dependency

* Update mattermost-redux dependency

* Only call getTeams if more can be loaded and only after a previous
call has completed

* Update snapshot due to  prop

* Update CustomList to support refreshing as well as option to not
render the separator

* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08:00
Daniel Schalla
e82146d52f
[MM-10346] Set CSRF Token from Cookie after Login / on App load (#2534)
* Set CSRF Token from Cookie after Login / on App load

* Reset CSRF on Logout

* Simplify cookie value access

* Make Set CSRF Blocking
2019-02-20 17:06:03 +01:00
Ryan Wang
f071deb003 [MM-13975] Add Terms of Service and Privacy Policy Links (#2559)
* [MM-13975] Add terms of service and privacy policy links

* [MM-13975] Address comments
2019-02-20 09:08:07 -05:00
Saturnino Abril
710ae4d601 [MM-14017] Fix whitespace between input box and post list on iOS (#2580)
* fix whitespace between input box and post list on iOS

* corrected viewPosition when pulling down the post list and add constant for thread screen

* corrected changes made to viewPosition
2019-02-19 21:20:16 -08:00
Elias Nahum
a358c7b99b
Fix opengraph and reactions for older servers (#2581) 2019-02-19 19:04:10 -03:00
Chris Duarte
f4761860a1 Don't show confusing versioning message in "Check for Updates" screen when using a beta/testing build or platform config hasn't been updated for prod (#2556)
UI doesn't update when NO_BETA is set
2019-02-20 01:11:41 +05:30
Saturnino Abril
f88c2e2a00
[MM-13295] Make channel link clickable for user who's not member of the public channel (#2466)
* Make channel link clickable for user who's not member of the public channel

* update per review

* update per comment

* remove setChannelDisplayName
2019-02-20 01:45:04 +08:00
Elias Nahum
a0a1fa28ce
MM-13896 Sync channel as read between clients (including opening Push Notifications) (#2548)
* Update mattermost-redux to use latest WS changes

* Properly mark channel as read, keep the new message indicator, and fix push notification flow

* unneeded parameter in setCurrentUserStatusOffline

Co-Authored-By: enahum <nahumhbl@gmail.com>

* Feedback review

* Update mm-redux ref
2019-02-16 15:09:22 -03:00
Chris Duarte
ffe6b9e2ef Deep linking based on channel url; Fix merge conflicts (#2542)
Code cleanup
2019-02-14 13:29:57 -05:00
Dean Whillier
7eb434b256 [MM 13934] Prevent blank mention keys from crashing the app (#2570)
* don’t match blank word boundaries

* test for blank mention keys

* Check for blank mention before looking for match

* account for multiple spaces as a blank mention
2019-02-13 15:05:52 -08:00
Sudheer
fc69daf6e5 Fix alignment of count on channel drawer (#2569) 2019-02-13 20:57:26 +08:00
Martin Kraft
70907d061c
MM-14055: Load the channel even if not joining. (#2567) 2019-02-13 05:35:43 -05:00
Harrison Healey
5eac23ea8c
MM-14001 Don't mount PostBodyAdditionalContent for system messages (#2564) 2019-02-12 15:41:20 -05:00
Dean Whillier
c24ffe8b11
[MM 13720] Fix for "No internet connection" banner not always showing (#2563)
* Add `opacity` to compopnent state …

… to trigger render updates when the property changes.

* Fix bug stopping app from updating connection status

- if the app is opened when no internet connection is present, turning on the internet with the app open will not remove the `No internet connection` message.

* style corrections
2019-02-12 11:06:43 -05:00