Commit graph

651 commits

Author SHA1 Message Date
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
Elias Nahum
6e25dbf04b
Adding CSRF header to file uploads/downloads (#2151) 2018-09-24 10:51:32 -03:00
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
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
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
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
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
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
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
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