Commit graph

161 commits

Author SHA1 Message Date
Chris Duarte
cbf3739657 Improve scrolling to new messages (#1345)
* Improve scrolling to new messages

* Experimental scrollTo with measurement

* Add search support

* Review feedback

* Added comment for moreNewMessages index`
2018-01-24 18:39:16 -03:00
enahum
f32b52674c
translations PR 20180123 (#1372) 2018-01-23 14:39:26 -03:00
enahum
6132b72adb
iOS request permissions if needed to save files to the photo library (#1368)
* iOS request permissions if needed to save files to the photo library

* Fixing capital letter in permission description
2018-01-22 16:18:42 -03:00
enahum
926ffe96c5
Android share extension (#1352)
* Android share extension

* Feedback review

* Feedback review
2018-01-17 18:17:02 -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
enahum
b14a197983
translations PR 20180115 (#1354) 2018-01-17 09:04:41 -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
5ddeae320f
translations PR 20180109 (#1343) 2018-01-10 09:07:25 -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
enahum
4ae1caa1a8
Make fastlane generic (#1328)
* Make fastlane generic

* Move release assets to dist folder for easier white labeling

* Remove at in help command
2018-01-04 12:49:19 -03:00
Harrison Healey
dd76c16435 Remove themes.json (#1331) 2018-01-04 12:10:25 -03:00
enahum
293c692ad3
translations PR 20180101 (#1325) 2018-01-02 09:50:57 -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
9136d47feb
translations PR 20171218 (#1300) 2017-12-19 09:51:27 -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
enahum
4dc39a088a
translations PR 20171211 (#1295) 2017-12-14 09:21:11 -03:00
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