Commit graph

470 commits

Author SHA1 Message Date
Chris Duarte
1ef99da29c White label login options screen - Experimental (#944)
* White label login options screen

* Move colors to server side config

* Rename config options to experimental
2017-10-26 10:35:49 -07:00
Chris Duarte
582db04da1 Force url's to be normalized (#1058)
* Force url's to be normalized

* Refactor and move behind config flag
2017-10-26 09:52:41 -07:00
Chris Duarte
6b132cc4d0 Allow server to be auto selected from config (#946)
* Allow server to be auto selected from config

* Remove easter egg

* Review feedback 2

* Show the readonly textbox at all times
2017-10-26 09:16:32 -07:00
Chris Duarte
9ff9b872ba Config to enable when clicking on username to fill input with @mention (#966)
* 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
2017-10-26 10:48:52 -04:00
Chris Duarte
54ddec3d46 Prompt/require user to upgrade to new version (#948)
* Prompt/require user to upgrade to new version

* Update en.json

* Update app message text

* Fix typo and add copyright
2017-10-26 10:45:34 -04:00
enahum
59ce8571c3 Handle Image picker permissions (#1064) 2017-10-26 09:17:56 -03:00
enahum
ad33738474 Fix MFA check to use the new mattermost-redux {data, error} response (#1067) 2017-10-26 09:17:36 -03:00
enahum
685a56d24c Android: Fix inverted list deprecated warnings on android (#1065) 2017-10-26 09:16:54 -03:00
Chris Duarte
a13079b715 White label about modal. Move strings to config. (#943)
* 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
2017-10-25 15:24:22 -04:00
enahum
834ce4d0bf Revert: android timezone (#1066) 2017-10-25 12:09:22 -04:00
enahum
8008e731e4 listen for connectionChange instead of deprecated change event in NetInfo (#1063) 2017-10-25 11:37:26 -04:00
Chris Duarte
1641d38863 Fix android predictive text prepend issue (#1056) 2017-10-24 19:43:51 -03:00
Chris Duarte
e49f89d727 Add better network detection (#1054)
* Add better network detection

* Mock NetInfo for store
2017-10-24 19:43:22 -03:00
enahum
c8a0753289 Fix new message indicator (#1053)
* Fix new message indicator

* Revert "Fix new message indicator"

This reverts commit 3732d2e53149f2e29b671cb6fd68e359d64aab36.

* Fixed new messages indicator and added unit tests for it
2017-10-24 19:42:50 -03:00
enahum
f50b1c6ae9 Improve push notification flow (#1044) 2017-10-24 17:03:51 -04:00
enahum
27713322e3 Fixed Search bugs and avoid re-renders (#1047)
* Fixed Search and avoid re-renders

* Feedback review

* Feedback review
2017-10-24 17:02:09 -04:00
Chris Duarte
53f0576672 Skip await for loadMe if we have the currentUser (#1055) 2017-10-24 14:24:52 -04:00
Chris Duarte
b2b2b24051 Force formatted_time to use device time zone (#1057) 2017-10-24 14:21:15 -04:00
Harrison Healey
0e4f9d5825 Changed to pass IDs to PostList instead of posts (#1036)
* 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
2017-10-20 18:58:44 -03:00
enahum
e84af2bfa7 Polishing search box text size and icon styling (#1034)
* Channel Switcher and search box text size and icon styling

* minor UI fixes and android fixes
2017-10-19 18:49:21 -03:00
enahum
02aef861b7 Fix crashes when currentUser is null after offline store purge (#1040) 2017-10-19 09:10:51 -07:00
enahum
360dc045cf Fix currentUser is null on SelectTeam screen (#1041) 2017-10-19 09:08:41 -07:00
enahum
04ec27f333 Avoid crash on drawer filtered channel list (#1042) 2017-10-19 09:07:46 -07:00
enahum
40008a9242 Fix DM separator in channel drawer (#1035) 2017-10-19 11:30:57 -04:00
enahum
b2d5887f95 Various Fixes (#1033)
* Fix crash Unread indicator scrollToTop

* Fix list when favorites change
2017-10-17 17:33:21 -03:00
enahum
46bdeb6031 RN-428 Drawer panResponder offset (#1029)
* drawer panResponder offset

* Cleanup

* Update mattermost-redux
2017-10-17 15:51:01 -03:00
enahum
cc966702fd Improve performance of the channel drawer (#1023)
* Improve performance of the channel drawer

* Feedback review

* Fix makefile

* Feedback review 3

* Fix areStatesEqual

* Fix Android SVG
2017-10-17 10:06:28 -07:00
Chris Duarte
2378ad627b Swith android to use layout file for splash (#952) 2017-10-17 08:44:41 -07:00
enahum
b5451ca352 Fix android white screen when the bridge is closed (#1027) 2017-10-16 16:22:13 -03:00
enahum
770af754b9 Fix undefined when default or selected sound not found (#1026) 2017-10-16 15:07:38 -03:00
enahum
30dea1dcf0 Fix undefined when selected sound not found (#1025) 2017-10-16 15:07:22 -03:00
Chris Duarte
229e5935f6 Whitelabel ‘report a problem’ email (#945)
* Whitelabel ‘report a problem’ email

* Fix lint error
2017-10-16 11:16:45 -04:00
enahum
c3f36e6a89 RN-404 add missing localization strings (#1020) 2017-10-16 11:19:06 -03:00
Harrison Healey
a9489dcc5f Replace getTheme selector with one from mattermost-redux (#1013) 2017-10-12 08:45:17 -07:00
Chris Duarte
dd17d51d17 Allow OneLogin scaling fix JS to be enabled via local config flag (#949)
* Allow OneLogin scaling fix JS to be enabled via local config flag

* Remove from config and inject if url contains onelogin

* Move scalePageToFit to component state
2017-10-11 16:06:49 -04:00
enahum
4605ecc359 Do not show channel intro while posts are being loaded (#1012)
* Do not show channel intro while posts are being loaded

* check if we have posts in the channel
2017-10-11 15:36:40 -04:00
enahum
f50b2b9412 Improving Performance Part 3 (#1011)
* 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
2017-10-11 14:54:13 -03:00
enahum
f8414559b2 Improving Performance Part 2 (#1010)
* 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
2017-10-11 14:36:27 -03:00
enahum
dabad3eca6 Improving Performance Part 1 (#1009)
* 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
2017-10-11 14:33:26 -03:00
enahum
5bfe97b1f2 fix swiper bounce in iOS (#1005) 2017-10-10 13:15:11 -04:00
Elias Nahum
d360836baa Fix crashes when user hasn't loaded and when postDraft was undefined 2017-10-05 17:49:14 -03:00
Elias Nahum
9eb00f3d2e Fix postTextBox at_mention autocomplete 2017-10-05 12:31:00 -03:00
enahum
d501a678e9 RN-382 Refactor at_mention & channel_mention autocomplete (#988)
* RN-382 Refactor at_mention & channel_mention autocomplete

* Feedback review

* If the term changes always trigger a request
2017-10-05 10:25:15 -03:00
Harrison Healey
aac0aa18f3 RN-383 Fixed new messages indicator (#990) 2017-10-05 10:25:15 -03:00
enahum
76b8fba358 Remove context menu for system and ephemeral messages (#981) 2017-10-02 16:03:13 -03:00
enahum
ace45ae0dd RN-362 Do not crash when leaving channels (#980) 2017-10-02 16:03:13 -03:00
enahum
4610ab9ad4 Make Post time format respect user display setting (#977) 2017-10-02 16:03:13 -03:00
enahum
b64153fcb8 Fix drawer according to number of teams (#974) 2017-10-02 16:03:13 -03:00
enahum
0a9ead9605 Fix search issues (#973) 2017-10-02 16:03:13 -03:00
Harrison Healey
61b80e10ba RN-379 Get posts since last websocket disconnect when viewing channel (#971)
* RN-379 Added websocket state to device state

* Fixed view store blacklist

* RN-379 Get posts since last websocket disconnect when viewing channel

* Used Date.now instead of new Date().getTime()
2017-10-02 16:03:13 -03:00