Chocobo1
c3f5432877
[WebUI]: Print error messages upon receiving invalid header fields
2017-10-24 01:07:53 +03:00
dzmat
4dcc187a72
speedwidget class: excess QtConcurent usage removal
2017-10-24 01:07:51 +03:00
scootergrisen
97c99dfaaf
Add me for danish
2017-10-24 01:07:50 +03:00
sledgehammer999
da83041a3f
Generate pngs using svgexport and optimize using PNGGauntlet.
2017-10-24 01:07:49 +03:00
sledgehammer999
d40a4f14dd
Optimize and prettify the svg source using svgo.
2017-10-24 01:07:48 +03:00
LordNyriox
de7b0278f4
Invert Framing for Torrent Status Icons
...
Also recolor the icons to match the text-color used for the torrent-status as well.
Optimized using SVGOMG [<https://jakearchibald.github.io/svgomg/ >].
2017-10-24 01:07:47 +03:00
Chocobo1
17f5e10ffc
Convert tab into whitespaces
2017-10-24 01:07:45 +03:00
Chocobo1
a0dbb6c97c
WebUI: add optional parameters for /command/download & /command/upload
...
Specifically:
torrent name: string
download limit, upload limit: number in bytes, default: -1 (unlimited)
sequential download, first last piece prio: boolean true/false, default: false
2017-10-24 01:07:44 +03:00
Chocobo1
4d330a6110
Add uploadLimit, downloadLimit fields to AddTorrentData & AddTorrentParams
2017-10-24 01:07:43 +03:00
Chocobo1
9fc2bf6353
Add file-to-piece-index mappings in /query/propertiesFiles command
...
Also do the following cleanups:
Use string constant QB_EXT
Remove redundant variable
Add const
2017-10-24 01:07:42 +03:00
sledgehammer999
f9c7121847
Sync translations from Transifex and run lupdate.
2017-10-24 01:07:31 +03:00
Eugene Shalygin
d3a0ac3b6e
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
2017-10-24 00:57:58 +03:00
Tim Delaney
a6c99844de
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-10-24 00:57:57 +03:00
Chocobo1
d51a957247
Die gracefully when failed to initialize web server with qbt-nox
2017-10-24 00:57:56 +03:00
Matthew Fioravante
a0c16cd461
Report TCPServer errorString() if webui fails to listen to port
2017-10-24 00:57:55 +03:00
Chocobo1
8fe11dff91
Fix delete key has no effect due to "Ambiguous shortcut overload"
...
We want to show the accelerator key in the menu but without hitting
the ambiguous overload error.
Fixup of 1378245a63
2017-10-24 00:57:54 +03:00
Eugene Shalygin
efcdcf5898
Update uncrustify config
2017-10-24 00:57:52 +03:00
sledgehammer999
da543cdae2
Optimize SVGs.
...
Used svgo with commands --pretty --indent=2 --multipass.
2017-10-24 00:55:41 +03:00
sledgehammer999
0374742e57
Optimize PNGs.
...
Using PNGGauntlet.
2017-10-24 00:55:39 +03:00
sledgehammer999
408052d1ec
Remove unused image. Possibly leftover from dropping Qt4.
2017-10-24 00:55:38 +03:00
sledgehammer999
b0ebbc3596
Drop OS/2 support.
2017-10-24 00:55:37 +03:00
sledgehammer999
e45e1166b2
Show new paths in native form.
2017-10-24 00:55:35 +03:00
thalieht
de64d5c3bc
Save ratio limits as int instead of string
2017-10-24 00:55:34 +03:00
thalieht
07130c4b26
Coding style, use nullptr and other minor things
2017-10-24 00:55:33 +03:00
thalieht
8482464ad0
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg dialogs. Fixes #7352
2017-10-24 00:55:32 +03:00
Eugene Shalygin
d7ce6e39d4
cmake: do not use Qt5Widgets when locating QtSingleApplication. Closes #7551 .
...
This fixes cmake builds with GUI disabled and system
QtSingleApplication. We rely on Qt5::Core instead of Qt5::Widgets.
2017-10-24 00:55:30 +03:00
Chocobo1
97acbd5259
Set QTextOption::NoWrap property in "Download from URLs" dialog
...
This makes it easier to put each magnet link on its own line
2017-10-24 00:55:29 +03:00
Nick Korotysh
60937a1871
show delete accelerator key in menu. closes #7508
2017-10-24 00:55:28 +03:00
Nick Korotysh
ed43bc377d
allow search plugins sorting. closes #7526
2017-10-24 00:55:27 +03:00
Vladimir Golovnev (Glassez)
8d11929815
Reformat Windows build configuration files
2017-10-24 00:55:26 +03:00
dzmat
0e6f8c15c5
transferlistwidget class members names clarification
2017-10-24 00:55:24 +03:00
Chocobo1
8107201a5b
Fix "Time active" field in transfer list
...
The "Time active" field was broken, displaying nothing when in
downloading state.
Also change type to int to match the return
types of TorrentHandle::activeTime() & TorrentHandle::seedingTime()
2017-10-24 00:55:23 +03:00
Vladimir Golovnev (Glassez)
395ea4d1d0
Implement TorrentCategoryDialog class
2017-10-24 00:55:22 +03:00
Vladimir Golovnev (Glassez)
7bf317929b
Use Qt5 connect() style in CategoryFilterWidget
2017-10-24 00:55:21 +03:00
Chocobo1
3cacf876c9
Show torrent name in "add new torrent" dialog on merging trackers
2017-10-24 00:55:20 +03:00
silver
d6247dd4ec
Center Options dialog when showed
2017-10-24 00:53:10 +03:00
silver
4f0c49f1c4
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
2017-10-24 00:53:09 +03:00
silver
30455e8b01
Follow project coding style. Issue #2192 .
2017-10-24 00:53:08 +03:00
silver
60adb94463
Options dialog save windows state in destructor
2017-10-24 00:53:07 +03:00
Chocobo1
a02fd5b588
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
2017-10-24 00:53:06 +03:00
sledgehammer999
39ce080318
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0 .
2017-10-24 00:53:04 +03:00
Chocobo1
f53abd2f07
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
2017-10-24 00:53:03 +03:00
Thomas Piccirello
5b0ae0271b
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-10-24 00:53:02 +03:00
sledgehammer999
ec2efd8c62
Better reporting of success/failure of torrent and file deletion.
2017-10-24 00:53:01 +03:00
Chocobo1
146daea513
Replace dialog ok-cancel buttons with QDialogButtonBox
...
This PR will make button order follow the platform default.
For example: windows use: OK, Cancel; linux use: Cancel, OK.
2017-10-24 00:53:00 +03:00
Chocobo1
5ab67faacb
Use smaller data type for TriStateBool
2017-10-24 00:52:58 +03:00
Chocobo1
4213d37857
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-10-24 00:52:57 +03:00
Chocobo1
0192922910
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-10-24 00:52:56 +03:00
Chocobo1
d2b88e9f84
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-10-24 00:52:55 +03:00
Chocobo1
a32c4aca92
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-10-24 00:52:54 +03:00