Chocobo1
dbfd6a2368
WebUI: enforce coding style
...
Actually, not all of them but some that can be enforced by eslint.
The changes are made by eslint with minor manual tweaking.
PR #17046 .
3 years ago
Chocobo1
5af96943e3
Merge pull request #17045 from Chocobo1/cleanup
...
Fix compilation with qmake
3 years ago
Hampton Ford
05325b135d
Fix and improve the docs
...
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
PR #17034 .
3 years ago
Chocobo1
9d858d5cd7
Fix compilation with qmake
...
Fix up 7c35904062
.
3 years ago
Chocobo1
e82c50ed73
Clean up code
3 years ago
Chocobo1
538c88ced4
Improve logic when interfacing settings with combobox
...
PR #17023 .
3 years ago
Chocobo1
7c35904062
Use stacktrace dialog when GUI is enabled
...
PR #17022 .
3 years ago
Chocobo1
5c3c6b63ba
Migrate to Boost.Stacktrace
...
PR #17014 .
3 years ago
Coda
e698c09298
Allow to use POSIX-compliant disk IO type
...
This patch allows user to switch disk IO type between memory mapped files based type (default in libtorrent 2, and seems causing memory issues) and POSIX-compliant type which is more conservative on memory usage.
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
Co-authored-by: Vladimir Golovnev (Glassez) <glassez@yandex.ru>
PR #16895 .
3 years ago
Vladimir Golovnev
a048ea668f
Use uniform way to export .torrent files
...
PR #17013 .
3 years ago
Vladimir Golovnev
5af78ad2cd
Preserve "skip hash check" when there is no metadata
...
When torrent is added without metadata libtorrent doesn't honor "seed mode" and doesn't save it in resume data so when metadata is available torrent will still check file hashes. This patch will add a logic that preserves originally enabled "seed mode" until the metadata is received.
PR #17009 .
3 years ago
Vladimir Golovnev
338e89176d
Mark all files as complete if torrent is in "seed mode"
...
Fixes regression of bcfa486
.
Closes #16999 .
PR #17008 .
3 years ago
itlezy
a266599118
Add keyboard navigation keys
...
* Added keyboard navigation keys for context menu with `&`
* Added `CTRL+M` for force resume.
PR #16988 .
Co-authored-by: itLezy <itLezy@users.noreply.github.com>
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru>
3 years ago
Chocobo1
80f624e4cc
Merge pull request #17004 from Chocobo1/fixes
...
Improve compatiability with various platforms
3 years ago
Chocobo1
002d56d8b3
Fix type mismatch
...
msys2 was reporting the following error:
```
D:/a/qbittorent_msys2/qbittorent_msys2/src/qBittorrent/src/app/application.cpp: In member function 'void Application::applyMemoryWorkingSetLimit()':
D:/a/qbittorent_msys2/qbittorent_msys2/src/qBittorrent/src/app/application.cpp:777:36: error: no matching function for call to 'min(unsigned int, long unsigned int)'
777 | const SIZE_T minSize = std::min((64 * MiB), (maxSize / 2));
| ~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
```
3 years ago
Chocobo1
be4a1e7fd7
Suppress wrong print specifier
...
By removing unimportant debug message.
3 years ago
Chocobo1
a0a45333f1
Don't use old style casts
3 years ago
Chocobo1
dba998fea0
Don't use hardcoded path for temp folder
3 years ago
Chocobo1
fe2b49cf81
Merge pull request #16992 from Chocobo1/compose
...
Add script for docker-compose
3 years ago
Chocobo1
c90f1511dc
Merge pull request #16987 from Chocobo1/hardening
...
Improve docker script
3 years ago
Chocobo1
763d17281f
Bump boost requirement to 1.71
...
This is a prerequisite for using boost stacktrace.
Note that this is not the first version that introduces boost stacktrace but the version that
should be stable enough.
PR #16986 .
3 years ago
Chocobo1
1ae5339c33
Add script for docker-compose
3 years ago
Chocobo1
7562e0e870
Add support for search engine
...
Also mount /tmp as writable, this is required by qbt and not just for
the search engine functionality.
3 years ago
Chocobo1
0e456f33c1
Run qbt-nox as non-root
...
This is mainly to avoid downloaded files being owned by root which
requires another one or two commands to change the file ownership.
3 years ago
Chocobo1
6778d36454
Make the container filesystem read-only
...
It is not expected to modify the filesystem of the container.
Mounted volumes (-v) are not affected.
3 years ago
Chocobo1
bc54860ad6
Avoid using valid path for illustrative purpose
...
Otherwise docker will really create this example path on host machine
which is bad.
3 years ago
Chocobo1
4894578b72
Improve Docker build
...
* Improves code readability.
* Improve documentation.
* Fix "docker stop" doesn't terminate qbt gracefully which could lead to
data corruption.
* Provide correct/working bittorrent listening port by default.
* Make use of qbt profile option instead of hacking environment
variables.
* Simplify build steps.
PR #16976 .
3 years ago
Tom Piccirello
fb7f7d0c75
Add support for exporting .torrent from WebUI
...
PR #16968 .
3 years ago
Tom Piccirello
48fa4e116c
Fix Docker legal notice when using existing config
...
If the user is using a pre-existing config, don't update the legal notice.
PR #16974 .
3 years ago
Chocobo1
e9d3928fe0
Store WebUI port setting in human readable number
...
Previously it was wrapped in QVariant type.
PR #16977 .
3 years ago
Chocobo1
2a6f02fa29
Fix empty selection in WebUI language combobox
...
This mostly happens with a clean install.
PR #16978 .
3 years ago
summer
ce0e5be7ce
Increase limit of maximum number of articles per feed
...
Closes #16690 .
PR #16698 .
Co-authored-by: An0n <79678786+an0n666@users.noreply.github.com>
3 years ago
Tom Piccirello
a8b6a40f13
Separate docker image data and config dirs
...
PR #16972 .
3 years ago
Chocobo1
88a91e0769
Merge pull request #16971 from Chocobo1/dialog
...
Move stacktrace dialog to gui folder
3 years ago
Chocobo1
21f4676b16
Rename method
3 years ago
Chocobo1
bb2a874fd5
Reset widget property to default
...
This property wasn't been customized.
3 years ago
summer
56667e717b
Prevent the new update box from blocking input on other dialogues
...
PR #16678 .
3 years ago
Chocobo1
caaaa05710
Move conditionals to the bottom
3 years ago
Chocobo1
d69e6bb7aa
Move stacktrace dialog to gui folder
3 years ago
Chocobo1
a1903e5d67
Delete unreachable code
3 years ago
Chocobo1
64d8db0c93
Move system signal related functions to its own file
...
And revise "signal safe print" function.
PR #16953 .
3 years ago
summer
7b608fd0c9
Reduce the number of hashing threads by default
...
This seems to be the culprit responsible for slower hash rate in RC2_0 releases.
https://github.com/qbittorrent/qBittorrent/issues/16043#issuecomment-1113774868
PR #16951 .
3 years ago
Chocobo1
19cbffb5e2
Remove artificial max limits from "Torrent Queueing" related options
...
Closes #16936 .
PR #16942 .
3 years ago
Chocobo1
c5ea6b0502
Merge pull request #16941 from Chocobo1/msvc
...
Fix nogui compilation for Windows
3 years ago
Chocobo1
639ed40314
Disable Linux-specific function when compiling for Windows
3 years ago
Chocobo1
c5cbda0bbe
Avoid splitting code over `ifdef` boundary
...
By removing unimportant debug message.
3 years ago
Chocobo1
59e37210f3
Use correct type for comparisons
...
`_write()` actually returns `int` type.
And fix wrong function parameters.
Closes #16938 .
Closes #16944 .
3 years ago
Chocobo1
9351f66c26
Add support for exporting .torrent data to buffer
...
Related: https://github.com/qbittorrent/qBittorrent/pull/16886#discussion_r855882018
PR #16931 .
3 years ago
Vladimir Golovnev
7432c4dbfe
Merge pull request #16922 from glassez/avoid-blocking
...
Avoid some blocking calls to libtorrent
3 years ago
Vladimir Golovnev (Glassez)
1069bea273
Cache native torrent info to avoid extra blocking calls
3 years ago