sledgehammer999
9392ce436d
Bump to 4.3.8
2021-08-29 01:57:25 +03:00
sledgehammer999
8ceb2d8832
Update Changelog
2021-08-29 01:56:30 +03:00
sledgehammer999
40ec873199
Sync translations from Transifex and run lupdate
2021-08-29 01:55:57 +03:00
Chocobo1
f3a5a43a20
Specify Unicode for resource block ( #15370 )
...
The StringFileInfo block was using "1252 Multilingual", change it to
"1200 Unicode" for consistency.
https://docs.microsoft.com/en-us/windows/win32/menurc/stringfileinfo-block
Closes #15364 .
2021-08-29 00:13:09 +03:00
a1346054
72ba22afd1
Fix typo
2021-08-23 22:21:47 +03:00
a1346054
423232b4b9
Use license file verbatim
...
The GPL part of COPYING file was distributed incomplete, it must be
distributed verbatim.
The file was obtained from:
https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
2021-08-23 22:21:35 +03:00
sledgehammer999
86a6b53f82
Change IRC channel to Libera.Chat
...
Unfortunately Freenode, after a takeover, decided to purge all their databases, thus
deleting all channel and user registrations, without a warning.
So if we're forced to re-register our stuff why not go where the cool kids are at?
2021-08-23 22:21:34 +03:00
a-raccoon
618afb3609
Update README.md
...
Removed these two lines because they haven't been true in a very long time, and is no longer even possible.
```
You can also meet me (sledgehammer_999) on IRC:
`#qbittorrent on irc.freenode.net`
```
2021-08-23 22:21:17 +03:00
Chocobo1
fefce03379
GHA CI: Backport latest changes ( #15361 )
...
By having unified github workflows, the building cache would be utilized
more efficiently as the total cache size will be smaller (no more vcpkg
caching on macOS CI) and will stop thrashing the build cache (large
vcpkg cache evicts other smaller cache).
Relevant PRs:
#15321
#15340
#15342
#15355
2021-08-23 10:56:03 +08:00
Chocobo1
250cac73b6
Improve "last activity" calculation in WebAPI ( #15339 )
...
Co-authored-by: 秦风 <mayli.he@gmail.com >
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com >
2021-08-21 12:59:40 +08:00
Chocobo1
84ec5a6acf
Use default values for inconsequential fields
...
Or when the default value is actually what we want.
2021-08-21 12:59:40 +08:00
Chocobo1
0e2aca7583
Use default upper limits for ddns entries
...
The default is 32767 which is larger than the previous artificial limit.
2021-08-21 12:59:40 +08:00
Chocobo1
3bded7e71b
Use the same icon for selecting folders/files
...
As stated in Qt doc, the `QStyle::SP_DialogOpenButton` is only for a
button within QDialogButtonBox which means it isn't suitable elsewhere.
2021-08-21 12:59:40 +08:00
Mengyang Li
51ca65eea1
WebUI: group trackers by hostname ( #15264 )
...
Closes #13608 .
2021-08-21 12:59:40 +08:00
Chocobo1
f21f7b8edc
Ignore file heath for 3rd party libraries
2021-08-21 12:59:40 +08:00
Chocobo1
331304159d
Work around missing function error
...
The fix comes from older version of MochaUI.
2021-08-21 12:59:40 +08:00
Chocobo1
2aab675dc4
Update MochaUI to v0.9.7
...
Upstream: https://github.com/cdotyone/mochaui/blob/develop-0.9.8/Build/mocha.js
2021-08-21 12:59:40 +08:00
Chocobo1
9c8016dc65
Update clipboard.js to v2.0.8
2021-08-21 12:59:40 +08:00
Chocobo1
b99262bc36
Update mootools to v1.6.0
2021-08-21 12:59:40 +08:00
Sylvain Finot
078cfe656a
Expose SSRF mitigation ( #15247 )
2021-08-21 12:59:40 +08:00
Matthaiks
89ac9bf2c9
NSIS: Add Polish translation ( #15262 )
2021-08-21 12:59:40 +08:00
Vladimir Golovnev
81932b6313
Delay processing of watched folders ( #15282 )
...
Fixes regression of #14882 .
Closes #15272 .
2021-08-21 12:59:40 +08:00
sledgehammer999
4ce5d9d5e2
Update grunt dependency
...
This fixes CVE-2020-7729
2021-08-21 12:59:40 +08:00
sledgehammer999
0415c0c6f8
Bump to 4.3.7
2021-08-03 23:24:47 +03:00
sledgehammer999
def5765160
Update Changelog
2021-08-03 23:20:32 +03:00
sledgehammer999
9977395c03
Sync translations from Transifex and run lupdate
2021-08-03 23:18:15 +03:00
Daniel Aleksandersen
2b05b2b471
Disconnect comment links fom the WebUI ( #15251 )
2021-08-03 23:00:47 +03:00
scootergrisen
d1bd426618
Update Danish translation ( #15192 )
2021-07-26 02:04:23 +03:00
Andrei Stepanov
b84c5edf51
Remove excess space
2021-07-26 02:04:16 +03:00
Vladimir Golovnev (glassez)
3ac8c97e6f
Properly create "clean path" for watched folder
2021-07-12 11:45:57 +03:00
Vladimir Golovnev
ede42910da
Merge pull request #15150 from glassez/backports
...
Backport changes to v4.3.x branch
2021-07-05 11:20:38 +03:00
xavier2k6
500d0e717b
Update AppVeyor CI image to Visual Studio 2019 ( #14983 )
...
Update AppVeyor CI image to Visual Studio 2019
2021-07-03 11:44:43 +03:00
An0n
a3f039ffcb
Bump file pool size ( #14966 )
2021-07-03 11:43:10 +03:00
Kacper Michajłow
81ad324209
Suppress C4267 conversion warnings
...
- warning C4267: 'initializing': conversion from 'size_t' to 'int',
possible loss of data
Caused by mismatch between size_type of std and Qt containers. It is
safe to cast to int as all of those containers hold low number of
objects.
2021-07-03 11:16:04 +03:00
Vladimir Golovnev (Glassez)
81de07789a
Provide tracker peers count via TrackerEntry
...
Don't expose additional accessor in Torrent interface.
2021-07-01 14:03:14 +03:00
Vladimir Golovnev (Glassez)
6a8a1f602f
Don't overwrite tracker message
...
Use one of the tracker endpoint messages.
2021-07-01 13:44:48 +03:00
FranciscoPombal
9dfaaa2dd1
Remove TravisCI config
2021-07-01 11:09:35 +03:00
tgregerson
c06d6eaa77
Don't close tags menu when toggling items ( #15098 )
...
The issue was resolved by using QAction::toggled signal instead of
QAction::triggered. In QT 5.15+ the latter signal causes a QMenu
to close, whereas the former does not. Closes #13492 .
2021-07-01 10:09:17 +03:00
Vladimir Golovnev (Glassez)
d198ee97a5
Don't forget to start "watch timer"
2021-07-01 09:44:46 +03:00
sledgehammer999
ac8105c304
Bump to 4.3.6
2021-06-26 21:24:22 +03:00
sledgehammer999
6cb16cfbb7
Update Changelog
2021-06-26 21:20:58 +03:00
sledgehammer999
2b475c4296
Sync translations from Transifex and run lupdate
2021-06-26 21:13:38 +03:00
sledgehammer999
3a9e4397fd
Add new languages
...
* Mongolian
* Persian
* Thai
2021-06-26 21:12:41 +03:00
sledgehammer999
1ce0bb7cee
Add Turkish Qt translation
2021-06-26 21:12:39 +03:00
sledgehammer999
dd4b09f3a9
Update Qt translations
...
Based on Qt 5.15.2
2021-06-26 21:12:38 +03:00
nonew-star
8c2df049f1
NSIS: Update Swedish translation ( #14950 )
...
Remove redundant spaces.
2021-06-26 21:12:38 +03:00
nonew-star
8b66c444ee
NSIS: Update Swedish translation ( #14933 )
...
Added a word.
2021-06-26 21:12:37 +03:00
xkrstudio
0ccbdbccf4
NSIS: Update Hungarian translation ( #14906 )
...
Add hungarian translation.
2021-06-26 21:12:36 +03:00
Burak Yavuz
d08b6c81ba
NSIS: Update Turkish translation
...
Uninstall string added
2021-06-26 21:12:36 +03:00
maboroshin
5f897709cf
NSIS: Update Japanese translation
2021-06-26 21:12:30 +03:00
Vladimir Golovnev (Glassez)
e25948e737
Properly add torrent with new tags
...
First, an attempt is made to add new tags to the Session.
Closes #15105 .
2021-06-19 10:52:08 +03:00
Vladimir Golovnev (Glassez)
144956a209
Remove lockfile only when last app instance is destroyed
2021-06-19 10:52:08 +03:00
Dmitry Khlestkov
667d4e4211
Keep sub-sorting order ( #15074 )
...
Fixes #15073
2021-06-15 14:19:53 +03:00
Vladimir Golovnev (Glassez)
d957eef331
Improve "Watched folders" feature
...
Make "file system watcher" an application core component
and separate it from its presentation model.
2021-06-15 14:19:53 +03:00
brvphoenix
baa32a20e0
Remove the lockfile on exit ( #14997 )
2021-06-15 14:19:53 +03:00
Chocobo1
eff465126e
Fix main window turns blank after restoring from tray ( #15031 )
...
When restoring from tray icon, although the window manager shows qbt
window but qbt itself didn't handle the event correctly, i.e. the
`show()` was missing and thus qbt did nothing and the window is blank.
Note that at this point the `visible` property is `false`.
After invoking `show()` qbt will start showing the contents and also
fire another showEvent where `visible` property is `true` and here is where
qbt should handle preparations for the window.
Fix #9510 .
2021-06-15 14:19:53 +03:00
thalieht
09089b2d33
Make some strings in WebUI translatable
...
Closes #14920
2021-06-15 14:19:53 +03:00
Vladimir Golovnev (Glassez)
3aa36ad40c
Declare AbstractFileStorage destructor virtual
2021-06-15 14:19:53 +03:00
Vladimir Golovnev (Glassez)
24bc5a9875
Unify custom exceptions
2021-06-15 14:19:53 +03:00
Vladimir Golovnev (Glassez)
744a2cb5a3
Allow add torrents with relative save path
...
The relative save path will be resoloved against the default one.
2021-06-15 14:19:53 +03:00
Vladimir Golovnev (Glassez)
33e090cfcb
Provide correct error description in "upload mode"
2021-06-08 08:06:11 +03:00
sledgehammer999
063844ed44
Bump to 4.3.5
2021-05-02 18:59:11 +03:00
sledgehammer999
899f8a3f61
Update Changelog
2021-05-02 18:59:10 +03:00
sledgehammer999
0f72f22096
Sync translations from Transifex and run lupdate
2021-05-02 18:33:49 +03:00
Felipe
ffda0ab0ac
Update portugueseBR.nsi
...
An updated/fixed version of the installer language file.
2021-05-02 17:41:08 +03:00
Долматов Алексей
21f18623db
Update russian.nsi
...
Update uninstall strings.
2021-05-02 17:41:06 +03:00
PriitUring
c4265db0fd
Update estonian.nsi
...
Changing translation of word "Uninstall" to more common local word "Desinstall".
2021-05-02 17:41:04 +03:00
Henry Water
bc8d9656f6
Update german.nsi
...
Line 32
Changing "zumindest" to "mindestens".
I even would go further to change the line into "[...] Windows 7 oder höher." ("[...] Windows 7 or higher."), as this seems to make more sense and we wouldn't have the hassle of discussing whether "zumindest" or "mindestens" fits better.
If you insist on a comment:
It is quite a cosmetic change, and a personal opinion as well. Imo "mindestens" fits more to the theme of general use - "zumindest" can be used in special places, as it isn't that common in e.g. regular conversations. What comes to my mind is "Best before", which is "Mindestens haltbar bis". It would be unusual to use "Zumindest haltbar bis". 😄
Finally it is up to you what to change.
CC: @schnurlos
Additionally I fixed line 10, where no need of a double-"mit" was.
Plus line 34, as requested!
2021-05-02 17:41:02 +03:00
Chocobo1
bd284facbd
Add new translatable string to all available languages
...
Also provide translation for Traditional Chinese.
Fix up a2ef09466f
.
2021-05-02 17:40:59 +03:00
bovirus
7eb77cbcbd
Enable translation for uninstaller link ( #14660 )
2021-05-02 17:40:57 +03:00
sledgehammer999
86e96b819e
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-05-02 17:40:56 +03:00
Chocobo1
132be7ee9d
Move cursor to the next line of end of text
...
Closes #13908 .
2021-05-02 17:40:10 +03:00
Chocobo1
9f8a6e8fb1
Merge pull request #14872 from jagannatharjun/pfix-back
...
Correctly draw progress background with stylesheet (backport v4_3_x)
2021-04-30 10:09:31 +08:00
jagannatharjun
e6447c8f28
Correctly draw progress background with stylesheet
...
fixes #14731
2021-04-29 11:28:20 +05:30
Vladimir Golovnev
7dd9e73431
Merge pull request #14865 from Kolcha/cmake_mac_4_3
...
Improve Info.plist generation with CMake (v4_3_x backport)
2021-04-28 14:18:39 +03:00
Nick Korotysh
ea82962c5d
Improve Info.plist generation with CMake
...
- drop configure_file() and file(GENERATE) calls
- fill missed MACOSX_DEPLOYMENT_TARGET variable
2021-04-27 23:51:13 +03:00
Vladimir Golovnev
b2a43eeffc
Merge pull request #14828 from Kolcha/bundle_name_4_3
...
Don't use executable name as CFBundleName value (v4_3_x backport)
2021-04-25 07:02:41 +03:00
Vladimir Golovnev
681347148d
Merge pull request #14832 from glassez/v4.3-upload-mode
...
Correctly handle "not enough disk space" error (v4_3_x backport)
2021-04-25 07:01:27 +03:00
Vladimir Golovnev (Glassez)
1f63490755
Correctly handle "no enough disk space" error
...
If torrent failed to write, it stops downloading and goes to
"upload mode" instead of errored state so it just keeps seeding.
Now qBittorrent indicates this state as "errored" and allows
the user to manually bring the torrent out of this state.
2021-04-22 18:53:20 +03:00
Nick Korotysh
0140ed356f
Don't use executable name as CFBundleName value
2021-04-21 21:07:25 +03:00
Chocobo1
2c8f322af5
Merge pull request #14801 from Chocobo1/backport
...
Backport PRs to v4_3_x
2021-04-18 12:42:15 +08:00
Vladimir Golovnev (Glassez)
6f31ebd899
Allow to specify file indexes in torrents/files API
2021-04-17 11:46:41 +08:00
zhuangzi926
014df529c5
Update dyndns register url
2021-04-17 11:46:20 +08:00
Chocobo1
482dad00fd
Fix D-Bus Notification desktop-entry
field
2021-04-16 14:22:32 +08:00
Chocobo1
7898037006
Merge pull request #14701 from Chocobo1/backport
...
Backport to v4_3_x
2021-04-09 11:32:36 +08:00
skvenders
5c819ee384
Remove contributor
...
Remove contributor as requested: https://github.com/qbittorrent/qBittorrent/pull/14637#issuecomment-808894421
2021-04-08 12:06:35 +08:00
brvphoenix
a590e7139b
WebUI: Fix magnet url from the browser
2021-04-08 12:05:56 +08:00
Chocobo1
89a8e07217
Revise folder monitoring functions in WebUI
...
Closes #14241 .
2021-04-03 14:52:14 +08:00
Chocobo1
5c05bdaa27
Clean up code
2021-04-03 14:52:14 +08:00
Chocobo1
7006afc611
Remove unnecessary URL encoding
...
Fix #14635 .
2021-04-03 14:51:24 +08:00
Christoph Rackwitz
9cb3a6d29e
Fix tabChangesFocus attribute in "Edit trackers" dialog
2021-04-03 14:49:03 +08:00
Chocobo1
2b6baa6099
Merge pull request #14685 from Chocobo1/actions
...
Enable Github Actions CI for other branches
2021-04-03 13:21:36 +08:00
Chocobo1
8881035b7a
Enable Github Actions CI for other branches
...
Since we need to backport some changes.
2021-04-01 12:50:00 +08:00
sledgehammer999
2be30a50ef
Merge pull request #14628 from sledgehammer999/qt_511
...
Lower Qt requirement to 5.11
2021-03-27 17:56:43 +02:00
Mike Tzou
81a7b0c034
Merge pull request #14625 from Chocobo1/backport
...
Backport to v4_3_x (#14619 , #14590 )
2021-03-27 11:14:26 +08:00
sledgehammer999
e7235cc3f8
Revert "Use QRegularExpression instead of deprecated QRegExp"
...
Related to #14611
This reverts commit 3b748178c2
.
2021-03-26 12:43:51 +02:00
sledgehammer999
1570b51f6c
Lower Qt requirement to 5.11
...
Partially reverts 4037143f4e
Closes #14611
2021-03-26 12:42:08 +02:00
Chocobo1
6272c6d95d
Apply code formatting
2021-03-26 10:48:34 +08:00
Chocobo1
473ae25fd8
Add WebUI checking to CI
2021-03-26 10:48:34 +08:00
Chocobo1
42d7d9b5f4
Add necessary curly brackets
2021-03-26 10:48:33 +08:00
Chocobo1
0f77b00428
Don't use Object.prototypes builtins directly
...
See: https://eslint.org/docs/rules/no-prototype-builtins
2021-03-26 10:48:33 +08:00
Chocobo1
060804d3b8
Remove unnecessary escape character
2021-03-26 10:48:33 +08:00
Chocobo1
f8b6cb4879
Remove extra semicolon
2021-03-26 10:48:13 +08:00
Chocobo1
a6d27223db
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 10:48:13 +08:00
Chocobo1
bb32b88a62
Sort invalid QDateTime values after valid values
...
Closes #14607 .
2021-03-26 10:47:54 +08:00
sledgehammer999
332b173e08
Bump to 4.3.4.1
2021-03-24 21:21:06 +02:00
sledgehammer999
e921cf677a
Update Changelog
2021-03-24 21:19:55 +02:00
Vladimir Golovnev (Glassez)
973b5a4809
Correctly draw progress bar in Qt 6
2021-03-24 21:15:49 +02:00
Chocobo1
688e11a911
Remove wrong parentheses
...
Fix up 87ad8a1495
.
2021-03-24 19:17:30 +02:00
sledgehammer999
f7e6b96493
Bump to 4.3.4
2021-03-23 23:14:15 +02:00
sledgehammer999
88bf6f11c7
Update Changelog
2021-03-23 23:04:12 +02:00
sledgehammer999
90e2236990
Sync translations from Transifex and run lupdate
2021-03-23 23:02:22 +02:00
treysis
6ad7cadc4b
Fix bad IPv6 address format for outgoingInterfaces
...
Fixes https://github.com/qbittorrent/qBittorrent/issues/12892#issuecomment-792292336
2021-03-23 22:26:59 +02:00
brvphoenix
0499111156
WebUI: Avoid decoding strings repeatedly
...
Fix #14553
2021-03-23 22:26:57 +02:00
Vladimir Golovnev (Glassez)
ae44e59c9a
Wrap "resume data" in LoadTorrentParams
2021-03-23 22:26:55 +02:00
Vladimir Golovnev (Glassez)
1de52f9bcf
Drop deprecated code
2021-03-23 22:26:54 +02:00
Vladimir Golovnev (Glassez)
448e55031e
Save resume data when torrent has done checking
2021-03-23 22:26:52 +02:00
Vladimir Golovnev (Glassez)
3b748178c2
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-23 22:26:50 +02:00
thalieht
a4a54ce712
Allow >100 days in WebUI function "friendlyDuration"
...
Because it's not only used for ETA.
2021-03-23 22:26:48 +02:00
thalieht
d19b524d2d
Fix incorrect seeding time string in WebUI General tab
2021-03-23 22:26:47 +02:00
thalieht
1e2bf50e66
Add seeding time to the active time column in WebUI
...
Closes #14526
2021-03-23 22:26:46 +02:00
Vladimir Golovnev (Glassez)
e7f3409053
Don't use deprecated operators
2021-03-23 22:26:44 +02:00
Vladimir Golovnev (Glassez)
9758633eeb
Use correct return statement
2021-03-23 22:26:42 +02:00
Vladimir Golovnev (Glassez)
3def5e40c4
Include missing header
2021-03-23 22:26:41 +02:00
Vladimir Golovnev (Glassez)
ca923ed02c
Include QDesktopWidget header only when needed
2021-03-23 22:26:38 +02:00
Chocobo1
e4c3bad93a
Fix library requirements
2021-03-23 22:26:37 +02:00
Chocobo1
3b52c5ce97
Draw progress bar in disabled style
2021-03-23 22:26:36 +02:00
Vladimir Golovnev (Glassez)
44b94803a4
Improve "save resume data" handling
2021-03-23 22:26:35 +02:00
jagannatharjun
5d4644c4fc
Remember sub sort column of transfer list
2021-03-23 22:26:34 +02:00
Chocobo1
a2ef115c66
Simplify progress bar painting
2021-03-23 22:26:31 +02:00
Vladimir Golovnev (Glassez)
1356f200b8
Don't use deprecated QTextCodec
2021-03-23 22:26:30 +02:00
Vladimir Golovnev
3c68896b1d
CI: Don't compile on Ubuntu 18.04
2021-03-23 22:26:29 +02:00
Vladimir Golovnev (Glassez)
265da50791
Don't use deprecated features
2021-03-23 22:26:28 +02:00
Vladimir Golovnev (Glassez)
4037143f4e
Raise minimum supported Qt version to 5.12
2021-03-23 22:26:26 +02:00
Chocobo1
8cae8ad5c5
Replace parameters in one step
...
This would avoid the unwanted effect of replacing parameter coming from
another parameter.
2021-03-23 22:26:22 +02:00
Vladimir Golovnev (Glassez)
50bd845682
Initialize torrent status from add torrent params
2021-03-23 22:26:20 +02:00
Vladimir Golovnev (Glassez)
ed5aa07526
CI: Disable libtorrent2 deprecated functions on Travis
2021-03-23 22:26:19 +02:00
Vladimir Golovnev (Glassez)
437b51b3a5
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-23 22:26:18 +02:00
Vladimir Golovnev (Glassez)
c2ccc9dfa4
Properly show tracker status for "paused" torrents
2021-03-23 22:26:16 +02:00
Vladimir Golovnev (Glassez)
b2c7d8211f
Improve tracker entries handling
2021-03-23 22:26:14 +02:00
Vladimir Golovnev (Glassez)
726455ac3e
Don't allow speed plot buffer to overflow
2021-03-23 22:26:13 +02:00
Vladimir Golovnev (Glassez)
ae2bb4efeb
Accept "share limits" when adding torrent using WebAPI
2021-03-23 22:26:12 +02:00
Vladimir Golovnev (Glassez)
9971329121
Look for qbittorrent.pdb in installation directory
...
Pass application directory as PDB search path in SymInitialize.
Otherwise it searches in application working directory so when you
run qBittorrent with working directory other than its installation
one it can't find qbittorent.pdb file and produces broken stacktrace.
2021-03-23 22:26:10 +02:00
Chocobo1
d0ec1c4a86
Expose ToS setting from libtorrent
...
Closes #14420 .
2021-03-23 22:26:08 +02:00
Chocobo1
9c55600d81
Add missing semicolon
2021-03-23 22:26:01 +02:00
Vladimir Golovnev (Glassez)
b45fb74e01
Define template for classes that represent SHA hashes
2021-03-23 21:05:41 +02:00
Vladimir Golovnev (Glassez)
f16c585a77
Drop implicit conversions between InfoHash and QString
2021-03-23 21:05:40 +02:00
Chocobo1
9c664d04ae
Remove unused lambda capture
2021-03-23 21:05:38 +02:00
Chocobo1
3d0ca83474
Specify Qt version in TravisCI build script
...
In homebrew `qt` package is referring to Qt6 instead of Qt5.
2021-03-23 21:05:37 +02:00
Chocobo1
e713ffb064
Properly stop torrent creation if aborted
...
Closes #11346 .
2021-03-23 21:05:37 +02:00
Chocobo1
cf1e61bcf5
Correctly draw the background of progress bar
...
Closes #12271 .
2021-03-23 21:05:36 +02:00
Vladimir Golovnev (Glassez)
42b22d6645
CI: Use custom vcpkg libtorrent port
2021-03-23 21:05:35 +02:00
Vladimir Golovnev (Glassez)
2d607f8c1a
Raise minimum libtorrent version to 1.2.12
2021-03-23 21:05:34 +02:00
jagannatharjun
69256905c2
Support sub-sorting in Transferlist
2021-03-23 21:05:32 +02:00
brvphoenix
305316b1fc
WebUI: Properly decode strings
2021-03-23 21:05:32 +02:00
Chocobo1
27e222455b
Improve detection of filename extension of audio/video files
2021-03-23 21:05:31 +02:00
Michał Kopeć
2b18318e0c
Add an option to disable icons in menus
2021-03-23 21:05:30 +02:00
Chocobo1
49cadce253
Enable sponsor button on Github
2021-03-23 21:05:29 +02:00
Juraj Oršulić
f1b908b95b
Systemd: wait for mounting of local filesystems
2021-03-23 21:05:28 +02:00
jagannatharjun
4acfcef8da
Add a 3-Hour graph
2021-03-23 21:05:27 +02:00
jagannatharjun
69f2196a22
Make SpeedPlotView averager time aware
...
Previously SpeedPlotView assumed speed is updated per second but the
default value was 1500ms and that can be further changed by the
user, this caused a lot of duplicate data in the calculation of the
graph points. Now Averager averages based on the target duration, resolution
and also takes into account when actually data has arrived.
Also improved resolution of 6-hour graph, previously it was same as 12-hour graph
2021-03-23 21:05:26 +02:00
Chocobo1
b20a3c5b8e
Use std::optional to return results
2021-03-23 21:05:25 +02:00
Chocobo1
2c5271b3b2
Fix potential out-of-bounds access
2021-03-23 21:05:24 +02:00
Si Yong Kim
7696895a88
Refactor apply button logics on options dialog
2021-03-23 21:05:23 +02:00
Si Yong Kim
c1ae5d2572
Add empty name error handling on new category dialog
2021-03-23 21:05:23 +02:00
Si Yong Kim
0e635c7fdd
Add category button on AutomatedRSSDownloader on GUI
...
Closes #7629
2021-03-23 21:05:22 +02:00
Chocobo1
58345e5bbf
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-03-23 21:05:21 +02:00
Chocobo1
89382d4ec2
Apply "Hide infinity values" to ETA column
2021-03-23 21:05:20 +02:00
Chocobo1
372f5af36b
Apply "Hide infinity values" to "Down/Up Limit" columns
2021-03-23 21:05:19 +02:00
Chocobo1
f38736729d
Apply "Hide zero values" to "Time Active" column
2021-03-23 21:05:18 +02:00
Chocobo1
bf67ef21c6
Clean up coding style
2021-03-23 21:05:18 +02:00
Chocobo1
cfd40adcb5
Show proper string when torrent availability is not available
2021-03-23 21:05:16 +02:00
Vladimir Golovnev (Glassez)
8210f9841e
Restart "missing files" torrents after changing location
2021-03-23 21:05:16 +02:00
Vladimir Golovnev (Glassez)
ae3d17ec01
Allow "missing files" torrents to save more resume data
2021-03-23 21:05:15 +02:00
Vladimir Golovnev (Glassez)
349e958be3
Allow change-case-only file renaming on Windows
2021-03-23 21:05:14 +02:00
Chocobo1
42acc75394
Use stable sorting in transfer list
2021-03-23 21:05:12 +02:00
Chocobo1
8b91dcedb0
Use built-in function for configuring file contents
2021-03-23 21:05:11 +02:00
dyumin
a454a0303d
Treat errored torrents as finished
2021-03-23 21:05:11 +02:00
Chocobo1
789c6de2e8
Simplify CI script directives
2021-03-23 21:05:10 +02:00
Chocobo1
c2fb51159f
Don't trigger Github Actions CI builds after editing a PR's opening post
...
After dropping "edited" keyword, it is the same as the default.
2021-03-23 21:05:09 +02:00
PriitUring
bfb0afe3cf
NSIS: Add Estonian translation
...
This file was previously not translated.
PR #14331 .
2021-03-23 21:05:08 +02:00
Chocobo1
26a2d4f24d
Reuse existing code for sorting
...
This makes the behavior of sorting by TR_SEED_DATE consistent.
2021-03-23 21:05:08 +02:00
Si Yong Kim
f6e88c8c55
Add hyperlink to Transifex on translator list
...
Closes #12609
2021-03-23 21:05:07 +02:00
Si Yong Kim
51033c212a
Remove Hungarian translator email
2021-03-23 21:05:06 +02:00
Chocobo1
16c858cf61
Prolong checking interval for program updates
2021-03-23 21:05:05 +02:00
Chocobo1
0496543fce
Improve behavior when using ProgramUpdater class
...
This is mainly to avoid involving of `sender()` function.
2021-03-23 21:05:04 +02:00
Chocobo1
746e8a7be1
Revise version comparison
2021-03-23 21:05:04 +02:00
Chocobo1
6d301ccf55
Clean up coding style
2021-03-23 21:05:03 +02:00
jagannatharjun
d441b18da0
Disable expand on double click in TorrentContentTreeView
...
We hook our own actions on double click. Fixes #14269
2021-03-23 21:05:01 +02:00
Vladimir Golovnev (Glassez)
13023ba70a
Bump WebAPI version
2021-03-23 21:05:01 +02:00
Alex
ecb7c02d4c
Update Portuguese BR NSIS translation ( #12376 )
2021-03-23 21:05:00 +02:00
slrslr
fd1ac43157
Translating new phrases ( #12318 )
...
* Update Czech NSIS translation
Co-authored-by: slrslr <czautohits@gmail.com >
2021-03-23 21:04:59 +02:00
Chocobo1
c6d4a1f7d4
Enlarge "speed limit" icon slightly
2021-03-23 21:04:58 +02:00
Chocobo1
01110690da
Don't let "program update" dialog steal focus
...
And also avoid creating an unnecessary event loop.
Closes #14250 .
2021-03-23 21:04:57 +02:00
Chocobo1
c998c7d38d
Disable translation of program name
2021-03-23 21:04:56 +02:00
an0n666
230f98da4a
Validate HTTPS Tracker Certificate by default
2021-03-23 21:04:56 +02:00
xavier2k6
c86db0004f
Change qBittorrent Updater window title
2021-03-23 21:04:54 +02:00
Christoph Rackwitz
e645514c8f
Allow tab to escape the text box in "Edit trackers" dialog
2021-03-23 21:04:53 +02:00
Chocobo1
f3c9dbd512
Remove redundant variable declarations
2021-03-23 21:04:52 +02:00
Chocobo1
ef650293e3
Add ability to prioritize selected items by shown file order
...
Closes #2834 .
2021-03-23 21:04:51 +02:00
Chocobo1
05e217537c
Move menu actions out of .ui files
...
This is to move related code together.
2021-03-23 21:04:50 +02:00
Vladimir Golovnev (Glassez)
13cb3b5ca1
Drop extension from generated content folder name
...
Try to detect whether generated content folder name contains extension
and drop it to avoid possible conflicts between file/folder names.
2021-03-23 21:04:38 +02:00
sledgehammer999
da0b276d5f
Bump to 4.3.3
2021-01-19 00:47:04 +02:00
sledgehammer999
2d73bc9e7d
Update Changelog
2021-01-19 00:46:29 +02:00
Chocobo1
fdd54fe568
Simplify code for checking free disk space
...
`QStorageInfo::bytesAvailable()` is guaranteed to return `-1` for an
invalid path.
https://doc.qt.io/qt-5/qstorageinfo.html#bytesAvailable
2021-01-19 00:45:13 +02:00
Chocobo1
e5ce24e55e
Improve detection of file extension string
2021-01-19 00:45:06 +02:00
sledgehammer999
d90349709b
Sync translations from Transifex and run lupdate
2021-01-17 23:24:02 +02:00
Vladimir Golovnev (Glassez)
adb0fe6582
WebUI: Correctly represent torrent content structure
2021-01-17 22:50:40 +02:00
Chocobo1
5ed81580c9
Add README.md to searchengine folder
2021-01-17 22:50:39 +02:00
Chocobo1
86d6fb86d7
Unify "github actions" artifacts naming scheme
2021-01-17 22:50:38 +02:00
Chocobo1
ddec247d4f
Migrate away from deprecated Qt functions
...
`QString QDateTime::toString(Qt::DateFormat format = Qt::TextDate)` will
be removed in Qt6.
2021-01-17 22:50:37 +02:00
Chocobo1
d431ecbe00
Disable clang "range loop analysis" compiler warning
...
See: https://github.com/qbittorrent/qBittorrent/pull/13915#issuecomment-739449084
2021-01-17 22:50:36 +02:00
Chocobo1
be929ed88c
Set source character sets to UTF-8
...
This suppress warning C4819.
https://docs.microsoft.com/en-us/cpp/build/reference/utf-8-set-source-and-executable-character-sets-to-utf-8?view=msvc-160
2021-01-17 22:50:35 +02:00
Chocobo1
2e1f9bf8be
Add script for generating project tarball
2021-01-17 22:50:20 +02:00
lbilli
7fff393b0e
On Linux use legacy 'data' directory only as a fallback
2021-01-17 22:47:13 +02:00
sledgehammer999
a669ec49ad
Correct copyright attribution
...
These files were created and edited in their entirety in commit 8db4bde15d
As far as I can tell they were almost entirety rewritten from their original state.
The old copyright attribution is restored and the new author is added too.
2021-01-17 22:47:11 +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
sledgehammer999
0cbd15890a
Merge pull request #14170 from sledgehammer999/use_cxx1z
...
Use c++1z to enable c++17
2021-01-07 13:40:05 +02:00
sledgehammer999
7fe7c6c277
Use c++1z to enable c++17
...
It increases compatibility with older qt versions.
2021-01-06 21:54:46 +02:00
jagannatharjun
e4c177fec7
Correctly set items flags in TorrentContentModel
...
Only set editable flag on item's where editing is handled in the delegate
closes #13515
2021-01-06 21:36:40 +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)
cb477f9a29
QMake: Raise minimal macOS target version
2021-01-06 21:36:35 +02:00
Vladimir Golovnev (Glassez)
58ac07667e
Use single parameter to accept torrent source
2021-01-06 21:36:34 +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
Vladimir Golovnev (Glassez)
dc464d4d41
Use nested namespaces definition syntax
2021-01-06 21:36:28 +02:00
Chocobo1
e7e3f6a9db
Don't use deprecated locale name
2021-01-06 21:36:27 +02:00
Chocobo1
5a1c4e79b3
Revise store/load state operations of Options Dialog
2021-01-06 21:36:26 +02:00
Chocobo1
c6d9ab6810
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".
2021-01-06 21:36:24 +02:00
Chocobo1
d7afad835e
Revise SettingsStorage store/load value interface
2021-01-06 21:36:22 +02:00
Chocobo1
8608d7b9da
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.
2021-01-06 21:36:22 +02:00
Vladimir Golovnev (Glassez)
72970602af
Reload "missing files" torrent instead of re-checking
2021-01-06 21:36:20 +02:00
Vladimir Golovnev (Glassez)
86579ca87d
Extract torrent reloading logic into separate method
2021-01-06 21:36:19 +02:00
Vladimir Golovnev (Glassez)
e55582124c
Drop notification about move storage failed
2021-01-06 21:36:17 +02:00
Vladimir Golovnev (Glassez)
bd8b06c607
Drop notification about move storage finished
2021-01-06 21:36:16 +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
Chocobo1
7cde969b90
Exclude configure script for "trailing newlines" checking
2021-01-06 21:36:12 +02:00
Chocobo1
a3b8f6880b
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.
2021-01-06 21:35:33 +02:00
Chocobo1
ad79fc8d43
Migrate away from deprecated std::iterator
class
2021-01-06 21:31:51 +02:00
Chocobo1
fb4bf94a56
Use function-pointer based signal-slot connection
2021-01-06 21:31:50 +02:00
Chocobo1
1c184944fd
Remove unused define
2021-01-06 21:31:49 +02:00
Chocobo1
ec420f6617
Bump project requirement to C++17
2021-01-06 21:31:47 +02:00
Chocobo1
d908227619
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.
2021-01-06 21:31:45 +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
thalieht
8cd0a7ae85
Group several torrent options into one dialog
...
Speed limits, share limits and the new options to disable DHT, PeX, LSD per torrent
2021-01-06 21:31:36 +02:00
thalieht
442f0df613
Save fastresume when setting torrent speed limits
2021-01-06 21:31:35 +02:00
thalieht
f9ee5bdb59
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
2021-01-06 21:31:33 +02:00
thalieht
b9602cc6ab
Convert existing speed dialog to global + alt global limits only
2021-01-06 21:31:25 +02:00
sledgehammer999
abb854a1e6
Bump to 4.3.2
2020-12-27 13:42:41 +02:00
sledgehammer999
4ee17a73d0
Update Changelog
2020-12-27 13:42:40 +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
Vladimir Golovnev (Glassez)
cd0b6d9a43
Extract enum serialization/parsing functions
2020-12-26 20:27:33 +02:00
Vladimir Golovnev (Glassez)
b8f1142abe
Improve torrent name handling
2020-12-26 20:27:31 +02:00
Chocobo1
78859415d6
Use a helper function to look up stat indexes
2020-12-26 20:27:29 +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
22f3abc4b5
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.
2020-12-26 20:27:27 +02:00
Chocobo1
a56e6294c1
Fix wrong JSON type returned
...
Fix up 78638a15be
.
Closes #14041 .
2020-12-26 20:27:26 +02:00
Chocobo1
77909e0093
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 .
2020-12-26 20:27:25 +02:00
Vladimir Golovnev (Glassez)
2c2bb14b2a
Fix bug of "move storage job" can be performed multiple times
2020-12-26 20:27:16 +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
Alessandro Simonelli
042238db87
NSIS: Fixed italian.nsi after 4.3.0.1 update
...
Merged my previous fixes (discussed in #13607 ) with the suggestions by @glassez (#13615 ).
2020-12-26 20:27:13 +02:00
FranciscoPombal
6e267f8e81
Update coding guidelines policy for include guards
2020-12-26 20:27:11 +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
e5d7738127
Update "HTTPS tracker validation" enablement conditional
...
https://github.com/arvidn/libtorrent/pull/5313
2020-12-26 20:27:06 +02:00
Chocobo1
422489e2a1
Revise Utils::Version comparison operators
2020-12-26 20:27:04 +02:00
Chocobo1
7de983b4e5
Add operator< for InfoHash class
2020-12-26 20:27:03 +02:00
Chocobo1
e4e55d2a80
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.
2020-12-26 20:27:01 +02:00
Vladimir Golovnev (Glassez)
926012ce71
Fix bug of torrents don't save "stopped" state
2020-12-26 20:27:00 +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
FranciscoPombal
2fe698ee60
CMake: detect required header for STACKTRACE feature
...
musl does not provide execinfo.h, so our current stacktrace-related
code cannot be used with it.
2020-12-26 20:26:57 +02:00
Chocobo1
177ac32a5e
Use the correct type when referring to info hash
2020-12-26 20:26:55 +02:00
Vladimir Golovnev (Glassez)
5f34d1555b
Fix received metadata handling
2020-12-26 20:26:54 +02:00
FranciscoPombal
7cfe68f46c
Bump dependency versions in CI
...
- Bump vcpkg version in GitHub Actions CI
- Bump libtorrent version in Travis CI
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru >
2020-12-26 20:26:53 +02:00
Vladimir Golovnev
f94f4d2391
Drop support for building with libtorrent < 1.2.11
...
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru >
2020-12-26 20:26:52 +02:00
FranciscoPombal
73b18d7ef3
Update minimum depedency versions
2020-12-26 20:26:51 +02:00
FranciscoPombal
817e9c4747
Fix method invocation on Qt < 5.10
...
Fixup 0c3fe54b0b
2020-12-26 20:26:48 +02:00
Vladimir Golovnev (Glassez)
28844eff44
Search for existing files in separate thread
2020-12-26 20:26:47 +02:00
Vladimir Golovnev (Glassez)
389664213b
Don't rewrite TorrentInfo instance if it's valid
2020-12-26 20:26:46 +02:00
Vladimir Golovnev (Glassez)
953b6fd6f8
Properly handle "Append extension" option changing
2020-12-26 20:26:45 +02:00
Vladimir Golovnev (Glassez)
9b4f3fcbf8
Clean up metadata downloading code
2020-12-26 20:26:43 +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
Chocobo1
5786c7ff11
Lift upper limit of "Max concurrent HTTP announces" option
...
Closes #13800 .
2020-12-26 20:26:37 +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
sledgehammer999
894446d308
Don't try to remove folders for a torrent without metadata
2020-12-26 20:26:34 +02:00
sledgehammer999
47e9c5ac08
Fix status of torrents without metadata
2020-12-26 20:26:33 +02:00
Chocobo1
7f47ac11f1
Add libtorrent 2.0 to TravisCI script
...
Also bumping to ubuntu focal as libtorrent requires boost >= 1.66.
2020-12-26 20:26:32 +02:00
Chocobo1
67b17891fa
Simplify the calculation of speed graph scale
2020-12-26 20:26:31 +02:00
Chocobo1
dd5b7ba05b
Avoid potential rounding to integer issues
2020-12-26 20:26:30 +02:00
Chocobo1
61aa4d9f1c
Fix coding style
2020-12-26 20:26:29 +02:00
Chocobo1
6e924b668e
Fix availability value
...
Closes #13869 .
Fix up 02f19bfbee
.
2020-12-26 20:26:27 +02:00
FranciscoPombal
618ce33fa0
Detect .ts file issues with file health workflow
...
Also adjust newlines to improve output
2020-12-26 20:26:26 +02:00
Chocobo1
ac413c76b9
Update to use latest macOS image for TravisCI
...
The default version is so outdated that it needs to rebuild many
dependencies. Now we bump it to the latest version so that it can use
prebuilt packages.
2020-12-26 20:26:25 +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
Chocobo1
8c48bf4a70
Fix wrong data used for comparison
...
In torrent transfer list we should use underlying data for sorting, not
displayed values.
Closes #13818 .
2020-12-26 20:26:23 +02:00
Andrei Stepanov
8bee69c9fc
NSIS: Update Russian translation
2020-12-26 20:26:14 +02:00
sledgehammer999
5876886345
Bump to 4.3.1
2020-11-25 13:49:50 +02:00
sledgehammer999
0392bfce3c
Update Changelog
2020-11-25 13:49:48 +02:00
sledgehammer999
c66cf43d6a
Sync translations from Transifex and run lupdate
2020-11-24 17:04:07 +02:00
Chocobo1
7515afc058
Pin github actions scripts to major versions
...
> Using the specific major action version allows you to receive critical
> fixes and security patches while still maintaining compatibility. It
> also assures that your workflow should still work.
https://docs.github.com/en/free-pro-team@latest/actions/reference/workflow-syntax-for-github-actions#jobsjob_idstepsuses
2020-11-24 16:14:16 +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
Thomas De Rocker
d3f46452a9
Update dutch.nsi
...
As referenced in https://github.com/qbittorrent/qBittorrent/pull/13615
and suggested by @glassez
- Use the word qBittorrent when it is mentioned for the first time within a string.
- If the string contains other references to qBittorrent, then use it (rather than repeating qBittorrent).
Line 24 is the updated Dutch translation for the recently updated English source string (may 2020)
2020-11-24 16:14:09 +02:00
sledgehammer999
7092a98c93
Add Latgalian translation
...
Closes #12415
2020-11-24 16:14:08 +02:00
sledgehammer999
8e19f66b4f
Update .desktop file translations
2020-11-24 16:14:06 +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
38efff461e
Add GitHub Actions file health workflow
2020-11-24 16:14:03 +02:00
FranciscoPombal
2179148b8d
Make sure there are no empty files
2020-11-24 16:14:02 +02:00
FranciscoPombal
f92c4c0a40
Fix extra/missing trailing new lines in files
2020-11-24 16:14:00 +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
FranciscoPombal
1d4af505c2
Encode files in UTF-8 without BOM
2020-11-24 16:13:57 +02:00
Chocobo1
baa609b713
Remove unused function
2020-11-24 16:13:55 +02:00
Chocobo1
bc20cf9ad7
Remove redundant semicolon
2020-11-24 16:13:53 +02:00
Chocobo1
7d3ecfa9a6
Allow adding torrents using "Paste" key sequence
...
Closes #13685 .
2020-11-24 16:13:52 +02:00
NotTsunami
88a90ed7d4
Fix mingw64 build error
...
mingw64 defines interface, so revert back to previous naming scheme
Fixes: 87864531ab
Closes #13649
2020-11-24 16:13:51 +02:00
jagannatharjun
3e540b3f51
Align integer data to right in torrent content view
2020-11-24 16:13:50 +02:00
jagannatharjun
87e1661bd5
Rename TR_PROGRESS header in TransferList
...
Closes #13665
2020-11-24 16:13:49 +02:00
Chocobo1
f82a4051af
Remove outdated information
2020-11-24 16:13:47 +02:00
Vladimir Golovnev (Glassez)
5730e917a1
Fix torrent state calculation
2020-11-24 16:13:46 +02:00
Vladimir Golovnev (Glassez)
5e7d7c2ef0
Don't resume "paused" torrents when checking by libtorrent
2020-11-24 16:13:45 +02:00
jagannatharjun
2b6e1953d7
Use ProgressbarDelegate for drawing progressbar in PropListDelegate
...
Also directly provide display data from model rather then generating it in delegate
2020-11-24 16:13:43 +02:00
jagannatharjun
6fc50f4169
Use ProgressBarDelegate for drawing progressbar in TransferListView
2020-11-24 16:13:42 +02:00
jagannatharjun
40d7a53695
Implement ProgressBarDelegate
2020-11-24 16:13:41 +02:00
Chocobo1
7e89893454
Add support for tracker scrape in libtorrent 2.0
2020-11-24 16:13:39 +02:00
Chocobo1
d83f09e731
Migrate away from deprecated functions in libtorrent 2.0
2020-11-24 16:13:38 +02:00
Chocobo1
36575b225d
Improve compatibility with libtorrent 2.0
...
In libtorrent 2.0, the `connection_type` was changed to a flag type and
hence it cannot be used in a switch statement directly. Also our use of
`connection_type` is limited so that a single equality comparison
would cover all of our use cases.
2020-11-24 16:13:36 +02:00
jagannatharjun
fe0ea843e0
Fix crash when clicked outside the table of torrent content view
...
Closes #13645
2020-11-24 16:13:35 +02:00
FranciscoPombal
a8911f8136
Clarify protocol choice label
2020-11-24 16:13:34 +02:00
FranciscoPombal
c5ef1a0207
Update "GitHub Actions" CI actions versions
2020-11-24 16:13:32 +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
Chocobo1
621578353d
Remove redundant checking before remove
2020-11-24 16:13:29 +02:00
Chocobo1
ca776c3036
Fix class name
2020-11-24 16:13:28 +02:00
Chocobo1
9d27eb3b57
Move qHash helper for libtorrent types to its own file
2020-11-24 16:13:26 +02:00
Vladimir Golovnev (Glassez)
9171dffe97
Prevent resume data to be saved for removed torrent
2020-11-24 16:13:25 +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
Andrei Stepanov
891c471160
Fix typo in connection.cpp
...
limiation -> limitation
2020-11-24 16:13:17 +02:00
Sepro
f49f5ba9a1
Place WebUI RSS description in sandboxed iframe
2020-11-24 16:10:40 +02:00
NotTsunami
539b3b7c3e
Remove branches block from Travis config
...
This block has no significance because these branches are stale and
builds will not be triggered on these branches.
2020-11-24 16:10:39 +02:00
NotTsunami
83ce285138
Disallow CMake build failures on Travis
...
Our CMake configuration has matured over time, thus require CMake
builds to require successful builds on Travis CI.
2020-11-24 16:10:30 +02:00
sledgehammer999
260e48b705
Correct the Changelog entry
2020-10-22 14:48:11 +03:00
sledgehammer999
f09ee1b398
Bump to 4.3.0.1
2020-10-22 09:29:00 +03:00
sledgehammer999
e3c2266611
Update Changelog
2020-10-22 09:22:54 +03:00
bovirus
53fb6220c5
NSIS: Update Italian translation
2020-10-22 09:21:00 +03:00
sledgehammer999
34e6b73374
Close parentheses in Changelog entry
2020-10-19 01:48:52 +03:00
sledgehammer999
b925cffddb
Bump to 4.3.0
2020-10-18 22:41:04 +03:00
sledgehammer999
3595626eff
Update Changelog
2020-10-18 22:41:03 +03:00
sledgehammer999
e757b4f8da
Sync translations from Transifex and run lupdate
2020-10-18 21:18:33 +03:00
Mike Tzou
1c663adee7
Merge pull request #13465 from WillDaSilva/mid-click-close-tabs
...
Enable the use of middle-click to close tabs
2020-10-18 12:24:03 +08:00
Vladimir Golovnev
720c1c8216
Merge pull request #13395 from glassez/disk_io
...
Implement disk IO thread wrapper
2020-10-17 12:53:25 +03:00
Will Da Silva
6e0cf96726
Make middle-click close search tabs
2020-10-17 00:21:10 -04:00
Mike Tzou
152afa71fa
Merge pull request #11644 from lbilli/nodata
...
Don't create 'data' subdirectory on Linux
2020-10-16 09:40:06 +08:00
lbilli
1c7bfcac46
Don't create 'data' subdirectory on Linux
2020-10-15 14:02:28 -04:00
Mike Tzou
5be7b256e9
Merge pull request #13499 from bershanskiy/hashing_threads
...
Add option for hashing_threads setting
2020-10-14 11:40:01 +08:00
Mike Tzou
84a96505e1
Merge pull request #13500 from Chocobo1/flags
...
Run svgcleaner on the country flags
2020-10-13 12:15:12 +08: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
8276b6f468
Merge pull request #13495 from thalieht/peerlistZero
...
Fix regression of not hiding zero values in the peer list
2020-10-13 03:27:38 +08:00
Chocobo1
63ab911584
Run svgcleaner on the country flags
...
As a side effect, svgcleaner also fixes the corrupt flags reported in #13497 .
Closes #13497 .
2020-10-12 10:58:58 +08:00
Chocobo1
da5969d0a6
Sync country flags with upstream
2020-10-12 10:58:11 +08:00
Mike Tzou
726704a7ed
Merge pull request #13487 from Chocobo1/creator
...
Add support for creating v2 torrents
2020-10-12 10:05:50 +08:00
thalieht
9d25405144
Check cheaper conditional first
2020-10-11 20:22:27 +03:00
thalieht
95b452a3e9
Fix regression of not hiding zero values in the peer list
...
Fixup 13aab6e04d
2020-10-11 20:17:01 +03:00
Chocobo1
19d77b0881
Add support for creating v2 torrents
2020-10-10 23:21:26 +08: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
Vladimir Golovnev
bad5e1f887
Merge pull request #12086 from FranciscoPombal/code-cleanup
...
Clean ups
2020-10-09 07:13:18 +03:00
Vladimir Golovnev
cf93fe124d
Merge pull request #13439 from FranciscoPombal/clazy_fixes_2
...
Clazy fixes
2020-10-09 07:10:25 +03:00
Vladimir Golovnev
a95c70344d
Merge pull request #13480 from FranciscoPombal/fix-ci
...
Fix packages installation on Ubuntu CI
2020-10-09 07:09:29 +03:00
Chocobo1
611f2de11f
Fix wrong capitalization
2020-10-09 00:40:29 +08:00
Chocobo1
744b89c878
Fix image not loading under proxy
...
Closes #13483 .
2020-10-09 00:37:32 +08:00
FranciscoPombal
7d01b6a29c
Fix packages installation on Ubuntu CI
2020-10-08 13:55:58 +01:00
FranciscoPombal
2c10b3936b
Change some types (uint -> int) in RSS subsystem
2020-10-07 23:26:13 +01:00
FranciscoPombal
deffdbe881
Change some types (uint -> int) in Session class
2020-10-07 23:26:13 +01:00
FranciscoPombal
87864531ab
Clean up in Session class
2020-10-07 23:26:13 +01:00
FranciscoPombal
f502f60f7c
Avoid unessary QString allocation
2020-10-07 15:34:26 +01:00
FranciscoPombal
776c1f1546
Always use multi-arg arg() overload when possible
...
Fixed clazy-qstring-arg Clazy warnings
2020-10-07 15:34:26 +01:00
Mike Tzou
bfef403411
Merge pull request #13463 from jagannatharjun/cmake-version
...
Fix CMake generated qBittorrent's version string
2020-10-05 11:36:14 +08:00
Mike Tzou
8df53e9370
Merge pull request #13468 from jagannatharjun/graph-full
...
Correctly fill whole width of graph
2020-10-05 11:09:19 +08:00
jagannatharjun
e2c0f00adb
Correctly fill whole width of graph
2020-10-03 12:41:18 +05:30
jagannatharjun
8696988d53
Fix CMake generated qBittorrent's version string
...
${qBittorrent_VERSION} will expand to a string that ends with build number but version string from qMake doesn't end with build number
2020-10-02 23:57:03 +05:30
Mike Tzou
39e8eb0427
Merge pull request #13432 from FranciscoPombal/status_badge
...
Add workflow status badge for GitHub Actions CI
2020-09-29 10:34:06 +08:00
FranciscoPombal
e3d9fe7e4d
Add workflow status badge for GitHub Actions CI
2020-09-28 09:43:19 +01:00
Vladimir Golovnev
eec6637cfa
Merge pull request #13456 from glassez/cmake
...
Fix CMake project
2020-09-28 11:33:59 +03:00
Vladimir Golovnev (Glassez)
3d0543c444
Fix static build with Qt < 5.14
2020-09-28 07:10:49 +03:00
Mike Tzou
79b4fb70f5
Merge pull request #13445 from jagannatharjun/pieces-green
...
Use toned green color for downloading pieces in Pieces bar
2020-09-28 11:37:03 +08:00
Vladimir Golovnev (Glassez)
aef8f4f465
Set target property before it is used
2020-09-27 22:17:50 +03:00
Mike Tzou
0284721ba2
Merge pull request #13450 from jagannatharjun/cmake-fix
...
By default use dynamic runtime with MSVC on CMake
2020-09-27 11:28:20 +08:00
jagannatharjun
ebf9a60c69
By default use dynamic runtime with MSVC on CMake
...
This was default before CMake overhaul, and it doesn't
make sense to use static builds with daily developement.
Also static Qt builds are not readily available on Windows.
2020-09-27 00:03:02 +05:30
jagannatharjun
fbe484a615
Use toned green color for downloading pieces in Pieces bar
2020-09-26 14:53:46 +05:30
Mike Tzou
2bfaa8229a
Merge pull request #13431 from Chocobo1/namespace
...
Fix code defects
2020-09-26 11:20:10 +08:00
Mike Tzou
f62639b70f
Merge pull request #13288 from FranciscoPombal/gha-ci
...
Add GitHub Actions CI workflow
2020-09-25 19:57:27 +08:00
Mike Tzou
6de2435041
Merge pull request #13429 from Chocobo1/travisCI
...
Fix building in macOS on TravisCI
2020-09-25 19:29:43 +08:00
Chocobo1
ef9765cea1
Remove meaningless const on pointers
...
This only apply to signals.
2020-09-25 15:13:14 +08:00
Chocobo1
2e37ea608c
Migrate away from obsoleted functions
2020-09-25 15:12:40 +08:00
Chocobo1
ac3ab2432a
Remove redundant namespace prefix
2020-09-25 15:10:20 +08:00
Chocobo1
f487d32594
Fix initialization order
2020-09-25 12:25:09 +08:00
Chocobo1
e4ffe7aa32
Fix building in macOS on TravisCI
2020-09-25 12:25:09 +08:00
Mike Tzou
1a3091a980
Merge pull request #13419 from silverqx/patch-1
...
Fix fully-qualified-moc-types clazy warning
2020-09-22 22:34:52 +08:00
Silver Zachara
97df5667e7
Use fully-qualified type names
...
Fixed fully-qualified-moc-types clazy warnings
2020-09-21 18:30:02 +02:00
FranciscoPombal
eed50c4893
Add GitHub Actions CI workflow
...
- Ubuntu 18.04/20.04, GUI ON/OFF
- Windows 2019
- macOS 10.15 GUI ON/OFF
2020-09-21 17:13:33 +01:00
Mike Tzou
1b2fc63089
Merge pull request #13412 from Chocobo1/cmake
...
CMake improvements
2020-09-22 00:02:33 +08:00
Mike Tzou
c3b5668a07
Merge pull request #12577 from NotTsunami/peer
...
Allow users to configure no_connect_privileged_ports
2020-09-22 00:02:20 +08:00
Chocobo1
da2a26fa01
Use silent flag when invoking lrelease via cmake
2020-09-21 12:16:47 +08:00
Chocobo1
a675b9305b
Add compile flags from conf.pri.windows file to cmake
2020-09-21 12:16:47 +08:00
NotTsunami
2eb3ff7f06
Allow users to configure no_connect_privileged_ports
...
Don't hardcode lt::settings_pack::no_connect_privileged_ports. We
support the peer alert for it already, so connections blocked by this
setting should be logged.
2020-09-20 22:46:28 -04:00
Vladimir Golovnev
04d345251e
Merge pull request #13400 from glassez/sequential
...
Improve sequentialDownload/firstLastPiecePriority handling
2020-09-20 08:00:33 +03:00
Mike Tzou
63ff5e348c
Merge pull request #13399 from Chocobo1/cmake
...
Improvements to cmake build system
2020-09-19 22:12:42 +08:00
Vladimir Golovnev
1333fc81f8
Merge pull request #13402 from FranciscoPombal/cmake_fix
...
CMake: fix linking against OpenSSL
2020-09-19 07:16:41 +03:00
Vladimir Golovnev
e41ae1457e
Merge pull request #13390 from NotTsunami/ban
...
Prevent peers from being lost when banning
2020-09-19 07:14:50 +03:00
NotTsunami
8d64d38914
Prevent peers from being lost when banning
...
The selected rows aren't queried until after a user confirms they
would like to ban the selected peers. If a peer disconnects before
the confirmation is pressed, they will not be included in the
selection. This commit makes sure the selected rows are stored before
a selection is made to prevent the loss of any peers.
Closes #13385 .
2020-09-18 15:33:17 -04:00
FranciscoPombal
2534909d3b
CMake: fix linking against OpenSSL
...
This should have been there from the start,
but for some reason, the lack of it didn't cause any issued
for many systems.
2020-09-18 17:53:14 +01:00
Vladimir Golovnev (Glassez)
39d32063c1
Implement disk IO thread wrapper
2020-09-18 15:56:29 +03:00
Vladimir Golovnev (Glassez)
ff36356be0
Improve sequentialDownload/firstLastPiecePriority handling
...
Always store firstLastPiecePriority in resume data.
Don't recalculate firstLastPiecePriority value each time it is accessed.
Always store sequentialDownload in resume data as native libtorrent field.
2020-09-18 13:33:55 +03:00
Chocobo1
0539c816ae
Set compression rate for rcc targets
...
This follows our current setting in src.pro.
2020-09-18 14:49:17 +08:00
Chocobo1
6880e03145
Remove compile requirement for boost::system
...
boost::system is not a dependency for our project.
2020-09-18 14:48:54 +08:00
Chocobo1
7fed0391ba
Don't impose unnecessary compile options on users
...
This is unexpected for users that take single job compilation as the
default (which is always the case since forever). Users can change the
default if they wish to use multicore for compilation.
2020-09-18 13:58:45 +08:00
Mike Tzou
70d9ea8034
Merge pull request #13388 from Chocobo1/webui
...
Add missing semicolons in WebUI
2020-09-18 11:56:35 +08:00
Vladimir Golovnev
4099de73ed
Merge pull request #13327 from FranciscoPombal/cmake_no_genexp
...
CMake: overhaul and improve scripts
2020-09-18 05:36:37 +03:00
FranciscoPombal
46123b9989
CMake: overhaul and improve scripts
...
- Bump minimum required version and
make use of more modern language features
- Rely more on target_...() commands to establish dependency
relationships between targets rather than directory property commands
- Improve libtorrent package discovery
- Enable and handle application features more explicitly
- Improve user-facing output
- Fix various compilation issues on Windows (MSVC and MinGW) and macOS
- Improve handling of translations
- Add explanatory comments where relevant
- Make CMake scripts fully independent of qmake files/details
- Remove old functions/macros
2020-09-17 13:13:26 +01:00
Chocobo1
ccdc3b201b
Add missing semicolons
...
Also trim trailing whitespaces along the way.
2020-09-17 12:11:13 +08:00
Mike Tzou
79bc4f40e8
Merge pull request #13353 from FranciscoPombal/logger_fix
...
Fix peer blocked message
2020-09-17 11:32:30 +08:00
FranciscoPombal
e0c62827a8
Fix peer blocked message
2020-09-16 16:59:51 +01:00
Mike Tzou
ff82063520
Merge pull request #13366 from qbittorrent/linuxtrayhtml
...
Don't use HTML in Linux tray tooltip
2020-09-15 12:31:49 +08:00
Mike Tzou
49e55d5a5d
Merge pull request #13268 from ngosang/feature/python35-
...
Update minimum Python version to 3.5.0
2020-09-14 12:03:20 +08:00
Mike Tzou
1e01147c31
Merge pull request #13369 from Chocobo1/msg
...
Avoid using libtorrent internal functions
2020-09-14 11:40:37 +08:00
thalieht
ede1bd0657
Don't use HTML in Linux tray tooltip
...
HTML is no longer allowed in Linux tray tooltip's title, only in its subtext.
Closes #13030
2020-09-13 12:43:55 +03:00
Chocobo1
8cfac795c6
Avoid using libtorrent internal functions
...
`char const* socket_type_name(socket_type_t);` is decided to be not
exported and thus it is internal:
https://github.com/arvidn/libtorrent/pull/4859/files#r452925563
2020-09-13 12:22:31 +08:00
Mike Tzou
8d57a6527b
Merge pull request #13355 from Chocobo1/allocate
...
Enable faster disk space allocation by default
2020-09-12 23:39:49 +08:00
Mike Tzou
2d1855dc05
Merge pull request #13354 from Chocobo1/libt2
...
Disable deprecated settings in libtorrent 2.0
2020-09-12 11:02:12 +08:00
Chocobo1
01603c1f62
Enable faster disk space allocation by default
...
In libtorrent > 2.0, the setting is turned off by default, now we just
re-enable it to preserve the behavior as in earlier versions.
2020-09-10 22:12:35 +08:00
Chocobo1
79eb9a4990
Move signal connections to appropriate place
2020-09-10 21:17:46 +08:00
Chocobo1
0bf76723f1
Move enums into anonymous namespace
2020-09-10 21:17:46 +08:00
Chocobo1
2fd69a21b0
Initialize session with session_params
class
...
The old way of initialization is deprecated in libtorrent 2.0.
2020-09-09 16:16:08 +08:00
Chocobo1
554eab50bb
Disable deprecated libtorrent settings
2020-09-09 16:16:08 +08:00
Vladimir Golovnev
defdd5121c
Merge pull request #13340 from glassez/fix-magnet
...
Improve adding torrent using Magnet URI
2020-09-09 10:06:39 +03:00
Mike Tzou
c967bf31ff
Merge pull request #13336 from Chocobo1/webui
...
Minor WebUI improvements
2020-09-09 11:48:55 +08:00
Mike Tzou
6e971c47e7
Merge pull request #13319 from an0n666/tracker-queue
...
Expose libtorrent max_concurrent_http_announces in advanced settings
2020-09-09 11:48:25 +08:00
Vladimir Golovnev (Glassez)
5727fcb001
Store and use full magnet URI instead of hash
2020-09-08 14:57:45 +03:00
Vladimir Golovnev (Glassez)
20206ec92a
Improve adding torrent using Magnet URI
...
Closes #13249 .
2020-09-08 14:56:38 +03:00
Chocobo1
5677ce1cc9
Use proper uppercase "UTF-8" in charset field
2020-09-08 14:31:19 +08:00
Chocobo1
2f1016494b
Specify UTF-8 charset when forming data from plain text
...
This suppresses a browser warning about unspecified character encoding
of an HTTP response.
2020-09-08 14:30:55 +08:00
Mike Tzou
8954b21784
Merge pull request #13337 from Chocobo1/libt2
...
Improve compatibility with libt 2.0
2020-09-08 14:23:47 +08:00
an0n666
73b39a8dec
Expose libtorrent max_concurrent_http_announces in advanced settings
2020-09-08 06:05:45 +06:00
Chocobo1
79bb8227d0
Migrate away from deprecated address::to_string(error_code)
...
The other overload require users to handle exceptions themselves.
2020-09-07 14:48:13 +08:00
Chocobo1
25a47dadeb
Migrate away from deprecated address::from_string()
2020-09-07 14:27:18 +08:00
Chocobo1
2a2ae2a566
Add helper function to convert to string from lt::socket_type_t type
2020-09-07 13:48:57 +08:00
Chocobo1
2c01ac4b75
Improve handling of empty iframe src
...
"about:blank" is suggested in https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe
2020-09-07 12:14:11 +08:00
Mike Tzou
84be5ed664
Merge pull request #13328 from FranciscoPombal/fix_geodb
...
Fix GeoDB download in systems with non-C locales
2020-09-07 10:23:55 +08:00
FranciscoPombal
9b43d260a7
Fix GeoDB download in systems with non-C locales
...
Closes #13318 .
2020-09-05 23:21:05 +01:00
Mike Tzou
1c87073990
Merge pull request #13305 from Chocobo1/openAction
...
Fix "Open containing folder" opened the wrong path for folder item
2020-09-01 09:38:18 +08:00
Chocobo1
ef6dfa9b54
Fix "Open containing folder" opened the wrong path for folder item
...
Previously that action is the same as "Open" action which is wrong
behavior, it should be opening the parent folder instead. The wrong
behavior is observed on nautilus 3.36.3 and nemo 4.6.5.
2020-08-30 20:38:35 +08:00
Mike Tzou
3c6e6ae872
Merge pull request #13294 from Chocobo1/openFile
...
Fix open path won't work correctly
2020-08-30 11:28:46 +08:00
Mike Tzou
cae5c5cea0
Merge pull request #13257 from Sophist-UK/patch-1
...
Expose LibTorrent peer_turnover settings
2020-08-30 11:28:28 +08:00
Mike Tzou
ffb6189108
Merge pull request #13285 from LoopsGod/command
...
Add CTRL + I keyboard shortcut to open statistics (command + I on Mac)
2020-08-30 11:27:03 +08:00
Chocobo1
eb1a3e2b29
Fix open path won't work correctly
...
Previously, if double click on the Size number in torrent content tab
the path would be an incorrect value and as such open path functionality
won't work, this commit fixes it.
2020-08-29 19:59:55 +08:00
Chocobo1
307ca61c86
Code clean up
2020-08-29 19:56:05 +08:00
LoopsGod
7efee615ad
Add CTRL + I shortcut to actionStatistics
...
Mapped the CTRL + I shortcut to open statistics in GUI.
2020-08-26 09:57:44 +02:00
Mike Tzou
4539c679d9
Merge pull request #13256 from jagannatharjun/pieces-style
...
Use palette colors in pieces bars
2020-08-23 11:26:48 +08:00
jagannatharjun
d73757bf6e
Use palette colors in pieces bars
2020-08-22 14:46:37 +05:30
Mike Tzou
e86cef449b
Merge pull request #13269 from Chocobo1/webui
...
Fix seeding time checkbox placement in WebUI
2020-08-20 21:53:51 +08:00
Sophist
4c37c229d9
Expose LibTorrent peer_turnover settings
...
This PR exposes the LibTorrent Peer Turnover Settings in qBT Advanced Settings in order to allow users to adjust how frequently slow and uninteresting connections are closed to allow potentially better / faster connections to be made.
The default settings are to turnover peers when the number of connections is at least 90% of allowed global or per torrent connections, and to disconnect the least attractive 4% of these connections every 5 minutes.
See https://www.libtorrent.org/reference-Settings.html#peer_turnover
2020-08-19 20:11:58 +01:00
Chocobo1
8869dc543f
Fix seeding time checkbox placement in WebUI
2020-08-19 15:55:16 +08:00
Chocobo1
ed2756b885
Convert to the proper type
2020-08-19 15:55:16 +08:00
Chocobo1
f7f0a27d76
Clean up coding style
2020-08-19 15:55:06 +08:00
Chocobo1
b2f951a269
Remove duplicate code
2020-08-19 15:12:55 +08:00
ngosang
71be4f03be
Update minimum Python version to 3.5.0
2020-08-18 20:56:39 +02:00
Mike Tzou
207337682c
Merge pull request #13265 from Chocobo1/pr_13259
...
Add a scroll area to torrent creator dialog
2020-08-18 13:10:40 +08:00
Ernesto Castellotti
5c4dfbec39
Add a scroll area to torrent creator dialog
...
As to prevent the dialog from going out-of-screen on a small monitor.
2020-08-17 20:00:43 +08:00
Mike Tzou
6416c224e3
Merge pull request #13258 from SeproDE/webRssRelativePath
...
Change api requests in RSS WebUI to relative paths
2020-08-17 07:40:00 +08:00
Sepro
e07c7d57d2
Change api requests in RSS WebUI to relative paths
2020-08-16 06:40:15 +02:00
Mike Tzou
eb32bdab34
Merge pull request #13252 from jagannatharjun/fix-rss-style
...
Fix incorrect foreground for read articles with custom theme
2020-08-16 12:04:47 +08:00
jagannatharjun
01849297ef
Fix incorrect foreground for read articles with custom theme
2020-08-15 01:04:05 +05:30
Vladimir Golovnev
e1d097a92d
Merge pull request #13234 from glassez/load-torrent
...
Improve torrent loading code
2020-08-13 18:58:36 +03:00
Mike Tzou
91b3ec8380
Merge pull request #13246 from jagannatharjun/rss-config
...
Allow changing RSS article list colors from custom UI theme
2020-08-12 12:34:54 +08:00
jagannatharjun
a63ca5f0c4
Allow changing RSS article list colors from custom UI theme
...
Use ArticleListWidget own palette to obtain default colors
2020-08-11 19:03:49 +05:30
Vladimir Golovnev (Glassez)
b77568839d
Remove legacy/unused torrent property
2020-08-09 12:11:13 +03:00
Vladimir Golovnev (Glassez)
dc3d23c045
Improve torrent loading code
2020-08-09 12:11:07 +03:00
Vladimir Golovnev (Glassez)
eb99bfe20f
Remove deprecated and unused code
2020-08-05 08:27:14 +03:00
Mike Tzou
4d1c5a8aea
Merge pull request #13226 from jagannatharjun/rss-style
...
Use palette colors in RSS feeds
2020-08-04 10:47:05 +08:00
Mike Tzou
3a61042e40
Merge pull request #13206 from an0n666/revert-seed-mode-patch
...
Read piece for torrents added with skip hash only for older libtorrent
2020-08-03 19:56:37 +08:00
jagannatharjun
f1a07d6c43
Use palette colors in RSS feeds
2020-08-03 12:12:18 +05:30
Mike Tzou
8ff4374325
Merge pull request #13220 from jagannatharjun/fix-style
...
Fix style
2020-08-03 10:51:50 +08:00
an0n666
dc211f69ac
Read piece for torrents added with skip hash only for older libtorrent
2020-08-02 16:33:55 +06:00
jagannatharjun
5b4a940842
Load custom theme before initializing main window
...
Improves debug build startup time with custom themes
2020-08-02 14:02:18 +05:30
jagannatharjun
b323c4e6be
Set stylesheet of target widget rather then defining global stylesheet
2020-08-01 01:37:08 +05:30
Mike Tzou
fd200ac31d
Merge pull request #13214 from Chocobo1/edit
...
Disable edit action
2020-07-31 11:29:44 +08:00
Chocobo1
b092fc9abb
Disable edit action
2020-07-30 14:31:39 +08:00
Mike Tzou
a2a5c28c9f
Merge pull request #13188 from jagannatharjun/fix-speed
...
Fix impossible speed in graph
2020-07-30 11:20:03 +08:00
jagannatharjun
f1edda2c81
Only enqueue session refresh request once previous request is completed
...
Fixes impossible speed in graph
2020-07-29 10:00:56 +05:30
Vladimir Golovnev
3a0ec8b283
Merge pull request #13193 from glassez/notify-move-storage
...
Notify user when torrent moving finished
2020-07-27 15:01:48 +03:00
Mike Tzou
dcef3a68f8
Merge pull request #13156 from jagannatharjun/search-style
...
Use default delegate for SearchModel
2020-07-26 20:20:40 +08:00
Mike Tzou
30bf14c85f
Merge pull request #13157 from jagannatharjun/peer
...
Use default delegate for PeerListWidget
2020-07-26 20:20:16 +08:00
Vladimir Golovnev (Glassez)
bac7fbc68e
Notify user when torrent moving finished
2020-07-26 14:31:58 +03:00
jagannatharjun
00413b0dd1
Use default delegate for SearchModel
...
Introduce and use data role - SearchFilterModel::UnderlyingDataRole as a filter role in SearchFilterModel
Removes the usage of QItemDelegate
2020-07-26 13:05:54 +05:30
jagannatharjun
13aab6e04d
Use default delegate for PeerListWidget
...
Removes the usage of QItemDelegate
2020-07-26 12:57:57 +05:30
Vladimir Golovnev
2a638d16e0
Merge pull request #13175 from glassez/move-status
...
Update torrent status on move enqueued
2020-07-23 09:20:47 +03:00
Vladimir Golovnev (Glassez)
c3104e0210
Update torrent status on move enqueued
2020-07-22 15:22:29 +03:00
Vladimir Golovnev
dc7267b600
Merge pull request #13168 from glassez/save-checking
...
Always allow to save resume data in checking state
2020-07-22 10:14:55 +03:00
Mike Tzou
0defdacbfd
Merge pull request #13153 from jagannatharjun/styledelegate-content
...
Use QStyledItemDelegate for content views
2020-07-22 10:57:42 +08:00
Vladimir Golovnev (Glassez)
d77c6321d3
Always allow to save resume data in checking state
2020-07-21 14:26:31 +03:00
Vladimir Golovnev (Glassez)
f35dbdfb8b
Fix crash on exit when compiled using MinGW
2020-07-21 13:56:07 +03:00
Vladimir Golovnev
23eb117a05
Merge pull request #13151 from glassez/move-storage
...
Improve "move torrent storage" handling
2020-07-20 21:27:27 +03:00
Mike Tzou
9cf2321f02
Merge pull request #13158 from jagannatharjun/scanfolder
...
Use QStyledItemDelegate as base for ScanFoldersDelegate
2020-07-20 12:38:37 +08:00
Vladimir Golovnev (Glassez)
cdc2b8d79b
Improve "move torrent storage" handling
2020-07-19 15:04:42 +03:00
jagannatharjun
8dd92fe612
Use QStyledItemDelegate as base for ScanFoldersDelegate
2020-07-19 00:54:12 +05:30
jagannatharjun
4733cb59e4
Use QStyledItemDelegate for content views
2020-07-18 13:30:26 +05:30
Mike Tzou
8eecfb1bee
Merge pull request #13145 from jagannatharjun/cmake-speed
...
CMake improvements
2020-07-18 12:19:40 +08:00
jagannatharjun
d355491b85
Use default warning level with MSVC in CMake
...
Previously used warning level 4 creates a lot of noise that largely come from Qt headers
2020-07-17 14:41:48 +05:30
jagannatharjun
c7da78ff1d
Fix invalid comparison for Boost version in CMake
...
This reduces compile time more then half when compiled against Boost
version greater than 1.60
2020-07-17 14:00:39 +05:30
Vladimir Golovnev
3cf8626317
Merge pull request #13110 from FranciscoPombal/countries-resolution
...
Remove DISABLE_COUNTRIES_RESOLUTION define
2020-07-09 08:30:12 +03:00
Vladimir Golovnev
fd74e83dd1
Merge pull request #13109 from FranciscoPombal/fix-encoding
...
Change Windows resource file encoding to UTF-8
2020-07-08 16:05:14 +03:00
FranciscoPombal
8f8f7ebd15
Remove DISABLE_COUNTRIES_RESOLUTION define
2020-07-08 01:07:50 +01:00
FranciscoPombal
b7dc1ef48d
Change Windows resource file encoding to UTF-8
2020-07-06 11:41:47 +01:00
Mike Tzou
83f1028ff7
Merge pull request #13099 from jagannatharjun/fix-log
...
Use delegate provided rect for textRect in LogItemDelegate
2020-07-05 10:51:35 +08:00
Mike Tzou
291977a0e5
Merge pull request #13098 from jagannatharjun/fix-transfer-progress
...
Use global style options for drawing progress in TransferList
2020-07-05 10:51:00 +08:00
jagannatharjun
952dc26514
Use delegate provided rect for textRect in LogItemDelegate
...
Previously we get textRect from QStyle but on some OS this returns invalid rect
2020-07-04 15:49:21 +05:30
jagannatharjun
332dd027af
Use global style options for drawing progress in TransferList
2020-07-04 10:36:54 +05:30
Mike Tzou
778f1f4b6f
Merge pull request #13097 from brvphoenix/fix-webui-api
...
WebUI: fix the url for banPeers method
2020-07-04 12:04:10 +08:00
brvphoenix
4d9c6b9f02
WebUI: fix the url for banPeers method
2020-07-03 01:17:06 -07:00
Mike Tzou
ca8654d380
Merge pull request #13068 from Chocobo1/libt
...
Bump requirement to libtorrent 1.2
2020-06-27 12:52:13 +08:00
Chocobo1
8ebb6dc559
Initialize variable at better place
2020-06-26 17:17:29 +08:00
Chocobo1
40e432b127
Bump requirement to libtorrent 1.2
...
Closes #12258 .
2020-06-26 17:17:29 +08:00
Vladimir Golovnev
06e1b07274
Merge pull request #13042 from FranciscoPombal/fix_request_parser
...
Fix truncation when parsing HTTP request query
2020-06-24 11:15:54 +03:00
Mike Tzou
929dc2e2b3
Merge pull request #13055 from brvphoenix/fix-cross-compile
...
Improve qmake configuration file for cross compilation
2020-06-23 18:47:26 +08:00
FranciscoPombal
a1809a43f8
Add QT_NO_CAST_FROM_BYTEARRAY to compile definitions
...
Prevents bugs like #13029 , even if the ternary expression operands
have different types.
2020-06-23 11:45:38 +01:00
FranciscoPombal
0fa7fca31e
Fix truncation when parsing HTTP request query
...
Closes #13029 .
Fixes an issue with truncation of a QByteArray at the first '\0' byte
when parsing HTTP request query strings.
Previously, the operands of the ternary expression were of
different types. Most likely this was leading to a conversion
of the result to some kind of '\0'-terminated string type somewhere
along the way, in turn causing its truncation at the first '\0' byte
once converted back to QByteArray.
For some reason this bug was only present on Windows (MSVC).
2020-06-23 11:45:30 +01:00
brvphoenix
05bd0e5570
Improve qmake configuration file for cross compilation
2020-06-22 23:21:29 -07:00
Vladimir Golovnev
602e6b5263
Merge pull request #13040 from glassez/fix-rss
...
Fix RSS article is not marked as "read" when torrent is downloaded
2020-06-20 05:49:09 +03:00
Vladimir Golovnev (Glassez)
b4f65ca080
Don't modify source URL when wait for download status
2020-06-19 12:16:31 +03:00
Vladimir Golovnev (Glassez)
1e86c76e8a
Emit signal when redirected to Magnet
2020-06-19 12:15:15 +03:00
Vladimir Golovnev
9dfeeb9e81
Merge pull request #12994 from glassez/custom-storage
...
Find complete files when moving torrent storage
2020-06-14 10:19:46 +03:00
Mike Tzou
59f365b343
Merge pull request #13006 from SeproDE/webui-rss-fixes
...
Fix issues regarding WebUI RSS implementation
2020-06-14 12:17:12 +08:00
Sepro
d1c084e3b0
Remove redundant empty value tags on inputs in WebUI
2020-06-13 00:40:47 +02:00
Sepro
04c8c4e846
Add newRule and removeRule buttons to RSS downloader WebUI
...
New buttons for the basic actions instead of only relying on the context menu.
2020-06-13 00:40:42 +02:00
Sepro
23a2675665
Fix input overlap off RSS downloader WebUI
...
The text input's in the RSS downloader window where not correctly inside their bounding box.
2020-06-12 13:23:53 +02:00
Sepro
65636e644f
Remove maxlength limit from RSS feeds in WebUI
...
URL's and feed names including paths could be longer then 100 characters, so the limit was removed.
2020-06-12 13:20:50 +02:00
Vladimir Golovnev (Glassez)
b28436c871
Find complete files when moving torrent storage
2020-06-12 12:58:17 +03:00
Vladimir Golovnev
e7622d2e9b
Merge pull request #12820 from glassez/drop-unwanted
...
Drop ".unwanted folder" feature
2020-06-12 12:17:35 +03:00
Vladimir Golovnev (Glassez)
6a0a78f3f7
Drop ".unwanted folder" feature
2020-06-10 11:35:09 +03:00
Mike Tzou
17205802ec
Merge pull request #12557 from SeproDE/webui-rss
...
Implemented RSS reader and auto downloader in reference WebUI
2020-06-09 14:34:56 +08:00
Mike Tzou
5ebe4e4c70
Merge pull request #12956 from arvidn/storage-include
...
Correct libtorrent header include in torrentcreatorthread.cpp
2020-06-07 20:17:59 +08:00
Mike Tzou
96f9a657f1
Merge pull request #12978 from arvidn/plugin-lt2-compat
...
support changes to plugin API in libtorrent-2.0
2020-06-07 11:39:08 +08:00
arvidn
d2cc01f65c
Support changes to plugin API in libtorrent-2.0
...
libtorrent-2.0 introduced a type-safe alternative to void* (lt::client_data_t)
for passing user-data into plugins. qBT doesn't use any user data in its
plugins, but the signatures have changed nevertheless, and qBT need to update to
be compatible with libtorrent-2.0.
2020-06-06 10:58:07 +02:00
Mike Tzou
7668d7947a
Merge pull request #12969 from Chocobo1/qt5
...
Don't use functions deprecated in Qt 5.15
2020-06-06 12:52:23 +08:00
arvidn
af05990bc9
Fix libtorrent include to a more precise header
...
torrentcreatorthread.cpp does not need to include libtorrent/storage.hpp, but
just needs libtorrent/file_storage.hpp. The former header is for implementing a
custom storage. Change include to libtorrent/file_storage.hpp
2020-06-05 23:48:08 +02:00
Chocobo1
a1ea7a111e
Don't use deprecated QProcess::startDetached() overload
2020-06-04 20:20:50 +08:00
Chocobo1
15b2811fa5
Don't use deprecated QUrl::topLevelDomain()
2020-06-04 20:20:50 +08:00
Chocobo1
547982c741
Don't use deprecated QButtonGroup::buttonClicked()
2020-06-04 20:20:50 +08:00
Chocobo1
2fd4381398
Don't use QWheelEvent deprecated functions
2020-06-04 20:20:50 +08:00
Chocobo1
4971cb9a27
Don't use deprecated QAbstractSocket::error()
2020-06-04 20:20:50 +08:00
Chocobo1
9c330812cc
Don't use deprecated QSet::iterator::operator+(int)
2020-06-04 20:20:50 +08:00
Chocobo1
c239568658
Don't use deprecated QTextStreamFunctions::flush()
...
Qt doc states: "If QTextStream operates on a string, this function does
nothing". So remove it.
2020-06-04 15:29:32 +08:00
Mike Tzou
4a98341038
Merge pull request #12964 from thalieht/webuiwatchdefault
...
Preselect "Default save path" in WebUI watched folders
2020-06-03 09:22:24 +08:00
Mike Tzou
820ffcd238
Merge pull request #12963 from shaneallgeier/patch-1
...
Fix typo in systemd service file
2020-06-03 02:00:53 +08:00
thalieht
7076fc29e0
Preselect "Default save path" in WebUI watched folders
2020-06-02 16:45:25 +03:00
Shane Allgeier
5ff1653c8c
Fix typo in systemd service file
2020-06-01 16:37:17 -05:00
Mike Tzou
9aad574e1a
Merge pull request #12949 from jagannatharjun/fix-big
...
Fix large strings not visible in log widget
2020-06-01 19:59:43 +08:00
jagannatharjun
8267898655
Fix large strings not visible in log widget
2020-05-31 15:37:33 +05:30
Mike Tzou
788d2729db
Merge pull request #12877 from an0n666/private-torrents
...
Address some issues regarding private torrents
2020-05-30 19:29:02 +08:00
Mike Tzou
6b6d2cab5b
Merge pull request #12891 from jagannatharjun/cache-icons
...
Cache flag icons
2020-05-30 13:36:52 +08:00
Mike Tzou
f52fe121f8
Merge pull request #12941 from Chocobo1/flags
...
Sync flag icons with upstream
2020-05-30 12:36:49 +08:00
Mike Tzou
9d135441db
Merge pull request #12942 from Chocobo1/cacheCountry
...
Cache country lookup result in PeerInfo class
2020-05-30 12:36:15 +08:00
jagannatharjun
bcf11cf1e8
Cache flag icons
2020-05-29 17:55:12 +05:30
Vladimir Golovnev
68d4dc34db
Merge pull request #12944 from glassez/hotfix
...
Fix invalid assertion
2020-05-29 12:20:32 +03:00
Vladimir Golovnev (Glassez)
a6ad95278c
Fix invalid assertion
...
Closes #12938 .
2020-05-29 09:35:19 +03:00
Chocobo1
472dd96716
Cache country lookup result in PeerInfo class
...
The country lookup happens quite often when "Resolve peer countries"
option is enabled.
2020-05-29 13:49:52 +08:00
Chocobo1
5248a95055
Sync flag icons with upstream
...
Upstream commit: 5cf339a36cf64f65882702e1d40359d38485126c.
2020-05-29 13:29:23 +08:00
Vladimir Golovnev
c003a12f1f
Merge pull request #12884 from glassez/custom-storage
...
Find complete files when checking torrent
2020-05-26 19:00:37 +03:00
Mike Tzou
446d308bf0
Merge pull request #12916 from mr-cn/master
...
WebUI: Fix wrong file renaming selection range
2020-05-26 22:15:28 +08:00
MR
af6cae0e09
WebUI: Fix wrong file renaming selection range
2020-05-26 16:38:54 +08:00
an0n666
6d85ae8f62
Address some issues regarding private torrents
2020-05-26 14:18:15 +06:00
Vladimir Golovnev (Glassez)
f4efa530dc
Create header for common BitTorrent declarations
2020-05-25 20:32:35 +03:00
Vladimir Golovnev (Glassez)
4a1e3de06d
Find complete files when checking torrent
2020-05-25 20:31:59 +03:00
Vladimir Golovnev
b44816305f
Merge pull request #12418 from FranciscoPombal/improve_win_conf_pri
...
Improve Windows qmake build configuration files
2020-05-25 14:23:13 +03:00
Mike Tzou
9aba0cbcf3
Merge pull request #12894 from Chocobo1/thememanager
...
Improvements to UIThemeManager
2020-05-25 12:16:39 +08:00
Mike Tzou
1c1c82ce4f
Merge pull request #12893 from Chocobo1/icon
...
Move qbittorrent32.png to WebUI images folder
2020-05-25 12:16:10 +08:00
Chocobo1
ba2db3f139
Avoid overuse of QStringLiteral
...
This code path doesn't look like frequently used.
2020-05-24 13:13:55 +08:00
Chocobo1
99a1802dbb
Make class variable const
2020-05-24 13:13:55 +08:00
Chocobo1
00eb61543d
Make the icon cache a class variable
2020-05-24 13:13:32 +08:00
Chocobo1
f98d2cb01b
Ditch svgo config file
...
svgcleaner is a better tool for this job.
2020-05-23 20:54:02 +08:00
Chocobo1
2319bdd23b
Move qbittorrent32.png to WebUI images folder
2020-05-23 20:53:32 +08:00
Mike Tzou
35a3265657
Merge pull request #12861 from jagannatharjun/style-icons
...
Allow changing GUI icons from theme bundles
2020-05-23 20:31:09 +08:00
Sepro
2b3c92a4a8
WebUI: Add RSS functionality
...
Implemented RSS Reader and AutoDownloader in reference WebUI.
2020-05-22 14:21:45 +02:00
jagannatharjun
3c733ddf0c
Allow changing GUI icons from theme bundles
2020-05-22 11:06:22 +05:30
jagannatharjun
43319f2213
Always use UIThemeManager for obtaining icons in GUI
2020-05-22 11:06:10 +05:30
Vladimir Golovnev
a1faef0a3c
Merge pull request #12874 from jagannatharjun/fix-compile
...
Fix compilation error with MSVC 16.6
2020-05-21 13:50:26 +03:00
Mike Tzou
de85b8b552
Merge pull request #12859 from Chocobo1/gif
...
Move WebUI icons to its own folder
2020-05-21 10:59:52 +08:00
jagannatharjun
971a21f306
Add missing header stdexcept in fspathedit
...
Fixes compilation error with MSVC 16.6
2020-05-20 23:25:19 +05:30
Mike Tzou
c85d2e547b
Merge pull request #12835 from Piccirello/web-content-type
...
Specify Content-Type in Web API error responses
2020-05-20 14:05:20 +08:00
Thomas Piccirello
6e4f49fc57
Always specify Content-Type in Web API error responses
2020-05-19 01:08:06 -07:00
Chocobo1
e6f0c81355
Remove unused WebUI images
2020-05-19 15:09:44 +08:00
Chocobo1
02c25dbe2a
Move WebUI icons to its own folder
...
After this change: "http://<server>/icons" will point to "src/icons"
folder and "http://<server>/images" points to the real "images" folder
in the relative path.
2020-05-19 14:58:49 +08:00
Vladimir Golovnev
dde7421f59
Merge pull request #12848 from jagannatharjun/move-icons
...
Move all icon resources in icons folder root
2020-05-19 07:39:55 +03:00
FranciscoPombal
c77f3ef8d3
Improve Windows qmake build configuration files
2020-05-18 18:21:29 +01:00
jagannatharjun
ab91d546e5
Move all icon resources to icon folder root
2020-05-18 20:30:51 +05:30
Mike Tzou
774c0276f0
Merge pull request #12847 from Chocobo1/deprecated
...
Don't use deprecated Qt function options
2020-05-18 11:41:11 +08:00
Chocobo1
328eb5b5cc
Provide a proper default return statement for the function
2020-05-16 21:48:10 +08:00
Chocobo1
21e1c33d15
Don't use deprecated QPainter option
...
Warning from compiler:
speedplotview.cpp:342:63: warning: ‘QPainter::HighQualityAntialiasing’ is deprecated: Use Antialiasing instead [-Wdeprecated-declarations]
2020-05-16 21:23:45 +08:00
Chocobo1
7c8846fc53
Don't use deprecated QRegularExpression option
...
The following is the warning from compiler:
rss_item.cpp:70:79: warning: ‘QRegularExpression::OptimizeOnFirstUsageOption’ is deprecated: This option does not have any effect since Qt 5.12 [-Wdeprecated-declarations]
2020-05-16 21:05:15 +08:00
Vladimir Golovnev
306499f7a8
Merge pull request #12843 from glassez/fix-rename-rule
...
Fix renaming RSS autodownload rule
2020-05-15 21:40:23 +03:00
Vladimir Golovnev (Glassez)
1b5dd0aa2d
Fix renaming RSS autodownload rule
2020-05-15 09:41:40 +03:00
Mike Tzou
5470ae8c1a
Merge pull request #12837 from Piccirello/webui-textarea-enter
...
Fix Enter button behavior in web UI textarea
2020-05-14 22:11:31 +08:00
Mike Tzou
7f6279819d
Merge pull request #12828 from thalieht/rootfolder
...
Disable "Keep top-level folder" checkbox if torrent doesn't have root folder
2020-05-14 22:10:39 +08:00
Tom Piccirello
ecc17018b7
Fix Enter button behavior in web UI textarea
...
Hitting the enter button inside the textarea would submit the form, rather than advancing to the next line.
2020-05-14 03:25:11 -07:00
thalieht
e2a8fe0dce
Disable checkbox if torrent doesn't have root folder
2020-05-13 13:35:13 +03:00
Vladimir Golovnev
841536c9c5
Merge pull request #12805 from glassez/move-storage
...
Wait for storage to be moved when removing torrent
2020-05-12 07:34:45 +03:00
Mike Tzou
e015710ffd
Merge pull request #12793 from Chocobo1/prebuilt_headers
...
Prebuild HTTP headers
2020-05-12 10:13:35 +08:00
Mike Tzou
1839e3d96a
Merge pull request #12748 from Piccirello/webui_sidebar_trackers
...
Add Trackers section to Web UI sidebar
2020-05-12 10:13:06 +08:00
Chocobo1
be152f45c9
Define and use Http::HeaderMap type
2020-05-11 00:34:28 +08:00
Mike Tzou
e72fe83c36
Merge pull request #12750 from an0n666/nsis-install
...
NSIS: Change confusing un-installation question
2020-05-10 23:52:35 +08:00
Vladimir Golovnev (Glassez)
53fd0e1607
Wait for storage to be moved when removing torrent
2020-05-10 14:31:33 +03:00
an0n666
a87b72e0cb
NSIS: Change the installers uninstallation question to clear confusion
2020-05-10 13:15:32 +06:00
Vladimir Golovnev
f0967be79d
Merge pull request #12790 from FranciscoPombal/hotfix_include
...
Fix include
2020-05-10 08:19:45 +03:00
Chocobo1
d57b9be706
Rename function
2020-05-10 02:53:32 +08:00
Chocobo1
74a2168bc1
Define and use a proper HTTP header structure
2020-05-10 02:53:11 +08:00
Chocobo1
957d697aee
Prebuild HTTP headers as much as possible
...
This avoids some branching when building a HTTP response.
2020-05-10 02:50:13 +08:00
FranciscoPombal
2192de5233
Fix include
2020-05-09 17:36:37 +01:00
Vladimir Golovnev (Glassez)
378a863611
Remove unwanted files after torrent removed
2020-05-09 19:19:13 +03:00
Vladimir Golovnev (Glassez)
e49c554044
Improve "move torrent storage" queue
2020-05-09 19:19:13 +03:00
Vladimir Golovnev (Glassez)
b6bf09fc0f
Fix calculation of torrent current state
...
Some actions can be performed despite of other states
(e.g. "Errored" torrent can check its files currently)
so the states that relate to such actions should override
other (so-called "static") states.
2020-05-09 19:19:13 +03:00
Vladimir Golovnev
18b2511238
Merge pull request #12779 from glassez/cleanup
...
Clean up source files layout
2020-05-09 06:52:19 +03:00
Vladimir Golovnev (Glassez)
a8c333ff25
Drop "private" subfolders
...
"private" subfolders violate the structure of the project,
since the existence of all other subfolders is based on a
different principle.
In addition, there is no clear line between "private" and
"non private".
2020-05-08 14:59:18 +03:00
Thomas Piccirello
ad4d8d28ec
Add Trackers section to Web UI sidebar
...
Closes #7601 .
2020-05-07 19:10:55 -07:00
Mike Tzou
1917064bde
Merge pull request #12755 from jagannatharjun/transferlist-colors
...
Read Transfer list's custom colors from config.json
2020-05-07 12:34:28 +08:00
jagannatharjun
77658be9a7
Read Transfer list's custom colors from config.json
2020-05-06 16:37:37 +05:30
Vladimir Golovnev
fb7774705d
Merge pull request #12756 from jagannatharjun/log-colors
...
Allow changing log colors from config.json
2020-05-06 06:49:28 +03:00
jagannatharjun
cce8f178e4
Allow changing log colors from config.json
2020-05-05 18:53:31 +05:30
Mike Tzou
2c100feb35
Merge pull request #11618 from jagannatharjun/align
...
Align Properties Tabbar in center
2020-05-05 13:10:53 +08:00
Mike Tzou
5b36706a71
Merge pull request #12719 from jagannatharjun/json-colors
...
Allow setting application palette from config.json
2020-05-05 12:37:09 +08:00
Mike Tzou
991a064002
Merge pull request #12705 from Piccirello/webui_search_categories
...
Fix Web UI search categories only working in English
2020-05-05 12:35:20 +08:00
jagannatharjun
afbe55d004
Allow setting application palette from config.json
2020-05-04 18:37:58 +05:30
Thomas Piccirello
84a40c1665
Include trackers in /sync/maindata API endpoint
2020-05-04 00:11:45 -07:00
jagannatharjun
6f38a86d9a
Align Properties Tabbar in center
2020-05-04 11:25:37 +05:30
Mike Tzou
ccb9cc632e
Merge pull request #12736 from Piccirello/webui_small_screen
...
Shrink Web UI search bar on small screens
2020-05-04 13:36:15 +08:00
Vladimir Golovnev
2d1d1ba26a
Merge pull request #12734 from glassez/project-cleanup
...
Cleanup project configuration
2020-05-03 16:37:36 +03:00
Thomas Piccirello
92ed5c76f3
Bump Web API version
2020-05-03 02:23:22 -07:00
Thomas Piccirello
8e8cd59d90
Fix Web UI search categories only working in English
...
Closes #10239 .
2020-05-03 02:23:22 -07:00
Vladimir Golovnev (Glassez)
c40da7a5dd
CMake: Fix header inclusion in autogenerated files
2020-05-03 10:27:24 +03:00
Mike Tzou
8999f1a8da
Merge pull request #12735 from Kolcha/include
...
Clean up header inclusion
2020-05-03 12:08:48 +08:00
Thomas Piccirello
cb8a9518d1
Shrink Web UI search bar on small screens
2020-05-02 15:45:57 -07:00
Vladimir Golovnev (Glassez)
a22f921941
CMake: Fix optional features handling
2020-05-02 20:59:26 +03:00
Nick Korotysh
c97e4f105f
Clean up header inclusion
2020-05-02 19:54:36 +03:00
Vladimir Golovnev (Glassez)
bc05f3f76b
CMake: Fix typo
2020-05-02 17:56:21 +03:00
Vladimir Golovnev (Glassez)
eeae308c29
CMake: Don't use subprojects in GUI subfolders
2020-05-02 17:21:03 +03:00
Vladimir Golovnev (Glassez)
ace8a093d2
QMake: Include all GUI sources in "gui.pri"
2020-05-02 17:20:43 +03:00
Vladimir Golovnev
4e7ff88cf4
Merge pull request #12718 from glassez/improve-cmake
...
Improve CMake project
2020-05-02 08:54:25 +03:00
Vladimir Golovnev
1cd76cd8ba
Merge pull request #12707 from FranciscoPombal/fix_travis
...
Use latest CMake on TravisCI
2020-05-02 08:53:00 +03:00
Mike Tzou
8110912e4e
Merge pull request #12706 from Piccirello/webui_search_small_screen
...
Hide additional Web UI search filters on small screens
2020-05-02 11:53:08 +08:00
Mike Tzou
02c6afd769
Merge pull request #12711 from Kolcha/tooltip
...
Show tooltip for torrent name in transfer list
2020-05-02 11:51:16 +08:00
FranciscoPombal
22f16881fe
Use latest CMake on TravisCI
2020-05-01 15:44:19 +01:00
Vladimir Golovnev (Glassez)
ad0ee0cd36
CMake: Enable/disable GUI application via option
2020-05-01 17:03:01 +03:00
Vladimir Golovnev (Glassez)
fb42434946
CMake: Put executable into top-level directory
2020-05-01 17:03:01 +03:00
Vladimir Golovnev (Glassez)
642bf7b8a6
CMake: Don't split GUI code into several libraries
2020-05-01 17:03:00 +03:00
Vladimir Golovnev (Glassez)
4a2d25b03b
Clean up header inclusion
2020-05-01 17:02:49 +03:00
Nick Korotysh
1fd4ff5c2c
Show tooltip for some properties in transfer list
...
Tooltip is added for next columns:
- name
- status
- category
- tags
- tracker
- save path
closes #12696
2020-05-01 13:08:09 +03:00
Mike Tzou
2aa80fe9ba
Merge pull request #12689 from thalieht/subfolder
...
Rename "Create subfolder" option to "Keep subfolder"
2020-05-01 14:09:17 +08:00
Vladimir Golovnev
7ca0592694
Merge pull request #12684 from an0n666/requires-restart
...
Remove "requires restart" from network interface settings
2020-05-01 07:38:36 +03:00
Thomas Piccirello
d5b8399a01
Hide additional Web UI search filters on small screens
...
Closes #11386 .
2020-04-30 17:14:47 -07:00
Mike Tzou
93e1e063b2
Merge pull request #12692 from Chocobo1/cleanup
...
Handle empty piece range properly
2020-04-30 21:15:10 +08:00
Chocobo1
5ca26516eb
Handle empty piece range properly
...
Related: #12677 .
2020-04-30 13:18:57 +08:00
Chocobo1
f6eb341b32
Clean up code
2020-04-30 13:18:24 +08:00
Mike Tzou
4f820163ff
Merge pull request #12691 from Chocobo1/iterator
...
Support range-based iteration in IndexRange class
2020-04-30 13:10:13 +08:00
Mike Tzou
7061242681
Merge pull request #12176 from NotTsunami/ssl
...
Add HTTPS tracker certificate validation option
2020-04-30 13:09:31 +08:00
Vladimir Golovnev
5a78bcef99
Merge pull request #12480 from FranciscoPombal/cmake_force_cpp14
...
CMake: Enforce minimum C++ mode support
2020-04-30 07:42:40 +03:00
Chocobo1
ddb9dfe185
Disable copy construction of QObject subclasses
2020-04-29 21:40:50 +08:00
Chocobo1
6d167e9a28
Remove const from class variables
...
It prohibits copy construction, copy assignment and move semantics.
2020-04-29 21:32:34 +08:00
Chocobo1
21581141f6
Support range-based iteration in IndexRange class
2020-04-29 21:15:24 +08:00
an0n666
1d3bb705c8
Remove "requires restart" from network interface settings
...
Network interface changes are applied on the fly. A restart is not required.
2020-04-29 12:42:49 +06:00
Mike Tzou
35a4643824
Merge pull request #12637 from RockyTDR/master
...
NSIS: Updated Dutch translation
2020-04-29 12:42:25 +08:00
thalieht
1bdffe1729
Rename "Create subfolder" to "Keep top-level folder"
...
Closes #12673
2020-04-29 03:09:38 +03:00
Thomas De Rocker
e5be05584e
NSIS: Update Dutch translation
2020-04-28 19:27:10 +03:00
sledgehammer999
02434129f6
Use latest cmake on TravisCI
2020-04-28 15:50:16 +01:00
FranciscoPombal
d593d6baa1
CMake: Enforce minimum C++ mode support
2020-04-28 15:50:16 +01:00
FranciscoPombal
f63e70b449
Bump minimum required CMake version to 3.16
2020-04-28 14:15:40 +01:00
sledgehammer999
1db90e1fb6
Merge pull request #12680 from sledgehammer999/travis-bionic
...
Switch TravisCI to bionic
2020-04-28 15:00:54 +03:00
sledgehammer999
d7d60ab78d
Switch TravisCI to bionic
2020-04-28 14:07:57 +03:00
Mike Tzou
6dcb0665ca
Merge pull request #12655 from Chocobo1/delete
...
Improve behavior of deleting torrents in transfer list
2020-04-28 11:14:49 +08:00
Mike Tzou
725c836a26
Merge pull request #12659 from adem4ik/patch-1
...
Fix typo in optionsdialog.cpp
2020-04-27 12:35:50 +08:00
Chocobo1
7ce83599b4
Improve behavior of deleting torrents in transfer list
...
Avoids accessing invalid pointers.
Closes #12584 .
2020-04-27 02:03:19 +08:00
Andrei Stepanov
159f93e051
Fix typo in optionsdialog.cpp
...
qBittorent -> qBittorrent
2020-04-26 20:59:42 +04:00
Chocobo1
4e961845cf
Clean up variable initialization order
2020-04-26 10:21:23 +08:00
sledgehammer999
e786481655
TravisCI: Update libtorrent RC_1_2 brew bottle
...
Is is built with deprecated functions disabled.
2020-04-25 05:41:19 +03:00
sledgehammer999
480e732694
Bump Web API version
2020-04-25 00:20:15 +03:00
sledgehammer999
13a96407b3
Sync translations from Transifex and run lupdate
2020-04-25 00:11:21 +03:00
Mike Tzou
7bc572afb9
Merge pull request #12602 from Chocobo1/metatype
2020-04-24 22:13:27 +08:00
Vladimir Golovnev
c10318b576
Merge pull request #12549 from SeproDE/rss-api
...
Expand RSS related WebAPI
2020-04-24 07:46:37 +03:00
Vladimir Golovnev
4b897e7702
Merge pull request #12603 from glassez/fix-crash
...
Fix crash when torrent is deleted on limit reached
2020-04-24 07:45:35 +03:00
Mike Tzou
708b9b9c1b
Merge pull request #12579 from Chocobo1/headers
...
Add ability to send custom HTTP headers
2020-04-24 12:39:18 +08:00
Mike Tzou
78cc0752a8
Merge pull request #12598 from schnurlos/patch-7
...
NSIS: Update german translation
2020-04-24 12:38:48 +08:00
Vladimir Golovnev (Glassez)
22bda12d6c
Fix crash when torrent is deleted on limit reached
2020-04-23 16:56:53 +03:00
Chocobo1
9efd5eaed3
Register datatype properly
...
Qt 5.9.5 doesn't seem to recognize it, this patch fixes it.
Fix up: d8401c76f5
.
Related: #12601 .
2020-04-23 21:42:51 +08:00
Chocobo1
2729c0cb6d
Suppress misleading warning message
...
QString::split() was giving a non-empty QStringList, and
that caused Session::setBannedIPs() to emit misleading warning message.
2020-04-23 21:01:33 +08:00
schnurlos
a1766d25af
NSIS: Update german translation
2020-04-23 13:18:14 +02:00
Chocobo1
bb80b378c1
Add ability to send custom HTTP headers
2020-04-23 12:13:01 +08:00
NotTsunami
cc1ebbf379
Add HTTPS tracker certificate validation option
...
This commit adds a new libtorrent setting to validate HTTPS tracker
certificates. When enabled, libtorrent will validate the certificate
of HTTPS trackers against the system's certificate store. This option
is only enabled on libtorrent versions >= 1.2.6 and on non-Windows
systems, as OpenSSL does not use the system's certificate store on
Windows.
2020-04-22 15:50:17 -04:00
Sepro
98bb63b390
WebAPI: Change delimiter from string to char in preferences API
2020-04-22 19:14:06 +02:00
Sepro
a3b58e59da
WebAPI: Expand RSS related API
...
Added markAsRead API method with optional parameter for specifying single article.
Added the rss_smart_episode_filters and rss_download_repack_proper_episodes keys to preference api.
Added matchingArticles API method for retrieving articles that match specified rule.
2020-04-22 19:13:17 +02:00
sledgehammer999
f1d02c6aee
Sync translations from Transifex and run lupdate
2020-04-22 18:44:30 +03:00
sledgehammer999
f758b24486
Merge pull request #12487 from an0n666/no-localhost-on-invalid
...
Use configured net interface even when it is missing
2020-04-22 17:49:08 +03:00
Mike Tzou
5cfec83385
Merge pull request #12568 from NotTsunami/upnp-fix
...
WebUI: Fix UPnP lease duration get/set
2020-04-22 02:01:08 +08:00
Mike Tzou
188f82d3be
Merge pull request #12567 from Chocobo1/icon
...
Reduce ambiguity for selecting icons
2020-04-22 01:58:15 +08:00
an0n666
e3e5da7a71
Use configured net interface even when it is missing
2020-04-21 19:04:43 +06:00
NotTsunami
075633cc40
WebUI: Fix UPnP lease duration get/set
...
Add missing setProperty and getProperty calls for the new UPnP lease
duration setting.
Fixes 6b4925d222
.
Closes #12566 .
2020-04-21 01:36:13 -04:00
Chocobo1
f915241bcb
Reduce ambiguity for selecting icons
...
Related: #12554 .
2020-04-21 12:35:08 +08:00
Mike Tzou
8ed63d69de
Merge pull request #12528 from thalieht/proxycheckbox
...
Don't uncheck Authentication checkbox when changing proxy type
2020-04-21 01:28:21 +08:00
sledgehammer999
48c1ad8059
Merge pull request #12486 from MaddTheSane/patch-1
...
Update Info.plist
2020-04-20 01:12:29 +03:00
thalieht
5d16379941
Don't uncheck Authentication checkbox when changing proxy type
...
Closes #12525
2020-04-19 21:28:21 +03:00
Mike Tzou
e05ef12e68
Merge pull request #12544 from Chocobo1/final
...
Add final specifier to GUI classes
2020-04-20 00:33:47 +08:00
Mike Tzou
0d849339da
Merge pull request #12545 from Chocobo1/padding
...
Reduce padding in class
2020-04-20 00:33:31 +08:00
Chocobo1
1b80890696
Reduce padding in class
...
TorrentHandleImpl size is reduced from 768 bytes to 736 bytes.
CreateTorrentParams size didn't change.
Size numbers are from x64.
2020-04-19 11:44:41 +08:00
Chocobo1
ac2d063add
Move initialization default values to header
2020-04-19 11:42:49 +08:00
Chocobo1
16a76eee9f
Add final specifier to GUI classes
...
Follow up d3d3f7dbb3
.
2020-04-19 10:59:59 +08:00
Mike Tzou
30ce2dfdf3
Merge pull request #12530 from Chocobo1/logger
...
Reduce padding in structure
2020-04-19 10:17:18 +08:00
Mike Tzou
b06d44b242
Merge pull request #12526 from Chocobo1/pr_12162
...
Change default upload slot choking limits
2020-04-19 10:17:04 +08:00
Mike Tzou
349a07a443
Merge pull request #12531 from Chocobo1/final
...
Add final specifier to classes
2020-04-19 10:16:44 +08:00
Mike Tzou
f5ab14c2f0
Merge pull request #12538 from sledgehammer999/travis_deprecated_disabled
...
TravisCI: Use libtorrent with deprecated functions disabled for Linux builds
2020-04-19 10:03:13 +08:00
sledgehammer999
a17b1f2b78
Use static_cast for explicit type conversions
2020-04-18 18:22:40 +03:00
sledgehammer999
d69ce4f1cf
TravisCI: Use libtorrent with deprecated functions disabled for Linux builds
2020-04-18 16:13:02 +03:00
Chocobo1
648d44d9b9
Reduce padding in structure
...
Log::Msg originally takes 32 bytes, now shrinks to 24 bytes.
Log::Peer originally takes 40 bytes, now shrinks to 32 bytes.
2020-04-18 18:33:46 +08:00
thalieht
f0549b4cb2
Make a few cosmetic changes in code
2020-04-17 19:51:26 +03:00
Chocobo1
d3d3f7dbb3
Add final specifier to classes
...
This allow compilers to generate more efficient code.
2020-04-17 13:18:40 +08:00
Vladimir Golovnev
2681093d27
Merge pull request #12513 from glassez/torrent-impl
...
Split TorrentHandle interface and implementation
2020-04-17 07:40:28 +03:00
Mike Tzou
a5fe96f793
Merge pull request #12458 from jagannatharjun/log
...
Convert the Log widget to use custom View/Model
2020-04-17 11:27:35 +08:00
Vladimir Golovnev (Glassez)
1132b84548
Split TorrentHandle interface and implementation
2020-04-16 20:22:26 +03:00
an0n666
ec6b249509
Change default upload slot choking limits
2020-04-16 23:46:48 +08:00
jagannatharjun
fd89717330
Convert the Log widget to use custom View/Model
...
Co-authored-by: sledgehammer999 <hammered999@gmail.com >
2020-04-15 22:18:00 +05:30
Mike Tzou
e030fc067b
Merge pull request #12422 from an0n666/increase-timeout
...
Change default stop_tracker_timeout settings
2020-04-15 11:44:29 +08:00
an0n666
1168387df0
Change default stop_tracker_timeout settings
2020-04-13 16:05:36 +06:00
Mike Tzou
5d10724044
Merge pull request #12484 from rwasef1830/skip-setting-outgoing-interface-for-any-ip
...
Do not use 0.0.0.0 or [::] for outgoing interfaces
2020-04-13 11:52:27 +08:00
Raif Atef
1549b782e6
Do not use 0.0.0.0 or [::] for outgoing interfaces
...
Fixes #12443
2020-04-12 08:41:18 +02:00
C.W. Betts
d889f0975e
Update Info.plist
...
Wrap the UTTypeTagSpecifications in arrays, as Xcode does.
2020-04-11 23:47:50 -06:00
Mike Tzou
c25b3e623c
Merge pull request #12423 from an0n666/remove-strict-superseeding
...
Remove deprecated strict super seeding mode from advanced settings
2020-04-12 00:41:28 +08:00
Mike Tzou
0429ca3fb5
Merge pull request #12464 from Chocobo1/date
...
Fix date format for "Last seen complete"
2020-04-11 12:30:23 +08:00
Chocobo1
31648a4433
Fix date format for "Last seen complete"
...
Closes #12462 .
2020-04-10 13:06:56 +08:00
Mike Tzou
d8356deefa
Merge pull request #12449 from SeproDE/fix-addMultiplePeers
...
Fix add multiple peers from webui
2020-04-10 12:22:22 +08:00
Mike Tzou
43e5e242ff
Merge pull request #12450 from Chocobo1/noBuffer
...
Avoid holding encoded resume data in memory
2020-04-09 13:21:32 +08:00
Sepro
2c8230f1ae
Fix unable to add multiple peers in WebUI
...
Wrong delimiter was used.
2020-04-08 18:55:02 +02:00
Chocobo1
e7890fb727
Preallocate output buffer
2020-04-08 13:06:39 +08:00
Chocobo1
d476ae4f14
Fix header inclusion order
2020-04-08 11:58:12 +08:00
Vladimir Golovnev
eb0295197c
Merge pull request #12301 from jozsefsallai/master
...
Better Python path detection on Windows
2020-04-07 22:29:26 +03:00
Chocobo1
f76d56e224
Suppress unused variable warning on macOS
2020-04-07 16:02:10 +08:00
Chocobo1
d8401c76f5
Avoid holding encoded resume data in memory
...
Now it the encoded resume data will be streamed to file instead of a
temporary buffer holding the whole of it.
2020-04-07 16:02:09 +08:00
Vladimir Golovnev
fe81633403
Merge pull request #12436 from glassez/fix-savepath
...
Save "resume data" when torrent storage is moved
2020-04-07 09:54:51 +03:00
an0n666
026aad2c04
Remove deprecated strict super seeding mode from advanced settings
2020-04-07 09:54:32 +06:00
Mike Tzou
f58f425175
Merge pull request #12430 from rwasef1830/add-outgoing-interfaces
...
Fix outgoing interfaces not getting assigned in case addr is not null.
2020-04-07 10:10:32 +08:00
Mike Tzou
342eec7f83
Merge pull request #12382 from adem4ik/master
...
Remove white outline around mascot.png
2020-04-07 09:39:13 +08:00
Raif Atef
bf1c9e34d7
Fix outgoing interface is not getting assigned
...
Assignment was missing in main branch of condition statement.
Closes https://github.com/qbittorrent/qBittorrent/issues/12421
2020-04-06 14:45:44 +02:00
Vladimir Golovnev (Glassez)
0a8c2f75af
Save "resume data" when torrent storage is moved
2020-04-06 12:16:27 +03:00
Mike Tzou
26941a5b02
Merge pull request #12427 from Chocobo1/io
...
Avoid inefficient behavior
2020-04-06 12:13:30 +08:00
Mike Tzou
3021b99a50
Merge pull request #12420 from Chocobo1/locale
...
Sort locale language list
2020-04-06 12:12:50 +08:00
Mike Tzou
cc090c8e37
Merge pull request #12416 from NotTsunami/master
...
Set disk cache size for older libtorrent versions
2020-04-06 12:12:12 +08:00
Chocobo1
2fa6a7f6f5
Avoid inefficient behavior
...
Since the class needs to be copy-constructible, there may be many
copies of an instance. So instead of writing to the device on every
destructor call, only flush buffer on the last destructor call.
2020-04-06 01:04:12 +08:00
Chocobo1
5eaedb13e5
Sort locale language list
2020-04-05 19:21:37 +08:00
Mike Tzou
f647b5a97f
Merge pull request #12404 from Chocobo1/pwr
...
Fix wrong logic that disables "prevent sleeping" timer
2020-04-05 12:30:48 +08:00
NotTsunami
e48612a703
Set disk cache size for older libtorrent versions
...
Libtorrent versions older than 1.2.6 have a bug when setting disk
cache size to auto.
See 6c880159c9
.
2020-04-04 21:36:01 -04:00
Chocobo1
09545d4036
Fix wrong logic that disables "prevent sleeping" timer
...
Also update power management state early so we don't need to wait for
the timer timeout to have the effect.
2020-04-04 12:15:56 +08:00
Chocobo1
3752453522
Clean up coding style
2020-04-04 12:15:54 +08:00
Mike Tzou
a10cee0f2b
Merge pull request #12364 from Chocobo1/fileOutIter
...
Avoid holding entire file in memory
2020-04-04 11:07:59 +08:00
adem
eddc82d8a5
Remove white outline around mascot.png
2020-04-03 23:26:45 +04:00
Vladimir Golovnev
df6d641cfb
Merge pull request #12396 from glassez/fix-sorting
...
Fix sub-sorting of Transfer list
2020-04-03 21:08:28 +03:00
Vladimir Golovnev (Glassez)
b759a71c5d
Fix sub-sorting of Transfer list
...
Closes #12330 .
2020-04-03 19:09:41 +03:00
Chocobo1
9f281c2d25
Avoid holding entire file in memory
...
Previously we need a file buffer that is as large as the file size and
this could be a problem when user has less free memory available or
having very large data. Now with the help of `FileOutputIterator`,
we can have a much smaller, fixed size immediate file buffer and also
the code looks nice with `lt::bencode()`.
2020-04-03 18:27:13 +08:00
Mike Tzou
4b409700b0
Merge pull request #12372 from Chocobo1/webui
...
Fix mismatch ID
2020-04-03 13:02:15 +08:00
Mike Tzou
e7392de04c
Merge pull request #12350 from Chocobo1/log
...
Improve logging for errors
2020-04-03 00:20:54 +08:00
Chocobo1
42d5d63867
Remove redundant type attribute
...
It already defaults to `text/css` if value is absent (in HTML5).
2020-04-03 00:15:04 +08:00
Chocobo1
e0c841d1e6
Fix mismatch ID
2020-04-03 00:00:32 +08:00
Chocobo1
17f608685d
Improve logging for errors
...
This commit also allows the strings to be translated.
2020-04-02 11:20:09 +08:00
József Sallai
f9564564f8
Detect python3 executable on Windows
2020-04-02 00:31:41 +03:00
Vladimir Golovnev
96c5af7ae9
Merge pull request #12363 from glassez/fix-unexpected-resume
...
Fix unexpected torrent resume after app restart
2020-04-01 20:20:44 +03:00
Vladimir Golovnev (Glassez)
8bd9a97f6f
Fix unexpected torrent resume after app restart
...
Closes #12322 .
2020-04-01 18:01:18 +03:00
sledgehammer999
0dfa3a9c6f
Sync translations from Transifex and run lupdate
2020-04-01 17:41:24 +03:00
Vladimir Golovnev
bc159121dc
Merge pull request #12348 from glassez/fix-multi-inst
...
Prevent multiple instances for the same app config
2020-03-31 18:49:00 +03:00
sledgehammer999
bbe5465ba6
Merge pull request #12317 from sledgehammer999/fix_broken_save_path
...
Fix broken UNC paths in fastresumes on Windows
2020-03-31 18:34:31 +03:00
Vladimir Golovnev (Glassez)
4e6790dfbb
Prevent multiple instances for the same app config
2020-03-31 17:16:47 +03:00
sledgehammer999
13af503003
Fix broken UNC paths in fastresumes on Windows
...
See #12245 and #12282
2020-03-30 15:21:15 +03:00
Mike Tzou
59f99bb984
Merge pull request #12282 from Tester798/fix-12245
...
Fix regression when fastresume contains network path
2020-03-30 12:53:17 +08:00
Mike Tzou
8a8607bf93
Merge pull request #12175 from NotTsunami/upnp
...
Add UPnP lease duration advanced option
2020-03-29 12:29:10 +08:00
Mike Tzou
4d99328b8f
Merge pull request #12228 from LameLemon/alt-title
...
Added alt and title tags for WebUI footer
2020-03-29 12:28:35 +08:00
NotTsunami
6b4925d222
Add UPnP lease duration advanced option
...
This is a new setting added that is pending addition to
libtorrent 1.2.6. This setting is important because some routers do
not support expiration times on port-maps and do not return an error
either, silently failing. The previous default of permanent leases is
retained.
2020-03-28 00:32:32 -04:00
Mike Tzou
82c23e67a4
Merge pull request #12299 from Chocobo1/initialize
...
Initialize struct variables
2020-03-28 10:53:38 +08:00
Mike Tzou
c6e26f5dd0
Merge pull request #12232 from Chocobo1/warning
...
Add logging for SOCKS5 proxy errors
2020-03-27 22:22:13 +08:00
Vladimir Golovnev
776c136eb9
Merge pull request #12291 from adem4ik/patch-3
...
NSIS: Update Russian translation
2020-03-27 12:34:56 +03:00
Chocobo1
af430d6635
Initialize struct variables
...
clang static analyzer was emitting some warning about uninitialized
variable usage and this patch fixes it.
2020-03-27 16:01:01 +08:00
Mike Tzou
2408ce98e6
Merge pull request #12285 from Chocobo1/log
...
Save log file in UTF-8 encoding
2020-03-27 09:39:54 +08:00
Mike Tzou
6b5b5df90c
Merge pull request #12283 from Chocobo1/qtTr
...
Include translation resources with file globbing
2020-03-27 09:38:46 +08:00
Andrei Stepanov
124fb60635
NSIS: Update Russian translation
...
Remake of my previous PR https://github.com/qbittorrent/qBittorrent/pull/12251
2020-03-26 23:49:21 +04:00
LameLemon
757274d315
Add alt and title tags for WebUI footer
...
Improves accessibility of the WebUI. Closes #12219 .
2020-03-26 19:05:16 +00:00
sledgehammer999
0bf430ea4c
Merge pull request #12244 from BouRock/patch-3
...
NSIS: Update Turkish translation
2020-03-26 19:28:03 +02:00
Burak Yavuz
ead2d95fdf
NSIS: Update Turkish translation
2020-03-26 19:22:46 +02:00
sledgehammer999
03ae915b26
Merge pull request #12269 from maboroshin/master
...
NSIS: Update Japanese translation
2020-03-26 19:13:28 +02:00
sledgehammer999
b06f61ed20
Merge pull request #12265 from roope242/finnish_translation
...
NSIS: Update Finnish translation
2020-03-26 19:12:43 +02:00
Mike Tzou
c0b0c6dcfc
Merge pull request #12259 from Chocobo1/dtor
...
Rely on Qt ownership to free resources
2020-03-27 01:06:39 +08:00
Mike Tzou
185d8c97c1
Merge pull request #12273 from Kolcha/hidpif
...
Don't round scaling factor
2020-03-27 01:06:08 +08:00
Tester798
1c6b4c0a79
Fix regression when fastresume contains network path
...
Closes #12245 after regression was introduced in #11785 .
2020-03-26 18:54:13 +02:00
Chocobo1
54a685e953
Add logging for SOCKS5 proxy errors
2020-03-26 21:51:05 +08:00
Roope Jukkara
bd53254e28
NSIS: Update Finnish translation
...
Translated most of the finnish installer translation -file to finnish language.
2020-03-26 13:48:30 +02:00
Chocobo1
c52737e07c
Avoid log file excessive flushing
...
Excessive flushing could happen when a lot of logging happens in a short
time interval.
2020-03-26 16:12:24 +08:00
Chocobo1
12396a7582
Save log file in UTF-8 encoding
...
Otherwise it uses sytem defaults: usually UTF-8 on Linux and local 8-bit
encoding on Windows.
2020-03-26 16:00:57 +08:00
Chocobo1
d179c6d5a1
Rename variable
2020-03-26 15:49:14 +08:00
Chocobo1
9630e7b689
Rely on Qt ownership to free resources
...
The m_reply has already changed parent in
DownloadHandlerImpl::assignNetworkReply() and thus we can rely on Qt
ownership to delete the object.
2020-03-26 14:39:18 +08:00
Chocobo1
1466c562e5
Include translation resources with file globbing
...
This will include all qtbase_*.qm files and only explicitly listed
qt_*.qm files will be included.
2020-03-26 14:10:20 +08:00
Mike Tzou
5049b76b40
Merge pull request #12260 from Chocobo1/latin1
...
Construct QString more efficiently
2020-03-26 12:09:40 +08:00
Nick Korotysh
a9b0d84df9
Don't round scaling factor
...
Qt 5.14 introduced new feature related to HighDPI screens support,
this parameter is called "scale factor rounding policy", and it is
intended to improve fractional scale factor support (like 150%).
Qt::PassThrough value guarantee that no any rounding will applied to
scale factor, and will be used as is.
2020-03-25 18:36:34 +03:00
maboroshin
66ffa9adc2
NSIS: Update Japanese translation
2020-03-25 21:55:05 +09:00
Chocobo1
7de8a4d6e0
Construct QString more efficiently
2020-03-25 12:00:11 +08:00
Chocobo1
2c23840947
Allow to translate error messages
2020-03-25 12:00:11 +08:00
sledgehammer999
fcc87b4e9b
Sync translations from Transifex and run lupdate
2020-03-24 16:29:43 +02:00
sledgehammer999
fbf325c6d6
Merge pull request #12220 from kasper93/header
...
Add missing QPainterPath header include
2020-03-22 23:16:31 +02:00
Mike Tzou
18156bd676
Merge pull request #12154 from an0n666/remove-path-limit
...
NSIS: Add option to remove Windows path length limitation & Update manifest to support long path
2020-03-22 23:30:53 +08:00
an0n666
a711558ba0
NSIS: Add option to remove Windows path length limitation
2020-03-22 16:46:46 +02:00
Kacper Michajłow
e2c9ca5ee5
Add missing QPainterPath header include
2020-03-22 14:58:44 +01:00
Mike Tzou
ab30cfcdb0
Merge pull request #12207 from FranciscoPombal/fix-webapi
...
WebAPI: fix matching uncategorized torrents
2020-03-22 21:23:56 +08:00
FranciscoPombal
e496e664db
WebAPI: Always allow whitespace in category names
2020-03-22 12:16:06 +00:00
FranciscoPombal
7d24e1c063
WebAPI: fix matching uncategorized torrents
...
Closes #11748 .
2020-03-22 03:49:06 +00:00
Mike Tzou
f44f1ffc97
Merge pull request #12206 from thalieht/monitoredTMM
...
Disable Auto TMM when not using default savepath from monitored folder
2020-03-21 12:23:40 +08:00
thalieht
598c856c88
Disable Auto TMM when not using default savepath from monitored folder
2020-03-19 21:13:44 +02:00
Mike Tzou
4884f08e04
Merge pull request #12187 from NotTsunami/keypress
...
Allow other keypresses in LogListWidget
2020-03-19 13:36:41 +08:00
Mike Tzou
a9111b1357
Merge pull request #12180 from FranciscoPombal/fix_stats
...
Fix total connected peers count calculation
2020-03-19 12:07:20 +08:00
FranciscoPombal
a81789f4af
Fix total connected peers count calculation
...
Also fix small typo in function name.
2020-03-17 18:01:57 +00:00
NotTsunami
c5aab39836
Allow other keypresses in LogListWidget
...
By not emitting the native signal, all other keypresses other than
the copy and select keysequences are ignored. This should reallow
keyboard navigation within LogListWidget objects.
Closes #12172 .
2020-03-17 01:30:01 -04:00
Vladimir Golovnev
c323f64c96
Merge pull request #12188 from thalieht/queuemove
...
Append new move storage job to queue
2020-03-17 07:18:27 +03:00
Mike Tzou
0ffa0478bc
Merge pull request #12168 from Chocobo1/version
...
Get library version strings at runtime
2020-03-17 11:52:52 +08:00
thalieht
18289f2395
Append new move storage job to queue
...
fixup e4ff206e3c
2020-03-16 22:39:31 +02:00
Chocobo1
b7e7d8019c
Use helper function to construct QString
...
This is shorter and avoids the need of 2 constructors.
2020-03-16 21:27:42 +08:00
Chocobo1
6c307774f1
Get library version strings at runtime
...
We mostly use boost in header-only mode, so it is a non-trivial job to
get the version string at runtime.
2020-03-16 21:27:42 +08:00
Mike Tzou
8e553adc92
Merge pull request #12158 from Chocobo1/man
...
Add man page files in Markdown format
2020-03-14 00:19:32 +08:00
Vladimir Golovnev
5127156ba4
Merge pull request #12035 from glassez/move-storage
...
Move torrent storages one by one
2020-03-13 15:59:05 +03:00
Chocobo1
13ad1ee520
Add man page files in Markdown format
...
This allow us to edit man pages in a humane format.
2020-03-12 13:12:33 +08:00
Mike Tzou
f80b7affd9
Merge pull request #12138 from Chocobo1/dist
...
Update Qt translations
2020-03-10 01:29:08 +08:00
Vladimir Golovnev
a7b342edcb
Merge pull request #12083 from glassez/app-instances
...
Allow single app instance per configuration
2020-03-09 07:40:48 +03:00
Chocobo1
a0e617260f
Update supported python version
...
Fix up baa13c044a
.
2020-03-09 09:48:17 +08:00
Chocobo1
7b25dd24d0
Update Qt translation files
2020-03-09 09:48:15 +08:00
Chocobo1
8cc082f966
Switch to https link
2020-03-08 01:47:36 +08:00
Mike Tzou
92cc2a4f31
Merge pull request #12124 from Chocobo1/rename
...
Fix crash when renaming torrent contents
2020-03-08 00:16:02 +08:00
Mike Tzou
dc4e9e3779
Merge pull request #11813 from Chocobo1/python
...
Drop python2 support
2020-03-07 10:18:45 +08:00
Chocobo1
62b0d25140
Capture pointer by value
2020-03-07 10:06:35 +08:00
Mike Tzou
095ef67e30
Merge pull request #12102 from Kolcha/hidpi
...
Delegate GUI scaling work to Qt
2020-03-07 10:05:21 +08:00
Nick Korotysh
d49d7c1d82
Delegate GUI scaling work to Qt
...
Set Qt::AA_EnableHighDpiScaling application attribute when Qt 5.14.x or
newer is used. This fixes a lot of scaling issues on HiDPI displays.
Unfortunately, this flag must be set only before QApllication object
creation, so the only one place where it can be done is main().
2020-03-06 12:04:57 +03:00
Chocobo1
48e7191ef7
Initialize boolean variables
2020-03-06 15:50:55 +08:00
Chocobo1
9c6bc6c89a
Fix crash when renaming torrent contents
...
Closes #10328 .
2020-03-06 15:50:37 +08:00
Vladimir Golovnev (Glassez)
38e54206d5
Allow single app instance per configuration
2020-03-06 08:59:59 +03:00
Mike Tzou
73ee901c45
Merge pull request #12113 from Chocobo1/smart_ptr
...
Use helper functions to construct smart pointers
2020-03-06 13:12:41 +08:00
Mike Tzou
cc314ae85a
Merge pull request #12121 from Chocobo1/idx_type
...
Use proper type for piece index
2020-03-06 13:12:25 +08:00
Chocobo1
290d198977
Use proper type for piece index
2020-03-06 01:47:28 +08:00
Chocobo1
2157e500ef
Use helper functions to construct smart pointers
2020-03-05 19:32:28 +08:00
Mike Tzou
ca01b049a6
Merge pull request #12108 from Chocobo1/bits
...
Avoid unnecessary memory writes
2020-03-04 23:50:12 +08:00
Mike Tzou
949daf6c73
Merge pull request #12037 from an0n666/seed-mode-fix
...
Check if file exists in seed mode
2020-03-04 23:49:47 +08:00
an0n666
f7d2085b0a
Check if file exists in seed mode
2020-03-04 17:38:00 +06:00
Chocobo1
24cd7c3611
Avoid unnecessary memory writes
...
Before this change, qbt spent ~1% in these two functions, now it
only spends about ~0.5% in my naive testing.
2020-03-04 03:18:39 +08:00
Mike Tzou
1ca303cb0a
Merge pull request #12027 from NotTsunami/pr2
...
Improve the options tooltips
2020-03-03 17:47:23 +08:00
NotTsunami
f1788c76a9
Improve the options tooltips
...
* Fix wrong fields for translation comments
* Improve torrent management tooltip to cover both modes
* Add new tooltips for potentially confusing settings
Decent progress towards #6346 , closes #9994 , closes #11528
2020-03-02 23:55:08 -05:00
Vladimir Golovnev
b519ece18b
Merge pull request #12095 from glassez/resume-torrent
...
Let libtorrent decide whether to resume a torrent
2020-03-01 19:54:16 +03:00
Vladimir Golovnev (Glassez)
74884d57ec
Let libtorrent decide whether to resume a torrent
2020-03-01 08:08:01 +03:00
Mike Tzou
9649c2a163
Merge pull request #12043 from FranciscoPombal/fix-embedded-tracker
...
Fix embedded tracker
2020-02-27 21:06:58 +08:00
Vladimir Golovnev
4d2943a782
Merge pull request #12033 from glassez/save-torrent
...
Allow to save downloaded metadata as torrent file
2020-02-27 08:49:40 +03:00
Mike Tzou
89dec85b0f
Merge pull request #12076 from maboroshin/master
...
NSIS: Update Japanese translation
2020-02-27 12:46:40 +08:00
Mike Tzou
5e567a2bff
Merge pull request #12075 from Chocobo1/comment
...
Remove misleading translation comment
2020-02-27 12:44:38 +08:00
FranciscoPombal
966f891d91
Fix response to event=stopped
...
BEP-3 says all tracker responses to valid announce requests should be bencoded dictionaries with at least the "peers" and "interval" keys; the "peers" key can be empty.
Also clarify support for BEP-21.
2020-02-26 20:47:33 +00:00
FranciscoPombal
af6f63f82c
Don't use IPv4-mapped IPv6
...
Always register peers with either IPv4 or IPv6.
Fixes potential connection issues.
Also clarify related BEP-24 support.
2020-02-26 20:44:09 +00:00
FranciscoPombal
abc69dfd20
Fix BEP-23 support
...
The embedded tracker was returning a non-compliant response.
The peer lists should be packed strings instead of lists.
Also clarify level of compliance with BEP-7.
2020-02-26 20:42:14 +00:00
FranciscoPombal
9f045500d1
Fix IPv6 endianness
2020-02-26 20:42:07 +00:00
maboroshin
6474ee046f
NSIS: Update Japanese translation
2020-02-26 18:46:59 +09:00
Vladimir Golovnev (Glassez)
e4ff206e3c
Move torrent storages one by one
2020-02-26 10:20:04 +03:00
Vladimir Golovnev (Glassez)
dd0cee44c1
Allow to save downloaded metadata as torrent file
2020-02-26 08:10:11 +03:00
Chocobo1
071ffd13de
Fix wrong field for translation comment
...
The `comment` field is used for disambiguation between identical
strings. Our case here should use the `extracomment` field which
meant as comment for translators.
2020-02-26 13:04:18 +08:00
Chocobo1
f4febb96b4
Remove misleading translation comment
...
Also it was using the wrong field for translation comment.
2020-02-26 12:55:19 +08:00
Mike Tzou
a773b9ad84
Merge pull request #12057 from djt3/master
...
Change placeholder text in torrent list's filter
2020-02-25 13:29:09 +08:00
Mike Tzou
2ca0182e4b
Merge pull request #12050 from schnurlos/patch-6
...
NSIS: Update German translation
2020-02-24 12:33:00 +08:00
schnurlos
46b6593a8a
NSIS: Update German translation
...
German translation of "inst_requires_win7" added.
2020-02-23 19:29:13 +02:00
djt3
e6887fc950
Change placeholder text in torrent list's filter
2020-02-23 14:40:45 +00:00
Mike Tzou
68709c3112
Merge pull request #12044 from FranciscoPombal/fix-port
...
Revert using random port by default
2020-02-22 02:29:45 +08:00
FranciscoPombal
dc6a56afcb
Revert using random port by default
...
Revert change introduced in https://github.com/qbittorrent/qBittorrent/pull/11637 and also revert the associated follow-up https://github.com/qbittorrent/qBittorrent/pull/12000 .
Reason: https://github.com/arvidn/libtorrent/pull/4335
2020-02-21 14:47:37 +00:00
Mike Tzou
167127c668
Merge pull request #12034 from zywo/french.nsi
...
NSIS: Update French translation
2020-02-21 20:19:32 +08:00
zywo
bd5a685294
NSIS: Update French translation
2020-02-21 12:44:01 +01:00
Mike Tzou
0a7906d78b
Merge pull request #12032 from slrslr/patch-1
...
NSIS: Improve Czech translation
2020-02-21 13:49:32 +08:00
slrslr
b5ccbb77ee
NSIS: Improve Czech translation
2020-02-20 23:12:45 +02:00
sledgehammer999
06ceac4cda
Merge pull request #11895 from FranciscoPombal/cmake-build
...
Git: Ignore "build" directory
2020-02-18 21:57:36 +02:00
sledgehammer999
193da7f2f9
Merge pull request #12014 from sledgehammer999/alt_IP_db_provider
...
Use IP geolocation database by DB-IP instead of MaxMind
2020-02-18 17:05:52 +02:00
sledgehammer999
ea1481beef
Use IP geolocation database by DB-IP instead of MaxMind
...
Closes #11792
2020-02-18 16:11:28 +02:00
Francisco Pombal
65ecd92dd8
Git: Ignore "build" directory
2020-02-18 00:32:35 +00:00
Mike Tzou
bf6a88b3d2
Merge pull request #12021 from Chocobo1/trackerentry
...
Simplify TrackerEntry::status() logic
2020-02-18 02:22:05 +08:00
Chocobo1
e825473289
Simplify TrackerEntry::status() logic
2020-02-17 18:46:30 +08:00
sledgehammer999
322ae3e0bc
Merge pull request #11825 from FranciscoPombal/stalled_filter
...
Add stalled filters to GUI and Web API/UI
2020-02-16 18:32:37 +02:00
Mike Tzou
04132f6266
Merge pull request #11999 from an0n666/fix-not-contacted-tracker
...
Do not list not contacted trackers as error
2020-02-16 20:27:41 +08:00
sledgehammer999
971d20a3c1
Merge pull request #11963 from an0n666/start-with-windows
...
Start qBittorrent on Windows start up option in installer
2020-02-16 11:55:33 +02:00
An0n
dd19f250ae
Start qBittorrent on Windows start up
2020-02-16 05:25:59 +00:00
an0n666
8423f43209
Do not list not contacted trackers as error
2020-02-15 19:44:14 +00:00
sledgehammer999
385d7247b7
Merge pull request #12016 from Chocobo1/errMsg
...
Include resume folder path in exception message
2020-02-15 19:41:39 +02:00
Vladimir Golovnev
362305f339
Merge pull request #12013 from glassez/fix-rss
...
Don't access download handler after it's finished
2020-02-15 07:02:59 +03:00
Mike Tzou
dbea2d95f9
Merge pull request #12004 from Chocobo1/authCount
...
Add configurable ban options for WebUI
2020-02-15 09:43:16 +08:00
Mike Tzou
03087b72b0
Merge pull request #12011 from Chocobo1/webui
...
Close document properly after writing
2020-02-15 09:42:46 +08:00
Chocobo1
45c357dfe2
Include resume folder path in exception message
...
The message in RuntimeError exception will be displayed to the users and
users would be clueless if we don't show the path.
2020-02-15 02:48:55 +08:00
Chocobo1
6eb190c373
Expose WebUI ban duration to users
2020-02-14 16:23:30 +08:00
Chocobo1
ec61ef5145
Fix coding inconsistencies in preferences.html
...
1. Format table tags properly
2. Add a proper label tag
3. Don't use abbreviation for seconds, we use full name everywhere else
2020-02-14 16:23:03 +08:00
Chocobo1
4f7b799732
Use QDeadlineTimer for tracking WebUI banned duration
...
It simplifies our code and the new timer is monotonic.
2020-02-14 16:22:52 +08:00
Vladimir Golovnev (Glassez)
3762514662
Don't access download handler after it's finished
2020-02-14 08:24:49 +03:00
Chocobo1
45bd79ee74
Close document properly after writing
...
Closing document explicitly is recommended by MDN:
https://developer.mozilla.org/en-US/docs/Web/API/Document/write
2020-02-14 12:47:18 +08:00
Chocobo1
f88d6b2e55
Expose WebUI ban counter to users
2020-02-14 12:31:12 +08:00
Mike Tzou
d5a4ebe7c9
Merge pull request #11998 from Kolcha/filter-list
...
Inherit text color for filter list elements
2020-02-14 11:34:55 +08:00
Mike Tzou
195889a854
Merge pull request #11785 from Tester798/fix-portable-mode
...
Fix portable mode
2020-02-14 11:30:32 +08:00
Mike Tzou
882978c80a
Merge pull request #12000 from an0n666/legacy-default-no-random-port
...
Keep legacy default for random port
2020-02-13 12:24:45 +08:00
Tester798
58711cbe7e
Fix portable mode
...
Try to fix portable mode bug. Closes #11706 , #11178 , #7765 .
2020-02-12 19:56:25 +02:00
Mike Tzou
316f34cbf5
Merge pull request #11994 from Chocobo1/profile
...
Unify singleton pattern in Profile class
2020-02-12 23:59:47 +08:00
an0n666
41d8585932
Keep legacy default for random port
2020-02-12 12:28:13 +00:00
Nick Korotysh
1e59dcdb6c
Inherit text color for filter list elements
...
Filter list (left side panel) in WebUI is implemented using <a> tags,
CSS defines default style for all <a> elements, and specific style for
filter list elements. Default style for <a> elements sets color, and
this color also used in list. This is looks not so well. So lets just
inherit text color from parent element, and as so as it is not set, so
default text color will be used.
This makes filter list looks like other UI elemets, making all UI more
consistent (like in desktop app).
2020-02-12 10:40:08 +03:00
Vladimir Golovnev
4a2fda7edc
Merge pull request #11995 from glassez/fix-magnet-redirect
...
Handle HTTP redirections manually
2020-02-12 09:25:39 +03:00
Vladimir Golovnev
1e63dcb400
Merge pull request #11847 from glassez/legacy-defaults
...
Keep legacy defaults for existing users
2020-02-11 18:44:03 +03:00
Chocobo1
5de75eff05
Unify singleton pattern in Profile class
...
1. Use unified function names `initInstance()` and `freeInstance()` and
make them public.
2. Add `freeInstance()` to avoid noise from memory leak detectors.
3. Let `instance()`return a pointer directly to avoid unnecessary
indirections when invoking functions.
2020-02-11 15:30:59 +08:00
Vladimir Golovnev (Glassez)
0c6c65f6f8
Keep legacy defaults for existing users
2020-02-11 09:53:12 +03:00
Vladimir Golovnev (Glassez)
86c95db91d
Perform settings upgrade for existing user only
2020-02-11 09:40:57 +03:00
Vladimir Golovnev (Glassez)
8bb34482ea
Handle HTTP redirections manually
...
Qt doesn't support Magnet protocol so we need to handle all redirections
manually to allow redirections to Magnet URIs.
2020-02-11 09:31:42 +03:00
Mike Tzou
8b42bf5192
Merge pull request #11981 from Kolcha/favicon
...
Use SVG image for WebUI favicon
2020-02-11 12:32:42 +08:00
Nick Korotysh
536580ca6b
Use SVG image for WebUI favicon
...
This will allow browsers to get high quality icon with required
resolution instead of resizing some small raster image.
Browsers can have even more benefit from it. For example, Firefox uses
high resolution icon to display it in "Top Sites" instead of page
preview.
Nothing changes for browsers which doesn't support SVG favicons, older
PNG icon will be used in such case.
2020-02-09 08:52:32 +03:00
Chocobo1
baa13c044a
Drop python2 support
...
Closes #11811 .
2020-02-08 12:36:45 +08:00
Mike Tzou
8b330e3ac0
Merge pull request #11977 from Chocobo1/init
...
Fix singleton class ownership
2020-02-08 12:10:27 +08:00
Chocobo1
a6cdba17f0
Fix singleton class ownership
...
We shouldn't allow Qt parent ownership in here.
2020-02-07 15:34:04 +08:00
Mike Tzou
fa43dab3a2
Merge pull request #11961 from NotTsunami/master
...
Remove redundant null checks
2020-02-07 13:53:57 +08:00
NotTsunami
6748e8d787
Remove redundant null checks
...
Attempting to delete a null pointer is a noop in C++.
Closes #2864 .
[1] https://isocpp.org/wiki/faq/freestore-mgmt#delete-handles-null
2020-02-03 16:38:51 -05:00
Mike Tzou
c78604c7d3
Merge pull request #11950 from Chocobo1/rdns
...
Improve ReverseResolution class
2020-01-31 21:25:52 +08:00
Chocobo1
b2ab6c1858
Let ReverseResolution always return/emit a result
2020-01-30 19:24:18 +08:00
Chocobo1
ff31bb86bc
Speed up lookup time
...
By adding another variable we can get O(1) lookup time instead of O(n).
Fix up 5f415c292d
.
2020-01-30 19:23:54 +08:00
Chocobo1
a2ebd77eac
Manually abort lookup on class destruction
...
Some lookup might take longer so instead of waiting them, we abort them
manually.
2020-01-30 14:11:03 +08:00
Chocobo1
86e3d0d816
Improve ReverseResolution class
...
* Use QHostAddress type for IP
* Avoid double lookup
* Use larger cache size
2020-01-30 14:11:03 +08:00
Mike Tzou
11bea8d393
Merge pull request #11918 from thalieht/peerssameip
...
Show any multiple connections from the same IP in peer list
2020-01-30 12:59:17 +08:00
thalieht
5f415c292d
Show any multiple connections from the same IP in peer list
...
The uniqueness of peers is now determined by their
IP, port and connection type (uTP etc.) instead of just their IP
2020-01-29 20:40:10 +02:00
Mike Tzou
4884788c0b
Merge pull request #11933 from Chocobo1/qhash
...
Improve qHash functions
2020-01-29 02:07:27 +08:00
Chocobo1
5905c085c6
Use systematic approach to generate hash
...
The basic idea is to hash each class member and then mix them with xor
operation.
However the `seed` must be handled with care, it should only be
introduced once when mixing the hashes of each class member, otherwise
under some circumstances the `seed` might xor with itself and thus break
the intended effect.
2020-01-27 18:14:27 +08:00
Chocobo1
1740f968df
Revise qHash function
...
Instead of xor and narrowing the integers ourselves, now we let qHash()
from Qt do the job properly.
2020-01-27 12:53:22 +08:00
Chocobo1
2b4490d8a7
Use faster hash function
...
qHash(QString) will need to hash/loop through all the data while the new
code will only need one memcpy() and a few bit manipulations.
2020-01-27 12:53:13 +08:00
Vladimir Golovnev
07c22f8c87
Merge pull request #11914 from glassez/fix-hide-zeroes
...
Fix hide zero values
2020-01-24 19:03:54 +03:00
Vladimir Golovnev (Glassez)
666e733a4a
Track settings changed event in TransferListModel
2020-01-24 07:42:39 +03:00
Vladimir Golovnev (Glassez)
099943ea3c
Fix hide zero values
2020-01-24 07:41:04 +03:00
Mike Tzou
c3ce1aaa3d
Merge pull request #11903 from Sakib-Abrar/gui-improvement
...
Show "∞" instead of " -1" in Preferences
2020-01-22 11:56:26 +08:00
Vladimir Golovnev
89e72b38ea
Merge pull request #11881 from glassez/extension
...
Simplify torrent startup handling
2020-01-22 06:11:33 +03:00
Sakib-Abrar
1768570bf9
Show "∞" instead of " -1" in Preferences
2020-01-22 00:06:19 +06:00
Vladimir Golovnev (Glassez)
f2285e1b63
Redesign torrent startup handling
2020-01-21 10:14:59 +03:00
Mike Tzou
01ad8a443c
Merge pull request #11892 from NotTsunami/cmake
...
CMake: Further CMake improvements and fixes
2020-01-20 11:59:51 +08:00
Vladimir Golovnev
75ebd54ea3
Merge pull request #11088 from jagannatharjun/organize-style
...
Reorganize UI theme selection
2020-01-20 06:56:54 +03:00
NotTsunami
b21ed0063b
CMake: Fix WebUI checks
...
When the CMake system was last revamped, the configure variable was
changed from WEBUI to DISABLE_WEBUI, but we are still checking
against WEBUI. This behavior was changed in fa770871e9
2020-01-19 15:08:45 -05:00
NotTsunami
f066d8d786
CMake: Remove glibc version detection
...
If we were conditionally enabling _BSD_SOURCE or _SVID_SOURCE, I can
understand trying to play nice with the compiler and only pass as
needed, however this is not the case and glibc <= 2.19 will not care
that we are passing _DEFAULT_SOURCE. This removes an unnecessary
build step and gives us less to maintain from a build system
perspective.
Small cosmetic changes to MacroQbtCompilerSettings are included.
2020-01-19 15:08:37 -05:00
Prince Gupta
c9e162cf8a
Reorganize UI theme selection
2020-01-18 23:12:33 +05:30
NotTsunami
b7f2122c06
CMake: Remove duplicate MSVC check
...
As of this commit, L98 of winconf.cmake already checks for MSVC
before winconf-msvc calls this macro, so we are guaranteed to be
satisfy the check.
2020-01-18 09:36:56 -05:00
Mike Tzou
9f9868bd79
Merge pull request #11886 from Chocobo1/deprecate
...
Migrate away from deprecated settings
2020-01-17 16:27:11 +08:00
Chocobo1
3fce1db2eb
Migrate away from deprecated settings
...
Libtorrent has deprecated `upnp_ignore_nonrouters` in
https://github.com/arvidn/libtorrent/pull/4251
2020-01-16 23:44:54 +08:00
Mike Tzou
b0844800b8
Merge pull request #11870 from NotTsunami/master
...
CMake: Remove additional debugging compiler flags
2020-01-15 12:45:53 +08:00
NotTsunami
451585b5de
CMake: Remove additional debugging compiler flags
...
Our previous setup lead to two unintended consequences:
* Debug flags were included in both release and debug builds instead
of just debug builds
* Clang doesn't support -gX (where X is the level of debugging
optimization), but we checked for -Og support instead
This commit avoids both of these scenarios by removing the additional
flags altogether. Partial resolution to #11856 .
2020-01-14 10:18:59 -05:00
Mike Tzou
e27c9bd020
Merge pull request #11871 from NotTsunami/bitwise
...
WebUI: Use correct operators in logical expressions
2020-01-14 12:54:56 +08:00
Mike Tzou
146e8213a5
Merge pull request #11781 from FranciscoPombal/piece_extent_affinity
...
Add piece_extent_affinity to AdvancedSettings
2020-01-14 12:53:39 +08:00
Vladimir Golovnev
990e451765
Merge pull request #11865 from shemanaev/fix/webui-files-rename
...
WebUI: Fix first row renaming in files tab
2020-01-14 07:14:13 +03:00
FranciscoPombal
df2fbb1edc
Bump Web API version
2020-01-13 11:41:59 +00:00
FranciscoPombal
f4742a98c5
Add stalled filters to GUI and Web API/UI
...
`/api/v2/torrents/info` can now take the following new values for the`filter` parameter: `stalled`, `stalled_uploading` and `stalled_downloading`.
Requires Web API version bump.
Closes #11787
2020-01-13 11:41:37 +00:00
NotTsunami
82047104fc
WebUI: Use correct operators in logical expressions
...
As suggested in https://github.com/qbittorrent/qBittorrent/pull/11825#discussion_r365557626
2020-01-13 01:35:38 -05:00
FranciscoPombal
ed96a07a75
Add piece_extent_affinity to AdvancedSettings
...
Expose option in WebUI settings and WebAPI.
Requires WebAPI version bump.
Closes #11436 .
2020-01-13 00:11:29 +00:00
Denis
a7eb792372
WebUI: Fix first row renaming in files tab
...
Ids started from zero and first row converts to false.
Closes #11826 .
2020-01-12 20:05:38 +03:00
Vladimir Golovnev
101ab3cf6c
Merge pull request #11864 from glassez/fix-sorting
...
Fix Transfer list sorting
2020-01-12 11:05:20 +03:00
Mike Tzou
1592eb7be7
Merge pull request #11862 from Chocobo1/year
...
Bump copyright year and other fixes
2020-01-12 12:01:10 +08:00
Vladimir Golovnev (Glassez)
118debd6bf
Fix Transfer list sorting
2020-01-11 18:19:48 +03:00
Chocobo1
396660b031
Fix missing string
2020-01-11 18:48:49 +08:00
Chocobo1
2e4584578b
Bump python version for new installation
2020-01-11 18:48:01 +08:00
Chocobo1
029795bc19
Bump copyright year
2020-01-11 18:47:33 +08:00
Mike Tzou
a124decdc5
Merge pull request #11848 from an0n666/stop_tracker_timeout_placement
...
Change stop tracker timeout settings placement
2020-01-11 10:45:58 +08:00
An0n
bf32e90c40
Change placement of stop tracker timeout
2020-01-09 19:01:05 +00:00
Mike Tzou
057860584c
Merge pull request #11834 from an0n666/an0n666-expose-stop-tracker-timeout
...
Expose stop tracker timeout in Advanced Settings (GUI + WebUI)
2020-01-08 17:30:21 +08:00
Mike Tzou
e2ac97a9e7
Merge pull request #11838 from Chocobo1/webui
...
Minor WebUI code cleanups
2020-01-08 16:50:31 +08:00
an0n666
3f223c3a45
Expose stop_tracker_timeout in advanced settings
2020-01-08 08:21:55 +00:00
sledgehammer999
45ed31fddc
Merge pull request #11733 from sledgehammer999/tracker_error_count
...
Tracker is errored only if all local endpoints fail
2020-01-08 04:24:08 +02:00
Vladimir Golovnev
dc8f4b776c
Merge pull request #11829 from thalieht/doubleclick
...
Allow double-click in preview dialog
2020-01-06 21:11:59 +03:00
Chocobo1
c556b20018
Remove unused variable
2020-01-07 02:08:08 +08:00
Chocobo1
c34883f9af
Add explicit semicolon
2020-01-07 02:07:55 +08:00
Chocobo1
0577cf588c
Remove duplicate line
2020-01-07 01:59:02 +08:00
sledgehammer999
02a027144b
Tracker is errored only if all local endpoints fail
...
Closes #11691
2020-01-05 17:59:54 +02:00
thalieht
c5177eae9f
Allow double-click in preview dialog
2020-01-05 11:28:04 +02:00
Vladimir Golovnev
7ceeea880e
Merge pull request #11798 from glassez/fix-recheck-loop
...
Save resume data after recheck. Closes #11774
2020-01-02 17:21:25 +03:00
Vladimir Golovnev (Glassez)
f56f817c77
Save resume data after recheck
...
Closes #11774 .
2020-01-01 14:29:58 +03:00
Mike Tzou
e906478a16
Merge pull request #11756 from FranciscoPombal/fix_webui_stats_race
...
WebUI: fix populating statistics window
2019-12-28 10:37:03 +08:00
Vladimir Golovnev
37d7323ac0
Merge pull request #11708 from glassez/transfer-list
...
Improve Transfer list architecture
2019-12-27 16:25:26 +03:00
FranciscoPombal
8be804b6ff
WebUI: fix populating statistics window
...
Closes #11665
2019-12-27 12:10:12 +00:00
Vladimir Golovnev (Glassez)
15f2a3b564
Use QStyledItemDelegate instead of QItemDelegate
2019-12-26 22:10:28 +03:00
Vladimir Golovnev (Glassez)
766cfb67df
Fix transfer list architecture
...
Model returns string for DisplayRole.
Text alignment is set by Model (using TextAlignmentRole).
Delegate performs custom painting only where necessary
(i.e. for Progress bar).
2019-12-26 22:09:56 +03:00
Mike Tzou
5c3c1e07df
Merge pull request #11739 from Chocobo1/qt5_14
...
Migrate away from deprecated API in Qt 5.14
2019-12-26 12:43:04 +08:00
Chocobo1
f5f3dc2ba1
Remove unused variable
2019-12-25 19:23:37 +08:00
Chocobo1
2422d81de1
Migrate away from deprecated API in Qt 5.14
2019-12-25 19:23:37 +08:00
Mike Tzou
e62b550bfe
Merge pull request #11635 from FranciscoPombal/prevent_excessive_sync
...
WebUI: Prevent excessive requests to /api/v2/sync/maindata
2019-12-25 13:15:13 +08:00
Mike Tzou
07d4055de5
Merge pull request #11745 from FranciscoPombal/fixup_#11592
...
WebUI: remove unused/deprecated "Listen on IPv6 address" option
2019-12-25 13:07:24 +08:00
Mike Tzou
fea39fbcf2
Merge pull request #11726 from FranciscoPombal/fix_#11724
...
WebUI: Implement "Secure" flag for session cookie. Closes #11724
2019-12-25 13:06:40 +08:00
FranciscoPombal
0f6dfcf8a6
WebUI: Prevent excessive sync requests
...
Don't sync main data if a request to do so is already in progress.
This prevents piling up of requests and bogging down slow/busy machines, since the current implementation of `/api/v2/sync/maindata` is very computationally intensive, especially with lots of torrents.
Everything gets updated on the next scheduled request anyway (via the timeout mechanism).
2019-12-24 12:15:26 +00:00
Mike Tzou
c94417b589
Merge pull request #11637 from FranciscoPombal/new_defaults
...
Change some settings defaults for better behaviour out of the box
2019-12-24 12:27:11 +08:00
sledgehammer999
f672df1cf1
Merge pull request #11278 from Piccirello/country_region
...
Rename Country column to "Country / Region"
2019-12-23 21:54:30 +02:00
FranciscoPombal
e693fdeaf9
WebUI: remove unused/deprecated option
...
Fixup 8200ef6
Remove "Listen on IPv6 address" option.
2019-12-23 18:57:46 +00:00
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.
2019-12-23 17:58:08 +00:00
sledgehammer999
3a70dd4438
Merge pull request #11672 from sledgehammer999/show_console
...
Option to show console when external program is run
2019-12-23 16:16:24 +02:00
sledgehammer999
1121316926
Delete unnecessary explicit return
2019-12-19 19:13:02 +02:00
sledgehammer999
8fa6e372a2
Option to show console when external program is run
...
Windows only.
Closes #9592
2019-12-19 19:13:01 +02:00
FranciscoPombal
30502de960
Change some settings defaults for better behaviour out of the box
...
- CheckingMemUsageSize (16 MiB -> 32 MiB): a 16 MiB increase in memory consumption seems worthwhile for a nice performance boost in most cases.
- DiskCacheSize (64 MiB -> Auto): auto yields the best performance without committing to a huge fixed value.
- UseRandomPort (false -> true): The initial port chosen by qBittorrent may clash with something else the user already has that is aways using that port (low probability, but still). Thus, qBittorrent will always fail listening on that port, causing unexpected problems for the user. Users who know they want a fixed port will go to the settings anyway.
2019-12-19 16:46:22 +00:00
sledgehammer999
18de63f743
Merge pull request #11433 from jagannatharjun/colors
...
Allow transfer list text color changes through QSS
2019-12-19 18:20:49 +02:00
sledgehammer999
52273ca18c
Merge pull request #11696 from Medvedishce/Update-free-disk-space
...
Update free disk space label on Category change in Auto Mode
2019-12-19 18:16:08 +02:00
sledgehammer999
4ae8e176dc
Use modern unique_ptr practices
2019-12-19 16:25:45 +02:00
Prince Gupta
d3aa45526a
Allow transfer list text color changes through QSS
2019-12-19 12:45:26 +05:30
Mike Tzou
fab250f1e0
Merge pull request #11694 from Chocobo1/nullptr
...
Replace hard-coded numbers in TrackerFiltersList class
2019-12-19 10:13:44 +08:00
Medvedishce
48fff37143
Update free disk space label on Category change in Auto Mode
...
Closes #8772 .
This will fix issue that "Free space on disk:" label in
Add New Torrent dialog not updated on Category change
when Torrent Management Mode is on Auto mode.
2019-12-18 13:49:43 +03:00
Chocobo1
723668ba46
Replace hard-coded numbers in TrackerFiltersList class
2019-12-18 16:33:37 +08:00
Chocobo1
bf264b983a
Simplify null pointer check
2019-12-18 15:13:02 +08:00
Chocobo1
bb73fa5dbe
Replace a series of if()
by switch()
2019-12-18 15:05:42 +08:00
Mike Tzou
1e4c837d6c
Merge pull request #11678 from an0n666/patch-1
...
Disable Torrent Queue by default
2019-12-18 13:47:04 +08:00
sledgehammer999
a25ed5f639
Sync translations from Transifex and run lupdate
2019-12-18 00:33:00 +02:00
sledgehammer999
1376e051df
Bump Web API version
2019-12-18 00:20:27 +02:00
sledgehammer999
90308c2ae5
Merge pull request #11660 from sledgehammer999/fix_smart_delete
...
Don't unnecessarily delete folder customization
2019-12-17 20:38:25 +02:00
sledgehammer999
3d43f1c800
Merge pull request #11642 from sledgehammer999/fix_save_path
...
Use the incomplete folder where appropriate
2019-12-17 20:37:57 +02:00
Mike Tzou
99c002ae27
Merge pull request #11614 from Tester798/master
...
Enable portable mode if "profile" folder exists
2019-12-17 13:37:35 +08:00
Mike Tzou
5b7df3a6e7
Merge pull request #11675 from jagannatharjun/resize-align
...
Align Properties tab bar correctly on window resize
2019-12-17 10:44:13 +08:00
sledgehammer999
64e5d41a2c
Don't unnecessarily delete OS files in folders
2019-12-16 22:10:13 +02:00
an0n666
e0d7876990
Disable Torrent Queue by default
...
It should remain disabled by default. Anyone that needs to Queue torrents for seeding/downloading should go to settings and change it to their preference.
2019-12-16 18:16:27 +06:00
Prince Gupta
6258c1e65b
Align Properties tab bar correctly on window resize
2019-12-16 15:42:50 +05:30
Tester798
053ee48692
Enable portable mode if "profile" directory exists
...
Enable portable mode if "profile" directory exists in the app dir.
Remove "--portable" command line argument.
Add logging of current profile config directory.
Closes #9445 .
2019-12-16 05:12:47 +02:00
sledgehammer999
564d845d87
Use the incomplete folder where appropriate
...
Restored torrents already have the correct path saved in their fastresume. Don't override it.
Magnets and new torrents have to be set explicitly to the incomplete folder if it is enabled.
Closes #11552
2019-12-13 20:31:38 +02:00
sledgehammer999
d09c5e529c
Merge pull request #11592 from sledgehammer999/refactor_listeningAddr
...
Rework the listening IP/interface selection code
2019-12-12 20:24:45 +02:00
Mike Tzou
b6476f7585
Merge pull request #11633 from Chocobo1/lanlimit
...
Enable "Apply rate limit to peers on LAN" option by default
2019-12-12 11:15:10 +08:00
Chocobo1
796595ffb6
Enable "Apply rate limit to peers on LAN" option by default
...
Because some ISP will deploy Carrier Grade NAT (means assigning private
IP address to user) and thus accidentally circumvent the speed limiter.
https://www.a10networks.com/blog/carrier-grade-nat/
2019-12-11 21:44:45 +08:00
sledgehammer999
8200ef6bd5
Rework the listening IP/interface selection code
...
Closes #11561
2019-12-11 09:56:45 +02:00
Mike Tzou
53183f3ab3
Merge pull request #11627 from nl6720/webui-magnet-warning-fix
...
Fix quoting of alert() in client.js
2019-12-10 20:00:35 +08:00
nl6720
5f5385d4dd
Fix quoting of alert() in client.js
...
Fix alert() I broke in #11615 .
2019-12-10 12:45:55 +02:00
Mike Tzou
a652c39394
Merge pull request #11029 from Piccirello/webui-rename-file
...
Add ability to rename torrent files from the WebUI
2019-12-10 12:39:19 +08:00
Mike Tzou
5e83574de1
Merge pull request #11615 from nl6720/webui-magnet-warning
...
Mention HTTPS in WebUI magnet link warning
2019-12-10 12:36:45 +08:00
Thomas Piccirello
2bce9f6179
Add ability to rename torrent files from the WebUI
...
Renaming folders is not yet supported. Closes #8892 .
2019-12-09 02:57:32 -08:00
Thomas Piccirello
9fecd18293
Fix incorrect function being used
2019-12-09 02:53:36 -08:00
nl6720
c1ef846c3d
Mention lack of HTTPS in WebUI magnet link warning
...
According to Mozilla docs, registerProtocolHandler() is only
available when using secure contexts (i.e. HTTPS for everything
outside localhost).
https://developer.mozilla.org/en-US/docs/Web/API/Navigator/registerProtocolHandler
The message "Your browser does not support this feature" does not
make this obvious and can lead to confusion if the user is using a
modern browser.
2019-12-08 11:41:30 +02:00
Mike Tzou
a7bd68a2c7
Merge pull request #11607 from luigino/ppc64
...
Remove -march=native optimisation
2019-12-08 13:39:18 +08:00
Luigi Baldoni
2f83587f2a
Remove -march=native optimisation
2019-12-08 13:13:59 +08:00
Mike Tzou
7a657eb5d9
Merge pull request #11566 from Chocobo1/webui
...
Fixes for WebUI
2019-12-08 12:13:53 +08:00
sledgehammer999
0b91c4d890
Merge pull request #11557 from adem4ik/patch-1
...
Update russian.nsi
2019-12-07 16:51:41 +02:00
Mike Tzou
d051519eff
Merge pull request #11568 from Chocobo1/icon
...
Fix inconsistent icon for deleting torrent
2019-12-06 11:44:28 +08:00
Chocobo1
c896982efb
Fix incorrect translation displayed after language change
...
It is expected in WebUI that the language change applies immediately
(without a program restart) and this static caching prevents that.
2019-12-04 18:25:14 +08:00
Chocobo1
5f165c4c00
Fix HTML elements size in search tab
...
Specifying a height/width value might cut the displayed text or
obstruct centering the text in the button, so let it auto decide
instead.
Closes #11553 .
2019-12-04 18:25:14 +08:00
Thomas Piccirello
33a3624652
Rename Country column to "Country / Region"
...
Not all flags displayed strictly belong to countries.
2019-12-03 23:05:38 -08:00
Chocobo1
a92826d316
Fix inconsistent icon for deleting torrent
...
Closes #11565 .
2019-12-04 12:59:29 +08:00
Chocobo1
04f270b9bc
Fix missing translations in search plugins dialog
...
Closes #11551 .
2019-12-04 12:20:11 +08:00
Andrei Stepanov
c89c51f871
Update russian.nsi
2019-12-04 01:45:11 +04:00
Mike Tzou
2e8b17e498
Merge pull request #11521 from Chocobo1/errorStatus
...
Fix stuck in wrong torrent state
2019-12-03 19:22:39 +08:00
Vladimir Golovnev
452b1d8ea2
Merge pull request #11543 from j1warren/content_tab_feature
...
Expand single-item folders in torrent content
2019-12-03 13:04:53 +03:00
sledgehammer999
ad0bc5d90d
Bump to 4.3.0alpha1
2019-12-03 01:24:50 +02:00
warren
b37795d344
Expand single-item folders in torrent content
2019-12-02 21:56:44 +05:00
Chocobo1
b6050463f4
Show torrent error message in transfer list
2019-11-26 03:15:48 +08:00
Chocobo1
2ca70cf6cc
Fix stuck in wrong torrent state
...
Before this patch, adding the torrent in
https://github.com/qbittorrent/qBittorrent/issues/11511 and the torrrent
state will stay in torrent_status::checking_resume_data forever.
This is not the correct state since the `torrent_status.errc` field is
non-zero and this commit fixes it.
2019-11-26 03:15:48 +08:00