diff --git a/config.toml b/config.toml index 96439e74..2a1a3c51 100644 --- a/config.toml +++ b/config.toml @@ -1,9 +1,9 @@ [serverConfig] ServerPort = ":8000" #leave format as is it expects a string with colon - ServerAddr = "192.168.1.6" #Put in the IP address you want to bind to - LogLevel = "Debug" # Options = Debug, Info, Warn, Error, Fatal, Panic - LogOutput = "file" #Options = file, stdout #file will print it to logs/server.log + ServerAddr = "192.168.1.8" #Put in the IP address you want to bind to + LogLevel = "Info" # Options = Debug, Info, Warn, Error, Fatal, Panic + LogOutput = "stdout" #Options = file, stdout #file will print it to logs/server.log SeedRatioStop = 1.50 #automatically stops the torrent after it reaches this seeding ratio diff --git a/engine/doneTorrentActions_test.go b/engine/doneTorrentActions_test.go deleted file mode 100644 index 65eb90db..00000000 --- a/engine/doneTorrentActions_test.go +++ /dev/null @@ -1,47 +0,0 @@ -package engine - -import ( - "testing" - - "github.com/asdine/storm" - Settings "github.com/deranjer/goTorrent/settings" - Storage "github.com/deranjer/goTorrent/storage" -) - -func TestMoveAndLeaveSymlink(t *testing.T) { - type args struct { - config Settings.FullClientSettings - tStorage Storage.TorrentLocal - db *storm.DB - } - tests := []struct { - name string - args args - }{ - // TODO: Add test cases. - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - MoveAndLeaveSymlink(tt.args.config, tt.args.tStorage, tt.args.db) - }) - } -} - -func Test_notifyUser(t *testing.T) { - type args struct { - tStorage Storage.TorrentLocal - config Settings.FullClientSettings - db *storm.DB - } - tests := []struct { - name string - args args - }{ - // TODO: Add test cases. - } - for _, tt := range tests { - t.Run(tt.name, func(t *testing.T) { - notifyUser(tt.args.tStorage, tt.args.config, tt.args.db) - }) - } -} diff --git a/goTorrentWebUI/src/torrentlist.js b/goTorrentWebUI/src/torrentlist.js index c5a441a3..afb31660 100644 --- a/goTorrentWebUI/src/torrentlist.js +++ b/goTorrentWebUI/src/torrentlist.js @@ -136,7 +136,7 @@ class TorrentListTable extends React.Component { - + ); diff --git a/public/static/js/bundle.js b/public/static/js/bundle.js index e2501913..48b5c8c6 100644 --- a/public/static/js/bundle.js +++ b/public/static/js/bundle.js @@ -132718,7 +132718,7 @@ var TorrentListTable = function (_React$Component) { _react2.default.createElement(_dxReactGridMaterialUi.TableColumnReordering, { order: this.state.columnOrder, onOrderChange: this.changeColumnOrder }), _react2.default.createElement(_dxReactGrid.IntegratedSelection, null), _react2.default.createElement(_dxReactGridMaterialUi.TableSelection, { selectByRowClick: true, highlightSelected: true, showSelectAll: true }), - _react2.default.createElement(_dxReactGridMaterialUi.TableHeaderRow, { allowSorting: true, allowResizing: true, allowDragging: true }) + _react2.default.createElement(_dxReactGridMaterialUi.TableHeaderRow, { showSortingControls: true, allowSorting: true, allowResizing: true, allowDragging: true }) ) ); }