Commit graph

393 commits

Author SHA1 Message Date
Miguel Alatzar
c321c773c3 Merge branch 'master' into rnn-v2 2019-07-12 09:01:33 -07:00
Harrison Healey
7f9dd13690
Bump app build number to 207 (#2972) 2019-07-12 09:04:03 -04:00
Miguel Alatzar
d7432d3d41 Merge branch 'master' into rnn-v2 2019-07-09 14:08:15 -07:00
Elias Nahum
f82b571d13
Bump app build number to 206 (#2963)
* Bump app build number to 206

* Set Android targetSdkVersion to API level 28
2019-07-08 18:37:55 -04:00
Miguel Alatzar
5eee2b7652
[MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components (#2920)
* Update screens

* Update login tests

* Remove done

* Fix failing tests

* Update screens and components

* Check styles fix

* Update tests

* Prevent setState call after component unmounts

* Add empty setButtons func to dummy navigator

* Remove platform check

* Remove Platform import

* Update react-native-navigation version

* Add separate showModalOverCurrentContext function

* check-style fixes

* Remove overriding of AppDelegate's window

* Fix modal over current context animation

* Add showSearchModal navigation action

* Check-style fix

* Address review comments

* Update SettingsSidebar and children

* Update EditProfile screen

* Update SettingsSidebar

* Keep track of latest componentId to appear

* Track componentId in state to use in navigation actions

* Update FlaggedPosts and children

* Update RecentMentions

* Update Settings

* Store componentIds in ephemeral store

* Update AttachmentButton

* Remove unnecessary dismissModal

* Fix typo

* Upate NotificationSettings

* Update NotificationSettingsAutoResponder

* Update NotificationSettingsMentions

* Update NotificationSettingsMobile

* Update CreateChannel and children

* Update MoreChannels

* Update ChannelPeek and children

* Update ChannelNavBar and children

* Update ChannelPostList and children

* Update ChannelInfo and children

* Update ChannelAddMembers

* Update ChannelMembers

* Update EditChannel

* Fix setting of top bar buttons

* Update Channel screen and children

* Update PinnedPosts

* Update LongPost

* Update PostOptions

* Update PostTextboxBase

* Update EditPost

* Check-styles fix

* Update DisplaySettings

* Update Timezone

* Update SelectTimezone

* Update IntlWrapper and Notification

* Update InteractiveDialog and children

* Update ExpandedAnnouncementBanner

* Update ClientUpgradeListener

* Update MoreDirectMessages

* Update SelectorScreen

* Update UserProfile

* Update Thread

* Update About

* Update ImagePreview

* Update TextPreview

* Update AddReaction

* Update ReactionList and children

* Update Code

* Update TermsOfService

* Update Permalink

* Update Permalink

* Update ErrorTeamsList

* Update Search

* Remove navigator prop

* Fix setButtons calls

* Remove navigationComponentId

* Fix test

* Handle in-app notifs in global event handler

* Fix in-app notification handling

* Fix typo

* Fix tests

* Auto dismiss in-app notif after 5 seconds

* Fix typo

* Update overlay dismissal

* Animate in-app notif dismissal and allow gesture dismissal
2019-07-08 10:03:31 -07:00
Harrison Healey
72594446d5
Bump app build number to 205 (#2960) 2019-07-08 09:45:12 -04:00
Miguel Alatzar
1b9b1e3f39 Merge branch 'master' into rnn-v2 2019-07-05 15:56:56 -07:00
Elias Nahum
ca72c5959b Bump app build number to 204 (#2955) 2019-07-05 14:31:53 -04:00
Miguel Alatzar
51aac1e6e7 Merge branch 'master' into rnn-v2 2019-07-02 18:15:19 -07:00
Harrison Healey
c50215cf33
Bump app build number to 203 (#2935) 2019-06-27 11:22:53 -04:00
Harrison Healey
4491e8515f
Bump app build number to 202 (#2933) 2019-06-27 09:42:01 -04:00
Elias Nahum
89b96d51db MM-16430 refactor app entry point (#2924)
* MM-16430 refactor app entry point

* iOS Extensions to use session token from KeyChain

* Remove token from general credentials entity

* Fix mattermost-managed.ios to return the cachedConfig

* Migrate server based keychain for android push notifications

* remove unneeded async

* Remove unneeded android InitializationModule
2019-06-26 15:21:20 -04:00
Miguel Alatzar
ce4b48b695 Check if entities is nil (#2930) 2019-06-26 14:50:44 -04:00
Miguel Alatzar
913f05e131
[MM-16011] Update screens related to main sidebar (#2907)
* Update screens

* Update login tests

* Remove done

* Fix failing tests

* Update screens and components

* Check styles fix

* Update tests

* Prevent setState call after component unmounts

* Add empty setButtons func to dummy navigator

* Remove platform check

* Remove Platform import

* Update react-native-navigation version

* Add separate showModalOverCurrentContext function

* check-style fixes

* Remove overriding of AppDelegate's window

* Fix modal over current context animation

* Add showSearchModal navigation action

* Check-style fix

* Address review comments
2019-06-24 10:58:15 -07:00
Elias Nahum
3f925df9d9 MM-16392 Split view support & hide sidebar on tablets (#2898) 2019-06-21 14:10:30 -04:00
Elias Nahum
3f79a2e07f
Bump app build number to 201 (#2903) 2019-06-19 18:43:06 -04:00
Elias Nahum
5f9532d6c3
Bump app build number to 199 (#2896) 2019-06-18 17:42:48 -04:00
Elias Nahum
5d83eef111
Bump app version number to 1.21.0 (#2894) 2019-06-18 16:09:09 -04:00
Miguel Alatzar
0f948f650d Merge branch 'master' into rnn-v2 2019-06-18 09:58:35 -07:00
Elias Nahum
4f85f7b058
Bump app build number to 198 (#2884) 2019-06-13 17:56:42 -04:00
Elias Nahum
d1532b651e
Bump app build number to 197 (#2872) 2019-06-07 09:54:24 -04:00
Miguel Alatzar
ef6a1672d0
Allow excluding archived channels in getChannelsBySections (#2871) 2019-06-06 15:52:10 -07:00
Harrison Healey
5ff98e8a86 Merge branch 'master' into rnn-v2 2019-06-05 11:25:14 -04:00
Harrison Healey
8e1a9e8322
MM-15774 Add native code to support RNN v2 on iOS (#2848)
* Remove fix for MM-9233

* MM-15774 Add native code to support RNN v2 on iOS
2019-06-03 16:44:28 -04:00
Elias Nahum
6d52fed6e9
Bump app build number to 196 (#2853) 2019-05-31 14:22:10 -04:00
Elias Nahum
6e7e083aee Update missed MMMConstant.h reference (#2849) 2019-05-30 16:31:12 -07:00
Harrison Healey
daa8152691 MM-15575 Rename Constants.h to fix naming conflict (#2840)
* MM-15575 Rename Constants.h to fix naming conflict

* Rename to MMMConstants
2019-05-29 22:34:34 -04:00
Elias Nahum
c467f9af50
Bump app build number to 195 (#2843) 2019-05-28 16:35:19 -04:00
Harrison Healey
6e099d6a21 MM-15643 Send user to settings when passcode is required (#2836)
* MM-15643 Send user to settings when passcode is required

* Allow access to the managed config in the iOS extensions
2019-05-27 19:38:32 -04:00
Elias Nahum
2f6fb08e44
Bump Version & Build number (#2818)
* Bump app version number to 1.20.0

* Bump app build number to 194

* Update fastlane
2019-05-22 12:05:05 -04:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal (#2799)
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard

* Fix tests

* feedback review

* add new line at the end of file

* feedback review and added todo list

* Track interactive dismiss keyboard and set scrollview bounds natively

* Fix snapshots

* Fastlane default to current branch when no BRANCH_TO_BUILD is set

* Set NODE_OPTIONS in ios build script

* Rebind scrollview when channel gets first set of posts

* Keep scrolling momentum on keyboard close

* Update react-native-keyboard-tracking-view

* Fix ScrollView offset with keyboard-tracking

* Fix offset while dragging the keyboard

* Allow action on channel drawer on tablets

* Fix typo

Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>

* Fix indentation
2019-05-20 12:02:00 -04:00
Elias Nahum
5bf96272ae
Notification receipt delivery for Android and iOS (#2755)
* Notification receipt delivery for Android and iOS

* Update Fastlane with iOS notification service extension

* User JSONObject to build response
2019-05-15 12:45:26 -04:00
Miguel Alatzar
7912b4df4d
Bump app build number to 193 (#2794) 2019-05-13 15:24:48 -07:00
Elias Nahum
f36ee37402
Upgrade to RN 0.59.6 and dependencies (#2777)
* Upgrade to RN 0.59.6 and dependencies

* Remove channel loader unused style

* Update to the latest netInfo that fixes a crash

* Do not set default timezone with moment

* Use RN 0.59.8
2019-05-13 13:33:18 -04:00
Miguel Alatzar
27fe5e5c1d
Bump app build number to 192 (#2784) 2019-05-10 10:26:25 -07:00
Miguel Alatzar
35f7829d6c
Bump app build number to 191 (#2771) 2019-05-06 14:25:58 -07:00
Elias Nahum
a16c98b34e MM-15428 Return empty object for native managed configuration when not set (#2770) 2019-05-06 09:20:08 -07:00
Miguel Alatzar
2577c5551f
Bump app build number to 190 (#2769) 2019-05-03 21:27:18 -07:00
Elias Nahum
08df256c1d MM-14921 Fix iPad layout including safeAreaInsets (#2748)
* MM-14780 and MM-14921 Fix iPad layout including safeAreaInsets

* Fix unit tests
2019-05-03 17:42:32 -04:00
Miguel Alatzar
ea0468cb83
Bump app build number to 189 (#2764) 2019-05-03 10:38:47 -07:00
Elias Nahum
412a009965 Remove the RN bridge from MattermostManaged (#2741)
* Remove the RN bridge from MattermostManaged

* Fix NativeEventEmitter

* Optimize for zero listeners
2019-04-29 16:24:04 -04:00
Miguel Alatzar
4faa211edb
Bump app build number to 188 (#2744) 2019-04-26 12:23:17 -07:00
Miguel Alatzar
214ea72666
Bump app version number to 1.19.0 (#2743) 2019-04-26 12:15:57 -07:00
Ryan Davis
fffd31bf77 MM-14907 RN: iOS - No MattermostShare error when sharing text that is over server's max post size (#2713)
* RN: iOS - No MattermostShare error when sharing text that is over server's max post size

* MM-14907 Allow editing if over maxPostSize.

* MM-14907 Always On Character Count

* Readded work from MM-14836 Post-Merge

* Refactor of getMaxPostSize to match getMaxFileSize
2019-04-25 09:17:56 -04:00
Miguel Alatzar
39587aa3ae
[MM-14836] Prevent sharing of images over max pixels (#2733)
* Prevent sharing of images over max image size

* Prevent sharing of images over max image pixels

* Move readableMaxImagePixels
2019-04-23 11:45:54 -07:00
Peter Dave Hello
d5a0b50d9a Optimize png image with zopflipng lossless compression (#2682) 2019-04-22 21:57:49 -04:00
Elias Nahum
37c150f3c7 Bump app version number to 1.18.1 2019-04-18 18:24:36 -04:00
Elias Nahum
b9778bfc22 Bump app build number to 187 2019-04-18 18:24:36 -04:00
Saturnino Abril
51e0e06997
Bump app build number to 186 (#2716) 2019-04-16 11:56:42 +08:00
Saturnino Abril
79a84dd9ab
Bump app build number to 185 (#2708) 2019-04-10 16:56:54 +08:00
Elias Nahum
0449d7c53a MM-14959 iOS Share Extension channel search open by default (#2698) 2019-04-09 14:39:28 -04:00
Miguel Alatzar
8172320a19 [MM-14899] Support sharing of screenshots via the iOS share extension (#2697)
* Handle NSItemProvider item of type UIImage

* Create screenshot temp file with UploadSessionManager
2019-04-08 05:30:25 +08:00
Miguel Alatzar
dd66405343 Avoid force casting items to URL (#2696) 2019-04-05 02:57:36 +08:00
Saturnino Abril
0ff59554fa
Bump app build number to 184 (#2695) 2019-04-05 00:21:25 +08:00
Elias Nahum
cd875ac3a8
Bump Version to 1.18.0 and Build to 183 (#2667)
* Bump app build number to 183

* Bump app version number to 1.18.0
2019-03-25 08:51:27 -03:00
Elias Nahum
dbe5eba108
Bump app build number to 182 (#2661) 2019-03-19 21:20:17 -03:00
Elias Nahum
c1b08f30f0 iOS Share Extension fix post and dm/gm list (#2659)
* MM-14629 DMs and GMs for the iOS extension to match sidebar

* MM-14631 ios extension logging and fix race condition to post after uploading
2019-03-20 08:13:58 +08:00
Elias Nahum
a0f7456e8b Clear iOS notifications on channel read (#2652) 2019-03-20 02:08:08 +08:00
Carlos Tadeu Panato Junior
4622a40e8b
Bump app build number to 181 (#2651) 2019-03-16 11:07:17 +01:00
Carlos Tadeu Panato Junior
133e5871ff
Bump app build number to 180 (#2645) 2019-03-14 12:58:43 +01:00
Elias Nahum
bc4fbb8558
Bump app build number to 179 (#2632) 2019-03-05 14:02:04 -03:00
Elias Nahum
5563a09154
Bump app build number to 178 (#2630) 2019-03-05 12:21:00 -03:00
Elias Nahum
ad07faa9c4
Add target to Mattermost and MattermostShare (#2626) 2019-03-05 12:00:12 -03:00
Elias Nahum
67fa577695
Fix regression when sharing files with spaces in the filename (#2624) 2019-03-05 11:55:11 -03:00
Elias Nahum
b91ad11fad
Update sentry to fix android build (#2603) 2019-02-27 16:42:38 -03:00
Elias Nahum
3c6c2e7d02
Bump Version to 1.17.0 Build 177 (#2602)
* Bump app build number to 177

* Bump app version number to 1.17.0
2019-02-26 23:09:27 -03:00
Elias Nahum
3feaa8e6bb
iOS Native Share Extension (Swift) (#2575)
* iOS Native Share Extension (Swift)

* Re-arrange files

* Fix .gitignore
2019-02-26 14:31:57 -03:00
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
Elias Nahum
f59533d144
Bump app Version to 1.16.1 and Build Number to 176 (#2584)
* Bump app build number to 176

* Bump app version number to 1.16.1

* Update fastlane
2019-02-20 16:55:36 -03:00
Elias Nahum
eb4888189c
Bump app build number to 175 (#2573) 2019-02-15 18:36:00 -03:00
Elias Nahum
13fea36e50
Bump app build number to 174 (#2572) 2019-02-14 18:55:45 -03:00
Elias Nahum
869b14b2a8
Bump app build number to 173 (#2557) 2019-02-08 18:11:26 -03:00
Elias Nahum
834648e9ac
Bump app build number to 172 (#2543) 2019-02-02 15:50:44 -03:00
Elias Nahum
2f997f631a
MM-13897 preserve iOS push notifications when opening the app and set the proper badge count (#2541) 2019-02-01 19:37:07 -03:00
Elias Nahum
483fb2cafe
Bump Version to 1.16.0 and Build number 171 (#2530)
* Bump app build number to 171

* Bump app version number to 1.16.0
2019-01-28 13:22:27 -03:00
Elias Nahum
3bdfecebaa
Version 1.15.2 and Build number 170 (#2513)
* Bump app version number to  1.15.2

* Bump app build number to 170
2019-01-18 14:26:29 -04:00
Elias Nahum
fc41d09707
Bump app build number to 169 (#2510) 2019-01-15 23:31:33 -03:00
Elias Nahum
2e47074bbd
Bump app build number to 168 (#2505) 2019-01-10 12:44:40 -03:00
Elias Nahum
dfe4be76fe
Bump version to 1.16.0 and Build number to 167 (#2481)
* Fix fastlane platform thumbnail

* Bump app version number to 1.16.0

* Bump app build number to 167
2018-12-28 09:20:36 -03:00
Elias Nahum
f48cad8e64
Bump App Version to 1.15.1 and Build number to 166 (#2475)
* Bump app version number to 1.15.1

* Bump app build number to 166
2018-12-21 10:59:30 -03:00
Harrison Healey
d9588e0839 Bump app build number to 165 and increase minimum Android SDK version (#2470)
* Bump app build number to 165

* Increase Android minimum SDK version
2018-12-19 13:25:49 -03:00
Harrison Healey
b21fae2d58
Bump app build number to 164 (#2469) 2018-12-19 11:10:49 -05:00
Elias Nahum
e8d70616bb
Bump app build number to 163 (#2459) 2018-12-13 13:29:13 -03:00
Elias Nahum
7a132f3fd4
Bump app build number to 162 (#2445) 2018-12-10 17:14:06 -03:00
Elias Nahum
50f6863b0e
Bump app build number to 161 (#2421) 2018-12-05 15:07:22 -03:00
Elias Nahum
2184696e65
post menu and file attachments (#2414)
* post menu and file attachments

* Fix post list selector test

* Use new Gesture handler to avoid gesture conflicts in post menu and reaction list

* Allow reaction list to scroll the header on Android

* Feedback review

* Add some comments

* Fix eslint
2018-12-05 14:59:41 -03:00
Elias Nahum
aa41579f6a
Bump app build number to 160 (#2396) 2018-11-29 15:52:57 -03:00
Elias Nahum
0b33b8ea4a Upgrade sentry to 0.39.1 (#2365) 2018-11-23 11:58:45 -05:00
Elias Nahum
1eb046a7fd Android/iOS leave notifications until channel is read (#2321)
* iOS clear notifications from a specific channel when clear push notification received

* Android leave notifications until channel is read

* use redux-connect currentChannelId in network indicator
2018-11-19 13:20:44 -05:00
Elias Nahum
ec58d90980
Bump version to 1.15.0 and build number to 159 (#2354)
* Bump app version number to 1.15.0

* Bump app build number to 159
2018-11-18 19:31:50 -03:00
Elias Nahum
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView (#2340) 2018-11-16 13:28:54 -03:00
Elias Nahum
ae629a455c
Update UX for post long press menu (#2325)
* Update UX for post long press menu

* Post menu feedback review
2018-11-14 17:29:09 -03:00
Elias Nahum
17c7d0202b
Bump app build number to 158 (#2341) 2018-11-14 12:58:12 -03:00
Elias Nahum
b5ddce6770
Bump app build number to 157 (#2338) 2018-11-13 20:00:43 -03:00
Elias Nahum
70b7487c6f
Bump app build number to 156 (#2333) 2018-11-09 20:49:57 -03:00
Elias Nahum
d85b3d29ae
Bump app build number to 155 (#2322) 2018-11-06 14:10:00 -03:00
Elias Nahum
50f8af2513
Bump app build number to 154 (#2311) 2018-11-02 18:14:01 -03:00
Elias Nahum
d4f713f69b
Bump app build number to 153 (#2294) 2018-10-30 15:10:29 -03:00
Elias Nahum
b909f2874b
Bump app build number to 152 (#2282) 2018-10-19 10:17:24 -03:00