Elias Nahum
a16c98b34e
MM-15428 Return empty object for native managed configuration when not set ( #2770 )
2019-05-06 09:20:08 -07:00
Elias Nahum
7e70020332
MM-15428 Fix iOS when managed config is not set ( #2768 )
2019-05-03 20:18:41 -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
d213565ebb
Use numbered capture over named capture ( #2765 )
2019-05-03 13:18:41 -07:00
Miguel Alatzar
19c493ff6e
[MM-15401] Fix setting of extension when caching files ( #2762 )
...
* Get extension from Content-Disposition first
* User ImageCacheManager.cache over getCacheFile
* Add unit tests for ImageCacheManager.getCacheFile
* Add unit tests for ImageCacheManager.cache
* Use exports and require to be able to mock isDownloading
* Chain mockReturnValueOnce calls
* Fix getExtensionFromContentDisposition and its unit tests
2019-05-03 09:24:40 -07:00
Elias Nahum
6eeb830662
Use of cached managed config in components ( #2758 )
2019-05-01 18:34:09 -04:00
Harrison Healey
1173ca3d97
MM-14030 Don't show large gifs in posts ( #2750 )
...
* MM-14030 Don't show large gifs in posts
* Re-add default argument
2019-05-01 09:34:45 -04:00
Joram Wilander
df2ecf3409
Add native module to reset TextInput to fix bad cursors in some Android keyboards ( #2753 )
2019-05-01 09:27:21 -04:00
scott lee davis
5a70bedcbe
MM-15161 show icon for bot instead of system icon in ephemeral post ( #2740 )
...
* show icon for bot instead of system icon in ephemeral post
* added check for if user is null
2019-05-01 09:08:50 -04:00
Elias Nahum
2d48215bf1
fix mattermostManaged event name ( #2754 )
2019-04-30 11:12:28 -04:00
Miguel Alatzar
c87845dee8
[MM-14777] Remove post for user after user deletes it ( #2745 )
...
* Remove post after delete
* Add unit test
* Fix check-style errors
2019-04-29 17:07:30 -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
Courtney Pattison
ce5c30e9ca
[MM-9454] Added fade to send button ( #2677 )
...
* [MM-9454] Added jest-enzyme to devDependencies
* [MM-9454] Refactored SendButton as component
* [MM-9454] Added fade to SendButton
* [MM-9454] Changed Fade to PureComponent
2019-04-29 07:54:00 -07:00
Miguel Alatzar
cb0e4e225a
[MM-14887] Allow only jpeg, png, and bmp profile image uploads ( #2715 )
...
* Allow only for jpeg, png, and bmp profile image uploads
* Add file type if missing and update error id
* Update mattermost-redux commit hash
* Point mattermost-redux to latest master commit
2019-04-25 14:27:06 -07:00
Miguel Alatzar
dc554bdfa7
Delay PostTextbox animation on iOS when clearing text ( #2739 )
2019-04-25 07:51:47 -07:00
Miguel Alatzar
89c0d1b5f9
Increase Typing animation duration and remove handleScrollToRecentPost ( #2730 )
2019-04-23 14:49:15 -07:00
Miguel Alatzar
9982a2d73f
Match lineHeight used in ChannelInfoHeader to PostBody's ( #2721 )
...
* Match lineHeight used in ChannelInfoHeader to PostBody's
* Apply lineHeight only for iOS
2019-04-23 13:47:54 -07:00
Saturnino Abril
e3b4191af9
[MM-14619] Remove Client4.online and related setOnline function ( #2718 )
...
* remove Client4.online and related setOnline function
* update mattermost-redux commit to 16a39c671193db23006d848c7866adbb5cae6901
2019-04-24 00:34:34 +08:00
Miguel Alatzar
1a9b34f618
[MM-14699] Update image cache manager to handle correct file extensions ( #2701 )
...
* Update image cache manager to handle correct file extensions
* Use RNFetchBlob.fs.existsWithDiffExt to find cached images with
extensions other than the default .png
* Add package-lock.json
* Use app/util/file's getExtensionFromMime
* Define DEFAULT_MIME_TYPE in image_cache_manager.js
2019-04-22 19:19:21 -07:00
Miguel Alatzar
a67863c5a2
[MM-14669] Return null dimensions when height or width is falsy ( #2681 )
...
* Return 50x50 dimensions when height or width is 0
* Refactor image constants
* Return null dimensions when height or width is falsy
2019-04-22 19:17:03 -07:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar ( #2672 )
...
* Do not expand drawer on search start
* Add state.searching for determining showTeams
* Add leftComponent prop to SearchBar to render SwitchTeamsButton
* Update snapshot tests
* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
Chris Duarte
2ca87f7ac4
Reminder message (/remind) do not show message text on mobile. ( #2710 )
2019-04-22 21:56:26 -04:00
Harrison Healey
2e756ba21a
MM-14741 Add default option to post action dropdown ( #2724 )
2019-04-22 14:42:42 -04:00
Elias Nahum
5183bc4b50
MM-15215 fix crash caused by malformed post textbox localize string
2019-04-18 18:24:36 -04:00
Martin Kraft
58f4346e5d
MM-14417: Add messaging for channel mentions of users not in constrai… ( #2711 )
...
* MM-14417: Add messaging for channel mentions of users not in constrained groups.
* MM-14417: Reorder translation.
* MM-14417: Update for new mobile app with old server install.
2019-04-17 10:45:29 -04:00
Jesús Espino
c769b536ae
Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user ( #2674 )
...
* Creating the concept of RedirectChannel and use it before the DefaultChannel when we are redirecting the user
* upgrading to the last mattermost-redux version
2019-04-16 23:34:02 +02:00
Seungje Jun
696c4dc94f
DateHeader rendering bug fix ( #2717 )
...
* app/screens/search.js DateHeader part bug fix
* DateHeader parts fix
2019-04-16 09:03:39 -04:00
Harrison Healey
9c53852128
Reorganize post state and make postsInChannel into a sparse array ( #2693 )
...
* MM-13957 Reorganize post actions (#2553 )
* MM-13957 Reorganize post actions
* Update mattermost-redux
* Update mattermost-redux
* Update package-lock.json to resolve build issues
* MM-13958/MM-13959 Make postsInChannel into a sparse array (#2600 )
* MM-13960 Re-add combined system messages (#2637 )
* MM-13960 Re-add combined system messages
* Pass entire post to PostOptions
* Update mattermost-redux
* Update mattermost-redux
* Address feedback
* Update mattermost-redux
2019-04-15 17:20:23 -04:00
Miguel Alatzar
45784e5fcd
Ensure the correct value for channelIsLoading is used ( #2712 )
2019-04-15 10:53:02 -07:00
Jesús Espino
95a9eb9118
Executing translation extraction script ( #2703 )
2019-04-09 15:24:43 -04:00
kosgrz
6b5d0a49e5
[MM-14191] Render emojis in Interactive Message Buttons ( #2640 )
2019-04-09 11:41:39 -04:00
Miguel Alatzar
d1ca9b874a
Set canFlag to false for system messages ( #2705 )
2019-04-09 11:15:15 +08:00
Elias Nahum
825284517e
MM-14960 Use the correct icon set for channel types ( #2699 )
2019-04-08 10:50:38 -07:00
Daniel Schalla
dd5d11e1dd
Add CSRF Header in File Upload and Profile Image Set Operations ( #2686 )
2019-04-04 10:43:54 -04:00
Orjiewuru Kingdom Isaac
102eeb93fe
MM-13151 Increase double tap delay for post action buttons ( #2406 )
...
* Use app state to disable a button when click to prevent double tap
* remove disable button state after 4000ms
* modify preventDoubleTap to have optional delayTime param
* remove local state use for button control
* remove unused method
* remove app state method to disable a button
* Update tap.js
2019-04-02 10:22:31 -04:00
Joram Wilander
77fe06794f
Generate random channel URL name from display names that don't clean into a usable name ( #2679 )
2019-03-28 13:34:56 -07:00
Christopher Speller
ec9e46fb62
MM-13618 Adding bot tags. ( #2669 )
...
* Adding bot tags.
* Snapshot update.
* Moving bot tag to own component.
* Snapshots.
* Adding missing bot tags, fixing bot profile, allowing tap of bot username to open profile.
* Snapshots and tests.
2019-03-26 16:59:45 -07:00
Martin Kraft
7423e7d3bf
MM-14345: Changes the channelIsReadOnly prop to be associated to the post's channel rather than the current channel. Show the unpin regardless of whether a channel is read-only. ( #2656 )
2019-03-25 17:37:54 -07:00
Courtney Pattison
c3a1e3561e
[MM-13381] Added reply to post options ( #2665 )
...
* [MM-13381] Added reply to post options
* [MM-13381] Fixes for adding reply to post options
* [MM-13381] Fixed logic for adding reply to post options
* [MM-13381] Fixed canReply logic for post options
2019-03-25 13:29:46 -07:00
Elias Nahum
e960d37cdc
MM-14459 Ensure hydrationComplete is set to true when resetting the cache and logging out ( #2664 )
2019-03-23 11:07:43 -03:00
Yusuke Nemoto
d852e0991f
Support MinimumHashtagLength setting ( #2583 )
...
* Support MinimumHashtagLength setting
* Set default value if missing
2019-03-22 14:06:02 -03:00
Antti Seppälä
a52bc4ca2e
Do not use WebKit for CookieManager operations in SSO ( #2515 )
...
* Do not use WebKit for CookieManager operations in SSO
This allows the SSO login to function again with devices that are not running IOS-11.
* Use WebKit for CookieManager operations only with iOS 11 or later
Detect OS version and use WebKit only when iOS 11 or later is detected.
This allows the SSO login to function again with older devices.
2019-03-22 13:41:06 -03:00
Saturnino Abril
b5effd3ea3
fix showing o fpost options for system admin ( #2644 )
2019-03-21 17:52:36 +08:00
Saturnino Abril
e744083833
remove state.value and rely only on props.value ( #2635 )
2019-03-20 22:15:01 +08:00
Elias Nahum
e053219fb0
MM-13795 Detect timezone updates on Android ( #2660 )
2019-03-19 18:10:45 -07:00
Elias Nahum
f539ddf765
MM-14630 Mark channel as read and viewed when opening brought from the background ( #2658 )
2019-03-19 19:58:23 -03:00
Saturnino Abril
10cb53c7fb
fix email setting to "Never" when first saved (hitting back button on iOS) without actually changing the selection ( #2650 )
2019-03-16 03:05:08 +08:00
Saturnino Abril
b5e4b5a657
fix channel mention badge and posts after opening the app from push notification (which is initially at closed state) ( #2648 )
2019-03-16 00:04:30 +08:00
Saturnino Abril
914e24dccd
[MM-14527] Fix default behavior when enabling/disabling email batching ( #2642 )
...
* fix default behavior when enabling/disabling email batching
* update redux commit to master - 98856a3
2019-03-14 01:57:49 +08:00
Jesse Hallam
692953e860
MM-14461: make @-mentions (and searches) case insensitive ( #2641 )
2019-03-13 09:37:56 -04:00
Saturnino Abril
8719d3f227
fix channel mention when app is started from push notification ( #2638 )
2019-03-11 15:36:02 -04:00
Elias Nahum
a941ce5fff
Add Office 365 login support ( #2628 )
2019-03-11 15:28:59 +05:30
Saturnino Abril
4e1479d449
do not save email interval preference on cancel on Android device ( #2633 )
2019-03-09 13:27:07 +08:00
Saturnino Abril
5bcf8f7576
fix multiple text entries when typing with Shift+Letter on Android ( #2634 )
2019-03-08 09:45:08 -05:00
kosgrz
727465140f
[MM-14192] Render hyperlinks in Message Attachment title ( #2617 )
2019-03-07 09:12:33 -05:00
Yusuke Nemoto
e1e1e7cf53
Highlight CJK mention keywords in sentense ( #2590 )
2019-03-07 22:04:10 +08:00
Saturnino Abril
ede80d0fe4
Do not show deactivated users when adding members ( #2613 )
2019-03-06 08:55:58 +08:00
Elias Nahum
b0a18025c4
Wait for VPN connection only when appconfig flag is set ( #2627 )
2019-03-05 12:01:43 -03:00
Elias Nahum
41c675fd84
Set the correct channel display name when switching teams ( #2625 )
2019-03-05 11:56:24 -03:00
Saturnino Abril
2237eb1e60
fix enabling post icon override ( #2611 )
2019-03-05 19:53:07 +08:00
Elias Nahum
5a96c5c56f
Fix checkLoginResponse for MFA ( #2623 )
2019-03-05 09:08:53 +08:00
Saturnino Abril
275d774c5a
fix default email interval from never to immediate ( #2614 )
2019-03-04 15:51:42 -05:00
Saturnino Abril
8a4c6de86f
fix intermittent crash when selecting a link ( #2620 )
2019-03-05 02:28:40 +08:00
MartB
0a2bbb73e7
[MM-13824] add one_you strings for better translatability in team/channel related messages. ( #2604 )
2019-03-01 13:15:02 -05:00
Daniel Schalla
5794a0da4d
[MM-14081] Show MFA Prompt after Server returned error for login request ( #2599 )
...
* Show MFA Prompt after Server returned error for login request
* eslint
* Hide MFA error on first login attempt
2019-03-01 19:01:10 +01: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
Dean Whillier
fceca49412
immediately return when connection is offline ( #2594 )
2019-02-25 16:23:28 -05:00
kosgrz
590c7ed45d
[MM-14193] Render emojis in Message Attachment title ( #2591 )
2019-02-25 13:00:45 -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
7377665d44
Fix utils reference ( #2586 )
2019-02-20 17:26:42 -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
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
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
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
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
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
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
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
Chris Duarte
e92f7afa82
Clicking username in read-only allows sending message ( #2489 )
2019-01-24 09:46:57 -04:00
Martin Kraft
704b52a813
MM-13751: Fix for incorrect access to delete button. ( #2508 )
2019-01-14 10:06:24 -05:00
Elias Nahum
e1853c6682
MM-13665 Prevent quick multiple taps on file to open multiple file previews ( #2503 )
2019-01-11 21:29:44 +05:30
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
2c6b53c5ab
MM-13666 Detect post as emoji only if not a codeblock ( #2497 )
...
* Detect post as emoji only if not a codeblock
* Feedback review
Co-Authored-By: enahum <nahumhbl@gmail.com>
* Feedback review
Co-Authored-By: enahum <nahumhbl@gmail.com>
2019-01-10 10:33:45 +01:00
Elias Nahum
432e266180
Fix Keywords modal title on Android ( #2498 )
2019-01-09 19:02:37 -03:00
Sudheer
53e98628f0
MM-13432 Remove getFilesForPost request state and use react state ( #2496 )
...
* MM-13432 Remove getFilesForPost request state and use react state
* Add test cases
2019-01-09 20:21:02 +08: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
Elias Nahum
477dcbb1c5
Fix other users status changes ( #2491 )
2019-01-07 15:15:12 -05:00
Elias Nahum
8c9fd9d9ac
Fix visibility of retry failed message option ( #2492 )
...
* Fix visibility of retry failed message option
* Feedback review
2019-01-07 15:10:16 -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
df4b124028
Fix post menu rounded corners ( #2472 )
2018-12-28 08:35:18 -03:00
Elias Nahum
5e1db3497f
LHS use getSortedFavoriteChannelIds instead of getFavoriteChannelIds ( #2471 )
2018-12-28 08:32:56 -03:00
Chris Duarte
b4b10e17e8
Fixes for duplicate text on message attachments, empty space when attachment has no title ( #2460 )
2018-12-28 08:31:10 -03: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
Saturnino Abril
af8faa8a2c
[MM-13433] Fix unnecessary rendering for reactions component and reaction list screen ( #2464 )
...
* fix unnecessary rendering for reactions component and reaction list screen
* update redux commit
2018-12-18 23:07:42 +08: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
423ae63d60
Update date separators when timezone changes ( #2443 )
...
* Update date separators when timezone changes
* Fix typo
2018-12-13 15:34:05 -03:00
Elias Nahum
3b5e2e8a34
prevent double tap on Channel Info options ( #2455 )
2018-12-13 15:33:47 -03:00
Sudheer
615c8f3b81
MM-13333 Fix minor alignment issue with reply thread indicator ( #2456 )
...
* Add a pixel to margin right for profile_picture container
to compensate status icon platform styles
2018-12-13 17:51:56 +05:30
Elias Nahum
2542f69b90
Post Menu initial position to show one option cut off ( #2453 )
2018-12-13 08:39:32 -03:00
Elias Nahum
fa12bb18ad
MM-13431 Fix load more posts ( #2452 )
...
* Load more posts of a channel by determining the amount of posts shown regardless of how many are in the store
* Feedback review
* do not combine posts when fetching them
2018-12-13 08:38:23 -03:00
Chris Duarte
008d81caab
MM-12906 - Add thumbnails to theme selection ( #2381 )
2018-12-12 09:40:09 -03:00
Harrison Healey
317d26ed64
MM-13421 Fix channel sidebar sometimes using old permissions ( #2450 )
2018-12-12 09:38:57 -03:00
Harrison Healey
901a59a01b
MM-13420 Always show the Unreads section in the channel list ( #2451 )
2018-12-12 09:37:12 -03:00
Elias Nahum
19f261a768
Fix copy markdown link ( #2449 )
2018-12-12 09:36:06 -03:00
Elias Nahum
d0957e3879
Fix edit profile image ( #2448 )
2018-12-12 09:34:41 -03:00
Elias Nahum
9ecec88603
MM-13419 Fix leaving private channel from another client ( #2442 )
2018-12-10 10:55:01 -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
aa20048b2b
Properly check if link is an image when link is shortened ( #2441 )
2018-12-10 09:19:43 -03:00
Elias Nahum
11497ab270
Hide Favorite channel section when there are not favorite channels ( #2439 )
2018-12-10 09:18:13 -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
913fd35724
MM-13379 Make deleted comments indented ( #2437 )
2018-12-07 12:27:44 -03:00
Elias Nahum
993228b666
MM-13374 Fix collapse posts with long message attachments ( #2436 )
2018-12-07 12:27:01 -03:00
Elias Nahum
ceb1a5a94b
MM-13367 Unexpected scrolling/blank while long post is incoming ( #2435 )
2018-12-07 12:26:08 -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
54c44c530d
MM-13364 Fix text too light on dark themes in TextSetting widget ( #2432 )
2018-12-07 12:24:21 -03:00
Elias Nahum
b6eb57ae57
Fix team mention badge alignment on iOS ( #2427 )
2018-12-07 12:22:41 -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
Elias Nahum
e89de72b47
Fix reaction list cutoff at end of list ( #2424 )
2018-12-07 12:14:36 -03:00
Elias Nahum
f2e13c8887
Fix opening documents on Android ( #2425 )
2018-12-06 14:23:05 -03:00
Saturnino Abril
1b836940f2
render text for non-existent emoji when post metadata is enabled ( #2423 )
2018-12-06 12:18:43 -05: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
91f9ea572b
Wait 1s before clearing notifications when app is brought to the foreground ( #2419 )
2018-12-06 21:41:31 +05:30
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
ja11sop
6e3b091d45
Add support for Elixir syntax highlighting ( #2355 )
...
see https://github.com/mattermost/mattermost-webapp/pull/2056
2018-12-05 08:56:05 -03:00
Chris Duarte
6163b8e913
File image attachments sometimes do not open the image preview ( #2397 )
2018-11-30 09:17:34 -05:00
Elias Nahum
ccaa1a1c11
More fixes to the post layout ( #2408 )
2018-11-30 09:12:07 -05:00
Chris Duarte
ea9794f272
Fixed issue where message attachments were empty if text came through on fallback ( #2395 )
2018-11-29 15:41:22 -03:00
Elias Nahum
390fbb039d
Fix fetching more channels to join ( #2393 )
...
* Fix fetching more channels to join
* update snapshot
2018-11-29 12:06:42 -05:00
Elias Nahum
fc5948fcc8
Add Ukrainian to Mattermost ( #2392 )
2018-11-28 15:08:23 -03:00
Jesús Espino
44a3a5c6c8
MM-13041: Not show direct channels without display name ( #2388 )
2018-11-28 10:41:25 -05:00
Jesús Espino
acb87ebad1
Fixing no parseable (by the i18n extractor) optional chaining construction ( #2387 )
2018-11-28 12:37:23 -03:00
Jesús Espino
4148ee93e5
MM-12960: Only back to previous channel if is not archived ( #2389 )
2018-11-28 10:31:48 -05:00
Elias Nahum
92db348c09
Fix post menu touchables ( #2385 )
2018-11-28 10:30:57 -05:00
Elias Nahum
ac3a614d8f
Fix jewel in team sidebar for android ( #2386 )
2018-11-28 10:28:31 -05:00
Elias Nahum
8fbb7e7081
Fix Post and network indicator Layouts ( #2382 )
...
* Fix post layout that caused text cutoff
* Fix network indicator layout on non iPhone X devices
2018-11-27 19:43:08 -03:00
Elias Nahum
508ffad00f
Count the posts received after combining join/leave ( #2378 )
2018-11-27 14:38:32 -05:00
Elias Nahum
ef3445d3bc
Add a threshold of 60px from the bottom to show new messages ( #2376 )
2018-11-27 14:33:50 -05:00
Elias Nahum
e36a01267f
Set refreshing default value ( #2380 )
2018-11-26 20:29:10 -03:00
Elias Nahum
c2b0b3255e
Fix edit post ( #2379 )
...
* Fix edit post
* Fix other references to TextInputWithLocalizedPlaceholder
2018-11-26 20:27:48 -03:00
Elias Nahum
4925970b86
Fix crash when message attachment does not have images ( #2377 )
...
* Fix crash when message attachment does not have images
* optional chaining
2018-11-26 20:26:46 -03:00
Elias Nahum
a03016a9e3
Disconnect the websocket on logout and connect appropiately ( #2375 )
2018-11-23 14:54:43 -03:00
Chris Duarte
7c711caf2d
Theme selection screen ( #2320 )
...
* Theme selection screen (initial commit)
PR Review changes
Add custom theme option for users who are already using a custom theme
Fix for limited allowed themes
Selected item case fix
Memoized available themes request, other optimizations
updated snapshots
* Custom theme option changes - title. spacing, save option on state for life-cycle of screen
2018-11-23 14:49:28 -03:00
Saturnino Abril
bc387ed74e
[MM-13074] Render text when named emoji does not match with the existing custom emojis ( #2371 )
...
* render text when named emoji does not match with the existing custom emojis
* added more test case
2018-11-24 01:43:27 +08:00
Joram Wilander
e431bd36c4
MM-12845 Add widgets and interactive dialogs ( #2353 )
...
* Add widgets and interactive dialogs
* Update snapshots
* Updates per feedback and fix slash command
* Fix style
* Update styling
* Updates per feedback
* Updates per feedback
* More styling changes
* Remove extra space above message menu
2018-11-23 12:30:12 -05:00
Jesús Espino
8097764d87
MM-12959: Fix autocomplete archived channels visibility ( #2367 )
...
* MM-12959: Fix autocomplete archived channels visibility
* Remove unneeded getDeletedPublicChannels
2018-11-23 12:25:46 -05:00
Elias Nahum
de812107b5
Disable segment for dev env ( #2372 )
2018-11-23 14:05:42 -03:00
Elias Nahum
308b2c5e19
Fix error text when intl object is not provided ( #2373 )
2018-11-24 00:00:09 +08:00
Elias Nahum
f42fedf889
Add pinned post support ( #2364 )
...
* Add pinned post
* Update pinned posts assets
2018-11-23 12:57:28 -03:00
Elias Nahum
24db914fd4
Keep postlist scroll position on iOS and fix opengraph ( #2369 )
2018-11-23 20:31:14 +05:30
Elias Nahum
aa9fef955f
Do not disconnect WebSocket when NetworkIndicator on componentWillUnmount ( #2368 )
...
* Do not disconnect websocket when networkIndicator unmounts
* feedback review
2018-11-22 20:23:25 -03:00
Elias Nahum
736a955be8
Use post metadata to prevent scroll pop ( #2304 )
...
* Use post metadata to prevent scroll pop
* Fix not to fetch for reactions every time
* Update post-metadata mm-redux ref
* Update mattermost-redux to include post-metadata
2018-11-22 19:47:27 -03:00
Saturnino Abril
d8abeabd70
[MM-12353] Add feature to render jumbo emoji and unwrapped Emoji component with Text when rendering message containing emoji/s only ( #2356 )
...
* add feature to render jumbo emoji/s
* fix bottom clipping of emoji on Android
* updated per feedback
2018-11-22 11:56:27 -05:00
Elias Nahum
6df0f8b915
Set the user status as offline when the app loses connection ( #2366 )
2018-11-22 11:09:55 -03:00
Elias Nahum
c8777422ce
Fix network indicator layout and reconnect logic ( #2351 )
...
* Fix network indicator layout and reconnect logic
* Reconnection logic to cover more use cases
* Check for internet connectivity when bringing the app to the foreground
2018-11-22 10:25:08 -03:00
Elias Nahum
d8e7a6ab63
Fixing failed tests ( #2363 )
2018-11-21 16:00:00 -03:00
Elias Nahum
9294dec68a
Properly scroll to search results ( #2348 )
...
* Properly scroll to search results
* Add search recent_item test
* Create a new component for the search modifiers
2018-11-21 13:04:26 -03:00
Chris Duarte
55652d0007
Refresh indicator fix ( #2361 )
2018-11-21 19:34:01 +08:00
Sudheer
bfb0db866e
MM-12755 Add reply mention highlight for replyBar ( #2359 )
...
* MM-12755 Add reply mention highlight for replyBar
* Update MM-redux hash
2018-11-21 00:02:51 +05:30
Elias Nahum
678c2599ac
Update post header to support flagged/pinned posts ( #2350 )
...
* Update post header to support flagged/pinned posts
* Fix header cutoff when commented on visible
* Update snapshots
2018-11-20 08:23:42 -03: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
Chris Duarte
b4d7a23e54
Instantly show autocomplete channels ( #2188 )
...
* Instantly show autocomplete channels
* Don't show loading indicator for my channels
* Remove loaders from search
2018-11-19 14:55:43 -03:00
Harrison Healey
883de604d8
Fix comma splice typo ( #2343 )
2018-11-19 14:51:37 -03:00
Elias Nahum
68a3825d95
Update dependencies ( #2316 )
2018-11-18 17:54:06 -03:00
Elias Nahum
85fd0e7d74
Fix download document progress indicator ( #2344 )
2018-11-16 22:57:03 +05:30