Commit graph

148 commits

Author SHA1 Message Date
enahum
c42e2276a2 Prevent notify props from causing a crash (#1127) 2017-11-15 18:18:46 -03:00
lfbrock
2dcf7a01d0 Spelling correction (#1132)
* Spelling correction

* Update en.json

* fix eslint
2017-11-15 18:18:46 -03:00
Harrison Healey
3f0a4ef153 RN-472 Improved handling of deleted search results (#1119) 2017-11-15 18:18:46 -03:00
Harrison Healey
4b57f4fed0 RN-487 Added null check for user in UserProfile (#1120) 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
enahum
1a12abfe50
Fix bugs reported by sentry (#1081) 2017-11-02 16:09:01 -03: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
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
ad33738474 Fix MFA check to use the new mattermost-redux {data, error} response (#1067) 2017-10-26 09:17:36 -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
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
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
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
360dc045cf Fix currentUser is null on SelectTeam screen (#1041) 2017-10-19 09:08:41 -07: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
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
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
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
ace45ae0dd RN-362 Do not crash when leaving channels (#980) 2017-10-02 16:03:13 -03:00
enahum
0a9ead9605 Fix search issues (#973) 2017-10-02 16:03:13 -03:00
enahum
874edb4d2a Fix blank screen when user has no teams (#965) 2017-10-02 16:03:13 -03:00
enahum
fb773f04cb Multiple performance improvements (#956)
* Update fastlane

* Multiple performance improvements

* Feedback review

* Feedback review
2017-10-02 16:03:13 -03:00
enahum
7289fedea7 Fix SSO login (#960) 2017-10-02 16:03:13 -03:00
enahum
86c697aa55 Fix image preview initial scroll (#959) 2017-10-02 16:03:13 -03:00
enahum
2682d37e4e RN-320 Tapping enter in channel header/purpose keeps the keyboard open (#961) 2017-10-02 16:03:13 -03:00
Harrison Healey
8c86a95f19 RN-349 Mark channel as read when switching teams and opening the app (#953)
* 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
2017-10-02 16:03:13 -03:00
enahum
e31d1834f6 Show full date on search results (#934) 2017-09-25 10:21:06 -04:00
Harrison Healey
98abbd6dca RN-345 Additional improvements to channel switching (#926)
* 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
2017-09-22 11:48:30 -07:00
Chris Duarte
9a5e7ac541 RN-337 Enable GIF support in image preview (#928) 2017-09-22 11:15:44 -03:00
Chris Duarte
e4b86518a9 RN-342 Refactor post textbox component (#915)
* RN-342 Refactor post textbox component

* Rebase

* Review feedback
2017-09-20 16:40:40 -04:00
enahum
4995a76f2c Add Landscape support for both platforms (#909)
* 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
2017-09-20 12:54:24 -07:00
enahum
59762e4fac Use mattermost-redux favorite and unfavorite actions (#921) 2017-09-20 10:39:25 -07:00
enahum
da28fa18e4 Fix about title (#918) 2017-09-19 12:55:52 -03:00