* 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
* 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.
* 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
* 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
* 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.
* 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
* 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
* 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>
* 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>
* 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>
* 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
* 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
* 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.
* [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
* 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
* 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
* 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
* Moved ChannelPostList footer out of PostList
* Fixed typo in constant
* Added debounce to loadMorePosts
* Fixed post list footer not being rerendered properly
* 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
* 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
* Add text preview screen
* Add text/plain mime in supported docs format
* Add previewTextFile method to view text file in TextPreview Screen
* Fix delay for ui to update progress
* Add styling for text preview screen
* Align line numbers on right
* Start read file for preview before delay
* Wait for animation frame before initial rendering of post list
Improves startup experience.
(you can see yourself how big a difference is between booting to an empty channel and to a 'busy' channel, and since rendering post list is a heavy task, this change makes the initial UI appear sooner. In my testing it is about 0.7 seconds)
* eslint
* actually render empty screen when loading posts
* delay channel drawer actions after drawer is fully closed
* lazy render FlatList
* eslint
* eslint
* PLT-7567: Integration of team icons in
channel drawer teams, switch team button, team selection, os share extenions
* PLT-7567: adopt updated eslint changes
* PLT-7567: Component for team icon display, refactoring
* PLT-7567: removed redundant styles
* PLT-7567: redux connected component for team icon, error handling
* 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 async handling of custom emoji to posts and channel info
* Add server request to emoji autocomplete
* Add custom emoji paging and server search to emoji picker
* Fix android
* Update mattermost-redux and revert temp change
* Backwards compatibility fixes
* Updates per feedback
* Set server version when user is not logged in
* Reset section index when search is cleared or cancelled
* Some small fixes and upgrade mattermost-redux
* Minor sorting changes
* Internalized value to local state so that there is less ‘delay’ and less surface area for bugs to happen
* removed toLowercase on comparison and fixed parent components instead
* Update more_channels.js
* added arrow style functions to eslint
* added padding to text boxes to decrease chance of cutoff
* Removed fontSize prop from Emoji
* base sizes on stylesheet
* normalized font sizes across devices
* minor tweaks
* tweaks
* text to default
* text size relative too
* remove Margintop hack
* Final tweaks
* fixed func name
* fixed scale to always be based on portait mode
* re-added margintop hack
* set Text paddingBottom in markdown file
* Fix style names and setup
* fixed import
* reversed size of edit label
* fix eslint
* Add support for DM with deactivated channel (teammate)
* add archive_icon
* add extra protection to prevent error when teammate is evetually deactivated
* Improve scrolling to new messages
* Experimental scrollTo with measurement
* Add search support
* Review feedback
* Added comment for moreNewMessages index`
* objective-C share extension
* MattermostBucket module to share data between the main app and the extension
* middleware that shares the data between the main app and the extension
* Fix setState when safe area in unmounted
* Share extension for iOS
* Fastlane changes to include iOS share extension
* Fix unit test
* Feedback review
* define proptypes for icons
* Add set status feature
Small code refactoring
Add Do Not Disturb option
* Add Account Settings screen
Add username, nicname, and position fields
Add email field
get deviceHeight from redux
Clean up onPress handler in Settings
Refactor each account settings item to it's own component
Clean up email field and updateUser action method
Use mobile localization format in en.json
Update profile image
Clean up ProfilePicture for editing
Add loading and error components in AccountSettings
Refactor updateRequest state into a function
Follow design specs
Remove unnecessary this.state.emailUpdated
Polish AccountSettings and secondary components
Refactor AttachmentButton into it's own componentg
Add Account Settings icon in General Settings
Add TODO comments
* Update user status
* Edit Profile screen refactored
* Fix edit profile item text color
* Add right sidebar
* initial implementation of the right drawer
* Do not hide status bar on drawer open
* initial options in the RHD
* Fix android layout
* feedback review
* Enforce max file count and wait until all images finish loading
Replaced Text with FormattedText
Remove unnecessary Text import
Clean up post_textbox and file_upload_preview
* Fix localization string for mobile
* change MAX_IMAGE_COUNT to MAX_FILE_COUNT
* RN-519: Expands AtMentions and ChannelMentions searches to use entire device height.
* RN-519: Fix for ~ and @ search list heights.
* RN-519: Optimization.
* Add Channel Info Edit options to ChannelInfo screen
Refactor CreateChannel to CreateChannel and ChannelInfo
Add EditChannel screen
add updateChannelRequest
display header option only if channel is DM or GM
Add editing prop to ChannelInfo
Add saving state to ChannelInfo
Clean up EditChannel and change saving to updating
Add channel name (url) field in EditChannel
Clean up enableRightButton logic for EditChannel
Add error handling for EditChannel fields
Remove leftButton declaration from EditChannel
Add wrapWithPreventDoubleTap to click handlers in ChannelInfo
Move channel info to parent component (CreateChannel)
Add editing support for channel info in parent component
Remove ownProps from connected components
Remove passing parent props using the spread operator
* Strip out channel url field from EditChannel
* Comment out channelUrl textInput ref
Make eslint happy
* Remove injectIntl in favor of intl context props
* Add mobile prefix to json string
* Remove unnecessary actions declaration in ChannelInfo
* Refactor creating | editing to saving
* Safe check refs when blurring in ChannelInfo
* pass channelType for displayingHeaderOnly in EditChannelInfo
* Refactor ChannelInfo component to EditChannelInfo
* pass 1to1 props instead of object
* Add required to certain props in EditChannelInfo
* Use Stylesheet for container styles
* Add InvalidPermission method when updating channel
* Clean up onDisplayNameChangeText and safe check scrollToEnd
* Add {deviceWidth, deviceHeight} from redux
* Remove style.navTitle
* Add wrapper methods for delete and leave channel
* remove alertErrorIfInvalidPermissions
* Fix mobile localization strings to use prefix mobile.-
* Add TODO for channel URL
* RN-173 Added support for Markdown images
* RN-173 Added proper alt text when image fails to load
* Changed (edited) indicator not add itself as a child of an image
* RN-173 Removed space between an image and the following text
* Made sure MarkdownImage is mounted when setState is called
* Fixed images in links having their location overwritten
* Made images work in links
* Fixed uppercase links not working on Android
* Added vertical margin around images
* RN-173 Added styling for markdown image error text
* RN-173 Added error when image exceeds max dimensions on Android
* Track analytics for start time, channel and team switching
* Update analytics to include currentUserId and ip 0.0.0.0
* Include diagnostic id with every segment request
* feedback review
* 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
* Scroll to search result in preview
* Fix uni test
* Feedback review
* Remove listeners for mattermostManaged
* Remove specific event listeners for mattermostManaged
* 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)
* Config to enable when clicking on username to fill input with @mention
* Rename to experimental and move tenary from componet to variable
* Use getCurrentChannelId in insertToPostDraft action
* Change to work with rebase
* Refactor thread reducer and blacklist currentThreadId
* Review feedback
* Review feedback 2
* White label about modal. Move strings to config.
* Refactor styling and add powered by Mattermost
* Review feedback
* Use full bundle ids for about modal check
* Moved PostList to take a list of postIds instead of posts
* Removed usage of selectors that return posts from ChannelPostList and Thread
* Fixed search and switched to use getPostIdsAroundPost selector
* Removed use of selectors that returned posts from emoji reactions
* Updated makePreparePostIdsForPostList to be better memoized
* Fixed filter of join/leave messages
* Added unit tests for makePrepaprePostIdsForPostList
* Check if post edit/delete should be enabled more often
* Updated mattermost-redux version in yarn.lock
* Update mattermost-redux
* Tap on Deleted post to remove it
* Improvements when rendering post additional content
* Avoid unnecessary re-renders on the post list component
* Avoid unnecessary re-renders on the channel post list component
* Avoid unnecessary re-renders on the channel screen
* Feedback review
* Remove serverVersion check to allow GitLab login
* Avoid unncessary re-renders on the root screen
* Avoid unncessary re-renders on the options modal screen
* Avoid unncessary re-renders on the thread screen
* Avoid unncessary re-renders on the offline indicator component
* Avoid unncessary re-renders on the channel loader component
* review feedback
* Dispatch retry failed action | fix refreshing state | change postVisibility to 15
* Improve channel switching
* Improve handling of visible tooltip
* Improve watching for status bar height changes
* Remove unnecessary mapStateToProps from code screen
* Use drawer native functions to open/close instead of state
* Feedback review
* RN-268 Fixed teams list not always rerendering when team member changes
* Removed unused prop from ChannelDrawer
* RN-268 Passed fewer props into TeamsListItem
* RN-349 Mark current channel as read when opening the app
* RN-349 Mark channels as read when switching teams
* Moved markChannelAsRead into handleTeamChange action
* 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
* Landscape support
* Fix image rotation on Android
* Fix landscape mode for login and login options
* Fix previewer will receive props
* Move device dimensions and others to redux
* Fix unit tests
* Include orientation and tablet in the store
* Reduced re-renders of Channel screen
* Switched some components to be PureComponents
* Stopped waiting for drawer to close to switch channels
* Fixed post list being stuck loading
* Fixed incorrectly removed ref
* Removed loader from channel post list
* Removed unused prop
* Re-added ChannelDrawer.swiperIndex
* Changed ChannelPostTextbox to only require a single draft
* Re-enable InteractionManager on ChannelDrawer
* Fixed ChannelDrawer.joinChannel and removed duplicated code
* Moved getting device dimensions into render method
* Switched ChannelsList to be a PureComponent
* 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
* Removed Emoji padding prop
* Reduced emoji size on Android
* RN-189 Fixed aspect ratio for wide emojis
* Removed margins from headers which didn't actually work
* RN-189 Fixed aspect ratio for tall emojis
* Adjusted line height so emojis don't cause uneven spacing on iOS
* Further reduced emoji size on Android
* Slightly adjusted vertical alignment of emojis
* Added hack to get vertical alignment of emojis looking better
* RN-73 Fixed code block text colour being incorrect (#868)
* RN-220 Add "in:" and "from:" search modifiers (#869)
* Fix search and search preview
* Add "in:" and "from:" search modifiers
* Version Bump to 49 (#875)
* Version Bump to 49 (#876)
* Update minimum server version (#878)
* translations PR 20170905 (#882)
* 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
* Updated yarn.lock
* Fastlane ensure branch for cutting builds (#815)
* Version Bump to 45 (#818)
* Android Version Bump to 45 (#819)
* Updated yarn.lock (#817)
* Version Bump to 45
* Fix Create on Create channel to not push another Create Channel screen (#820)
* Version Bump to 46 (#821)
* Version Bump to 46 (#822)
* RN-205/RN-210 Allow tapping buttons on post and DM lists without closing keyboard (#823)
* Version Bump to 47 (#824)
* Version Bump to 47 (#825)
* Release 1.1 changelog (#827)
* Release 1.1 changelog
* Update CHANGELOG.md
* Update CHANGELOG.md
* Update CHANGELOG.md
Set supported server version
* update fastlane
* Update fastlane android release
* RN-152 Added ability to open group messages from MoreDirectMessages
* Refactored row components for CustomList
* Added CustomSectionList component to mirror CustomList
* Added control to display all selected users in More DMs list
* Updated title of More DMs modal
* Updated yarn.lock
* Fixed channel name not being set when creating GM channel
* Fixed error on Android
* 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
* RN-203 Fixed RestrictDirectMessages setting not applying to MoreDirectMessages
* Removed unused prop from MoreDirectMessages
* RN-203 Fixed RestrictDirectMessages setting not applying to FilteredList
* Removed unused propTypes from FilteredList
* Re-factor postlist with VirtualizedList
* Remove react-native-invertible-scroll-view dependency
* Fix navigator not being pass to post
* Feedback review
* Feedback second review
* RN-171 - Extending border bottom on sidebar title
* RN-164 - Teams title center and bold
* RN-103 - Updating position for sendButton
* RN-231 - Increasing left margin when only one team
* RN-219 Changed loadPostsIfNecessary to get since latest Post.CreateAt
* RN-219 Changed post list refresh to always get the latest page of posts
* Updated yarn.lock
* 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
* 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
* Fix edit post with APIv4
* Fix filterProfiles
* Fix intro message error for threads
* Fix members to load in channel action
* Fix channel members lists
* * 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
* 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
* 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
* WIP Global error handler
Adding components
Adding actions
* Add general errors where errors are caught
* Filter out non displayable errors
* Initial setup to email errors
* Add current user/team to error email
* Fix a few lints
* Ensure errors are cleared when reporting a problem
* Add clear all and internationalization
* Fix trailing comma issue
* fix lints
* Use Formatted Text component
* Move error list out of channel
* Add mobile prefix to i18n id for connection error
* Set shouldRender to true in RightMenuDrawerItem.defaultProps
* Update component name for RightMenuDrawerItem
* Clean up propTypes in RightMenuDrawerItem
* Clean up styles in RightMenuDrawerItem
* Use selector to filter displayable errors
* Clarify code for constructing wrapper style in ErrorList
* Avoid indenting email body for error report
* Remove extraneous params from errors actions
* Rename action type for logging errors
* Rename action for logging errors
* Set shouldRender to true in RightMenuDrawerItem.defaultProps
* Make logged errors displayable by default
* Don't log error when websocket connection is closed
* Hide button to dismiss all errors if ShowErrorsList isn't enabled
* Display only last error in alert bar when ShowErrorsList is disabled
* Add error logging where missing in actions
* Always show button to report problem
* Only include errors in report problem email if any have been logged
* Clarify subject of report problem email
* Set ShowErrorsList to false in default config.json
* Remove unused component + translation for connection errors
* Capture entire error object not just message
* Display fallback if error.message is blank
* Log errors in login actions
* Fix construction of errors email body
* Group addDatesToPostList options into object
* Clean up imports in PostList
* Dry up code for adding dates to posts in PostList
* Allow user to load more posts in channel post list
* Load more posts upon scrolling to end instead of with button
* Wait for initial posts to be loaded before loading more
* Return data in getPosts actions
* Check how many posts were fetched to determine if there are more
* Insert load-more-posts into list in PostList not post_utils.js
* Rename component for LoadMorePosts
* Use LoadMorePosts to indicate if more posts are loading
* Only try to load more posts if initial posts have been loaded
* Don’t show LoadMorePosts if posts list is empty
* Don’t try to load more posts if first post has been loaded
* Don’t show LoadMorePosts if first post has been loaded
* Set hasFirstPost in willReceiveProps of PostList
* Use constant for load-more-posts token string
* Only show LoadMorePosts if pagination is enabled on PostList
* Fix logic for determining if posts loaded in PostList
* Ensure PostList ListView rerenders
* Move load more posts logic into ChannelPostList
* Remove unused getTheme from ChannelPostList container
* Avoid clever variable assignment in LoadMorePosts
* PLT-5604 Add/Remove members from pubic channels doesn't match the webapp functionality
* Review feedback
* Fix spelling of ChannelMembersTitle
* Use selector to consolidate auth logic for channel member mgmt
* Fix placement of new messages separator
* Ignore your own posts when determining start of new messages
* Cache lastViewedAt in ChannelPostList until switching channels
* Increase padding around DateHeader & NewMessagesDivider
* Improve styling of new messages divider line
* Use async await for ChannelDrawerList.onSelectChannel
* Convert DateHeader to functional component
* Indicate start of new messages in posts list
* Use flag prop to indicate start of new messages in posts list
* Declare style props with View.propTypes.style
* 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
* Initial setup to delete channels
* Combine leave and delete
* Working delete when removing the current channel id delete
* Initial working delete with handling web sockets
* Move go back out of component
* Refactor alert function and handle after leave navigation
* Remove promise then
* Allow channel membership to default to empty object
* Ensure that channel is present to avoid method on undefined
* Remove view channel delete action
* Remove unused type
* Channel Add Members
Add ability to select rows
Change member list to accept datasource instead of manage it’s own
Add navbar button
Add alert for empty member selection
Add batched method to send to server
* Feedback changes
* Updated post rendering in center channel to include dates, display names, themeing, profile pictures, and threads
* Added status to ProfilePicture component
* Changed MemberListRow to use a ProfilePicture
* Removed unused prop
* Fixed incorrect copyright year on new file
* Removed unnecessary ref
* 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 members
Add scene
Add navigation
Add selector
Add channel member row
Move list view to component for reusability
Add user profile picture
Add list paging
Add onRowPress
Add section headers
* Review feedback
* modal options and channel long press
* PureComponent optimization (#183)
* Bug fix when leaving the current channel
* Rebased with new navigation
* Add disabled drawer to unit test
* re-organize modal up in the stack and controlled by redux
* renaming modalOptions to optionsModal
* Moved ChannelDrawer into its own scene
* Moved RightSideMenu to a separate route
* Moved title back above scenes
* Moved right side menu into a separate scene
* Reorganized navigation so that it centers around ChannelView when logged in
* Stopped using NavigationExperimental to manage drawers
* Fixed copyright date
* Added unit tests for navigation drawers
* Renamed RightSideMenu to RightMenuDrawer
* Removed unnecessary ChannelDrawer style
* Fixed copyright date
* Removed unnecessary components folder from channel scene
* Added initial version of post textbox
* Moved getTheme into a proper selector
* Moved ChannelHeader into its own component
* Flipped post list so that the most recent posts appear at the bottom
* Moved post textbox value into redux view store
* Switched new components from PureRenderMixin to React.PureComponent
* 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