Commit graph

115 commits

Author SHA1 Message Date
Martin Kraft
204e88a90f Package fix. (#1215) 2017-11-28 11:38:21 -03:00
enahum
87261e9a59
Make layout compatible with iPhone X (#1205)
* Make layout compatible with iPhone X

* feedback review
2017-11-28 09:04:53 -03:00
enahum
f74b8e685d
Channel Peek (#1203)
* Channel Peek

* feedback review
2017-11-27 17:35:32 -03:00
Chris Duarte
be682240f4 Add slash command support (#1190)
* Add slash command support

* Review feedback

* Review feedback 2

* Update to latest redux

* Fix tests
2017-11-23 14:25:03 -03:00
enahum
8b08a44820 RN-526 fix broken analytics (#1183) 2017-11-21 11:01:42 -05:00
enahum
92bc6e73ee Fix document library (#1182) 2017-11-21 10:53:02 -05:00
enahum
e723ed4f7c Upgrade react-native-notifications lib (#1181) 2017-11-21 10:24:14 -05:00
Chris Duarte
e345ee1e7b Add recently used section (#1136)
* Add recently used section and section icons

* Improve section scrolling indication

* Modify Makefile and use onMomentumScrollEnd

* Make sure top section maintains highlight when scrolled to top

* Sort emojis by startsWith then includes when filtering
2017-11-21 10:20:09 -05:00
enahum
bc1554e1bd
Add Document and Video previews (#1170)
* Video file previewer

* Document preview support

* Fix tests

* Feedback review

* feedback review 2

* feedback review 3

* Fix video_controls copyright

* Fix mime undefined
2017-11-20 18:28:20 -03:00
Martin Kraft
7fb4b4f8ed RN-359: Adds edited indicator to post. (#1171)
* RN-359: Adds '(edited)' indicator to post.

* RN-359: Formatting.
2017-11-20 13:24:22 -05:00
enahum
ca5a1e334a
Mark channel as unread if it has a mention (#1172) 2017-11-17 16:44:39 -03:00
enahum
a65811e088
Sync read channels across devices/apps (#1164) 2017-11-16 20:33:03 -03:00
Harrison Healey
d16cbaa8e3 RN-497 Updated commonmark to better handle non-latin characters in URLs (#1160) 2017-11-16 08:18:01 -03:00
Harrison Healey
f260c75f57 Revert "RN-497 Updated commonmark to better handle non-latin characters in URLs" (#1158)
* Revert "Keep search results on data cleanup (#1147)"

This reverts commit 073ddc9d44.

* Revert "Fix Makefile to avoid Platform duplicates in VirtualizedList (#1156)"

This reverts commit 2e9fb7f824.

* Revert "RN-497 Updated commonmark to better handle non-latin characters in URLs (#1153)"

This reverts commit b1d2a0078b.
2017-11-15 13:12:17 -03:00
Harrison Healey
b1d2a0078b RN-497 Updated commonmark to better handle non-latin characters in URLs (#1153) 2017-11-15 09:57:19 -03:00
enahum
61480c4df5
Upgrade mattermost-redux (#1144) 2017-11-14 11:28:39 -03:00
enahum
8ab31c885c
Fix iOS RN notification lib (#1128) 2017-11-13 09:15:21 -03:00
enahum
380f5d884a
RN-466 DND status support (#1115)
* DND status support

* Feedback review
2017-11-10 12:51:33 -03:00
Harrison Healey
aeac45e64e RN-492 Added fallback to default theme colours when missing from custom theme (#1121) 2017-11-09 16:05:41 -03:00
Harrison Healey
3f91a8f25c
RN-485 Stopped returning null post ID arrays when not logged in (#1118)
RN-470/RN-485 Stopped returning null post ID arrays when not logged in
2017-11-09 11:46:34 -05:00
enahum
b649dada6f RN-13 Scroll to New messages indicator (#1110) 2017-11-09 08:50:04 -06:00
enahum
9910e3438d
Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
enahum
7c8f735b3b
Merge Build 62 into master (#1090)
* Use ImageBackground for youtube videos instead of nested Images

* Fix bugs reported by sentry (#1081)

* Update Mattermost redux (#1086)

* Fix middleware

* Upgrade mattermost-redux

* another middleware fix

* RN-456 when a channel is left we update content and title (#1087)

* Version Bump to 62 (#1088)

* Version Bump to 62 (#1089)
2017-11-02 17:53:20 -03:00
enahum
27713322e3 Fixed Search bugs and avoid re-renders (#1047)
* Fixed Search and avoid re-renders

* Feedback review

* Feedback review
2017-10-24 17:02:09 -04:00
enahum
dec442a4a4 Babel plugin to remove console.* in production (#1048) 2017-10-23 09:01:43 -03:00
Harrison Healey
0e4f9d5825 Changed to pass IDs to PostList instead of posts (#1036)
* Moved PostList to take a list of postIds instead of posts

* Removed usage of selectors that return posts from ChannelPostList and Thread

* Fixed search and switched to use getPostIdsAroundPost selector

* Removed use of selectors that returned posts from emoji reactions

* Updated makePreparePostIdsForPostList to be better memoized

* Fixed filter of join/leave messages

* Added unit tests for makePrepaprePostIdsForPostList

* Check if post edit/delete should be enabled more often

* Updated mattermost-redux version in yarn.lock
2017-10-20 18:58:44 -03:00
enahum
46bdeb6031 RN-428 Drawer panResponder offset (#1029)
* drawer panResponder offset

* Cleanup

* Update mattermost-redux
2017-10-17 15:51:01 -03:00
enahum
cc966702fd Improve performance of the channel drawer (#1023)
* Improve performance of the channel drawer

* Feedback review

* Fix makefile

* Feedback review 3

* Fix areStatesEqual

* Fix Android SVG
2017-10-17 10:06:28 -07:00
Harrison Healey
196d5d61fb RN-268 Fixed teams not being correctly marked as read (#1008) 2017-10-16 11:04:19 -03:00
enahum
2fe78a0b71 Update react-native-notifications (#1019) 2017-10-16 11:03:53 -03:00
Harrison Healey
a9489dcc5f Replace getTheme selector with one from mattermost-redux (#1013) 2017-10-12 08:45:17 -07:00
enahum
f50b2b9412 Improving Performance Part 3 (#1011)
* Update mattermost-redux

* Tap on Deleted post to remove it

* Improvements when rendering post additional content

* Avoid unnecessary re-renders on the post list component

* Avoid unnecessary re-renders on the channel post list component

* Avoid unnecessary re-renders on the channel screen

* Feedback review
2017-10-11 14:54:13 -03:00
enahum
dabad3eca6 Improving Performance Part 1 (#1009)
* Dispatch retry failed action | fix refreshing state | change postVisibility to 15

* Improve channel switching

* Improve handling of visible tooltip

* Improve watching for status bar height changes

* Remove unnecessary mapStateToProps from code screen

* Use drawer native functions to open/close instead of state

* Feedback review
2017-10-11 14:33:26 -03:00
enahum
4c9050198e Multiple performance improvements (#956)
* Update fastlane

* Multiple performance improvements

* Feedback review

* Feedback review
2017-10-05 10:25:15 -03:00
enahum
fb773f04cb Multiple performance improvements (#956)
* Update fastlane

* Multiple performance improvements

* Feedback review

* Feedback review
2017-10-02 16:03:13 -03:00
Harrison Healey
f687c8ad8c RN-369 Added a maximum depth to the markdown renderer (#942)
* RN-369 Added a maximum depth to the markdown renderer

* Updated yarn.lock
2017-10-02 16:03:13 -03:00
Harrison Healey
cc1347a61b RN-298 Fixed profile pictures not being shown when creating new group message channel (#939) 2017-09-27 10:44:40 -03:00
enahum
271a757505 Refactor channel swiper (#933)
* Refactor channel swiper

* Feedback review

* clean up

* another feedback review

* Remove unnecessary props

* clean up initialState
2017-09-25 14:40:30 -03:00
enahum
a5eecb9fb3 Fix channel_updated WS event (#924) 2017-09-22 11:10:43 -03:00
enahum
59762e4fac Use mattermost-redux favorite and unfavorite actions (#921) 2017-09-20 10:39:25 -07:00
enahum
0628cbc693 Upgrade to RN 0.48.3 (#911)
* Upgrade to RN 0.48.1

* Update deps to be exact

* Fix tests

* Remove unneeded code from setup and add socketcluster dep

* Fix drawer pan issue

* Fix bridge issues on iOS

* Upgrade to RN 0.48.3

* Search to use RN SectionList
2017-09-18 12:01:47 -04:00
enahum
19502f9aaa RN-344 open push notifications faster (#899) 2017-09-13 12:00:33 -03:00
enahum
7aebcbd52e Link Previews (#890)
* Link previews, Image previews and YouTube

* Install cocoapods dependencies
2017-09-12 15:06:19 -03:00
Harrison Healey
206aa79e3c PLT-7553/RN-319 Updated commonmark.js (#888) 2017-09-12 09:29:33 -03:00
enahum
97969717fa Release 1.2 (#883)
* RN-73 Fixed code block text colour being incorrect (#868)

* RN-220 Add "in:" and "from:" search modifiers (#869)

* Fix search and search preview

* Add "in:" and "from:" search modifiers

* Version Bump to 49 (#875)

* Version Bump to 49 (#876)

* Update minimum server version (#878)

* translations PR 20170905 (#882)
2017-09-05 16:13:33 -03:00
Harrison Healey
3ac7b48adc RN-289 Sentry integration (#873)
* Added JS code for Sentry

* Removed leftover initializeSentry call

* Added SentryOptions config setting

* Added native components for react-native-exception-handler

* Removed default props from ErrorText

* Moved where Sentry is initialized

* Added ios/sentry.properties to .gitignore

* Added linking react-native-sentry to Fastlane

* Fixed fastlane to include newlines in sentry.properties

* Moved to manually link react-native-sentry

* Captured redux errors with Sentry

* Redid how Sentry is optionally compiled to be simpler

* Added Sentry middleware to create redux breadcrumbs

* Added Sentry tags for server version

* Initialize Sentry when testing

* Fixed string replacement for SentryEnabled in fastlane

* Added react-native-sentry to NOTICE.txt
2017-09-01 14:50:17 -03:00
Chris Duarte
220fb588b9 RN-80 Add ability to download files (#866)
* RN-80 Add ability to download files

* Add android permission check and toasts

* Add check for ability to download from config
2017-09-01 12:11:49 -03:00
enahum
60087e6b4d Enable replying from the push notification (#871)
* Enable replying from the push notification

* Fix Android and iOS flow

* Own review
2017-08-29 12:16:34 -03:00
Chris Duarte
bffc75f8d1 RN-223 Emoji picker for adding new emoji reactions (#854)
* RN-223 Emoji picker for adding new emoji reactions

* Remove redundant setServerVersion and fetch custom emojis on reset

* Review feedback

* Review feedback 2

* Review feedback 3

* Review feedback 4

* Change aliases to array and add header to image source

* Remove aliases from custom emojis
2017-08-23 15:29:09 -03:00
enahum
b8d8be78d5 Fetch images using APIv4 (#862) 2017-08-22 22:23:10 -03:00