Commit graph

408 commits

Author SHA1 Message Date
Chris Duarte
311b1b42f1 Fix post text overlap (#1371) 2018-01-23 13:21:01 -03:00
enahum
d8cdc1cfbe
Give priority to fromWebHook on top of isSystemMessage in the post header (#1369) 2018-01-23 13:20:28 -03:00
enahum
7bd55e96dc
[ICU-536] Fix link previews preference (#1364)
* Fix link previews preference

* Fixed grammar in a comment
2018-01-22 13:37:15 -03:00
Stephen Kiers
9029794afa Icu 599 - remove download animation on cancel (#1365)
* easier to read

* seperated promise from progress so cancelling works

* Remove loading bar immediately

* style fix
2018-01-22 11:04:43 -03:00
enahum
998a5bdb0d
Fix server url (#1361)
* Fix server url

* Fix offline indicator positioning

* Upgrade mattermost-redux with fix for loading custom emojis

* feedback review
2018-01-18 11:17:03 -03:00
Saturnino Abril
542f0998b1 ICU-584 Add support for own DM (#1357)
* add support for own DM

* update per comment
2018-01-17 14:52:28 -03:00
Harrison Healey
d3a1c447ad ICU-596 Added support for relative image URLs (#1353) 2018-01-15 18:22:05 -03:00
enahum
70c4e3e005
iOS Share Extension (#1308)
* objective-C share extension

* MattermostBucket module to share data between the main app and the extension

* middleware that shares the data between the main app and the extension

* Fix setState when safe area in unmounted

* Share extension for iOS

* Fastlane changes to include iOS share extension

* Fix unit test

* Feedback review

* define proptypes for icons
2018-01-15 16:11:42 -03:00
enahum
cf9341406a
Wrap interactive buttons when needed (#1339) 2018-01-08 14:19:59 -03:00
Harrison Healey
9bc9ca6245 Don't try to open empty Markdown links (#1332) 2018-01-08 14:19:39 -03:00
enahum
7cda6be8d7
Edit profile (#1322)
* Add set status feature

Small code refactoring

Add Do Not Disturb option

* Add Account Settings screen

Add username, nicname, and position fields

Add email field

get deviceHeight from redux

Clean up onPress handler in Settings

Refactor each account settings item to it's own component

Clean up email field and updateUser action method

Use mobile localization format in en.json

Update profile image

Clean up ProfilePicture for editing

Add loading and error components in AccountSettings

Refactor updateRequest state into a function

Follow design specs

Remove unnecessary this.state.emailUpdated

Polish AccountSettings and secondary components

Refactor AttachmentButton into it's own componentg

Add Account Settings icon in General Settings

Add TODO comments

* Update user status

* Edit Profile screen refactored

* Fix edit profile item text color
2018-01-08 14:18:57 -03:00
Saturnino Abril
0052b46c54 add reaction when user click other user's reaction from a post (#1340) 2018-01-08 08:41:08 -05:00
Harrison Healey
b842cfa95a Fixed typo in import statement (#1333) 2018-01-04 14:08:13 -03:00
enahum
bef0248daf
Android header height consistent across screens (#1324)
* Android header height consistent across screens

* Feedback review
2018-01-04 13:22:55 -03:00
enahum
9509e1a83e Fix UI when rendering link previews in a reply (#1318)
* Fix UI when rendering link previews in a reply

* feedback review
2018-01-02 17:24:03 -05:00
Chris Duarte
224099a9dc Add fuzy search to the emoji picker (#1310)
* Add fuzy search to the emoji picker

remove comments from master rebase

Add fusejs to NOTICE.txt

* Add fuzzy search support for emoji_picker
2018-01-02 17:21:50 -05:00
Chris Duarte
2e951cbfca Upgrade to RN 0.50.4 (#1303)
* Update to RN 0.50.4

* Fix intl context in post textbox
2017-12-22 19:39:51 -03:00
enahum
6681ae3de7
Update user Status from the right drawer (#1321)
* Add set status feature

Small code refactoring

Add Do Not Disturb option

* Update user status
2017-12-22 18:44:13 -03:00
enahum
eb214ab1d8
Prevent onLayout if it was already run (#1316) 2017-12-22 16:10:20 -03:00
enahum
2181168c9f
Remove the possibility to post empty messages (#1317)
* Remove the possibility to post empty messages

* Fix userTyping action
2017-12-22 16:08:27 -03:00
enahum
5442bd5265
Fix uploading videos from Android (#1315)
* Fix uploading videos from Android

* Fix upload of gif files in iOS
2017-12-22 16:06:32 -03:00
enahum
28813e313e
Fix keyboard avoiding view when switching keyboard (#1314) 2017-12-22 16:06:05 -03:00
enahum
a708a1755b
Right drawer (#1275)
* Add right sidebar

* initial implementation of the right drawer

* Do not hide status bar on drawer open

* initial options in the RHD

* Fix android layout

* feedback review
2017-12-22 15:50:02 -03:00
Harrison Healey
db3556325e RN-566 Re-rendered PostList footer when channel ID changes (#1309)
* RN-566 Re-rendered PostList footer when channel ID changes

* Refactor ChannelIntro mapStateToProps into selectors
2017-12-22 10:29:09 -06:00
Harrison Healey
2ad5dd9e26 RN-578 Properly aligned list items with indices above 10 (#1304) 2017-12-21 09:02:15 -03:00
Chris Duarte
00ce1e1842 Enforce max file count and active send button (#1241)
* Enforce max file count and wait until all images finish loading

Replaced Text with FormattedText

Remove unnecessary Text import

Clean up post_textbox and file_upload_preview

* Fix localization string for mobile

* change MAX_IMAGE_COUNT to MAX_FILE_COUNT
2017-12-14 15:19:31 -03:00
Chris Duarte
3c23a07d8b Add ability to copy post permalink (#1255) 2017-12-08 18:19:48 -03:00
enahum
62cedae196 Multiple bug fixes (#1287) 2017-12-08 09:37:14 -05:00
enahum
e68374d757
Fix replying to a search result (#1278) 2017-12-07 12:17:52 -03:00
enahum
d73f85ab00
Android: Fix load more messages (#1266) 2017-12-06 15:10:13 -03:00
Harrison Healey
8e7fedbcc8 Fixed at mentions appearing for non-existant users (#1271) 2017-12-06 13:39:25 -03:00
enahum
e4d9a672fc
Fix file upload and edit post layout (#1259) 2017-12-04 19:14:45 -03:00
enahum
7afc0c4143
Fix keyboard layout for ios 9 and 10 (#1256) 2017-12-04 17:07:08 -03:00
enahum
86667de6c3
Fix swiper offset when device rotates (#1253) 2017-12-04 16:32:06 -03:00
enahum
bf4463b866
Previewer (#1246)
* Fix heic

* Change previwer to use the swiper instead a simple ScrollView
2017-12-04 12:20:10 -03:00
enahum
bd39fa5b43
Replace KeyboardAvoidingView with custom (#1249) 2017-12-04 12:12:08 -03:00
enahum
849c8cc4af
Clear failed images from post draft when posting (#1244)
* Clear failed images from post draft when posting

* feedback review

* clone files array only once in the failed reducer
2017-12-04 12:06:16 -03:00
enahum
8e052c2a55 Fix navbar when status bar is not visible (#1248) 2017-12-04 09:59:14 -05:00
enahum
7068cbd043 Fix Android crash for mobile notifications screen (#1233) 2017-11-29 17:42:41 -05:00
Martin Kraft
159507891c RN-519: Expands search results list height. (#1225)
* RN-519: Expands AtMentions and ChannelMentions searches to use entire device height.

* RN-519: Fix for ~ and @ search list heights.

* RN-519: Optimization.
2017-11-29 19:08:51 -03:00
enahum
19e6d66979
Have the Markdown component use the theme from redux (#1231) 2017-11-29 14:58:33 -03:00
enahum
c36eb9a9f4
Fix styling when theme is change in another device (#1229)
* Fix styling when theme is change in another device

* Fix drawer showing behind channel screen
2017-11-29 13:55:33 -03:00
enahum
df1c7d9fc1
fix autocomplete positioning (#1228) 2017-11-29 12:01:59 -03:00
Harrison Healey
33bf655a8c RN-472 Fixed undefined post error in SearchPreview screen (#1217)
* RN-472 Fixed undefined post error in SearchPreview screen

* Moved SearchPreview container style into StyleSheet
2017-11-28 20:31:54 -03:00
Harrison Healey
3f6c38d872 Applied correct text colour to (edited) indicator on Android (#1219) 2017-11-28 19:49:43 -03:00
Chris Duarte
f5d77fcebc Add Channel Info Edit options to ChannelInfo screen (#1189)
* Add Channel Info Edit options to ChannelInfo screen

Refactor CreateChannel to CreateChannel and ChannelInfo

Add EditChannel screen

add updateChannelRequest

display header option only if channel is DM or GM

Add editing prop to ChannelInfo

Add saving state to ChannelInfo

Clean up EditChannel and change saving to updating

Add channel name (url) field in EditChannel

Clean up enableRightButton logic for EditChannel

Add error handling for EditChannel fields

Remove leftButton declaration from EditChannel

Add wrapWithPreventDoubleTap to click handlers in ChannelInfo

Move channel info to parent component (CreateChannel)

Add editing support for channel info in parent component

Remove ownProps from connected components

Remove passing parent props using the spread operator

* Strip out channel url field from EditChannel

* Comment out channelUrl textInput ref

Make eslint happy

* Remove injectIntl in favor of intl context props

* Add mobile prefix to json string

* Remove unnecessary actions declaration in ChannelInfo

* Refactor creating | editing to saving

* Safe check refs when blurring in ChannelInfo

* pass channelType for displayingHeaderOnly in EditChannelInfo

* Refactor ChannelInfo component to EditChannelInfo

* pass 1to1 props instead of object

* Add required to certain props in EditChannelInfo

* Use Stylesheet for container styles

* Add InvalidPermission method when updating channel

* Clean up onDisplayNameChangeText and safe check scrollToEnd

* Add {deviceWidth, deviceHeight} from redux

* Remove style.navTitle

* Add wrapper methods for delete and leave channel

* remove alertErrorIfInvalidPermissions

* Fix mobile localization strings to use prefix mobile.-

* Add TODO for channel URL
2017-11-28 19:48:51 -03:00
Chris Duarte
e6869dd760 Fix slash command for post comment (#1221) 2017-11-28 17:43:12 -05:00
enahum
df61ec5552 Fix autocomplete position in search screen (#1218)
* Fix autocomplete position in search screen

* Remove autocomplete for slash commands and emojis in search
2017-11-28 17:42:56 -05:00
Chris Duarte
18a5535205 Defensive fix for post list scrollToIndex (#1223) 2017-11-28 16:51:06 -03:00
enahum
4caa3cb470 Fix weird colors in radio buttons (#1214) 2017-11-28 09:37:47 -05:00