Commit graph

919 commits

Author SHA1 Message Date
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
322e63d7c4 Add fix for heic image uploads (#1222) 2017-11-28 17:43:36 -05: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
8233907b47
Notices (#1220)
* Update NOTICE.txt
2017-11-28 12:30:01 -03:00
Martin Kraft
204e88a90f Package fix. (#1215) 2017-11-28 11:38:21 -03:00
enahum
4caa3cb470 Fix weird colors in radio buttons (#1214) 2017-11-28 09:37:47 -05:00
Harrison Healey
c71b116c71 RN-173 Added support for Markdown images (#1202)
* RN-173 Added support for Markdown images

* RN-173 Added proper alt text when image fails to load

* Changed (edited) indicator not add itself as a child of an image

* RN-173 Removed space between an image and the following text

* Made sure MarkdownImage is mounted when setState is called

* Fixed images in links having their location overwritten

* Made images work in links

* Fixed uppercase links not working on Android

* Added vertical margin around images

* RN-173 Added styling for markdown image error text

* RN-173 Added error when image exceeds max dimensions on Android
2017-11-28 11:00:28 -03:00
enahum
ac2b38cb3b
Track analytics for start time, channel and team switching (#1192)
* Track analytics for start time, channel and team switching

* Update analytics to include currentUserId and ip 0.0.0.0

* Include diagnostic id with every segment request

* feedback review
2017-11-28 10:33:46 -03:00
enahum
e24988ca51
Fix Android: Text typed in Jump to... and Search box color (#1209) 2017-11-28 10:31:49 -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
3760ba0b61
translations PR 20171127 (#1212) 2017-11-27 23:45:59 -03:00
Martin Kraft
a3888faa7e Fix for search. (#1213) 2017-11-27 17:52:30 -05:00
enahum
dbe3fab980 Fix channels category in jump to filter (#1207) 2017-11-27 16:02:11 -05:00
enahum
e19c76cc4c Fix status bar for Android in server url screen (#1210) 2017-11-27 15:59:52 -05:00
enahum
1a5b6886ef Prevent tap spam for server url, login and MFA (#1211) 2017-11-27 15:59:35 -05:00
enahum
f74b8e685d
Channel Peek (#1203)
* Channel Peek

* feedback review
2017-11-27 17:35:32 -03:00
enahum
6b4100d517
Add general util to handle actions that are forbidden (#1206) 2017-11-27 17:30:26 -03:00
enahum
b27a1f8e0b
Fix the ability to send the post when an upload failed (#1195) 2017-11-24 20:25:53 -03:00
Harrison Healey
dc90ce46ae RN-483 Ensured switch statements used for i18n have a default case (#1196)
* RN-483 Ensured switch statements used for i18n have a default case

* Made VectorIcon use a PureComponent
2017-11-24 20:25:21 -03:00
enahum
36c9913f79
reset newMessagesIndex (#1199) 2017-11-24 20:25:01 -03:00
Martin Kraft
5d4c4ce860 RN-518: Changes placement of swiper nav dots. (#1200) 2017-11-24 09:46:21 -03:00
enahum
b761872c59 Fix reset to channel view when push notification is tapped (#1201) 2017-11-23 18:48:50 -05: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
e682d84d00
Fix run make commands (#1197) 2017-11-22 14:33:54 -03:00
enahum
fa9b0fad44
Use reset-cache flag to start the packager only for building (#1188)
* Use reset-cache flag to start the packager only for building

* Keep packager in the foreground
2017-11-22 12:41:25 -03:00
enahum
d5d59822e6
Fixes Android dismissModal from user_profile and thread screens (#1191)
* Android fix dismissModal from user profile

* Android fix dismissModal when no posts in thread
2017-11-22 12:26:07 -03:00
enahum
f651cac583
Fix more dms screen (#1193) 2017-11-22 12:24:12 -03:00
enahum
d287b2f7f6
Version Bump to 65 (#1187) 2017-11-21 18:10:34 -03:00
enahum
f41d51608f
IOS Version Bump to 65 (#1186)
* Update pod lock file

* Version Bump to 65
2017-11-21 18:00:39 -03:00
enahum
ee3f0500f2 Fix search auto focus on iOS (#1176) 2017-11-21 11:40:02 -05: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
Chris Duarte
aa61391436 Fix add reaction shortcut in post reply (#1174) 2017-11-21 10:38:20 -05:00
enahum
c69bf5a950
Remove unneded ownProps (#1177) 2017-11-21 12:35:03 -03:00
enahum
e74d8c90f3
translations PR 20171121 (#1179) 2017-11-21 12:34:45 -03:00
enahum
20412ae803
Add preview support for rtf files (#1180) 2017-11-21 12:30:51 -03: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
d1318d4631
Add localization support to the android downloader (#1175) 2017-11-21 09:45:32 -03: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
Carsten Pfeiffer
7272f47485 Request image quality 1 (=100%) to avoid scaling (and failing with OOME) (#1157) (#1169) 2017-11-17 09:25:45 -05:00
enahum
7d8ffeb77a
App version bump to 1.5.0 (#1167) 2017-11-16 20:36:53 -03:00
enahum
e7f8388fe1
Fix iOS post context menu (#1165) 2017-11-16 20:33:18 -03:00
enahum
a65811e088
Sync read channels across devices/apps (#1164) 2017-11-16 20:33:03 -03:00