Commit graph

1228 commits

Author SHA1 Message Date
Elias Nahum
b9e9003195
do not wait for rehydration is credentials are false (#2312) 2018-11-05 15:25:35 -03:00
Elias Nahum
e25a1939fc
Set the file prefix in image_cache_manager (#2313) 2018-11-05 15:24:30 -03:00
Elias Nahum
071653aa51
Keep connection as active when retrying teams (#2314) 2018-11-05 15:19:28 -03:00
Harrison Healey
a042cd043e
MM-12880 Properly link the next sibling following a combined text node (#2307) 2018-11-05 10:23:27 -05:00
Elias Nahum
73b8b49c81
Fix reaction list header item border (#2317) 2018-11-05 11:23:58 -03:00
Elias Nahum
9a5122c19c
Slide up panel for reaction list (#2285)
* Slide up panel for reaction list

* Feedback review

* UI Feedback review

* Feedback review

* Improve slide speed and fix end position

* Scroll to top when changing reaction view

* dismiss modal without animation so backdrop does not scroll down

* Smooth animation to show/hide

* Change animation speed
2018-11-02 13:21:43 -03:00
Elias Nahum
9dcf9e6a86
Show join teams option in the team sidebar when there are other joinable teams (#2293) 2018-10-31 14:07:59 -03:00
Elias Nahum
e6f70707cc
Allow channel drawer to close when showing the team list (#2290)
* Allow channel drawer to close when showing the team list

* prevent closing the sidebar when jump to is active

* Add proper header to drawer_layout.js
2018-10-31 13:40:22 -03:00
Elias Nahum
2f7705609f
Fix team utils test eslint (#2295) 2018-10-30 15:48:58 -03:00
Elias Nahum
bfdd0f7b42
Add padding to tap effect for team list item (#2291) 2018-10-30 09:48:36 -03:00
Harrison Healey
d18cab144e
MM-12467 Made borders between autocomplete items consistent (#2289) 2018-10-29 15:22:39 -04:00
Elias Nahum
9db040bcf7
Retry fetching teams if no teams are found (#2288)
* Retry fetching teams if no teams are found

* Remove flow
2018-10-27 00:50:19 -03:00
Elias Nahum
94ddee15b2
Capture video in high quality (#2287) 2018-10-27 00:49:04 -03:00
Saturnino Abril
b763c92fc1 refactor ChannelLink and add test into it (#2280) 2018-10-19 08:59:33 -03:00
Sudheer
7a65d83894
Use native transition on drawyerLayout component (#2278) 2018-10-19 01:56:29 +05:30
Harrison Healey
78e5b99884
MM-5957 Add mention highlighting on mobile (#2277)
* Switch pullOutImages to use a NodeWalker

* Add markdown transformer to combine adjacent text nodes

* MM-5957 Add mention highlighting on mobile
2018-10-18 14:12:25 -04:00
Elias Nahum
5240e83bbb
Hook the onMessage event only when needed (#2271) 2018-10-18 12:11:48 -03:00
Elias Nahum
729d69a541 Add ability to include custom headers with requests (#2273)
* Add ability to include custom headers with requests

* feedback review

* Feedback review
2018-10-18 19:47:11 +08:00
Elias Nahum
640f0151b2
Fix backgroundColor when updating the theme in real time (#2268) 2018-10-15 21:31:17 -03:00
Elias Nahum
fe7c73d5a5
Fix Upload file size (#2252) 2018-10-15 21:29:43 -03:00
Nick Frazier
e6062d5e26 Allow 'view members' for GMs (#2265) 2018-10-15 14:13:52 -03:00
Sudheer
1b54e1ebe3
Fix for LHS populating you next to current user (#2263)
* Fix for LHS populating you next to current user

* Add test cases
 * Refactor to use avaiable props conditions in component
   instead of passing flags from connector
2018-10-15 21:00:11 +05:30
Elias Nahum
dcf5004acd Fix uploading iOS videos (#2260) 2018-10-12 17:32:18 +08:00
Elias Nahum
e3f531e232 Scroll search results to the top (#2241) 2018-10-12 13:16:41 +05:30
Elias Nahum
85d9cd8348
Fix crash when loading the permalink view (#2258) 2018-10-11 16:52:42 -03:00
Sudheer
bcad54b6ff
MM-12652 Fix for android thread crash (#2257) 2018-10-12 00:35:48 +05:30
Elias Nahum
a78482c942
Set explicit white background to icon previews (#2256) 2018-10-11 15:31:34 -03:00
Sudheer
3eb66c591e
MM-12491 Fix archive channels staying in LHS (#2253)
* Add isArchived flag for all DM's and channels
 * Exclude search results from channel_list component to show
   results when isSearchResult flag is set
   This is to let user search for deactivated users from jumpto
2018-10-11 23:12:17 +05:30
Harrison Healey
cfb372f75a
MM-11157 Switch ESLint to use eslint-config-mattermost (#2247) 2018-10-11 13:35:25 -04:00
Elias Nahum
b20e976dff
Properly handle max file size (#2248)
* Properly handle max file size

* Feedback review
2018-10-11 14:11:05 -03:00
Elias Nahum
de7878ec78 Set Roboto as the default font family for Android (#2244) 2018-10-11 19:33:11 +05:30
Martin Kraft
dda2e002e0
MM-11589: Adds 'View Members' button to archived channels. (#2200)
* MM-11589: Adds 'View Members' button to archived channels.

* MM-11589: Adds menu item separator line.

* MM-11589: Keeps ability to manage users of an archived channel.
2018-10-11 07:29:48 -04:00
Sudheer
97979d89f3
MM-12560 Fix for infinite loading indicator for thread from search (#2246)
* MM-12560 Fix for infinite loading indicator for thread from search

* Change tests
2018-10-10 23:59:32 +05:30
Elias Nahum
9e8bebe942
Do not show the option to copy post if there is no text (#2240) 2018-10-10 08:43:49 -03:00
Martin Kraft
224e5a9139
MM-12552: Adds parameter to include archived channel search results. (#2237) 2018-10-09 16:10:16 -04:00
Elias Nahum
1c40604a70
Fix update keywords field on Android (#2229) 2018-10-09 11:56:35 -03:00
Elias Nahum
2968b0da7a
Fix KeyboardAvoidView for android (#2226) 2018-10-09 11:54:31 -03:00
Harrison Healey
926856f9a5
MM-11477 Use custom thunk middleware to intercept leaked network errors (#2222)
* MM-11477 Use custom thunk middleware to intercept leaked network errors

* MM-11477 Always include url in Client4 errors

* Update redux
2018-10-09 10:13:28 -04:00
Saturnino Abril
953a087948
Add deactivated to separate row on user list and fix truncating user info (#2232) 2018-10-09 20:50:34 +08:00
Saturnino Abril
6b312df268
add opacity of 0.3 to circle stroke of offline status (#2233) 2018-10-09 20:46:49 +08:00
Elias Nahum
f9e49d8c66
Missing translations on login screen (#2227) 2018-10-08 12:26:12 -03:00
Saturnino Abril
bc54c6e0dd
[MM-12550] Fix hangup on permalink view when user deleted the post in it (#2228)
* fix hangup on permalink view when user deleted the post in it

* return null when no need to change state on getDerivedStateFromProps
2018-10-08 23:13:41 +08:00
Elias Nahum
43cdaa81a5
Fix Option to capture and share video (#2225) 2018-10-05 17:46:47 -03:00
Elias Nahum
811f3edd50
Reset isLoadingMoreTop flag when switching channels (#2224) 2018-10-05 17:45:40 -03:00
Harrison Healey
4e251d392a
MM-12189 Set autocomplete max height based off available space (#2218)
* MM-12189 Set autocomplete max height based off available space

* Have each autocomplete type determine its own max height since DateSuggestion needs more space

* Remove unused props and ref
2018-10-05 09:58:05 -04:00
Saturnino Abril
dd506d4c9f
fix issue that blocks adding test for thread screen (#2221) 2018-10-05 14:46:21 +08:00
Elias Nahum
fa5efd4007
Revert "image thumbnail not centered (#2210)" and fix it properly (#2219)
This reverts commit 5f31374e74.
2018-10-04 19:41:41 -03:00
Elias Nahum
db2b79f0a9
Fix search screen from braking and improved how to get more results (#2215)
* Fix search screen from braking and improved how to get more results

* Update mattermost-redux
2018-10-03 16:15:55 -03:00
Joram Wilander
10a1e93e7d MM-12348 Persist interactive menu choices past channel switch and share with thread view (#2207)
* Persist interactive menu choices past channel switch and share with thread view

* Remove unneeded async
2018-10-03 15:08:05 -03:00
Sudheer
5323be6a52 MM-12301 Add padding for error text on edit profile screen (#2214) 2018-10-03 15:06:42 -03:00
Elias Nahum
5f31374e74 image thumbnail not centered (#2210)
* image thumbnail not centered

* feedback review
2018-10-04 01:37:59 +08:00
Martin Kraft
12e822836d MM-12061: Fixes component name typo and adds missing param. (#2199) 2018-10-03 09:33:52 -04:00
Saturnino Abril
df0200111d fix empty space on link preview when title and URL is not present in open graph meta (#2197) 2018-10-03 09:32:35 -04:00
Elias Nahum
29d975ceef Draft channel indicator to ignore message with whitespaces only (#2209) 2018-10-03 08:44:32 -04:00
Harrison Healey
f5d1c3c434
MM-12424 Remove unused props from KeyboardLayout and simplify methods (#2203)
* MM-12424 Remove unused props from KeyboardLayout and simplify methods

* Update snapshots
2018-10-02 17:12:21 -04:00
Sudheer
46143df823
MM-12347 Fix crash of app when accessing jumpTo (#2205) 2018-10-02 22:51:59 +05:30
Harrison Healey
8a2049f2ab
Hide warnings caused by React Native (#2202) 2018-10-02 09:23:22 -04:00
Saturnino Abril
b594d58572
fix empty reaction row when profile is missing (#2196) 2018-10-01 18:38:17 +08:00
Saturnino Abril
3c99672af5
Update unit test: use default theme, snapshot on wrapped elements and removal of unnecessary adapter (#2171)
* use default theme when unit testing the component

* update snapshots by getting wrapped elements only

* fix merge conflicts
2018-10-01 15:11:00 +08:00
Saturnino Abril
2cf3ac18f5
fix blank space on link preview when no site name (#2193) 2018-10-01 15:06:31 +08:00
Saturnino Abril
1fbfe33a22
add border to image of link preview and not allow such image width to exceed the view port width (#2189) 2018-10-01 09:34:30 +08:00
Elias Nahum
b3738ffd58 Do not show a loading spinner if thread has root post loaded (#2186)
* Do not show a loading spinner if thread has root post loaded

* Feedback review

* Remove additional condition
2018-09-28 10:54:41 -04:00
Saturnino Abril
bf36a7533e [MM-12145] Make user info of user list on two rows: first with username and second with teammate display (#2185)
* make user list row on two columns: first is username, second is teammate display

* move style of filler
2018-09-28 11:36:43 -03:00
Christopher Speller
cd38d8690f Switching broken image error text to icon. (#2156) 2018-09-28 10:28:40 +08:00
Elias Nahum
637df1df63
Get more search results only if value is set 2018-09-27 15:57:04 -03:00
Jesús Espino
2a75ee022c
MM-11606: Back to prev channel on close archived channel (#2183) 2018-09-27 19:02:02 +02:00
Jesús Espino
9bd89930b7
MM-11567: Autocomplete search in: for DMs and GMs (#2133)
* MM-11567: Autocomplete search in: for DMs and GMs

* More robust behavior on older versions and a fix on autocompletion

* Moving get display_name for search to a selector
2018-09-27 18:38:07 +02:00
Jesús Espino
9668bdc894
MM-11577: Back to previous channel on archive (#2172)
* MM-11577: Back to previous channel on archive

* Add last mattermost-redux version
2018-09-27 18:15:45 +02:00
Saturnino Abril
ce47c23100
[MM-9490] Add reaction list (#2125)
* add reaction list

* update styles and add tests

* update styles

* update per comment
2018-09-27 21:54:17 +08:00
Elias Nahum
48b945d6f9
Localization support for the calendar (#2182) 2018-09-27 10:40:21 -03:00
Elias Nahum
eab1ab7c0c Add support for new iPhone models in missing places (#2180) 2018-09-27 09:16:19 -04:00
Sudheer
13aaefa0ac [MM-11988] Fix File Upload loading progress indicator alignment (#2181) 2018-09-27 15:15:45 +02:00
Harrison Healey
3e675ce7a2
MM-10273 Always focus search input when first opening (#2174) 2018-09-27 08:40:35 -04:00
Elias Nahum
028d527905
Fix config fetch loop when HA config mismatch (#2164) 2018-09-26 17:09:24 -03:00
Elias Nahum
14422f33a5 Fix Android previewer download option (#2157)
* Fix Android previewer download option

* Feedback review
2018-09-26 15:53:30 -04:00
Christopher Speller
2f9e273923 Adding paging for elasticsearch results. (#2154) 2018-09-26 15:38:47 -03:00
Elias Nahum
2567b7dc04
Add draft indicator to the channel item (#2150)
* Add draft indicator to the channel item

* Feedback review
2018-09-26 12:17:54 -03:00
Elias Nahum
4cebbfdc94 Fix YouTube play button position (#2160) 2018-09-26 11:14:51 -04:00
Elias Nahum
f522df7a2e Refactor postlist to include Android Pie fixes and smoother scrolling (#2161) 2018-09-26 10:43:33 -04:00
Elias Nahum
f7c7e70a37 Fix SSO error display (#2158) 2018-09-26 10:40:28 -04:00
Elias Nahum
e6c37e5e69 Do not fetch image if file.id is not present (#2165) 2018-09-26 10:26:35 -04:00
Elias Nahum
452b97231d Remove bottom margin in the channel drawer (#2168) 2018-09-26 13:23:22 +08:00
Elias Nahum
0e15692f13 Add support for iPhone XR, XS and XS Max (#2153) 2018-09-25 14:03:05 -04:00
Harrison Healey
45b8d97168 Use defaultProps to ensure postIds prop exists for ChannelPeek (#2159) 2018-09-25 11:47:28 -03:00
Elias Nahum
6e25dbf04b
Adding CSRF header to file uploads/downloads (#2151) 2018-09-24 10:51:32 -03:00
Elias Nahum
0edcc139f4 Make the image preview smoother (#2147)
* Make the image preview smoother
2018-09-24 12:53:40 +05:30
Jesús Espino
8884293b18 Add t() translation mark to i18nable strings and update translations (#2026)
* Add t() translation mark to i18nable strings and update translations

* Small fixes

* Adding  to the packager

* Rebase fixes

* Added missed texts
2018-09-21 11:25:38 -03:00
Sudheer
5fb9b5427e
MM-12199 Add a check for loading on threads (#2146) 2018-09-21 19:24:23 +05:30
Sudheer
a6e15320d4 MM-11974, MM-11980 Add deactivated user to LHS search (#2080)
* MM-11974, MM-11980 Add deactivated user to LHS search

 * Add (you) to current user in jumpto search

* Change to use old format of objects for non-search results

* Remove deactivated when searched using JumpTo

  * Use archive icon in JumpTo Search for deactivates users

* Update snapshots

* Change snapshots to use getElement

* Fix snapshot
2018-09-21 21:06:33 +08:00
Saturnino Abril
63196936d0
MM-12258 Update snapshots to only compare against the elements and not the bloated objects (#2140)
* update snapshots to only compare against the elements and not the bloated objects

* resolve conflicts to master
2018-09-21 16:07:37 +08:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 (#2131) 2018-09-20 19:05:41 -03:00
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus (#2099)
* Add interactive action menus

* Add snapshot tests

* Updates per feedback

* Update styling of menu action

* Updates per feedback

* Update submitted message color

* Update snapshots
2018-09-20 14:01:51 -04:00
Elias Nahum
46b6687d1f Show local notification when replying to PN fails (#2142) 2018-09-21 00:58:21 +08:00
Joram Wilander
1d37f9bbec Close channel autocomplete if multiple tildes are typed (#2138) 2018-09-20 12:36:37 -04:00
Saturnino Abril
858c8e8435 [MM-12016] Add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested) (#2144)
* add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested)

* remove null check to openGraphData on renderDescription
2018-09-20 11:45:23 -03:00
Elias Nahum
ce0fc1a2d9 Fix can download file for documents in preview screen (#2141) 2018-09-20 14:27:44 +05:30
Jesús Espino
f9d9edecdf
MM-12004: Hide the archived messages on search results when ViewArchivedChannels is disabled (#2137) 2018-09-18 18:49:10 +02:00
Saturnino Abril
b75aa36554 Fix build error on Hashtag component (#2134)
* fix build error on Hashtag component

* update commonmark-react-renderer
2018-09-18 12:27:41 -03:00
Sudheer
710ce17a19
MM-12038 Fix attachment icon styling (#2115)
* MM-12038 Fix attachment icon styling

  * Fix attachment icon background-color.
  * Fix attachment icon alignment when downloading.
2018-09-18 20:51:04 +05:30
Harrison Healey
ecf25969cc Fix version of commonmark-react-renderer in package.json (#2136)
* Fix version of commonmark-react-renderer in package.json
2018-09-18 20:37:49 +05:30
Harrison Healey
578f204784 MM-10273 Add hashtag support (#2106)
* MM-10273 Add hashtag support

* Put hashtag search in a proper modal

* Change hashtag search style to match regular search

* Move Hashtag component and explicitly pass props

* Add unit tests for Hashtag component

* Fix merge conflict
2018-09-17 17:17:20 -03:00
Elias Nahum
07f88071c6
Update dependencies (#2040)
* Update dependencies

* Update snapshots
2018-09-17 10:22:38 -03:00
Elias Nahum
6471bcbed3
Merge pull request #2130 from mattermost/release-1.12
Merge Release 1.12
2018-09-17 09:12:27 -03:00
Elias Nahum
2f88ae2f3c Fix mention keywords setting (#2127) 2018-09-17 13:34:24 +05:30
Elias Nahum
24185dc47d
Fix post background color from getting stuck (#2126) 2018-09-15 19:27:49 -03:00
Jesús Espino
280577dbc7 MM-11725: Using the new server endpoint to autocomplete channels (#2100)
* MM-11725: Using the new server endpoint to autocomplete channels

* Fixing suggestions from the PR

* Updating mattermost-redux dependency

* Removing unnecesary Client4.getServerVersion usage
2018-09-14 15:06:11 -04:00
Sudheer
5aac68e785 Change rn-fetch-blob to mock globally in jest (#2124) 2018-09-14 12:14:37 -03:00
Sudheer
92218659d5
MM-11614 Add Nickname to user profile (#2123) 2018-09-14 19:54:44 +05:30
Elias Nahum
e4ecab97e4
Merge pull request #2122 from mattermost/release-1.12
Merge Release 1.12
2018-09-14 11:13:30 -03:00
Saturnino Abril
0afdbdd0f9 remove backgroundColor from styles.video of Android share extension that's causing app to crash (#2119) 2018-09-14 09:10:10 -03:00
Elias Nahum
5c0e4acf2a
Merge pull request #2118 from mattermost/release-1.12
Merge Release 1.12
2018-09-13 18:40:17 -03:00
Elias Nahum
48a311344c
Fix drawer stutter when jumping to a DM or joining a channel (#2113) 2018-09-13 16:27:45 -03:00
Elias Nahum
a873640e41
Fix Option modal items tap effect off center (#2109)
* Fix Option modal items tap effect off center

* Add snapshot
2018-09-13 09:57:54 -03:00
Elias Nahum
f71ea2814b
Merge pull request #2112 from mattermost/release-1.12
Merge Release 1.12
2018-09-13 09:32:42 -03:00
Elias Nahum
5f17a48f4c
Fix unable to delete file cache in Android (#2108) 2018-09-12 18:22:29 -03:00
Elias Nahum
8d21000b9f
Fix unable to delete file cache in Android (#2108) 2018-09-12 16:16:38 -03:00
Elias Nahum
068e0674a1
Fix okta login (#2107)
* Fix okta login

* Feedback review
2018-09-12 14:46:07 -03:00
Elias Nahum
1c5bbbd996
Merge pull request #2105 from mattermost/release-1.12
Merge Release 1.12
2018-09-11 19:14:37 -03:00
Harrison Healey
675c440cd7 MM-12109 Fix handling of return value of getRedirectLocation (#2102) 2018-09-11 18:28:55 -03:00
Harrison Healey
3005a39f07 MM-12109 Switch to using server API to determine redirect location (#2097)
* Switch to using server API to determine redirect location

* Update redux to add version check for getRedirectLocation
2018-09-11 18:06:13 -03:00
Elias Nahum
b096ea0a03
Fix iOS tap on post (#2095) 2018-09-11 08:31:42 -03:00
Harrison Healey
a434063512 MM-12025 Use KeyboardLayout in more places and have it change height instead of moving upwards (#2098)
* MM-12025 Switch KeyboardLayout to change height instead of moving child upwards

* MM-12025 Use KeyboardLayout in more places

* Update snapshots
2018-09-11 08:31:20 -03:00
Elias Nahum
f1274e4977
Merge pull request #2094 from mattermost/release-1.12
Merge Release 1.12 into master
2018-09-07 20:06:22 -03:00
Elias Nahum
5d9c3d7b3d
Search Fixes (#2090)
* MM-11996 date filter

* MM-12041 do not reopen keyboard after search
2018-09-07 19:02:40 -03:00
Saturnino Abril
059db1a788
fix warnings in running jest test (#2087) 2018-09-07 23:05:35 +08:00
Elias Nahum
8e9146e5c9
fix contextOption for post (#2086)
* fix contextOption for post

* feedback review
2018-09-07 11:35:19 -03:00
Elias Nahum
9ca10dc719 Make sure opengraph displays images (#2083)
* Make sure opengraph displays images

* Revert change for IMAGE_MAX_HEIGHT constant
2018-09-07 09:06:22 -04:00
Jesús Espino
db898694a5 MM-11725: Filter archived channels by membership on search autocomplete (#2066)
* MM-11725: Filter archived channels by membership on search autocomplete

* Fixing PR suggestions
2018-09-07 06:51:36 -03:00
Sudheer
c6ea5e6024 MM-11603 Add a retry screen when fetching teams fails (#2085) 2018-09-06 20:35:50 -03:00
Dmitry Samuylov
b1dff8aa04 enable arrows on the calendar for date search flags (#2084) 2018-09-06 15:04:07 -03:00
Harrison Healey
57a2d3103d MM-11968 Fix uppercase at mentions (#2082) 2018-09-06 14:46:23 -03:00
Saturnino Abril
9bd46b48ce add bottom margin of 10 to "show more/less button" (#2081) 2018-09-06 14:46:07 -03:00
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
Dmitry Samuylov
9deeb86e1e bug fix: use user's timezone setting for search date flags (#2067) 2018-09-04 11:52:16 -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
Jesús Espino
2d695c2269 MM-11728: Reload channel on archived channel errors (on edit and archive channel) (#2064) 2018-09-03 12:49:59 -03:00
Saturnino Abril
dbd77b87e0 fix email notification setting on Android (#2065) 2018-08-31 09:38:36 -04: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
Elias Nahum
ebe7317c5f Check if post.data has values bofore joining a channel (#2050) 2018-08-30 03:19:01 +08:00
Elias Nahum
a14a220d14
Gracefully handle http and https redirection (#2044)
* Gracefully handle http and https redirection

* tests

* Feedback review

* Default retry to true
2018-08-29 16:00:35 -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
Saturnino Abril
320f1d9c91 fix email notification settings (#2051) 2018-08-29 14:25:09 -04:00
Chris Duarte
4b6bd70db5 Make sure team is passed to initial getProfilesInTeam call (#2043) 2018-08-29 14:14:57 -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
Chris Duarte
68847d91a0 Keep server version after cache clear (#2042) 2018-08-29 23:15:28 +05:30
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
8120867850 Fix network change status (#2032)
* Fix network change status

* Use the exposed action form redux-offline
2018-08-27 16:54:20 -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
Martin Kraft
9b238781c0 MM-11721: Updates archive channel button icon. (#2030)
* MM-11721: Updates archive channel button icon.

* MM-11721: Changes color of archive channel icon to red.
2018-08-24 13:39:26 -03:00
Elias Nahum
cfbdb23035
Fix Jump to Channel DMs not showing (#2021) 2018-08-22 21:06:18 -03:00
Elias Nahum
c1842c886b
Merge pull request #2019 from mattermost/release-1.11
Merge Release 1.11 into master
2018-08-17 11:19:44 -03:00
Elias Nahum
830132bc38
Add a timeout to avoid race conditions when opening the app from a push notification (#2015) 2018-08-17 08:55:35 -03:00
Saturnino Abril
669f0ea1cd use profile image from local after editing a profile image (#1990) 2018-08-16 06:57:23 -07:00
Elias Nahum
b59092e1e8
Merge pull request #2014 from mattermost/release-1.11
Merge Release 1.11 into Master
2018-08-16 09:40:52 -03:00
SangJun Lee
e1a62ee0de Fix app crashes on iOS 9.3 (#2005) 2018-08-15 15:09:29 -03:00
Elias Nahum
7dfd377aef
Merge pull request #2003 from mattermost/release-1.11
Merge Release 1.11 into master
2018-08-13 16:34:24 -03: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
Elias Nahum
1ec8dd4577
Fix video playback when filename contains spaces (#1997)
* Fix video playback when filename contains spaces

* Feedback review
2018-08-13 10:19:29 -03:00
Saturnino Abril
6b1429d316 clear search after selecting a user 2018-08-13 20:51:49 +08:00
Sudheer
b76319e9c6 [MM-11170] Remove loader and someone from LHS (#1973) 2018-08-11 12:07:27 -04:00
Elias Nahum
f2d21f585c
Fix About dialog layout (#1985) 2018-08-09 08:32:47 -04:00
Sudheer
70f8fb580d [MM-11258] Close keyboard on close of LHS (#1989) 2018-08-09 08:30:15 -04:00
Elias Nahum
80d206baf2
Do not close permalink view when post is deleted (#1987) 2018-08-09 08:29:57 -04:00
Elias Nahum
95ec582849
Fix session expired notification (#1986) 2018-08-09 08:29:38 -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
Elias Nahum
c7807d910a
Clear Cookies before login in with SSO (#1984) 2018-08-08 12:53:44 -04:00
Harrison Healey
34a37cef05 MM-11477 Ensure client calls are wrapped with error handling (#1976) 2018-08-07 13:11:48 -04:00
Harrison Healey
979b80d34f MM-11477 Fix error in breadcrumb generation and parse URL correctly (#1977) 2018-08-07 13:05:59 -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
Harrison Healey
b01849be39 MM-11477 Attempt to capture uncaught redux errors as Sentry breadcrumbs (#1974) 2018-08-07 10:32:04 -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
Elias Nahum
102faceb2b
Wrap set credentials for the keychain in a try/catch (#1962)
* Wrap set credentials for the keychain in a try/catch

* Only wrap the setGenericPassword method
2018-08-02 15:44:30 -04:00
Elias Nahum
5bed4d7400
translations PR 20180802 (Adds Romanian) (#1964)
* translations PR 20180802

* Add Romanian
2018-08-02 12:27:23 -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
Saturnino Abril
1a822ee547 set default value whenever the getPreference returns null or undefined (#1958) 2018-08-01 13:04:22 -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
Harrison Healey
0f84f4752d Fixed warnings on login screen (#1949) 2018-07-28 14:25:27 +08: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
Harrison Healey
0272cd5d47 MM-11421 Add max lengths when editing user profile fields (#1940) 2018-07-25 14:20:22 +05:30