Chocobo1
29fe0029f0
Rename variables in Session class
5 years ago
Chocobo1
89c58921de
Log error properly
5 years ago
Chocobo1
a3fd340187
Revise Session::getPendingAlerts function signature
5 years ago
Chocobo1
e32ef7f5c5
Use implicit sharing when getting categories from Session class
5 years ago
Chocobo1
865394a59c
Clean up Session class variable initialization
5 years ago
Chocobo1
abb3e7ace0
Move libtorrent session initialization to its own function
...
`m_IPFilteringChanged` default value has changed due to code unification.
5 years ago
Chocobo1
4888b22622
Fix screen scaling factor calculation
...
For some users on Windows the physicalDotsPerInch() could return values
that are smaller than the normal 96 DPI which leads to big dialog sizes
taking the entire screen.
So we need to ensure it is at least 96 DPI.
Closes #11405 , #11407 .
5 years ago
sledgehammer999
009ccbef7f
Bump Web API version
...
Closes #11304
5 years ago
Chocobo1
49266cb9e4
Replace boost::int64_t by std::int64_t
5 years ago
Chocobo1
cbe78baff1
Migrate to lt::error_code
5 years ago
Chocobo1
0d3152e4b0
Clean up "network interfaces configuration" code
5 years ago
Chocobo1
0760398e99
Use screen real physical DPI on Windows
...
Previously was using a hardcoded value which might lead to issues like #11234 .
5 years ago
Chocobo1
021908320e
Preserve relative order when moving to top/bottom in queue
...
Closes #11312 .
5 years ago
Chocobo1
e0a23ba93d
Use InfoHash type in queueing operations
...
This avoids redundant type conversions.
5 years ago
Chocobo1
c632a91ee5
Handle "Delete confirmation" dialog result asynchronously
...
This is to avoid creating nested event loops as discussed in
https://github.com/qbittorrent/qBittorrent/pull/10786#issuecomment-502795822
5 years ago
Chocobo1
36056ad5af
Avoid redundant lookups
5 years ago
Chocobo1
19b6f56a0a
Move DeletionConfirmationDialog class to its own .cpp file
5 years ago
Chocobo1
d76adff81d
Change Session::deleteTorrent() first parameter to take InfoHash type
5 years ago
Chocobo1
7f453a80d3
Revise SessionSettingsEnums wrapper
...
This simplify the wrapper to become a namespace.
5 years ago
Chocobo1
7276a79cef
Call Windows API directly
...
We already bumped the OS requirement to Windows 7 and those functions
can be called directly without the need to load them first.
5 years ago
thalieht
53e7faa47c
Rename share ratio limiting options
5 years ago
thalieht
07eb261991
Add "Remove torrent and its files" option to share ratio limiting
5 years ago
Chocobo1
de7d62c128
Clean up code
5 years ago
Chocobo1
103e2b9398
Use non-recursive mutex
...
The related classes doesn't really need recursive mutex so drop it. And
if it is really required it usually indicates bad design and we should
avoid it anyway.
5 years ago
Chocobo1
58fa5e004f
Improve "stats updated" signal handling in MainWindow class
5 years ago
Chocobo1
72faf89e26
Use the same internal data type for conversion function
5 years ago
Chocobo1
418164bee4
Move "torrent status report" functionality out of Session class
5 years ago
Chocobo1
9968eb53b2
Remove unused signal
5 years ago
Chocobo1
8bbed461a6
Sort signal declarations in Session class
5 years ago
Chocobo1
c7ac96c4f5
Add ability to trigger action via keypad Enter
5 years ago
Chocobo1
4a71b78e2d
Group related code together
...
And also rename local variables.
5 years ago
Chocobo1
2152a81d11
Add ability to open file via keypad Enter
...
Closes #11260 .
5 years ago
Chocobo1
ed62854af7
Add TriStateBool constructor taking a boolean
...
And move the constructor taking an int to private.
5 years ago
xnor
ecc3ff3ca4
WebUI: fix escaping of HTML special characters
...
JS code for torrent general properties, files, peers, trackers inconsistently
escaped HTML special characters, then the dynamicTable inconsistently escaped
again and then the value was set to HTML element text or html properties.
To fix this mess, don't escape any property values in the prop-*.js files.
Instead, make dynamicTable set HTML element text instead of html property by
default. This behavior can be overridden by setting a custom updateTd
function on the respective column, if needed. This is where the HTML escaping
should be done.
Also reordered existing updateTd functions to match column order, changed
custom updateTd functions from setting html to text property wherever possible,
removed custom updateTd functions that turned out to be redundant.
5 years ago
Chocobo1
82276b2a99
Rename variable
5 years ago
Chocobo1
e3b9659fb8
Fix seeding failed after creating a new torrent
...
Closes #11252 .
5 years ago
Chocobo1
4d00435209
Improve error messages for url_seed_alert
...
Closes #10119 .
5 years ago
Chocobo1
fccbc5318a
Drop logging level to warning for web seed errors
5 years ago
Chocobo1
bab953298b
Escape HTML in comment field
5 years ago
Chocobo1
f1243871b0
Remove redundant HTML escaping
...
The text widget is already set to plaintext and doing HTML escaping will
not give us more security but only makes it harder to read.
5 years ago
Thomas Piccirello
9804a2e06a
Fix typo
5 years ago
Thomas Piccirello
1439bcc864
Move JavaScript code into explicit namespaces
...
This cleans up the global namespace by explicitly exporting shared values. All html and JavaScript files have been converted to use explicit exports except for client.js and mocha-init.js
5 years ago
Vladimir Golovnev (Glassez)
cf6e721b00
Allow to retry fetching RSS feeds
5 years ago
Vladimir Golovnev (Glassez)
73ef69526d
Allow to cancel download request
5 years ago
Chocobo1
edcc74c1ae
Add option to align file to piece boundary when creating new torrent
...
Alignment is achieved by adding dummy pad files between files which is
handled by libtorrent.
Closes #10460 .
5 years ago
Chocobo1
5e1e983928
Handle "alerts dropped" alert from libtorrent
5 years ago
Chocobo1
0a959bcbe7
Clean up SettingsStorage::save()
...
Also it should return `true` when `m_dirty` is `false`.
5 years ago
Chocobo1
e7e5ee1ea2
Add const to TransactionalSettings class functions
5 years ago
Chocobo1
daf52a2610
Avoid double lookups
5 years ago
Chocobo1
7113174593
Treat .magnet file extension as case insensitive
...
Closes #11200 .
5 years ago