* 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
* 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
* 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
* 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
* 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.
* ICU-624 Added initial table rendering support
* ICU-624 Added full table view
* Added proper pluralization to +X more lines in code blocks
* ICU-624 Added support for images in tables
* Stopped using injectIntl for tables
* ICU-624 Updated commonmark-react-renderer
* ICU-624 Hid scroll indicator in collapsed table view
* Addressed feedback
* Add recently used section and section icons
* Improve section scrolling indication
* Modify Makefile and use onMomentumScrollEnd
* Make sure top section maintains highlight when scrolled to top
* Sort emojis by startsWith then includes when filtering
* Revert "Keep search results on data cleanup (#1147)"
This reverts commit 073ddc9d44.
* Revert "Fix Makefile to avoid Platform duplicates in VirtualizedList (#1156)"
This reverts commit 2e9fb7f824.
* Revert "RN-497 Updated commonmark to better handle non-latin characters in URLs (#1153)"
This reverts commit b1d2a0078b.
* Use ImageBackground for youtube videos instead of nested Images
* Fix bugs reported by sentry (#1081)
* Update Mattermost redux (#1086)
* Fix middleware
* Upgrade mattermost-redux
* another middleware fix
* RN-456 when a channel is left we update content and title (#1087)
* Version Bump to 62 (#1088)
* Version Bump to 62 (#1089)
* Upgrade to RN 0.48.1
* Update deps to be exact
* Fix tests
* Remove unneeded code from setup and add socketcluster dep
* Fix drawer pan issue
* Fix bridge issues on iOS
* Upgrade to RN 0.48.3
* Search to use RN SectionList
* Added JS code for Sentry
* Removed leftover initializeSentry call
* Added SentryOptions config setting
* Added native components for react-native-exception-handler
* Removed default props from ErrorText
* Moved where Sentry is initialized
* Added ios/sentry.properties to .gitignore
* Added linking react-native-sentry to Fastlane
* Fixed fastlane to include newlines in sentry.properties
* Moved to manually link react-native-sentry
* Captured redux errors with Sentry
* Redid how Sentry is optionally compiled to be simpler
* Added Sentry middleware to create redux breadcrumbs
* Added Sentry tags for server version
* Initialize Sentry when testing
* Fixed string replacement for SentryEnabled in fastlane
* Added react-native-sentry to NOTICE.txt
* Fix offline indicator UI
* Add search screen with recent mentions functionality
* Fix make start
* Add autocomplete to the search box
* Fix search bar in other screens
* Get search results and scroll the list
* Add reply arrow to search result posts
* Search result preview and jump to channel
* Feedback review
* Re-factor postlist with VirtualizedList
* Remove react-native-invertible-scroll-view dependency
* Fix navigator not being pass to post
* Feedback review
* Feedback second review
* when login get the sessions after setting the credentials
* Fix reset drawer on android
* RN-192 Fix Cancel button in IOS search bar
* feedback review
* * Fix post list to gracefully fail image previews
* Do not to fetch multiple times the same posts with infinite scroll
* Fix create private channel
* move react-native orientation to own fork
* PLT-5499 RN: Only allow portrait view
* Added library
* Lock to portait
* Fixed upload preview hiding under text input
* Fixed create channel input borders
* Fixed color separators in channel list
* Fixing orientation for android
* Fix bad merge for navigation modal
* Fix modal props for options and image preview
* PLT-5721 Show Group Messages and correct channel info
* Set fixed commit on mattermost-redux
* address feedback
* Added CommonMark-based post rendering
* Fixed text wrapping in most block elements
* Fixed paragraphs not being rendered as children of lists
* Replaced markdown images with a placeholder
* Fixed font colour in code spans
* Add icons for file types
* Compress image files for file type icons
* Add constants for file types
* Add utils for file metadata
* Add actions & reducers for fetching file attachments
* Render file attachments in posts
* Add reducers for handling files requests
* Refactor getFileType in file utils
* Refactor getFileIconPath in file utils
* Refactor getFormattedFileSize in file utils
* Trim trailing whitespace in getTruncatedFilename
* Style file attachment metadata
* Remove entity store reducer for files fetch failure
* Change filesForPost to fileIdsForPost in files store
* Use a selector for getFilesForPost
* Memoize getFilesForPost selector
* Dispatch postId with getFilesForPost
* Add test for getFilesForPost
* Upload seed file in getFilesForPost test
* Display correct icon for image attachments
* Fix reducers for receiving files for post
Expect response data to be array not object
* Style attachment post
* Merge headers (defaults + opts) in Client.doFetch
* Upload file as FormData
* Use form-data lib instead of built-in polyfill
* Associate file with post in getFilesForPost test
* Improve assertions in getFilesForPost test
* Check for createPost failure in getFilesForPost test
* Use correct post id in getFilesForPost test
* Use client not action to create post in getFilesForPost test
* Fix file upload in getFilesForPost test
* Add assertion for name of uploaded file
* Update attachment post style
* Fix spelling of loadFilesForPostIfNecessary
* Remove eslint-disable no-magic-numbers from file_utils.js
* Remove unused index prop from FileAttachment
* Clarify code for merging headers in Client.getOptions
* Dynamically truncate file attachment names
* Extract component for FileAttachmentIcon
* Use white bg for FileAttachmentIcon to match webapp styles
* Match webapp styles for file attachment borders
* Move file icon path lookup to FileAttachmentIcon
* Use more logical ordering for file type lookup
* Platform dependent search bar and ui fixes
* Set events in default props
* Update NOTICE.txt
* Channel info favorite (#210)
* Enable toggling of favorite channel from channel_info
* Change this binding
* Handle favorite toggle with state
* feedback review
* removed unnecessary view
* Channel list drawer
* Get channels by category
* Fix and connect websocket
* Fix Select first team using the team members
* create loadMe and fix login actions to loads the teams
* Add android back button handler for the channel drawer
* Channel drawer styling and functionality
* Mark channel as viewed and fixed reset unread counts
* Unread above/below indicators
* Improve performance replacing ScrollView with ListView
* Fix unread indicators
* Addressing review feedback
* Added selectChannel action
* Fixed selected team not being cleared on logout
* Fixed posts and postsByChannel not being initialized correctly
* Added basic post rendering
* Renamed selectors files to be plural
* Removed empty file
* Fixed unit tests after merge
* Removing unnecessary code
* Added NOTICE.txt
* Add creators to intro sentence
* Removed react-addons-pure-render-mixin from NOTICE.txt since it's part of react
* Copied fbjs keymirror into utils
* Renamed deepFreezeAndThrowOnMutation to deep_freeze
* Fixed merge conflict
* Removed react-native-router-flux and replaced it with custom navigation
* Split Logout component to have a container
* Replaced RootContainer with RootLayout
* Removed lodash from package.json
* Removed unnecessary state from Logout component
* Added placeholder for RHS search
* Renamed routes to scenes and moved some logic to there
* Added Root route to handle any initialization on app load
* Added unit tests for navigation reducer
* Fixed eslint errors
* Removed commented out code from Router
* Renamed Channel route to ChannelView to avoid confusion
* Used a separate index.js for component containers
* Simplified mapStateToProps for RootLayoutContainer
* Removed file accidentally added in merge conflict
* Moved SelectServer view state into store
* Moved view state for Login to stores
* Renamed RequestStatus values
* Merged duplicated view state for login
* initial redux store
* Fix eslint
* user store and force logout when necessary
* channel store
* address feedback
* Revert naming the property of data
* Removed mocking from client tests
* Updated Client tests to remove Client.setTeamId
* Fixed actions/general.test.js
* Updated test/reducer/channel.test.js for the updated store structure
* Commented out general reducer tests until the store structure is more finalized
* Properly used the team ID when creating a channel
* WIP: Add vector Icons with Android support
* Added IOs support for icons. Linked XCode dependencies.
* Add icon to team selection list as a usage example/test