Commit graph

720 commits

Author SHA1 Message Date
Chris Duarte
00a04dfd55 Fix SAML login button border (#1597) 2018-04-17 15:23:55 -04:00
Chris Duarte
d9f2bca9c0 Share ext error (#1587)
* Wrap iOS share extension in error boundary component

* Wrap Android share extension in error boundary component

* Review feedback
2018-04-17 15:23:37 -04:00
Elias Nahum
033a0c15bd
Fix Downloads and previews (#1596)
* Fix downloads and previews

* Update react-native-doc-viewer dependency
2018-04-17 12:10:51 -03:00
Harrison Healey
5a23129a50 Fixed null pointer in ProfilePicture (#1595) 2018-04-17 22:40:09 +08:00
Saturnino Abril
effc99462b fix crash on search (#1594) 2018-04-17 09:23:28 -04:00
Elias Nahum
a5662cc747 Fix images transition (#1590) 2018-04-17 09:22:49 -04:00
Saturnino Abril
38b16b435f [MM-10055] Filter out deactivated user when viewing channel members (#1582)
* filter out deactivated user when viewing channel members

* apply makeGetProfilesInChannel is filtering out the deactivated user/s

* update using makeMapStateToProps
2018-04-13 13:30:49 -04:00
Saturnino Abril
2092d778f0 [MM-9216] Add date separator per search result item (#1583)
* add date separator per search result item

* rebase to latest and make each post of recent, flagged and search results have date separator
2018-04-13 13:30:15 -04:00
Elias Nahum
006c5a08d7
Use local Images when possible (#1580)
* Fix advance settings android layout

* include react-native-image-gallery dependency

* ImageCacheManager

* Add support for isGif, isDocument, isVideo and purge to file utils

* Remove file fetch cache

* include progressive image component

* Refactor image previewer

* Add image preview support for open graph and embed images

* Cache user profile picture

* Fix post additional content images for android

* Preview markdown inline images

* Improve progressive image

* feedback review
2018-04-13 12:23:15 -03:00
Harrison Healey
c0fa74203c MM-9045 Sorted More Direct Messages by username (#1579) 2018-04-13 12:22:47 -03:00
Chris Duarte
676a180067 Fix press username to mention (#1547)
* Fix press username press to mention

* Add cursorPosition to post_textbx state

* Remove unneeded draftSelectionChanged actions and events
2018-04-13 11:15:19 -04:00
Elias Nahum
484a5a11f9 Flagged Posts and Recent Mentions (#1584)
* Fix reply count in post header

* Make channel loader to trigger manually

* post list selector for search

* Include date separators in search results

* Flagged posts

* Recent Mentions

* Retry option for flagged posts and recent mentions

* feedback review

* Update mattermost-redux
2018-04-13 10:26:37 -04:00
Chris Duarte
d6ee97c0c7 Show FlatList when searching in More DM Screen (#1546)
* Set searchbars to autoCapitalize='none'

*  Show flatlist when searching profiles for more dms

* Fix lint errors
2018-04-13 09:03:02 -03:00
Stan Chan
780d05ccbf ExperimentalHideReadOnlyTownSquare config and readonly PostTexbox placeholder (#1476)
* Remove ability to edit town-square and hide post textbox

* Add placeholder to read only TS post textbox.

* Only run townHallFilter if ExperimentalHideReadOnlyTownSquare is true

* Fix eslint errors

* Refactor to use new read only channel selectors

* Change canEditChannel to check if channel is read only

* Fix rebase issues

* Fix lint errors.
2018-04-13 08:21:25 -03:00
Elias Nahum
244ad60525 MM-10016 Globe icon not centered to the channel title in LHS (#1581) 2018-04-12 11:51:19 -04:00
Elias Nahum
78d223b611
Fix posts in thread (#1572)
* Fix posts in thread

* include postsInThread in initial state
2018-04-05 23:13:07 +03:00
Jesús Espino
f91abf3ea9 Advanced permissions phase 1 (#1571)
* [XYZ-45] New permissions implementation

* Changing mattermost-redux branch in packages.json

* Changed yarn.lock file to point to advanced-permissions-phase-1

* MM-9620: Add reactions permissions (#1451)

* Fixing some code styles warnings

* Fix mobile app to use latest Mattermost redux

* Some merge errors fixed
2018-04-04 18:01:39 +03:00
Elias Nahum
683ebc3faa Select text in the code/text preview screens (#1561)
* Make code and plain text previews selectable

* Support more file formats in text preview

* Fix selection in android
2018-04-04 09:15:23 -04:00
Elias Nahum
e20b84c6d8 Upload progress indicator (#1562)
* Long post support

* Split file upload component

* Use fetch blob fork

* add progress to file upload

* Remove SERVER.PID from Makefile

* Preview only images

* remove unused prop
2018-04-04 09:14:26 -04:00
Elias Nahum
1d72f46031 Add Ability to DM myself from the User Profile screen (#1560) 2018-04-04 09:12:34 -04:00
Elias Nahum
f84d6f76e0
Channel mute style (#1564)
* Channel mute style

* Match opacity change in the webapp
2018-04-04 15:08:12 +03:00
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