Commit graph

1149 commits

Author SHA1 Message Date
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
Elias Nahum
8d30a37b17
Bump Android build number to 89 (#1506) 2018-03-15 00:01:39 +02:00
Elias Nahum
d5a284add4
Bump iOS build number to 89 (#1505) 2018-03-15 00:01:23 +02: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
39774f8c20
translations PR 20180314 (#1502) 2018-03-14 09:24:47 +00:00
Harrison Healey
e300ed5c88 Replaced occurances of wrapWithPreventDoubleTap with preventDoubleTap (#1499) 2018-03-14 00:14:35 +08: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
Elias Nahum
386b7695db MM-9740 Fix ping url when fallback to v3 (#1494) 2018-03-12 10:24:00 -04:00
Elias Nahum
84aa641740
Bump Android build number to 88 (#1492) 2018-03-08 12:04:39 +00:00
Elias Nahum
0309fa062b
Bump iOS build number to 88 (#1491) 2018-03-08 11:58:34 +00:00
Harrison Healey
66c530fe7a MM-9347 Added email autolinking (#1490) 2018-03-08 04:36:59 +08: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
enahum
aceb42aab5
translations PR 20180306 (#1483) 2018-03-07 08:26:28 +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
enahum
8981693474
translations PR 20180227 (#1467) 2018-03-02 11:38:08 +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
Harrison Healey
30f0f6eef3 RN-9289 Updated yarn.lock to fix deleted teams appearing on teams list (#1464) 2018-03-01 06:41:35 +00:00
enahum
db5339e7f6 [MM-9559] use NSURLSessionUploadTask with the new files endpoint in iOS Share Extension (#1458) 2018-02-23 09:56:27 -05: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
4b3bc57643 [MM-9626 & MM-9627] iOS share fixes (#1446)
* MM-9627 Fix keyboard dismissal when searching for channels

* MM-9626 Use TableView for team listing
2018-02-20 18:41:17 -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
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
Joram Wilander
84a2a0fab8
ABC-123 Add handling for loading custom emojis asynchronously (#1406)
* Add async handling of custom emoji to posts and channel info

* Add server request to emoji autocomplete

* Add custom emoji paging and server search to emoji picker

* Fix android

* Update mattermost-redux and revert temp change

* Backwards compatibility fixes

* Updates per feedback

* Set server version when user is not logged in

* Reset section index when search is cleared or cancelled

* Some small fixes and upgrade mattermost-redux

* Minor sorting changes
2018-02-15 17:38:45 -05:00
enahum
d156c9f320 Fixing tooltip (#1443)
* Fixing tooltip

* Add hide menu
2018-02-15 17:38:10 -05:00
enahum
7f02889efc Add defensive code for pendingPostIds (#1435) 2018-02-15 17:36:57 -05:00
enahum
70dada8daf
translations PR 20180215 (#1444) 2018-02-15 08:00:32 -03:00
enahum
0482f35035
Bump Android build number to 87 (#1442) 2018-02-14 14:25:30 -03:00
enahum
19ff264dad
Bump iOS build number to 87 (#1441) 2018-02-14 14:23:01 -03:00
enahum
054f1e6d4f
Using the correct NSAppleMusicUsageDescription key (#1440) 2018-02-14 13:51:49 -03:00
enahum
c3eee12db4
Adding required NSAppleMusicUsageDescription by Apple (#1438) 2018-02-14 13:27:47 -03:00
Eric Sethna
0fd67ade4d Update CHANGELOG.md (#1436) 2018-02-13 20:31:07 -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
6bc1f4a2db
Update mattermost-redux (#1432) 2018-02-12 19:58:53 -03:00