Commit graph

276 commits

Author SHA1 Message Date
enahum
d21dacbf6f fix post textbox default props (#378) 2017-03-21 21:16:58 -03:00
enahum
7fae0f8039 PLT-5721 Show Group Messages and correct channel info (#372)
* Fix bad merge for navigation modal

* Fix modal props for options and image preview

* PLT-5721 Show Group Messages and correct channel info

* Set fixed commit on mattermost-redux

* address feedback
2017-03-21 21:11:11 -03:00
enahum
4bb74c065a PLT-5930 Moved Settings to channel drawer (#376) 2017-03-21 18:15:41 -04:00
enahum
913e29e37b PLT-5933 Fix drawer transition lag (#377)
* Fix drawer transition lag

* make handleSelectChannel perform actions in parallel
2017-03-21 18:09:56 -04:00
Chris Duarte
18cc7f1e7f PLT-5518 RN: Allow user to upload + send image file attachments (#373)
* PLT-5518 RN: Allow user to upload + send image file attachments

* Review feedback
2017-03-21 17:58:31 -04:00
enahum
a35183a677 Android Version Bump to 15 (#375)
* Remove extra build.gradle causing build issues

* Version Bump to 15
2017-03-21 15:56:45 -03:00
enahum
c201f59aff IOS Version Bump to 15 (#374)
* update fastlane

* Version Bump to 15
2017-03-21 15:56:34 -03:00
Harrison Healey
305929012f PLT-5494 Added at mention detection (#366) 2017-03-20 18:03:41 -03:00
enahum
383a770fde PLT-5880 Channel drawer UI (#365)
* fix drawer size and added tweener

* added opacity to drawer buttons

* Fix bad merge for navigation modal

* Fix channel drawer container UI

* Open Account Settings modal from channel drawer

* Fix modal props for options and image preview

* Channel drawer item UI

* Fix bottom unread indicator overlap
2017-03-20 16:31:10 -04:00
Harrison Healey
ac49aa6c11 PLT-5603 Properly applied theme colours to right menu (#369) 2017-03-20 16:30:58 -04:00
Harrison Healey
ae703eb00a PLT-5875 Updated system message font opacity to match web app (#367) 2017-03-20 16:30:47 -04:00
enahum
e61f6264ac PLT-5511 Ability to flag and unflag posts (#360) 2017-03-20 17:18:59 -03:00
enahum
74db04f672 PLT-5912 Make integration posts follow the override username and profile picture config settings (#363) 2017-03-20 17:16:56 -03:00
enahum
8aaddf70f3 PLT-5884 Fix burger mention numbers (#362) 2017-03-20 17:02:16 -03:00
Harrison Healey
f642de986a Added url autolinking to commonmark.js (#361) 2017-03-20 17:02:05 -03:00
enahum
e1eeac4d82 PLT-5498 Add ability to delete a message (#357)
* ios tooltip menu with option to delete a post

* bottom sheet for android

* Feedback review
2017-03-20 16:57:37 -03:00
enahum
f4ed0a0652 PLT-5922 Add images for Android push notifications (#368) 2017-03-20 16:47:36 -03:00
enahum
0812507b9e Fix SAML login with OneLogin (#359) 2017-03-20 16:47:19 -03:00
Harrison Healey
07af08b74a PLT-5717 Initial markdown support (#354)
* Added CommonMark-based post rendering

* Fixed text wrapping in most block elements

* Fixed paragraphs not being rendered as children of lists

* Replaced markdown images with a placeholder

* Fixed font colour in code spans
2017-03-20 16:27:33 -03:00
Saturnino Abril
70da78af69 fixed android app crash on saving notification (#364) 2017-03-20 09:51:48 -04:00
Chris Duarte
2638a9c75d PLT-5517 Image file previewer (#344)
* PLT-5517 RN: Image file previewer

Add preview component and client routes
Add fade transition for modal
Add paging controls, title header, and info footer
Add drag to dismiss behavior
Fix android layout issues
Handle orientation change

* Fix tests

* Review feedback

* Review feedback
2017-03-17 09:04:35 -04:00
Chris Duarte
0721c9ca4c Upgrade to RN 0.42.0 (#356) 2017-03-16 15:15:54 -04:00
Chris Duarte
1e63ac2667 PLT-5599 RN: Modal options for Android (#353) 2017-03-16 15:13:36 -04:00
enahum
20686b2e5f Version Bump to 14 (#352) 2017-03-14 10:54:51 -03:00
enahum
841144b5a0 Version Bump to 14 (#351) 2017-03-14 10:54:40 -03:00
enahum
548633f5c0 PLT-5857 replace the service folder with mattermost-redux library (#348) 2017-03-14 10:52:24 -03:00
enahum
93687f31a0 Version Bump to 13 (#350) 2017-03-14 09:53:58 -03:00
enahum
5338255b7f IOS Version Bump to 13 (#349)
* update fastlane

* Version Bump to 13
2017-03-14 09:53:45 -03:00
enahum
3096e89155 Fix badge flickering (#341) 2017-03-14 00:23:59 -03:00
enahum
d852587268 Fix android error handler (#347) 2017-03-14 00:09:23 -03:00
lfbrock
53b0ee0f10 Update README.md (#346) 2017-03-13 18:44:36 -03:00
Chris Duarte
d36dc3412a PLT-5492 Add Account Settings > Notifications (#323)
* PLT-5492 RN: Add Account Settings > Notifications

* Review feedback
2017-03-13 15:37:44 -03:00
enahum
8bc6a0cb14 PLT-5726 Fix post profile picture tap (#345)
* PLT-5726 Fix post user image tap

* Fix double loading showing up

* conditional reply bar
2017-03-13 12:51:20 -04:00
enahum
31d89c37fe PLT-5506 Record user agent/device type in the active sessions list (#342)
* Add user info and userAgent

* notice
2017-03-13 13:39:35 -03:00
enahum
a684c0f45b PLT-5700 Fixing channel sorting in android and ios (#343) 2017-03-13 13:39:12 -03:00
Saturnino Abril
13c624b722 Fixed makefile for run-android (#340) 2017-03-13 10:04:29 -04:00
enahum
6324f22095 PLT-5630 Implement push notifications and unread badge on app icon (#338)
* enable ios push notifications

* enable android push notifications

* NOTICE for push notification and message bar

* include message in noty

* re-wording notices

* feedback review
2017-03-13 09:51:21 -04:00
Chris Duarte
e17eb6c237 PLT-5709 Global error handler (#187)
* WIP Global error handler

Adding components
Adding actions

* Add general errors where errors are caught

* Filter out non displayable errors

* Initial setup to email errors

* Add current user/team to error email

* Fix a few lints

* Ensure errors are cleared when reporting a problem

* Add clear all and internationalization

* Fix trailing comma issue

* fix lints

* Use Formatted Text component

* Move error list out of channel

* Add mobile prefix to i18n id for connection error

* Set shouldRender to true in RightMenuDrawerItem.defaultProps

* Update component name for RightMenuDrawerItem

* Clean up propTypes in RightMenuDrawerItem

* Clean up styles in RightMenuDrawerItem

* Use selector to filter displayable errors

* Clarify code for constructing wrapper style in ErrorList

* Avoid indenting email body for error report

* Remove extraneous params from errors actions

* Rename action type for logging errors

* Rename action for logging errors

* Set shouldRender to true in RightMenuDrawerItem.defaultProps

* Make logged errors displayable by default

* Don't log error when websocket connection is closed

* Hide button to dismiss all errors if ShowErrorsList isn't enabled

* Display only last error in alert bar when ShowErrorsList is disabled

* Add error logging where missing in actions

* Always show button to report problem

* Only include errors in report problem email if any have been logged

* Clarify subject of report problem email

* Set ShowErrorsList to false in default config.json

* Remove unused component + translation for connection errors

* Capture entire error object not just message

* Display fallback if error.message is blank

* Log errors in login actions

* Fix construction of errors email body
2017-03-12 14:42:02 -03:00
enahum
f3dbb72f65 PLT-5836 Smooth transitions and add activity indicators (#339) 2017-03-10 20:52:52 -03:00
Chris Duarte
f5745cbc0e PLT-5810 Add missing intl key to error objects in login screen (#336) 2017-03-10 15:40:31 -05:00
Chris Duarte
dca35ac418 PLT-5675 Fix posts rendering as blank (#337)
* PLT-5675 RN: Posts rendering as blank

* Review feedback
2017-03-10 15:28:57 -03:00
Chris Duarte
496068e99c PLT-5496 Allow user to load more posts in channel posts list (#307)
* Group addDatesToPostList options into object

* Clean up imports in PostList

* Dry up code for adding dates to posts in PostList

* Allow user to load more posts in channel post list

* Load more posts upon scrolling to end instead of with button

* Wait for initial posts to be loaded before loading more

* Return data in getPosts actions

* Check how many posts were fetched to determine if there are more

* Insert load-more-posts into list in PostList not post_utils.js

* Rename component for LoadMorePosts

* Use LoadMorePosts to indicate if more posts are loading

* Only try to load more posts if initial posts have been loaded

* Don’t show LoadMorePosts if posts list is empty

* Don’t try to load more posts if first post has been loaded

* Don’t show LoadMorePosts if first post has been loaded

* Set hasFirstPost in willReceiveProps of PostList

* Use constant for load-more-posts token string

* Only show LoadMorePosts if pagination is enabled on PostList

* Fix logic for determining if posts loaded in PostList

* Ensure PostList ListView rerenders

* Move load more posts logic into ChannelPostList

* Remove unused getTheme from ChannelPostList container

* Avoid clever variable assignment in LoadMorePosts
2017-03-09 14:07:35 -03:00
enahum
c13a436d18 Enable SAML authentication (#325)
* enable saml authentication

* Fix unit tests

* Fix android cookies

* Feedback review
2017-03-09 14:07:18 -03:00
lfbrock
13a1f8a9a8 Create CHANGELOG.md (#327)
* Create CHANGELOG.md

* Update CHANGELOG.md
2017-03-09 14:06:50 -03:00
Jason Blais
963a1862c8 Adding Patent Grant info for react library in NOTICE.txt (#331)
* Adding Patent Grant info for react in NOTICE.txt

* Add patent grant disclosure for react-native

* Update NOTICE.txt
2017-03-09 14:05:54 -03:00
enahum
cd6840aefd Version Bump to 12 (#332) 2017-03-08 16:04:34 -03:00
enahum
f546f01d2e Version Bump to 12 (#333) 2017-03-08 16:04:16 -03:00
enahum
aca415bd20 update fastlane (#334) 2017-03-08 14:15:13 -03:00
lfbrock
626233f248 Update PR template and Issue template (#335)
* Update PULL_REQUEST_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update ISSUE_TEMPLATE.md

* Update PULL_REQUEST_TEMPLATE.md
2017-03-08 13:46:31 -03:00
enahum
e64eb3053b Fix WebSocket reconnect (#330) 2017-03-06 21:42:43 -03:00