Commit graph

188 commits

Author SHA1 Message Date
Elias Nahum
5bf248d5c4
Fix getting the youtube video id (#1890)
* Fix getting the youtube video id regardless where the id is defined in the link

* feedback review

* Simplify and add unit tests for getYouTubeVideoId
2018-07-05 15:02:34 -04:00
Elias Nahum
11da5e22bc Fix badges not using the right theme prop (#1855) 2018-06-29 16:34:54 -04:00
Elias Nahum
aade1f0e35
Merge branch 'release-1.9' into merge-1.9 2018-06-27 18:17:44 -04:00
Harrison Healey
dcdf6d7971 MM-11052 Cherry-pick RN fix for Android keyboard emoji autocomplete (#1838) 2018-06-27 09:52:51 -04:00
Elias Nahum
cf24580e48 Update RNFetchBlob to allow arabic chars (#1836) 2018-06-27 08:13:28 -04:00
Harrison Healey
ffd7c70d61 MM-10996 Fixed getting post thread after receiving posts over the websocket (#1835) 2018-06-26 19:39:07 -04:00
Elias Nahum
f6d4d40caa Open YouTube videos at a specific time (#1794)
* Open YouTube videos at a specific time

* Move react-native-youtube changes to a fork
2018-06-26 01:40:31 +05:30
Elias Nahum
ba09fb9792 Sidebars improvement (#1787)
* Sidebars improvement
* Explicitly handle Android back button in code screen
* return null on getDerivedStateFromProps when no state changes needed
2018-06-26 01:17:53 +05:30
Elias Nahum
375c41dc3c
Merge branch 'release-1.9' 2018-06-25 15:31:46 -04:00
Harrison Healey
763016cf1a MM-11016 Updated redux to not error when failing to parse websocket origin (#1823) 2018-06-25 12:08:07 -04:00
Elias Nahum
2f12c0feea
Update mattermost-redux (#1792) 2018-06-22 18:07:19 -04:00
Elias Nahum
08910bef6e
Merge pull request #1810 from mattermost/release-1.9
merge Release 1.9 into master
2018-06-22 17:59:04 -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
34c2c19ae3
Merge branch 'release-1.9' 2018-06-21 18:50:39 -04:00
Harrison Healey
e19b6a08d3 Silence fetch errors caused by websocket action (#1797) 2018-06-21 18:17:29 -04:00
Harrison Healey
e0a8a5343a MM-8701 Get client config after logging in (#1790) 2018-06-21 00:41:32 +05:30
Saturnino Abril
a6e0fcf128
update mattermost-redux with fix on duplicated user on combined system messages (#1788) 2018-06-20 16:33:44 +08:00
Jesse Hallam
8372e95d4a add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -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
27b68c74dc
Fix roles Set issue and update device-info to not cache appVersion (#1753) 2018-06-08 17:42:04 -04:00
Jesse Hallam
3da114a827 update mattermost-redux (#1750) 2018-06-08 16:27:54 -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
Elias Nahum
02f0e7348d
Update mm-redux to use release-5.0 branch (#1738) 2018-06-07 14:48:42 -04: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
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
dd346dbd75 update redux to latest 1cc6009 (#1704)
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-24 17:19:42 -04: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
Saturnino Abril
b94df667c4
updated mattermost-redux which fixes combined post which ignores other post types (#1684)
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-21 05:51:25 +08: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
Elias Nahum
45c43413e8 Fix image preview zoom & scrolling jumps (#1677) 2018-05-16 09:38:56 -04:00
Saturnino Abril
7863ebc588
Include "id" to data for UserTypes actions - RECEIVED_PROFILE_IN_CHANNEL (#1676)
* Include "id" to data for UserTypes actions - RECEIVED_PROFILE_IN_CHANNEL

* update commit of mattermost-redux
2018-05-16 05:21:00 +08:00
Elias Nahum
23ca490525
Ability to upload other file types (#1662) 2018-05-11 18:05:49 -03:00
Elias Nahum
76e664cdae
Prevent duplicate flagged posts (#1670)
* Make sure date component keys are always different

* update mattermost-redux
2018-05-11 18:05:32 -03:00
Harrison Healey
4d506b6e4d
Moved getCurrentUserLocale to mattermost-redux (#1652) 2018-05-04 11:21:34 -04:00
Harrison Healey
3b33b51f11
MM-10360 Render OpenGraph previews for pages with an empty description (#1651)
* MM-10360 Render OpenGraph previews for pages with an empty description

* Updated mattermost-redux
2018-05-03 10:02:09 -04:00
Saturnino Abril
8a152ac1e7 convert test runner from mocha to jest (#1637) 2018-04-30 10:55:01 -04:00
Elias Nahum
f704d79e72
Merge branch 'release-1.8' 2018-04-27 22:49:49 -03:00
Harrison Healey
4ebff99360 Fix profile images (#1643)
* Attempted to fix profile pictures on Android

* Fixed uploading profile pictures

* Added warning when ImageCacheManager.cache is called without callback

* Fix image cache so the files are not too long
2018-04-27 21:36:33 -03:00
Elias Nahum
80dd9366a1 Update Dependencies (#1641)
* Update dependencies including react-native

* Update react-native-circle-progress dependency

* Fix prop warnings and possible crashes
2018-04-27 17:49:09 -04:00
Harrison Healey
ffa62528f1 Improved performance while autolinking emails (#1632) 2018-04-26 19:34:22 -03:00
Elias Nahum
6553b948ad
Bump iOS build number to 97 (#1622)
* Downgrade to RN 0.52.3

* Bump iOS build number to 96

* Fix iOS permissions

* Update Android build to match iOS

* Bump iOS build number to 97
2018-04-25 18:39:20 -03:00
Jesús Espino
169341a54a MM-10298: Use last mattermost-redux version (#1620) 2018-04-25 13:00:31 -04:00
Harrison Healey
81b61b8bb7 MM-10180 Better handle characters after periods in URLs (#1603) 2018-04-24 18:12:52 -03:00
Harrison Healey
4c56b05cb3 Added explicit versions to all packages (#1602) 2018-04-20 18:55:20 -03:00
Elias Nahum
e748d8de33 Upgrade to RN 0.55.3 (#1600) 2018-04-19 17:00:12 -04:00