Vladimir Golovnev
53adb7bfa8
Backport changes to v5.0.x branch
...
PR #21898 .
2024-12-09 07:04:06 +03:00
Chocobo1
9ac14cdf9f
Don't follow symlink when creating torrents on Windows
...
Now on Windows, it won't follow/include .lnk files when creating torrents.
Note that libtorrent will throw errors if we force adding .lnk files.
Non-Windows OS will still follow symlinks.
Closes #13286 .
PR #21944 .
2024-12-07 21:19:46 +03:00
Vladimir Golovnev
b899ea8c40
Use cached current time when parse RSS feed
...
PR #21959 .
2024-12-07 11:12:31 +03:00
Vladimir Golovnev
0d7c367332
Avoid redundant requests of announce entries from libtorrent
...
PR #21949 .
2024-12-06 20:00:27 +03:00
wavygecko
22826499d5
Don't add duplicate episodes to previously matched
...
PR #21917 .
2024-11-28 15:12:17 +03:00
Vladimir Golovnev
dbfd830b56
Avoid repeatedly creating the same QDateTime values
...
PR #21904 .
2024-11-26 15:11:07 +03:00
Vladimir Golovnev
ad3348b95f
Fix incorrect SQL column definition
...
PR #21874 .
2024-11-23 11:25:40 +03:00
Vladimir Golovnev
71b752baf3
Discard obsolete "state update" events after torrent is reloaded
...
PR #21873 .
Closes #21827 .
2024-11-23 11:21:17 +03:00
sledgehammer999
15b6091261
Bump to 5.0.2
2024-11-17 23:25:16 +02:00
Vladimir Golovnev
3454f064f0
Backport changes in v5.0.x branch
...
PR #21698 .
2024-11-17 10:50:54 +03:00
Chocobo1
ac9ca4f452
Don't apply Mark-of-the-Web on existing files
...
`TorrentImpl::isDownloading()` was excessively broad which included unexpected events for the
case here. So use the underlying state directly.
Closes #21788 .
PR #21836 .
2024-11-16 16:04:51 +03:00
Chocobo1
09899a7d0d
Avoid reapplying Mark-of-the-Web when it already exists
...
Also use scope guards to handle resources.
Related #21788 .
PR #21806 .
2024-11-14 10:14:52 +03:00
Vladimir Golovnev
993eb25323
Preserve initial torrent progress while checking resume data
...
PR #21784 .
2024-11-10 12:51:17 +03:00
Vladimir Golovnev
330dce6aa2
Correctly handle "torrent finished" events
...
PR #21786 .
Closes #21699 .
2024-11-08 11:47:37 +03:00
Vladimir Golovnev
5e105b0348
Optimize checking for outdated tracker endpoints
...
PR #21768 .
2024-11-07 09:42:53 +03:00
Vladimir Golovnev
f2b2a2b034
Optimize converting TCP endpoints to strings
...
There may be quite a few endpoint names (one for each available network card), and they usually remain unchanged throughout the session, while previously producing such names was performed every time they were accessed. Now they are retrieved from the cache.
PR #21770 .
2024-11-07 09:42:43 +03:00
Vladimir Golovnev
10499dffe9
Optimize conversion of time points from libtorrent to Qt clocks
...
Obtain current date time of Qt and libtorrent clocks only once
for processing entire current libtorrent alerts bunch.
PR #21764 .
2024-11-05 16:46:28 +03:00
Vladimir Golovnev
eea01b94a3
Reset tracker entries when pause the session
...
PR #21738 .
2024-11-04 16:28:04 +03:00
Vladimir Golovnev
6079b25419
Fix .torrent file could not be deleted when torrent is canceled
...
PR #21735 .
Closes #21723 .
2024-11-02 16:42:11 +03:00
sledgehammer999
94136262a8
Bump to 5.0.1
2024-10-28 18:12:20 +02:00
Vladimir Golovnev
9104351c89
Backport changes to v5.0.x branch
...
PR #21679 .
2024-10-24 12:55:50 +03:00
sledgehammer999
2a44253802
Don't ignore SSL errors
2024-10-21 19:45:32 +03:00
Hanabishi
983b7814aa
Add "Simple pread/pwrite" disk IO type
...
PR #21300 .
2024-10-21 15:47:28 +03:00
Vladimir Golovnev
fbf68a0649
Correctly apply filename filter when !qB extension is enabled
...
PR #21628 .
Closes #21624 .
2024-10-19 13:39:12 +03:00
Vladimir Golovnev
bb314e1555
Correctly handle "torrent finished after move" event
...
PR #21596 .
Closes #21576 .
2024-10-14 11:52:56 +03:00
Vladimir Golovnev
a3a8b15828
Always notify user about duplicate torrent
...
PR #21480 .
Closes #21475 .
2024-10-14 11:52:47 +03:00
Vladimir Golovnev
b579afe1aa
Allow to choose Qt style
...
PR #21553 .
2024-10-11 16:09:59 +03:00
Vladimir Golovnev
6379c33964
Disable "Move to trash" option by default
...
PR #21528 .
2024-10-10 14:16:37 +03:00
Vladimir Golovnev
387821267f
Don't try to apply Mark-of-the-Web to nonexistent files
...
Trying to apply it to a nonexistent file is unacceptable, as it may unexpectedly create such a file.
PR #21488 .
Closes #21440 .
2024-10-05 12:28:09 +03:00
sledgehammer999
cce295faeb
Bump to 5.0.0
2024-09-29 20:53:45 +03:00
Vladimir Golovnev
3e96048ee4
Apply "merge trackers" logic regardless of way the torrent is added
...
PR #21299 .
2024-09-07 09:13:19 +04:00
sledgehammer999
2d67729617
Bump to v5.0.0rc1
2024-08-18 23:21:21 +03:00
stalkerok
63689cf763
Add a flag about the connection peers are using NAT hole punching
...
PR #21052 .
2024-08-15 20:33:45 +03:00
Vladimir Golovnev
7dfb0110d4
Fix Incomplete Save Path cannot be changed for torrents without metadata
...
PR #21152 .
Closes #21140 .
2024-08-08 08:22:54 +03:00
Vladimir Golovnev
96607ce874
Prevent incorrect size from being used for creating array
...
PR #21050 .
2024-07-12 08:51:08 +03:00
Vladimir Golovnev
4149609e78
Allow to move content files to Trash instead of deleting them
...
PR #20252 .
2024-07-07 16:09:48 +03:00
Vladimir Golovnev
78c549f83e
Use custom storage when reloading torrent
...
PR #20998 .
2024-07-07 16:07:22 +03:00
Chocobo1
fe93b6d0d8
Use proper casting
...
Previously `m_shutdownTimeout * 1000` was calculated in `int` and now it
is `qint64`.
PR #20982 .
2024-06-25 21:13:19 +03:00
Chocobo1
0f5a27ed50
Improve connection handling
...
1. Previously unhandled connections will stay in pending state. It won't
be closed until timeout happened. This may lead to wasting system
resources. Now the (over-limit) connection is actively rejected.
2. When out-of-memory occurs here, reject the new connection instead of
throwing exception and crash.
3. Also clean up some unused bits.
PR #20961 .
2024-06-25 21:13:18 +03:00
ManiMatter
12a4c3fda2
WebAPI: Add "private" filter for 'info' endpoint
...
PR #20833 .
---------
Co-authored-by: Vladimir Golovnev <glassez@yandex.ru >
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com >
2024-06-25 21:13:17 +03:00
Vladimir Golovnev
05e3130baa
Apply share limits when torrent downloading is finished
...
PR #20917 .
Closes #20874 .
2024-06-25 21:13:17 +03:00
Vladimir Golovnev
683492648f
Apply filename filter to subfolder names as well
...
PR #20902 .
Closes #14480 .
2024-06-25 21:13:17 +03:00
Chocobo1
a126a7b493
Adjust user agent version automatically
...
The version calculation is an estimation and it will drift off after some time. Hopefully the
drift offset won't be noticeable within a few years.
Also switched the user agent to Windows 10 which has the largest portion of users to avoid
standing out from the crowd.
PR #20864 .
2024-05-20 13:50:18 +08:00
Vladimir Golovnev
e09a871ca3
Revamp alerts handling
...
PR #20854 .
2024-05-18 10:36:08 +03:00
Vladimir Golovnev
4d8713ce11
WebAPI: Add a way to download .torrent file using search plugin
...
* Simplify nova2dl script
* Use search engine name instead of site URL (like nova2 does)
* Add a way to download torrent using search plugin
PR #20824 .
2024-05-15 08:47:40 +03:00
Hanabishi
2c47f09d7a
Sanitize peer client names
...
PR #20788 .
Closes #20010 .
2024-05-11 18:46:11 +03:00
cayenne17
21a4ab6bac
Update User-Agent
...
PR #20801 .
2024-05-10 21:47:55 +03:00
Vladimir Golovnev
2b728b3bc0
Add an option to set BitTorrent session shutdown timeout
...
PR #20797 .
2024-05-07 13:15:39 +03:00
Vladimir Golovnev
8ef7d3ec9a
Add ability to pause/resume entire BitTorrent session
...
PR #20757 .
Closes #18993 .
2024-05-03 09:02:50 +03:00
Vladislav Grechannik
cd3982cf3c
Include missing header
...
PR #20776 .
Closes #20774 .
2024-05-01 12:37:22 +03:00