jagannatharjun
36d7fce909
Correctly set items flags in TorrentContentModel
...
Only set editable flag on item's where editing is handled in the delegate
closes #13515
4 years ago
sledgehammer999
b8d6058b28
Bump copyright year
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
ff63ad8b97
Don't use deprecated locale name
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
757ab3dc92
Remember dialog sizes
...
This applies to "About Dialog", "Ban List Options Dialog", "Download From URL Dialog", "IP Subnet
Whitelist Options Dialog", "Search Plugin Select Dialog", "Search Plugin Source Dialog",
"Statistics Dialog", "Speed Limit Dialog" and "Torrent Options Dialog".
Also unifies storing the dialog size under the key "Size".
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
thalieht
bb698d682c
Update "Keep top-level folder" in WebUI options
4 years ago
Chocobo1
5bd6ff2285
Migrate away from deprecated `std::iterator` class
4 years ago
Chocobo1
e6cf186c23
Use function-pointer based signal-slot connection
4 years ago
Chocobo1
d70b893852
Bump project requirement to C++17
4 years ago
Vladimir Golovnev (Glassez)
3af2168b02
Don't call non-existent elements
...
Fixed a regression where the script tries to access elements that no longer
exist on the page, because they were replaced with others by a previous change.
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
Vladimir Golovnev (Glassez)
690dbc4725
Don't call non-existent elements
...
Fixed a regression where the script tries to access elements that no longer
exist on the page, because they were replaced with others by a previous change.
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
sledgehammer999
162421a59a
Sync translations from Transifex and run lupdate
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
thalieht
aafa12eb6e
Increase maximum global speed limits from ~1 GiB/s to ~2 GiB/s
...
Closer to the INT_MAX limit of ~2 Billion when multiplied by 1024 for libtorrent
4 years ago
thalieht
76f285f19c
Convert existing speed dialog to global + alt global limits only
4 years ago
Chocobo1
4180db601d
Use a helper function to look up stat indexes
4 years ago
Chocobo1
423983e023
Fix wrong JSON type returned
...
Fix up 78638a15be
.
Closes #14041 .
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
Chocobo1
0ebd864db9
Initialize stat indices to -1
...
When the index is initialized it will be set to a number >= 0, so we use
-1 to denote its uninitialized status.
4 years ago
Vladimir Golovnev (Glassez)
1d5dc283fe
Allow to add root folder to torrent content
4 years ago
Vladimir Golovnev (Glassez)
f6d1fea9b7
Fix bug of "move storage job" can be performed multiple times
4 years ago
Chocobo1
78638a15be
Migrate away from deprecated QVariant comparison operators
...
Fortunately, serializing to JSON limits the data types to a very small
subset and thus we are able to implement the comparison without much
hassle.
Fix up cba8d83b21
.
4 years ago
Vladimir Golovnev (Glassez)
d4a51979bb
Extract enum serialization/parsing functions
4 years ago
Vladimir Golovnev (Glassez)
77555cd5c2
Improve torrent name handling
4 years ago
Chocobo1
20ae89c2a1
Add support for `allow_idna` option
...
Upstream PR: https://github.com/arvidn/libtorrent/pull/5316
4 years ago
Chocobo1
0baa23f553
Update "HTTPS tracker validation" enablement conditional
...
https://github.com/arvidn/libtorrent/pull/5313
4 years ago
FranciscoPombal
6152b83405
Use #pragma once instead of include guards
4 years ago
Vladimir Golovnev (Glassez)
5f94238d23
Fix bug of torrents don't save "stopped" state
4 years ago
Chocobo1
4d1d5d6b20
Revise Utils::Version comparison operators
4 years ago
Chocobo1
5ba6a5fca1
Add operator< for InfoHash class
4 years ago
Chocobo1
cba8d83b21
Migrate away from deprecated QVariant comparison operators
...
Another idea would be manually define a custom comparison function for
QVariant. However, having the function would be excessive due to its
limited usage count, also note that we are already casting
various QVariant to its underlying type in existing code.
4 years ago