Commit graph

801 commits

Author SHA1 Message Date
Sudheer
d07d85ef9d MM-11006 Fix android seach field population for in and from keywords (#1806) 2018-06-22 17:18:53 -04:00
Elias Nahum
8aa4c1467d
Fixes entry point and keyboard lag (#1804)
* Fix entry when upgrading/installing and not logged

* Fix textInput lag by using rn fork

* Update RNFetchBlob
2018-06-22 16:19:51 -04:00
Elias Nahum
3055a43ec8
Fix user being "logged out" after upgrading (#1798) 2018-06-21 18:17:59 -04:00
Harrison Healey
e19b6a08d3 Silence fetch errors caused by websocket action (#1797) 2018-06-21 18:17:29 -04:00
Harrison Healey
92b992d204
MM-10822 Change post textbox to only be partially connected 2018-06-21 18:13:02 -04:00
Elias Nahum
63a6a9ee91
Replacing fetch with RNFetchBlob (#1782) 2018-06-19 14:44:10 -04:00
Saturnino Abril
c4f36201b3 Fix memory leak on combined_system_message component (#1775)
* fix memory leak on combined_system_message component

* updated per comment

* move makeGetProfilesByIdsAndUsernames to mattermost-redux

* updated mattermost-redux
2018-06-18 15:46:15 -04:00
Harrison Healey
b8afc0e74c MM-10888 Hide parts of combined system messages that don't affect the current user (#1768)
* MM-10888 Hide parts of combined system messages that don't affect the current user

* Switch redux to release-5.0 branch
2018-06-14 09:04:58 -04:00
Elias Nahum
691ea46587
Render SAML json errors and include special header in webview requests (#1761) 2018-06-13 10:14:38 -04:00
Harrison Healey
5aa4f6b6c9 MM-10815 Load more posts when post list is under 1 screen long (#1759) 2018-06-13 09:19:47 -04:00
Saturnino Abril
0bb21f5374 close permalink on delete of focused post ID (#1757) 2018-06-11 17:26:50 -04:00
Martin Kraft
e31726c74d MM-10819: Adds 'Delete' long-press action for system messages. 2018-06-11 14:16:36 -04:00
Elias Nahum
27b68c74dc
Fix roles Set issue and update device-info to not cache appVersion (#1753) 2018-06-08 17:42:04 -04:00
Elias Nahum
19729db610
Fix user is typing cut off on iOS (#1744) 2018-06-08 17:35:33 -04:00
Saturnino Abril
954ffeaadf set solid background color on permalick header divider (#1752) 2018-06-08 17:25:45 -04:00
Elias Nahum
a2af6b5fd6
Fix inApp notification handler (#1749) 2018-06-08 16:18:14 -04:00
Elias Nahum
e3e2456ecd Fix android share extension channel switching and searching 2018-06-08 15:25:00 -04:00
Saturnino Abril
2f3488f622 MM-10340 Fix "More New Messages Above" that appears on top of the channel after joining (#1710)
* Replace "More New Messages Above" with "New Messages" that appears on top of the channel after joining

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* add conditions in adding entry of start of new messages in preparing post IDs for post list

* remove post unread for user joinining the channel

* refactor and remove unnecessary conditional check

* fix and add test cases
2018-06-07 17:14:41 -04:00
Harrison Healey
b12d4cd91b MM-10823 Switch to default channel after leaving channel (#1743) 2018-06-07 17:13:29 -04:00
Harrison Healey
bbe27df6ea MM-10784 Remove keyboard animation (#1742)
* Patch layout bug

* Fixed warnings
2018-06-07 16:24:24 -04:00
Elias Nahum
2dcf718f81
Fix iOS type error warnings (#1737) 2018-06-07 15:58:04 -04:00
Saturnino Abril
90adb0524b remove converted channel (into private) from "MoreChannels" screen of joinable channels (#1740) 2018-06-07 15:52:40 -04:00
Chris Duarte
c63ca6a7e0 Ping server after setting app offline/online. Also include timeout (#1739)
* Ping server after setting app offline/online.  Also include timeout

* Add missing semicolon
2018-06-07 14:47:09 -04:00
Elias Nahum
c0b41cff33
Fix Team icon background and radius in team lists (#1735) 2018-06-07 10:17:41 -04:00
Harrison Healey
fa17e9ad9d Fixed dev-mode error relating to adjacent images (#1731) 2018-06-07 10:17:08 -04:00
Elias Nahum
4841678213 Fix inline images in long posts (#1732) 2018-06-07 03:36:50 +08:00
Elias Nahum
43cf9b5294
Fix change team and channel in iOS share extension (#1727) 2018-06-06 13:00:53 -04:00
Saturnino Abril
37484f104b [MM-10303] Fix scrolling issue on profiles when adding user/s to a channel (#1725)
* fix scrolling issue on profiles when adding user/s to a channel

* use existing emptyFunction at utils/general
2018-06-06 13:00:07 -04:00
Harrison Healey
0910bef8ae MM-10372 Get channel if necessary when loading from push notification (#1730) 2018-06-05 15:37:44 -04:00
Elias Nahum
8673bc69c4 Fix iPhone X safe area insets to avoid jumps (#1728) 2018-06-05 11:47:59 -04:00
Saturnino Abril
4db67a9734
fix DM's channel displayname (instead of "Someone") after creating a DM (#1721) 2018-06-05 03:18:14 +08:00
Saturnino Abril
78acd89222 [MM-10727 and MM-10755] Fix missing username and styling issue of combined system messages (#1719)
* fix missing username by supporting backward compatibility on `addedUsername` props when adding user to the channel or team

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* updated mattermost-redux with related PR merged
2018-06-04 14:59:38 -04:00
Harrison Healey
861b46d605
MM-9547 Added CustomUrlSchemes option (#1718)
* MM-9547 Added CustomUrlSchemes option

* Switched mattermost-redux back to master
2018-06-04 10:25:34 -04:00
Elias Nahum
6179c031cd Fix long post detection (#1713) 2018-06-04 08:54:59 -04:00
Elias Nahum
cf3683272e Entry screen and Channel Loader improvements (perf part 4) (#1707)
* Entry screen and Channel Loader improvements

* Feedback review

* Removed unnecessary style array
2018-05-29 10:58:06 -04:00
Saturnino Abril
b500df868e MM-10722 Fix display name of other user after joining a channel (#1709)
* fix bundling failed with "mime-db" error

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* fix display name of other user after joining a channel

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-29 10:28:58 -04:00
Saturnino Abril
bc57bf5163 remove desktop duration on notify props (#1706)
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-25 09:47:40 -04:00
Chris Duarte
5604836a9d Save credentials immediately after login (#1703)
* Save credentials immediately after login

* Add mock app class to login.test.js
2018-05-25 09:21:18 -04:00
Saturnino Abril
38daeb95cf
[MM-10394] Make hidden town-square (on read-only) be available to view by joining in more channels (#1666)
* make hidden town-square (on read-only) be available to view by joining in more channels

* updated

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-25 04:38:39 +08:00
Saturnino Abril
1e4ee0716f [MM-10594] Add feature to combine join/add/leave/remove to channel/team system messages (#1682)
* add feature to combine system messages

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* updated copyright to 2015

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* updated per comments

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-24 16:34:33 -04:00
Elias Nahum
e72bb48d98 Cold-start channel drawer improvements (#1702) 2018-05-24 11:04:24 -04:00
Elias Nahum
efa3f59d12 Remove test code from MattermostManaged (#1701) 2018-05-24 09:29:41 +08:00
Elias Nahum
c171ae4809
Enable Android Unbundle strategy (perf part 2) (#1700)
* Enable Android Unbundle strategy

* feedback review

* Update modulePaths

* Add npm start and use it in the Makefile

* feedback review #2
2018-05-23 13:23:38 -04:00
Elias Nahum
e07a738dcd Remove orientation dependency (#1698)
* Remove orientation dependency

* Update NOTICES
2018-05-23 10:39:23 -04:00
Elias Nahum
b8f6160f73 Update Android JavaScriptCore in release mode (#1697) 2018-05-23 10:39:09 -04:00
Chris Duarte
4cebfdfd5d Fix issue where auto closed DMs would not show again (#1689)
* Fix issue where auto closed DMs would not show again

* Fix lint error

* Review feedback
2018-05-22 12:26:09 -04:00
Elias Nahum
8e0d167f95 Fix push notification and emm race conditions (#1691)
* Fix push notification and emm race conditions

* feedback review

* Removed unnecesary code
2018-05-22 11:02:14 -04:00
Chris Duarte
e8712f9199 Cold startup js refactor (#1598)
* Switch to SingleDex and remove all locales

* WIP Mattermost Start Component for lazy loading modules

* Add files changed for native modules

* Add Entry component and app global object

* dispatch setStatusBarHeight for iOS

* Update screen imports

* Include Entry screen

* Refactor app to mattermost.android.js

* Override unnecessary java files

* Fix minor issues in changes

* Display empty state based on user credentials

Also, add proper background theme for empty loading screen

* Add native module constant cache support

* Fix startup theme regression

* Add Keychain support for credentials

* Fix Orientation regression

*  Fix SharedExtension regression

* Emit NATIVE_APP_LAUNCHED across bridge only once during cold start

* Add iOS Support

* Revert to previous implementation of i18n

* Fix styling issues

* Include listener for SERVER_VERSION_CHANGED

* Add SafeAreaView in Entry screen

* Register deviceToken early, in order to get iOS PN Support

* Include StartTimeModule

* Add ReplyFromPush support and remove NATIVE_APP_LAUNCHED listener

* Package native constants in StartTimeModule and avoid bridge calls

* Fix check-style errors

* Code cleanup

* Rename StartTimeModule to InitializationModule

* Remove NavigationApplication

* Documentation and minor changes

* Account for app opening after SharedExtension

* Refactor getIntl to getTranslations

* Move native module constants into it's own forked repos

* Include FetchBlob and DeviceInfo forked repos
2018-05-18 17:13:00 -04:00
Saturnino Abril
8cf1f07ad8 fix JS error on announcement banner when no license is set (#1679) 2018-05-18 09:58:49 -04:00
Harrison Healey
5884bd4dc1 MM-10617 Fixed checking if a link is an image (#1681)
* MM-10617 Fixed checking if a link is an image

* Added unit tests
2018-05-18 01:10:17 +08:00