Commit graph

95 commits

Author SHA1 Message Date
enahum
979e899051 Fix iOS RN notification lib (#1128) 2017-11-15 18:18:46 -03:00
enahum
ce05b9c98b
RN-456 when a channel is left we update content and title (#1087) 2017-11-02 17:16:08 -03:00
enahum
388294a124
Update Mattermost redux (#1086)
* Fix middleware

* Upgrade mattermost-redux

* another middleware fix
2017-11-02 16:09:53 -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
enahum
cd5fb71681 Appconfig support for iOS and Android (#856)
* AppConfig support for iOS

* AppConfig support for Android

* Fix typo

* Java feedback review
2017-08-18 12:19:00 -04:00
Harrison Healey
f720b96f88 RN-177 Updated commonmark.js to match web app list behaviour (#848) 2017-08-11 16:45:39 -04:00
enahum
d9b76386c0 RN-288 Add analytics with segment.io (#828)
* Add analytics with segment.io

* Feedback review
2017-08-08 12:43:41 -04:00
Harrison Healey
0eeb9453c9 Updated yarn.lock (#817) 2017-08-03 16:25:40 -04:00
Harrison Healey
9c0ff207ab PLT-7250 Updated commonmark.js to better handle trailing periods on URLs (#814) 2017-08-02 11:04:56 -04:00
Chris Duarte
fd0ca606bb Use post retry actions to avoid missing messages (#796)
* Use post retry actions to avoid missing messages

* Review feedback

* Fix race condition and update redux-offline

* Review feedback
2017-08-01 19:09:57 -04:00
enahum
f6bdbb941a Fix new message indicator in channel screen (#807) 2017-08-01 18:21:26 -04:00
Harrison Healey
0f8f93af6d PLT-6924 Added setting to disable mobile file uploads (#799)
* PLT-6924 Added setting to disable mobile file uploads

* PLT-6924 Updated yarn.lock
2017-07-28 17:06:44 -04:00
Harrison Healey
8a7840b58a RN-152 Add ability to create new group direct messages (#793)
* RN-152 Added ability to open group messages from MoreDirectMessages

* Refactored row components for CustomList

* Added CustomSectionList component to mirror CustomList

* Added control to display all selected users in More DMs list

* Updated title of More DMs modal

* Updated yarn.lock

* Fixed channel name not being set when creating GM channel

* Fixed error on Android
2017-07-27 19:08:13 -04:00
enahum
dc8b9a04b1 RN-10 Ability to search Posts (#763)
* Fix offline indicator UI

* Add search screen with recent mentions functionality

* Fix make start

* Add autocomplete to the search box

* Fix search bar in other screens

* Get search results and scroll the list

* Add reply arrow to search result posts

* Search result preview and jump to channel

* Feedback review
2017-07-21 17:07:47 -04:00
Chris Duarte
9db0a38e8b RN-153 Show emoji reactions on posts (#745)
* RN-153 Show emoji reactions on posts

* Review Feedback

* Change makeMapStateToProps in export
2017-07-17 12:27:16 -04:00
enahum
088ecad2b5 Split Post component into smaller components and prevent re-rendering (#740)
* Split Post component into smaller components and prevent re-rendering

* Feedback review

* Fix render reply bar

* Remove eslint-disable-line
2017-07-13 17:48:45 -04:00
Harrison Healey
32e07bfcce Updated yarn.lock (#718) 2017-07-05 13:17:25 -04:00
Harrison Healey
bd2c623775 Added support for new system-wide teammate name display setting (#709) 2017-07-04 20:54:03 -04:00
enahum
c2c56737bf RN-242 Fix race condition and ensure server url is set when tapping on a PN (#706) 2017-07-04 20:45:12 -04:00
enahum
7dbac06983 Fix sentry found issues (#699) 2017-07-03 18:09:04 -04:00
enahum
5e979e53ab Update fastlane and remove search bar dependency (#692) 2017-06-28 14:27:56 -04:00
enahum
c5ea6955ef RN-208 Fix drawer when app opens in landscape (#687) 2017-06-28 12:42:31 -04:00
enahum
3a233455a6 RN-235 Report errors to email and restart app if needed (#683)
* RN-235 Report errors to email and restart app if needed

* Feedback review
2017-06-28 10:22:57 -04:00
enahum
8d72c0a020 Fix localization + setting the token for APIv3 (#674) 2017-06-26 15:49:28 -04:00