Jesús Espino
8887319324
Revert Guest Accounts feature ( #3024 )
...
* Revert "Automated cherry pick of #3019 (#3020 )"
This reverts commit a0b021d21d .
* Revert "Adding guest accounts feature (#2990 ) (#3015 )"
This reverts commit 60030defb8 .
2019-07-23 20:55:15 +02:00
Jesús Espino
60030defb8
Adding guest accounts feature ( #2990 ) ( #3015 )
...
* MM-15059: Restict the permissions for guests (#2791 )
* MM-15057: Adding guest badge to identify guest users (#2774 )
* MM-15057: Adding guest badge to identify guest users
* Adding Guest tags in the channel title
* Adding i18n translations
* Adding DM and GM guest warnings
* Fixing check-style
* Adding and fixing tests
* Adding i18n text
* Only showing the subtitle when there is enough space
* Addressing new design changes
* Fixing eslint
* Addressing PR comments
* Moving getChannelStats to the handleSelectChannel action
* Adding the guest info in android landscape channel headers
* simplified the guest warning text generation
* Fixing i18n
* Fixing leaving channel behavior for guests (#2989 )
* Fixing leaving channel behavior for guests
* Fixing tests and adding a new one
* fixing typo
* Addressing PR comments
* Addressing PR comments
* Fixing tests
2019-07-22 23:46:15 +02:00
Elias Nahum
cdd7000361
MM-16398 Fix Team/Channel sidebar dots overlap last item ( #2975 )
...
* MM-16398 Fix Team/Channel sidebar dots overlap last item
* Feedback review and Tablet support
* Only center dots by width on iPhone X series devices
2019-07-17 11:30:12 -04:00
Miguel Alatzar
5eee2b7652
[MM-16139] [MM-16140] [MM-16141] Update the remaining screens/components ( #2920 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
* Update SettingsSidebar and children
* Update EditProfile screen
* Update SettingsSidebar
* Keep track of latest componentId to appear
* Track componentId in state to use in navigation actions
* Update FlaggedPosts and children
* Update RecentMentions
* Update Settings
* Store componentIds in ephemeral store
* Update AttachmentButton
* Remove unnecessary dismissModal
* Fix typo
* Upate NotificationSettings
* Update NotificationSettingsAutoResponder
* Update NotificationSettingsMentions
* Update NotificationSettingsMobile
* Update CreateChannel and children
* Update MoreChannels
* Update ChannelPeek and children
* Update ChannelNavBar and children
* Update ChannelPostList and children
* Update ChannelInfo and children
* Update ChannelAddMembers
* Update ChannelMembers
* Update EditChannel
* Fix setting of top bar buttons
* Update Channel screen and children
* Update PinnedPosts
* Update LongPost
* Update PostOptions
* Update PostTextboxBase
* Update EditPost
* Check-styles fix
* Update DisplaySettings
* Update Timezone
* Update SelectTimezone
* Update IntlWrapper and Notification
* Update InteractiveDialog and children
* Update ExpandedAnnouncementBanner
* Update ClientUpgradeListener
* Update MoreDirectMessages
* Update SelectorScreen
* Update UserProfile
* Update Thread
* Update About
* Update ImagePreview
* Update TextPreview
* Update AddReaction
* Update ReactionList and children
* Update Code
* Update TermsOfService
* Update Permalink
* Update Permalink
* Update ErrorTeamsList
* Update Search
* Remove navigator prop
* Fix setButtons calls
* Remove navigationComponentId
* Fix test
* Handle in-app notifs in global event handler
* Fix in-app notification handling
* Fix typo
* Fix tests
* Auto dismiss in-app notif after 5 seconds
* Fix typo
* Update overlay dismissal
* Animate in-app notif dismissal and allow gesture dismissal
2019-07-08 10:03:31 -07:00
Miguel Alatzar
51aac1e6e7
Merge branch 'master' into rnn-v2
2019-07-02 18:15:19 -07:00
Miguel Alatzar
913f05e131
[MM-16011] Update screens related to main sidebar ( #2907 )
...
* Update screens
* Update login tests
* Remove done
* Fix failing tests
* Update screens and components
* Check styles fix
* Update tests
* Prevent setState call after component unmounts
* Add empty setButtons func to dummy navigator
* Remove platform check
* Remove Platform import
* Update react-native-navigation version
* Add separate showModalOverCurrentContext function
* check-style fixes
* Remove overriding of AppDelegate's window
* Fix modal over current context animation
* Add showSearchModal navigation action
* Check-style fix
* Address review comments
2019-06-24 10:58:15 -07:00
Chris Duarte
4d9780da56
Ios accessibility fixes ( #2842 )
...
* UCHAT-4371 // MM-15771 - iOS - Larger Fonts Cut Off Text in menu and settings screens
revert padding right
* Update snapshot
2019-06-21 16:10:16 -04:00
Eli Yukelzon
056d5a91b7
MM-15486 - Archived channels appear incorrectly on mobile ( #2882 )
...
* properly separate archived channels from 'other'
* make sure fetch is performed to display full list
* reverted unneeded change
* corrected display behaviour
* code cleanup
* redux commit reference updated
2019-06-17 10:22:36 -04:00
Elias Nahum
29240b9c6f
MM-16061 Keep unread channels in place on Tablets ( #2865 )
2019-06-06 15:15:40 -04:00
Elias Nahum
bb8f524983
MM-16070 Fix channel sidebar state while filtering ( #2864 )
2019-06-05 19:33:23 -04:00
Elias Nahum
f7f56e958b
MM-9494 & MM-13888 Tapping execute actions & interactive keyboard dismissal ( #2799 )
...
* MM-9494 & MM-13888 Tapping with the keyboard opened executes the action & iOS iteractive keyboard
* Fix tests
* feedback review
* add new line at the end of file
* feedback review and added todo list
* Track interactive dismiss keyboard and set scrollview bounds natively
* Fix snapshots
* Fastlane default to current branch when no BRANCH_TO_BUILD is set
* Set NODE_OPTIONS in ios build script
* Rebind scrollview when channel gets first set of posts
* Keep scrolling momentum on keyboard close
* Update react-native-keyboard-tracking-view
* Fix ScrollView offset with keyboard-tracking
* Fix offset while dragging the keyboard
* Allow action on channel drawer on tablets
* Fix typo
Co-Authored-By: Saturnino Abril <saturnino.abril@gmail.com>
* Fix indentation
2019-05-20 12:02:00 -04:00
Elias Nahum
2b4574885b
Keep the channel drawer opened on tablets ( #2793 )
...
* Keep the channel drawer opened on tablets
* update en.json after running mmjstool
* Set the channel drawer to width 220
* feedback review
* PM Review
* Fix snapshots
2019-05-16 20:40:32 -04:00
scott lee davis
6cf8d1a9e8
MM-15442 Filtered list not showing bot account icon ( #2787 )
...
* handle channel.isBot undefined state gracefully
* Use Boolean for is isBot check
Co-Authored-By: Christopher Speller <crspeller@gmail.com>
2019-05-13 08:45:51 -07:00
Miguel Alatzar
45e5bae8da
Avoid possible reading of length property on undefined ( #2783 )
2019-05-10 09:34:23 -07:00
Miguel Alatzar
10196d5fad
MM-14541 Fix search bar animation stutter in main search bar ( #2672 )
...
* Do not expand drawer on search start
* Add state.searching for determining showTeams
* Add leftComponent prop to SearchBar to render SwitchTeamsButton
* Update snapshot tests
* Use native driver when possible and fix start calls
2019-04-22 19:01:17 -07:00
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
Elias Nahum
614e8e32ca
MM-13974 Missing translations ( #2549 )
...
* Missing translations
* update snapshots
2019-02-05 19:15:31 -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
5e1db3497f
LHS use getSortedFavoriteChannelIds instead of getFavoriteChannelIds ( #2471 )
2018-12-28 08:32:56 -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
11497ab270
Hide Favorite channel section when there are not favorite channels ( #2439 )
2018-12-10 09:18:13 -03:00
Saturnino Abril
c2c517f3da
make circular badge on jewel for single-digit mention ( #2422 )
2018-12-06 12:11:42 -05:00
Elias Nahum
68a3825d95
Update dependencies ( #2316 )
2018-11-18 17:54:06 -03: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
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
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
Elias Nahum
29d975ceef
Draft channel indicator to ignore message with whitespaces only ( #2209 )
2018-10-03 08:44:32 -04:00
Sudheer
46143df823
MM-12347 Fix crash of app when accessing jumpTo ( #2205 )
2018-10-02 22:51:59 +05:30
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
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
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
Elias Nahum
07f88071c6
Update dependencies ( #2040 )
...
* Update dependencies
* Update snapshots
2018-09-17 10:22:38 -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
Saturnino Abril
059db1a788
fix warnings in running jest test ( #2087 )
2018-09-07 23:05:35 +08:00
Elias Nahum
cfbdb23035
Fix Jump to Channel DMs not showing ( #2021 )
2018-08-22 21:06:18 -03:00
Sudheer
b76319e9c6
[MM-11170] Remove loader and someone from LHS ( #1973 )
2018-08-11 12:07:27 -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
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
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
Elias Nahum
5d579cdfcf
Bold unread channels in jump to channel ( #1879 )
2018-07-04 10:40:56 -04:00
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