Commit graph

1936 commits

Author SHA1 Message Date
Elias Nahum
92db348c09 Fix post menu touchables (#2385) 2018-11-28 10:30:57 -05:00
Elias Nahum
ac3a614d8f Fix jewel in team sidebar for android (#2386) 2018-11-28 10:28:31 -05:00
Elias Nahum
d5a9a058bb
Fetch team channels on extension init (#2383) 2018-11-27 19:45:44 -03:00
Elias Nahum
8fbb7e7081
Fix Post and network indicator Layouts (#2382)
* Fix post layout that caused text cutoff

* Fix network indicator layout on non iPhone X devices
2018-11-27 19:43:08 -03:00
Elias Nahum
508ffad00f Count the posts received after combining join/leave (#2378) 2018-11-27 14:38:32 -05:00
Elias Nahum
ef3445d3bc Add a threshold of 60px from the bottom to show new messages (#2376) 2018-11-27 14:33:50 -05:00
Elias Nahum
e36a01267f
Set refreshing default value (#2380) 2018-11-26 20:29:10 -03:00
Elias Nahum
c2b0b3255e
Fix edit post (#2379)
* Fix edit post

* Fix other references to TextInputWithLocalizedPlaceholder
2018-11-26 20:27:48 -03:00
Elias Nahum
4925970b86
Fix crash when message attachment does not have images (#2377)
* Fix crash when message attachment does not have images

* optional chaining
2018-11-26 20:26:46 -03:00
Elias Nahum
a03016a9e3
Disconnect the websocket on logout and connect appropiately (#2375) 2018-11-23 14:54:43 -03:00
Chris Duarte
7c711caf2d Theme selection screen (#2320)
* Theme selection screen (initial commit)

PR Review changes

Add custom theme option for users who are already using a custom theme

Fix for limited allowed themes

Selected item case fix

Memoized available themes request, other optimizations

updated snapshots

* Custom theme option changes - title. spacing, save option on state for life-cycle of screen
2018-11-23 14:49:28 -03:00
Saturnino Abril
bc387ed74e
[MM-13074] Render text when named emoji does not match with the existing custom emojis (#2371)
* render text when named emoji does not match with the existing custom emojis

* added more test case
2018-11-24 01:43:27 +08:00
Joram Wilander
e431bd36c4
MM-12845 Add widgets and interactive dialogs (#2353)
* Add widgets and interactive dialogs

* Update snapshots

* Updates per feedback and fix slash command

* Fix style

* Update styling

* Updates per feedback

* Updates per feedback

* More styling changes

* Remove extra space above message menu
2018-11-23 12:30:12 -05:00
Jesús Espino
8097764d87 MM-12959: Fix autocomplete archived channels visibility (#2367)
* MM-12959: Fix autocomplete archived channels visibility

* Remove unneeded getDeletedPublicChannels
2018-11-23 12:25:46 -05:00
Elias Nahum
de812107b5
Disable segment for dev env (#2372) 2018-11-23 14:05:42 -03:00
Elias Nahum
0b33b8ea4a Upgrade sentry to 0.39.1 (#2365) 2018-11-23 11:58:45 -05:00
Elias Nahum
308b2c5e19 Fix error text when intl object is not provided (#2373) 2018-11-24 00:00:09 +08:00
Elias Nahum
f42fedf889
Add pinned post support (#2364)
* Add pinned post

* Update pinned posts assets
2018-11-23 12:57:28 -03:00
Elias Nahum
24db914fd4 Keep postlist scroll position on iOS and fix opengraph (#2369) 2018-11-23 20:31:14 +05:30
Elias Nahum
aa9fef955f
Do not disconnect WebSocket when NetworkIndicator on componentWillUnmount (#2368)
* Do not disconnect websocket when networkIndicator unmounts

* feedback review
2018-11-22 20:23:25 -03:00
Elias Nahum
736a955be8
Use post metadata to prevent scroll pop (#2304)
* Use post metadata to prevent scroll pop

* Fix not to fetch for reactions every time

* Update post-metadata mm-redux ref

* Update mattermost-redux to include post-metadata
2018-11-22 19:47:27 -03:00
Saturnino Abril
d8abeabd70 [MM-12353] Add feature to render jumbo emoji and unwrapped Emoji component with Text when rendering message containing emoji/s only (#2356)
* add feature to render jumbo emoji/s

* fix bottom clipping of emoji on Android

* updated per feedback
2018-11-22 11:56:27 -05:00
Elias Nahum
6df0f8b915
Set the user status as offline when the app loses connection (#2366) 2018-11-22 11:09:55 -03:00
Elias Nahum
c8777422ce
Fix network indicator layout and reconnect logic (#2351)
* Fix network indicator layout and reconnect logic

* Reconnection logic to cover more use cases

* Check for internet connectivity when bringing the app to the foreground
2018-11-22 10:25:08 -03:00
Elias Nahum
d8e7a6ab63
Fixing failed tests (#2363) 2018-11-21 16:00:00 -03:00
Elias Nahum
10e149a15d
Re-use app redux store to avoid conflicts (#2362) 2018-11-21 13:05:28 -03:00
Elias Nahum
9294dec68a
Properly scroll to search results (#2348)
* Properly scroll to search results

* Add search recent_item test

* Create a new component for the search modifiers
2018-11-21 13:04:26 -03:00
Chris Duarte
55652d0007 Refresh indicator fix (#2361) 2018-11-21 19:34:01 +08:00
Sudheer
bfb0db866e
MM-12755 Add reply mention highlight for replyBar (#2359)
* MM-12755 Add reply mention highlight for replyBar
* Update MM-redux hash
2018-11-21 00:02:51 +05:30
Elias Nahum
d65235286b
Update fastlane (#2360) 2018-11-20 14:09:31 -03:00
Elias Nahum
678c2599ac
Update post header to support flagged/pinned posts (#2350)
* Update post header to support flagged/pinned posts

* Fix header cutoff when commented on visible

* Update snapshots
2018-11-20 08:23:42 -03:00
Harrison Healey
f9303f911f MM-13020 Update mattermost-redux (#2358) 2018-11-20 15:09:57 +08:00
Elias Nahum
1eb046a7fd Android/iOS leave notifications until channel is read (#2321)
* iOS clear notifications from a specific channel when clear push notification received

* Android leave notifications until channel is read

* use redux-connect currentChannelId in network indicator
2018-11-19 13:20:44 -05:00
Chris Duarte
b4d7a23e54 Instantly show autocomplete channels (#2188)
* Instantly show autocomplete channels

* Don't show loading indicator for my channels

* Remove loaders from search
2018-11-19 14:55:43 -03:00
Harrison Healey
883de604d8 Fix comma splice typo (#2343) 2018-11-19 14:51:37 -03:00
Elias Nahum
ec58d90980
Bump version to 1.15.0 and build number to 159 (#2354)
* Bump app version number to 1.15.0

* Bump app build number to 159
2018-11-18 19:31:50 -03:00
Elias Nahum
68a3825d95
Update dependencies (#2316) 2018-11-18 17:54:06 -03:00
Elias Nahum
85fd0e7d74 Fix download document progress indicator (#2344) 2018-11-16 22:57:03 +05:30
Elias Nahum
fb51e38733
Replace WebView with React Native Community WebView (#2340) 2018-11-16 13:28:54 -03:00
Elias Nahum
8e97b47425 Fix crash when deleting a post (#2345) 2018-11-16 19:41:18 +05:30
amyblais
f85344f8a5 v1.14 Changelog (#2310)
* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

Co-Authored-By: amyblais <amy_blais@hotmail.com>

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2018-11-15 20:19:49 -03:00
Chris Duarte
4d5b49f104 Network consolidation (#2324)
* Create network listener component

* Remove unnecessary network/websocket logic

* Remove offline indicator. Fix linting issue

* Fix websocketStatus prop issue

* Refactor and remove animation from state

* Fix AppState listener. Add connection retry.
2018-11-14 18:19:59 -03:00
Elias Nahum
ae629a455c
Update UX for post long press menu (#2325)
* Update UX for post long press menu

* Post menu feedback review
2018-11-14 17:29:09 -03:00
Elias Nahum
17c7d0202b
Bump app build number to 158 (#2341) 2018-11-14 12:58:12 -03:00
Chetanya Kandhari
68eff30eda [#MM-12410] Custom Terms of Service (#2234)
* [#MM-12410] Custom Terms of Service Modal.

- Create a new screen for terms of service
- Register it in app navigation
- Open it as a modal when login succeeds or app is opened when already logged in.
- Get terms of service and render it as markdown

* Refactor service terms to terms of service

* Show terms modal when launching channel instead of componentDidMount

* Remove footer text

* Close modal before logging out

* Use dismissAllModals instead od this.close

* Update header styles

* Update the back icon

* Add left icon conditinally based on os

* Update en.json

* - Integrate Accept/Reject API
- Refactor show navigator to util
- Remove title
- Code refactoring

* Handle Accept/Reject API errors

* Update package-lock

* - Show Alert to handle API error
- Handle API error for GetTerms error, Accept/Reject error and Reject success
- Changes in en.json
- Remove error banner
- Open terms modal in sso and experimental certificate

* Enable navigator buttons after getting terms

* Rename Ok to OK in Alert

* Add retry for API error

* Fix check-style

* Fix FailedNetworkAction Error Message

* - Use Close button instead of back button
- Update en.json

* Remove unused import

* Disable hashtags and atmentions in terms modal

* Enable close button when terms text fails to load

* Minor changes

* Fix show terms on sso login

* Handle restartApp event

* Add test cases

* Revert change to app/components/formatted_markdown_text.js

* Show the terms modal on the channel page

* Remove remaining references to showTermsOfService

* Disable Hashtags, AtMentions and ChannelLinks

* Update the props to markdown component

* Pass the text as literal to renderText

* Return the generated renderTexts

* Fix lint

* Render ~, #, @ with Channel link, Hashtags and At Mentions

* Fix failing tests
Revert unwanted changes

* Hide the channel page content before the terms are accepted

* Fix lint and failing tests

* Revert changes to hide channel while terms are not accepted

* Open modal in componentDidMount instead of constructor
Code refactoring
Disable back button on android

* Remove unused import

* No need to await for showModal

* No need to await for accept and reject

* Update flag for updateTermsOfServiceStatus to updateMyTermsOfServiceStatus
- as phase 2 redux PR was mered.

* Fix check-style

* Change opacity in terms of service text

- Fix tests

* Revert package-lock.json changes
2018-11-14 11:36:45 -03:00
Elias Nahum
e1b1635cf1
Fix regression when scrolling in search screen (#2339) 2018-11-14 10:51:29 -03:00
Sudheer
67611d0c22 MM-12923 Fix Downloading message on cancelling downloads (#2337) 2018-11-14 08:23:35 -03:00
Elias Nahum
592fab2375 Refactor CustomList to use Section and Flat Lists (#2332) 2018-11-13 18:16:57 -05:00
Elias Nahum
b5ddce6770
Bump app build number to 157 (#2338) 2018-11-13 20:00:43 -03:00
Elias Nahum
0079d7e27a
MM-12952 Avoid iOS autocorrect from overriding autocomplete values (#2335)
* Avoid iOS autocorrect from overriding autocomplete values

* Fix double ~ for channel mentions in Android
2018-11-13 19:46:31 -03:00