Chocobo1
4ca6de2b54
Revise string literal usage
...
PR #16703 .
3 years ago
An0n
801cfdbc24
Allow setting the number of maximum active checking torrents
...
This is to allow re-checking of multiple torrents simultaneously. This will benefit users who
have multiple disks or SSD.
Closes #15296 .
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
3 years ago
Chocobo1
fad954df18
Add option for enable/disable performance warnings from libtorrent
3 years ago
Chocobo1
ac97ed685f
Add tuning options related to performance warnings
...
Related: #16462 .
PR #16538 .
3 years ago
Vladimir Golovnev
dd1bd8ad10
Implement class for handling filesystem paths
...
PR #15915 .
3 years ago
Vladimir Golovnev
facfa26eed
Allow to use Category paths in "Manual" mode
...
If the option is enabled any relative save path will be resolved against an appropriate Category path instead of Global default one.
PR #16330 .
3 years ago
Chocobo1
d6e0164766
WebAPI: fix wrong key used for categories
...
Regression from 1c0f8b4289
.
Closes #15969 .
PR #15988 .
3 years ago
Vladimir Golovnev (Glassez)
1c0f8b4289
Redesign "Incomplete folder" feature
...
Change "Incomplete/temp folder" term with "download folder".
Allow to set "download folder" per torrent (in manual mode) and per category (in automatic mode).
3 years ago
Chocobo1
70d1cb86fd
Disable move constructor where it is sensible
3 years ago
HiFiPhile
f5315d9ba7
Add WebUI reverse proxy source IP resolution ( #15047 )
...
Co-authored-by: qix67
Co-authored-by: HiFiPhile <admin@hifiphile.com>
3 years ago
Chocobo1
ef79546508
Add `connection_speed` to advanced settings
...
Now we follow libtorrent current default value 30.
Closes #6973 .
Also bump WebAPI version.
4 years ago
Vladimir Golovnev (Glassez)
6cf99cd0f2
Allow to specify file indexes in torrents/files API
4 years ago
Vladimir Golovnev (Glassez)
e2c785b2d5
Accept "share limits" when adding torrent using WebAPI
4 years ago
Vladimir Golovnev (Glassez)
5b495e2f51
Bump WebAPI version
4 years ago
Vladimir Golovnev (Glassez)
1d5dc283fe
Allow to add root folder to torrent content
4 years ago
Jesse Chan
d0d5af8c66
WebAPI: bump version to 2.6.2
4 years ago
FranciscoPombal
aa899f0693
Expose contentPath in WebAPI torrents/info
...
Bump WebAPI version to 2.6.1
4 years ago
Chocobo1
74a2168bc1
Define and use a proper HTTP header structure
5 years ago
Chocobo1
957d697aee
Prebuild HTTP headers as much as possible
...
This avoids some branching when building a HTTP response.
5 years ago
Thomas Piccirello
92ed5c76f3
Bump Web API version
5 years ago
sledgehammer999
480e732694
Bump Web API version
5 years ago
Chocobo1
bb80b378c1
Add ability to send custom HTTP headers
5 years ago
Chocobo1
d3d3f7dbb3
Add final specifier to classes
...
This allow compilers to generate more efficient code.
5 years ago
an0n666
026aad2c04
Remove deprecated strict super seeding mode from advanced settings
5 years ago
Chocobo1
b7e7d8019c
Use helper function to construct QString
...
This is shorter and avoids the need of 2 constructors.
5 years ago
FranciscoPombal
df2fbb1edc
Bump Web API version
5 years ago
FranciscoPombal
691d5e5d89
WebUI: Implement "Secure" flag for session cookie
...
Closes #11724 .
Option is enabled by default for users using qBittorrent's built-in HTTPS capabilities. This flag will never be set if qBittorrent is using plain HTTP.
Users using HTTPS reverse proxies, like "qbt <-> (http) <-> proxy <-> (https) <-> user" should override the flag in the proxy in order to set it, if they wish to do so.
5 years ago
sledgehammer999
1376e051df
Bump Web API version
5 years ago
sledgehammer999
eff0208382
Bump Web API version
...
Closes #11403
5 years ago
sledgehammer999
009ccbef7f
Bump Web API version
...
Closes #11304
5 years ago
Chocobo1
f907328bdc
Add const to class function
5 years ago
Chocobo1
230949ee3b
Cache and reuse detected MIME type
5 years ago
Chocobo1
e90a2c00a5
Replace QList by QVector
5 years ago
Chocobo1
f4e7b8c6bf
Replace QMap with QHash
5 years ago
Chocobo1
89124bdcc8
Add WebAPI session timeout settings
...
Raise default timeout to 1 hour.
6 years ago
Chocobo1
375de4f8a6
Replace QMap with QHash when sensible
6 years ago
Chocobo1
49b57904f9
Use a random number for WebUI cache busting
...
Also fetch qbt version info via WebAPI properly.
6 years ago
Vladimir Golovnev (Glassez)
2ce3aa9731
Drop legacy WebAPI support
6 years ago
Chocobo1
e98d4e874f
Unify translation files loading action
...
Since it is possible alternative WebUI could be coded in languages other than English,
WebUI must be able to load user-provided webui_en.qm.
At least one translated string must exist in order to generate an usable .qm file.
6 years ago
Chocobo1
c1912e17c1
Revise CSP header
...
The majority of the CSP is tuned for built-in WebUI, it may not be
suitable for alternative UI.
Also add QLatin1String to strings. This code path is called repeatedly,
it is worth adding QLatin1String to squeeze out the last bit of
performance.
6 years ago
sledgehammer999
cd2c448e6d
Bump Web API version
6 years ago
Chocobo1
344e47dcfb
Add option for WebUI Host header validation
...
Closes #9743 .
6 years ago
Tom Piccirello
41462a39c7
Bump WebAPI version
6 years ago
Vladimir Golovnev (Glassez)
c1a4ef1377
Use independent translation for WebUI
6 years ago
sledgehammer999
bdc788c824
Bump Web API version
6 years ago
sledgehammer999
ac1839fa6b
Bump Web API version
6 years ago
Chocobo1
e04aae686f
Cache more preference values
...
These values from Preference class are frequently used.
Also group related variables together.
6 years ago
Thomas Piccirello
8f98f87d12
Add upgrade-insecure-requests to CSP when HTTPS is enabled
...
This option automatically upgrades all http connections to https.
It ensures http urls cannot be accessed when in https mode, and is intended as a security measure.
7 years ago
sledgehammer999
6ad8d730cc
Bump Web API version
7 years ago
Chocobo1
9eeef0be97
Add option to control CSRF protection
...
Some users are using WebUI with simple port-forwarding from their router,
providing an option to control the protection will save them from setting up an
non-trival web proxy.
Closes #7274 .
7 years ago