Commit graph

172 commits

Author SHA1 Message Date
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
Harrison Healey
e19b6a08d3 Silence fetch errors caused by websocket action (#1797) 2018-06-21 18:17:29 -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
Elias Nahum
69a8df33f4
Update bad dependencies 2018-04-19 08:01:08 -03: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
a2b3ca3bac Move forked dependencies into mattermost org (#1574) 2018-04-11 13:32:51 +03: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
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
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
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
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
enahum
418c1ce9ba Update tooltip library (#1426)
* Update tooltip library

* Feedback review

* remove static field
2018-02-12 09:03:05 -05:00
enahum
9a0a43ae35 Enable iOS Share Extension with TableView (#1418)
* Enable iOS Share Extension with TableView

* show channel display_name when main app channel is dm or gm

* feedback review
2018-02-08 12:14:40 -05:00
enahum
d0f96c0887
[ICU-650] Upgrade React Native to 0.52.2 (#1421)
* Upgrade to React Native 0.52.2

* Bump app version to 1.7.0

* Update fastlane

* Upgrade mattermost redux

* feedback review
2018-02-07 18:24:01 -03:00
Stephen Kiers
29705d0715 ICU-573 Allow flag on file upload to trigger unescape of filename (#1383)
* properly encode filename to be handled by android

* Perf updates

* remove form-data devDependency

* Broke out encoding to function

* missed one

* Removed fontSize prop from Emoji

* trigger jenkins

* reverse jenkins trigger

* fix styles

* eslint upgrade

* Fine, harrison…

* needed semicolon now….
2018-01-31 11:42:02 -05:00
enahum
6132b72adb
iOS request permissions if needed to save files to the photo library (#1368)
* iOS request permissions if needed to save files to the photo library

* Fixing capital letter in permission description
2018-01-22 16:18:42 -03:00
enahum
926ffe96c5
Android share extension (#1352)
* Android share extension

* Feedback review

* Feedback review
2018-01-17 18:17:02 -03:00
Harrison Healey
71df3ef8fa Upgrade to React Native 0.51.0 (#1344)
* Upgraded React Native to 0.51.0

* Updated react-native-linear-gradient to 2.4.0 to support RN 0.51.1
2018-01-15 15:12:17 -03:00
Chris Duarte
224099a9dc Add fuzy search to the emoji picker (#1310)
* Add fuzy search to the emoji picker

remove comments from master rebase

Add fusejs to NOTICE.txt

* Add fuzzy search support for emoji_picker
2018-01-02 17:21:50 -05:00