Commit graph

616 commits

Author SHA1 Message Date
Sudheer
532e87f6dc MM-11942 Add deactivate user state to more users modal (#2079) 2018-09-06 11:26:26 -03:00
Elias Nahum
c13081ad34 Display trigger word in slash command autocomplete (#2078) 2018-09-05 09:35:28 -04:00
Elias Nahum
688d6579d0
Fix custom emoji render (#2075) 2018-09-05 10:04:59 -03:00
Elias Nahum
82dc62dfc6
Fix Posts cutoff (#2071)
* Remove PixelRatio from emoji

* Fix removeSubclippedViews in emoji picker

* Add system emojis to the store handler

* Pass element to whyDidYouUpdate util

* Fix post avoidable re-renders

* Fix emoji on Android

* Feedback review
2018-09-04 11:53:15 -03:00
Saturnino Abril
fd99e0489c [MM-11928] Fix styling of show more/less on message attachment similar to "long post" (#2070)
* fix styling of show more/less on message attachment similar to "long post"

* change top margin from 0 to 10 of "Show Less" button
2018-09-04 11:52:45 -03:00
Sudheer
0e6ffab1e0 MM-11603 Fix select_team ui to have failed request scenario (#2063)
* MM-11603 Fix select_team ui to have failed request scenario

* Change error title and description
2018-09-04 09:48:22 -03:00
Elias Nahum
c24492be8f
Android notification support for O and P (#2060) 2018-08-30 19:45:21 -03:00
Elias Nahum
3be170f507 Add theming to calendar selector (#2052) 2018-08-30 13:41:05 -04:00
Harrison Healey
07ada67e1a MM-11449 Show OpenGraph previews for pages with any of the required fields (#2054)
* MM-11449 Show OpenGraph previews for pages with any of the required fields

* Update mattermost-redux
2018-08-30 14:18:01 -03:00
Elias Nahum
2a54c00e16
Open file attachment preview when tapping on the filename (#2049) 2018-08-29 17:05:37 -03:00
Jesús Espino
fb37c18c8f MM-11270: Disallow to react to posts in archived channels (#2045) 2018-08-29 14:27:12 -04:00
Elias Nahum
ddc4a3057e Disallow download of all file types on RN apps when disallowed in System Console (#2038) 2018-08-29 14:04:36 -04:00
Elias Nahum
96e9c6c707 Update rn-fetch-blob and CBA support for iOS (#2033)
* Update rn-fetch-blob and CBA support for iOS

* remove trusty

* remove react-native-fast-image dependency
2018-08-29 14:01:37 -04:00
Sudheer
32e5316817 MM-11684 Fix grey highlight in the text fields in user profile (#2034)
* Fix jumpto search highlight
* Change background style to be on view and rest of
input styles to input
2018-08-29 18:14:20 +08:00
Dmitry Samuylov
1ecb209712 Feature/search after before on (#2028)
* initial partial implementation of search date flags UI (on: before: after:)

* Make the calendar show correctly

* dismiss keyboard when showing the date suggestion since this type of input will primarily be entered through the calendar and later edited if needed

* fixed code style errors

* updates as per pull request comments

* fixed eslint errors

* changes as per pull request comments, removing unnecessary code

* added handling for hiding the date filter feature if the server version doesn't support it

* fixed eslint errors

* removed unnecessary property defaults and server version checks, as per PR suggestions

* this default is needed for the initial load of the component

* changed the way we capture the flag from the search string, this handles scenarios where multiple flags might be present in the search string that are handled by the same suggestion component as is the case here with date based flags

* need property declared to pass jslint rules

* eslint style fix, moved regex out into constants

* removed unused code and references

* updated as per pull request feedback

* updated to latest redux version

* changed to new search posts api that supports passing in of time zone utc offset to support date based search flags

* updated to the upcoming release version in preparation for merging to master

* Properly memoize DateSuggestion mapStateToProps

* Remove moment-timezone
2018-08-28 18:01:11 -04:00
Chris Duarte
19efaf92ca Make post_add_channel_member follow theme text style (#2036) 2018-08-28 16:18:14 +08:00
Chris Duarte
b808b3f2e6 Make profile camera icon use theme.centerChannelBg for background (#2035) 2018-08-27 17:52:37 -04:00
Elias Nahum
648082f385 Fix long message not displaying for message attachments in android (#2031) 2018-08-27 16:53:10 -04:00
Martin Kraft
b4ca6421a0 MM-11318: Expands shortened links inline. (#1993)
* MM-11318: Expands shortened links inline.

* MM-11318: Accepts only image/* mime types. Switches to HEAD request.

* MM-11318: Fix for YouTube links.

* MM-11318: Renames function because it handles non-images.

* MM-11318: Checks for unmounted. Doesn't request known youtube redirects.
2018-08-24 15:02:07 -04:00
Elias Nahum
cfbdb23035
Fix Jump to Channel DMs not showing (#2021) 2018-08-22 21:06:18 -03:00
Saturnino Abril
669f0ea1cd use profile image from local after editing a profile image (#1990) 2018-08-16 06:57:23 -07:00
Sudheer
f06e90407a [MM-11487] Add a defensive check for channel obj (#1967)
* [MM-11487] Add a defensive check for channel obj

* Fix review comments

* Add a modal to show feedback to user about failed join

* Fix error message
2018-08-13 10:26:05 -03:00
Sudheer
b76319e9c6 [MM-11170] Remove loader and someone from LHS (#1973) 2018-08-11 12:07:27 -04:00
Sudheer
70f8fb580d [MM-11258] Close keyboard on close of LHS (#1989) 2018-08-09 08:30:15 -04:00
Elias Nahum
22455fe682
Handle YouTube video errors (#1978) 2018-08-08 14:24:47 -04:00
Elias Nahum
dabc24892f
Fix Android timestamp when timezone is not enabled (#1982)
* Fix Android timestamp when timezone is not enabled

* Remove unnecesary comments
2018-08-08 14:24:26 -04:00
Saturnino Abril
1c758e2287 [MM-10918] Filter system_remove_channel messages of a current user based on hiding/showing join/leave messages (#1955)
* filter system_remove_channel messages of a current user based on hiding/showing join/leave messages

* update mattermost-redux

* makes the remove_from_channel/team shows after leave_channel/team

* update per comments

* revert change on mattermost-redux commit to prevent conflict with existing PR
2018-08-07 12:18:09 -04:00
Sudheer
8ab2373d7b [MM-11051] Add a loading_palceholder when user info is loading (#1972)
* MM-11051] Add a loading_palceholder when user info is loading

* Update package json and lock
2018-08-07 10:30:52 -04:00
Saturnino Abril
c1317f0e94 add protection (emoty object) when accessing id after declaring an object. (#1970) 2018-08-07 08:11:50 -04:00
Saturnino Abril
2fe9d8842a [MM-11492] Add protection in accessing ".team_id" field when it's immediately accessed after the object is created (#1963)
* add protection in accessing ".team_id" field when it's immediately accessed after the object is created.

* remove lastChannelId since lastChannel is being checked already
2018-08-03 10:52:43 -04:00
Saturnino Abril
3a70e5c43f add extra protection to those channel/object followed immediately by accessing its "channel_id" field (#1960) 2018-08-01 13:04:58 -04:00
Sudheer
1783bf9731 Fix render prop of replyBarStyle (#1959) 2018-08-01 13:04:36 -04:00
Sudheer
d329c6fb4c [MM-11213] Fix post layout including line spacing for consecutive posts (#1947)
* Fix style issues with consecutive posts

 * Remove commented on message for immediate comment by
   same user.
 * Change replyBar to be on post and not on postHeader

* Fix padding on messages

* Fix date_header spacing

* Fix snapshots

* Change renderReplyBar variable name
2018-07-31 16:21:57 -04:00
Martin Kraft
0d0dfb1057 MM-11070: Adds ability to view archived channels. (#1927)
* MM-11070: Adds ability to view archived channels.

* MM-11070: Switches to existing selector.

* MM-11070: Uses boolean prop instead of object.

* MM-11070: Reuses web translations.

* MM-11070: Adds archived message to thread view. Switches to selector for postIDs of archived channels.

* MM-11070: Removed unused import.

* MM-11070: Removes edit and delete options from longpress of archived posts.

* MM-11070: Moves closure variable.

* MM-11070: Switch from hard-coded to theme color.

* MM-11070: Hides actions in header of archived channels.

* MM-11070: Updates Redux.

* MM-11070: Re-adds the 'Leave Channel' option for archived channels.
2018-07-31 15:27:38 -04:00
Elias Nahum
2f3a6f98ac Fix close setting sidebar when setting status (#1954) 2018-07-31 14:13:20 -04:00
Saturnino Abril
b2f7fcc346 [MM-11454] Update the value of QuickTextInput on componentDidUpdate (#1941)
* update the value of QuickTextInput on componentDidUpdate

* update condition in updating input from props
2018-07-31 11:50:20 -04:00
Chris Duarte
26950abb61 Add deep linking support (#1805) 2018-07-31 08:43:54 -04:00
Sudheer
e45a3a0bb9
[MM-11258] Clear jumpTo focus on drawerClose (#1944)
* Clear jumpTo focus on drawerClose
* Fix conditional if for clearSearch
2018-07-27 12:47:13 +05:30
Harrison Healey
154def4af8 Only update Client4.setAcceptLanguage when locale changes (#1942) 2018-07-26 07:54:33 -04:00
Elias Nahum
c7e1a70236 Recycle the post list (#1938) 2018-07-20 16:58:38 -04:00
Saturnino Abril
59d077a71d fix embedded long URL in message attachment (#1937) 2018-07-20 16:58:18 -04:00
Elias Nahum
b47c7db4dc
Fix cropped images (#1936)
* Fix cropped images

* Unit tests
2018-07-20 13:34:46 -04:00
Saturnino Abril
c714072b9b [MM-11274 & MM-10797] Add profile pop-up to combined system messages and fix it's translation issue (#1926)
* add profile pop-up to combined system messages and fix it's translation issue

* Pushing userlink changes

* add spacing

* fix styling and spacing issue. also removed tests due to transpiling issue

* update per comment
2018-07-20 03:53:23 -04:00
Elias Nahum
f6a1927a27
Fix closing app with Android Back Button (#1933) 2018-07-18 12:20:18 -04:00
Harrison Healey
0d91ef64a1 MM-11207 Fixed wrapping of username in menu (#1930) 2018-07-18 07:22:02 +08:00
Elias Nahum
977575e4b8
Merge pull request #1924 from mattermost/release-1.10
Merge Release 1.10 into master
2018-07-13 09:35:07 -04:00
Elias Nahum
087096de88
Fix autocomplete 2018-07-12 20:28:25 -04:00
Elias Nahum
26389994d7
If slash command fails leave the command in the textbox 2018-07-12 19:21:53 -04:00
Elias Nahum
a8202b8311
Fix regression DMs will not open using jump to (#1920) 2018-07-12 11:18:26 -04:00
Martin Kraft
7675dd1af2 Render escaped HTML in FormattedMarkdownText; no throw error. (#1911) 2018-07-12 14:16:04 +05:30