Commit graph

182 commits

Author SHA1 Message Date
Elias Nahum
551357055c
translations PR 20180326 (#1544) 2018-03-27 13:35:32 +03:00
Elias Nahum
579494feab
Long post feature (#1525)
* Long post support

* Fix upload preview

* Add MaxPostSize validation

* Fix show more button container

* localization

* feedback review

* UI feedback review

* Upgrade mattermost-redux

* Fix long post attachment list
2018-03-26 14:25:42 +03:00
Elias Nahum
bb726fd029
translations PR 20180319 (#1523) 2018-03-25 12:16:17 +03:00
Yusuke Nemoto
67075f27a5 Fix missing messages (#1514)
* Fix missing message

* Move a message to webapp repo
2018-03-16 17:45:06 +02:00
Michał Odziemczyk
3a3be22af0 Remove svg usage for user status (#1486)
* Remove SVG usage for status indicators to speedup channel loading

* Add needed assets for status icons (72x72)

* correct folder name

* Delete offline.png

* Delete dnd.png

* Delete online.png

* Delete away.png

* make icons white

* correct size
2018-03-14 10:31:58 -04:00
Elias Nahum
39774f8c20
translations PR 20180314 (#1502) 2018-03-14 09:24:47 +00:00
enahum
d0d9103857 [MM-9374] Open Permalinks in app (#1449)
* [MM-9374] Open Permalinks in app

* Feedback review

* Upgrade mattermost-redux

* Fix eslint

* Navigation fixes

* Fixing style of merged lines
2018-03-07 14:48:31 +00:00
enahum
aceb42aab5
translations PR 20180306 (#1483) 2018-03-07 08:26:28 +00:00
enahum
8981693474
translations PR 20180227 (#1467) 2018-03-02 11:38:08 +00:00
Harrison Healey
f75d35b66e RN-9379 Updated react-native-sentry to 0.34.0 (#1447)
* RN-9379 Updated react-native-sentry to 0.34.0

* Removed translations for sentry debugging options
2018-02-21 01:01:06 +08:00
enahum
f9c68ad210
translations PR 20180219 (#1452) 2018-02-20 09:00:55 -03:00
Harrison Healey
ede4d22f75 ICU-624 Added markdown tables (#1434)
* ICU-624 Added initial table rendering support

* ICU-624 Added full table view

* Added proper pluralization to +X more lines in code blocks

* ICU-624 Added support for images in tables

* Stopped using injectIntl for tables

* ICU-624 Updated commonmark-react-renderer

* ICU-624 Hid scroll indicator in collapsed table view

* Addressed feedback
2018-02-16 19:31:14 -03:00
enahum
70dada8daf
translations PR 20180215 (#1444) 2018-02-15 08:00:32 -03:00
enahum
b6e5aaf485
translations PR 20180212 (#1433) 2018-02-13 13:44:45 -03:00
enahum
27c764d288 [ICU-579] Display Announcement banner (#1428)
* Announcement banner

* Feedback review
2018-02-13 10:23:11 -05:00
enahum
509fe37f1f
[ICU-676] Make the app extensions follow the max file size that the server accepts (#1411)
* Android Share extension follows server config file size limit

* iOS Share extention follows config file size limit

* feedback review
2018-02-07 18:02:38 -03:00
enahum
c4c4ddd7cf
translations PR 20180205 (#1414) 2018-02-06 15:09:21 -03:00
enahum
c298025532 ICU-642 Remove Check for Updates screen by default (#1397) 2018-01-31 10:14:21 -05:00
Elias Nahum
77a8a2e054
Merge branch 'release-1.6' 2018-01-30 16:11:20 -03:00
enahum
a3d9eaa385
iOS Share extension to share files up to 20mb (#1394) 2018-01-30 13:27:20 -03:00
enahum
c4a8e0a278
translations PR 20180129 (#1392) 2018-01-30 09:23:59 -03:00
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