* 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
* MM-11725: Using the new server endpoint to autocomplete channels
* Fixing suggestions from the PR
* Updating mattermost-redux dependency
* Removing unnecesary Client4.getServerVersion usage
* 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
* 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
* 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
* Fix getting the youtube video id regardless where the id is defined in the link
* feedback review
* Simplify and add unit tests for getYouTubeVideoId
* 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
* Avoid clobbering config.secret.json if already exists
* Clear npm cache when running make clean
* Fail make if npm is not installed
* Wrap rn run commands so local rn cli is used instead of global
* Separate run commands for ios & android
* Fail make run-ios if xcode isn't installed
* Check android env in make run
* Fix make check for config.secret.json
* Allow user to change switch between teams & channels
* Add react-native-button
* Style SelectTeam view
* Reuse SelectTeam styles in SelectServer & Login
* Reuse SelectTeam styles in ChannelsList view
* Display current team name in ChannelsList
* Disable android underline in textinputs
* WIP-working-routes
* Fix imports
* WIP
* Remove unused proptypes & imports from SelectTeam
* Appease eslint
* Disable non-applicable eslint rules in routes & styles
* Change endpoint for fetching teams
* Handle failure to fetch teams
* Fix proptypes in ErrorText
* Add action for selecting team
* Allow user to select a channel
* Save exact versions of npm packages
* Add lodash
* Fetch teams for user to select from
* Don't require onProceed prop on SelectServer
* Abstract out the api logic from actions
* Handle fetch implementation discrepancy when parsing headers
* Remove example components
* Appease eslint
* Fix disabling of fetch-mock
* Remove response headers parsing hack
* Set mock fetch flag in config.json