Commit graph

476 commits

Author SHA1 Message Date
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
Miguel Alatzar
e662945b46 [MM-13954] Fix prop type for post reactions (#2578)
* Fix prop type for post reactions

* Update react list test
2019-02-21 21:39:08 +08: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
Miguel Alatzar
c72ea6a281
[MM 13161] Mobile: Add paging to Select Teams screen (#2468)
* Use updated getJoinableTeams function from mattermost-redux

* Use onEndReached for infinite scrolling of paginated teams

* Add onRefresh

* Update Settings screen to expect joinableTeams as array

* Fix linter issues

* Test that page is updated after getTeams() call

* Revert package-lock.json changes

* Update mattermost-redux dependency

* Update mattermost-redux dependency

* Only call getTeams if more can be loaded and only after a previous
call has completed

* Update snapshot due to  prop

* Update CustomList to support refreshing as well as option to not
render the separator

* Use CustomList in SelectTeam
2019-02-20 09:12:36 -08:00
Ryan Wang
f071deb003 [MM-13975] Add Terms of Service and Privacy Policy Links (#2559)
* [MM-13975] Add terms of service and privacy policy links

* [MM-13975] Address comments
2019-02-20 09:08:07 -05:00
Saturnino Abril
710ae4d601 [MM-14017] Fix whitespace between input box and post list on iOS (#2580)
* fix whitespace between input box and post list on iOS

* corrected viewPosition when pulling down the post list and add constant for thread screen

* corrected changes made to viewPosition
2019-02-19 21:20:16 -08:00
Chris Duarte
f4761860a1 Don't show confusing versioning message in "Check for Updates" screen when using a beta/testing build or platform config hasn't been updated for prod (#2556)
UI doesn't update when NO_BETA is set
2019-02-20 01:11:41 +05:30
Elias Nahum
a0a1fa28ce
MM-13896 Sync channel as read between clients (including opening Push Notifications) (#2548)
* Update mattermost-redux to use latest WS changes

* Properly mark channel as read, keep the new message indicator, and fix push notification flow

* unneeded parameter in setCurrentUserStatusOffline

Co-Authored-By: enahum <nahumhbl@gmail.com>

* Feedback review

* Update mm-redux ref
2019-02-16 15:09:22 -03:00
Sudheer
fc69daf6e5 Fix alignment of count on channel drawer (#2569) 2019-02-13 20:57:26 +08:00
Martin Kraft
70907d061c
MM-14055: Load the channel even if not joining. (#2567) 2019-02-13 05:35:43 -05:00
Elias Nahum
b9f55dcb60 MM-13337 Fix EMM connections using VPN on-demand (#2558)
* Fix EMM connections using VPN on-demand

* Update package.json

* Update package-lock.json
2019-02-11 10:22:31 -08:00
Elias Nahum
23e58f2ea1 MM-13830 Ensure schedule of session expired notification (#2554)
* Ensure schedule of session expired notification

* feedback review

* passing intl instead of message
2019-02-07 13:42:26 -08:00
Elias Nahum
614e8e32ca
MM-13974 Missing translations (#2549)
* Missing translations

* update snapshots
2019-02-05 19:15:31 -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
Daniel Schalla
409d36d375 [MM-13839] Remove possibility to change eMail within mobile app (#2540)
* Make eMail setting read only

* Add translation entry, change wording

* Update wording
2019-02-01 19:34:57 -03:00
Elias Nahum
fdcae0594a MM-13875 Fix user profile icon for a Webhook to follow the prop for use_user_icon (#2533) 2019-01-31 00:29:34 +05:30
Saturnino Abril
b153dd96a1
[MM-13412 & MM-13711] Allow showing of all post options if possible to fit 75% of the screen height (#2501)
* allow showing all options if possible to fit 60% of the screen height

* change max initial position from 60% to 70%

* fix broken UI of the bottom part of post options

* change to 75%
2019-01-30 01:07:58 +08:00
Sudheer
c2bcb0e2de MM-13525 Fix alignment of jewel on channel drawer icon (#2473)
* MM-13525 Fix alignement of jewel on channel drawer icon
Fix position of dot
Fix snapshot
Change unread indicator to be View instead of . text

* Fix position of dot for unread indicator in badge

* Update snapshot
2019-01-28 12:52:05 -03:00
Elias Nahum
c4e3f08c82
MM-13846 Alert boxes to follow UX Guidelines (#2525) 2019-01-28 12:48:07 -03:00
Elias Nahum
0cb7227d52 MM-13673 combine reset cache & delete files into one action (#2499) 2019-01-28 09:35:34 -05:00
Daniel Mills
aea4b096e4 MM-13439 change close edit profile window text to Cancel (#2520) 2019-01-28 09:22:13 -05:00
Sudheer
860ae8ae2b MM-13752 Thread view should not display new message indicator (#2519)
* Change the prop `indicateNewMessages` on postList in thread view to be false
2019-01-28 09:19:26 -05:00
Elias Nahum
d8ef8aa05a MM-13722 Set the application badge to the number of mentions (#2523) 2019-01-27 23:20:17 +05:30
Martin Kraft
704b52a813
MM-13751: Fix for incorrect access to delete button. (#2508) 2019-01-14 10:06:24 -05:00
Elias Nahum
8a8aa5e992
Fix settings screen not showing joinable teams (#2500) 2019-01-10 09:11:05 -03:00
Martin Kraft
9177f95fed MM-13654: Removes pin and delete longpress options from posts in arch… (#2495)
* MM-13654: Removes pin and delete longpress options from posts in archived channels.

* MM-13654: Maintains existing option order. Updates others' posts options.
2019-01-10 10:37:11 +01:00
Elias Nahum
432e266180
Fix Keywords modal title on Android (#2498) 2019-01-09 19:02:37 -03:00
Jesús Espino
b810575ccd Handling nulls in getMyChannelMember (#2493)
* Handling nulls in getMyChannelMember

* Addressing review comments
2019-01-08 16:43:11 -05:00
Harrison Healey
ff51501b0c
MM-11232 Fix table column width to better support wide tables (#2467)
* MM-11232 Fix table column width to better support wide tables

* Fix horizontal scrolling on Android
2019-01-07 13:53:04 -05:00
Sudheer
f02e0fc4f5
MM-13432 Remove unsed request flags from channel_members (#2490)
* Remove unsed request flags from channel_members

* Fix intial state to match redux state

* Update redux hash
2019-01-04 18:52:00 +05:30
Sudheer
e27b57649a
MM-13405 Change warning message to be singular when adding last user to GM (#2478) 2019-01-04 16:49:10 +05:30
Jesús Espino
a81701092d
Handling nulls in getMyCurrentChannelMembership (#2488) 2019-01-04 08:53:36 +01:00
Elias Nahum
71e9b1fc27
Add the onMessage handler when sso completes (#2474)
* Add the onMessage handler when sso completes

* Enable handler only for mattermost server
2018-12-21 10:44:35 -03:00
Elias Nahum
a8224e2b42 Show an alert box when the team could not be joined (#2462) 2018-12-18 16:47:22 -05:00
Brad Coughlin
15b44e9d71 MM-12354 Remove Profile Image (#2428)
* save progress

* Add option to remove profile picture

* missed when rebasing

* rename extraOptions to removeProfileImage

* clean up removeProfileImage action

* placeholder after removing profile picture, unit tests
2018-12-17 07:56:39 +08:00
Elias Nahum
168cf69b53
Remove extra divider below Edit Channel in Channel info (#2454)
* Remove extra divider below Edit Channel in Channel info

* Fix indentation
2018-12-13 15:34:22 -03:00
Elias Nahum
3b5e2e8a34
prevent double tap on Channel Info options (#2455) 2018-12-13 15:33:47 -03:00
Elias Nahum
2542f69b90
Post Menu initial position to show one option cut off (#2453) 2018-12-13 08:39:32 -03:00
Chris Duarte
008d81caab MM-12906 - Add thumbnails to theme selection (#2381) 2018-12-12 09:40:09 -03:00
Elias Nahum
d0957e3879
Fix edit profile image (#2448) 2018-12-12 09:34:41 -03:00
Elias Nahum
a6eea28b5b
MM-13365/MM-13375 Fix edit profile image (#2433)
* MM-13365/MM-13375 Fix edit profile image

* Set Max file size to 20Mb
2018-12-10 09:24:50 -03:00
Elias Nahum
91f87d1095
MM-13368 Do not truncate tall images in preview screen (#2438)
* MM-13368 Do not truncate tall images in preview screen

* Add unit test for viewport max height

* Fix typo
2018-12-10 09:02:56 -03:00
Elias Nahum
6c6441421a
Sort pinned posts from newest to oldest (#2440)
* Sort pinned posts from newest to oldest

* Update mattermost-redux
2018-12-07 15:56:19 -03:00
Elias Nahum
446361ccea
MM-13366 Post menu doesn't hint at more options below the fold (#2434) 2018-12-07 12:25:17 -03:00
Elias Nahum
ca78514941
MM-13362 Update account settings header color when changing theme (#2431)
* MM-13362 Update account settings header color when changing theme

* Removed unneded static var
2018-12-07 12:20:46 -03:00
Elias Nahum
ceca20954a
MM-13361 Set Open Teams icons background to white (#2430) 2018-12-07 12:19:01 -03:00
Saturnino Abril
c2c517f3da make circular badge on jewel for single-digit mention (#2422) 2018-12-06 12:11:42 -05:00
Tsilavina Razafinirina
92469f2f21 [MM-8404] Channel notification setting for disabling channel mentions (#MM-8404) (#2302)
* Channel notification setting for disabling channel mentions (#MM-8404)

* Replaces raw string value by constants (#MM-8404)

* Updates import according to redux update (#MM-8404)
2018-12-06 12:08:27 -05: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
Vasily Naumkin
2a6ad4f9ae Fixed typo in i18nId (#2384)
There are should be `mobile.advanced_settings.delete_file_cache` instead of `mobile.advanced_settings.clear_downloads`.
2018-12-05 20:54:23 +08:00