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
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView ( #2340 )
2018-11-16 13:28:54 -03:00
Elias Nahum
8e97b47425
Fix crash when deleting a post ( #2345 )
2018-11-16 19:41:18 +05:30
Chris Duarte
4d5b49f104
Network consolidation ( #2324 )
...
* Create network listener component
* Remove unnecessary network/websocket logic
* Remove offline indicator. Fix linting issue
* Fix websocketStatus prop issue
* Refactor and remove animation from state
* Fix AppState listener. Add connection retry.
2018-11-14 18:19:59 -03:00
Elias Nahum
ae629a455c
Update UX for post long press menu ( #2325 )
...
* Update UX for post long press menu
* Post menu feedback review
2018-11-14 17:29:09 -03:00
Chetanya Kandhari
68eff30eda
[#MM-12410] Custom Terms of Service ( #2234 )
...
* [#MM-12410] Custom Terms of Service Modal.
- Create a new screen for terms of service
- Register it in app navigation
- Open it as a modal when login succeeds or app is opened when already logged in.
- Get terms of service and render it as markdown
* Refactor service terms to terms of service
* Show terms modal when launching channel instead of componentDidMount
* Remove footer text
* Close modal before logging out
* Use dismissAllModals instead od this.close
* Update header styles
* Update the back icon
* Add left icon conditinally based on os
* Update en.json
* - Integrate Accept/Reject API
- Refactor show navigator to util
- Remove title
- Code refactoring
* Handle Accept/Reject API errors
* Update package-lock
* - Show Alert to handle API error
- Handle API error for GetTerms error, Accept/Reject error and Reject success
- Changes in en.json
- Remove error banner
- Open terms modal in sso and experimental certificate
* Enable navigator buttons after getting terms
* Rename Ok to OK in Alert
* Add retry for API error
* Fix check-style
* Fix FailedNetworkAction Error Message
* - Use Close button instead of back button
- Update en.json
* Remove unused import
* Disable hashtags and atmentions in terms modal
* Enable close button when terms text fails to load
* Minor changes
* Fix show terms on sso login
* Handle restartApp event
* Add test cases
* Revert change to app/components/formatted_markdown_text.js
* Show the terms modal on the channel page
* Remove remaining references to showTermsOfService
* Disable Hashtags, AtMentions and ChannelLinks
* Update the props to markdown component
* Pass the text as literal to renderText
* Return the generated renderTexts
* Fix lint
* Render ~, #, @ with Channel link, Hashtags and At Mentions
* Fix failing tests
Revert unwanted changes
* Hide the channel page content before the terms are accepted
* Fix lint and failing tests
* Revert changes to hide channel while terms are not accepted
* Open modal in componentDidMount instead of constructor
Code refactoring
Disable back button on android
* Remove unused import
* No need to await for showModal
* No need to await for accept and reject
* Update flag for updateTermsOfServiceStatus to updateMyTermsOfServiceStatus
- as phase 2 redux PR was mered.
* Fix check-style
* Change opacity in terms of service text
- Fix tests
* Revert package-lock.json changes
2018-11-14 11:36:45 -03:00
Elias Nahum
e1b1635cf1
Fix regression when scrolling in search screen ( #2339 )
2018-11-14 10:51:29 -03:00
Sudheer
67611d0c22
MM-12923 Fix Downloading message on cancelling downloads ( #2337 )
2018-11-14 08:23:35 -03:00
Elias Nahum
592fab2375
Refactor CustomList to use Section and Flat Lists ( #2332 )
2018-11-13 18:16:57 -05:00
Elias Nahum
0079d7e27a
MM-12952 Avoid iOS autocorrect from overriding autocomplete values ( #2335 )
...
* Avoid iOS autocorrect from overriding autocomplete values
* Fix double ~ for channel mentions in Android
2018-11-13 19:46:31 -03:00
Harrison Healey
9727476ef6
MM-12901 Improve handling of hashtags on Recent Mentions, Flagged Posts, and Permalink screens ( #2329 )
...
* MM-12901 Create showSearchModal action and use for hashtags
* MM-12901 Improve handling of hashtags on Recent Mentions, Flagged Posts, and Permalink screens
2018-11-09 20:43:22 -03:00
Elias Nahum
19a755d59f
Fix when message have multiple actions ( #2331 )
...
* Fix when message have multiple actions
* Feedback review
2018-11-09 18:38:58 -05:00
Elias Nahum
b0495a9dff
Fix prefetch ( #2330 )
2018-11-09 19:04:17 -03:00
Elias Nahum
201e122827
Fix Android image preview ( #2323 )
2018-11-09 16:20:08 -05:00
Chris Duarte
5c24375dae
Reorganize sidebar channel items via pref ( #1928 )
...
* Reorganize sidebar channel items via pref
Add onItemPress
Add isModal prop
Add options modal for ungrouped sidebar
Filter zero item unreads from sections
Refactor unread filtering
Add SidebarSectionTypes to constants
Update mm-redux dep
Remove unused variable
* Fix lint errors. Update redux commit
* Add recent activity title
* Review feedback
* Fix issues after rebase
* Review feedback
* Change to use getAllDirectChannels
* Update redux library
* Fix lint error
* Update modal list snapshot
2018-11-09 13:06:21 -03:00
Harrison Healey
b80bbe3a94
MM-11477 Wrap objects thrown by Client4 in a proper error type ( #2328 )
...
* MM-11477 Wrap objects thrown by Client4 in a proper error type
* Update mattermost-redux
2018-11-08 12:15:07 -05:00
Elias Nahum
b9e9003195
do not wait for rehydration is credentials are false ( #2312 )
2018-11-05 15:25:35 -03:00
Elias Nahum
e25a1939fc
Set the file prefix in image_cache_manager ( #2313 )
2018-11-05 15:24:30 -03:00
Elias Nahum
071653aa51
Keep connection as active when retrying teams ( #2314 )
2018-11-05 15:19:28 -03:00
Harrison Healey
a042cd043e
MM-12880 Properly link the next sibling following a combined text node ( #2307 )
2018-11-05 10:23:27 -05:00
Elias Nahum
73b8b49c81
Fix reaction list header item border ( #2317 )
2018-11-05 11:23:58 -03:00
Elias Nahum
9a5122c19c
Slide up panel for reaction list ( #2285 )
...
* Slide up panel for reaction list
* Feedback review
* UI Feedback review
* Feedback review
* Improve slide speed and fix end position
* Scroll to top when changing reaction view
* dismiss modal without animation so backdrop does not scroll down
* Smooth animation to show/hide
* Change animation speed
2018-11-02 13:21:43 -03:00
Elias Nahum
9dcf9e6a86
Show join teams option in the team sidebar when there are other joinable teams ( #2293 )
2018-10-31 14:07:59 -03:00
Elias Nahum
e6f70707cc
Allow channel drawer to close when showing the team list ( #2290 )
...
* Allow channel drawer to close when showing the team list
* prevent closing the sidebar when jump to is active
* Add proper header to drawer_layout.js
2018-10-31 13:40:22 -03:00
Elias Nahum
2f7705609f
Fix team utils test eslint ( #2295 )
2018-10-30 15:48:58 -03:00
Elias Nahum
bfdd0f7b42
Add padding to tap effect for team list item ( #2291 )
2018-10-30 09:48:36 -03:00
Harrison Healey
d18cab144e
MM-12467 Made borders between autocomplete items consistent ( #2289 )
2018-10-29 15:22:39 -04:00
Elias Nahum
9db040bcf7
Retry fetching teams if no teams are found ( #2288 )
...
* Retry fetching teams if no teams are found
* Remove flow
2018-10-27 00:50:19 -03:00
Elias Nahum
94ddee15b2
Capture video in high quality ( #2287 )
2018-10-27 00:49:04 -03:00
Saturnino Abril
b763c92fc1
refactor ChannelLink and add test into it ( #2280 )
2018-10-19 08:59:33 -03:00
Sudheer
7a65d83894
Use native transition on drawyerLayout component ( #2278 )
2018-10-19 01:56:29 +05:30
Harrison Healey
78e5b99884
MM-5957 Add mention highlighting on mobile ( #2277 )
...
* Switch pullOutImages to use a NodeWalker
* Add markdown transformer to combine adjacent text nodes
* MM-5957 Add mention highlighting on mobile
2018-10-18 14:12:25 -04:00
Elias Nahum
5240e83bbb
Hook the onMessage event only when needed ( #2271 )
2018-10-18 12:11:48 -03:00
Elias Nahum
729d69a541
Add ability to include custom headers with requests ( #2273 )
...
* Add ability to include custom headers with requests
* feedback review
* Feedback review
2018-10-18 19:47:11 +08:00
Elias Nahum
640f0151b2
Fix backgroundColor when updating the theme in real time ( #2268 )
2018-10-15 21:31:17 -03:00
Elias Nahum
fe7c73d5a5
Fix Upload file size ( #2252 )
2018-10-15 21:29:43 -03:00
Nick Frazier
e6062d5e26
Allow 'view members' for GMs ( #2265 )
2018-10-15 14:13:52 -03:00
Sudheer
1b54e1ebe3
Fix for LHS populating you next to current user ( #2263 )
...
* Fix for LHS populating you next to current user
* Add test cases
* Refactor to use avaiable props conditions in component
instead of passing flags from connector
2018-10-15 21:00:11 +05:30
Elias Nahum
dcf5004acd
Fix uploading iOS videos ( #2260 )
2018-10-12 17:32:18 +08:00
Elias Nahum
e3f531e232
Scroll search results to the top ( #2241 )
2018-10-12 13:16:41 +05:30
Elias Nahum
85d9cd8348
Fix crash when loading the permalink view ( #2258 )
2018-10-11 16:52:42 -03:00
Sudheer
bcad54b6ff
MM-12652 Fix for android thread crash ( #2257 )
2018-10-12 00:35:48 +05:30
Elias Nahum
a78482c942
Set explicit white background to icon previews ( #2256 )
2018-10-11 15:31:34 -03:00
Sudheer
3eb66c591e
MM-12491 Fix archive channels staying in LHS ( #2253 )
...
* Add isArchived flag for all DM's and channels
* Exclude search results from channel_list component to show
results when isSearchResult flag is set
This is to let user search for deactivated users from jumpto
2018-10-11 23:12:17 +05:30
Harrison Healey
cfb372f75a
MM-11157 Switch ESLint to use eslint-config-mattermost ( #2247 )
2018-10-11 13:35:25 -04:00
Elias Nahum
b20e976dff
Properly handle max file size ( #2248 )
...
* Properly handle max file size
* Feedback review
2018-10-11 14:11:05 -03:00
Elias Nahum
de7878ec78
Set Roboto as the default font family for Android ( #2244 )
2018-10-11 19:33:11 +05:30
Martin Kraft
dda2e002e0
MM-11589: Adds 'View Members' button to archived channels. ( #2200 )
...
* MM-11589: Adds 'View Members' button to archived channels.
* MM-11589: Adds menu item separator line.
* MM-11589: Keeps ability to manage users of an archived channel.
2018-10-11 07:29:48 -04:00
Sudheer
97979d89f3
MM-12560 Fix for infinite loading indicator for thread from search ( #2246 )
...
* MM-12560 Fix for infinite loading indicator for thread from search
* Change tests
2018-10-10 23:59:32 +05:30
Elias Nahum
9e8bebe942
Do not show the option to copy post if there is no text ( #2240 )
2018-10-10 08:43:49 -03:00
Martin Kraft
224e5a9139
MM-12552: Adds parameter to include archived channel search results. ( #2237 )
2018-10-09 16:10:16 -04:00
Elias Nahum
1c40604a70
Fix update keywords field on Android ( #2229 )
2018-10-09 11:56:35 -03:00
Elias Nahum
2968b0da7a
Fix KeyboardAvoidView for android ( #2226 )
2018-10-09 11:54:31 -03:00
Harrison Healey
926856f9a5
MM-11477 Use custom thunk middleware to intercept leaked network errors ( #2222 )
...
* MM-11477 Use custom thunk middleware to intercept leaked network errors
* MM-11477 Always include url in Client4 errors
* Update redux
2018-10-09 10:13:28 -04:00
Saturnino Abril
953a087948
Add deactivated to separate row on user list and fix truncating user info ( #2232 )
2018-10-09 20:50:34 +08:00
Saturnino Abril
6b312df268
add opacity of 0.3 to circle stroke of offline status ( #2233 )
2018-10-09 20:46:49 +08:00
Elias Nahum
f9e49d8c66
Missing translations on login screen ( #2227 )
2018-10-08 12:26:12 -03:00
Saturnino Abril
bc54c6e0dd
[MM-12550] Fix hangup on permalink view when user deleted the post in it ( #2228 )
...
* fix hangup on permalink view when user deleted the post in it
* return null when no need to change state on getDerivedStateFromProps
2018-10-08 23:13:41 +08:00
Elias Nahum
43cdaa81a5
Fix Option to capture and share video ( #2225 )
2018-10-05 17:46:47 -03:00
Elias Nahum
811f3edd50
Reset isLoadingMoreTop flag when switching channels ( #2224 )
2018-10-05 17:45:40 -03:00
Harrison Healey
4e251d392a
MM-12189 Set autocomplete max height based off available space ( #2218 )
...
* MM-12189 Set autocomplete max height based off available space
* Have each autocomplete type determine its own max height since DateSuggestion needs more space
* Remove unused props and ref
2018-10-05 09:58:05 -04:00
Saturnino Abril
dd506d4c9f
fix issue that blocks adding test for thread screen ( #2221 )
2018-10-05 14:46:21 +08:00
Elias Nahum
fa5efd4007
Revert "image thumbnail not centered ( #2210 )" and fix it properly ( #2219 )
...
This reverts commit 5f31374e74 .
2018-10-04 19:41:41 -03:00
Elias Nahum
db2b79f0a9
Fix search screen from braking and improved how to get more results ( #2215 )
...
* Fix search screen from braking and improved how to get more results
* Update mattermost-redux
2018-10-03 16:15:55 -03:00
Joram Wilander
10a1e93e7d
MM-12348 Persist interactive menu choices past channel switch and share with thread view ( #2207 )
...
* Persist interactive menu choices past channel switch and share with thread view
* Remove unneeded async
2018-10-03 15:08:05 -03:00
Sudheer
5323be6a52
MM-12301 Add padding for error text on edit profile screen ( #2214 )
2018-10-03 15:06:42 -03:00
Elias Nahum
5f31374e74
image thumbnail not centered ( #2210 )
...
* image thumbnail not centered
* feedback review
2018-10-04 01:37:59 +08:00
Martin Kraft
12e822836d
MM-12061: Fixes component name typo and adds missing param. ( #2199 )
2018-10-03 09:33:52 -04:00
Saturnino Abril
df0200111d
fix empty space on link preview when title and URL is not present in open graph meta ( #2197 )
2018-10-03 09:32:35 -04:00
Elias Nahum
29d975ceef
Draft channel indicator to ignore message with whitespaces only ( #2209 )
2018-10-03 08:44:32 -04:00
Harrison Healey
f5d1c3c434
MM-12424 Remove unused props from KeyboardLayout and simplify methods ( #2203 )
...
* MM-12424 Remove unused props from KeyboardLayout and simplify methods
* Update snapshots
2018-10-02 17:12:21 -04:00
Sudheer
46143df823
MM-12347 Fix crash of app when accessing jumpTo ( #2205 )
2018-10-02 22:51:59 +05:30
Harrison Healey
8a2049f2ab
Hide warnings caused by React Native ( #2202 )
2018-10-02 09:23:22 -04:00
Saturnino Abril
b594d58572
fix empty reaction row when profile is missing ( #2196 )
2018-10-01 18:38:17 +08:00
Saturnino Abril
3c99672af5
Update unit test: use default theme, snapshot on wrapped elements and removal of unnecessary adapter ( #2171 )
...
* use default theme when unit testing the component
* update snapshots by getting wrapped elements only
* fix merge conflicts
2018-10-01 15:11:00 +08:00
Saturnino Abril
2cf3ac18f5
fix blank space on link preview when no site name ( #2193 )
2018-10-01 15:06:31 +08:00
Saturnino Abril
1fbfe33a22
add border to image of link preview and not allow such image width to exceed the view port width ( #2189 )
2018-10-01 09:34:30 +08:00
Elias Nahum
b3738ffd58
Do not show a loading spinner if thread has root post loaded ( #2186 )
...
* Do not show a loading spinner if thread has root post loaded
* Feedback review
* Remove additional condition
2018-09-28 10:54:41 -04:00
Saturnino Abril
bf36a7533e
[MM-12145] Make user info of user list on two rows: first with username and second with teammate display ( #2185 )
...
* make user list row on two columns: first is username, second is teammate display
* move style of filler
2018-09-28 11:36:43 -03:00
Christopher Speller
cd38d8690f
Switching broken image error text to icon. ( #2156 )
2018-09-28 10:28:40 +08:00
Elias Nahum
637df1df63
Get more search results only if value is set
2018-09-27 15:57:04 -03:00
Jesús Espino
2a75ee022c
MM-11606: Back to prev channel on close archived channel ( #2183 )
2018-09-27 19:02:02 +02:00
Jesús Espino
9bd89930b7
MM-11567: Autocomplete search in: for DMs and GMs ( #2133 )
...
* MM-11567: Autocomplete search in: for DMs and GMs
* More robust behavior on older versions and a fix on autocompletion
* Moving get display_name for search to a selector
2018-09-27 18:38:07 +02:00
Jesús Espino
9668bdc894
MM-11577: Back to previous channel on archive ( #2172 )
...
* MM-11577: Back to previous channel on archive
* Add last mattermost-redux version
2018-09-27 18:15:45 +02:00
Saturnino Abril
ce47c23100
[MM-9490] Add reaction list ( #2125 )
...
* add reaction list
* update styles and add tests
* update styles
* update per comment
2018-09-27 21:54:17 +08:00
Elias Nahum
48b945d6f9
Localization support for the calendar ( #2182 )
2018-09-27 10:40:21 -03:00
Elias Nahum
eab1ab7c0c
Add support for new iPhone models in missing places ( #2180 )
2018-09-27 09:16:19 -04:00
Sudheer
13aaefa0ac
[MM-11988] Fix File Upload loading progress indicator alignment ( #2181 )
2018-09-27 15:15:45 +02:00
Harrison Healey
3e675ce7a2
MM-10273 Always focus search input when first opening ( #2174 )
2018-09-27 08:40:35 -04:00
Elias Nahum
028d527905
Fix config fetch loop when HA config mismatch ( #2164 )
2018-09-26 17:09:24 -03:00
Elias Nahum
14422f33a5
Fix Android previewer download option ( #2157 )
...
* Fix Android previewer download option
* Feedback review
2018-09-26 15:53:30 -04:00
Christopher Speller
2f9e273923
Adding paging for elasticsearch results. ( #2154 )
2018-09-26 15:38:47 -03:00
Elias Nahum
2567b7dc04
Add draft indicator to the channel item ( #2150 )
...
* Add draft indicator to the channel item
* Feedback review
2018-09-26 12:17:54 -03:00
Elias Nahum
4cebbfdc94
Fix YouTube play button position ( #2160 )
2018-09-26 11:14:51 -04:00
Elias Nahum
f522df7a2e
Refactor postlist to include Android Pie fixes and smoother scrolling ( #2161 )
2018-09-26 10:43:33 -04:00
Elias Nahum
f7c7e70a37
Fix SSO error display ( #2158 )
2018-09-26 10:40:28 -04:00
Elias Nahum
e6c37e5e69
Do not fetch image if file.id is not present ( #2165 )
2018-09-26 10:26:35 -04:00
Elias Nahum
452b97231d
Remove bottom margin in the channel drawer ( #2168 )
2018-09-26 13:23:22 +08:00
Elias Nahum
0e15692f13
Add support for iPhone XR, XS and XS Max ( #2153 )
2018-09-25 14:03:05 -04:00
Harrison Healey
45b8d97168
Use defaultProps to ensure postIds prop exists for ChannelPeek ( #2159 )
2018-09-25 11:47:28 -03:00
Elias Nahum
6e25dbf04b
Adding CSRF header to file uploads/downloads ( #2151 )
2018-09-24 10:51:32 -03:00
Elias Nahum
0edcc139f4
Make the image preview smoother ( #2147 )
...
* Make the image preview smoother
2018-09-24 12:53:40 +05:30
Jesús Espino
8884293b18
Add t() translation mark to i18nable strings and update translations ( #2026 )
...
* Add t() translation mark to i18nable strings and update translations
* Small fixes
* Adding to the packager
* Rebase fixes
* Added missed texts
2018-09-21 11:25:38 -03:00
Sudheer
5fb9b5427e
MM-12199 Add a check for loading on threads ( #2146 )
2018-09-21 19:24:23 +05:30
Sudheer
a6e15320d4
MM-11974, MM-11980 Add deactivated user to LHS search ( #2080 )
...
* MM-11974, MM-11980 Add deactivated user to LHS search
* Add (you) to current user in jumpto search
* Change to use old format of objects for non-search results
* Remove deactivated when searched using JumpTo
* Use archive icon in JumpTo Search for deactivates users
* Update snapshots
* Change snapshots to use getElement
* Fix snapshot
2018-09-21 21:06:33 +08:00
Saturnino Abril
63196936d0
MM-12258 Update snapshots to only compare against the elements and not the bloated objects ( #2140 )
...
* update snapshots to only compare against the elements and not the bloated objects
* resolve conflicts to master
2018-09-21 16:07:37 +08:00
Elias Nahum
637ca9244a
Update RN to version 0.57.0 ( #2131 )
2018-09-20 19:05:41 -03:00
Joram Wilander
ef3ba7eb00
MM-11934 Add interactive action menus ( #2099 )
...
* Add interactive action menus
* Add snapshot tests
* Updates per feedback
* Update styling of menu action
* Updates per feedback
* Update submitted message color
* Update snapshots
2018-09-20 14:01:51 -04:00
Elias Nahum
46b6687d1f
Show local notification when replying to PN fails ( #2142 )
2018-09-21 00:58:21 +08:00
Joram Wilander
1d37f9bbec
Close channel autocomplete if multiple tildes are typed ( #2138 )
2018-09-20 12:36:37 -04:00
Saturnino Abril
858c8e8435
[MM-12016] Add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested) ( #2144 )
...
* add test to PostAttachmentOpenGraph component (did some refactor to make it easily tested)
* remove null check to openGraphData on renderDescription
2018-09-20 11:45:23 -03:00
Elias Nahum
ce0fc1a2d9
Fix can download file for documents in preview screen ( #2141 )
2018-09-20 14:27:44 +05:30
Jesús Espino
f9d9edecdf
MM-12004: Hide the archived messages on search results when ViewArchivedChannels is disabled ( #2137 )
2018-09-18 18:49:10 +02:00
Saturnino Abril
b75aa36554
Fix build error on Hashtag component ( #2134 )
...
* fix build error on Hashtag component
* update commonmark-react-renderer
2018-09-18 12:27:41 -03:00
Sudheer
710ce17a19
MM-12038 Fix attachment icon styling ( #2115 )
...
* MM-12038 Fix attachment icon styling
* Fix attachment icon background-color.
* Fix attachment icon alignment when downloading.
2018-09-18 20:51:04 +05:30
Harrison Healey
ecf25969cc
Fix version of commonmark-react-renderer in package.json ( #2136 )
...
* Fix version of commonmark-react-renderer in package.json
2018-09-18 20:37:49 +05:30
Harrison Healey
578f204784
MM-10273 Add hashtag support ( #2106 )
...
* MM-10273 Add hashtag support
* Put hashtag search in a proper modal
* Change hashtag search style to match regular search
* Move Hashtag component and explicitly pass props
* Add unit tests for Hashtag component
* Fix merge conflict
2018-09-17 17:17:20 -03:00
Elias Nahum
07f88071c6
Update dependencies ( #2040 )
...
* Update dependencies
* Update snapshots
2018-09-17 10:22:38 -03:00
Elias Nahum
6471bcbed3
Merge pull request #2130 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-17 09:12:27 -03:00
Elias Nahum
2f88ae2f3c
Fix mention keywords setting ( #2127 )
2018-09-17 13:34:24 +05:30
Elias Nahum
24185dc47d
Fix post background color from getting stuck ( #2126 )
2018-09-15 19:27:49 -03:00
Jesús Espino
280577dbc7
MM-11725: Using the new server endpoint to autocomplete channels ( #2100 )
...
* MM-11725: Using the new server endpoint to autocomplete channels
* Fixing suggestions from the PR
* Updating mattermost-redux dependency
* Removing unnecesary Client4.getServerVersion usage
2018-09-14 15:06:11 -04:00
Sudheer
5aac68e785
Change rn-fetch-blob to mock globally in jest ( #2124 )
2018-09-14 12:14:37 -03:00
Sudheer
92218659d5
MM-11614 Add Nickname to user profile ( #2123 )
2018-09-14 19:54:44 +05:30
Elias Nahum
e4ecab97e4
Merge pull request #2122 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-14 11:13:30 -03:00
Saturnino Abril
0afdbdd0f9
remove backgroundColor from styles.video of Android share extension that's causing app to crash ( #2119 )
2018-09-14 09:10:10 -03:00
Elias Nahum
5c0e4acf2a
Merge pull request #2118 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-13 18:40:17 -03:00
Elias Nahum
48a311344c
Fix drawer stutter when jumping to a DM or joining a channel ( #2113 )
2018-09-13 16:27:45 -03:00
Elias Nahum
a873640e41
Fix Option modal items tap effect off center ( #2109 )
...
* Fix Option modal items tap effect off center
* Add snapshot
2018-09-13 09:57:54 -03:00
Elias Nahum
f71ea2814b
Merge pull request #2112 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-13 09:32:42 -03:00
Elias Nahum
5f17a48f4c
Fix unable to delete file cache in Android ( #2108 )
2018-09-12 18:22:29 -03:00
Elias Nahum
8d21000b9f
Fix unable to delete file cache in Android ( #2108 )
2018-09-12 16:16:38 -03:00
Elias Nahum
068e0674a1
Fix okta login ( #2107 )
...
* Fix okta login
* Feedback review
2018-09-12 14:46:07 -03:00
Elias Nahum
1c5bbbd996
Merge pull request #2105 from mattermost/release-1.12
...
Merge Release 1.12
2018-09-11 19:14:37 -03:00
Harrison Healey
675c440cd7
MM-12109 Fix handling of return value of getRedirectLocation ( #2102 )
2018-09-11 18:28:55 -03:00
Harrison Healey
3005a39f07
MM-12109 Switch to using server API to determine redirect location ( #2097 )
...
* Switch to using server API to determine redirect location
* Update redux to add version check for getRedirectLocation
2018-09-11 18:06:13 -03:00
Elias Nahum
b096ea0a03
Fix iOS tap on post ( #2095 )
2018-09-11 08:31:42 -03:00
Harrison Healey
a434063512
MM-12025 Use KeyboardLayout in more places and have it change height instead of moving upwards ( #2098 )
...
* MM-12025 Switch KeyboardLayout to change height instead of moving child upwards
* MM-12025 Use KeyboardLayout in more places
* Update snapshots
2018-09-11 08:31:20 -03:00
Elias Nahum
f1274e4977
Merge pull request #2094 from mattermost/release-1.12
...
Merge Release 1.12 into master
2018-09-07 20:06:22 -03:00
Elias Nahum
5d9c3d7b3d
Search Fixes ( #2090 )
...
* MM-11996 date filter
* MM-12041 do not reopen keyboard after search
2018-09-07 19:02:40 -03:00
Saturnino Abril
059db1a788
fix warnings in running jest test ( #2087 )
2018-09-07 23:05:35 +08:00
Elias Nahum
8e9146e5c9
fix contextOption for post ( #2086 )
...
* fix contextOption for post
* feedback review
2018-09-07 11:35:19 -03:00
Elias Nahum
9ca10dc719
Make sure opengraph displays images ( #2083 )
...
* Make sure opengraph displays images
* Revert change for IMAGE_MAX_HEIGHT constant
2018-09-07 09:06:22 -04:00
Jesús Espino
db898694a5
MM-11725: Filter archived channels by membership on search autocomplete ( #2066 )
...
* MM-11725: Filter archived channels by membership on search autocomplete
* Fixing PR suggestions
2018-09-07 06:51:36 -03:00
Sudheer
c6ea5e6024
MM-11603 Add a retry screen when fetching teams fails ( #2085 )
2018-09-06 20:35:50 -03:00
Dmitry Samuylov
b1dff8aa04
enable arrows on the calendar for date search flags ( #2084 )
2018-09-06 15:04:07 -03:00
Harrison Healey
57a2d3103d
MM-11968 Fix uppercase at mentions ( #2082 )
2018-09-06 14:46:23 -03:00
Saturnino Abril
9bd46b48ce
add bottom margin of 10 to "show more/less button" ( #2081 )
2018-09-06 14:46:07 -03:00
Sudheer
532e87f6dc
MM-11942 Add deactivate user state to more users modal ( #2079 )
2018-09-06 11:26:26 -03:00
Elias Nahum
c13081ad34
Display trigger word in slash command autocomplete ( #2078 )
2018-09-05 09:35:28 -04:00
Elias Nahum
688d6579d0
Fix custom emoji render ( #2075 )
2018-09-05 10:04:59 -03:00
Elias Nahum
82dc62dfc6
Fix Posts cutoff ( #2071 )
...
* Remove PixelRatio from emoji
* Fix removeSubclippedViews in emoji picker
* Add system emojis to the store handler
* Pass element to whyDidYouUpdate util
* Fix post avoidable re-renders
* Fix emoji on Android
* Feedback review
2018-09-04 11:53:15 -03:00
Saturnino Abril
fd99e0489c
[MM-11928] Fix styling of show more/less on message attachment similar to "long post" ( #2070 )
...
* fix styling of show more/less on message attachment similar to "long post"
* change top margin from 0 to 10 of "Show Less" button
2018-09-04 11:52:45 -03:00
Dmitry Samuylov
9deeb86e1e
bug fix: use user's timezone setting for search date flags ( #2067 )
2018-09-04 11:52:16 -03:00
Sudheer
0e6ffab1e0
MM-11603 Fix select_team ui to have failed request scenario ( #2063 )
...
* MM-11603 Fix select_team ui to have failed request scenario
* Change error title and description
2018-09-04 09:48:22 -03:00
Jesús Espino
2d695c2269
MM-11728: Reload channel on archived channel errors (on edit and archive channel) ( #2064 )
2018-09-03 12:49:59 -03:00
Saturnino Abril
dbd77b87e0
fix email notification setting on Android ( #2065 )
2018-08-31 09:38:36 -04:00
Elias Nahum
c24492be8f
Android notification support for O and P ( #2060 )
2018-08-30 19:45:21 -03:00
Elias Nahum
3be170f507
Add theming to calendar selector ( #2052 )
2018-08-30 13:41:05 -04:00
Harrison Healey
07ada67e1a
MM-11449 Show OpenGraph previews for pages with any of the required fields ( #2054 )
...
* MM-11449 Show OpenGraph previews for pages with any of the required fields
* Update mattermost-redux
2018-08-30 14:18:01 -03:00
Elias Nahum
2a54c00e16
Open file attachment preview when tapping on the filename ( #2049 )
2018-08-29 17:05:37 -03:00
Elias Nahum
ebe7317c5f
Check if post.data has values bofore joining a channel ( #2050 )
2018-08-30 03:19:01 +08:00
Elias Nahum
a14a220d14
Gracefully handle http and https redirection ( #2044 )
...
* Gracefully handle http and https redirection
* tests
* Feedback review
* Default retry to true
2018-08-29 16:00:35 -03:00
Jesús Espino
fb37c18c8f
MM-11270: Disallow to react to posts in archived channels ( #2045 )
2018-08-29 14:27:12 -04:00
Saturnino Abril
320f1d9c91
fix email notification settings ( #2051 )
2018-08-29 14:25:09 -04:00
Chris Duarte
4b6bd70db5
Make sure team is passed to initial getProfilesInTeam call ( #2043 )
2018-08-29 14:14:57 -04:00
Elias Nahum
ddc4a3057e
Disallow download of all file types on RN apps when disallowed in System Console ( #2038 )
2018-08-29 14:04:36 -04:00
Elias Nahum
96e9c6c707
Update rn-fetch-blob and CBA support for iOS ( #2033 )
...
* Update rn-fetch-blob and CBA support for iOS
* remove trusty
* remove react-native-fast-image dependency
2018-08-29 14:01:37 -04:00
Chris Duarte
68847d91a0
Keep server version after cache clear ( #2042 )
2018-08-29 23:15:28 +05:30
Sudheer
32e5316817
MM-11684 Fix grey highlight in the text fields in user profile ( #2034 )
...
* Fix jumpto search highlight
* Change background style to be on view and rest of
input styles to input
2018-08-29 18:14:20 +08:00
Dmitry Samuylov
1ecb209712
Feature/search after before on ( #2028 )
...
* initial partial implementation of search date flags UI (on: before: after:)
* Make the calendar show correctly
* dismiss keyboard when showing the date suggestion since this type of input will primarily be entered through the calendar and later edited if needed
* fixed code style errors
* updates as per pull request comments
* fixed eslint errors
* changes as per pull request comments, removing unnecessary code
* added handling for hiding the date filter feature if the server version doesn't support it
* fixed eslint errors
* removed unnecessary property defaults and server version checks, as per PR suggestions
* this default is needed for the initial load of the component
* changed the way we capture the flag from the search string, this handles scenarios where multiple flags might be present in the search string that are handled by the same suggestion component as is the case here with date based flags
* need property declared to pass jslint rules
* eslint style fix, moved regex out into constants
* removed unused code and references
* updated as per pull request feedback
* updated to latest redux version
* changed to new search posts api that supports passing in of time zone utc offset to support date based search flags
* updated to the upcoming release version in preparation for merging to master
* Properly memoize DateSuggestion mapStateToProps
* Remove moment-timezone
2018-08-28 18:01:11 -04:00
Chris Duarte
19efaf92ca
Make post_add_channel_member follow theme text style ( #2036 )
2018-08-28 16:18:14 +08:00
Chris Duarte
b808b3f2e6
Make profile camera icon use theme.centerChannelBg for background ( #2035 )
2018-08-27 17:52:37 -04:00
Elias Nahum
8120867850
Fix network change status ( #2032 )
...
* Fix network change status
* Use the exposed action form redux-offline
2018-08-27 16:54:20 -04:00
Elias Nahum
648082f385
Fix long message not displaying for message attachments in android ( #2031 )
2018-08-27 16:53:10 -04:00
Martin Kraft
b4ca6421a0
MM-11318: Expands shortened links inline. ( #1993 )
...
* MM-11318: Expands shortened links inline.
* MM-11318: Accepts only image/* mime types. Switches to HEAD request.
* MM-11318: Fix for YouTube links.
* MM-11318: Renames function because it handles non-images.
* MM-11318: Checks for unmounted. Doesn't request known youtube redirects.
2018-08-24 15:02:07 -04:00
Martin Kraft
9b238781c0
MM-11721: Updates archive channel button icon. ( #2030 )
...
* MM-11721: Updates archive channel button icon.
* MM-11721: Changes color of archive channel icon to red.
2018-08-24 13:39:26 -03:00
Elias Nahum
cfbdb23035
Fix Jump to Channel DMs not showing ( #2021 )
2018-08-22 21:06:18 -03:00
Elias Nahum
c1842c886b
Merge pull request #2019 from mattermost/release-1.11
...
Merge Release 1.11 into master
2018-08-17 11:19:44 -03:00
Elias Nahum
830132bc38
Add a timeout to avoid race conditions when opening the app from a push notification ( #2015 )
2018-08-17 08:55:35 -03:00
Saturnino Abril
669f0ea1cd
use profile image from local after editing a profile image ( #1990 )
2018-08-16 06:57:23 -07:00
Elias Nahum
b59092e1e8
Merge pull request #2014 from mattermost/release-1.11
...
Merge Release 1.11 into Master
2018-08-16 09:40:52 -03:00
SangJun Lee
e1a62ee0de
Fix app crashes on iOS 9.3 ( #2005 )
2018-08-15 15:09:29 -03:00
Elias Nahum
7dfd377aef
Merge pull request #2003 from mattermost/release-1.11
...
Merge Release 1.11 into master
2018-08-13 16:34:24 -03:00
Sudheer
f06e90407a
[MM-11487] Add a defensive check for channel obj ( #1967 )
...
* [MM-11487] Add a defensive check for channel obj
* Fix review comments
* Add a modal to show feedback to user about failed join
* Fix error message
2018-08-13 10:26:05 -03:00
Elias Nahum
1ec8dd4577
Fix video playback when filename contains spaces ( #1997 )
...
* Fix video playback when filename contains spaces
* Feedback review
2018-08-13 10:19:29 -03:00
Saturnino Abril
6b1429d316
clear search after selecting a user
2018-08-13 20:51:49 +08:00
Sudheer
b76319e9c6
[MM-11170] Remove loader and someone from LHS ( #1973 )
2018-08-11 12:07:27 -04:00
Elias Nahum
f2d21f585c
Fix About dialog layout ( #1985 )
2018-08-09 08:32:47 -04:00
Sudheer
70f8fb580d
[MM-11258] Close keyboard on close of LHS ( #1989 )
2018-08-09 08:30:15 -04:00
Elias Nahum
80d206baf2
Do not close permalink view when post is deleted ( #1987 )
2018-08-09 08:29:57 -04:00
Elias Nahum
95ec582849
Fix session expired notification ( #1986 )
2018-08-09 08:29:38 -04:00
Elias Nahum
22455fe682
Handle YouTube video errors ( #1978 )
2018-08-08 14:24:47 -04:00
Elias Nahum
dabc24892f
Fix Android timestamp when timezone is not enabled ( #1982 )
...
* Fix Android timestamp when timezone is not enabled
* Remove unnecesary comments
2018-08-08 14:24:26 -04:00
Elias Nahum
c7807d910a
Clear Cookies before login in with SSO ( #1984 )
2018-08-08 12:53:44 -04:00
Harrison Healey
34a37cef05
MM-11477 Ensure client calls are wrapped with error handling ( #1976 )
2018-08-07 13:11:48 -04:00
Harrison Healey
979b80d34f
MM-11477 Fix error in breadcrumb generation and parse URL correctly ( #1977 )
2018-08-07 13:05:59 -04:00
Saturnino Abril
1c758e2287
[MM-10918] Filter system_remove_channel messages of a current user based on hiding/showing join/leave messages ( #1955 )
...
* filter system_remove_channel messages of a current user based on hiding/showing join/leave messages
* update mattermost-redux
* makes the remove_from_channel/team shows after leave_channel/team
* update per comments
* revert change on mattermost-redux commit to prevent conflict with existing PR
2018-08-07 12:18:09 -04:00
Harrison Healey
b01849be39
MM-11477 Attempt to capture uncaught redux errors as Sentry breadcrumbs ( #1974 )
2018-08-07 10:32:04 -04:00
Sudheer
8ab2373d7b
[MM-11051] Add a loading_palceholder when user info is loading ( #1972 )
...
* MM-11051] Add a loading_palceholder when user info is loading
* Update package json and lock
2018-08-07 10:30:52 -04:00
Saturnino Abril
c1317f0e94
add protection (emoty object) when accessing id after declaring an object. ( #1970 )
2018-08-07 08:11:50 -04:00
Saturnino Abril
2fe9d8842a
[MM-11492] Add protection in accessing ".team_id" field when it's immediately accessed after the object is created ( #1963 )
...
* add protection in accessing ".team_id" field when it's immediately accessed after the object is created.
* remove lastChannelId since lastChannel is being checked already
2018-08-03 10:52:43 -04:00
Elias Nahum
102faceb2b
Wrap set credentials for the keychain in a try/catch ( #1962 )
...
* Wrap set credentials for the keychain in a try/catch
* Only wrap the setGenericPassword method
2018-08-02 15:44:30 -04:00
Elias Nahum
5bed4d7400
translations PR 20180802 (Adds Romanian) ( #1964 )
...
* translations PR 20180802
* Add Romanian
2018-08-02 12:27:23 -04:00
Saturnino Abril
3a70e5c43f
add extra protection to those channel/object followed immediately by accessing its "channel_id" field ( #1960 )
2018-08-01 13:04:58 -04:00
Sudheer
1783bf9731
Fix render prop of replyBarStyle ( #1959 )
2018-08-01 13:04:36 -04:00
Saturnino Abril
1a822ee547
set default value whenever the getPreference returns null or undefined ( #1958 )
2018-08-01 13:04:22 -04:00
Sudheer
d329c6fb4c
[MM-11213] Fix post layout including line spacing for consecutive posts ( #1947 )
...
* Fix style issues with consecutive posts
* Remove commented on message for immediate comment by
same user.
* Change replyBar to be on post and not on postHeader
* Fix padding on messages
* Fix date_header spacing
* Fix snapshots
* Change renderReplyBar variable name
2018-07-31 16:21:57 -04:00
Martin Kraft
0d0dfb1057
MM-11070: Adds ability to view archived channels. ( #1927 )
...
* MM-11070: Adds ability to view archived channels.
* MM-11070: Switches to existing selector.
* MM-11070: Uses boolean prop instead of object.
* MM-11070: Reuses web translations.
* MM-11070: Adds archived message to thread view. Switches to selector for postIDs of archived channels.
* MM-11070: Removed unused import.
* MM-11070: Removes edit and delete options from longpress of archived posts.
* MM-11070: Moves closure variable.
* MM-11070: Switch from hard-coded to theme color.
* MM-11070: Hides actions in header of archived channels.
* MM-11070: Updates Redux.
* MM-11070: Re-adds the 'Leave Channel' option for archived channels.
2018-07-31 15:27:38 -04:00
Elias Nahum
2f3a6f98ac
Fix close setting sidebar when setting status ( #1954 )
2018-07-31 14:13:20 -04:00
Saturnino Abril
b2f7fcc346
[MM-11454] Update the value of QuickTextInput on componentDidUpdate ( #1941 )
...
* update the value of QuickTextInput on componentDidUpdate
* update condition in updating input from props
2018-07-31 11:50:20 -04:00
Chris Duarte
26950abb61
Add deep linking support ( #1805 )
2018-07-31 08:43:54 -04:00
Harrison Healey
0f84f4752d
Fixed warnings on login screen ( #1949 )
2018-07-28 14:25:27 +08:00
Sudheer
e45a3a0bb9
[MM-11258] Clear jumpTo focus on drawerClose ( #1944 )
...
* Clear jumpTo focus on drawerClose
* Fix conditional if for clearSearch
2018-07-27 12:47:13 +05:30
Harrison Healey
154def4af8
Only update Client4.setAcceptLanguage when locale changes ( #1942 )
2018-07-26 07:54:33 -04:00
Harrison Healey
0272cd5d47
MM-11421 Add max lengths when editing user profile fields ( #1940 )
2018-07-25 14:20:22 +05:30
Elias Nahum
c7e1a70236
Recycle the post list ( #1938 )
2018-07-20 16:58:38 -04:00
Saturnino Abril
59d077a71d
fix embedded long URL in message attachment ( #1937 )
2018-07-20 16:58:18 -04:00
Elias Nahum
b47c7db4dc
Fix cropped images ( #1936 )
...
* Fix cropped images
* Unit tests
2018-07-20 13:34:46 -04:00
Saturnino Abril
c714072b9b
[MM-11274 & MM-10797] Add profile pop-up to combined system messages and fix it's translation issue ( #1926 )
...
* add profile pop-up to combined system messages and fix it's translation issue
* Pushing userlink changes
* add spacing
* fix styling and spacing issue. also removed tests due to transpiling issue
* update per comment
2018-07-20 03:53:23 -04:00
Elias Nahum
f6a1927a27
Fix closing app with Android Back Button ( #1933 )
2018-07-18 12:20:18 -04:00
Sudheer
e27ed497b1
MM-10924 Add forgot password screen ( #1878 )
...
* MM-10924 Add forgot password screen
* Add a new screen for the user to reset password.
but can only verify the link through web UI
* Update mattermost-redux version to include isEmail helper
2018-07-18 14:16:02 +05:30
Harrison Healey
0d91ef64a1
MM-11207 Fixed wrapping of username in menu ( #1930 )
2018-07-18 07:22:02 +08:00
Harrison Healey
8ada284f6f
MM-11323 Added defensive code in LongPost makeMapStateToProps ( #1923 )
2018-07-13 16:23:23 -04:00
Harrison Healey
d410b1eed3
MM-11324 Added defensive code to hashCode function ( #1925 )
2018-07-13 22:25:10 +05:30
Elias Nahum
977575e4b8
Merge pull request #1924 from mattermost/release-1.10
...
Merge Release 1.10 into master
2018-07-13 09:35:07 -04:00
Elias Nahum
087096de88
Fix autocomplete
2018-07-12 20:28:25 -04:00
Elias Nahum
26389994d7
If slash command fails leave the command in the textbox
2018-07-12 19:21:53 -04:00
Elias Nahum
a8202b8311
Fix regression DMs will not open using jump to ( #1920 )
2018-07-12 11:18:26 -04:00
Martin Kraft
7675dd1af2
Render escaped HTML in FormattedMarkdownText; no throw error. ( #1911 )
2018-07-12 14:16:04 +05:30
Elias Nahum
3aad874ac6
Fix join channel from jump to drawer ( #1915 )
2018-07-11 19:31:15 -04:00
Elias Nahum
145520f676
Mark flagged posts for consecutive messages ( #1913 )
2018-07-11 19:30:51 -04:00
Saturnino Abril
199a49b221
fix email preference to not change value on cancel ( #1912 )
2018-07-11 17:06:36 -04:00
Saturnino Abril
3af831f7d9
change defaultValue to value in using TextInputWithLocalizedPlaceholder ( #1910 )
2018-07-11 12:28:20 -04:00
Elias Nahum
bc2e8bb0ea
Merge pull request #1909 from saturninoabril/MM-11217
...
[MM-11217] Fix RadioButtonGroup's on change values - on Android
2018-07-11 12:27:05 -04:00
Elias Nahum
f89c45f986
Fix replying from push notification ( #1894 )
2018-07-10 08:57:26 -04:00
Saturnino Abril
cd50ca72eb
fix RadioButtonGroup's on change values
2018-07-10 15:50:06 +08:00
Jesse Hallam
36dd3f19e2
MM-11198: avoid duplicate date line keys ( #1901 )
...
* MM-11198: avoid duplicate keys in date lines
Ensure each dateline rendered as part of search, recent mentions, or flagged post list has a unique key, even if the same date itself appears multiple times.
* update post_list.test.js to actually test date boundaries, relying on TZ=utc export in package.json
* unit test makePreparePostIdsForSearchPosts
* fix eslint issues
* try TZ=GMT
* encode date lines using timestamps instead
This requires a few extra changes to the post list proper, but largely
simplifies things anyway.
2018-07-09 18:35:43 -04:00
Elias Nahum
ca4d08fc7e
Use TextInput instead of QuickTextInput on Android ( #1904 )
2018-07-09 18:33:31 -04:00
Elias Nahum
01792f2b54
Handle bad state ( #1903 )
...
* Upgrade mattermost-redux
* Check if url start with http before pinging
* Remove required status prop in settings sidebar
* Prevent the app to get into a bad state and if that happens try and recover
2018-07-09 18:33:13 -04:00
Elias Nahum
360c8cd2e3
Prevent drawer from swiping to teams when jump to channel is focused ( #1902 )
2018-07-09 18:32:48 -04:00
Saturnino Abril
6458ed871b
fix profile upload by using RNFetchBlob ( #1900 )
2018-07-09 18:32:09 -04:00
Elias Nahum
91a4abbd24
Fix race condition when opening the app from push notification ( #1898 )
2018-07-09 16:15:50 -04:00
Elias Nahum
3a2e8e256a
Set the proper size to the drawer when device rotates ( #1899 )
2018-07-09 15:46:54 -04:00
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
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
Elias Nahum
43cf9b5294
Fix change team and channel in iOS share extension ( #1727 )
2018-06-06 13:00:53 -04:00
Saturnino Abril
37484f104b
[MM-10303] Fix scrolling issue on profiles when adding user/s to a channel ( #1725 )
...
* fix scrolling issue on profiles when adding user/s to a channel
* use existing emptyFunction at utils/general
2018-06-06 13:00:07 -04:00
Harrison Healey
0910bef8ae
MM-10372 Get channel if necessary when loading from push notification ( #1730 )
2018-06-05 15:37:44 -04:00
Elias Nahum
8673bc69c4
Fix iPhone X safe area insets to avoid jumps ( #1728 )
2018-06-05 11:47:59 -04:00
Saturnino Abril
4db67a9734
fix DM's channel displayname (instead of "Someone") after creating a DM ( #1721 )
2018-06-05 03:18:14 +08:00
Saturnino Abril
78acd89222
[MM-10727 and MM-10755] Fix missing username and styling issue of combined system messages ( #1719 )
...
* fix missing username by supporting backward compatibility on `addedUsername` props when adding user to the channel or team
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* updated mattermost-redux with related PR merged
2018-06-04 14:59:38 -04:00
Harrison Healey
861b46d605
MM-9547 Added CustomUrlSchemes option ( #1718 )
...
* MM-9547 Added CustomUrlSchemes option
* Switched mattermost-redux back to master
2018-06-04 10:25:34 -04:00
Elias Nahum
6179c031cd
Fix long post detection ( #1713 )
2018-06-04 08:54:59 -04:00
Elias Nahum
cf3683272e
Entry screen and Channel Loader improvements (perf part 4) ( #1707 )
...
* Entry screen and Channel Loader improvements
* Feedback review
* Removed unnecessary style array
2018-05-29 10:58:06 -04:00
Saturnino Abril
b500df868e
MM-10722 Fix display name of other user after joining a channel ( #1709 )
...
* fix bundling failed with "mime-db" error
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* fix display name of other user after joining a channel
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-29 10:28:58 -04:00
Saturnino Abril
bc57bf5163
remove desktop duration on notify props ( #1706 )
...
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-25 09:47:40 -04:00
Chris Duarte
5604836a9d
Save credentials immediately after login ( #1703 )
...
* Save credentials immediately after login
* Add mock app class to login.test.js
2018-05-25 09:21:18 -04:00
Saturnino Abril
38daeb95cf
[MM-10394] Make hidden town-square (on read-only) be available to view by joining in more channels ( #1666 )
...
* make hidden town-square (on read-only) be available to view by joining in more channels
* updated
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-25 04:38:39 +08:00
Saturnino Abril
1e4ee0716f
[MM-10594] Add feature to combine join/add/leave/remove to channel/team system messages ( #1682 )
...
* add feature to combine system messages
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* updated copyright to 2015
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
* updated per comments
Signed-off-by: Saturnino Abril <saturnino.abril@gmail.com>
2018-05-24 16:34:33 -04:00
Elias Nahum
e72bb48d98
Cold-start channel drawer improvements ( #1702 )
2018-05-24 11:04:24 -04:00
Elias Nahum
efa3f59d12
Remove test code from MattermostManaged ( #1701 )
2018-05-24 09:29:41 +08:00
Elias Nahum
c171ae4809
Enable Android Unbundle strategy (perf part 2) ( #1700 )
...
* Enable Android Unbundle strategy
* feedback review
* Update modulePaths
* Add npm start and use it in the Makefile
* feedback review #2
2018-05-23 13:23:38 -04:00
Elias Nahum
e07a738dcd
Remove orientation dependency ( #1698 )
...
* Remove orientation dependency
* Update NOTICES
2018-05-23 10:39:23 -04:00
Elias Nahum
b8f6160f73
Update Android JavaScriptCore in release mode ( #1697 )
2018-05-23 10:39:09 -04:00
Chris Duarte
4cebfdfd5d
Fix issue where auto closed DMs would not show again ( #1689 )
...
* Fix issue where auto closed DMs would not show again
* Fix lint error
* Review feedback
2018-05-22 12:26:09 -04:00
Elias Nahum
8e0d167f95
Fix push notification and emm race conditions ( #1691 )
...
* Fix push notification and emm race conditions
* feedback review
* Removed unnecesary code
2018-05-22 11:02:14 -04:00
Chris Duarte
e8712f9199
Cold startup js refactor ( #1598 )
...
* Switch to SingleDex and remove all locales
* WIP Mattermost Start Component for lazy loading modules
* Add files changed for native modules
* Add Entry component and app global object
* dispatch setStatusBarHeight for iOS
* Update screen imports
* Include Entry screen
* Refactor app to mattermost.android.js
* Override unnecessary java files
* Fix minor issues in changes
* Display empty state based on user credentials
Also, add proper background theme for empty loading screen
* Add native module constant cache support
* Fix startup theme regression
* Add Keychain support for credentials
* Fix Orientation regression
* Fix SharedExtension regression
* Emit NATIVE_APP_LAUNCHED across bridge only once during cold start
* Add iOS Support
* Revert to previous implementation of i18n
* Fix styling issues
* Include listener for SERVER_VERSION_CHANGED
* Add SafeAreaView in Entry screen
* Register deviceToken early, in order to get iOS PN Support
* Include StartTimeModule
* Add ReplyFromPush support and remove NATIVE_APP_LAUNCHED listener
* Package native constants in StartTimeModule and avoid bridge calls
* Fix check-style errors
* Code cleanup
* Rename StartTimeModule to InitializationModule
* Remove NavigationApplication
* Documentation and minor changes
* Account for app opening after SharedExtension
* Refactor getIntl to getTranslations
* Move native module constants into it's own forked repos
* Include FetchBlob and DeviceInfo forked repos
2018-05-18 17:13:00 -04:00
Saturnino Abril
8cf1f07ad8
fix JS error on announcement banner when no license is set ( #1679 )
2018-05-18 09:58:49 -04:00
Harrison Healey
5884bd4dc1
MM-10617 Fixed checking if a link is an image ( #1681 )
...
* MM-10617 Fixed checking if a link is an image
* Added unit tests
2018-05-18 01:10:17 +08:00
Saturnino Abril
7863ebc588
Include "id" to data for UserTypes actions - RECEIVED_PROFILE_IN_CHANNEL ( #1676 )
...
* Include "id" to data for UserTypes actions - RECEIVED_PROFILE_IN_CHANNEL
* update commit of mattermost-redux
2018-05-16 05:21:00 +08:00
Jesse Hallam
210b3512b1
MM-10460: avoid double post on restore ( #1667 )
...
* add test to messageRetention to verify outgoing action type
* ensure messageRetention passes the original action type through
* fix linting issues
2018-05-15 11:39:35 -04:00
Jesús Espino
f4d1294ae0
MM-10454: Adding roles to the cleanup middleware ( #1661 )
2018-05-14 09:12:29 -04:00
Elias Nahum
8bbc8ddb78
Fix commented on Someone message ( #1665 )
...
* Fix commented on Someone message
* Feedback review
2018-05-11 17:14:05 -04:00
Elias Nahum
23ca490525
Ability to upload other file types ( #1662 )
2018-05-11 18:05:49 -03:00
Elias Nahum
76e664cdae
Prevent duplicate flagged posts ( #1670 )
...
* Make sure date component keys are always different
* update mattermost-redux
2018-05-11 18:05:32 -03:00
Elias Nahum
0d92c61a41
Cache team icon and set background to always be white ( #1669 )
2018-05-11 18:05:16 -03:00
Harrison Healey
40dc8912b7
Fixed empty OpenGraph previews from trying to render an empty string ( #1660 )
2018-05-08 22:03:43 +08:00
Harrison Healey
4b11195120
MM-10360 Only show link previews if they have a url defined ( #1655 )
2018-05-07 16:40:55 +08:00
Harrison Healey
4d506b6e4d
Moved getCurrentUserLocale to mattermost-redux ( #1652 )
2018-05-04 11:21:34 -04:00
Sudheer
4517fcaa8c
Add Loading animation to skeleton screen ( #1609 )
...
* Add a view for message with linear gradient,move position
and change opacity using animation interpolation.
2018-05-03 10:06:08 -04:00
Harrison Healey
3b33b51f11
MM-10360 Render OpenGraph previews for pages with an empty description ( #1651 )
...
* MM-10360 Render OpenGraph previews for pages with an empty description
* Updated mattermost-redux
2018-05-03 10:02:09 -04:00
Harrison Healey
29d015bd32
Fixed Markdown links when SiteURL isn't configured ( #1650 )
2018-05-03 21:08:36 +08:00
Chris Duarte
ad21a8cfb2
Add selectDefaultTeam ( #1613 )
2018-04-30 11:58:31 -03:00
Elias Nahum
aebe22f58d
Fix Android sharing files without extension ( #1646 )
2018-04-30 11:57:24 -03:00
Saturnino Abril
8a152ac1e7
convert test runner from mocha to jest ( #1637 )
2018-04-30 10:55:01 -04:00
Elias Nahum
f704d79e72
Merge branch 'release-1.8'
2018-04-27 22:49:49 -03:00
Harrison Healey
4ebff99360
Fix profile images ( #1643 )
...
* Attempted to fix profile pictures on Android
* Fixed uploading profile pictures
* Added warning when ImageCacheManager.cache is called without callback
* Fix image cache so the files are not too long
2018-04-27 21:36:33 -03:00
Elias Nahum
80dd9366a1
Update Dependencies ( #1641 )
...
* Update dependencies including react-native
* Update react-native-circle-progress dependency
* Fix prop warnings and possible crashes
2018-04-27 17:49:09 -04:00
Elias Nahum
34205bd05e
Fix upload image to display ( #1638 )
2018-04-27 13:12:15 -03:00
Saturnino Abril
79a35d25ad
[MM-10341] Remove "Add Reaction" on posts of flagged, recent mentions and search results ( #1631 )
...
* remove "Add Reaction" on posts of flagged, recent mentions and search results
* set default props to true for showAddReaction
2018-04-26 22:01:26 -03:00
Elias Nahum
8807df1309
Fix white screen of death and code/text preview in iOS ( #1627 )
2018-04-26 12:23:17 -03:00
Elias Nahum
d58d06d7b2
Make image preview placeholder theme compatible ( #1619 )
2018-04-25 12:44:29 -04:00
Elias Nahum
252ea21f8c
Fix emoji autocomplete ( #1616 )
...
* Fix emoji autocomplete
* Feedback review
2018-04-25 13:40:03 -03:00
Elias Nahum
ac6e5fda79
Fix channel autocomplete in search to not include private channels in public section ( #1617 )
2018-04-25 13:25:47 -03:00
Elias Nahum
b016d203d8
Fix mention badges in channel drawer ( #1615 )
2018-04-24 18:13:13 -03:00
Saturnino Abril
67a19e6c2b
update profile photo on select and/or save ( #1614 )
2018-04-25 03:19:45 +08:00
Elias Nahum
223bd40703
Fix post with layout to not create new post components ( #1611 )
2018-04-24 15:01:24 -03:00
Elias Nahum
86840f761c
Render at-mentions by the teammate name display ( #1612 )
2018-04-24 11:59:05 -03:00
Elias Nahum
7db7a311f1
MM-10300 Fix crash when leaving channel ( #1606 )
2018-04-24 08:01:55 -03:00
Elias Nahum
825ac75261
Fix initial post list render
2018-04-20 06:36:44 -03:00
Chris Duarte
00a04dfd55
Fix SAML login button border ( #1597 )
2018-04-17 15:23:55 -04:00
Chris Duarte
d9f2bca9c0
Share ext error ( #1587 )
...
* Wrap iOS share extension in error boundary component
* Wrap Android share extension in error boundary component
* Review feedback
2018-04-17 15:23:37 -04:00
Elias Nahum
033a0c15bd
Fix Downloads and previews ( #1596 )
...
* Fix downloads and previews
* Update react-native-doc-viewer dependency
2018-04-17 12:10:51 -03:00
Harrison Healey
5a23129a50
Fixed null pointer in ProfilePicture ( #1595 )
2018-04-17 22:40:09 +08:00
Saturnino Abril
effc99462b
fix crash on search ( #1594 )
2018-04-17 09:23:28 -04:00
Elias Nahum
a5662cc747
Fix images transition ( #1590 )
2018-04-17 09:22:49 -04:00
Saturnino Abril
38b16b435f
[MM-10055] Filter out deactivated user when viewing channel members ( #1582 )
...
* filter out deactivated user when viewing channel members
* apply makeGetProfilesInChannel is filtering out the deactivated user/s
* update using makeMapStateToProps
2018-04-13 13:30:49 -04:00
Saturnino Abril
2092d778f0
[MM-9216] Add date separator per search result item ( #1583 )
...
* add date separator per search result item
* rebase to latest and make each post of recent, flagged and search results have date separator
2018-04-13 13:30:15 -04:00
Elias Nahum
006c5a08d7
Use local Images when possible ( #1580 )
...
* Fix advance settings android layout
* include react-native-image-gallery dependency
* ImageCacheManager
* Add support for isGif, isDocument, isVideo and purge to file utils
* Remove file fetch cache
* include progressive image component
* Refactor image previewer
* Add image preview support for open graph and embed images
* Cache user profile picture
* Fix post additional content images for android
* Preview markdown inline images
* Improve progressive image
* feedback review
2018-04-13 12:23:15 -03:00
Harrison Healey
c0fa74203c
MM-9045 Sorted More Direct Messages by username ( #1579 )
2018-04-13 12:22:47 -03:00
Chris Duarte
676a180067
Fix press username to mention ( #1547 )
...
* Fix press username press to mention
* Add cursorPosition to post_textbx state
* Remove unneeded draftSelectionChanged actions and events
2018-04-13 11:15:19 -04:00
Elias Nahum
484a5a11f9
Flagged Posts and Recent Mentions ( #1584 )
...
* Fix reply count in post header
* Make channel loader to trigger manually
* post list selector for search
* Include date separators in search results
* Flagged posts
* Recent Mentions
* Retry option for flagged posts and recent mentions
* feedback review
* Update mattermost-redux
2018-04-13 10:26:37 -04:00
Chris Duarte
d6ee97c0c7
Show FlatList when searching in More DM Screen ( #1546 )
...
* Set searchbars to autoCapitalize='none'
* Show flatlist when searching profiles for more dms
* Fix lint errors
2018-04-13 09:03:02 -03:00
Stan Chan
780d05ccbf
ExperimentalHideReadOnlyTownSquare config and readonly PostTexbox placeholder ( #1476 )
...
* Remove ability to edit town-square and hide post textbox
* Add placeholder to read only TS post textbox.
* Only run townHallFilter if ExperimentalHideReadOnlyTownSquare is true
* Fix eslint errors
* Refactor to use new read only channel selectors
* Change canEditChannel to check if channel is read only
* Fix rebase issues
* Fix lint errors.
2018-04-13 08:21:25 -03:00
Elias Nahum
244ad60525
MM-10016 Globe icon not centered to the channel title in LHS ( #1581 )
2018-04-12 11:51:19 -04:00
Elias Nahum
78d223b611
Fix posts in thread ( #1572 )
...
* Fix posts in thread
* include postsInThread in initial state
2018-04-05 23:13:07 +03:00
Jesús Espino
f91abf3ea9
Advanced permissions phase 1 ( #1571 )
...
* [XYZ-45] New permissions implementation
* Changing mattermost-redux branch in packages.json
* Changed yarn.lock file to point to advanced-permissions-phase-1
* MM-9620: Add reactions permissions (#1451 )
* Fixing some code styles warnings
* Fix mobile app to use latest Mattermost redux
* Some merge errors fixed
2018-04-04 18:01:39 +03:00
Elias Nahum
683ebc3faa
Select text in the code/text preview screens ( #1561 )
...
* Make code and plain text previews selectable
* Support more file formats in text preview
* Fix selection in android
2018-04-04 09:15:23 -04:00
Elias Nahum
e20b84c6d8
Upload progress indicator ( #1562 )
...
* Long post support
* Split file upload component
* Use fetch blob fork
* add progress to file upload
* Remove SERVER.PID from Makefile
* Preview only images
* remove unused prop
2018-04-04 09:14:26 -04:00
Elias Nahum
1d72f46031
Add Ability to DM myself from the User Profile screen ( #1560 )
2018-04-04 09:12:34 -04:00
Elias Nahum
f84d6f76e0
Channel mute style ( #1564 )
...
* Channel mute style
* Match opacity change in the webapp
2018-04-04 15:08:12 +03:00
Harrison Healey
1fd94c5ae0
Cherry pick fixes for Sentry issues ( #1567 )
...
* Fixed MATTERMOST-MOBILE-ANDROID-85 (#1565 )
* Fixed MATTERMOST-MOBILE-ANDROID-87 (#1566 )
2018-04-02 23:23:48 +03:00
Michał Odziemczyk
164a5e863c
Fix additional GPU overdraw on post list ( #1555 )
...
* Fix additional GPU overdraw on post container
* and remove unneeded background color in android's manifest
2018-04-02 12:38:38 -04:00
Elias Nahum
2f27121824
Fix mobile app to use latest Mattermost redux ( #1563 )
...
* Fix mobile app to use latest Mattermost redux
* Feedback review
2018-04-02 10:45:16 -04:00
Elias Nahum
a4744e46dd
Fix max length prop to be a number ( #1558 )
2018-03-30 13:40:39 +03:00
Elias Nahum
6698dbf678
Upgrade to RN 0.54.3 and other dependencies ( #1539 )
...
* Upgrade to RN 0.54.2 and other dependencies
* feedback review
* upgrade mattermost-redux
* Update dependencies
2018-03-29 10:05:49 -04:00
Elias Nahum
b3806c04b3
MM-9376 Channel mute ( #1540 )
...
* MM-9376 Channel mute
* UI Feedback review
2018-03-29 10:02:23 -04:00
Elias Nahum
16ccfab7f6
Fix iOS Share Extension Crash and Bump build and version numbers (master) ( #1557 )
...
* Fix iOS Extension crash
* Bump app version to 1.7.1 and build to 92
2018-03-29 09:13:27 -04:00
Elias Nahum
cf1022b622
MM-9911 Android fix sorting for joinable teams ( #1552 )
2018-03-28 08:13:34 -04:00
Saturnino Abril
8531212060
[MM-9516] Add feature to add user to channel after at-mention ( #1521 )
...
* add feature to add user to channel after at-mention
* update per comment and update mattermost-redux
* move sendAddToChannelEphemeralPost to actions folder
* rebase and fix merge conflicts, do clean up a bit
2018-03-26 13:20:13 -04:00
Saturnino Abril
217c98cab6
fix JS warnings on PostHeader and EditChannelInfo ( #1541 )
2018-03-26 21:29:22 +08:00
Elias Nahum
579494feab
Long post feature ( #1525 )
...
* Long post support
* Fix upload preview
* Add MaxPostSize validation
* Fix show more button container
* localization
* feedback review
* UI feedback review
* Upgrade mattermost-redux
* Fix long post attachment list
2018-03-26 14:25:42 +03:00
Harrison Healey
8decb29d52
Change to use theme utils from mattermost-redux ( #1531 )
...
* Change to use theme utils from mattermost-redux
* Updated yarn.lock
2018-03-25 12:16:33 +03:00
Harrison Healey
30a702274a
Minor PostList improvements ( #1528 )
...
* Moved ChannelPostList footer out of PostList
* Fixed typo in constant
* Added debounce to loadMorePosts
* Fixed post list footer not being rerendered properly
2018-03-23 17:30:24 +03:00
Elias Nahum
8640222b4d
Merge branch 'release-1.7'
2018-03-23 11:30:01 +03:00
Elias Nahum
f56bdb3090
MM-9926 Fix iOS crash caused by permissions ( #1535 )
2018-03-23 01:08:59 +08:00
Elias Nahum
3bd7275cfa
Rename slack attachment to message attachment and fix border color on Android ( #1533 )
2018-03-22 10:08:27 -04:00
Elias Nahum
fb9760b5a6
MM-9921 Load select team screen when user has no teams ( #1527 )
...
* MM-9921 Load select team screen when user has no teams
* Revert to PureComponent
2018-03-22 10:08:03 -04:00
Elias Nahum
1114c3f8dd
MM-9920 Fix Invalid or missing team_id parameter in request URL ( #1530 )
...
* MM-9920 Fix Invalid or missing team_id parameter in request URL
* Feedback review
2018-03-22 08:59:54 +08:00
Elias Nahum
f85880d065
MM-9415 Fix convertion of heic to jpg ( #1529 )
2018-03-22 00:06:23 +02:00
Martin Kraft
ebbbd9689b
MM-9545: Disables threads with deleted root post, display system message. ( #1526 )
...
* MM-9545: Adds system message for deleted root posts in threads; disables input.
* MM-9545: Removes key.
2018-03-21 09:17:54 -04:00
Harrison Healey
082b7022af
MM-9709 Fixed max width of markdown list items ( #1520 )
...
* MM-9709 Fixed max width of markdown list items
* Removed unnecessary flex from MarkdownListItem container
2018-03-20 17:25:01 -04:00
Elias Nahum
1f7ec07786
Show attachments in horizontal ScrollView ( #1513 )
...
* Show attachments in horizontal ScrollView
* feedback review
2018-03-17 12:31:41 +02:00
Elias Nahum
6874f39330
MM-9857 Disconnect WS for Android when sent to the background ( #1511 )
2018-03-16 17:45:06 +02:00
Elias Nahum
7ef6fe0f4a
Handle permalink Android back button and use the same permalink window to avoid nesting ( #1508 )
2018-03-16 17:45:06 +02:00
Elias Nahum
040dc00c94
Fix team_icon to reference the pure component ( #1507 )
...
* Fix team_icon to reference the pure component
* Fix team icon in Android extension
* Fix team icon in select team screen
* Fix team switch divider in channel drawer
2018-03-16 17:45:06 +02:00
Elias Nahum
df1df76eae
MM-9857 Disconnect WS for Android when sent to the background ( #1511 )
2018-03-16 16:20:27 +02:00
Elias Nahum
cc64cc5dc6
Handle permalink Android back button and use the same permalink window to avoid nesting ( #1508 )
2018-03-16 10:15:06 -04:00
Elias Nahum
bdb247a90e
Fix team_icon to reference the pure component ( #1507 )
...
* Fix team_icon to reference the pure component
* Fix team icon in Android extension
* Fix team icon in select team screen
* Fix team switch divider in channel drawer
2018-03-16 10:14:02 -04:00