Chocobo1
ef79546508
Add connection_speed
to advanced settings
...
Now we follow libtorrent current default value 30.
Closes #6973 .
Also bump WebAPI version.
2021-05-21 14:37:57 +08:00
Vladimir Golovnev (Glassez)
2993fdb169
Improve "Watched folders" feature
...
Make "file system watcher" an application core component
and separate it from its presentation model.
2021-05-19 15:42:41 +03:00
sledgehammer999
2c47cfbe25
Add new languages
...
* Mongolian
* Persian
* Thai
2021-05-07 22:53:13 +03:00
thalieht
e86916a7f9
Make some strings in WebUI translatable
...
Closes #14920
2021-05-06 20:49:35 +03:00
sledgehammer999
94195d5339
Sync translations from Transifex and run lupdate
2021-05-02 18:32:42 +03:00
Chocobo1
fdc186c92f
Revise tag related implementations
...
Fix #12690 .
2021-04-27 11:47:52 +08:00
Vladimir Golovnev
376dedebb1
Merge pull request #14816 from glassez/tracker-entry
...
Improve "tracker entries" handling
2021-04-22 19:03:49 +03:00
Vladimir Golovnev (Glassez)
75e0990eb3
Provide tracker peers count via TrackerEntry
...
Don't expose additional accessor in Torrent interface.
2021-04-21 08:46:05 +03:00
Vladimir Golovnev (Glassez)
62a6c725d6
Don't overwrite tracker message
...
Use one of the tracker endpoint messages.
2021-04-21 08:45:09 +03:00
Chocobo1
6864e13e6f
Show "last activity" value under all circumstances
2021-04-20 10:03:25 +08:00
Vladimir Golovnev (Glassez)
6cf99cd0f2
Allow to specify file indexes in torrents/files API
2021-04-16 09:30:07 +03:00
sledgehammer999
21b3c61162
Merge pull request #14575 from sledgehammer999/license_clarification
...
Clarify that the license is GPLv2+
2021-04-07 14:02:59 +03:00
brvphoenix
bb9ca7f418
WebUI: Fix magnet url from the browser
2021-04-03 19:26:17 +08:00
Chocobo1
9b8bddf7b2
Revise folder monitoring functions in WebUI
...
Closes #14241 .
2021-03-31 12:04:22 +08:00
Chocobo1
8a087a876e
Clean up code
2021-03-31 11:27:57 +08:00
sledgehammer999
f6336a6056
Clarify that the license is GPLv2+
...
Regarding this license clarification there are 3 commits of interest
(commits A, B, C). Before commit A the COPYING file contained only the
text of the GPLv2 license, while all source files had a license block
at the top saying that they are under the terms of "GPLv2 or later". With
commit A there was a temporary change to GPLv3. The COPYING file contained
only the text of the GPLv3 license, while all source files had a license
block at the top saying that they are under the terms of "GPLv3 or later".
Then with commit B the COPYING file and the license block of the source
files was reverted to their state before commit A. Afterwards, with
commit C a license summary(or clarification) block was put at the top of
the COPYING file. This block indicated that the license was GPLv2 without
having the "or later" clause and it also included the OpenSSL exception.
However, the license block of each source file continued to contain the
"or later" clause which was not removed. The same license block continues
to exist in all current source files. Thus it is concluded that the ommision
of the "or later" clause with commit C in the COPYING file was accidental.
OR ALTERNATIVELY (OR IN ADDITION)
At the time commit C was made Christophe Dumez was not the sole contributor.
There is no record that the other contributors agreed with the supposed
GPLv2 only change or that there was a Contributor License Agreement,
transfering their rights to him. Thus making his license change decision
invalid/void/illegal.
Commit A: 54f9375b32
Commit B: 8df61db644
Commit C: 9835af4962
2021-03-29 00:08:14 +03:00
Chocobo1
98e02a8fed
Remove unnecessary URL encoding
...
Fix #14635 .
2021-03-28 13:16:34 +08:00
Chocobo1
121ff2b7be
Apply code formatting
2021-03-26 00:27:52 +08:00
Chocobo1
af85a8a340
Add necessary curly brackets
2021-03-26 00:27:52 +08:00
Chocobo1
5fe0e9395f
Don't use Object.prototypes builtins directly
...
See: https://eslint.org/docs/rules/no-prototype-builtins
2021-03-26 00:27:52 +08:00
Chocobo1
1f1cabd144
Remove unnecessary escape character
2021-03-26 00:27:51 +08:00
Chocobo1
c3bab70434
Remove extra semicolon
2021-03-26 00:27:51 +08:00
Chocobo1
1d6af22813
Add tools for js code formatting and linting
...
Due to eslint couldn't correctly resolve the context for the variables,
two eslint rules are disabled for now.
2021-03-26 00:27:12 +08:00
Mike Tzou
45c0d5a823
Merge pull request #14587 from Chocobo1/monitor
...
Remove wrong parentheses in WebUI
2021-03-24 12:47:11 +08:00
sledgehammer999
fda6def384
Sync translations from Transifex and run lupdate
2021-03-23 22:57:07 +02:00
Mike Tzou
4e8eb2c996
Merge pull request #14570 from brvphoenix/decode
...
WebUI: Avoid decoding strings repeatedly
2021-03-23 18:58:01 +08:00
Chocobo1
e43a9de2f3
Make global functions immutable
2021-03-23 18:53:56 +08:00
Chocobo1
901fca2d12
Remove wrong parentheses
...
Fix up 87ad8a1495
.
2021-03-23 17:09:24 +08:00
Vladimir Golovnev
b9676ac3eb
Merge pull request #14546 from glassez/regexp
...
Use QRegularExpression instead of deprecated QRegExp
2021-03-22 10:14:02 +03:00
Vladimir Golovnev (Glassez)
61d2ff359b
Use QRegularExpression instead of deprecated QRegExp
...
Now it follows closely the definition of wildcard for glob patterns.
The backslash (\) character is not an escape char in this context.
In order to match one of the special characters, place it in square
brackets (for example, [?]).
2021-03-22 07:50:47 +03:00
Mike Tzou
87ad8a1495
Merge pull request #14554 from thalieht/seeding_time_webui
...
Seeding time in WebUI
2021-03-22 12:08:18 +08:00
brvphoenix
5beb1b2cd0
WebUI: Avoid decoding strings repeatedly
...
Fix #14553
2021-03-21 02:09:53 -07:00
thalieht
d124041726
Allow >100 days in WebUI function "friendlyDuration"
...
Because it's not only used for ETA.
2021-03-20 15:36:08 +02:00
thalieht
9f30aba2b3
Fix incorrect seeding time string in WebUI General tab
2021-03-19 15:29:08 +02:00
thalieht
560ecbc6c3
Add seeding time to the active time column in WebUI
...
Closes #14526
2021-03-19 15:29:08 +02:00
Vladimir Golovnev (Glassez)
f022458383
Raise minimum supported Qt version to 5.12
2021-03-13 15:33:58 +03:00
Vladimir Golovnev (Glassez)
561b597031
Improve "info hash" handling
...
Define "torrent ID" concept, which is either a SHA1 hash for torrents of version 1,
or a SHA256 hash (truncated to SHA1 hash length) for torrents of version 2.
Add support for native libtorrent2 info hashes.
2021-03-12 12:43:14 +03:00
Vladimir Golovnev
4da4fb0676
Merge pull request #14479 from glassez/trackerentry
...
Improve tracker entries handling
2021-03-11 18:51:19 +03:00
Vladimir Golovnev (Glassez)
7a8c05dc7c
Improve tracker entries handling
2021-03-10 19:54:34 +03:00
Vladimir Golovnev (Glassez)
e2c785b2d5
Accept "share limits" when adding torrent using WebAPI
2021-03-09 20:01:15 +03:00
Mike Tzou
f3435c5e35
Merge pull request #14493 from Chocobo1/tos
...
Expose ToS setting from libtorrent
2021-03-08 10:24:42 +08:00
Chocobo1
5161758193
Expose ToS setting from libtorrent
...
Closes #14420 .
2021-03-07 15:32:07 +08:00
Vladimir Golovnev (Glassez)
8cfd803222
Drop implicit conversions between InfoHash and QString
2021-03-06 12:35:42 +03:00
Chocobo1
9a567721a8
Add missing semicolon
2021-03-06 14:44:10 +08:00
brvphoenix
59f0961594
WebUI: Properly decode strings
2021-02-24 21:48:21 +03:00
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.
2021-02-08 14:24:16 +08:00
Si Yong Kim
74a5c6e745
Add hyperlink to Transifex on translator list
...
Closes #12609
2021-01-30 15:45:13 -08:00
Si Yong Kim
cfafe90fe0
Remove Hungarian translator email
2021-01-29 08:44:47 -08:00
Vladimir Golovnev (Glassez)
5b495e2f51
Bump WebAPI version
2021-01-23 13:55:09 +03:00
sledgehammer999
d1aba56096
Sync translations from Transifex and run lupdate
2021-01-17 23:20:45 +02:00
Vladimir Golovnev (Glassez)
710c5e2c31
WebUI: Correctly represent torrent content structure
2021-01-12 16:13:48 +03:00
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.
2021-01-06 16:28:17 +03:00
Mike Tzou
b79a1b5755
Merge pull request #14145 from Chocobo1/define
...
Generate version header when configuring project
2021-01-06 11:38:55 +08:00
sledgehammer999
1561f6f09f
Merge pull request #14156 from sledgehammer999/copyright_2021
...
Bump copyright year
2021-01-06 01:40:46 +02:00
sledgehammer999
b8d6058b28
Bump copyright year
2021-01-05 14:27:09 +02:00
Vladimir Golovnev (Glassez)
531ae501ad
Use std::optional<bool> instead of custom TriStateBool
2021-01-04 23:10:24 +03:00
Vladimir Golovnev (Glassez)
d0cac421bb
Change parseBool() to return optional bool value
2021-01-04 23:10:24 +03:00
Vladimir Golovnev (Glassez)
4429a16ca8
Use std::optional instead of boost::optional
2021-01-04 23:10:03 +03:00
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.
2021-01-04 22:28:41 +08:00
Mike Tzou
d21fdb7546
Merge pull request #14118 from Chocobo1/fromstring
...
Move parsing of TriStateBool to a static class function
2021-01-02 12:58:00 +08:00
Vladimir Golovnev
b676ca7d96
Merge pull request #14108 from thalieht/webui-options-content-layout
...
Update "Keep top-level folder" in WebUI options
2021-01-01 15:32:49 +03:00
Chocobo1
e022c371ff
Move parsing of TriStateBool to a static class function
2021-01-01 12:59:48 +08:00
thalieht
bb698d682c
Update "Keep top-level folder" in WebUI options
2020-12-31 13:06:46 +02:00
sledgehammer999
fffa2f097e
Merge pull request #14069 from sledgehammer999/new_languages
...
Add new languages
2020-12-30 23:43:43 +02:00
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.
2020-12-30 16:45:49 +03:00
Vladimir Golovnev
f1337524f6
Merge pull request #14089 from glassez/fix-webui
...
Don't call non-existent elements
2020-12-29 22:30:00 +03:00
Vladimir Golovnev
348109a1f9
Merge pull request #13995 from glassez/rename-files
...
Improve content file/folder names handling
2020-12-29 22:27:58 +03:00
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.
2020-12-29 14:31:37 +03:00
sledgehammer999
ffebe82586
Add new languages
...
* Azerbaijani
* Estonian
2020-12-28 21:58:44 +02:00
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.
2020-12-28 21:18:28 +03:00
Chocobo1
c8eefe749f
Capitalize locale names
2020-12-28 11:25:25 +08:00
sledgehammer999
162421a59a
Sync translations from Transifex and run lupdate
2020-12-26 21:15:29 +02:00
Vladimir Golovnev (Glassez)
79048812e9
Fix folder name extraction functions
...
It should return empty string if there is no parent folder.
2020-12-26 14:47:06 +03:00
Vladimir Golovnev
70b242f190
Merge pull request #13955 from glassez/content-policy
...
Improve content root folder handling
2020-12-26 14:44:51 +03:00
Mike Tzou
e1073de36f
Merge pull request #14039 from Chocobo1/stats
...
Don't use removed stat metric in libtorrent 2.0
2020-12-25 17:55:56 +08:00
Chocobo1
423983e023
Fix wrong JSON type returned
...
Fix up 78638a15be
.
Closes #14041 .
2020-12-24 23:15:36 +08:00
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.
2020-12-24 12:04:14 +08:00
Vladimir Golovnev (Glassez)
1d5dc283fe
Allow to add root folder to torrent content
2020-12-23 13:07:33 +03:00
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
.
2020-12-18 13:19:15 +08:00
Vladimir Golovnev
c01d28a471
Merge pull request #13948 from FranciscoPombal/pragmatism
...
Use #pragma once instead of include guards
2020-12-14 13:51:02 +03:00
Chocobo1
20ae89c2a1
Add support for allow_idna
option
...
Upstream PR: https://github.com/arvidn/libtorrent/pull/5316
2020-12-13 12:12:24 +08:00
FranciscoPombal
6152b83405
Use #pragma once instead of include guards
2020-12-12 19:41:32 +00:00
Chocobo1
ff3d0346eb
Fix coding style
2020-12-09 22:50:01 +08:00
Chocobo1
498da509db
Use Qt provided forward declaration header
2020-12-09 18:21:02 +08:00
Chocobo1
9f0429ca6f
Use the correct type when referring to info hash
2020-12-06 22:04:28 +08:00
Mike Tzou
0f2df23800
Merge pull request #13893 from Chocobo1/input_length
...
Remove unnecessary restriction on input length
2020-12-02 23:13:06 +08:00
Chocobo1
6aa5abf298
Update URL to libtorrent settings
2020-12-02 13:50:41 +08:00
Chocobo1
bd672c4c4e
Move "embedded tracker" options to qbt section
2020-12-02 13:50:41 +08:00
Chocobo1
8d768bda31
Add links to libtorrent documentation
2020-12-02 13:50:40 +08:00
Chocobo1
83d17b5c0e
Remove unnecessary restriction on input length
...
Closes #13884 .
2020-12-02 11:51:41 +08:00
Jesse Chan
d0d5af8c66
WebAPI: bump version to 2.6.2
2020-12-01 01:43:03 +08:00
Jesse Chan
86f9b1f6db
WebAPI: allow to attach tags while adding torrents
2020-11-30 20:54:42 +08:00
Chocobo1
d46343fb9c
Add ability to use 'shift+delete' to delete torrents in WebUI
...
Closes #13827 .
2020-11-26 15:52:47 +08:00
sledgehammer999
9c938b91b7
Sync translations from Transifex and run lupdate
2020-11-24 16:58:42 +02:00
Thomas De Rocker
9515b40ca5
Fix confusion in date format description ( #1 )
...
* Update automatedrssdownloader.ui
* Update rssDownloader.html (#2 )
2020-11-21 10:09:47 +01:00
Vladimir Golovnev (Glassez)
c41df9ffbd
Improve coding style
2020-11-17 21:02:37 +03:00
sledgehammer999
6ec07d744e
Add Latgalian translation
...
Closes #12415
2020-11-16 20:26:54 +02:00
Chocobo1
0be2567d97
Don't use deprecated torrent state "allocating"
...
Closes #13737 .
2020-11-12 00:17:42 +08:00
Vladimir Golovnev (Glassez)
85bd0feee0
Handle torrent "paused" state at application level
2020-11-02 10:09:14 +03:00
Mike Tzou
b249216db6
Merge pull request #13659 from FranciscoPombal/whitespacev2
...
File health: trailing newlines, whitespace, etc fixes and GitHub Actions workflow
2020-11-02 11:33:21 +08:00