Commit graph

2073 commits

Author SHA1 Message Date
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
Daniel Schalla
e82146d52f
[MM-10346] Set CSRF Token from Cookie after Login / on App load (#2534)
* Set CSRF Token from Cookie after Login / on App load

* Reset CSRF on Logout

* Simplify cookie value access

* Make Set CSRF Blocking
2019-02-20 17:06:03 +01: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
Elias Nahum
a358c7b99b
Fix opengraph and reactions for older servers (#2581) 2019-02-19 19:04:10 -03: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
Saturnino Abril
f88c2e2a00
[MM-13295] Make channel link clickable for user who's not member of the public channel (#2466)
* Make channel link clickable for user who's not member of the public channel

* update per review

* update per comment

* remove setChannelDisplayName
2019-02-20 01:45:04 +08:00
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
amyblais
5bb6cd34da v1.16 Changelog (#2529) 2019-02-15 20:14:11 -03:00
Joram Wilander
cc23ac032a Update mattermost-redux to latest (#2574) 2019-02-15 19:07:18 -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
Chris Duarte
ffe6b9e2ef Deep linking based on channel url; Fix merge conflicts (#2542)
Code cleanup
2019-02-14 13:29:57 -05:00
Dean Whillier
7eb434b256 [MM 13934] Prevent blank mention keys from crashing the app (#2570)
* don’t match blank word boundaries

* test for blank mention keys

* Check for blank mention before looking for match

* account for multiple spaces as a blank mention
2019-02-13 15:05:52 -08: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
Harrison Healey
5eac23ea8c
MM-14001 Don't mount PostBodyAdditionalContent for system messages (#2564) 2019-02-12 15:41:20 -05:00
Dean Whillier
c24ffe8b11
[MM 13720] Fix for "No internet connection" banner not always showing (#2563)
* Add `opacity` to compopnent state …

… to trigger render updates when the property changes.

* Fix bug stopping app from updating connection status

- if the app is opened when no internet connection is present, turning on the internet with the app open will not remove the `No internet connection` message.

* style corrections
2019-02-12 11:06:43 -05:00
Sudheer
336f4fcbf9
MM-13428 Updating mm-redux hash (#2566) 2019-02-12 16:57:40 +05:30
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
869b14b2a8
Bump app build number to 173 (#2557) 2019-02-08 18:11:26 -03:00
Elias Nahum
3db8604102 Add support for relative permalinks (#2555) 2019-02-08 22:54:26 +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
145842e19e
Fix placeholder image on Android when profile pic is removed (#2551) 2019-02-07 09:20:43 -03:00
Elias Nahum
614e8e32ca
MM-13974 Missing translations (#2549)
* Missing translations

* update snapshots
2019-02-05 19:15:31 -03:00
Elias Nahum
da6160f0b8
Fix previewing doc files more than once on Android (#2550) 2019-02-05 19:12:56 -03:00
Dean Whillier
4a51013316
[MM-13677] Fix to ensure unsupported unicode emoji can be rendered jumbo size (#2545)
* fixes unicode emoji not rendering jumbo

- replace inline emoji regex with npm emoji-regex library
- update notice.txt with emoji-regex license
- jumbo emoji issue automatically fixed with updated unicode emoji regex

* Add several tests specifically for 🤟emoji.
2019-02-05 11:58:07 -05:00
Dan Maas
41c2214b31 Update NOTICE.txt (#2544)
- Minor copyright owner updates
2019-02-04 20:49:55 -03:00
Elias Nahum
834648e9ac
Bump app build number to 172 (#2543) 2019-02-02 15:50:44 -03:00
Elias Nahum
2ec7a6bba6
MM-13859 set the auth token when fetching images from the server (#2537)
* MM-13859 set the auth token when fetching images from the server

* set the image_cache siteURL from redux

* HH suggestion

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

* Removing comment
2019-02-01 19:38:04 -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
Sudheer
d627f96589
MM-13866 Never ending loader if app is un authenticated (#2539)
* if token or url is not present setState of loaded flag to true
2019-01-31 20:12:25 +05:30
Dean Whillier
da32c22c56
Enable tapping on channels when jump to textfield is focused. (#2535)
* Allow tapping on channels in the filtered list …

… when the keyboard is open. This option also allows tapping on non-interactive areas to still dismiss the keyboard.

* keyboard propery updates

- change ‘on-drag’ to ‘interractive’
- change ‘handled’ to ‘always’ to be more consistent with other uses of same property

* support multiple keyboard dismiss modes
2019-01-30 15:55:02 -05:00
Brad Coughlin
ac2bdc9fe3
MM-13876 React Native: Webhook icon is misaligned and bottom edges are cut off (#2536) 2019-01-30 12:17:07 -08: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
George Goldberg
bbc7221ac4
Bump redux version. (#2531) 2019-01-30 16:40:17 +00:00
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
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
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
Elias Nahum
1e3964a3f9
Fastlane env vars example update (#2527) 2019-01-27 12:07:00 -03:00
Elias Nahum
33ecae9465
Update fastlane (#2526) 2019-01-27 11:41:38 -03:00
Chris Duarte
e92f7afa82 Clicking username in read-only allows sending message (#2489) 2019-01-24 09:46:57 -04:00
Elias Nahum
53f4288872 translations PR 20190121 (#2518) 2019-01-23 23:52:56 +05:30
amyblais
2157fe8085 v1.16 Changelog (#2487)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2019-01-19 10:21:25 -04:00