Commit graph

488 commits

Author SHA1 Message Date
Elias Nahum
ea3bcf66f4 Add validations in cleanup middleware (#1122) 2017-11-15 18:18:46 -03:00
Harrison Healey
610ed8e68d RN-471/RN-484 Fixed null pointer exceptions caused by ScrollViews (#1116)
* RN-471 Fixed null pointer from Swiper scroll view

* RN-484 Added null check to ImagePreview scroll view
2017-11-15 18:18:46 -03:00
Harrison Healey
3c19603fed RN-474 Fixed resetStateForNewVersion not working if upgrading from version without search state (#1117) 2017-11-15 18:18:46 -03:00
Harrison Healey
cb5970587f RN-414 Reduce loading of posts in increasePostVisibility action (#1111) 2017-11-15 18:18:46 -03:00
Harrison Healey
585d7bc1e1 Changed PostProfilePicture to be a PureComponent (#1105)
* Changed PostProfilePicture to be a PureComponent

* Updating style
2017-11-15 18:18:46 -03:00
Elias Nahum
93265b3de0 Keep post openGraph data 2017-11-06 14:21:01 -03:00
enahum
9c89fe2907
Set the section list to wait for interactions before updating the unread indicator (#1093) 2017-11-03 14:47:31 -03:00
enahum
9684328123
set appSarted as false when logging out and resetting cache (#1092) 2017-11-03 14:47:18 -03:00
enahum
388294a124
Update Mattermost redux (#1086)
* Fix middleware

* Upgrade mattermost-redux

* another middleware fix
2017-11-02 16:09:53 -03:00
enahum
1a12abfe50
Fix bugs reported by sentry (#1081) 2017-11-02 16:09:01 -03:00
Elias Nahum
0210d6e1eb Use ImageBackground for youtube videos instead of nested Images 2017-11-02 16:08:43 -03:00
enahum
49bcf185e6
Prevent More unreads indicators when canceling jump to... (#1082) 2017-11-01 18:50:28 -03:00
enahum
09ac903630
Keep user statuses for current channel and all post visibilities (#1080) 2017-11-01 16:26:24 -03:00
enahum
a471379cb2 Perform validations to avoid crash on data cleanup (#1075)
* Perform validations to avoid crash on data cleanup

* Remove postId from postsInChannel
2017-10-31 12:23:27 -07:00
enahum
eaf128b2a0 Show profile images and names only for DMs in channel intro (#1076) 2017-10-31 12:23:17 -07:00
enahum
3fdfe92800 Data cleanup (#1070)
* Add message retention middleware and config

* Data cleanup middleware
2017-10-30 11:23:19 -04:00
Chris Duarte
898d02c5d4 Handle post deleted while image preview is open (#1071)
* Handle post deleted while image preview is open

* Review feedback
2017-10-30 10:31:18 -04:00
Chris Duarte
9e0831e984 Allow profile button configuration (#947)
* Allow profile button configuration

* Renamed config to experimental and moved to separate function
2017-10-27 14:15:14 -04:00
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