Vladimir Golovnev (Glassez)
7b7f88ae4f
WebUI: Fix WebAPI returned data.
2014-11-05 20:24:02 +03:00
Ivan Sorokin
da867fd022
Split trackerlogin into .h and .cpp
2014-11-05 03:10:39 +03:00
Ivan Sorokin
ed197a193d
Split statusbar into .h and .cpp
2014-11-05 03:10:39 +03:00
Ivan Sorokin
6347700ee3
Move libtorrent includes to .cpp
...
This commit probably fixes #2119 .
The only important change in this commit is moving
session::get_ip_filter() from FilterParserThread::processFilterFile() to
FilterParserThread::run(). Previously we called it in main thread, but
now we calls it in worker thread. I don't now what libtorrent contract
about threads, but I assume that if it is ok to set_ip_filter from
other thread, it is ok to get it.
2014-11-05 03:10:39 +03:00
Ivan Sorokin
17f5ffcaec
Split filterparserthread into .h and .cpp
2014-11-05 03:10:39 +03:00
sledgehammer999
a63d4e3400
Merge pull request #2117 from glassez/webui
...
WebUI Fixes
2014-11-03 17:00:34 +02:00
Vladimir Golovnev (Glassez)
0660398c28
Replace Mascot with qBittorrent logo on WebUI login page.
2014-11-03 16:31:41 +03:00
Vladimir Golovnev (Glassez)
651bf4f9aa
Fix status returned to banned user.
2014-11-03 16:31:40 +03:00
sledgehammer999
6f14b34470
WEBUI: Protect against timing attacks. Closes #2108 .
2014-11-02 21:41:29 +02:00
sledgehammer999
09ab5c37ce
Merge pull request #2077 from pmzqla/columns
...
Add new columns to transfer list
2014-11-02 21:00:35 +02:00
Gabriele
b63f647c2c
Add "Total Size" column to transfer list
...
This column shows the total size of the related torrent taking into
account also the unwanted data.
Closes #1233 .
2014-11-02 19:56:03 +01:00
Gabriele
b1af99ffba
Add "Last Activity" column to transfer list
...
This column shows the time elapsed since the related torrent has
received or sent a chunk.
Closes #517 .
2014-11-02 19:56:03 +01:00
Gabriele
a501f9d223
Add "Last Seen Complete" column to transfer list
...
This column shows when we or one of our peers last saw a complete
copy of the related torrent.
Closes #483 .
2014-11-02 19:15:10 +01:00
sledgehammer999
ea486d45c9
Merge pull request #2110 from sorokin/o1-torrent-speed-monitor
...
O(1) torrent speed monitor
2014-11-02 19:55:03 +02:00
Ivan Sorokin
51c9d358b4
Implement O(1) SpeedSample::average() instead of O(N)
2014-11-02 20:03:49 +03:00
Ivan Sorokin
4ff08ff691
New improved Sample in TorrentSpeedMonitor
2014-11-02 20:03:49 +03:00
Ivan Sorokin
0d311062f3
Unused function
2014-11-02 20:03:49 +03:00
sledgehammer999
d62498b48c
Merge pull request #2106 from sorokin/fix-memleak-in-torrentmodel
...
Fix a memleak in torrentmodel.
2014-11-02 16:43:04 +02:00
sledgehammer999
37d83cf6a8
Merge pull request #2092 from pmzqla/cleanup
...
Remove unused code
2014-11-02 16:41:40 +02:00
sledgehammer999
4f2b7c2e10
Merge pull request #2081 from sorokin/split
...
Split a few files into .h and .cpp
2014-11-02 16:40:41 +02:00
sledgehammer999
cfa28ec68c
Merge pull request #2080 from sorokin/cleanup-torrent-model
...
Cleanup torrent model item
2014-11-02 16:36:52 +02:00
sledgehammer999
73a05a67a4
Merge pull request #2057 from pmzqla/sort-content
...
Put directories first when sorting torrent content by name
2014-11-02 16:28:25 +02:00
sledgehammer999
6d5c9ff7d4
Merge pull request #2095 from DoumanAsh/piratebay_https
...
Return https connection for piratebay
2014-11-02 15:48:40 +02:00
sledgehammer999
08de7f7439
Merge pull request #2059 from sorokin/fix-eta
...
Fix ETA calculation
2014-11-02 15:41:40 +02:00
sledgehammer999
46f3009e4b
Merge pull request #2051 from pmzqla/filter-input
...
Improve input box to filter torrent list
2014-11-02 15:25:49 +02:00
sledgehammer999
238703cb0e
Remove unused variables.
2014-11-02 15:03:53 +02:00
sledgehammer999
9e6d57057f
Add back contact info in the copyright notices.
2014-11-02 15:03:40 +02:00
sledgehammer999
c8e72ff409
Merge pull request #1890 from glassez/webui
...
WebUI Core Redesign
2014-11-02 15:02:22 +02:00
Ivan Sorokin
9771cb796c
Unused include
2014-11-02 15:37:07 +03:00
Ivan Sorokin
807960b768
Fix a memleak in torrentmodel.
...
Perhaps we should finally move to C++11 and std::unique_ptr?
2014-11-02 14:56:19 +03:00
Vladimir Golovnev (Glassez)
8a65dbaa4f
WebUI core redesign.
2014-11-02 13:54:48 +03:00
DoumanAsh
b4e31c9a1b
Use https for Piratebay search plugin. Closes #2093
2014-10-30 21:30:45 +03:00
Gabriele
fe030f1540
Remove unused code
...
Leftovers of 4ec176b683
("Make possible to move file to .unwanted
directory after downloading")
2014-10-28 23:12:22 +01:00
Vladimir Golovnev (Glassez)
9853a9fec9
Modify Http parser/generator classes.
2014-10-26 19:52:15 +03:00
Vladimir Golovnev (Glassez)
3d20f2f670
Prepare WebUI resources.
...
Html/Css/JavaScript files displacement.
Also add new icon.
2014-10-26 19:52:01 +03:00
Gabriele
bdf27451ad
Put directories first when sorting torrent content by name
...
Closes #1594 .
2014-10-25 21:14:56 +02:00
Ivan Sorokin
8f0d49bb1b
Remove default argument from TorrentPersistentData::setAddedDate()
2014-10-25 16:12:17 +04:00
Ivan Sorokin
16eb407453
Split src/torrentpersistentdata into .h and .cpp
2014-10-25 16:12:17 +04:00
Ivan Sorokin
e1b4c5534e
Split src/transferlistfilterswidget into .h and .cpp
2014-10-25 16:12:17 +04:00
Ivan Sorokin
03b06fbf81
Split src/transferlistdelegate into .h and .cpp
2014-10-25 16:12:17 +04:00
Ivan Sorokin
2d98b8f192
Call TorrentModelItem::state() directly in getTorrentStatusReport
...
There is no point in wraping/unwraping QVariant.
2014-10-25 14:25:26 +04:00
Ivan Sorokin
80297697dd
Remove mutable fields from TorrentModelItem
...
The querying of TR_STATUS doesn't affect color and icon now.
2014-10-25 14:25:25 +04:00
Ivan Sorokin
ad116edac7
Use Qt::GlobalColor to refer to color instead of string
...
Qt uses binary search to convert string to QColor, we don't need that
binary search at all. This patch could be considered as optimization, but
in reality creating QColor takes only 0.2% of time. So it should be visible
at all.
This could be considered as cleanup for not calling expensive functions
from non-expensive ones.
2014-10-25 14:25:21 +04:00
sledgehammer999
b0f767e699
Merge pull request #2060 from glassez/fwd_decl_fixes
...
Fix libtorrent types forward declaration errors/warnings.
2014-10-21 17:25:57 +03:00
sledgehammer999
e750ae3a79
Use boost:bind() as the docs show. Allows compilation with older gcc versions.
2014-10-21 16:28:06 +03:00
Vladimir Golovnev (Glassez)
ab2d506e09
Fix libtorrent types forward declaration errors/warnings.
2014-10-21 16:33:04 +04:00
Ivan Sorokin
637246c1c7
Cleaup includes
2014-10-21 12:13:56 +04:00
Ivan Sorokin
5f0d6f3c6d
Fix incorrect ETA calculation
2014-10-21 12:13:52 +04:00
Gabriele
ea1d7afdef
Focus transfer list on startup
...
The torrent list filter will be focused otherwise and its placeholder
text will be hidden on startup.
2014-10-20 19:58:31 +02:00
Gabriele
afb03725ad
Add placeholder text to the input to filter the torrent list
...
Users can mistakenly think the input box is to search for torrents
and not to filter the torrent list. A placeholder text will make things
clear.
2014-10-20 19:58:31 +02:00