Commit graph

699 commits

Author SHA1 Message Date
Harrison Healey
1fd94c5ae0 Cherry pick fixes for Sentry issues (#1567)
* Fixed MATTERMOST-MOBILE-ANDROID-85 (#1565)

* Fixed MATTERMOST-MOBILE-ANDROID-87 (#1566)
2018-04-02 23:23:48 +03:00
Michał Odziemczyk
164a5e863c Fix additional GPU overdraw on post list (#1555)
* Fix additional GPU overdraw on post container

* and remove unneeded background color in android's manifest
2018-04-02 12:38:38 -04:00
Elias Nahum
2f27121824 Fix mobile app to use latest Mattermost redux (#1563)
* Fix mobile app to use latest Mattermost redux

* Feedback review
2018-04-02 10:45:16 -04:00
Elias Nahum
a4744e46dd
Fix max length prop to be a number (#1558) 2018-03-30 13:40:39 +03:00
Elias Nahum
6698dbf678 Upgrade to RN 0.54.3 and other dependencies (#1539)
* Upgrade to RN 0.54.2 and other dependencies

* feedback review

* upgrade mattermost-redux

* Update dependencies
2018-03-29 10:05:49 -04:00
Elias Nahum
b3806c04b3 MM-9376 Channel mute (#1540)
* MM-9376 Channel mute

* UI Feedback review
2018-03-29 10:02:23 -04:00
Elias Nahum
16ccfab7f6 Fix iOS Share Extension Crash and Bump build and version numbers (master) (#1557)
* Fix iOS Extension crash

* Bump app version to 1.7.1 and build to 92
2018-03-29 09:13:27 -04:00
Elias Nahum
cf1022b622 MM-9911 Android fix sorting for joinable teams (#1552) 2018-03-28 08:13:34 -04:00
Saturnino Abril
8531212060 [MM-9516] Add feature to add user to channel after at-mention (#1521)
* add feature to add user to channel after at-mention

* update per comment and update mattermost-redux

* move sendAddToChannelEphemeralPost to actions folder

* rebase and fix merge conflicts, do clean up a bit
2018-03-26 13:20:13 -04:00
Saturnino Abril
217c98cab6
fix JS warnings on PostHeader and EditChannelInfo (#1541) 2018-03-26 21:29:22 +08: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
Harrison Healey
8decb29d52 Change to use theme utils from mattermost-redux (#1531)
* Change to use theme utils from mattermost-redux

* Updated yarn.lock
2018-03-25 12:16:33 +03:00
Harrison Healey
30a702274a Minor PostList improvements (#1528)
* Moved ChannelPostList footer out of PostList

* Fixed typo in constant

* Added debounce to loadMorePosts

* Fixed post list footer not being rerendered properly
2018-03-23 17:30:24 +03:00
Elias Nahum
8640222b4d
Merge branch 'release-1.7' 2018-03-23 11:30:01 +03:00
Elias Nahum
f56bdb3090 MM-9926 Fix iOS crash caused by permissions (#1535) 2018-03-23 01:08:59 +08:00
Elias Nahum
3bd7275cfa Rename slack attachment to message attachment and fix border color on Android (#1533) 2018-03-22 10:08:27 -04:00
Elias Nahum
fb9760b5a6 MM-9921 Load select team screen when user has no teams (#1527)
* MM-9921 Load select team screen when user has no teams

* Revert to PureComponent
2018-03-22 10:08:03 -04:00
Elias Nahum
1114c3f8dd MM-9920 Fix Invalid or missing team_id parameter in request URL (#1530)
* MM-9920 Fix Invalid or missing team_id parameter in request URL

* Feedback review
2018-03-22 08:59:54 +08:00
Elias Nahum
f85880d065
MM-9415 Fix convertion of heic to jpg (#1529) 2018-03-22 00:06:23 +02:00
Martin Kraft
ebbbd9689b MM-9545: Disables threads with deleted root post, display system message. (#1526)
* MM-9545: Adds system message for deleted root posts in threads; disables input.

* MM-9545: Removes key.
2018-03-21 09:17:54 -04:00
Harrison Healey
082b7022af
MM-9709 Fixed max width of markdown list items (#1520)
* MM-9709 Fixed max width of markdown list items

* Removed unnecessary flex from MarkdownListItem container
2018-03-20 17:25:01 -04:00
Elias Nahum
1f7ec07786
Show attachments in horizontal ScrollView (#1513)
* Show attachments in horizontal ScrollView

* feedback review
2018-03-17 12:31:41 +02:00
Elias Nahum
6874f39330 MM-9857 Disconnect WS for Android when sent to the background (#1511) 2018-03-16 17:45:06 +02:00
Elias Nahum
7ef6fe0f4a Handle permalink Android back button and use the same permalink window to avoid nesting (#1508) 2018-03-16 17:45:06 +02:00
Elias Nahum
040dc00c94 Fix team_icon to reference the pure component (#1507)
* Fix team_icon to reference the pure component

* Fix team icon in Android extension

* Fix team icon in select team screen

* Fix team switch divider in channel drawer
2018-03-16 17:45:06 +02:00
Elias Nahum
df1df76eae
MM-9857 Disconnect WS for Android when sent to the background (#1511) 2018-03-16 16:20:27 +02:00
Elias Nahum
cc64cc5dc6 Handle permalink Android back button and use the same permalink window to avoid nesting (#1508) 2018-03-16 10:15:06 -04:00
Elias Nahum
bdb247a90e Fix team_icon to reference the pure component (#1507)
* Fix team_icon to reference the pure component

* Fix team icon in Android extension

* Fix team icon in select team screen

* Fix team switch divider in channel drawer
2018-03-16 10:14:02 -04:00
Michał Odziemczyk
d827192d72 Optimize formatted_time.js (#1503)
* Optimize formatted_time.js

* trailing commas

* export default class
2018-03-14 15:58:24 -04: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
Gajanan Patil
f1ea485ba0 [MM-9526] Preview text files (#1485)
* Add text preview screen

* Add text/plain mime in supported docs format

* Add previewTextFile method to view text file in TextPreview Screen

* Fix delay for ui to update progress

* Add styling for text preview screen

* Align line numbers on right

* Start read file for preview before delay
2018-03-14 10:31:06 -04:00
Michał Odziemczyk
c20a01a0a2 Fix missing code from "delay post list for animation frame" (#1497)
* Fix missing code from "delay post list for animation frame"

* fix

* move setState elsewhere

* update

* fix

* eslint

* remove some diff
2018-03-14 10:30:27 -04:00
Elias Nahum
6c0242cf19 Add reply to post handler below the profile image (#1493)
* Add reply to post handler below the profile image

* Hide tooltip when post is tapped and tooltip is shown
2018-03-13 09:30:21 -04:00
Harrison Healey
84db6d0974 Reverted changes to normalize font size (#1489) 2018-03-07 16:35:44 +00:00
Harrison Healey
6293d3d5e4
Add null check to iOS tooltip (#1484) 2018-03-07 14:52:31 +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
68fe35c74d Fix iOS Options modal cancel press (#1488) 2018-03-07 14:23:06 +00:00
enahum
e0339c1161 MM-9706 Fix search for public channels (#1487) 2018-03-07 14:22:31 +00:00
Michał Odziemczyk
9d192a3d8a Wait for animation frame before initial rendering of post list (#1477)
* Wait for animation frame before initial rendering of post list

Improves startup experience.
(you can see yourself how big a difference is between booting to an empty channel and to a 'busy' channel, and since rendering post list is a heavy task, this change makes the initial UI appear sooner. In my testing it is about 0.7 seconds)

* eslint

* actually render empty screen when loading posts

* delay channel drawer actions after drawer is fully closed

* lazy render FlatList

* eslint

* eslint
2018-03-07 14:20:25 +00:00
Jesse Hallam
4f1e3590f8 MM-8604: handle SERVER_VERSION_CHANGED and CONFIG_CHANGED events (#1469)
* MM-8604: handle SERVER_VERSION_CHANGED and CONFIG_CHANGED events

This pairs up with the corresponding mattermost-redux changes to split
apart these events. For now, we still assume a configuration change when
detecting a server version change, given that the app may run with older
mattermost servers. In the future, we could fine-tine or remove this duplicate
config/license loading.

TODO: Depend on mattermost-redux changes in yarn.lock.

* Update mattermost-redux
2018-03-07 09:04:39 +00:00
Stan Chan
1a89982087 Fix scroll to new message (#1475) 2018-03-06 20:41:56 +00:00
Christian Hoff
98fee5e473 PLT-7567: Integration of Team Icons (#1470)
* PLT-7567: Integration of team icons in
channel drawer teams, switch team button, team selection, os share extenions

* PLT-7567: adopt updated eslint changes

* PLT-7567: Component for team icon display, refactoring

* PLT-7567: removed redundant styles

* PLT-7567: redux connected component for team icon, error handling
2018-03-06 20:39:24 +00:00
enahum
31d48fa49c [MM-9690] Fix Open teams that you've never been a member of aren't able to be joined (#1465) 2018-03-05 15:13:23 +00:00
enahum
b465312cee Fix edit channel (#1479) 2018-03-05 15:12:28 +00:00
Harrison Healey
6cbc71b718 MM-9612 Better handled out of order posts causing duplicate date headers (#1468) 2018-03-05 13:21:10 +00:00
Harrison Healey
80c09b588d MM-9647 Replaced usage of preventDoubleTap with wrapWithPreventDoubleTap (#1471)
* MM-9467 Replaced usage of preventDoubleTap with wrapWithPreventDoubleTap

* MM-9467 Renamed wrapWithPreventDoubleTap to preventDoubleTap
2018-03-02 11:22:37 +00:00
Jesse Hallam
58b72302d6 update eslint's comma-dangle rule to always-multiline (#1457)
* update eslint's `comma-dangle` rule to `always-multiline`

* add check and fix scripts to package.json

* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
enahum
4959af54ed MM-9637 Fix text not visible when typing on Android search box (#1450) 2018-02-20 18:37:00 -05: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
Carlos Tadeu Panato Junior
695fe62fff [MM-9321] Add a "+" button to make it easy to add Emoji Reactions (#1455) 2018-02-20 10:59:39 -03:00