Commit graph

825 commits

Author SHA1 Message Date
Stan Chan
583d6b74ee Timezone feature (#1456)
* Add automatic and manual timezone support

Update users timezone and scrollTo selected timezone in SelectTimezone coponent

Clean styles for SelectTimezone screen

Add auto-timezone update when login or enter app

Hide timezone feature behind config

Fix requested changes

Parse SupportedTimezone from config

Add localTime and localized post stamps

Add trailing commas

Include all timezone util methods from redux

Remove EnableTimezoneSelection flag

WIP get timezones from server

Pull supportedTimezones from api

Minor fixes

Remove wrapWithPreventDoubleTap

Revert back to react-intl formatDate

Include timeZone prop in FormattedTime

Refactor Timezone row into component

Minor cosmetic changes

Add minimum server support for the timezone feature

Move getSupportedTimezones to componentWillMount

Move autoUpdateTimezone function to handleSuccessfulLogin

Specify user timezone in profile_header

Remove format props from FormattedTime

Add ExperimentalTimezone flag

Replace Client().getServerVersion() with entities.general.serverVersion

Add isTimezoneEnabled helper function

Move isMinimumServerVersion to utils/timezone.js

* Fix style errors

* Remove date-time-format-timezone polyfill

* Feedback changes

* Use timezone selector from redux

* Explicitly pass hour12 props to intl.formatDate

* Update package-lock

* Revert iOS project file changes

* Fix license header

* Include timezone related paths in modulePaths

* Fix license header

* Fix minor issue with rebasing

* Fix issue with getconfig in GeneralSettings

* Update package-lock
2018-06-27 06:55:03 -04:00
Sven Hüster
830022cb82 [MM-10285] Merge consecutive messages by same user (#1714)
* MM-10285 show avatar and reply header only on first messages

* implemented changes for code review, thanks @koxen

* resolved merge conflicts
2018-06-27 06:54:11 -04:00
Elias Nahum
f6d4d40caa Open YouTube videos at a specific time (#1794)
* Open YouTube videos at a specific time

* Move react-native-youtube changes to a fork
2018-06-26 01:40:31 +05:30
Elias Nahum
ba09fb9792 Sidebars improvement (#1787)
* Sidebars improvement
* Explicitly handle Android back button in code screen
* return null on getDerivedStateFromProps when no state changes needed
2018-06-26 01:17:53 +05:30
Elias Nahum
375c41dc3c
Merge branch 'release-1.9' 2018-06-25 15:31:46 -04:00
Elias Nahum
6446b370d2
Fix opening video when file has localPath set (#1817) 2018-06-25 12:30:03 -04:00
Harrison Healey
14e13dd6b6
MM-10325 Add cell alignment to markdown tables (#1791) 2018-06-25 12:17:36 -04:00
Elias Nahum
b102e99f43 Fix uploading files with blank spaces in the filename (#1821) 2018-06-25 11:45:07 -04:00
Elias Nahum
71e16afbb4 Fix bad action when tapping on a push notification (#1822) 2018-06-25 11:44:42 -04:00
Harrison Healey
f30d278cf1 Revert "MM-10822 Change post textbox to only be partially connected" (#1820)
This reverts commit 3703309fad.
2018-06-25 11:39:17 -04:00
Harrison Healey
599fa7b4e1 MM-11018 Provide default message for Sentry breadcrumbs (#1819) 2018-06-25 11:25:31 -04:00
Elias Nahum
08910bef6e
Merge pull request #1810 from mattermost/release-1.9
merge Release 1.9 into master
2018-06-22 17:59:04 -04:00
Sudheer
d07d85ef9d MM-11006 Fix android seach field population for in and from keywords (#1806) 2018-06-22 17:18:53 -04:00
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
Chris Duarte
1a3558bc5e Auto responder feature (#1500)
* Add Auto Responder support

Add Auto Responder message support for <Post/>

Add Out Of Office support

Add Confirmation dialog for Out Of Office status reset

Fixing styling issues

Ensure AutoResponder is enabled in settings with ooo status

Save AutoResponder according to Out Of Office status

Fix copy for AutoResponder hint

Fix eslint errors

* Add constants from Redux

* Small refactor

* Add name consistency with the feature "auto responder"

* Add minimum server version of 4.9 for AutoResponder support

* Add ViewTypes.PROFILE_PICTURE_SIZE in post_profile_picture

* Add ExperimentalEnableAutomaticReplies flag

* Update copy and auto responder styles

* Remove unwanted imports

* AutoResponder feauture in 4.9

* Add AutoResponder Thread support

* Fix OOF copy from review

* Change copy for Auto Responder

* Address feedback

* Fix license headers

* Status name translated in Alert

* Add umbrella icon for AutoResponder

* Fix minor issues with rebase

* Fix License headers
2018-06-22 13:09:37 -04:00
Elias Nahum
34c2c19ae3
Merge branch 'release-1.9' 2018-06-21 18:50:39 -04:00
Elias Nahum
3055a43ec8
Fix user being "logged out" after upgrading (#1798) 2018-06-21 18:17:59 -04:00
Harrison Healey
e19b6a08d3 Silence fetch errors caused by websocket action (#1797) 2018-06-21 18:17:29 -04:00
Harrison Healey
92b992d204
MM-10822 Change post textbox to only be partially connected 2018-06-21 18:13:02 -04:00
Saturnino Abril
4f4a261480
[MM-10817] Add option to send message via user profile even coming from DM channel (#1796)
* add option to send message via user profile even coming from DM

* add ability to DM self via user profile screen
2018-06-22 02:01:03 +08:00
Martin Kraft
3bde858a64 MM-10717: Update longpress buttons when add reaction, edit post, or d… (#1779)
* MM-10717: Update longpress buttons when add reaction, edit post, or delete post permissions change.

* MM-10717: Makes tooltip actions prop required.

* MM-10717: Switches all direct access of 'config' and 'license' to use selectors.
2018-06-21 08:43:17 -04:00
Jesse Hallam
ae6ce503c3 MM-10990: allow a pathname when selecting a server (#1795) 2018-06-21 16:34:06 +08:00
Elias Nahum
3cc40e676a Fix memory leak on offline indicator component (#1789) 2018-06-21 00:48:13 +05:30
Elias Nahum
7b18047800
CBA support for iOS (#1767)
* CBA Support

* cba support for iOS Share extension

* Autologin with credentials

* Set initial config for ExperimentalClientSideCertEnable as false

* Fix mattermost-redux to cba branch

* feedback review

* Fix eslint
2018-06-19 19:35:42 -04:00
Jesse Hallam
8372e95d4a add eslint-plugin-header, and --fix all (#1726) 2018-06-19 19:14:50 -04:00
Elias Nahum
53ea71f03f
Merge pull request #1770 from Alexgoodman7/Unread-badge-background-white
Unread badge background is always white
2018-06-19 19:13:45 -04:00
Elias Nahum
940d681c45
Merge pull request #1777 from mattermost/mm10822
MM-10822 Change post textbox to only be partially connected
2018-06-19 19:13:25 -04:00
Elias Nahum
63a6a9ee91
Replacing fetch with RNFetchBlob (#1782) 2018-06-19 14:44:10 -04:00
Harrison Healey
3703309fad MM-10822 Change post textbox to only be partially connected 2018-06-18 16:05:42 -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
root
5b423c13b5 Unread badge background is always white 2018-06-14 17:46:20 -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
691ea46587
Render SAML json errors and include special header in webview requests (#1761) 2018-06-13 10:14:38 -04:00
Harrison Healey
5aa4f6b6c9 MM-10815 Load more posts when post list is under 1 screen long (#1759) 2018-06-13 09:19:47 -04:00
Saturnino Abril
0bb21f5374 close permalink on delete of focused post ID (#1757) 2018-06-11 17:26:50 -04:00
Martin Kraft
e31726c74d MM-10819: Adds 'Delete' long-press action for system messages. 2018-06-11 14:16:36 -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
Elias Nahum
19729db610
Fix user is typing cut off on iOS (#1744) 2018-06-08 17:35:33 -04:00
Saturnino Abril
954ffeaadf set solid background color on permalick header divider (#1752) 2018-06-08 17:25:45 -04:00
Elias Nahum
a2af6b5fd6
Fix inApp notification handler (#1749) 2018-06-08 16:18:14 -04:00
Elias Nahum
e3e2456ecd Fix android share extension channel switching and searching 2018-06-08 15:25:00 -04:00
Saturnino Abril
2f3488f622 MM-10340 Fix "More New Messages Above" that appears on top of the channel after joining (#1710)
* Replace "More New Messages Above" with "New Messages" that appears on top of the channel after joining

Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>

* add conditions in adding entry of start of new messages in preparing post IDs for post list

* remove post unread for user joinining the channel

* refactor and remove unnecessary conditional check

* fix and add test cases
2018-06-07 17:14:41 -04:00
Harrison Healey
b12d4cd91b MM-10823 Switch to default channel after leaving channel (#1743) 2018-06-07 17:13:29 -04:00
Harrison Healey
bbe27df6ea MM-10784 Remove keyboard animation (#1742)
* Patch layout bug

* Fixed warnings
2018-06-07 16:24:24 -04:00
Elias Nahum
2dcf718f81
Fix iOS type error warnings (#1737) 2018-06-07 15:58:04 -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
Chris Duarte
c63ca6a7e0 Ping server after setting app offline/online. Also include timeout (#1739)
* Ping server after setting app offline/online.  Also include timeout

* Add missing semicolon
2018-06-07 14:47:09 -04:00
Elias Nahum
c0b41cff33
Fix Team icon background and radius in team lists (#1735) 2018-06-07 10:17:41 -04:00
Harrison Healey
fa17e9ad9d Fixed dev-mode error relating to adjacent images (#1731) 2018-06-07 10:17:08 -04:00
Elias Nahum
4841678213 Fix inline images in long posts (#1732) 2018-06-07 03:36:50 +08:00