summer
2071ec0c96
Fix peer count issue when tracker responds with zero figure
...
Sometimes tracker may respond with 0 for num_complete and num_incomplete and we should display that instead of deducing the peer count from peer list. We should only fallback to peer list if tracker does not respond with any information. In such cases num_incomplete and num_complete is set to -1 by libtorrent.
PR #17432 .
2 years ago
Chocobo1
36bc77e2e2
Merge pull request #17416 from Chocobo1/icon
...
Split code to smaller functions
2 years ago
Chocobo1
88556078be
Merge pull request #17412 from Chocobo1/stat
...
Improve free disk space reporting
2 years ago
Chocobo1
27a07e20f5
Split code to smaller functions
2 years ago
Chocobo1
5d1115f591
Remove compile-time conditional
...
This checking should be universally applied and not limited to certain OS.
2 years ago
Chocobo1
88d9e82fc9
Improve free disk space reporting
...
For non-existent directories (which will be created on demand) `Utils::Fs::freeDiskSpaceOnPath`
will return invalid value so instead query its parent path.
2 years ago
Chocobo1
50b01ed45d
Revise function for checking "same file"
2 years ago
Chocobo1
243d130667
Clean up code
2 years ago
Chocobo1
e33f73d08e
Avoid performance impact over network or removable drives
2 years ago
Chocobo1
f505d742d8
Merge pull request #17392 from Chocobo1/validatePath
...
Fix path validator
2 years ago
Chocobo1
727d20cc92
Simplify implementation
...
This also enable each platform to provide its own optimal implementation of it.
2 years ago
Chocobo1
3567ae3529
Merge pull request #17407 from Chocobo1/addtorrent
...
Fix "Add torrent dialog" spill-over on smaller screens
2 years ago
Chocobo1
a9906e5d2a
Fix validation text doesn't update on mouse click selection
2 years ago
Chocobo1
6ab35512da
Fix browse icon cannot be selected/focused via keyboard
2 years ago
Chocobo1
cfcbe3d6e1
Use less intimidating icon for intermediate state
2 years ago
Chocobo1
39c0c1a088
Simplify operations
2 years ago
Chocobo1
f7ae010274
Rename interface
2 years ago
Chocobo1
4fd5037c10
Avoid redundant operation
...
The default is the same as the one specified here.
2 years ago
Chocobo1
3fe09aa673
Fix path validator
...
And revise tooltip message.
Closes #11152 .
2 years ago
Chocobo1
3a6858a277
Adjust height to hide scrollbar by default
2 years ago
Chocobo1
c287c7bb01
Revise action capitalization
2 years ago
Chocobo1
99061d92c1
Fix "Add torrent dialog" spill-over on smaller screens
...
Done by adding an QScrollArea to the layout.
Closes #17387 .
2 years ago
Vladimir Golovnev
5b269a782a
Prevent tray menu from being accessed after destruction
...
PR #17400 .
2 years ago
xavier2k6
71e53a4628
Raise minimum libtorrent version to 2.0.7
...
PR #17396 .
2 years ago
Chocobo1
275387a972
Don't show validation result dialog on every key input
...
Instead of showing dialog, now it relies on icon to show the validation
result.
PR #17391 .
2 years ago
Chocobo1
e68e3b516e
Improve performance of "filesystem line edit" widgets
...
Also prevent unnecessary querying on the filesystem by omitting
calling setRootPath().
2 years ago
summer
3f7376f26b
Add transfer list refresh interval settings to WebUI
...
Specially useful for qbt-nox users
PR #16713 .
Co-authored-by: An0n <79678786+an0n666@users.noreply.github.com>
2 years ago
summer
0e3ce019e4
Update libtorrent to 2.0.7 & 1.2.17 in GHA CI
...
PR #17385 .
2 years ago
Dmitry Vodopyanov
f20f479a4b
Improve sender field in mail notifications
...
Problem statement: user sees its email address in email notification,
while it is better to have sender field app-personalized, like it did
in Nextcloud: they send notifications from user's email address and
add alias 'Nextcloud' to it.
This patch adds alias 'qBittorrent' to qBittorrent email notifications,
so user sees more user-friendly email notification.
PR #17374 .
2 years ago
Chocobo1
e95066a37c
Merge pull request #17367 from Chocobo1/pr_17005
...
Split the OS cache settings into Disk IO read/write modes
2 years ago
Chocobo1
e281b667c6
Properly release settings class before further operations
...
Fix up d3e7e8a630
.
PR #17376 .
2 years ago
Chocobo1
ce0e92e12a
Merge pull request #17363 from Chocobo1/pause
...
Add workaround for payload upload/download rate
2 years ago
Chocobo1
56bb379024
Add workaround for payload upload/download rate
...
The graphs are showing 0 for both payload upload & download rate but
torrent statistics aren't, so suppress it manually.
The workaround only applies to paused state for now.
Closes #17294 .
2 years ago
Chocobo1
bafe4e909c
Use `switch()` statement
2 years ago
Chocobo1
b6b0b54cdb
Rename variable
2 years ago
xavier2k6
a9a45b9569
Sync flag icons with upstream
...
* Contains numerous flag fixes.
* Upstream commit: `494ace54e3c413dcebcb071f583b441b267c984f` - (Release v6.6.3)
* Update `AUTHORS` file with upstream `copyright/repo url change`
PR #17199 .
2 years ago
Chocobo1
864d806ee8
Merge pull request #17359 from Chocobo1/testnaturalcmp
...
Add testing for various classes
2 years ago
summer
4cda5d89fb
Clean up WebUI preferences
...
PR #17319 .
2 years ago
summer
5b730ffb72
Split the OS cache settings into Disk IO read/write modes
...
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
2 years ago
nmariusp
e2b140b8dd
Remove meaningless checking for nullptr
...
Fix PVS-Studio issue "rss_autodownloader.cpp:111: warning: V668
There is no sense in testing the 'm_fileStorage' pointer against null,
as the memory was allocated using the 'new' operator.
The exception will be generated in the case of memory allocation error".
PR #17347 .
2 years ago
Chocobo1
d2a29c2f87
Correctly remove incomplete settings file
...
PR #17362 .
2 years ago
Chocobo1
60e62dc5ab
Add testing for various classes
2 years ago
Chocobo1
4f1684c714
Bump libtorrent requirements to 2.0.6
2 years ago
Vladimir Golovnev
d3e7e8a630
Refactor SettingsStorage implementation
...
Remove redundant fragmentation of logic.
PR #17354 .
2 years ago
Pino Toscano
437ddd3f76
Stop installing app icon in pixmaps location
...
Since the application icons are already installed in
the global XDG hicolor theme, simply stop installing the 128px one
in the pixmaps location.
PR #17342 .
2 years ago
Chocobo1
0d715d879d
Specify test files manually
...
So that cmake will detect file changes automatically and therefore we
don't need to re-invoke cmake manually.
2 years ago
Vladimir Golovnev
cfdf5cffac
Show remote access info after it is available
...
PR #17329 .
2 years ago
Chocobo1
d6314b30a2
Merge pull request #17341 from Chocobo1/tray
...
Revise behavior of initializing checkboxes
2 years ago
Chocobo1
03da68b1cf
Add support for unit testing
...
* Downgraded macOS CI to Qt 6.2.0 due to a bug in Qt Test module
* Revised cmake build scripts
* For now, only building via cmake is supported
PR #17338 .
2 years ago
Vladimir Golovnev
890630944d
Extract desktop integration stuff into separate class
...
PR #17313 .
2 years ago