Commit graph

145 commits

Author SHA1 Message Date
enahum
ca2cc88c10
translations PR 20171204 (#1260) 2017-12-04 19:10:07 -03:00
Harrison Healey
1f0dd960f6 RN-469 Added the ability to cancel a ping when on the select server screen (#1234)
* RN-469 Added the ability to cancel a ping when on the select server screen

* RN-369 Added i18n strings for new button

* Made sure config and license are downloaded before moving to login screen

* Have SelectServer screen still show connecting while waiting for config

* Don't show SelectServer screen as connected if an error occurs
2017-11-30 20:13:23 -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
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
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
enahum
dbe3fab980 Fix channels category in jump to filter (#1207) 2017-11-27 16:02:11 -05: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
e74d8c90f3
translations PR 20171121 (#1179) 2017-11-21 12:34:45 -03: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
enahum
d1339b5423
translations PR 20171113 (#1140) 2017-11-14 11:28:55 -03:00
enahum
a299cdb5c5
Network detection by pinging Mattermost server (#1130) 2017-11-13 13:51:24 -03:00
lfbrock
ab657604fb Spelling correction (#1132)
* Spelling correction

* Update en.json

* fix eslint
2017-11-13 13:03:30 -03:00
enahum
b7fe369fab
Apply data retention policy (#1122) 2017-11-12 08:33:42 -03:00
Harrison Healey
58efa5863b RN-435 Fixed Loading messages... message not appearing (#1104)
* RN-435 Fixed Loading Messages... message not appearing

* Made capitalization of Loading messages... more consistent

* Fixed ignored eslint warning

* Removed outdated FIXME comment

* Removed unnecessary view
2017-11-08 15:55:11 -03:00
enahum
697e9a1831
translations PR 20171106 (#1103) 2017-11-07 12:32:49 -03:00
enahum
2e10168c73 translations PR 20171030 (#1074) 2017-11-02 08:37:08 -03:00
Chris Duarte
2f5201bac9 Add copy post/url/mention/code to tooltip menu (#1069)
* Add copy post/url/mention/code to tooltip menu

* Check for managedConfig.copyAndPasteProtection

* Reorder copy options
2017-10-31 13:42:56 -03:00
enahum
3fdfe92800 Data cleanup (#1070)
* Add message retention middleware and config

* Data cleanup middleware
2017-10-30 11:23:19 -04:00
Chris Duarte
898d02c5d4 Handle post deleted while image preview is open (#1071)
* Handle post deleted while image preview is open

* Review feedback
2017-10-30 10:31:18 -04:00
Chris Duarte
1ef99da29c White label login options screen - Experimental (#944)
* White label login options screen

* Move colors to server side config

* Rename config options to experimental
2017-10-26 10:35:49 -07:00
Chris Duarte
582db04da1 Force url's to be normalized (#1058)
* Force url's to be normalized

* Refactor and move behind config flag
2017-10-26 09:52:41 -07:00
Chris Duarte
6b132cc4d0 Allow server to be auto selected from config (#946)
* Allow server to be auto selected from config

* Remove easter egg

* Review feedback 2

* Show the readonly textbox at all times
2017-10-26 09:16:32 -07:00
Chris Duarte
9ff9b872ba Config to enable when clicking on username to fill input with @mention (#966)
* Config to enable when clicking on username to fill input with @mention

* Rename to experimental and move tenary from componet to variable

* Use getCurrentChannelId in insertToPostDraft action

* Change to work with rebase

* Refactor thread reducer and blacklist currentThreadId

* Review feedback

* Review feedback 2
2017-10-26 10:48:52 -04:00
Chris Duarte
54ddec3d46 Prompt/require user to upgrade to new version (#948)
* Prompt/require user to upgrade to new version

* Update en.json

* Update app message text

* Fix typo and add copyright
2017-10-26 10:45:34 -04:00
enahum
59ce8571c3 Handle Image picker permissions (#1064) 2017-10-26 09:17:56 -03:00
Chris Duarte
a13079b715 White label about modal. Move strings to config. (#943)
* White label about modal. Move strings to config.

* Refactor styling and add powered by Mattermost

* Review feedback

* Use full bundle ids for about modal check
2017-10-25 15:24:22 -04:00
enahum
a139f3f870 translations PR 20171023 (#1051) 2017-10-24 09:28:56 -03:00
enahum
e84af2bfa7 Polishing search box text size and icon styling (#1034)
* Channel Switcher and search box text size and icon styling

* minor UI fixes and android fixes
2017-10-19 18:49:21 -03:00
enahum
c3f36e6a89 RN-404 add missing localization strings (#1020) 2017-10-16 11:19:06 -03:00
Elias Nahum
9299b94311 translations PR 20171002 2017-10-04 16:58:02 -03:00
enahum
a07ab77c86 Include iOS marketing icon (#957) 2017-10-02 16:03:13 -03:00
enahum
1ff505bcf9 translations PR 20170925 (#940) 2017-10-02 16:03:13 -03:00
enahum
218497662c translations PR 20170918 (#917) 2017-09-18 23:08:07 -03:00
enahum
33072941f3 RN-351 Remove extra "for" in mobile notification screen (#913) 2017-09-18 14:33:39 -04:00
enahum
e0cfefcdff RN-138 Android notification preferences (#889)
* Fix Android and iOS flow

* Own review

* RN-138 Android notification preferences

* Feedback review

* Feedback review 2
2017-09-13 12:00:16 -03:00
enahum
7aebcbd52e Link Previews (#890)
* Link previews, Image previews and YouTube

* Install cocoapods dependencies
2017-09-12 15:06:19 -03:00
enahum
cd412bd2c9 translations PR 20170912 (#895) 2017-09-12 09:34:56 -03:00
enahum
a63f6b3ddf Add missing loc (#892) 2017-09-12 09:30:39 -03:00
enahum
adbaead58e RN-321 Update Settings and Notifications UX/UI Screens (#879)
* Fix Android and iOS flow

* Own review

* RN-321 Update Settings and Notifications UX/UI Screens

* Fix style for separator in android modals

* Feedback review
2017-09-08 15:38:50 -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
95e89c39ee translations PR 20170828 (#872) 2017-09-01 10:46:58 -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
ecec78b2e0 translations PR 20170821 (#860) 2017-08-22 10:59:50 -03:00