Target to .NET 4.6.1, Update SignalR, Owin, Nancy (#84)

* Target .net 4.6.1

* Update to SignalR 2.2.2

* Fix Socks Reference in NZBDrone.Common

* UI Fixes, Build Fixes

* Update Nancy to 1.4.4

* Upgrade Microsoft Owin to 3.1.0

* Delete npm-shrinkwrap.json

* Fix SignalR Messages
This commit is contained in:
Qstick 2017-09-20 22:05:00 -04:00 committed by GitHub
parent fbe6bfc78e
commit f460f630c3
317 changed files with 9128 additions and 38017 deletions

View file

@ -1,4 +1,5 @@
import $ from 'jquery';
import 'signalr';
import PropTypes from 'prop-types';
import { Component } from 'react';
import { connect } from 'react-redux';
@ -8,7 +9,6 @@ import { setAppValue, setVersion } from 'Store/Actions/appActions';
import { update, updateItem, removeItem } from 'Store/Actions/baseActions';
import { fetchHealth } from 'Store/Actions/systemActions';
import { fetchQueue, fetchQueueDetails } from 'Store/Actions/queueActions';
require('signalR');
function getState(status) {
switch (status) {
@ -59,7 +59,7 @@ class SignalRConnector extends Component {
constructor(props, context) {
super(props, context);
this.signalRconnectionOptions = { transport: ['longPolling'] };
this.signalRconnectionOptions = { transport: ['webSockets', 'longPolling'] };
this.signalRconnection = null;
this.retryInterval = 5;
this.retryTimeoutId = null;
@ -230,7 +230,7 @@ class SignalRConnector extends Component {
}
handleVersion = (body) => {
const version = body.version;
const version = body.Version;
this.props.setVersion({ version });
}