Vladimir Golovnev (Glassez)
7a8c05dc7c
Improve tracker entries handling
4 years ago
Vladimir Golovnev (Glassez)
e2c785b2d5
Accept "share limits" when adding torrent using WebAPI
4 years ago
Chocobo1
5161758193
Expose ToS setting from libtorrent
...
Closes #14420 .
4 years ago
Vladimir Golovnev (Glassez)
bea32cfe38
Define template for classes that represent SHA hashes
4 years ago
Vladimir Golovnev (Glassez)
8cfd803222
Drop implicit conversions between InfoHash and QString
4 years ago
Chocobo1
f00f552369
Properly stop torrent creation if aborted
...
Closes #11346 .
4 years ago
Chocobo1
e1f9083c81
Improve detection of filename extension of audio/video files
4 years ago
Michał Kopeć
614376ed64
Add an option to disable icons in menus
4 years ago
Chocobo1
4a0b36a50b
Use std::optional to return results
4 years ago
Chocobo1
fffe5e7003
Fix potential out-of-bounds access
4 years ago
Chocobo1
e46c88580a
Revise getter function for torrrent queue position
...
This addresses https://github.com/qbittorrent/qBittorrent/pull/14335#issuecomment-774667836
The WebAPI is not affected as a workaround is added.
4 years ago
Chocobo1
6a45919b25
Clean up coding style
4 years ago
Vladimir Golovnev (Glassez)
c3f02d833c
Restart "missing files" torrents after changing location
4 years ago
Vladimir Golovnev (Glassez)
e273ac3a0d
Allow "missing files" torrents to save more resume data
4 years ago
Vladimir Golovnev (Glassez)
459d02abc8
Allow change-case-only file renaming on Windows
4 years ago
dyumin
12d396ffc5
Treat errored torrents as finished
4 years ago
an0n666
24d7d599f1
Validate HTTPS Tracker Certificate by default
4 years ago
Vladimir Golovnev (Glassez)
ae29e8bbab
Drop extension from generated content folder name
...
Try to detect whether generated content folder name contains extension
and drop it to avoid possible conflicts between file/folder names.
4 years ago
Chocobo1
1479b61214
Simplify code for checking free disk space
...
`QStorageInfo::bytesAvailable()` is guaranteed to return `-1` for an
invalid path.
https://doc.qt.io/qt-5/qstorageinfo.html#bytesAvailable
4 years ago
Chocobo1
15a249eb54
Improve detection of file extension string
4 years ago
Vladimir Golovnev (Glassez)
f9e286123f
Raise minimum libtorrent version to 1.2.12
4 years ago
Chocobo1
302cb27e98
Add script for generating project tarball
4 years ago
lbilli
2d3481b9a9
On Linux use legacy 'data' directory only as a fallback
4 years ago
Chocobo1
24fa9e32b0
Set source character sets to UTF-8
...
This suppress warning C4819.
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-160
4 years ago
Vladimir Golovnev (Glassez)
0b4fef19f6
Remove redundant suffix from TorrentHandle class
...
Originally, it was just a wrapper for libtorrent::torrent_handle class, so it mimicked its name.
It was then transformed into a more complex aggregate, but the name was retained (just by inertia).
Unlike libtorrent::torrent_handle class in whose name "handle" means the pattern used,
it does not matter for qBittorrent classes and just eats up space in the source code.
4 years ago
Vladimir Golovnev (Glassez)
531ae501ad
Use std::optional<bool> instead of custom TriStateBool
4 years ago
Vladimir Golovnev (Glassez)
d0cac421bb
Change parseBool() to return optional bool value
4 years ago
Vladimir Golovnev (Glassez)
4429a16ca8
Use std::optional instead of boost::optional
4 years ago
Chocobo1
c669401767
Generate version header when configuring project
...
The basic idea is we create a version header template at
"src/base/version.h.in" and the build systems are expected to replace
strings that are enclosed with @ symbols and generate
"src/base/version.h" for other source files to consume/include.
4 years ago
Vladimir Golovnev (Glassez)
ee5fe424e8
Use single parameter to accept torrent source
4 years ago
Vladimir Golovnev (Glassez)
552ff0489d
Use nested namespaces definition syntax
4 years ago
Chocobo1
bdf1fb6db8
Revise store/load state operations of Options Dialog
4 years ago
Chocobo1
be5af2796d
Revise SettingsStorage store/load value interface
4 years ago
Chocobo1
b1020c599f
Improve load data behavior of SettingsStorage class
...
Previously it only handle the case of failed lookup, now it discard
invalid values when deserializing the database from disk.
Also checks whether the data is convertible to the intended type.
4 years ago
Vladimir Golovnev (Glassez)
b2199202ab
Reload "missing files" torrent instead of re-checking
4 years ago
Vladimir Golovnev (Glassez)
06105072f9
Extract torrent reloading logic into separate method
4 years ago
Chocobo1
e022c371ff
Move parsing of TriStateBool to a static class function
4 years ago
Vladimir Golovnev (Glassez)
df2bbe129d
Drop notification about move storage failed
4 years ago
Vladimir Golovnev (Glassez)
f7cae610a4
Drop notification about move storage finished
4 years ago
Chocobo1
5bd6ff2285
Migrate away from deprecated `std::iterator` class
4 years ago
Chocobo1
d70b893852
Bump project requirement to C++17
4 years ago
Chocobo1
0b0597be0c
Add a thin layer around SettingsStorage class
...
This new layer would be handy for saving GUI widget states as they don't
need the value cached and they store/load rarely.
4 years ago
sledgehammer999
ffebe82586
Add new languages
...
* Azerbaijani
* Estonian
4 years ago
Vladimir Golovnev (Glassez)
4453e7fcdd
Improve content file/folder names handling
...
Move files/folders renaming functions to core classes.
Query file/folder for renaming by its current path.
Add ability to rename content folders from WebAPI/WebUI.
4 years ago
Chocobo1
c8eefe749f
Capitalize locale names
4 years ago
Vladimir Golovnev (Glassez)
79048812e9
Fix folder name extraction functions
...
It should return empty string if there is no parent folder.
4 years ago
thalieht
8db4bde15d
Group several torrent options into one dialog
...
Speed limits, share limits and the new options to disable DHT, PeX, LSD per torrent
4 years ago
thalieht
fbb8f0cbf5
Save fastresume when setting torrent speed limits
4 years ago
Chocobo1
4180db601d
Use a helper function to look up stat indexes
4 years ago
Chocobo1
90a1ea4281
Don't use removed stat metric in libtorrent 2.0
...
For now, the metric is not entirely removed due to WebAPI still needs to
access it.
4 years ago