Chocobo1
f3ce76110b
Simplify code
...
Instead of using dict_find_list() now we use the simpler dict_find()
since we are going to check its validness anyway.
5 years ago
Chocobo1
3a11c23efd
Fix wrong "added on" date
...
This only happens for magnet links when its metadata has yet to be retrieved.
Closes #11124 .
5 years ago
Chocobo1
0891cd4878
Avoid unecessary copying the parameter
...
Using forwarding reference here so that we won't get unnecessary copies
of the parameter passed to `slot`, for example a lambda function.
5 years ago
Chocobo1
aeabd2d625
Clean up PeerListWidget class
5 years ago
Chocobo1
8d0d8e4dcb
Improve embedded tracker
...
Now it conforms to BEPs more closely.
5 years ago
Chocobo1
fba72f5fb7
Simplify code
5 years ago
Chocobo1
bbecf87292
Handle invalid time activity properly
...
When there is no activity before m_nativeStatus.last_upload will be 0
and this commit will map it to -1 which retain the expected behavior as
before (libtorrent < 1.2 era).
5 years ago
thalieht
e26573d97f
Use FileSystemPathEdit in automated rss downloader
5 years ago
Thomas Piccirello
7047974132
Extract WebUI localStorage access into class
5 years ago
Chocobo1
863c9f9876
Speed up lookup operation in TransferListModel
...
Previously lookup is O(n), add operation is O(n), remove operation is
O(n).
Now lookup is O(1), add operation is O(1), remove operation is O(n).
n is the number of torrents already recorded.
5 years ago
Chocobo1
9c964cdd97
Fix using out-of-bounds of indexes
5 years ago
Chocobo1
e3483c62ca
Remove explicit conversion to QVariant
5 years ago
Chocobo1
1f3bf75fff
Better on-demand reloading of torrent data
5 years ago
Chocobo1
94f7a095bb
Implement proper equal operators
5 years ago
Chocobo1
f907328bdc
Add const to class function
5 years ago
Chocobo1
230949ee3b
Cache and reuse detected MIME type
5 years ago
Chocobo1
b34d90df0b
Fix translation issues
...
By using disambiguation field instead of comment field to differentiate
translations.
5 years ago
Vladimir Golovnev (Glassez)
e649559650
Allow to refresh RSS item(s) via WebAPI
5 years ago
Tom Piccirello
bed143cafa
Don't save preferences until all options are processed
5 years ago
Thomas Piccirello
085ae05f19
Move WebUI views into separate folder
5 years ago
Thomas Piccirello
f214dd233b
Rename WebUI content files
5 years ago
Thomas Piccirello
b3f9b9e9b2
Rename WebUI toolbar files
5 years ago
Thomas Piccirello
3f8f9a3962
Remove html tags from inline page
...
This page's content is inserted into the existing page, so the presence of an <html> tag is incorrect.
5 years ago
Thomas Piccirello
feb1570c48
Simplify function implementation
5 years ago
thalieht
1f6f1716ad
Enable Super Seeding mode once ratio/time limit is reached
5 years ago
Chocobo1
6ac36368cd
Update user agent string
5 years ago
Chocobo1
0b6c1694b4
Update python installer URL
5 years ago
Chocobo1
8d6b9b6181
Revise sort model and delegate code
5 years ago
Chocobo1
061219d0a2
Simplify code
5 years ago
Chocobo1
c420ff29af
Revise operations in TorrentHandle class
5 years ago
Chocobo1
b5b678c58f
Replace QString::split() by faster alternatives
5 years ago
Chocobo1
c61116882b
Clean up TransferListModel class
5 years ago
Chocobo1
dcf632b39c
Remove redundant margin properties
...
Those are the same with the default values.
5 years ago
Chocobo1
672b44acba
Let OS assign listening port
...
This applies when "Use different port on startup" option is selected.
5 years ago
Chocobo1
c19f8f6b5e
Use a randomized port number for the first run
5 years ago
Vladimir Golovnev (Glassez)
6bfa4370b7
CMake: Fix Windows build
5 years ago
airium
2ded6dc636
Sort torrent names case-insensitively in webui
5 years ago
Thomas Piccirello
6b1481d328
Increase WebUI window heights
...
Using a max height of 600px to avoid unnecessarily tall windows.
5 years ago
Thomas Piccirello
b829a0c687
Support exclusions in WebUI table filters
...
Closes #10241
5 years ago
Chocobo1
d92bf13706
Use a QString directly instead of QStringList
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Thomas Piccirello
378504de2b
Remove Qt bug workaround
...
The Qt bug is fixed in 5.7.1, while we require Qt >= 5.9.0.
5 years ago
Thomas Piccirello
0fa28f233f
Add ability to add and ban a peer from the Web UI
5 years ago
Chocobo1
f4e7b8c6bf
Replace QMap with QHash
5 years ago
Chocobo1
c004a84f84
Avoid redundant actions/conversions
...
QSet::contains(QSet &) isn't doing anything magical it still has the usual loop
inside, so lets just save all the container conversions and do the loop ourselves.
5 years ago
Chocobo1
a3ca277eaf
Avoid back and forth string conversions
5 years ago
Thomas Piccirello
60a1835813
Display files hierarchically in Web UI content tab
5 years ago
Chocobo1
2346bc8f7c
Replace obsoleted QDateTime::toTime_t()
5 years ago
Chocobo1
cfe83275d3
Avoid redundant data copy by using JSON objects directly
5 years ago
Chocobo1
f6ee96ed83
Replace QVariantMap by QVariantHash
5 years ago