Elias Nahum
6ea6366e1c
MM-35384 Add country variant localization support ( #5397 )
2021-05-20 11:58:53 -04:00
Elias Nahum
13eab98143
Refactor rest client class to use mixin and a bit of cleanup ( #5318 )
2021-04-15 10:04:36 -04:00
Amit Uttam
e23c9084b2
MM-25350 Hide 'Select Team' title on modal when error occurs ( #4412 )
2020-06-17 20:55:18 -04:00
Elias Nahum
012eb08fde
Fix infinite skeleton in different use cases and do not scroll to messages already seen ( #4304 )
...
* Fix infinite skeleton in different use cases
* Apply suggestions from code review
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
* Update app/utils/teams.js
Co-authored-by: Miguel Alatzar <migbot@users.noreply.github.com>
2020-05-19 18:54:34 -04:00
Miguel Alatzar
ee4b85edcf
[MM-23520] Port mattermost-redux ( #4088 )
...
* Remove mattermost-redux
* Move mm-redux files into app/redux
* Add @redux path to tsconfig.json
* Fix imports
* Install missing dependencies
* Fix tsc errors
* Fix i18n_utils test
* Fix more imports
* Remove redux websocket
* Fix tests
* Rename @redux
* Apply changes from mattermost-redux PR 1103
* Remove mattermost-redux mention in template
* Add missing imports
* Rename app/redux/ to app/mm-redux/
* Remove test file
* Fix fetching Sidebar GM profiles
Co-authored-by: Elias Nahum <nahumhbl@gmail.com>
2020-03-31 11:09:26 -07:00
Elias Nahum
c685690d1e
MM-23179 Avoid unnecessary Overdraws ( #4025 )
...
* Set navigation based on theme only once
* Remove unnecessary overdraws
* Feedback review
2020-03-13 11:22:43 -07:00
Elias Nahum
ff13f3e612
MM-21961 Fix Incorrect Timestamp on Android Mobile App ( #3861 )
2020-01-27 12:57:22 -07:00
Miguel Alatzar
1efb01deda
[MM-16593] Upgrade to RN 0.61.2 ( #3455 )
...
* [MM-16593] [MM-17175] [MM-17164] [MM-17189] [MM-17181] Android - Upgrade to RN 0.60 (#3145 )
* Upgrade to react-native 0.60
* Use @sentry/react-native
* Manually link @sentry/react-native
* Address review comments
* Jetify after install
* Call jetify from node_modules
* [MM-17785] iOS - Upgrade to RN 0.60 (#3153 )
* Upgrade to react-native 0.60
* Use @sentry/react-native
* Manually link @sentry/react-native
* Address review comments
* Jetify after install
* Call jetify from node_modules
* Get app building for iOS
* Revert react-native-image-picker upgrade
* Minor version upgrade of react-native-image-picker
* [MM-17142] Convert all string refs to callbacks (#3217 )
* Replace string refs
* Fix tests
* Don't use inline functions
* Fix mattermost-redux reversion from master merge
* [MM-18336] Upload Sentry debug symbols only when SENTRY_ENABLED is true (#3227 )
* Upgrade @sentry/react-native
* Run Sentry gradle tasks only when enabled
* Upgrade @sentry/react-native and remove extra Sentry build phase
* [MM-17144] Use Hermes (#3226 )
* Replace string refs
* Fix tests
* Don't use inline functions
* Fix mattermost-redux reversion from master merge
* Use Hermes
* bundleCommand ram-bundle no longer needed
* Require harmony-reflect only for Android
* Fix failing test
* Path react-native's splitLayoutProps (#3337 )
* [MM-18867] [MM-17186] [MM-18866] [MM-19447] [MM-18967] Upgrade to RN 0.61.2 (#3423 )
* Upgrade to RN 0.61.2
* Update rn-fetch-blob commit hash
* Update react-native-keyboard-tracking-view commit hash
* Use react-native-youtube with AVPlayer fix
* Fix jest mocks
* Use updated document picker API
* Remove unnecessary linking
* Revert "MM-17759 Add code highlighting (#3072 )"
This reverts commit 26b999e885 .
* Fix share extension
* Revert "Revert "MM-17759 Add code highlighting (#3072 )""
This reverts commit 52aca776b12dee3abe8646d0c90480f8528e86c1.
* Address PR reviews
* Rename patch to match version
* Update react-native-youtube patch
* Update dependencies
* Fix RNDocViewer reference
* Update tests and revert to redux-persist 4.10.2
* Revert "Revert "Revert "MM-17759 Add code highlighting (#3072 )"""
This reverts commit 5ef383be2619b1be6167c23f128ecb4b4ad25df9.
* Android fixes after dep upgrades
* Use fresco 2.0.0
* Use mattermost forks
* Use React-Core in Mattermost.scheme instead of react
* Remove packager (#3452 )
* Remove Pods from source control
* Fix unit tests
* Add new line before entering the keystore in gradle.properties
* set ios as working directory for cocoapods
* Cache cocoapods on circleCI builds
* set ios as working dir
* fix cocoapods cache key
* Unify fastlane and npm dependencies command
* Use package-lock.json checksum for npm cache
* Fix package.json and use the checksum as the cache key
* Fix package.json and use the checksum as the cache key
* changes to circleci.yaml fastlane and removing pods from git
* Fix Mattermost.xcodeproj
* Update coocoapods to 1.7.5 and fix xcode header search paths
* Update package-lock.json
* Remove unused tooltip component
* Fix incorrect ref
* Disable Hermes (#3460 )
* Revert "Remove packager (#3452 )"
This reverts commit b2a79e184b3242124dfdb91ae095f6ce3f4eb986.
* Disable Hermes :'(
* Update preloaded modules
* Fix packages moduleNames and modulePaths, update snapshots and update mm-redux (ts version)
* remove document picker from modulePaths
* Fix package-lock.json
* Add eslint disable rules
2019-10-28 15:04:24 -07:00
Harrison Healey
3e0189430b
MM-18762 Remove some usage of deprecated lifecycle methods ( #3299 )
...
* MM-18762 Remove some usage of deprecated lifecycle methods
* Only load ProgressiveImage when a URI changes
2019-09-27 09:16:21 -04:00
Miguel Alatzar
459801d10b
[MM-17560] Await dismissAllModals and popToRoot prior to calling showSearchModal ( #3298 )
...
* Patch react-native-navigation
* Make navigation actions regular functions
* Fix unhandled promise rejection warning
* Missing semicolons
* Mock navigation actions
* Add unit tests for navigation actions
* Place all patches in patches directory
* Fix channel_info snapshot test
2019-09-25 15:23:45 -07: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
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
Sudheer
c6ea5e6024
MM-11603 Add a retry screen when fetching teams fails ( #2085 )
2018-09-06 20:35:50 -03: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
Harrison Healey
154def4af8
Only update Client4.setAcceptLanguage when locale changes ( #1942 )
2018-07-26 07:54:33 -04:00
Jesse Hallam
8372e95d4a
add eslint-plugin-header, and --fix all ( #1726 )
2018-06-19 19:14:50 -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
Jesse Hallam
58b72302d6
update eslint's comma-dangle rule to always-multiline ( #1457 )
...
* update eslint's `comma-dangle` rule to `always-multiline`
* add check and fix scripts to package.json
* Invoke `yarn fix` to adopt the updated eslint rules. No other changes are included.
2018-02-23 09:06:02 -05:00
enahum
cd80cdfdf4
Fix race condition preventing the app opened from a PN to go to the correct channel ( #1398 )
...
* Fix race condition preventing the app opened from a PN to go to the correct channel
* Feedback review
2018-01-31 11:02:02 -05:00
enahum
b761872c59
Fix reset to channel view when push notification is tapped ( #1201 )
2017-11-23 18:48:50 -05:00
enahum
c69bf5a950
Remove unneded ownProps ( #1177 )
2017-11-21 12:35:03 -03:00
Harrison Healey
a9489dcc5f
Replace getTheme selector with one from mattermost-redux ( #1013 )
2017-10-12 08:45:17 -07:00
Harrison Healey
98abbd6dca
RN-345 Additional improvements to channel switching ( #926 )
...
* RN-345 Only show refreshing indicator when channel is actually refreshing
* Added getCurrentLocale selector
* Added SwitchTeams component to channel drawer to reduce rerenders
* Reduced number of props passed from ChannelsList into children
* Removed unused prop from FilteredList
* Moved visible post calculation out of render function
* Don't set the channel to loading when not switching channels
* Added most of channel view state to blacklist
2017-09-22 11:48:30 -07:00
enahum
19502f9aaa
RN-344 open push notifications faster ( #899 )
2017-09-13 12:00:33 -03:00
enahum
088ecad2b5
Split Post component into smaller components and prevent re-rendering ( #740 )
...
* Split Post component into smaller components and prevent re-rendering
* Feedback review
* Fix render reply bar
* Remove eslint-disable-line
2017-07-13 17:48:45 -04:00
enahum
8d72c0a020
Fix localization + setting the token for APIv3 ( #674 )
2017-06-26 15:49:28 -04:00
enahum
56b8f6e479
Handle the cases when a user with no teams ( #621 )
2017-06-14 10:04:41 -04:00
enahum
ecf39f61dd
Various fixes & improvements ( #611 )
...
* RN-166 follow user prefs for join/leave messages
* RN-158 Fix Android input textbox offscreen issue
* RN-181 Use device locale as default locale
* Upgrade mattermost-redux
* Fix TouchableHighlight in the channel drawer items
* Update channel title when switching channels
* Fix channel name title when switching teams
* Fix unit test
2017-06-08 15:40:29 -04:00
enahum
c285a6f553
Fix push notifications ( #596 )
2017-06-05 16:15:00 -04:00
enahum
516d184916
Improve in-app notifications design ( #561 )
2017-05-22 21:38:45 -04:00
enahum
844c654fda
Update RN to 0.44.0 and project dependencies ( #546 )
2017-05-16 21:13:44 -04:00
enahum
248dafbe0e
RN-97 Changed navigation from NavigationExperimental to ReactNative Navigation ( #540 )
...
* Add react-navigator dependency
* Add react-native-navigation dependency
* react-native-navigation, ios and android config
* update react-native-navigation
* New navigation and code cleanup
* Set ScreenBackgroundColor
* Fix channel drawer event issue
* Applied RNPN non-working popInitial notification
* Android navbar and back button
* packages and notices
* MM-redux update
* Fix draft on team switch
* Remove custom NavBar
2017-05-16 11:19:46 -04:00
enahum
7a3c99c267
Move to mattermost-redux master branch ( #484 )
2017-04-21 14:20:52 -03:00
enahum
cdff304be1
RN-64 Ability to open the app in offline mode ( #479 )
2017-04-13 11:57:19 -03:00
Harrison Healey
43e4c5e2f2
PLT-5860 Updated copyright date ( #476 )
2017-04-10 11:33:35 -03:00
Chris Duarte
d206ea68de
PLT-6173: Offline redux store ( #471 )
...
* PLT-6173: Offline redux store
* Review feedback
2017-04-09 21:51:47 -03:00
enahum
422474a0d2
* Fix markdown issue with renderHardBreak's ( #438 )
...
* Fix issue when tapping on a push notification
* Fix splash screen dismissal
2017-03-30 23:44:52 -03:00
enahum
5d997ae22b
PLT-5931 Adds splash screen ( #413 )
...
* Adds splash screen
* Increase font size for IOS modal options
2017-03-28 23:29:08 -03:00
enahum
4a53d47887
PLT-5598 Android back button support ( #388 )
...
* Add shadow to the drawer
* PLT-5964 open a DM with someone outside the team
* PLT-5598 Android back button support
2017-03-23 19:10:48 -03:00
enahum
9fec29aa92
PLT-5501 Confirm server version is compatible with the app version ( #385 )
2017-03-23 17:25:33 -03:00
enahum
c049cb0f9d
Various UI Fixes ( #384 )
...
* Various UI Fixes
* ability to scroll through teams
* Fix drawer when not logged in
* fix channel info DM status
* channel drawer spacing of icons made equal
* address feedback
2017-03-23 10:36:35 -03:00
enahum
548633f5c0
PLT-5857 replace the service folder with mattermost-redux library ( #348 )
2017-03-14 10:52:24 -03:00
enahum
31d89c37fe
PLT-5506 Record user agent/device type in the active sessions list ( #342 )
...
* Add user info and userAgent
* notice
2017-03-13 13:39:35 -03:00
enahum
6324f22095
PLT-5630 Implement push notifications and unread badge on app icon ( #338 )
...
* enable ios push notifications
* enable android push notifications
* NOTICE for push notification and message bar
* include message in noty
* re-wording notices
* feedback review
2017-03-13 09:51:21 -04:00
enahum
2fe69cacef
Move periodic status check to channel scene ( #318 )
2017-03-03 20:32:51 -03:00
enahum
e6547c6970
PLT-5502 Update statuses ( #302 )
2017-02-27 14:10:39 -05:00
enahum
c1318fe834
PLT-5589 Reload configuration when the server config changes ( #301 )
2017-02-27 13:15:51 -05:00
Harrison Healey
1319f1fcf8
Added KeyboardLayout to automatically use a KeyboardAvoidingView as necessary ( #263 )
...
* Renamed layouts/root_layout to components/root
* Added KeyboardLayout to automatically use a KeyboardAvoidingView when necessary
2017-02-16 09:19:48 -05:00