Commit graph

79 commits

Author SHA1 Message Date
Elias Nahum
88f5848850
Dependencies update (#2576)
* Dependencies update

* Fix WebView

* Update to RN 0.58.5 and include the WebSocket fix

* Update react-native-video

* Fix RNFetchBlob
2019-02-20 17:17:04 -03:00
Jesús Espino
99a0d07adf Adding i18n-extract task to the Makefile (#2416) 2018-12-05 09:05:31 -03:00
Jani Uusitalo
f65cf86038 Fix 'pre-buid' typo in build-android target (#2281) 2018-10-19 09:00:15 -03:00
Elias Nahum
5e13bc2f7c Fix typo in build script (#2272) 2018-10-17 15:35:25 -04:00
Elias Nahum
0bc824150e
Update build script to run npm ci instead of npm install (#2264) 2018-10-14 20:42:09 -03:00
Elias Nahum
1b61a1cef1 Remove prepare-pr so it does not checkout the branch (#2245) 2018-10-10 14:37:12 +02:00
Elias Nahum
4e94f81c00
Update Fastlane scripts (#2231)
* Upload builds to store after a successful build

* Update script to build PRs
2018-10-09 12:05:24 -03:00
Elias Nahum
43cdaa81a5
Fix Option to capture and share video (#2225) 2018-10-05 17:46:47 -03:00
Elias Nahum
75a23dbf18
Fastlane update to include new build process (#2208) 2018-10-03 15:09:42 -03:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 (#2131) 2018-09-20 19:05:41 -03:00
Harrison Healey
c7dbf2f818
Remove .npminstall and don't explicitly build mattermost-redux (#2135)
* Remove .npminstall and don't explicitly build mattermost-redux

* Update mattermost-redux to merged version of changes
2018-09-18 15:09:41 -04:00
Elias Nahum
8e46b0d810 Fix moving Mattermost-unsigned.apk from the right directory (#2020) 2018-08-21 10:22:12 -04:00
Jani Uusitalo
f4cecd0ba8 Add -f to all ps calls in Makefile (#1919)
Output from procps' ps with -e only produces the process name, so
grepping for "cli.js start" fails every time. This change adds
(POSIX-compliant) -f to all ps calls to get the full command. AWK
print parameter is adjusted accordingly where needed.
2018-07-16 12:20:45 -04:00
Elias Nahum
be22eb9a42
Fix setting iOS app group id on build time 2018-06-25 13:51:24 -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
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
23ca490525
Ability to upload other file types (#1662) 2018-05-11 18:05:49 -03:00
Elias Nahum
e748d8de33 Upgrade to RN 0.55.3 (#1600) 2018-04-19 17:00:12 -04:00
Harrison Healey
1e79923e95 MM-9982 Switched to npm (#1592) 2018-04-17 10:56:30 -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
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
94af2d5725
Fix Makefile (#1424) 2018-02-08 10:49:34 -03: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
enahum
cd6fd9017f Fix Android app stuck in splash screen when killed by the OS (#1403) 2018-02-01 09:56:09 -05:00
Jesús Espino
10e21c1cc2 Makefile compatible with linux (#1384) 2018-01-26 14:38:37 -05:00
Chang Phui-Hock
dd180fdef7 In Linux, ps -e used in make stop task produces only the process name without the argument. Should use ps -ef. (#1370) 2018-01-24 16:35:40 -05:00
enahum
926ffe96c5
Android share extension (#1352)
* Android share extension

* Feedback review

* Feedback review
2018-01-17 18:17:02 -03:00
Martin Kraft
38d0c57466 RN-545: Builds, uploads to S3, notififes channel. (#1330)
* RN-545: Builds, uploads to S3, notififes channel.

* RN-545: Awesomeified the bot post.

* RN-545: Adds logos to qa builds. Uses env variable for mattermost() invocation to get exceptions via webhook.

* RN-545: Fix typo.
2018-01-10 16:26:05 -05:00
enahum
4ae1caa1a8
Make fastlane generic (#1328)
* Make fastlane generic

* Move release assets to dist folder for easier white labeling

* Remove at in help command
2018-01-04 12:49:19 -03:00
Chris Duarte
2e951cbfca Upgrade to RN 0.50.4 (#1303)
* Update to RN 0.50.4

* Fix intl context in post textbox
2017-12-22 19:39:51 -03:00
Martin Kraft
81a89f0b83 Inline help documentation for make commands. (#1274) 2017-12-12 15:57:49 -03:00
enahum
f16f8df0d3
Run podinstall if the OS is mac (#1250) 2017-12-08 18:19:30 -03:00
enahum
b639d80159 update java package when preparing for release (#1240)
* update java package when preparing for release

* Fix unsigned build
2017-12-04 10:04:38 -05:00
enahum
e682d84d00
Fix run make commands (#1197) 2017-11-22 14:33:54 -03:00
enahum
fa9b0fad44
Use reset-cache flag to start the packager only for building (#1188)
* Use reset-cache flag to start the packager only for building

* Keep packager in the foreground
2017-11-22 12:41:25 -03:00
Chris Duarte
e345ee1e7b Add recently used section (#1136)
* Add recently used section and section icons

* Improve section scrolling indication

* Modify Makefile and use onMomentumScrollEnd

* Make sure top section maintains highlight when scrolled to top

* Sort emojis by startsWith then includes when filtering
2017-11-21 10:20:09 -05:00
enahum
2e9fb7f824
Fix Makefile to avoid Platform duplicates in VirtualizedList (#1156) 2017-11-15 11:40:16 -03:00
enahum
1cc621bec3
Fix blurry look when render inverted FlatList in iOS (#1145) 2017-11-15 09:53:23 -03:00
enahum
9e1d63c991 Fix huawei inverted list (#1133) 2017-11-13 11:54:00 -05:00
enahum
b649dada6f RN-13 Scroll to New messages indicator (#1110) 2017-11-09 08:50:04 -06:00
enahum
9910e3438d
Upgrade RN (#1102) 2017-11-07 13:34:39 -03:00
enahum
7c8f735b3b
Merge Build 62 into master (#1090)
* Use ImageBackground for youtube videos instead of nested Images

* Fix bugs reported by sentry (#1081)

* Update Mattermost redux (#1086)

* Fix middleware

* Upgrade mattermost-redux

* another middleware fix

* RN-456 when a channel is left we update content and title (#1087)

* Version Bump to 62 (#1088)

* Version Bump to 62 (#1089)
2017-11-02 17:53:20 -03:00
enahum
dec442a4a4 Babel plugin to remove console.* in production (#1048) 2017-10-23 09:01:43 -03:00
enahum
cc966702fd Improve performance of the channel drawer (#1023)
* Improve performance of the channel drawer

* Feedback review

* Fix makefile

* Feedback review 3

* Fix areStatesEqual

* Fix Android SVG
2017-10-17 10:06:28 -07:00
enahum
825a404379 Respect Android orientation lock (#1006) 2017-10-10 11:18:32 -04:00
enahum
4995a76f2c Add Landscape support for both platforms (#909)
* Landscape support

* Fix image rotation on Android

* Fix landscape mode for login and login options

* Fix previewer will receive props

* Move device dimensions and others to redux

* Fix unit tests

* Include orientation and tablet in the store
2017-09-20 12:54:24 -07:00
enahum
90f06fb277 Add device check before executing run-ios and run-android (#919) 2017-09-20 09:48:50 -03:00
enahum
da28fa18e4 Fix about title (#918) 2017-09-19 12:55:52 -03:00
enahum
b2cddad13a Update make scripts and fastlane (#908) 2017-09-18 14:34:54 -04:00