Commit graph

850 commits

Author SHA1 Message Date
Harrison Healey
3bc93c8f38 MM-11203 Adjust reply icon margins to not affect other components (#1897) 2018-07-09 14:59:46 -04:00
Elias Nahum
5bf248d5c4
Fix getting the youtube video id (#1890)
* Fix getting the youtube video id regardless where the id is defined in the link

* feedback review

* Simplify and add unit tests for getYouTubeVideoId
2018-07-05 15:02:34 -04:00
Saturnino Abril
e4a0a4b4ec [MM-10215] Fix saving of email notification props when email batching is enabled (#1654)
* fix saving of email notification props when email batching is enabled

* fix email notification settings for android

* make screen for Android email notification

* update per comment

* leave as is "...email.everyXMinutes", and fix prop type error on emailInterval

* add "mobile." prefix to newly introduced translation ID
2018-07-04 13:17:59 -04:00
Saturnino Abril
665bb862a8 on search success and other user/s are selected already, remove current user first before profile match filtering (#1876) 2018-07-04 13:15:21 -04:00
Harrison Healey
da8b5e92cc MM-10012 Added Markdown rendering to expanded announcement banner (#1861)
* MM-10012 Added Markdown rendering to expanded announcement banner

* Updated snapshots

* Re-added dismiss button to expanded announcement banner

* Updated 'Don't show again' button style'
2018-07-04 13:15:03 -04:00
Alan P
76a82aa627 fix pt-BR availability (#1884)
pt-BR i18n could not be set as there was no `case` matching it properly.
2018-07-04 12:21:08 -04:00
Saturnino Abril
0e692c2088 [MM-11004] Fix continuous channel loading (#1803)
* fix continuous channel loading

* revert change on limiting number of pages requested
2018-07-04 11:06:45 -04:00
Elias Nahum
5d579cdfcf
Bold unread channels in jump to channel (#1879) 2018-07-04 10:40:56 -04:00
Harrison Healey
939040c3cc Add setNativeProps to QuickTextInput (#1881) 2018-07-04 09:38:14 -04:00
Harrison Healey
d9eb29a724 MM-10826 Show error when viewing permalink for locally deleted post (#1870)
* MM-10826 Show error when viewing permalink for locally deleted post

* Don't hide current user's deleted posts
2018-07-04 08:44:33 -04:00
Elias Nahum
40c7d9cb07 Add defensive code to prevent extension from not working (#1872) 2018-07-04 07:03:58 +08:00
Harrison Healey
02c89faead MM-11116 Work around setNativeProps not working for TextInputs (#1873) 2018-07-04 07:02:41 +08:00
Harrison Healey
3633206204 Remember announcement banner dismissal after app closes (#1867) 2018-07-04 06:55:01 +08:00
George Goldberg
6d006e01e3 MM-10951: Change user visible channel delete strings to archive. (#1785)
* Change user visible channel delete strings to archive.

* Show the archive icon in the channel info view.
2018-07-03 12:50:27 -04:00
Elias Nahum
07367aa802
Merge branch 'release-1.9' into merge-1.9 2018-07-03 11:24:02 -04:00
Elias Nahum
8c066e0ba3 Attempt to fix some crashes (#1860)
* Attempt to fix some crashes

* remove unnecessary shareExtensionData middleware
2018-07-03 10:14:55 -04:00
Harrison Healey
dee530cce7 MM-11116 Re-added updated QuickTextInput component to work around RN issue (#1859) 2018-07-02 09:09:31 -04:00
Sudheer
f23546ef5e MM-11035 Add missing loading screen when the Add Members to channel screen is loading (#1853)
* Add showNoResults state to custom_list
2018-06-29 16:34:23 -04:00
Sudheer
0aab4aca18 MM-10919 System Admins do not see all teams available to join on mobile. (#1857)
* Requesting for 200 teams similar to web for consistent behaviour.
2018-06-29 16:33:44 -04:00
Elias Nahum
10cba91981 Fix youTube crash on iOS providing the right prop type (#1856) 2018-06-29 16:33:18 -04:00
Elias Nahum
dca5e85449 Fix Main sidebar responder (#1854) 2018-06-29 18:42:48 +05:30
Elias Nahum
aade1f0e35
Merge branch 'release-1.9' into merge-1.9 2018-06-27 18:17:44 -04:00
Martin Kraft
c7caf9b442 MM-10970: Adds new FormattedMarkdownText to format translations using… (#1818)
* MM-10970: Adds new FormattedMarkdownText to format translations using markdown.

* MM-10970: Makes defaultText required. Changes prop validation of theme. Moves computing styles to render.
2018-06-27 12:08:25 -04:00
Elias Nahum
dbb6f16e92
Fetch posts when receive push notifications as soon as possible (#1811) 2018-06-27 12:08:00 -04:00
Elias Nahum
cd265fb7c2 Fix jump to recent messages (#1834)
* Fix jump to recent messages

* force scroll to bottom when jumping to recent messages
2018-06-27 08:13:21 -04:00
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