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
Vladimir Golovnev
b676ca7d96
Merge pull request #14108 from thalieht/webui-options-content-layout
...
Update "Keep top-level folder" in WebUI options
4 years ago
sledgehammer999
90f355cfaf
Merge pull request #14094 from Chocobo1/autotools
...
Migrate away from deprecated `AC_OUTPUT` macro
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
Chocobo1
50a2cc9917
Exclude configure script for "trailing newlines" checking
4 years ago
Chocobo1
5209b0172b
Migrate away from deprecated `AC_OUTPUT` macro
...
The `AC_OUTPUT` has two versions, the deprecated one takes arguments and the other not. Check the
following link for equivalent replacement:
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/Obsolete-Macros.html#Obsolete-Macros
Also regenerate the configure script with the latest Autoconf 2.70.
4 years ago
Mike Tzou
cfb55d9d77
Merge pull request #14005 from Chocobo1/cpp17
...
Bump project requirement to C++17
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
e8b5508463
Remove unused define
4 years ago
Chocobo1
d70b893852
Bump project requirement to C++17
4 years ago
Mike Tzou
a579b4a519
Merge pull request #14085 from Chocobo1/settingvalue
...
Add a thin layer around SettingsStorage class
4 years ago
sledgehammer999
fffa2f097e
Merge pull request #14069 from sledgehammer999/new_languages
...
Add new languages
4 years ago
Vladimir Golovnev
cabb2198b0
Merge pull request #14097 from glassez/fix-webui
...
Don't call non-existent elements (part 2)
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
Vladimir Golovnev
f1337524f6
Merge pull request #14089 from glassez/fix-webui
...
Don't call non-existent elements
4 years ago
Vladimir Golovnev
348109a1f9
Merge pull request #13995 from glassez/rename-files
...
Improve content file/folder names handling
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
Mike Tzou
cc9b1ea8a1
Merge pull request #14073 from Chocobo1/locale
...
Capitalize locale names
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
Mike Tzou
60d65d8137
Merge pull request #13885 from thalieht/torrentOptionsDialog
...
Rework global speed limit dialog and introduce torrent options dialog
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
Vladimir Golovnev
70b242f190
Merge pull request #13955 from glassez/content-policy
...
Improve content root folder handling
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
Mike Tzou
e1073de36f
Merge pull request #14039 from Chocobo1/stats
...
Don't use removed stat metric in libtorrent 2.0
4 years ago
Mike Tzou
ae48e49cba
Merge pull request #14042 from Chocobo1/array
...
Fix wrong JSON type returned
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
Mike Tzou
02e85913da
Merge pull request #14035 from Chocobo1/autotools
...
Don't use default CFLAGS, CXXFLAGS from autotools
4 years ago
Vladimir Golovnev (Glassez)
1d5dc283fe
Allow to add root folder to torrent content
4 years ago
Chocobo1
769f0a78d4
Don't use default CFLAGS, CXXFLAGS from autotools
...
Before this commit, autotools will inject `-g -O2` to debug build
(`--enable-debug=yes`) and rendering the result binary useless. This
commit fixes it.
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/C_002b_002b-Compiler.html
Closes #14032 .
4 years ago
Vladimir Golovnev
4029f86c60
Merge pull request #14025 from glassez/fix-move
...
Fix bug of "move storage job" can be performed multiple times
4 years ago
Vladimir Golovnev (Glassez)
f6d1fea9b7
Fix bug of "move storage job" can be performed multiple times
4 years ago
Mike Tzou
fa6524d377
Merge pull request #13969 from Chocobo1/cmp
...
Migrate away from deprecated QVariant comparison operators (part 2)
4 years ago