Vladimir Golovnev (Glassez)
adb0fe6582
WebUI: Correctly represent torrent content structure
2021-01-17 22:50:40 +02:00
Vladimir Golovnev (Glassez)
1880082017
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.
2021-01-17 22:47:00 +02:00
Chocobo1
77f4e6c2cf
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.
2021-01-06 21:36:39 +02:00
sledgehammer999
4563b11a2e
Bump copyright year
2021-01-06 21:36:37 +02:00
Vladimir Golovnev (Glassez)
74bf3af41c
Use std::optional<bool> instead of custom TriStateBool
2021-01-06 21:36:33 +02:00
Vladimir Golovnev (Glassez)
9317071122
Change parseBool() to return optional bool value
2021-01-06 21:36:31 +02:00
Vladimir Golovnev (Glassez)
dab32f2090
Use std::optional instead of boost::optional
2021-01-06 21:36:29 +02:00
Chocobo1
230fedf069
Move parsing of TriStateBool to a static class function
2021-01-06 21:36:14 +02:00
thalieht
7bea10f507
Update "Keep top-level folder" in WebUI options
2021-01-06 21:36:13 +02:00
sledgehammer999
ac8167410b
Add new languages
...
* Azerbaijani
* Estonian
2021-01-06 21:31:44 +02:00
Vladimir Golovnev (Glassez)
26ce187b30
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.
2021-01-06 21:31:43 +02:00
Vladimir Golovnev (Glassez)
2c4e04e537
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.
2021-01-06 21:31:42 +02:00
Vladimir Golovnev (Glassez)
b418f65c2f
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.
2021-01-06 21:31:41 +02:00
Vladimir Golovnev (Glassez)
dd3a8d5d56
Fix folder name extraction functions
...
It should return empty string if there is no parent folder.
2021-01-06 21:31:39 +02:00
Chocobo1
49e54a55df
Capitalize locale names
2021-01-06 21:31:38 +02:00
sledgehammer999
faf6e82274
Sync translations from Transifex and run lupdate
2020-12-26 21:18:40 +02:00
Vladimir Golovnev (Glassez)
c08ec1ac5e
Allow to add root folder to torrent content
2020-12-26 20:27:34 +02:00
Chocobo1
ef92c17192
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.
2020-12-26 20:27:28 +02:00
Chocobo1
a56e6294c1
Fix wrong JSON type returned
...
Fix up 78638a15be .
Closes #14041 .
2020-12-26 20:27:26 +02:00
Chocobo1
73c8b77464
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 .
2020-12-26 20:27:14 +02:00
FranciscoPombal
fdc64d9b38
Use #pragma once instead of include guards
2020-12-26 20:27:10 +02:00
Chocobo1
0b42425db5
Add support for allow_idna option
...
Upstream PR: https://github.com/arvidn/libtorrent/pull/5316
2020-12-26 20:27:08 +02:00
Chocobo1
487eb554c9
Fix coding style
2020-12-26 20:26:59 +02:00
Chocobo1
5a96e1fc7a
Use Qt provided forward declaration header
2020-12-26 20:26:58 +02:00
Chocobo1
177ac32a5e
Use the correct type when referring to info hash
2020-12-26 20:26:55 +02:00
Chocobo1
80743180be
Remove unnecessary restriction on input length
...
Closes #13884 .
2020-12-26 20:26:42 +02:00
Chocobo1
b2847b2381
Update URL to libtorrent settings
2020-12-26 20:26:41 +02:00
Chocobo1
eb657ec032
Move "embedded tracker" options to qbt section
2020-12-26 20:26:39 +02:00
Chocobo1
fc2be601df
Add links to libtorrent documentation
2020-12-26 20:26:38 +02:00
Jesse Chan
4a183dd968
WebAPI: bump version to 2.6.2
2020-12-26 20:26:36 +02:00
Jesse Chan
7c10dba10c
WebAPI: allow to attach tags while adding torrents
2020-12-26 20:26:35 +02:00
Chocobo1
f266184514
Add ability to use 'shift+delete' to delete torrents in WebUI
...
Closes #13827 .
2020-12-26 20:26:24 +02:00
sledgehammer999
c66cf43d6a
Sync translations from Transifex and run lupdate
2020-11-24 17:04:07 +02:00
Thomas De Rocker
5fcfcc901e
Fix confusion in date format description ( #1 )
...
* Update automatedrssdownloader.ui
* Update rssDownloader.html (#2 )
2020-11-24 16:14:15 +02:00
Vladimir Golovnev (Glassez)
1728c16580
Improve coding style
2020-11-24 16:14:14 +02:00
sledgehammer999
7092a98c93
Add Latgalian translation
...
Closes #12415
2020-11-24 16:14:08 +02:00
Chocobo1
b6ab2abf3f
Don't use deprecated torrent state "allocating"
...
Closes #13737 .
2020-11-24 16:14:05 +02:00
Vladimir Golovnev (Glassez)
3edaaa30c9
Handle torrent "paused" state at application level
2020-11-24 16:14:04 +02:00
FranciscoPombal
1e7f792dbb
Fix trailing whitespace in multiple files
...
Also fix formatting of CODING_GUIDELINES.md
2020-11-24 16:13:59 +02:00
Chocobo1
f82a4051af
Remove outdated information
2020-11-24 16:13:47 +02:00
FranciscoPombal
a8911f8136
Clarify protocol choice label
2020-11-24 16:13:34 +02:00
brvphoenix
102d628c0a
Fix the issue that IPv6 address can't be banned
...
The ban action doesn't depend on ipfilter.
2020-11-24 16:13:31 +02:00
FranciscoPombal
6ea3acdaea
Expose contentPath in WebAPI torrents/info
...
Bump WebAPI version to 2.6.1
2020-11-24 16:13:30 +02:00
thalieht
f919d4f5bf
Fix toggling advanced option in WebUI
...
option "Disallow connection to peers on privileged ports"
2020-11-24 16:13:24 +02:00
Chocobo1
59afc7c520
Avoid settings being reset via WebAPI
...
Closes #13585 .
2020-11-24 16:13:23 +02:00
Chocobo1
f02b65b866
Fix typos
2020-11-24 16:13:19 +02:00
Sepro
f49f5ba9a1
Place WebUI RSS description in sandboxed iframe
2020-11-24 16:10:40 +02:00
sledgehammer999
e757b4f8da
Sync translations from Transifex and run lupdate
2020-10-18 21:18:33 +03:00
Anton Bershanskiy
b4bfdd6f7a
Add option for hashing_threads, use 10 asyc IO threads
...
Add option for setting lt::settings_pack::hashing_threads
introduced by libtorrent 2.0. It has no effect for earlier
libtorrent versions.
Use 10 async IO threads, as per #11461 .
Closes #11461 .
2020-10-13 00:58:13 +03:00
Mike Tzou
4fa8862398
Merge pull request #13484 from Chocobo1/webui
...
Fix image not loading under proxy
2020-10-09 16:26:50 +08:00