Vladimir Golovnev (Glassez)
d16d1fdb3a
Redesign main core classes.
10 years ago
Vladimir Golovnev (Glassez)
d32bb52390
Don't add core to INCLUDEPATH.
10 years ago
Gabriele
b5b40abb56
WebUI: Implement 'Force Start' feature.
10 years ago
Gabriele
fff1436e26
WebUI: Convert torrent list from QVariantHash to QVariantMap
...
Currently QJsonDocument::fromVariant() does not support QVariantHash,
so convert the torrent list to QVariantMap.
Closes #2849 .
10 years ago
sledgehammer999
3c58b0cc9a
Revert "WebUI: Use QVariantMap instead of QVariantHash"
...
This reverts commit d49c79d032
.
10 years ago
Gabriele
d49c79d032
WebUI: Use QVariantMap instead of QVariantHash
...
Currently QJsonDocument::fromVariant() does not support QVariantHash,
so use QVariantMap instead.
Closes #2849 .
10 years ago
Gabriele
4db757839c
WebUI: Return full path to files
...
It's otherwise impossible to know the structure of a torrent.
10 years ago
buinsky
cf55751fbe
Group setting torrents upload limit
10 years ago
buinsky
facab1681a
Add ability to set super seeding mode for torrents
10 years ago
buinsky
28f573e9a8
Fix processHash function
...
Fix processHash function to not use QVariantHash as result because of QJsonDocument doesn't support QVariantHash variables in Qt 5.
10 years ago
buinsky
8931eec5b0
Use server refresh interval
...
Use torrents table refresh interval from server in web-client.
10 years ago
buinsky
0f56440dec
Fix alternative speed limits toggle behavior
10 years ago
buinsky
d17f21af45
Queueing flag relocation in sync/maindata response
10 years ago
Gabriele
09c8d17c94
WebUI: Fix negative offsets when requesting torrent list
...
If the offset is negative, it must be added to the current list size.
10 years ago
sledgehammer999
eeee24a0b3
Make 'TorrentPersistentData' similar to 'Preferences' class.
10 years ago
Ivan Sorokin
e3349092ad
Refactor TorrentPersistentData
...
Conflicts:
src/mainwindow.cpp
src/mainwindow.h
src/qtlibtorrent/qbtsession.cpp
src/qtlibtorrent/qtorrenthandle.cpp
src/transferlistwidget.cpp
src/webui/btjson.cpp
10 years ago
buinsky
383c0e1418
Implement sync/maindata request
10 years ago
buinsky
bf0f9dd275
Implement functions for generating partial responses of requests.
10 years ago
buinsky
04f1c0c238
WebUI: Change torrent model
...
Improvements:
- added functions, which may be used to reorder and hiding columns in torrents table
- new columns can be easily added to torrents table
10 years ago
Gabriele
f45e48c32a
WebUI: Show connection status in the statusbar
10 years ago
Gabriele
f1477319ef
WebUI: Show DHT nodes in the statubar
10 years ago
Gabriele
2aa344bb0a
WebUI: Add missing comments
10 years ago
Gabriele
b3a537f575
WebUI: Don't cache transfer info values
...
In this way speed limits are instantly updated.
10 years ago
Gabriele
f775e68666
WebUI: Use correct max ratio value
...
Closes #183 .
10 years ago
buinsky
364e4277ec
Show upload and download limits in status bar
10 years ago
buinsky
2a712a81ea
Add sequential downloading menu items
10 years ago
buinsky
6644791458
Follow project coding style. Issue #2192 .
10 years ago
Vladimir Golovnev (Glassez)
e279dcf904
WebUI: Implement limit/offset.
10 years ago
Vladimir Golovnev (Glassez)
59ff08c107
WebUI: Implement server-side sorting.
10 years ago
Vladimir Golovnev (Glassez)
1a1db877bf
Use QTorrentHandle::torrentState() in btjson.
10 years ago
Vladimir Golovnev (Glassez)
5edf0e251f
WebUI: Implement server-side torrent filtering.
10 years ago
Vladimir Golovnev (Glassez)
c24610ec80
WebUI: Improve btjson.* indentation.
10 years ago
buinsky
5e8c62e539
Add "Speed in title bar" item to menu
...
* file: src/Icons/oxygen/checked.png
copyright: Victor Buinsky <allok.victor@gmail.com>
10 years ago
buinsky
b2876b7f66
Show speed in title
10 years ago
Gabriele
aedf579d77
WebUI: make API locale independet
...
Sizes are now given in bytes.
Dates are Unix timestamps and converted to ISO 8601 in the web UI.
Numbers are not converted to strings.
-1 is returned for undefined values.
Some keys have been splitted:
Torrent list (json/torrents)
* num_seeds: Torrent seeds connected to
* num_complete: Torrent seeds in the swarm
* num_leechs: Torrent leechers connected to
* num_incomplete: Torrent leechers in the swarm
Torrent generic properties (propertiesGeneral/hash)
* total_uploaded: Total data uploaded
* total_uploaded_session: Total data uploaded this session
* total_downloaded: Total data dowloaded
* total_downloaded_session: Total data downloaded this session
* time_elapsed: Torrent elapsed time
* seeding_time: Torrent elapsed time while complete
* nb_connections: Torrent connection count
* nb_connections_limit: Torrent connection count limit
Global transfer info (json/transferInfo)
* dl_info_speed: Global downalod rate
* dl_info_data: Data downloaded this session
* up_info_speed: Global upload rate
* up_info_data: Data uploaded this session
Closes #1524 .
10 years ago
Ivan Sorokin
16eb407453
Split src/torrentpersistentdata into .h and .cpp
10 years ago
sledgehammer999
9b71e4ffc9
Use the correct character encoding for exceptions coming from libtorrent.
10 years ago
Ivan Sorokin
de5f38a160
Speedup compilation speed
...
libtorrent has a relatively heavy headers, that take lots of time to
process. This commit removes unnecessary includes of libtorrent headers
and replaces them with forward declarations.
I had to move some functions in QBtSession from slots to regular
functions because moc'ed file want to see complete types of all
parameters of slots.
"time make" of full rebuild before this series of commits:
real 13m35.937s
user 12m1.295s
sys 1m25.908s
after:
real 10m54.390s
user 9m31.167s
sys 1m12.580s
10 years ago
sledgehammer999
d44df4f985
Don't localize double numbers in the webui. Closes #1525 .
10 years ago
sledgehammer999
a361c0ea03
Use the torrent_status for the queue_position too.
11 years ago
Vladimir Golovnev (Glassez)
9f310318c2
Use new JSON parser/generator.
...
Qt4: Use QJson (http://qjson.sourceforge.net ).
Qt5: Use native Qt JSON API.
11 years ago
Ivan Sorokin
329b754197
cache torrent_status
11 years ago
Ivan Sorokin
bbc4080a5d
fewer calls to hash()
11 years ago
Nick Tiskov
cb7f35d994
Update WebUI classes
...
Guaranteed to show paths with native separators to user
11 years ago
sledgehammer999
441d1d08ba
Convert more accurately decimal numbers to text.
11 years ago
sledgehammer999
0f298397b3
Simplify various if-else and QString::number.
11 years ago
sledgehammer999
d09b0d5f72
Fixed rounding bugs with floating numbers.
11 years ago
Christophe Dumez
4d601f5383
Fix build with Qt < 4.7
12 years ago
Tilka
ca26cc0000
Fix torrent transfer stats, 2nd try
...
The constants themselves were also mixed up.
13 years ago
Tilka
00f40e6771
Fix torrent transfer stats
13 years ago