sledgehammer999
7825d8627f
Bump to 4.1.9
2019-10-27 17:26:03 +02:00
sledgehammer999
b798c591e7
Update Changelog
2019-10-27 17:13:26 +02:00
Chocobo1
9e7d21d7aa
Update m4 scripts
2019-10-27 17:11:19 +02:00
Chocobo1
38a15b27f0
Regenerate build-aux scripts
...
It's been a while since the last update (26bf838a0b
)
and there is a lot of changes in upstream.
2019-10-27 17:05:37 +02:00
sledgehammer999
cb31684a66
Merge pull request #11309 from sledgehammer999/webui_version
...
Bump Web API version
2019-10-20 23:07:49 +03:00
Mike Tzou
850cde19f7
Merge pull request #11328 from Chocobo1/backport
...
Use screen real physical DPI on Windows (backport)
2019-10-05 10:02:07 +08:00
Chocobo1
fc5b3b4f70
Use screen real physical DPI on Windows
...
Previously was using a hardcoded value which might lead to issues like #11234 .
2019-10-04 12:05:13 +08:00
Mike Tzou
73fd4d83af
Merge pull request #11319 from Chocobo1/backport
...
Preserve relative order when moving to top/bottom in queue (backport)
2019-10-04 12:01:33 +08:00
Chocobo1
811b525b1d
Preserve relative order when moving to top/bottom in queue
2019-10-03 11:23:28 +08:00
sledgehammer999
0f8def9a49
Bump Web API version
...
Closes #11304
2019-10-01 17:31:55 +03:00
sledgehammer999
359b464958
Bump to 4.1.8
2019-09-23 21:56:30 +03:00
sledgehammer999
b5b0d68dd9
Update Changelog
2019-09-23 21:52:56 +03:00
Chocobo1
f48c49c248
Fix seeding failed after creating a new torrent
...
Closes #11252 .
2019-09-23 21:47:37 +03:00
Chocobo1
11ca744548
Treat .magnet file extension as case insensitive
...
Closes #11200 .
2019-09-23 21:47:35 +03:00
Chocobo1
82e6fc700e
Fix filename validation on non-Windows OS
...
Closes #11191 .
2019-09-23 21:47:34 +03:00
Mike Tzou
59fd70c638
Merge pull request #11240 from Chocobo1/backport
...
Revise HTML escaping in GUI (Backport)
2019-09-17 10:38:51 +08:00
Chocobo1
617bf767df
Escape HTML in comment field
2019-09-16 23:48:12 +08:00
Chocobo1
55180e3598
Remove redundant HTML escaping
...
The text widget is already set to plaintext and doing HTML escaping will
not give us more security but only makes it harder to read.
2019-09-16 23:48:06 +08:00
Mike Tzou
56b62e6573
Merge pull request #11183 from Chocobo1/backport
...
Always save info dict when saving fastresume (backport to v4_1_x)
2019-09-04 12:09:14 +08:00
Chocobo1
b37e7b0340
Always save info dict when saving fastresume
...
Otherwise torrents loaded from fastresume won't have it and needs
to redownload it from elsewhere and slowing down the startup process.
This is also required for the future where we will drop loading the
`info` dict from .torrent files.
2019-09-03 14:37:45 +08:00
Mike Tzou
21aebaf16f
Merge pull request #11074 from Chocobo1/backport
...
Fix translation issues (backport to v4_1_x)
2019-08-15 11:11:52 +08:00
Chocobo1
5792465317
Fix translation issues
...
By using disambiguation field instead of comment field to differentiate
translations.
2019-08-14 13:09:56 +08:00
Vladimir Golovnev
e98f44af63
Merge pull request #11067 from glassez/rss-api
...
Allow to refresh RSS item(s) via WebAPI
2019-08-13 19:52:10 +03:00
Vladimir Golovnev (Glassez)
40cf0203fb
Allow to refresh RSS item(s) via WebAPI
2019-08-13 17:39:19 +03:00
sledgehammer999
05a82afeb6
Bump to 4.1.7
2019-08-04 14:17:20 +03:00
sledgehammer999
a456f1b0f9
Update Changelog
2019-08-04 14:14:21 +03:00
sledgehammer999
4acc44a5b0
Sync translations from Transifex and run lupdate/tstool.py
2019-08-04 13:50:34 +03:00
Mike Tzou
9c2a1146df
Merge pull request #10991 from Chocobo1/backport
...
Backport to v4_1_x
2019-07-31 14:29:14 +08:00
Chocobo1
807abeae87
Fix messed up symbols in log
2019-07-31 14:28:05 +08:00
Chocobo1
dd2a0d0484
Fix incomplete file extension not applied for new torrents
2019-07-29 11:20:36 +08:00
Vladimir Golovnev
3f3400f43b
Merge pull request #10967 from glassez/fastresume41
...
Save updated resume data for completed torrents (backport to v4.1.x)
2019-07-24 17:17:50 +03:00
Vladimir Golovnev (Glassez)
334b57a89a
Save updated resume data for completed torrents
...
If fastresume data was rejected we need to save updated
resume data after torrent finishes rechecking.
2019-07-23 20:15:41 +03:00
Vladimir Golovnev (Glassez)
00d6c83ee5
Fix requested torrent resume data handling
...
Session should increase an appropriate counter each time
the torrent resume data is requested to save.
2019-07-23 20:15:23 +03:00
Mike Tzou
e8850c7a70
Merge pull request #10953 from Chocobo1/backport
...
Backport to v4_1_x
2019-07-21 21:19:05 +08:00
Chocobo1
2ef96eb218
Prevent command injection via "Run external program" function
2019-07-21 12:07:32 +08:00
Vladimir Golovnev
4682e31ab7
Merge pull request #10929 from glassez/backport
...
Fix torrent checking issues (backport to v4.1.x)
2019-07-17 17:50:35 +03:00
Vladimir Golovnev (Glassez)
988f7e2ef8
Don't break torrent checking
2019-07-15 20:02:08 +03:00
Vladimir Golovnev (Glassez)
6007913291
Ignore some actions on uninitialized torrents
...
Some actions can lead to an inconsistent state if applied
to an uninitialized torrent, so we just ignore them.
2019-07-15 20:02:04 +03:00
Vladimir Golovnev (Glassez)
cdcc7a210b
Avoid race conditions when adding torrent
2019-07-15 20:01:59 +03:00
Vladimir Golovnev (Glassez)
a466ff5057
Fix torrent checking issues
...
Start all torrents auto-managed to prevent simultaneous checking
of multiple torrents.
Handle checking state of paused torrent to prevent it from being
resumed when qBittorrent is closed until checking isn't complete.
2019-07-15 20:01:43 +03:00
Mike Tzou
e954835579
Merge pull request #10869 from Chocobo1/backport
...
Backport to v4_1_x
2019-07-06 12:17:33 +08:00
Chocobo1
3e9be3a0e8
Use proper log message when there are no error
2019-07-06 12:16:43 +08:00
Chocobo1
4ab32a76f6
Fix torrent properties not saved for paused torrents
2019-07-06 12:16:23 +08:00
Chocobo1
bad60058df
Restrict QLocalServer access
...
The default is world access which means even even unprivileged local
accounts can connect to it too.
2019-06-29 15:30:09 +08:00
Chocobo1
31a6ad1eb6
Drop suspiciously large data
...
This is to avoid exhausting system memory.
2019-06-29 15:30:04 +08:00
Mike Tzou
a8bfec081e
Merge pull request #10848 from Chocobo1/backport
...
Backport to v4_1_x
2019-06-25 09:01:25 +08:00
Chocobo1
ae21d0f1e2
Remove limits of "Disk cache expiry interval" setting
2019-06-24 11:14:21 +08:00
Chocobo1
c599976b6f
Remove upper limit of "Disk cache" setting
2019-06-24 11:13:50 +08:00
Mike Tzou
bcee784097
Merge pull request #10842 from Piccirello/v4_1_x
...
Backport to v4_1_x
2019-06-24 11:00:12 +08:00
Thomas Piccirello
697fc626cd
Fix WebUI encoding of special characters
2019-06-22 15:52:19 -07:00
Mike Tzou
2f15ea9b54
Merge pull request #10829 from Chocobo1/backport
...
Backport to v4_1_x
2019-06-21 11:02:54 +08:00
Chocobo1
d03209a73d
Fix crash when removing phantom tags
...
Normally a tag is stored in both session and torrent's fastresume.
A phantom tag is a tag that is stored in fastresume but not in
session.
This crash can occur when user resets his config file and choose
to remove tag from torrent.
Closes #10569 .
2019-06-20 11:38:15 +08:00
Chocobo1
ac9ba255d8
Set wheel event to accepted only if we handle it
2019-06-20 11:38:02 +08:00
Chocobo1
9a7e79bd0e
Improve handleFileErrorAlert error message
2019-06-20 11:37:40 +08:00
Mike Tzou
e8be3bf939
Merge pull request #10772 from Chocobo1/backport
...
Backport to v4_1_x
2019-06-17 01:00:35 +08:00
Chocobo1
74e52746b1
Reorder if conditions slightly
2019-06-16 12:37:16 +08:00
Chocobo1
8d26a221e0
Fix updated save path not saved for paused torrents
2019-06-16 12:37:16 +08:00
Chocobo1
3fdab88eb7
Log save_resume_data_failed_alert
2019-06-16 12:37:16 +08:00
Chocobo1
d376d912b3
Don't remove parent directories
...
QDir::rmpath removes *all* parent directories while QDir::rmdir removes
the specified directory.
2019-06-16 12:30:57 +08:00
Chocobo1
e329c41ef2
Properly remove empty leftover folders after rename
...
TorrentInfo::origFilePath will return the very original path from
.torrent file, not the most recent file path before the rename operation
and thus the code would not be working as we expected.
2019-06-16 12:30:42 +08:00
silverqx
01e4179555
Focus behavior row in Options dialog
2019-06-15 11:50:28 +08:00
Chocobo1
06f503b5df
Fix unable to rename folder on Windows
...
The bug occurs when the new path and old path only differ by letter case.
2019-06-10 10:34:15 +08:00
Chocobo1
e2f3dad7b8
Move renameSelectedFile(BitTorrent::TorrentInfo &)
2019-06-10 10:34:10 +08:00
Chocobo1
377f31085c
Move renameSelectedFile(BitTorrent::TorrentHandle *)
2019-06-10 10:34:03 +08:00
Chocobo1
ec13d195f8
Fix unable to control add torrent dialogs when opened simultaneously
2019-06-06 23:31:27 +08:00
Chocobo1
c01aed8d90
Remove redundant disconnect()
...
The dialog is going out-of-scope in these instance and the signal-slot connection will disconnect
automatically.
2019-06-06 23:29:53 +08:00
Vladimir Golovnev
ad7b8a9bfa
Merge pull request #10757 from glassez/backport
...
Backport to v4.1.x
2019-06-04 17:59:10 +03:00
Vladimir Golovnev (Glassez)
5bba1ed208
Ignore RSS articles with non-unique identifiers
2019-06-04 15:08:35 +03:00
Vladimir Golovnev (Glassez)
fe94e14bcc
Perform more RSS parsing in working thread
2019-06-04 15:06:29 +03:00
Vladimir Golovnev (Glassez)
b0af479ab9
Disable "Upload mode" when start preloaded torrent
2019-06-04 15:01:10 +03:00
Mike Tzou
24ff369f29
Merge pull request #10731 from Chocobo1/backport
...
Backport to v4_1_x
2019-06-01 10:07:23 +08:00
Vladimir Golovnev
979c9a7094
Merge pull request #10728 from glassez/fix-seqdl
...
Fix sequential downloading when redirected
2019-05-31 08:13:50 +03:00
Chocobo1
7b90ac52c1
Fix wrong comparison result
...
The QString::toInt() might overflow when the string is long.
Closes #10706 .
2019-05-31 12:20:39 +08:00
Vladimir Golovnev (Glassez)
ecfbda78bc
Fix sequential downloading when redirected
2019-05-30 16:06:18 +03:00
Mike Tzou
9ba7470815
Merge pull request #10615 from Chocobo1/backport
...
Backport to v4_1_x
2019-05-23 22:14:18 +08:00
Chocobo1
6394467cc7
Fix typos
2019-05-20 17:45:48 +08:00
Chocobo1
f6d72fa79f
Fix assertion fail
...
When fileSize == 0, the second index could be smaller than the first index,
thus trigger the assert check in IndexInterval constructor.
Closes #10611 .
2019-05-16 10:49:00 +08:00
dzmat
32ed5f1c8e
Change number of time axis divisions from 5 to 6 for convenience
2019-05-15 20:36:00 +08:00
dzmat
5026da5773
Add 12 hour and 24 hour speed graphs
2019-05-15 20:35:50 +08:00
Evgeny Lensky
ef130e4438
Change "Add new torrent" dialog to horizontal layout
2019-05-15 10:19:37 +08:00
jerrymakesjelly
4fbd52c2d5
Change the speed unit from Bytes/s to KiB/s
...
Updated the adding torrent dialogs in WebUI. Closes #10017 .
2019-05-12 13:51:35 +08:00
Matan Bareket
8f29b70c1e
Download RSS enclosure element if no proper MIME type is found
...
In the case where an RSS feed doesn't have the "enclosure" element
with type "application/x-bittorrent", fallback to the last enclosure
element which has no "type" attribute.
2019-05-11 23:39:57 +08:00
Ekin Dursun
9a4dd3ea9d
Don't turn screen blank when closed to system tray
...
Closes #9240 and possibly #9121 , as @zeule suggested here: https://github.com/qbittorrent/qBittorrent/issues/9240#issuecomment-408025722 .
2019-05-11 12:25:42 +08:00
Chocobo1
fcd3bb6918
Refactor HTTP query parsing
2019-05-10 09:20:03 +08:00
Chocobo1
9f69fd8750
Fix '+' char not decoded to space correctly
...
Closes #10606 .
2019-05-10 09:19:56 +08:00
sledgehammer999
ea7e47d113
Bump to 4.1.6
2019-05-05 20:44:39 +03:00
sledgehammer999
294bb26996
Update Changelog
2019-05-05 20:40:50 +03:00
sledgehammer999
4b2e9dba51
Sync translations from Transifex and run lupdate/tstool.py
2019-05-05 20:20:06 +03:00
sledgehammer999
1d9dcde99b
Merge pull request #10567 from Chocobo1/backport
...
Backport #10445 to v4_1_x
2019-05-05 19:52:14 +03:00
Chocobo1
32bf448725
Initialize class variable via constructor
2019-05-03 23:03:33 +08:00
Chocobo1
732d5d6db9
Disable downloading tracker favicons by default
...
Workaround for a crash in Qt networking library, source:
https://github.com/qbittorrent/qBittorrent/issues/9667#issuecomment-464445025
Closes #9667 .
2019-05-03 22:56:16 +08:00
Mike Tzou
3b325106da
Merge pull request #10565 from Chocobo1/backport
...
Backport to v4_1_x
2019-05-03 19:58:31 +08:00
Chocobo1
3aeca37c5d
Fix "Create subfolder" option is not working in WebUI
...
Closes #10392 .
2019-05-03 12:40:45 +08:00
Mike Tzou
4253515736
Merge pull request #10496 from Chocobo1/backport
...
Backport to v4_1_x
2019-04-17 13:13:25 +08:00
Chocobo1
e365d57063
Fix unsafe type narrowing
...
Appending the warning below:
qBittorrent\src\base/utils/version.h(176): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
qBittorrent\src\base/utils/version.h(185): note: see reference to function template instantiation 'std::array<T,2> Utils::Version<T,2,2>::parseList<StringsList>(const StringsList &)' being compiled
with
[
T=unsigned short,
StringsList=QList<QByteArray>
]
2019-04-16 12:37:46 +08:00
Chocobo1
df6df20969
Use QSet for tracking server connections
...
We don't need to maintain order between connections so QSet would be more suitable.
2019-04-16 12:34:09 +08:00
Chocobo1
4e5a85dda5
Remove closed connections immediately
...
Previously it relied on a timer to drop dead connections but that proved to
be too slow when there is an incoming burst of connections.
Fixes #10487 .
2019-04-16 12:34:00 +08:00
Mike Tzou
bad603454b
Merge pull request #10474 from thalieht/backport
...
Backport #10464 to v4_1_x
2019-04-11 10:16:08 +08:00
thalieht
7b006a47ba
Show user friendly size in error
2019-04-10 12:08:47 +03:00
thalieht
11da8b82e8
Increase the download size limit to 100 MiB
2019-04-10 12:02:43 +03:00
Mike Tzou
383a5f11bc
Merge pull request #10468 from Chocobo1/backport
...
Backport recent PRs to v4_1_x
2019-04-10 16:50:19 +08:00
Chocobo1
76ab5f12c5
Work around the crash occurred in QTimer
...
See Qt commit:
https://code.qt.io/cgit/qt/qtbase.git/commit/src/corelib/kernel/qtimer.cpp?id=a623fe8d2a60ff333d5779f877e3b20f0e141ff1
Fixes #9985 .
2019-04-09 13:57:53 +08:00
Chocobo1
be74987084
Correctly handle '+' sign in x-www-form-urlencoded data
...
Fixes #10451 .
2019-04-09 13:57:35 +08:00
Chocobo1
8f6c305d14
Update .appdata descriptions
2019-03-25 13:27:29 +02:00
Chocobo1
e29b9655eb
Use reverse DNS convention for metadata files naming
...
Also update appdata install path.
Closes #10111 .
2019-03-25 13:27:22 +02:00
sledgehammer999
ae7fa9ea82
Merge pull request #10403 from thalieht/backport-search-enter-key
...
Backport #10400 to v4_1_x branch
2019-03-25 13:22:03 +02:00
thalieht
fee9030337
Make num enter key work the same as return in searchjobwidget
...
Backport #10400 to v4_1_x branch.
2019-03-23 10:51:07 +02:00
Peter Eszlari
f48d057c47
Linux/Wayland: make window title bar icon work
2019-03-17 21:55:50 +02:00
sledgehammer999
f14573307c
Don't query Google for tracker favicons
...
It is a bad idea for user privacy to automatically contact a 3rd party
about tracker domains. Especially when the user isn't informed about
this and the 3rd party is Google.
Reverts 1b9882b3a3
2019-03-17 21:55:50 +02:00
sledgehammer999
560ba8c0b8
Update copyright year
2019-03-17 21:55:49 +02:00
Nick Korotysh
4b2376c4fd
Cleanup Info.plist
...
Added few required/recommended and removed obsolete/deprecated keys
according to Apple developers documentation.
Changed CFBundleIdentifier according to reverse DNS convention.
Updated copyright year.
2019-03-17 21:55:45 +02:00
Nick Korotysh
76faed3818
Draw progress bar in Fusion style on macOS systems
...
Qt has a bug QTBUG-72558, which leads to incorrect progress bar
position, when drawing it in delegate.
Also, since OS X 10.10 Yosemite macOS default style was changed,
and progress bars became very tiny and without text (percentage).
These two cases make qBittorrent look pretty awful, but drawing
progress bar in Fusion style solves both issues.
2019-03-17 21:55:07 +02:00
sledgehammer999
62657d9fda
Mention more translators
...
Closes #10043
2019-03-17 21:55:07 +02:00
Mike Tzou
5877308a49
Merge pull request #10272 from Chocobo1/login_v41x
...
Prevent login credential appearing in URL (for v4_1_x branch)
2019-02-10 13:31:20 +08:00
Chocobo1
24dcbe7d43
Fix wrong arg placeholder
2019-02-09 21:26:08 +08:00
Chocobo1
7649fe0a0e
Display warning when Javascript is disabled
2019-02-09 15:32:43 +08:00
Chocobo1
b3b334da77
Prevent login credential appearing in URL
...
Closes #10221 .
2019-02-09 15:28:31 +08:00
Vladimir Golovnev
03a55da260
Merge pull request #10266 from glassez/ordered-recheck
...
Force recheck multiple torrents one by one
2019-02-09 07:14:13 +03:00
Vladimir Golovnev (Glassez)
1a9eadf8e6
Force recheck multiple torrents one by one
...
Closes #9120 .
2019-02-08 08:25:16 +03:00
Vladimir Golovnev
7b3fb2a35a
Merge pull request #10229 from glassez/http-request-41
...
Separate URL components before percent-decoding
2019-01-28 16:54:02 +03:00
Vladimir Golovnev (Glassez)
a55ea29919
Separate URL components before percent-decoding
...
Allow special characters in query string parameters.
Closes #9116 .
2019-01-28 08:54:36 +03:00
sledgehammer999
264b689912
Fix TravisCI build on macOS again
2018-12-27 22:29:38 +02:00
sledgehammer999
684cf82f89
Fix TravisCI build on macOS
2018-12-27 22:11:11 +02:00
sledgehammer999
3f0e0a319a
Bump to 4.1.5
2018-12-24 19:24:16 +02:00
sledgehammer999
0b4d9c72a7
Update Changelog
2018-12-24 19:20:07 +02:00
sledgehammer999
ff71f6bcd9
Sync translations from Transifex and run lupdate
2018-12-24 18:52:35 +02:00
sledgehammer999
7a5c5baad1
Update transifex config file
2018-12-24 18:52:34 +02:00
thalieht
a18976d0b5
Fix regression on resuming torrents without metadata
2018-12-24 18:19:30 +02:00
Chocobo1
6d836ea49c
Change qbt exit message to HTML5
2018-12-24 18:19:29 +02:00
Chocobo1
2e97311147
Unify translation files loading action
...
Since it is possible alternative WebUI could be coded in languages other than English,
WebUI must be able to load user-provided webui_en.qm.
At least one translated string must exist in order to generate an usable .qm file.
2018-12-24 18:19:28 +02:00
sledgehammer999
57bc564b2c
Use configured locale only for translating
...
Don't use other aspects of it eg for date formatting. We should depend
on the system locale for all these. The user probably likes it that way,
otherwise he would have changed it.
2018-12-24 18:19:27 +02:00
Stephen Dawkins
1295f1e31f
Keep track of REPACK/PROPER downloads
...
When using the smart episode filter, if the episode contains REPACK and/or
PROPER, these should be stored to prevent it from redownloading a duplicate
episodes.
Closes #9898 .
2018-12-24 18:19:26 +02:00
sledgehammer999
4916ed0efb
Update transifex config file
2018-12-24 18:19:25 +02:00
sledgehammer999
f15f99cb27
Sync translations from Transifex and run lupdate
2018-12-24 18:19:22 +02:00
sledgehammer999
93365d3b20
Update WebUI .ts files
2018-12-24 18:19:11 +02:00
Chocobo1
c756ab021d
Upgrade TravisCI to xenial
...
* Remove cmake installation, it is already pre-installed by TravisCI.
* Limit ccache cache size to 512 MB. Previously the size was 5 GB for
macOS and it took 1~3 mins just for packing & uploading the cache,
limiting the size should shorten total build time.
2018-12-17 00:49:09 +02:00
Nick Korotysh
34528dd544
Make file icon look like other macOS icons
2018-12-17 00:49:08 +02:00
Chocobo1
9380209afb
Revise CSP header
...
The majority of the CSP is tuned for built-in WebUI, it may not be
suitable for alternative UI.
Also add QLatin1String to strings. This code path is called repeatedly,
it is worth adding QLatin1String to squeeze out the last bit of
performance.
2018-12-17 00:49:07 +02:00
Chocobo1
be2895ac6f
Enforce referrer-policy in WebUI
...
This stops leaking private data to other websites via Referrer header.
2018-12-17 00:49:06 +02:00
Thomas Piccirello
e26d4642b8
Add torrent name filtering to WebUI
...
Closes #721
2018-12-17 00:49:05 +02:00
Thomas Piccirello
f470972bd4
Send numeric status without translation
2018-12-17 00:49:04 +02:00
Thomas Piccirello
443378c041
Remove condition for unsupported libtorrent version
2018-12-17 00:49:02 +02:00
Thomas Piccirello
e20dbe34a4
Simplify map initialization
2018-12-17 00:49:01 +02:00
Thomas Piccirello
86bde47a06
Add WebUI Trackers context menu
2018-12-17 00:49:00 +02:00
Thomas Piccirello
e273c777c7
Add DHT, PeX, and LSD to WebUI Tracker list
2018-12-17 00:48:59 +02:00
Thomas Piccirello
17845c6b25
Add additional Tracker columns to WebUI
2018-12-17 00:48:58 +02:00
Thomas Piccirello
27827ce16a
Use const where appropriate
2018-12-17 00:48:57 +02:00
Thomas Piccirello
b444ecc6af
Reorder and rename Tracker list context menu option
...
Adds an ellipses to indicate that the Edit option opens a dialog. Also moves Edit to top of the list to convey action's prominence.
2018-12-17 00:48:56 +02:00
Thomas Piccirello
34995350ee
Rename Tracker List columns
...
"Received" renamed to "Peers", "Peers" renamed to "Leeches".
2018-12-17 00:48:55 +02:00
sledgehammer999
73ceee52f8
Bump Web API version
2018-12-17 00:48:54 +02:00
Thomas Piccirello
85a3ba0eed
Update Copyright email address
2018-12-17 00:48:53 +02:00
Thomas Piccirello
86cce76e9d
Fix display bugs in WebUI Files tab. Remove <IE9 support
...
Priority select boxes would frequently go blank due to an unexpected priority value. On first load, the torrent-scoped file checkbox's state was inconsistent with the state of the torrent's files.
2018-12-17 00:48:52 +02:00
Thomas Piccirello
3358fd8e91
Fix incorrect priority value sent from WebUI
...
Closes #9070 .
2018-12-17 00:48:51 +02:00
Thomas Piccirello
120965f823
Set priority for multiple files in one WebAPI request
...
Closes #6259 .
2018-12-17 00:48:50 +02:00
Thomas Piccirello
e70ee9a5b6
Replace prio namespace with FilePriority enum class
2018-12-17 00:48:48 +02:00
Thomas Piccirello
a2d8e84e83
Match WebUI Peers table column order to GUI
2018-12-17 00:48:47 +02:00
Chocobo1
4a3648a693
Use gcc-5 for TravisCI linux builds
...
Remove workarounds for CXXFLAGS.
Using 3 compilation jobs should cause process trashing, tune it down to 2.
TravisCI container builds is deprecated, so remove the `sudo: false` command.
2018-12-17 00:48:43 +02:00
Chocobo1
baad45e638
Use CC, CXX from environment when available
2018-12-17 00:47:01 +02:00
Chocobo1
d9cb00aab2
Use correct locale to display date
2018-12-17 00:46:54 +02:00
Vladimir Golovnev (Glassez)
d703d98836
Show error message when Session failed to start
2018-12-17 00:41:30 +02:00
Thomas Piccirello
2f0646e7f0
Fetch data less frequently when torrents tab isn't visible
2018-12-17 00:41:28 +02:00
Thomas Piccirello
1a8a6dcef7
Add Search tab to WebUI
...
Closes #859 , #8107 .
2018-12-17 00:41:27 +02:00
Thomas Piccirello
990f961126
Allow tables to be added without a parent panel
2018-12-17 00:41:26 +02:00
Thomas Piccirello
06f04dea19
Simplify implementation
2018-12-17 00:41:25 +02:00
Thomas Piccirello
8eced2ef1f
Add ability to pass urls to the webui download page
2018-12-17 00:41:24 +02:00
Tom Piccirello
1e486ea92e
Fix JavaScript error
...
Fixes a JavaScript error caused by the element lookup returning null
2018-12-17 00:41:22 +02:00
Thomas Piccirello
b47f38675e
Disallow setting a blank alternative WebUI location
2018-12-17 00:41:21 +02:00
Thomas Piccirello
864f3393a0
Add slow torrent options
2018-12-17 00:41:20 +02:00
Thomas Piccirello
cebef74326
Add "Use alternative Web UI" option
2018-12-17 00:41:19 +02:00
Thomas Piccirello
e257b35cac
Add "Apply rate limit to peers on LAN" option
2018-12-17 00:41:17 +02:00
Thomas Piccirello
1f33991e4b
Add email "From" option
2018-12-17 00:41:16 +02:00
Thomas Piccirello
794053f212
Set WebUI download options using set preferences
...
"Start torrent" and "Create subfolder" are now set depending on the user's set preferences, which matches the behavior exhibited by the GUI.
2018-12-17 00:41:14 +02:00
Thomas Piccirello
3a130e1f74
Show list of categories on WebUI download page
2018-12-17 00:41:13 +02:00
Thomas Piccirello
3423f93230
Hide WebUI text input for custom monitor save locations
2018-12-17 00:41:12 +02:00
Thomas Piccirello
2219167253
Add "When adding a torrent" options
2018-12-17 00:41:10 +02:00
Thomas Piccirello
a0a32b89a6
Add WebUI Auto TMM options
2018-12-17 00:41:08 +02:00
Thomas Piccirello
59162bf426
Replace all line breaks and fix legend code style.
2018-12-17 00:41:07 +02:00
Thomas Piccirello
dfd148f55f
Add speed limit icons to WebUI Speed options
2018-12-17 00:41:05 +02:00
Thomas Piccirello
3af720b3bc
Add WebUI Random port button and proxy unencrypted password notice
2018-12-17 00:41:04 +02:00
Thomas Piccirello
11240d0837
Replace WebUI Options fixed-width labels
...
This allows the labels to auto-expand based on the language used, and also removes unnecessary whitespace. Additionally, this results in a look more consistent with the GUI which right-aligns labels.
2018-12-17 00:40:53 +02:00
Thomas Piccirello
e64fd9c544
Reorder WebUI options to match GUI
2018-12-17 00:28:35 +02:00
FranciscoPombal
50ef812427
Add checking_mem_usage option to AdvancedSettings
2018-12-17 00:28:34 +02:00
thalieht
bd4d2fa424
Combine qAsConst() with copyAsConst() to asConst()
2018-12-17 00:28:33 +02:00
thalieht
e2ee928017
Convert all foreach() to range-based for()
2018-12-17 00:28:32 +02:00
thalieht
62e71a15a4
Fix coding style for various things
2018-12-17 00:28:31 +02:00
thalieht
c62127e9f1
Save option to start minimized in Mac
2018-12-17 00:28:29 +02:00
Chocobo1
2171d579ee
Fix typo
2018-12-17 00:28:28 +02:00
Chocobo1
6e5a969e2d
Use ip parameter from tracker request if provided
...
Closes #9949 .
2018-12-17 00:28:28 +02:00
Chocobo1
bfbc7ef28a
Use QHostAddress for storing IP
2018-12-17 00:28:26 +02:00
sledgehammer999
b1cefbf9b5
Autotools: Replace CPPFLAGS with CXXFLAGS
2018-12-17 00:28:25 +02:00
sledgehammer999
201638854e
Autotools: Print Boost LDFLAGS nicer
2018-12-17 00:28:24 +02:00
sledgehammer999
847ecdeedb
Autotools: Improve handling of C++ mode
2018-12-17 00:28:23 +02:00
Chocobo1
acc159fa60
Fix wrong locale used in log message
2018-12-17 00:28:22 +02:00
Chocobo1
bb7e80a8a6
Fix weekday names translations
...
Closes #9933 .
2018-12-17 00:28:21 +02:00
Chocobo1
39973f1bb1
Fix strings not translated
...
Closes #9934 .
2018-12-17 00:28:21 +02:00
Chocobo1
1e9151364a
Clean up code
2018-12-17 00:28:20 +02:00
Vladimir Golovnev (Glassez)
fd50d6e9af
Save torrents queue in separate file
2018-12-17 00:28:19 +02:00
Vladimir Golovnev (Glassez)
427acf0c46
Fix signed/unsigned integers comparison warning
2018-12-17 00:28:18 +02:00
Thomas Piccirello
f0a50424be
Allow WebUI sidebar to be collapsed
2018-12-17 00:28:18 +02:00
Thomas Piccirello
aded9afc0e
Show ellipsis when WebUI sidebar is too narrow
2018-12-17 00:28:17 +02:00
Thomas Piccirello
060b7480db
Only instantiate SearchPluginManager as needed
2018-12-17 00:28:16 +02:00
Tom Piccirello
7f2a01dcd6
Fix WebUI bug on override of Start Download option
...
Disabled form values aren't submitted, causing the add_paused value not to be sent when Start Torrent was checked. qBittorrent would then fall back to the global Start Download preference.
Closes #9855 .
2018-12-17 00:28:15 +02:00
Chocobo1
fef0e70c9f
Fix missing words in WebUI
...
This is because Qt translator returns empty string when the translation
is not provided, now we fallback to the original string from source code.
Closes #9868 .
2018-12-17 00:28:14 +02:00
Thomas Piccirello
9cc112aa4e
Add SameSite attribute to WebUI session cookie
...
This attribute prevents the cookie from being submitted on any cross-site request, strongly limiting CSRF.
Closes #9877 .
2018-12-17 00:28:14 +02:00
Chocobo1
44d4d41365
Put WebUI security related options into a groupbox
2018-12-17 00:28:13 +02:00
Chocobo1
a21c386dbf
Add option for WebUI Host header validation
...
Closes #9743 .
2018-12-17 00:28:12 +02:00
Thomas Piccirello
1c4139906a
Show icon in WebUI sorted column
2018-12-17 00:28:11 +02:00
Chocobo1
1a21f45c75
Implement proper C++11 mode detection
...
Newer compilers have C++14 mode as default and package maintainers tend
to not specifying a C++ version when building a package, this causes
compatibility issues when (for example) qbt is compiled in C++11 and
dependency lib is in C++14. See issue #9485 .
What this commit does:
1. Checks if compiler supports at least C++11
2. Checks if compiler is set in at least C++11 mode
2018-12-17 00:28:04 +02:00
sledgehammer999
0061b75200
Bump to 4.1.4
2018-11-19 01:42:20 +02:00
sledgehammer999
420c93a99e
Update Changelog
2018-11-19 01:38:44 +02:00
sledgehammer999
93f1183cd7
Sync translations from Transifex and run lupdate
2018-11-19 01:36:56 +02:00
Chocobo1
b8fcc1fed2
Fix divide-by-zero crash
...
Previously here was using a cheap method to avoid divisor becoming < 0, but from
the crash stacktrace it seems this is not enough, now the divisor is properly
clamped to have 1 as the minimum.
Also it will now display "Unknown" for invalid calculation results.
Closes #9857 .
2018-11-19 01:19:10 +02:00
Vladimir Golovnev (Glassez)
2b91be1905
Improve RSS Feed updating
...
Don't process "out-of-limit" articles.
Closes #9833 .
2018-11-19 01:19:10 +02:00
sledgehammer999
7c9ef96ef8
Update Changelog
2018-11-15 00:12:33 +02:00
thalieht
37b4b69199
Allow resizing search filter in search job
...
Allow qBt to resize the search filter in search job because it causes
qBt's width to exceed the screen's width for laptop users.
2018-11-14 23:39:57 +02:00
sledgehammer999
fc18e6f8df
Change FossHub RSS url for updates
...
The new RSS format is compatible with our current parser. FossHub will
redirect old URL to the new one so older clients will not be affected.
2018-11-14 23:39:57 +02:00
Chocobo1
4793a35e0b
Don't double delete a pointer
...
`m_searchFilterAction` is owned by Qt, so we shouldn't delete it
manually.
2018-11-14 23:39:57 +02:00
Eugene Shalygin
4599da3ce1
cmake: use C++14 when available
...
Libtorrent does the same and we have to follow since
its ABI depends on the C++ standard version.
Partially closes #9485 .
2018-11-14 23:39:57 +02:00
Chocobo1
dec4e41fdd
Clean up SpeedLimitDialog class
2018-11-14 23:39:57 +02:00
Chocobo1
780ece0c25
Remove speed limit checkbox in Options dialog
...
This unifies speed limit UI elements throughout the program.
2018-11-14 23:39:57 +02:00
dzmat
aac8bfc398
Fix speed graph "high speeds" bug
2018-11-14 23:39:57 +02:00
Tom Piccirello
1a06a18336
Handle downloading .torrent file as success
...
We don't know whether the download will be successful, so default to success. Closes #9811 .
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
2d4f963d65
Don't update torrent status unnecessarily
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
b54fe08201
Improve force recheck of paused torrent
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
d1d0300491
Restore torrent in two steps
...
Add/restore all torrents in "paused" state and then resume those
that need to be really "resumed" (added/restored in "resumed" state).
Keep torrents with missing files paused.
Force recheck torrent with missing files when it's resumed by the user.
2018-11-14 23:39:57 +02:00
Chocobo1
7fff06f07b
Improve parser for search engine versions.txt
...
The parse could fail when there is an extra empty line at the end of
file, this patch fixes it.
2018-11-14 23:39:57 +02:00
Chocobo1
3f9351042d
Fix wrong type passed to arg()
2018-11-14 23:39:57 +02:00
Chocobo1
9e01dbab0f
Fix defects found by lgtm.com
2018-11-14 23:39:57 +02:00
Chocobo1
d4a4b02cf6
Fix MSVC warning C4804
...
Full message of the warning:
webui\api\searchcontroller.cpp(54): warning C4804: '>': unsafe use of type 'bool'
in operation
2018-11-14 23:39:57 +02:00
dzmat
1f2c7a6671
Improve scaling of speed graphs
...
Make Y axis scale to fix on predetermined nice looking positions
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
5a7b88c16c
Fix Alternative Web UI to be available
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
93351476e4
Consider empty locale setting as not set
2018-11-14 23:39:57 +02:00
Thomas Piccirello
e1bfa95a63
Use QElapsedTimer
2018-11-14 23:39:57 +02:00
Thomas Piccirello
7030cc08e7
Add free disk space to WebUI status bar
...
Closes #6829 .
2018-11-14 23:39:57 +02:00
Thomas Piccirello
a1da9812a5
Catch invalid values
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
8ebc0f529c
Fix indentation in tstool.py
2018-11-14 23:39:57 +02:00
Tom Piccirello
e0d47649bc
Bump WebAPI version
2018-11-14 23:39:57 +02:00
silver
524d503860
Recognize *.ts files as previewable
2018-11-14 23:39:57 +02:00
Thomas Piccirello
cffafa8e9f
Add WebUI search API controller
...
Closes #2495 .
2018-11-14 23:39:57 +02:00
Thomas Piccirello
0fda919268
Instantiate SearchPluginManager with other application components
2018-11-14 23:39:57 +02:00
Chocobo1
7d98c34e17
Fix TravisCI cmake build on macOS
...
Instead of hard coding a macOS version to use, now we follow TravisCI default
version, currently: xcode9.4.
2018-11-14 23:39:57 +02:00
Thomas Piccirello
93147e787b
Fix WebUI Auto TMM context menu bug
...
When multiple torrents are selected with different Auto TMM values, the Auto TMM context menu option is hidden. This option is never unhidden, requiring a refresh of the page.
2018-11-14 23:39:57 +02:00
Eugene Shalygin
80435bae7e
cmake: restore out-of-source build
...
Qt translations have to be compiled in a shared library or executable,
and since we use static libraries for the components, webui translation
files have to be compiled into the main executable.
2018-11-14 23:39:57 +02:00
Chocobo1
b367e5c197
Simplify #if conditions
2018-11-14 23:39:57 +02:00
Chocobo1
5336c71da5
Add isNetworkFileSystem() detection on Windows
...
This allows network mounts to be monitored correctly by polling timer.
2018-11-14 23:39:57 +02:00
dzmat
27f6db976d
Reduce horizontal graphs resolution
...
Rewrite averaging code and reduce horizontal graphs resolution for
30 minutes and 6 hours graphs to decrease CPU usage.
2018-11-14 23:39:57 +02:00
Administrator account
8223d61fa7
Don't recheck just checked torrent
...
Closes #8743 .
Closes #9370 .
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
3eef12bd8f
Use independent translation for WebUI
2018-11-14 23:39:57 +02:00
Vladimir Golovnev (Glassez)
9e70a6c499
Create WebUI translation update tool
2018-11-14 23:39:57 +02:00
Thomas Piccirello
fec3a87421
Add categories WebAPI
...
Closes #5330 .
2018-11-14 23:39:57 +02:00
dzmat
59aac32eb9
Allow to disable speed graphs
2018-11-14 23:39:57 +02:00
Chocobo1
5ef3917769
Add FileSystemWatcher log messages
2018-11-14 23:39:57 +02:00
Chocobo1
2f767d96d9
Add SMB2 magic number
...
Closes #9671 .
2018-11-14 23:39:57 +02:00
silverqx
de24fdfdc2
Clear LineEdit on ESC
2018-11-14 23:39:57 +02:00
Stephen Dawkins
3bb6a68c9d
Allow to disable downloading REPACK/PROPER matches
2018-11-14 23:39:57 +02:00
sledgehammer999
f2406eb2f3
Use a more detailed alert mask where possible
...
Closes #9547
2018-11-14 23:39:57 +02:00
Thomas Piccirello
4923ed7da0
Fix minor JavaScript defects
2018-11-14 23:39:57 +02:00
Thomas Piccirello
82056355f6
Add locale to js file path
...
This reduces the likelihood of a cached file being used after the locale is changed.
2018-11-14 23:39:57 +02:00
Thomas Piccirello
f3bd2a295f
Translate WebUI torrents Status column
...
Closes #9554 .
2018-11-14 23:39:57 +02:00
dzmat
cc96760839
Update uncrustify.cfg
...
Suddenly uncrustify does not append spaces after comma in function's argument lists. I found only one option which looks fit for it.
2018-11-14 23:39:57 +02:00
Chocobo1
ae95943f69
Remove default parameter in derived function
...
When derived function have different default value than base, it might cause
unnecessary confusion, see: https://stackoverflow.com/q/3533589
2018-11-14 23:39:57 +02:00
Chocobo1
d3067f939e
Avoid variable shadowing
2018-11-14 23:39:57 +02:00
Chocobo1
b6addd304c
Add include guard to headers
2018-11-14 23:39:57 +02:00
Chocobo1
d1ae6e8d58
Update Python URLs
2018-11-14 23:39:57 +02:00
Chocobo1
4445c2dab2
Fix asking to install Python
...
The dialog asking users to install python is borked since the last refactor, this
commit fixes it.
2018-11-14 23:39:57 +02:00
Chocobo1
fcc1564a62
Move python related functions
...
Also the functions are slightly changed to return full path of the found
python executable.
2018-11-14 23:39:57 +02:00
sledgehammer999
615eeb7144
Make strings actually translatable
2018-11-14 23:39:57 +02:00
sledgehammer999
855bb118b5
Remove unused variable
2018-11-14 23:39:57 +02:00
dzmat
9f1eb3600a
Replace magic number with system define
2018-11-14 23:39:57 +02:00
Eugene Shalygin
fb885d89c1
Reword the warning message
2018-11-14 23:39:57 +02:00
Chocobo1
a846916beb
Reformat python code to be compliant with PEP8
...
The following command is used:
`pycodestyle --ignore=E265,E722 --max-line-length=100 <py files>`
2018-11-14 23:39:57 +02:00
sledgehammer999
a574c4a70a
Bump to 4.1.3
2018-09-18 22:49:35 +03:00
sledgehammer999
1e367f818d
Update Changelog
2018-09-18 22:46:42 +03:00
sledgehammer999
00599c8f02
Sync translations from Transifex and run lupdate
2018-09-18 22:36:43 +03:00
sledgehammer999
332a836746
Bump Web API version
2018-09-18 22:36:16 +03:00
Yaroslav Pronin
a1992acc16
Fix typo in variable name
2018-09-13 22:37:56 +03:00
Thomas Piccirello
c3f002a544
Add save path and editing to WebUI new category dialog
2018-09-13 22:37:56 +03:00
Thomas Piccirello
c28cbe0a74
Include category save path in web api sync data
2018-09-13 22:37:56 +03:00
Thomas Piccirello
435daaceed
Require torrent category creation to be explicit
2018-09-13 22:37:56 +03:00
sledgehammer999
e29ab0087b
Save state change from queued to paused
2018-09-12 17:30:19 +03:00
sledgehammer999
aadd5a3312
Fix macOS builds in travis-ci
2018-09-12 17:30:19 +03:00
thalieht
7e354ffad3
Preselect name without extension when renaming files
...
And preselect the whole string for everything else.
2018-09-12 17:30:19 +03:00
thalieht
ee6a071fb6
Refactor in searchjob to always color visited entries
...
Now it colors multiple entries, when visited at once, via the hotkey or
the Download button.
2018-09-12 17:30:19 +03:00
thalieht
bc8b838953
Set "enter" as shortcut to download the selected torrents in search job
2018-09-12 17:30:19 +03:00
thalieht
5251d93b3d
Fix some warnings
2018-09-12 17:30:19 +03:00
thalieht
84f0dbecfe
Show "N/A" if there is no scrape
...
Disambiguates whether the tracker send a response of 0 peers/seeds/downloaded or didn't send one at all.
2018-09-12 17:30:19 +03:00
sledgehammer999
bba0c8b2cc
Save option about tracker favicons under correct key
2018-09-12 17:30:19 +03:00
sledgehammer999
2f90be8bd2
Decrease probability of missing important alerts
...
During startup we can get above 1000 alerts at each pop even with only
30 torrents in the queue. This is because libtorrent will post
piece_finished_alert and file_completed_alert for each torrent. These
alerts push out of the way the ones we care about.
The alert queue will be grown to max only if needed. So we don't use
more memory. It will greatly depend on how many torrents a user has in
their session.
When getting fastresume_rejected_alert we need to act as fast as
possible in pausing it, otherwise there's a chance it will begin
downloading and writing to disk before we pause it.
2018-09-12 17:30:19 +03:00
Thomas Piccirello
cb6b6296aa
Allow WebUI sidebar filters to be hidden
2018-09-12 17:30:19 +03:00
Thomas Piccirello
9d25fdce2a
Increase WebUI Options initial height
2018-09-12 17:30:19 +03:00
Thomas Piccirello
12b2732f1a
Adjust WebUI Options form alignment
2018-09-12 17:30:19 +03:00
Chocobo1
8c9ece73ee
Fix GUI scaling issue on Linux
...
It seems `QT_AUTO_SCREEN_SCALE_FACTOR` doesn't work as expected.
Closes #6935 .
2018-09-12 17:30:19 +03:00
Thomas Piccirello
a7db786387
Don't disable DHT when using force proxy
...
Closes #9292
2018-09-12 17:30:19 +03:00
Chocobo1
e5bf65c9bd
Update INSTALL file
...
Closes #9385 .
2018-09-12 17:30:19 +03:00
Chocobo1
900e7d3a14
Reset button text to default
...
This is to avoid Qt auto-generating code like this:
`buttonAdd->setText(QStringLiteral(""));`
Which makes no sense and triggers clazy warning (Wclazy-empty-qstringliteral).
2018-09-12 17:30:19 +03:00
Chocobo1
f1ff74a926
Avoid copy-construct QString in for loop
2018-09-12 17:30:19 +03:00
Elias M. Mariani
30bc4b837e
Support the OpenBSD filesystem
2018-09-12 17:30:19 +03:00
sledgehammer999
050a4f8b23
Fix TravisCI macOS builds
2018-09-12 17:30:19 +03:00
thalieht
487103d58f
Save torrents priorities on torrent finished
...
Save fastresumes for all torrents that shifted in the queue when a torrent finished.
2018-09-12 17:30:19 +03:00
thalieht
eeea69d4c1
Save fastresumes when changing torrent priorities
2018-09-12 17:30:19 +03:00
Vladimir Golovnev (Glassez)
00360ad418
Always save actual queue position
2018-09-12 17:30:19 +03:00
thalieht
a733253ae5
Allow setting seq & first/last from context menu without metadata
2018-09-12 17:30:19 +03:00
thalieht
9788ee042b
Rename 2 methods to eliminate ambiguity
2018-09-12 17:30:19 +03:00
thalieht
e9c9ea3bba
Add regex option in the search filter's context menu
...
In the search job widget.
2018-09-12 17:30:19 +03:00
Chocobo1
312dfb989d
Fix WebUI unreachable issue
...
QVariant doesn't have constructor for plain char, by default it converts
a plain char into an integer, hence the WebUI issue.
Closes #9333 .
2018-09-12 17:30:19 +03:00
Chocobo1
75deafe5b1
Add config file for SVGO
2018-09-12 17:30:19 +03:00
Chocobo1
4ca257a389
Fix icon height/width ratio
...
It was causing misalignment in TransferListFiltersWidget text label.
2018-09-12 17:30:19 +03:00
Chocobo1
03375a78f2
Fix values sorted wrong in "Last Activity" column
...
I suspect there could be other negative values.
Closes #9012 .
Also apply the changes to TR_RATIO_LIMIT, avoiding similar problems.
2018-08-17 21:40:04 +03:00
sledgehammer999
423c7066d7
Fix mingw warning about unrecognized escape sequence
...
Warning introduced by commit 6203f23f06
2018-08-17 21:40:04 +03:00
Chocobo1
5cd5cc71a8
Replace png icons with svg
2018-08-17 21:40:04 +03:00
Chocobo1
45d4d22055
Remove GuiIconProvider::generateDifferentSizes()
...
Let Qt do the scaling seems to be fine.
2018-08-17 21:40:04 +03:00
Eli Schwartz
916a92aa0d
Fix regression that broke installing desktop file
...
In commit 5d94db9c79
the desktop file was
moved from src/ to dist/ but the relative path from src/src.pro was
switched to an absolute path from the repository root. This broke
detection of the file from within qmake.
Fix by using the same $DIST_PATH used elsewhere for consistency, which
uses ../dist/.
2018-08-17 21:40:04 +03:00
sledgehammer999
d1ebbcb35d
Bump to 4.1.2
2018-08-12 21:16:29 +03:00
sledgehammer999
2743d998a8
Update Changelog
2018-08-12 21:13:12 +03:00
sledgehammer999
dbbfbaff9f
Bump Web API version
2018-08-12 21:10:28 +03:00
sledgehammer999
0be8439cf6
Sync translations from Transifex and run lupdate
2018-08-12 21:10:28 +03:00
Chocobo1
66982c5524
Fix lupdate errors
...
I suspect lupdate isn't smart enough to figure out what tr() is suppose
to do, so just make it a static function in class.
The error was: tr() cannot be called without context
2018-08-12 20:59:52 +03:00
Chocobo1
85af8547f7
Generate i18n .ts files in the correct directory
...
Fixup 5b7c089dd2
.
Closes #9313 .
2018-08-12 20:59:52 +03:00
thalieht
e26977ab2c
Add hotkey for toggling focus between the search LineEdits
2018-08-12 16:50:13 +03:00
thalieht
ec1cc783a6
Limit the scope of find torrents hotkey in MainWindow
...
To TransferListWidget because it will interfere with the SearchWidget's focus hotkey
2018-08-12 16:50:13 +03:00
thalieht
03b00ec045
Add a name filter for search results
...
Closes #8226
2018-08-12 16:50:13 +03:00
Lukas Greib
5e90156e9e
Inhibit sleep regardless of activity
...
"Active torrents" is a somewhat unintuitive concept as a basis for
preventing sleep, as torrents can become active or inactive on the
network at any time. This brings some predictability to the inhibit
sleep option, and will inhibit sleep as long as there are unpaused
downloads or uploads, regardless of network activity.
Closes #1696 , #4592 , #4655 , #7019 , #7159 , #7452
2018-08-12 16:50:13 +03:00
thalieht
052206efa1
Add option for regexps in the transferlist search filter's context menu
2018-08-12 16:50:13 +03:00
sledgehammer999
305d73180b
Update Changelog
2018-08-12 11:51:43 +03:00
Couchy
80000bf0fd
Avoid allocating large memory when loading a .torrent file
...
`QIODevice::read(qint64 maxSize)` will allocate full `maxSize` of memory no matter
what the real file size was, this caused users to experience out-of-memory
exception on 32-bit qbt.
Also handle the OOM execption if it still fails.
Closes #9064 , #9075 , #9130 , #9239 , #9246 , #9279 .
2018-08-12 11:08:06 +03:00
sledgehammer999
06ebe756e8
Notify users on 1st time close/minimize to tray
2018-08-12 11:08:06 +03:00
sledgehammer999
5fa3d9f19c
Revert "Set "close to tray" to false as default"
...
This reverts commit dc9ec0e408
.
2018-08-12 11:08:06 +03:00
Chocobo1
5b4c6d3665
Fix I/O error after fetching magnet metadata
...
It is caused by an extra path seperator, so removing it fixes it.
Fixup 9612a75faa
.
2018-08-12 11:08:06 +03:00
sledgehammer999
77bd0f17d1
Update AppVeyor config
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
03a702cfbd
Never save resume data for already paused torrents
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
a932cd2ec1
Reorder resume data saving conditionals
...
Having conditionals which can break saving of torrent resume data
in order from more likely to less likely is more effective.
2018-08-12 11:08:06 +03:00
Chocobo1
8e5743380a
Make ProgramUpdater upgrade to 64-bit qbt when running on 64-bit Windows
2018-08-12 11:08:06 +03:00
Chocobo1
8001eb0368
Avoid regenerating .qm files unnecessarily
...
Translations included at top level is to avoid regenerating the .qm files every
time when src.pro is processed.
Partially revert 5b7c089dd2
.
2018-08-12 11:08:06 +03:00
Chocobo1
f214dc88fc
Put temporary files in qbt own temp folder
2018-08-12 11:08:06 +03:00
Chocobo1
5cff5ab135
Refactor GuiIconProvider::generateDifferentSizes()
2018-08-12 11:08:06 +03:00
Chocobo1
82ba154b64
Add const to function signature
2018-08-12 11:08:06 +03:00
thalieht
4ea44bbd2b
Set "close to tray" to false as default
2018-08-12 11:08:06 +03:00
Chocobo1
a5e68a8725
Avoid potentially setting the wrong piece priorities
...
Updating file priorities is an async operation in libtorrent, when we
just updated it and immediately query it, we might get the
old/wrong values, so we rely on `updatedFilePrio` in this case.
2018-08-12 11:08:06 +03:00
Chocobo1
70291014d1
Refactor code
...
Make the code slightly easier to read.
2018-08-12 11:08:06 +03:00
Chocobo1
1aabcfc30c
Add const to function parameters
2018-08-12 11:08:06 +03:00
Thomas Piccirello
aba80e2b1c
Send all rechecks in one request
2018-08-12 11:08:06 +03:00
Thomas Piccirello
be683fbcd3
Add WebUI Force Reannounce option
2018-08-12 11:08:06 +03:00
Chocobo1
2bcf09cfa5
Remove static keyword overuse
2018-08-12 11:08:06 +03:00
Chocobo1
697325af63
Move member variable initialization
...
Move the initialization from constructor body to member initializer
list.
Remove superfluous initializer.
2018-08-12 11:08:06 +03:00
Chocobo1
c21bd77be5
Remove unnecessary dynamic allocation
...
Also remove unneeded `if ()` conditional.
2018-08-12 11:08:06 +03:00
Chocobo1
d5430adaaa
Avoid binding constant reference to returned object
...
In such cases, it makes no sense doing so.
2018-08-12 11:08:06 +03:00
Chocobo1
9e99a0d3f5
Replace single-character string with character literal
...
Also remove unnecessary dynamic allocation.
2018-08-12 11:08:06 +03:00
sledgehammer999
d088ab6f43
Remove trailing dot from headings
2018-08-12 11:08:06 +03:00
sledgehammer999
820d510c12
Add a TOC in the coding guidelines
2018-08-12 11:08:06 +03:00
Chocobo1
676847fcd0
Add options in AddNewTorrentDialog
...
The new checkboxes are: "Download in sequential order", "Download first
and last pieces first".
2018-08-12 11:08:06 +03:00
Chocobo1
0204630ee6
Revise dialog messages
...
Using critical dialog is a bit too strong as qbt didn't actually run
into something that fails, so downgrade to warning dialog.
2018-08-12 11:08:06 +03:00
Chocobo1
b515c7eda4
Fix typo
2018-08-12 11:08:06 +03:00
Chocobo1
73fcecac76
Simplify code
...
This avoids "deferencing null pointer" warning from static analyzers.
2018-08-12 11:08:06 +03:00
Chocobo1
a7b82ebcb5
Cache more preference values
...
These values from Preference class are frequently used.
Also group related variables together.
2018-08-12 11:08:06 +03:00
Eugene Shalygin
f8598b010d
Use proper include files in the QtSingleApplication find module.
...
Look for qtsinglecoreapplication.h when Qt5Widgets module was not found,
and qtsingleapplication.h otherwise. Fixes #9196 .
This also removes Qt4 support from the QtSingleApplication find module.
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
93779bcc4b
Download favicon using appropriate protocol
...
Some trackers use UDP protocol but we can't download its favicon
using UDP. Just try to download it using HTTP.
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
938f5b9dd9
Apply proxy settings on DownloadManager creation
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
3b4d9f49d5
Improve torrent initialization
...
Don't post "torrent resumed" event when torrent starts in "resumed"
state.
Fix confusing names. Now "resumed torrent" means "unpaused torrent"
only. When we load previously added torrent it is called "restored
torrent".
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
171c93af50
Save resume data on torrent change events
...
Closes #9174 .
2018-08-12 11:08:06 +03:00
sledgehammer999
6f81e40106
Revert email address changes in copyright notices
2018-08-12 11:08:06 +03:00
tjjh89017
e19b5cb2ce
Add async io threads option to AdvancedSettings
2018-08-12 11:08:06 +03:00
Chocobo1
2c69faca58
Allow save resume interval to be disabled
...
Also raise the allowable upper limit
2018-08-12 11:08:06 +03:00
Chocobo1
9272151d0a
Prolong resume data save interval
2018-08-12 11:08:06 +03:00
Chocobo1
d45ebf5a43
Remove unnecessary resources inclusion
2018-08-12 11:08:06 +03:00
thalieht
8074be7644
Delete several unused #include
2018-08-12 11:08:06 +03:00
thalieht
c99ac99a99
Fix coding style
2018-08-12 11:08:06 +03:00
thalieht
976e2450ec
Convert the names used in ui and c++ files from snake_case to camelCase
2018-08-12 11:08:06 +03:00
Chocobo1
7e4db8fafd
Fix python version detection
...
Closes #9146 .
2018-08-12 11:08:06 +03:00
Chocobo1
115a409d92
Clear python cache conditionally
...
Clear the cache artifacts on plugin install and plugin uninstall events.
2018-08-12 11:08:06 +03:00
Chocobo1
c203ab3d16
Refactor function
...
In SearchPluginManager::updateNova(), omit removing __pycache__ folder and pyc
files, those files will be recreated anyway.
Add const to variables
2018-08-12 11:08:06 +03:00
Chocobo1
5dff96496d
Rename function
2018-08-12 11:08:06 +03:00
Chocobo1
f813935011
Cache SearchPluginManager::engineLocation() result
...
Also the folder is only created on first usage.
2018-08-12 11:08:06 +03:00
Chocobo1
2be719449f
Replace less-efficient QProcess::setEnvironment
...
Also small refactor
2018-08-12 11:08:06 +03:00
Chocobo1
2094c870d5
Simplify function
2018-08-12 11:08:06 +03:00
Chocobo1
4fe93ae8b8
Add checkbox for recursive download dialog
...
Also group similar options together.
2018-08-12 11:08:06 +03:00
Chocobo1
fff1103cf4
Work around crash when procesing recursive download
...
The messagebox is modal and exec() it makes it generates a new local
event loop, however the new local event loop will continue to process
libtorrent events (in Session::readAlerts()), at the time exec()
returns, the original libt::alert pointers are lost and resume
processing alerts will cause the crash.
One solution is to make the messagebox use show() and avoid exec().
Closes #9086 .
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
8cede43a45
Make TorrentInfo loading behavior uniform
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
9b1fa3a5af
Use new DownloadManager interface
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
409e73c074
Implement "Sequential downloading" feature
...
Closes #6835 .
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
c893729d62
Implement DownloadRequest helper
2018-08-12 11:08:06 +03:00
Chocobo1
945466968c
Reduce queries to python version
...
Instead of doing at least 2 queries for python infos, now requires only
1 query (in ideal condition), and the result is cached.
2018-08-12 11:08:06 +03:00
Chocobo1
54f080b755
Move related functions to Utils::Python
2018-08-12 11:08:06 +03:00
Goshik
bfad14d552
Create non-existing path in setLocationAction()
...
When using qbittorrent-nox it is not always possible to manually create
the target path for torrent moving. This commit allows automatic path
creation. It also allows to display error messages in the
'Set location' window.
2018-08-12 11:08:06 +03:00
Chocobo1
2972e1596d
Move optimization flags
...
Those flags aren't strictly required when compiling but they are
recommended to be on.
2018-08-12 11:08:06 +03:00
Chocobo1
987d2aae88
Turn on Control Flow Guard for MSVC builds
...
The performance impact should be negligible according to the
documentation on msdn.
Closes #9101 .
2018-08-12 11:08:06 +03:00
hannsen
4707d34fad
Properly normalize version string before parsing it
...
This allows python scripts to be formatted in PEP 8 style.
2018-08-12 11:08:06 +03:00
Chocobo1
2ffc09d097
Move qm_gen.pri
2018-08-12 11:08:06 +03:00
Chocobo1
afa8d6bb8f
Move .desktop file
2018-08-12 11:08:06 +03:00
Chocobo1
a37ead98e8
Move .ico files into icons dir
2018-08-12 11:08:06 +03:00
Chocobo1
c73cd8d618
Move .qrc files into its own directory
2018-08-12 11:08:06 +03:00
thalieht
800a3aa61e
Change file names and classes names to match them
2018-08-12 11:08:06 +03:00
Thomas Piccirello
ebd815be75
Add WebUI support for Mac ⌘ (Command) key
...
The Command key will now be recognized for WebUI Table multi-selection, as Ctrl is.
2018-08-12 11:08:06 +03:00
Thomas Piccirello
ef669acf89
Implement key functions in Class and refactor
2018-08-12 11:08:06 +03:00
thalieht
ac6426eab1
Fix coding style
2018-08-12 11:08:06 +03:00
Chocobo1
b107b745f2
Revise usage of BOOST_NO_CXX11_RVALUE_REFERENCES
...
Now the flag will be present when building with boost version <= 1.59.
Closes #8990 .
2018-08-12 11:08:06 +03:00
Goshik
3d851a448f
Show current save path in 'Set location' window
...
The feature is useful when the user needs to move their torrent to a
sub or parent folder. If more than one torrent is chosen, the path
of the first selected torrent is used. The window was made wider to
allow more convenient editing of long paths.
2018-08-12 11:08:06 +03:00
Chocobo1
ce133f01aa
Replace deprecated function on macOS
...
Closes #8993 .
2018-08-12 11:08:06 +03:00
Chocobo1
492d378537
Disable certain mouse wheel events in Options dialog
...
The mouse wheel events for QComboBox & QSpinBox widgets in Options
dialog are filtered out.
2018-08-12 11:08:06 +03:00
Chocobo1
7ece484423
Remove duplicate private sections in class
...
And group related methods & variables together.
2018-08-12 11:08:06 +03:00
Chocobo1
be5ad63e21
Replace post-increment with pre-increment
...
And post-decrement with pre-decrement.
2018-08-12 11:08:06 +03:00
Eugene Shalygin
bdac8f8db8
Fix option name in winconf-xxx.cmake
...
The mistake was made by commit 7712d0ada0
2018-08-12 11:08:06 +03:00
Eugene Shalygin
bb893e70c5
Refactor CMake build scripts
...
1. Use FeatureSummary module to show configuration results.
2. Invert option()/find_package() relationship: instead of
calling find_package(... REQUIRED) when option is set, rely on optional
find package call and PackageName_FOUND variable.
3. Refactor handling options that result in simple preprocessor defines
(actually copy the snippet from libtorrent) so that everything is done
in a single function call.
4. Populate target properties in order to get rid of
include_directories() calls.
2018-08-12 11:08:06 +03:00
Chocobo1
57ec9db532
Fix WebUI cache behavior for css files
...
The style.css in public & private folders share the same URI, this
confuses the browser cache, so rename one of them.
2018-08-12 11:08:06 +03:00
Chocobo1
0287481001
Send Cache-Control header in WebUI responses
...
Tune the caching time to be shorter, in case there is a program
update.
Change the cacheability to private, as WebUI resources are not intended
to be cached at proxy.
For uncacheable responses, send out "no-store" explicitly to halt
browser caching.
2018-08-12 11:08:06 +03:00
Chocobo1
0167496ecb
Add changelog link in program updater
...
Closes #8997 .
2018-08-12 11:08:06 +03:00
Thomas Piccirello
d86cf193a0
Rename variables for clarity
2018-08-12 11:08:06 +03:00
Thomas Piccirello
246cad1108
Add form-action to CSP
...
This option restricts all form submissions to the WebUI's origin.
qBittorrent only ever submits forms to the origin, so this is intended as a security measure.
2018-08-12 11:08:06 +03:00
Thomas Piccirello
23bf86a8a8
Add upgrade-insecure-requests to CSP when HTTPS is enabled
...
This option automatically upgrades all http connections to https.
It ensures http urls cannot be accessed when in https mode, and is intended as a security measure.
2018-08-12 11:08:06 +03:00
thalieht
6ce4c885b9
Fix coding style
2018-08-12 11:08:06 +03:00
Chocobo1
faf84e483a
Reset WebUI ban counter on login success
2018-08-12 11:08:06 +03:00
Chocobo1
576004c840
Add logging messages in WebUI login action
2018-08-12 11:08:06 +03:00
Chocobo1
c93b05c293
Replace QRegExp with QRegularExpression
...
Revise `static` keyword usage, static is added to frequently used
instances.
2018-08-12 11:08:06 +03:00
Chocobo1
55c3813fac
Cleanup header include order
...
Add missing header.
Cleanup license.
2018-08-12 11:08:06 +03:00
Chocobo1
725c6857be
Improve WebUI security measures
...
CSP was erroneously disabled in bad4d94f77
when clickjacking protection is off, now it is back.
Also added CSP 'frame-ancestors' directive when clickjacking
protection is enabled.
2018-08-12 11:08:06 +03:00
Chocobo1
86767c9ab4
Refactor function
2018-08-12 11:08:06 +03:00
Chocobo1
46aa631d2b
Improve DownloadFromURL behavior
...
URL should be considered case sensitive.
2018-08-12 11:08:06 +03:00
Chocobo1
7c61a937c9
Move DownloadFromURLDialog to its own file
...
Simplify code, no functionality changes.
Remove debug messages.
Capitalize dialog name.
Capitalize class name.
Update license text.
2018-08-12 11:08:06 +03:00
Chocobo1
b8d65dcc45
Add missing header include
2018-08-12 11:08:06 +03:00
Vladimir Golovnev (Glassez)
b9ab83eaf2
Don't use RSS feed URLs as base for file names
...
RSS feed URLs can be too long and exceed max path limit.
Add RSS feed UIDs and use UIDs as base for file names instead of URLs.
Closes #8399 .
2018-08-12 11:08:06 +03:00
Chocobo1
8b7b563992
Add constexpr to IndexInterval class
...
Add const to IndexRange private members.
Remove redundant inline specifier.
Add missing parentheses.
2018-08-12 11:08:06 +03:00
Chocobo1
b813a878d7
Add constexpr to TriStateBool class
2018-08-12 11:08:06 +03:00
Chocobo1
54e486c389
Improve Utils::Version class
...
Add operator>=() and operator<=().
More methods are suitable to be constexpr.
Remove redundant boundary checking.
2018-08-12 11:08:06 +03:00
Chocobo1
12d0a3acc1
Add option to control CSRF protection
...
Some users are using WebUI with simple port-forwarding from their router,
providing an option to control the protection will save them from setting up an
non-trival web proxy.
Closes #7274 .
2018-08-12 11:08:06 +03:00
Chocobo1
6ad2a13386
Add option to control WebUI clickjacking protection
...
Some users actually want embedding WebUI into their custom build iframe.
Closes #7370 .
2018-08-12 11:08:06 +03:00
Chocobo1
2a9c401db9
Update Options dialog layout in WebUI
2018-08-12 11:08:06 +03:00
sledgehammer999
ea5a29018f
Bump to 4.1.1
2018-05-27 21:35:07 +03:00
sledgehammer999
c8d0a715e8
Update Changelog
2018-05-27 21:30:13 +03:00
sledgehammer999
2cfc6514ab
Sync translations from Transifex and run lupdate
2018-05-27 21:03:53 +03:00
sledgehammer999
1d78bc7206
Bump Web API version
2018-05-27 21:03:53 +03:00
Chocobo1
e5577e43f8
Replace raster qbt logo with vector version
...
Add helper function for svg icons.
2018-05-27 18:31:51 +03:00
Chocobo1
17c0463906
Fix GUI scaling factor on macOS
...
macOS seems have an unique way to handle widget size, that is, it doesn't require
application to resize widgets manually, Qt will handle the resize job
automatically.
Closes #8841 .
2018-05-27 18:31:51 +03:00
Chocobo1
4168772904
Use 32px icons for favicon
...
One less resource to manage and 16px size can be downsampled from 32px
on-the-fly anyway.
2018-05-27 18:31:51 +03:00
sledgehammer999
44f2186749
Fix compilation without D-Bus support
...
Closes #8977
2018-05-27 18:31:51 +03:00
Chocobo1
0c918bcc3a
Initialize variables properly
...
The warnings are emitted when compiling on msys2, mingw
The warning was:
gui/torrentcontentmodel.cpp:135:33: warning: missing initializer for
member '_SHFILEINFOW::iIcon' [-Wmissing-field-initializers]
..\..\qBittorrent\src\app\stacktrace_win.h:141:30: warning: missing
initializer for member '_IMAGEHLP_LINE64::Key'
[-Wmissing-field-initializers]
2018-05-27 18:31:51 +03:00
sledgehammer999
0a8925dc75
Suppress multiple I/O errors for the same torrent
...
When a file error happens libtorrent spews a ton of `file_error_alert`
which result in log floods and notification balloon floods. The later
might render the program inaccessible because the constant
notifications prevent the user from interacting with the tray icon.
Closes #8934
2018-05-27 18:31:51 +03:00
airium
a446597597
Update strace_win to stacktrace in conf.pri.windows
...
It is advised to update the stack trace statement since #8701 , otherwise people may forget to change it, which results in that no pdb file is generated for Windows distribution package.
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
54354a2732
Add missing 'return' statement
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
d94b8f08ab
Use RSS feed update time as a fallback
...
Some sites omit publication date in its RSS feed articles
that prevents "Ignore Subsequent Matches" to work properly.
Closes #8959 .
2018-05-27 18:31:51 +03:00
Chocobo1
0d8189efeb
Relax behavior of "Download first and last piece first"
...
Now it applies the setting to all files in torrent, no matter whether
the file is previewable or not.
Torrent client shouldn't be smart by deciding which file this
option will be applied to, i.e. it should just follow the user's decision.
2018-05-27 18:31:51 +03:00
Chocobo1
00c886e426
Refactor code
...
Add const to variables.
Add Logger message.
Simplify code logic.
2018-05-27 18:31:51 +03:00
Chocobo1
551fc35439
Simplify the saving & loading of a setting
...
Remove excessive usage of constexpr.
2018-05-27 18:31:51 +03:00
Chocobo1
9ff17c8d9d
Make use of QStringLiteral
...
Only changed instances that are initialized at program start.
2018-05-27 18:31:51 +03:00
Chocobo1
ec37732e99
Use smaller type
2018-05-27 18:31:51 +03:00
adem
8a414f32a8
Update Windows icons
2018-05-27 18:31:51 +03:00
sledgehammer999
bac06acb49
Fix Stats dialog size
...
Partially reverts e31ec20ec4
.
Closes #8870 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
ae1e3c2a81
Rename torrent if content was initially renamed
...
Closes #8910 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
67940eb0f9
Place "Use Smart Episode Filter" more correctly
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
007aa8480e
Make "Ignoring days" to behave like other filters
...
This prevents confusing in GUI when it shows matched RSS
articles which be really ignored by the rule.
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
dedec10c58
Improve code of RSS auto-downloading rule
...
Closes #8933 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
75219e21be
Add last used save path to the front of history
2018-05-27 18:31:51 +03:00
Evgeny Lensky
10f5964f8e
Fix open destination folder with Nautilus > 3.28
...
Closes #8923 .
2018-05-27 18:31:51 +03:00
Chocobo1
a4a64d51c0
Improve "Run External Program" behavior
...
This follows utorrent behavior: they don't append backslash character at
the end of path variables.
Closes #8836 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
1014313d88
Rename RSS properties to follow other names
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
e486bb4c29
Properly set RSS settings via API
...
Closes #8925 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
5c3d9ffb46
Properly fill UploadedFile::filename field
...
Closes #8928 .
2018-05-27 18:31:51 +03:00
Chocobo1
2e474fd8db
Detect endianness at compile time
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
b2b110ae1f
Add option to remember last used save path
...
Replace in "Add new torrent" dialog confusing "Set as default save path" option
with "Remember last used save path" option that affects only selected value in
"Save path" combo box.
Closes #7323 .
2018-05-27 18:31:51 +03:00
Chocobo1
68a34e0738
Refactor code
...
Add const to variables.
No functionality change.
2018-05-27 18:31:51 +03:00
Chocobo1
38fa575958
Apply locale changes immediately in WebUI
2018-05-27 18:31:51 +03:00
Chocobo1
6cfeefe054
Rename variables
...
Variable name should not start with underscore as C++ standard stated it
is reserved.
2018-05-27 18:31:51 +03:00
Chocobo1
8007971a53
Fix i18n in WebUI
...
Closes #8844 .
2018-05-27 18:31:51 +03:00
Chocobo1
d66bd30fae
Make strings translatable
...
Closes #8866 .
2018-05-27 18:31:51 +03:00
sledgehammer999
3fa59b1b12
Don't migrate torrents that have newer fastresumes
2018-05-27 18:31:51 +03:00
sledgehammer999
20e7aff393
Delete non-commited fastresume files
...
Old v3.3.x format had a number at the end indicating the queue position.
The naming scheme was '<infohash>.fastresume.<queueposition>'.
However, QSaveFile, which uses QTemporaryFile internally, might leave
non-commited files behind eg after a crash. These files have the
naming scheme '<infohash>.fastresume.XXXXXX' where each X is a random
character. We try to detect the latter and remove it without "migrating"
the fastresume to the new saving system.
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
4b7ce87f57
Fix params handling for some legacy API methods
...
Closes #8880 .
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
2075533468
Improve legacy API params handling
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
a4ad5c8d11
Fix invalid API calls in WebUI
...
Closes #8899 .
2018-05-27 18:31:51 +03:00
sledgehammer999
35f2f56757
Fix deletion of old logs
2018-05-27 18:31:51 +03:00
Marcel Petersen
e6f4aa6a2f
Filter torrent info endpoint by hashes
...
Added hashes parameter to info action.
Allows filtering seralized torrents by passing it into the TorrentFilter.
2018-05-27 18:31:51 +03:00
sledgehammer999
92fc62bb0d
Show rechecking progress
...
When having big torrents, the rechecking might take a while to
complete. Users need some sort of feedback that progress is being made.
Also, I changed the float to qreal since that's the return type.
2018-05-27 18:31:51 +03:00
sledgehammer999
44b57a59f5
Log successful torrent move
2018-05-27 18:31:51 +03:00
sledgehammer999
97b8e02bf5
Add 'Moving' state for torrents being relocated/moved
...
This is another indication to the user that something is happening
behind the scenes.
Uses the same icon/color as "Checking" status.
Torrents in the `Moving` state are considered as "Active". This should
prevent accidental program exit from the user and inhibit system sleep.
2018-05-27 18:31:51 +03:00
Chocobo1
5df42420cb
Retry saving settings when operation failed
2018-05-27 18:31:51 +03:00
Chocobo1
0ede11a1b7
Make settings file recovery more robust
...
We should not blindly remove the leftover settings file, as the following write()
operation could fail and the user would lost all settings.
We should try renaming it instead.
2018-05-27 18:31:51 +03:00
Chocobo1
7d9c282db9
Refactor SettingsStorage class
...
Make use of (i.e. returning) QFile::rename operation status
Make log message more verbose
Add const
Remove empty lines
Inline typedef
2018-05-27 18:31:51 +03:00
Chocobo1
bc0e0813a4
Enable more compiler warnings on linux
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
f3aebb3001
Fix compilation with MinGW
2018-05-27 18:31:51 +03:00
thalieht
800f966df9
Use qt5 syntax for a few remaining SLOT()
2018-05-27 18:31:51 +03:00
thalieht
e33df4dd8c
Clarify guidelines and fix some typos
2018-05-27 18:31:51 +03:00
thalieht
96d9d810fd
Fix coding style
2018-05-27 18:31:51 +03:00
thalieht
8707a1bc86
Move some connect() from propertieswidget to their corresponding widget
2018-05-27 18:31:51 +03:00
thalieht
0c988a5fd4
Use qt5 connect() syntax
2018-05-27 18:31:51 +03:00
Chocobo1
b396ca771d
Fix displayed tracker messages
...
Before this change, we were displaying debug messages constructed by
libtorrent, now we show messages returned by trackers.
Closes #8739 .
2018-05-27 18:31:51 +03:00
Chocobo1
a37dfcf961
Refactor functions
...
Add const to variables
Remove debug messages
2018-05-27 18:31:51 +03:00
Chocobo1
31989740cd
Comment out Werror flag in cmake script
...
Werror flag should be only enabled on developer's machine, not for
users using the product.
Also fix formatting.
2018-05-27 18:31:51 +03:00
Chocobo1
501191289b
Print warning about cmake support status
2018-05-27 18:31:51 +03:00
Chocobo1
8971e92d78
Remove debug messages
2018-05-27 18:31:51 +03:00
Chocobo1
0c96e79d0d
Refactor code
...
Remove forward declarations of Qt types.
Fix header include order.
2018-05-27 18:31:51 +03:00
Nick Korotysh
0704c0f5e6
Add missing "override"
2018-05-27 18:31:51 +03:00
thalieht
9cb190ebe7
Replace the zeroing of pointers with nullptr
2018-05-27 18:31:51 +03:00
Vladimir Golovnev (Glassez)
667f84995c
Fix wrong API method names
...
Closes #8828 .
2018-05-27 18:31:51 +03:00
Chocobo1
7a93fae6e4
Fix compile warnings on gcc 8
...
The warning was:
warning: catching polymorphic type ‘class std::exception’ by value
[-Wcatch-value=]
2018-05-27 18:31:51 +03:00
Chocobo1
0d6deca15c
Revert commit
...
Apparently the translations were working in previous state, but affected by
lupdate issue:
https://github.com/qbittorrent/qBittorrent/issues/8220#issuecomment-385712673
The reverts commit fb698896c9
.
Closes #8831 .
2018-05-27 18:31:51 +03:00
Chocobo1
f54d7d46f2
Really fix translation in fspathedit
...
QT_TRANSLATE_NOOP3 is a macro, so we cannot use a runtime string for the context
argument.
Fix up 1d778676cd
.
2018-05-27 18:31:51 +03:00
Chocobo1
8cf00ba5e1
Fix translation strings not found
...
The translation context doesn't exist, so the translations were not found, fixed
now.
Closes #8829 .
2018-05-27 18:31:51 +03:00
Chocobo1
ecc9c6bbd9
Work around false-positive warning from lupdate
...
In short, lupdate will get confused when seeing `template <class T>`,
see: QTBUG-55478
2018-05-27 18:31:51 +03:00
Chocobo1
e11199f988
Fix usage of Q_DECLARE_TR_FUNCTIONS()
...
The context parameter shouldn't be enclosed in double quotes.
2018-05-27 18:31:51 +03:00
sledgehammer999
e9ed621178
Bump to 4.1.0
2018-05-05 00:55:42 +03:00
sledgehammer999
400743fc64
Update Changelog
2018-05-05 00:51:24 +03:00
sledgehammer999
ea8c57be23
Sync translations from Transifex and run lupdate
2018-05-05 00:39:47 +03:00
sledgehammer999
591cde53cf
Merge pull request #8825 from sledgehammer999/fix_tabs
...
Add RSS/Log widgets to the QTabWidget on macOS
2018-05-04 23:59:07 +03:00
sledgehammer999
90bb67c654
Add RSS/Log widgets to the QTabWidget on macOS
...
Fixes commit a468c84b30
2018-05-04 19:56:42 +03:00
sledgehammer999
8f7fda492c
Sync translations from Transifex and run lupdate
...
Closes #8220 #8169
2018-05-01 18:50:24 +03:00
sledgehammer999
f92d85c536
Merge pull request #8813 from Chocobo1/tr
...
Fix untranslated string
2018-05-01 17:59:49 +03:00
sledgehammer999
55c98d8706
Merge pull request #8811 from sledgehammer999/fix_RC_1_0
...
Fix compilation against libtorrent 1.0.x
2018-05-01 15:04:25 +03:00
sledgehammer999
6e94b03c13
Fix compilation against libtorrent 1.0.x
...
Closes #8798
2018-05-01 10:39:53 +03:00
Mike Tzou
e3a82d4614
Merge pull request #8347 from FranciscoPombal/new_contributing_guidelines
...
New CONTRIBUTING.md, based on the old one, Atom's and uBlock Origin's
2018-05-01 12:00:13 +08:00
Chocobo1
c61f641613
Fix untranslated string
...
Closes #8809 .
2018-05-01 11:49:10 +08:00
sledgehammer999
b64a51337e
Update Changelog
2018-04-28 10:33:32 +03:00
sledgehammer999
19dcf7851b
Sync changelog entries from v4_0_x branch
2018-04-28 10:31:58 +03:00
sledgehammer999
fb346e15e8
Sync translations from Transifex and run lupdate
2018-04-27 02:04:37 +03:00
Mike Tzou
827d8c0dad
Merge pull request #8748 from Chocobo1/header
...
Clarify header inclusion order
2018-04-26 23:41:58 +08:00
Mike Tzou
beef041e71
Merge pull request #8773 from Chocobo1/log
...
Fix path separator in log messages
2018-04-25 12:58:32 +08:00
Chocobo1
8b575484e6
Fix path separator in log messages
2018-04-24 01:02:54 +08:00
FranciscoPombal
d4b77a6541
Revise CONTRIBUTING.md
...
New version is based on old one, Atom's and uBlock Origin's.
2018-04-24 00:56:46 +08:00
sledgehammer999
4ba6334506
Update libtorrent bottle for Travis macOS
2018-04-22 22:42:23 +03:00
sledgehammer999
b78899cb9a
Merge pull request #8724 from Chocobo1/rand
...
Use RNG provided by OS
2018-04-22 22:33:16 +03:00
Mike Tzou
0dec7b9f4f
Merge pull request #8742 from tostercx/master
...
Add "Preserve file order" option to torrent creator. Closes #5652
2018-04-22 23:33:25 +08:00
Chocobo1
81a4f3ced0
Use RNG provided by OS
...
The general consensus is to use random facility provided by OS instead
of using other software random generators.
2018-04-20 23:34:46 +08:00
Vladimir Golovnev
b155b8609f
Merge pull request #8767 from glassez/fix-legacy-api
...
Fix pauseAll/resumeAll legacy API methods. Closes #8766
2018-04-20 15:39:57 +03:00
Chocobo1
970ad7cf28
Sort filenames when creating torrent
...
First all dir paths are retrieved, then filenames in each path
are retrieved and sorted, then concatenate the sorted filenames together.
2018-04-20 14:35:48 +03:00
toster
c4625f50a8
Pass isAlignmentOptimized flag to piece size calculation
2018-04-20 14:31:20 +03:00
Vladimir Golovnev (Glassez)
001bd38557
Fix pauseAll/resumeAll legacy API methods
...
Closes #8766 .
2018-04-20 14:30:25 +03:00
Mike Tzou
7aae915a68
Merge pull request #8754 from Chocobo1/fix
...
Fix memory leak
2018-04-19 11:42:01 +08:00
Chocobo1
5f1ac96f66
Clarify header inclusion order
2018-04-18 13:56:40 +08:00
Chocobo1
68c2d81072
Fix memory leak
2018-04-17 20:34:01 +08:00
Chocobo1
4dea03fc74
Remove unused constants
2018-04-17 20:29:43 +08:00
Mike Tzou
a70942ed53
Merge pull request #8598 from Piccirello/limit-share-ratio
...
WebUI Add Limit Share Ratio context menu option
2018-04-15 00:39:27 +08:00
Mike Tzou
7e8c72f424
Merge pull request #8732 from Chocobo1/rename
...
Fix renaming completed files
2018-04-15 00:39:00 +08:00
toster
e538eae726
Make alignment optimization optional
...
Disabling alignment optimization allows preserving file order in torrent
files and closes #5652
2018-04-14 06:46:41 +03:00
Chocobo1
898239a42e
Fix renaming completed files
...
Check whether the file is already downloaded before appending QB_EXT to
filename.
Closes #8039 .
2018-04-12 14:13:59 +08:00
Mike Tzou
1055cc0f45
Merge pull request #8691 from Chocobo1/js
...
Partially revert "Remove unused JavaScript library"
2018-04-12 00:07:37 +08:00
Thomas Piccirello
9f36b54b04
WebUI Add Limit Share Ratio context menu option
...
Closes #6815 , #7602 .
2018-04-11 23:45:54 +08:00
Thomas Piccirello
1f42ab8c4f
Remove unused/superfluous variables
2018-04-11 23:45:54 +08:00
Thomas Piccirello
3f0fbc0810
WebUI rename property to match its definition
2018-04-11 23:45:54 +08:00
sledgehammer999
7e4b62c68d
Merge pull request #8701 from Kolcha/musl-support
...
Allow to disable Stacktrace support
2018-04-11 17:10:01 +03:00
sledgehammer999
784b154228
Merge pull request #8721 from sledgehammer999/fix_string_arg
...
Fix wrong QString::arg() usage that leads to crash
2018-04-11 17:04:32 +03:00
sledgehammer999
ddba79ef3d
Fix wrong QString::arg() usage that leads to crash
...
We need to be careful when using the multi-arg version of
QString::arg() and passing as 2nd, 3rd etc parameter an int.
It doesn't do the same as passing multiple QStrings.
2018-04-11 17:01:43 +03:00
Nick Korotysh
7712d0ada0
Allow to disable Stacktrace support
...
Enable backtrace stuff only if GNU C library used, because current
backtrace implementation based on <execinfo.h> , which is not a
part of standard C library, it is a GNU extension.
This will be usefull when building with custom POSIX-compilant C
library (like musl) and no <execinfo.h> available.
Note: configure script will detect presence of <execinfo.h> and
enable/disable feature depending on it.
Feature is enabled by default.
2018-04-10 20:51:11 +03:00
Mike Tzou
38837db8de
Merge pull request #8699 from Chocobo1/linking
...
Add helper for loading Windows system functions
2018-04-11 00:13:55 +08:00
sledgehammer999
d997d887e5
Merge pull request #8650 from luis-pereira/fix-invalid-iterator-crash
...
Fix crashes due to invalid iterator use
2018-04-10 16:18:44 +03:00
sledgehammer999
341a971cd3
Merge pull request #8711 from sledgehammer999/recheck_paused
...
Avoid data corruption when rechecking paused torrents
2018-04-10 16:18:12 +03:00
Mike Tzou
fa380c8b2c
Merge pull request #8622 from Chocobo1/formatter
...
Unify coding style for WebUI files
2018-04-10 14:51:32 +08:00
Luís Pereira
758c70283f
Fix crashes due to invalid iterator use
...
Although the iterators are constant we are indirectly changing them.
Introduced by commit ac42ccb5e4
.
Closes #8633
2018-04-09 23:40:08 +03:00
sledgehammer999
747c70a58e
Avoid data corruption when rechecking paused torrents
...
Libtorrent can recheck only unpaused torrents. We get around this by
unpausing the torrent, issuing the recheck and pausing again after we
get alerted by libtorrent that the recheck has finished. This alert is
asyncronous. There is a small time frame where the program might start
downloading and writing data to the file before we pause it. This can
lead to data corruption if the file on disk is totally different that
the one expected by the torrent AND the file on disk is a valid file on
its own. OR in case the user points the new torrent to the wrong
directory by mistake.
To get around this the torrent is placed in upload_mode and out of
automanagement.
2018-04-09 23:25:52 +03:00
sledgehammer999
6ca2e42bca
Merge pull request #8715 from glassez/max-ratio
...
Fix setting preferences via WebAPI. Closes #7335
2018-04-09 23:08:12 +03:00
Vladimir Golovnev (Glassez)
cb505a07fe
Fix setting preferences via WebAPI
...
Closes #7335 .
2018-04-09 18:54:43 +03:00
Chocobo1
5819b6dd39
Use Unicode version of InitiateSystemShutdown
2018-04-09 21:18:07 +08:00
Chocobo1
644e7d0450
Use dynamic linking for SetSuspendState function
2018-04-09 21:18:07 +08:00
Chocobo1
b0e3d77975
Add helper for loading Windows system functions
2018-04-09 21:18:04 +08:00
Chocobo1
643a209812
Sort include headers
...
Also add anonymous namespace.
2018-04-09 21:16:00 +08:00
Mike Tzou
c3311e83a0
Merge pull request #8687 from Chocobo1/folder
...
Stop creating Download folder on start
2018-04-09 13:20:48 +08:00
Mike Tzou
3301e9cb69
Merge pull request #8690 from Chocobo1/options
...
Avoid showing an empty row in AdvancedSettings
2018-04-08 13:14:21 +08:00
Chocobo1
cf2c0bd47e
Apply formatting to Web UI files
2018-04-07 21:45:56 +08:00
Mike Tzou
df0c5c41c5
Merge pull request #8681 from dzmat/uncrutify_tinkering
...
Make uncrustify.cfg available to QtCreator IDE
2018-04-05 21:43:32 +08:00
Chocobo1
59e6757242
Avoid showing an empty row in AdvancedSettings
...
Fixup 543cbc6d1c
.
2018-04-05 21:34:07 +08:00
Chocobo1
6bbcf9b3d6
Stop creating Download folder on start
...
The existence of this folder isn't required to run qbt and it can be
created when adding torrent.
Closes #8290 .
2018-04-05 14:12:47 +08:00
Chocobo1
208d21ff73
Add js-beautify config
...
Try to standardize coding style for HTML & JavaScript via this tool
2018-04-05 12:19:54 +08:00
Chocobo1
2df71dbde5
Partially revert "Remove unused JavaScript library"
...
This reverts commit 470e993c2d
.
2018-04-05 03:22:34 +08:00
Mike Tzou
9e4f246c89
Merge pull request #8672 from Chocobo1/js
...
Move JavaScript libraries to its own folder
2018-04-04 19:23:10 +08:00
Mike Tzou
e4fc8e4156
Merge pull request #8669 from Chocobo1/runext
...
Split args manually in runExternalProgram()
2018-04-03 22:19:29 +08:00
dzmat
883d4d81d5
Make uncrustify.cfg available to Qt Creator IDE
2018-04-03 18:35:28 +07:00
Mike Tzou
041b86981f
Merge pull request #8665 from Chocobo1/iostream
...
Use lightweight printf instead of iostream
2018-04-02 20:17:12 +08:00
Chocobo1
470e993c2d
Remove unused JavaScript library
2018-04-02 01:34:49 +08:00
Chocobo1
cbf10ebb7f
Update clipboard.js to v2.0.0
2018-04-02 01:34:49 +08:00
Chocobo1
89f06274bb
Move JavaScript libraries to its own folder
2018-04-02 01:34:43 +08:00
Chocobo1
c07cd440cd
Split args manually in runExternalProgram()
...
Need to split arguments manually because QProcess::startDetached(QString)
will strip off empty parameters.
E.g. `python.exe "1" "" "3"` will become `python.exe "1" "3"`.
Closes #8454 .
2018-04-01 18:42:42 +08:00
Mike Tzou
e90be67fec
Merge pull request #8640 from Chocobo1/guide2
...
Clarify braces usages in CODING_GUIDELINES
2018-04-01 18:16:04 +08:00
Chocobo1
37ea01bd44
Use lightweight printf instead of iostream
...
Using iostream usually adds a lot of other operators (<<, endl), whereas
*printf takes only 1 function call.
Also use qUtf8Printable whenever possible.
2018-03-31 03:21:53 +08:00
Mike Tzou
ccc91e2e52
Merge pull request #8629 from Chocobo1/guide
...
Extend Coding Guidelines to cover other languages
2018-03-30 14:31:55 +08:00
Chocobo1
d31954761f
Clarify braces usages in CODING_GUIDELINES
...
Merge "Curly braces" & "If blocks" sections into "New lines & curly braces" section.
Add note about the list is not exhaustive and style can be determine on code review.
2018-03-29 02:50:48 +08:00
Mike Tzou
aa122b062e
Merge pull request #8615 from Chocobo1/watcher
...
Improve FS watcher
2018-03-27 14:34:08 +08:00
Chocobo1
65921eaf7b
Remove QPointer wrapper
2018-03-25 15:53:31 +08:00
Chocobo1
bfbd978d3f
Move helper function to Utils::Fs
2018-03-25 13:26:03 +08:00
Chocobo1
1876dbd523
Fix typo
2018-03-25 13:26:02 +08:00
Chocobo1
ea7eb7c0ec
Add delay before processing FS changes
...
This prevents file renaming errors in monitored folder on linux, for
example: ABC.torrent.part -> ABC.torrent
2018-03-25 13:26:02 +08:00
Chocobo1
19c733ce95
Use specific name for rejected files
2018-03-25 13:26:02 +08:00
Chocobo1
2ba5dd1344
Reduce debug messages
2018-03-25 13:26:02 +08:00
Chocobo1
61eddfce90
Refactor functions in FileSystemWatcher
...
Use c++11 range-loop
Add const
Better ifdef placement
Inline functions
2018-03-25 13:26:02 +08:00
Chocobo1
0840556f77
Do cleanups in FileSystemWatcher
...
Use Qt5 connect syntax
Sort headers
Add license
Add anonymous namespace
Replace macro defines with const variables
2018-03-25 13:25:28 +08:00
Mike Tzou
f564e8a1c4
Merge pull request #8621 from Chocobo1/html5
...
Update WebUI to be more compliant with HTML5 standard
2018-03-24 22:41:31 +08:00
Chocobo1
315d9835b2
Extend Coding Guidelines to cover other languages
2018-03-23 15:21:50 +08:00
Chocobo1
ed03456999
Update WebUI to be more compliant with HTML5 standard
...
Use modern and shorter "charset" attribute.
Remove "type", "charset" attributes in script/style tags, these are redundant in HTML5.
2018-03-23 00:04:43 +08:00
Mike Tzou
e1a14007f8
Merge pull request #8618 from Piccirello/remove-css
...
Remove unused CSS from WebUI login page
2018-03-23 00:02:12 +08:00
Thomas Piccirello
a15cfae03a
Fix spacing
2018-03-21 00:04:21 -04:00
Thomas Piccirello
c2a195360a
Resolve JavaScript errors
2018-03-21 00:04:21 -04:00
Thomas Piccirello
a4f99995bb
Consolidate CSS into style.css
2018-03-21 00:04:18 -04:00
Thomas Piccirello
16616f4e0e
Remove unused CSS from WebUI login page
2018-03-20 15:25:04 -04:00
Vladimir Golovnev
a5294e1e08
Merge pull request #8558 from luis-pereira/containter-anti-pattern
...
Don't create temporary containers just to iterate over them
2018-03-19 13:06:01 +03:00
Vladimir Golovnev
a8dbff06a3
Merge pull request #8607 from glassez/rss
...
Process loaded RSS articles in case of parsing error
2018-03-19 09:35:30 +03:00
Vladimir Golovnev (Glassez)
d9cd5d4680
Resolve (X)HTML entities in RSS content
...
Many sites include various HTML entities in the content of RSS feeds.
The most of these entities are not declared in the underlying XML,
so the documents are considered by parser to be malformed.
This patch allows you to successfully parse such soft-malformed
RSS feeds.
Closes #8527 .
Closes #8569 .
2018-03-18 18:59:55 +03:00
Luís Pereira
ac42ccb5e4
Don't create temporary containers just to iterate over them
...
Stops temporary containers being created needlessly due to API misuse.
For example, it’s common for developers to assume QHash::values() and
QHash::keys() are free and abuse them, failing to realize their
implementation internally actually iterates the whole container, allocates
memory, and fills a new QList.
Added a removeIf generic algorithm, similar to std ones. We can't use std
algorithms with Qt dictionaries because Qt iterators have different
behavior from the std ones.
Found using clazy.
2018-03-18 16:22:12 +03:00
Mike Tzou
68ca95faf0
Merge pull request #8603 from Chocobo1/typo
...
Fix typo
2018-03-17 00:49:41 +08:00
Vladimir Golovnev (Glassez)
8d285c66aa
Process loaded RSS articles in case of error
...
For some reason, the RSS feed may contain malformed XML data and it may not be
successfully parsed by the XML parser. We are still trying to load as many articles
as possible until we encounter corrupted data. So we can have some articles even in
case of parsing error.
Closes #8527 .
Closes #8569 .
2018-03-16 18:29:38 +03:00
Mike Tzou
1f28122428
Merge pull request #8595 from Chocobo1/runExt
...
Add Tags parameter to "Run External Program"
2018-03-16 19:37:34 +08:00
Mike Tzou
6ec179e0f7
Merge pull request #8594 from Chocobo1/ui
...
Properly align text label
2018-03-15 13:41:23 +08:00
Chocobo1
423511765a
Fix typo
2018-03-14 23:37:08 +08:00
Vladimir Golovnev
c061d67b14
Merge pull request #8597 from Piccirello/fix
...
Use correct API method URL in WebUI
2018-03-14 15:19:00 +03:00
Thomas Piccirello
4863078744
Use correct API method URL in WebUI
...
Fix up 27d8dbf
.
Closes #8596 .
2018-03-14 03:08:46 -04:00
Chocobo1
88881de8c6
Add Tags parameter to "Run External Program"
...
Closes #8586 .
Also sort headers.
2018-03-14 10:12:32 +08:00
Chocobo1
690c439ae6
Properly align text label
2018-03-14 00:35:20 +08:00
Mike Tzou
e78b5202bc
Merge pull request #8585 from Chocobo1/lint
...
Fix compiler/clazy warnings
2018-03-13 22:36:10 +08:00
Vladimir Golovnev
c9be1d0a19
Merge pull request #8494 from paolo-sz/master
...
Fix for "Content" panel messed up
2018-03-13 16:54:05 +03:00
Vladimir Golovnev
3348eef423
Merge pull request #8488 from thalieht/fix
...
Move suffix-labels inside the corresponding spinboxes
2018-03-12 16:58:05 +03:00
Vladimir Golovnev
931af6c97e
Merge pull request #8313 from Piccirello/search-categories
...
Calculate search categories based on selected plugin
2018-03-12 14:29:51 +03:00
Vladimir Golovnev
cea2948593
Merge pull request #8556 from Piccirello/compiler-warnings
...
Fix missing initializer warning during build
2018-03-12 14:28:38 +03:00
Chocobo1
a468c84b30
Fix warnings from unused variables
2018-03-12 14:36:28 +08:00
Thomas Piccirello
7278625f53
Calculate supported categories based on selected plugin
2018-03-12 01:33:45 -04:00
Thomas Piccirello
7b3e692f68
Fix missing initializer warning
...
This issue occurs when using gcc versions < 5.
2018-03-12 01:21:21 -04:00
Chocobo1
fdb0d97b28
Remove unused function
2018-03-11 23:27:04 +08:00
Chocobo1
08a2439f46
Check directly if container is empty or not
2018-03-11 23:12:16 +08:00
Chocobo1
6767487e40
Remove unused variable
2018-03-11 22:31:17 +08:00
Chocobo1
141a2d2856
Prevent detach from containers
2018-03-11 22:25:07 +08:00
thalieht
2eea57e609
Use spinbox suffix to display time unit
2018-03-11 12:08:00 +02:00
thalieht
0b185e347b
Use spinbox suffix to display rate unit
2018-03-11 12:07:38 +02:00
thalieht
1e1db31ab5
Use unique layout names
2018-03-11 12:07:24 +02:00
Mike Tzou
7233274110
Merge pull request #8562 from Chocobo1/lint
...
Fix warnings from clazy
2018-03-11 12:41:58 +08:00
paolo-sz
d4e2b21534
Fix Content widget misbehavior
...
Starting from QT 5.10.1 Content widget is messed up and its settings are
lost while restarting.
Setting StretchLastSection property to false seems to solve the issue.
(Closes #8439 ).
2018-03-10 18:56:18 +01:00
Vladimir Golovnev
4f206f987a
Merge pull request #8561 from glassez/tracker
...
Properly reply to announce request
2018-03-10 17:08:29 +03:00
Vladimir Golovnev (Glassez)
dfddda57b9
Properly reply to announce request
2018-03-09 17:41:06 +03:00
Mike Tzou
0cacd71503
Merge pull request #8403 from Piccirello/webui-download-height
...
Make WebUI iframe windows scrollable on iOS. Closes #8401 , #7932 .
2018-03-09 19:46:29 +08:00
Chocobo1
fdf3ebbb6c
Remove usage of deprecated functions
...
Also use proper type for storing date/time data
2018-03-09 19:20:58 +08:00
Chocobo1
a3d9e457a0
Add context parameter in connect()
2018-03-09 13:44:17 +08:00
Chocobo1
ffb5c0635e
Remove unused slot declaration for function
2018-03-09 01:50:23 +08:00
Chocobo1
b4f23d8154
Use faster code path
...
From Qt doc: Using this function is faster than using QFileInfo(file).exists() for
file system access.
2018-03-09 01:34:35 +08:00
Chocobo1
ed310c2dac
Avoid temporary QString allocations
...
Fix up 0457fd260e
2018-03-09 01:34:35 +08:00
Chocobo1
50167d40d7
Allow ADL lookup for helper function
2018-03-09 01:34:19 +08:00
Mike Tzou
5261d4375f
Merge pull request #8551 from Chocobo1/override
...
Fix warnings from linters
2018-03-09 00:36:52 +08:00
Thomas Piccirello
0b56cd5fa0
Make WebUI iframe windows scrollable on iOS
...
Closes #8401 , #7932 .
2018-03-08 01:30:13 -05:00
Vladimir Golovnev
e22946ef61
Merge pull request #8525 from glassez/url-query
...
Parse URL query string at application level
2018-03-07 17:16:21 +03:00
Chocobo1
0457fd260e
Avoid temporary QString allocations
...
This fixes clazy warning: Use multi-arg instead [-Wclazy-qstring-arg]
2018-03-07 20:06:00 +08:00
Chocobo1
c60b7b213e
Add missing 'override' specifier
...
This fixes clang warning:
'notify' overrides a member function but is not marked 'override'
[-Winconsistent-missing-override]
2018-03-07 20:05:52 +08:00
Mike Tzou
c759c4301e
Merge pull request #8547 from Chocobo1/fix
...
Fix broken WebUI
2018-03-07 00:48:16 +08:00
Chocobo1
307736e263
Fix broken WebUI
...
Fix up c47e4efade
.
Closes #8545 .
2018-03-06 14:03:01 +08:00
Mike Tzou
7aa5bc4bc1
Merge pull request #8484 from Piccirello/improve-webui-stats
...
Improve WebUI stats dialog (addendum to #8349 )
2018-03-06 00:49:49 +08:00
Thomas Piccirello
c47e4efade
Save WebUI Statistics window size
2018-03-05 01:40:21 -05:00
Mike Tzou
b0781e820c
Merge pull request #8531 from Chocobo1/https
...
Improve URL scheme handling
2018-03-05 01:28:27 +08:00
Vladimir Golovnev (Glassez)
1aca3b0adc
Parse URL query string at application level
2018-03-04 17:08:48 +03:00
Chocobo1
20c4b0ee0c
Use original scheme when downloading favicons
...
Previously was always using http, now we only drop back to http when
scheme is absent
2018-03-03 12:53:27 +08:00
Chocobo1
3df4a7ac2e
Use https for documentation links
2018-03-03 12:43:59 +08:00
Vladimir Golovnev
efdeb81af1
Merge pull request #8374 from glassez/coding-style
...
Add Coding Style rules for commit messages
2018-03-02 18:05:25 +03:00
Vladimir Golovnev (Glassez)
34295a78f2
Move ByteArray utils into Utils::ByteArray namespace
2018-03-02 17:23:21 +03:00
Mike Tzou
57163612ff
Merge pull request #8427 from Chocobo1/server2
...
Rewrite RequestParser
2018-03-02 16:07:12 +08:00
Tom Piccirello
1a9b009951
Enable Statistics window to be scrolled and resized
...
Text may go offscreen due to translations.
2018-03-02 02:18:42 -05:00
Vladimir Golovnev
9406b4b226
Merge pull request #8515 from glassez/webapi
...
Fix Legacy Web API to be fully available
2018-03-01 09:44:06 +03:00
Mike Tzou
38dc6ab8cf
Merge pull request #8441 from Chocobo1/runExt
...
Revert back to QLineEdit for "Run external program". Closes #7800 .
2018-03-01 13:23:42 +08:00
Mike Tzou
55c3db339b
Merge pull request #8455 from Chocobo1/large_torrent
...
Fix loading very large torrents. Closes #8449
2018-03-01 13:22:43 +08:00
Vladimir Golovnev (Glassez)
34456a7459
Fix Legacy Web API to be fully available
2018-02-28 18:25:48 +03:00
Vladimir Golovnev
02b029abbe
Merge pull request #8508 from luis-pereira/clang-cmake-support
...
Make it build when using Clang under CMake
2018-02-28 10:52:00 +03:00
Vladimir Golovnev
b26eb3d146
Merge pull request #8373 from glassez/search
...
Improve Search handling
2018-02-28 10:46:33 +03:00
Vladimir Golovnev
7cb6100c9c
Merge pull request #8471 from luis-pereira/use-qstring-ref
...
Don't create temporary substrings
2018-02-28 10:44:59 +03:00
Vladimir Golovnev (Glassez)
ef06485c45
Add Coding Style rules for commit messages
2018-02-27 20:27:58 +03:00
sledgehammer999
1c2d9c1fe4
Merge pull request #8510 from adem4ik/patch-2
...
Fix typo in filelogger.cpp message
2018-02-27 17:38:52 +02:00
Mike Tzou
6f7f7d87c6
Merge pull request #8218 from Piccirello/webui-selection-bug
...
Reselect webui torrents after full_update. Temporary fix for #8209 .
2018-02-27 13:33:39 +08:00
Andrei Stepanov
817aadd52d
Fix typo in filelogger.cpp message
2018-02-27 02:00:43 +04:00
Luís Pereira
058bad0af3
Make it build when using Clang under CMake
...
The pair Clang/qmake builds.
CMake compiler settings are more strict and it causes clang build to fail.
2018-02-26 19:53:39 +00:00
Luís Pereira
0e421ae415
Don't create temporary substrings
...
Avoid temporary string allocations. They are only used to convert to
something else.
QString::xxxRef() returns a QStringRef. QStringRef avoids the memory
allocation and reference counting overhead of a standard QString by simply
referencing a part of the original string.
2018-02-26 11:39:36 +00:00
Thomas Piccirello
2227c3afc1
Reselect torrents in WebUI after full update
...
Temp fix for #8209 .
2018-02-25 01:09:06 -05:00
Mike Tzou
050af8a793
Merge pull request #7894 from Piccirello/auto-management
...
Disable options when Force Proxy is enabled
2018-02-25 01:44:58 +08:00
Vladimir Golovnev
6207855f3b
Merge pull request #8372 from thalieht/inactiverate
...
Expose the libtorrent fields for "dont_count_slow_torrents" to GUI.
Closes #5713 .
2018-02-24 14:13:39 +03:00
Vladimir Golovnev
a65a70ab48
Merge pull request #8479 from thalieht/ratioLimitsCrash
...
Fix possible crash when using both share limits
2018-02-24 14:11:09 +03:00
Thomas Piccirello
4110bb874f
Right align stat values
2018-02-23 14:54:31 -05:00
Thomas Piccirello
5c74f374af
Re-order and rename stats
2018-02-23 14:54:24 -05:00
Thomas Piccirello
a8420a43f9
Format Read cache hits as percentage
2018-02-23 14:46:47 -05:00
Vladimir Golovnev (Glassez)
279bce2014
Make SearchManager singleton
2018-02-23 20:26:32 +03:00
Vladimir Golovnev (Glassez)
f3d370870d
Improve Search handling
...
Legacy SearchEngine class really has three roles:
1. Manage search plugins,
2. Handle the search job, and
3. Handle the download of the torrent file using the search plugin.
Now it is splitted into 3 classes: SearchManager, SearchHandler and
SearchDownloadHandler.
Search GUI is also improved.
2018-02-23 20:15:25 +03:00
thalieht
0e30659c26
Fix possible crash when using both share limits
...
Avoid possible crash in "torrent->name()" when processing seeding time of the torrent that already reached the ratio limit.
2018-02-23 17:13:56 +02:00
Chocobo1
f34dfca5e6
Enable Http/1.1 persistence connection
...
This enables reusing existing TCP connection instead of opening a new connection
for every request
2018-02-23 14:46:22 +08:00
Chocobo1
cec68c3fd7
Rewrite RequestParser
...
* Add more checks and also more strict checks for invalid conditions
* Add http version field
* Raise max request size to 64 MB
* Add author in license
* Use Qt5 new connect syntax
2018-02-23 14:46:17 +08:00
Vladimir Golovnev
5c2f698cb4
Merge pull request #8325 from luis-pereira/prevent-c++11-range-loop-detach
...
Prevent possible c++11 range-loop container detach
2018-02-22 16:28:04 +03:00
Chocobo1
f5fc2d52b8
Fix loading very large torrents. Closes #8449 .
...
`torrent_info` constructor has default limits that can't be changed via
parameters, so we handle the loading process manually and explicitly
specifiy the limits to `bdecode()`.
The token_limit is also changed to 10000000.
2018-02-22 18:52:10 +08:00
Mike Tzou
edef85fa3e
Merge pull request #8456 from vit9696/patch-1
...
Fix compilation with Qt 5.11 on macOS
2018-02-21 23:00:55 +08:00
Mike Tzou
6244ad5fa8
Merge pull request #8458 from luis-pereira/qgetenv
...
Use qEnvironmentVariableIsEmpty
2018-02-21 23:00:30 +08:00
Chocobo1
aba23f67a0
Revert back to QLineEdit for "Run external program". Closes #7800
...
1. Using FileSystemPathEdit is not entirely correct, as it only always
shows false warnings when parameters are present.
2. FileSystemPathEdit::selectedPath() modifies the path to unix format,
in this specific case, we need to faithfully execute what user inputted.
3. Given the above it is reasonable to revert back to QLineEdit, as it
is just sufficient in functionality and doesn't modifiy the inputs.
2018-02-21 10:16:32 +08:00
Luís Pereira
1a913c502b
Prevent possible c++11 range-loop container detach
...
Explicit or implicit calls to begin() and end() cause a non-const
container to detach from shared data, ie. to perform a deep-copy to gain
a unique copy of the data.
That can be a expensive although unneeded operation.
In order to assist the developer a copyAsConst function is added.
copyAsConst returns a const copy of the object.
For lvalues just use qAsConst. It's only available on Qt 5.7.0. But we
added also for earlier versions. The developer can always use qAsConst.
Intended uses:
QString s = ...;
for (const auto &ch : qAsConst(s))
process(ch);
for (const auto &ch : copyAsConst(funcReturningQString()))
process(ch);
2018-02-20 19:28:51 +00:00
Vladimir Golovnev
078982ada6
Merge pull request #8424 from glassez/fix-rss
...
Disable Auto TMM when RSS rule has save path. Closes #8411
2018-02-20 11:13:15 +03:00
Vladimir Golovnev
3035184d25
Merge pull request #8445 from glassez/fix-webapi
...
Fix POST params handling. Closes #8443
2018-02-20 11:11:33 +03:00
Thomas Piccirello
fccdc7ebdc
Remove extra space
2018-02-20 02:22:40 -05:00
Thomas Piccirello
e0c74c2d39
Remove conditionals
2018-02-20 02:22:40 -05:00
Thomas Piccirello
288f372914
Rename onClick property to onclick
2018-02-20 02:16:16 -05:00
Thomas Piccirello
ba331436fa
Add More Information link
2018-02-20 02:16:16 -05:00
Thomas Piccirello
afd4069eb4
Disable options when force proxy is enabled
2018-02-20 02:16:15 -05:00
Vladimir Golovnev
387f9b1230
Merge pull request #8438 from Piccirello/webui-proxy-only
...
Add "Use proxy only for torrents" option to webui
2018-02-20 09:06:30 +03:00
Luís Pereira
2114817890
Use qEnvironmentVariableIsEmpty
...
Instead of qgetenv("QT_AUTO_SCREEN_SCALE_FACTOR").isEmpty().
It's faster (don't allocate memory) and don't throw exceptions.
2018-02-19 21:35:23 +00:00
vit9696
dac2ab5409
Fix compilation with Qt 5.11 on macOS
2018-02-19 22:39:25 +03:00
Mike Tzou
b87ca60c5a
Merge pull request #8134 from Piccirello/webui-show-status-bar
...
Add option to show/hide webui status bar
2018-02-20 00:09:09 +08:00
Mike Tzou
6d44075662
Merge pull request #8228 from Piccirello/webui-save-window-size
...
WebUI Save user's resized windows
2018-02-20 00:02:32 +08:00
Thomas Piccirello
69af205094
Use .each(). Refactor conditionals.
2018-02-18 23:54:48 -05:00
Thomas Piccirello
8a2e3f5d93
Add option to show/hide webui status bar
2018-02-18 23:46:27 -05:00
Thomas Piccirello
3f79726ab9
Make download + upload windows resizable
2018-02-18 22:50:21 -05:00
Thomas Piccirello
d1c4b1599a
WebUI Save user's resized window sizes
2018-02-18 22:50:21 -05:00
Vladimir Golovnev (Glassez)
a0842a1e68
Don't convert POST parameter names to lower-case
2018-02-18 19:57:48 +03:00
Vladimir Golovnev (Glassez)
29042e4841
Fix wrong WebAPI param name
2018-02-18 19:54:08 +03:00
Vladimir Golovnev
3e2cfb5136
Merge pull request #8409 from luis-pereira/master
...
Don't implicitly cast iterator to const_iterator
2018-02-18 18:21:50 +03:00
Thomas Piccirello
0d55599e02
Add "Use proxy only for torrents" option to webui
2018-02-17 21:25:42 -05:00
Luís Pereira
ea1b0b26b1
Don't implicitly cast iterator to const_iterator
...
It prevents detachments:
To illustrate:
QMap<QString, QString> map;
/* code compiles and works fine but find() returns the non-const
QMap::iterator that detaches!
*/
QMap<QString, QString>::const_iterator it = map.find("girish");
but also some subtle bugs:
QHash<int, int> wrong;
if (wrong.find(1) == wrong.cend()) {
qDebug() << "Not found";
} else {
/* find() detached the container before cend() was called, so it
prints "Found"
*/
qDebug() << "Found";
}
QHash<int, int> right;
if (right.constFind(1) == right.cend()) {
qDebug() << "Not found"; // This is correct now !
} else {
qDebug() << "Found";
}
Enforced by QT_STRICT_ITERATORS definition.
2018-02-17 17:02:52 +00:00
Vladimir Golovnev (Glassez)
176b2eb18b
Disable Auto TMM when RSS rule has save path
...
Closes #8411 .
2018-02-16 14:02:01 +03:00
Vladimir Golovnev
98a1c111b9
Merge pull request #5287 from elFarto/master
...
Implement RSS Smart Filter
2018-02-16 13:43:38 +03:00
Mike Tzou
47048d8410
Merge pull request #8349 from Chocobo1/stats
...
Improve stats dialog
2018-02-16 15:31:01 +08:00
Mike Tzou
882fa7ecd4
Merge pull request #8336 from Chocobo1/coalesce
...
Add "Coalesce reads & writes" checkbox in advanced options
2018-02-16 15:30:17 +08:00
Vladimir Golovnev
d07ece53e6
Merge pull request #7610 from glassez/webapi2
...
Redesign Web API
2018-02-16 10:09:35 +03:00
Vladimir Golovnev
afd2f6ba14
Merge pull request #8344 from FranciscoPombal/master
...
Fixed typo in function name isSplashScreenDisabled()
2018-02-16 09:55:37 +03:00
Vladimir Golovnev
226b0d4194
Merge pull request #8398 from luis-pereira/no-qdeleteall-on-temporaries
...
Don't use qDeleteAll() on temporaries
2018-02-16 09:53:41 +03:00
Luís Pereira
44e4b5d238
Don't use qDeleteAll() on temporaries
...
qDeleteAll() is being used on an unnecessary temporary container created
by QHash::values().
Using qDeleteAll(mycontainer) instead.
2018-02-12 16:36:03 +00:00
sledgehammer999
c59d2575c8
Sync translations from Transifex and run lupdate.
2018-02-09 21:14:12 +02:00
thalieht
f50b4724a6
Expose the libtorrent fields for "dont_count_slow_torrents" to GUI:
...
inactive_down_rate
inactive_up_rate
auto_manage_startup
2018-02-08 14:14:39 +02:00
Stephen Dawkins
48cbccff1e
Made smart episode filter regular expression configurable
2018-02-05 19:23:11 +00:00
Chocobo1
e31ec20ec4
Clarify some terms in stats dialog
...
Reorder list
2018-02-02 23:41:42 +08:00
Chocobo1
b9ec216aa5
Redefine CacheStatus.readRatio field.
...
Now it is defined as:
CacheStatus.readRatio = (blocks read from cache) / (blocks read from disk + blocks read from cache)
The 2 variables in denominator are counted separately and the formula before this change doesn't really make sense
Add percentage sign to "Read cache hits" stats
Also remove redundant header include
2018-02-02 23:41:42 +08:00
FranciscoPombal
2ac3004762
Fixed typo in function name isSplashScreenDisabled()
2018-01-31 12:05:41 +00:00
Chocobo1
543cbc6d1c
Add "Coalesce reads & writes" checkbox in advanced options
...
The setting is defaulted to ON for Windows. Closes #8295 .
2018-01-30 22:46:14 +08:00
Vladimir Golovnev (Glassez)
27d8dbf13b
Redesign Web API
...
Normalize Web API method names.
Allow to use alternative Web UI.
Switch Web API version to standard form (i.e. "2.0").
Improve Web UI translation code.
Retranslate changed files.
Add Web API for RSS subsystem.
2018-01-28 19:16:24 +03:00
sledgehammer999
e487b31877
Merge pull request #8319 from sledgehammer999/saner_log_settings
...
Set default file log size to 65 KiB and delete backup logs older than…
2018-01-27 15:26:03 +02:00
Stephen Dawkins
2845a791d0
Initial implementation of Smart Filter feature
2018-01-27 09:14:36 +00:00
sledgehammer999
024df8c53f
Set default file log size to 65 KiB and delete backup logs older than 1 month.
2018-01-27 01:17:50 +02:00
sledgehammer999
12d97475da
Merge pull request #8321 from luis-pereira/remove-duplicate-set-app-name
...
Don't set application name twice
2018-01-25 21:41:46 +02:00
Luís Pereira
5154d431f6
Don't set application name twice
...
It's an artifact introduced by commit b3c73b7868
.
2018-01-25 16:30:11 +00:00
Vladimir Golovnev (Glassez)
0fc1ad664f
Implement Qt wrapper for std::runtime_error
2018-01-23 11:08:41 +03:00
Vladimir Golovnev (Glassez)
bb683bd393
Switch built-in Web UI html to HTML5
2018-01-23 11:08:37 +03:00
Vladimir Golovnev (Glassez)
69df8174b9
Allow to load TorrentInfo from data buffer
2018-01-23 11:08:32 +03:00
Vladimir Golovnev
56ccf28000
Merge pull request #8133 from Piccirello/webui-statistics-format
...
WebUI Statistics parity with GUI
2018-01-23 10:15:39 +03:00
Vladimir Golovnev
0a45fc9ffe
Merge pull request #7990 from Piccirello/subnet-whitelist-refactor
...
Refactor ip subnet whitelist
2018-01-23 10:03:00 +03:00
Mike Tzou
a56262401b
Merge pull request #8304 from Piccirello/webui-torrent-status
...
Remove default case, fix #8302
2018-01-23 12:28:22 +08:00
Tom Piccirello
ebea0d91af
Remove default case, fix #8302
2018-01-22 02:05:41 -05:00
Vladimir Golovnev
d6cea2f76d
Merge pull request #8301 from glassez/clear-settings
...
Remove legacy and corrupted RSS settings. Closes #8278
2018-01-21 20:42:26 +03:00
Vladimir Golovnev
4386fd9f89
Merge pull request #8292 from glassez/coding-style
...
Require '#pragma once' in new code
2018-01-21 20:05:42 +03:00
Vladimir Golovnev (Glassez)
1c18edac76
Remove legacy and corrupted RSS settings
2018-01-21 20:01:56 +03:00
Vladimir Golovnev (Glassez)
247b93e8ec
Require '#pragma once' in new code
2018-01-20 12:10:21 +03:00
sledgehammer999
6470f9acb9
Merge pull request #8286 from Piccirello/webui-torrent-status
...
Match webui statuses to gui: add default case (addendum to #8269 )
2018-01-19 15:36:55 +02:00
Thomas Piccirello
65e0aa6b82
Add default case
2018-01-18 23:30:19 -05:00
sledgehammer999
53cc8e1115
Revert "Remove examples from gpl.html. Closes #7749."
...
The GPL folks are a bit overzealous. See https://www.gnu.org/licenses/gpl-faq.html#GPLOmitPreamble
This reverts commit 5cf4f00824
.
2018-01-18 16:25:38 +02:00
sledgehammer999
72b8ec8f3b
Sync translations from Transifex and run lupdate.
2018-01-18 16:18:44 +02:00
sledgehammer999
29e24232ad
Merge pull request #8269 from Piccirello/webui-torrent-status
...
Match webui statuses to gui, closes #7516
2018-01-18 16:11:24 +02:00
Thomas Piccirello
6d0cceca83
Use switch statement
2018-01-18 00:15:13 -05:00
Thomas Piccirello
8e9b928b61
Match webui statuses to gui, closes #7516
2018-01-18 00:15:12 -05:00
sledgehammer999
df81e84fc2
Merge pull request #8271 from Piccirello/gui-search-separators
...
Only add Search combobox separators as needed
2018-01-18 01:25:38 +02:00
Tom Piccirello
e6a1b72354
Only add search separators as needed
2018-01-16 00:22:51 -05:00
Mike Tzou
e48b97466c
Merge pull request #8199 from winneon/reannounce
...
transferlist: added a force reannounce option
2018-01-10 18:48:41 +08:00
Mike Tzou
84b9929025
Merge pull request #8240 from Chocobo1/size
...
Torrent creator: raise maximum piece size to 32 MiB
2018-01-10 13:28:51 +08:00
Chocobo1
5c50dba9e1
Torrent creator: raise maximum piece size to 32 MiB
2018-01-09 13:04:44 +08:00
Mike Tzou
55b9b8fc91
Merge pull request #8234 from Chocobo1/tr
...
Fix translation context.
2018-01-08 15:04:42 +08:00
Chocobo1
fb698896c9
Fix translation context.
...
Partially addresses #8220 .
Also sort include headers
2018-01-07 23:01:22 +08:00
sledgehammer999
95c32221a2
Update copyright year.
2018-01-06 02:23:09 +02:00
sledgehammer999
230fc8e11e
Merge pull request #8216 from Chocobo1/i18n
...
Fix translation context. Closes #8211 .
2018-01-05 16:18:11 +02:00
Thomas Piccirello
9b919b6c34
Add missing units
2018-01-05 02:48:41 -05:00
Thomas Piccirello
49d3b7bf30
Right-align stat values
2018-01-05 02:48:41 -05:00
Chocobo1
1d778676cd
Fix translation context. Closes #8211 .
2018-01-05 12:07:50 +08:00
Jesse Bryan
e887b3106f
transferlist: added a force reannounce option. closes #6448 .
2018-01-03 16:48:31 -06:00
sledgehammer999
be5600dae2
Update configure version info.
2018-01-03 23:18:00 +02:00
sledgehammer999
686fb701bf
Update libtorrent bottle for Travis.
2018-01-03 22:41:54 +02:00
Mike Tzou
a73c4d57b1
Merge pull request #8136 from Chocobo1/pri
...
Sort filename lists in .pri files
2018-01-03 23:53:50 +08:00
sledgehammer999
e6ce1dd0b0
configure: Parse all compiler related flags together.
2018-01-03 01:16:39 +02:00
sledgehammer999
25ab660c14
Fix splitting of compiler flags in configure.
...
Autoconf removes a set of [] during script translation, resulting in a wrong sed command.
2018-01-02 18:15:49 +02:00
sledgehammer999
38d3eea6ee
Merge pull request #8185 from sledgehammer999/fix_status_state
...
Fix constant status of '[F] Downloading'. Closes #7628 .
2018-01-02 18:13:10 +02:00
sledgehammer999
13f69a2245
Fix constant status of '[F] Downloading'. Closes #7628 .
2018-01-02 18:09:48 +02:00
Chocobo1
ec337a8a84
Sort filename lists in .pri files
2017-12-31 11:53:45 +08:00
Mike Tzou
267362a7a0
Merge pull request #7876 from Chocobo1/optionIcons
...
Fix gui issues on high DPI monitor
2017-12-31 11:42:55 +08:00
Mike Tzou
11f26bfefd
Merge pull request #7878 from Chocobo1/runExt
...
Revert "Run external program" function
2017-12-28 21:26:53 +08:00
Vladimir Golovnev
87c3f5163e
Merge pull request #8141 from glassez/fix-rss
...
Don't process new/updated RSS rules when disabled
2017-12-28 09:08:31 +03:00
Vladimir Golovnev (Glassez)
22bdf98617
Don't process new/updated RSS rules when disabled
2017-12-27 20:01:40 +03:00
sledgehammer999
e5001e8f40
Merge pull request #8132 from Piccirello/use-https
...
Use https for www.qbittorrent.org
2017-12-27 02:10:49 +02:00
Thomas Piccirello
ddd6c82dd7
Use https for www.qbittorrent.org
2017-12-26 18:22:03 -05:00
Vladimir Golovnev
155dc49c5a
Merge pull request #7914 from Piccirello/webui-columns
...
Webui add torrent columns to match gui
2017-12-26 22:03:07 +03:00
Chocobo1
c2c0dd2717
Fix column size too narrow on resize
...
Instead of giving a value, just resize to the content size
2017-12-24 21:54:56 +08:00
Chocobo1
27cf98a962
Resize dialog size on high DPI monitors
2017-12-24 21:54:56 +08:00
Chocobo1
aaaa67050c
Fix gui issues on high DPI monitor
...
Fix LineEdit widget size issues
Up-scale the icons on statusbar
Up-scale the icons in options dialog. Closes #7729 .
Fix small icons in cookie manager
Fix progress bar height
Fix small icons in confirm delete dialog
Fix small icons in options dialog
Fix small images in about dialog
2017-12-24 21:47:46 +08:00
Chocobo1
52ae118e3c
Tweak spacing
2017-12-24 21:47:46 +08:00
Chocobo1
cb929f7e59
Cleanup
...
Use Qt5 connect syntax
Reorder include headers
2017-12-24 21:47:44 +08:00
sledgehammer999
94b64884f8
Merge pull request #7997 from Piccirello/webui-content-columns
...
Add "Remaining" and "Availability" columns to webui Content tab
2017-12-23 20:32:46 +02:00
sledgehammer999
8a590c7472
Merge pull request #8054 from hannsen/master
...
search only when category is supported by plugin
2017-12-23 20:24:06 +02:00
sledgehammer999
b11c33b2d9
Merge pull request #8068 from thalieht/readableFlags
...
Make peer information flags in peerlist more readable
2017-12-23 19:33:19 +02:00
sledgehammer999
eb201003ee
Merge pull request #7974 from sledgehammer999/fix_limit_application
...
Fix application of speed limits on LAN and μTP connections.
2017-12-23 19:20:32 +02:00
sledgehammer999
cf9bad03aa
Fix application of speed limits on LAN and μTP connections. Closes #7745 .
2017-12-23 19:19:08 +02:00
sledgehammer999
c5127d2eec
Merge pull request #8091 from sledgehammer999/fix_natural_sort
...
Fix natural sorting
2017-12-23 19:16:29 +02:00
sledgehammer999
0a35adbdba
Merge pull request #8087 from sledgehammer999/fix_flag_sorting
...
Fix sorting of country flags column in Peers tab.
2017-12-23 19:15:44 +02:00
sledgehammer999
38d68d9d97
Merge pull request #8103 from glassez/fix-8094
...
Fix RSS rule updated when deleting. Closes #8094
2017-12-23 19:09:59 +02:00
sledgehammer999
8494c6c5d4
Merge pull request #8003 from Chocobo1/fileicon
...
Use standard folder icon for open file behavior on Windows
2017-12-23 19:09:05 +02:00
sledgehammer999
cbfdb7df56
Merge pull request #8033 from vit9696/cmdw
...
Fix CMD+W not closing the main window
2017-12-23 19:07:51 +02:00
sledgehammer999
ea44923cce
Merge pull request #8032 from vit9696/fopen
...
Fix torrent file selection in Finder on mac
2017-12-23 19:03:33 +02:00
Vladimir Golovnev (Glassez)
e75f8603b0
Fix RSS rule updated when deleting
...
Closes #8094
2017-12-23 16:25:09 +03:00
sledgehammer999
5437974b85
Fix natural sorting when the common part of 2 strings ends partially in a number which continues in the uncommon part.
...
Closes #8080 #6732 .
2017-12-21 17:00:37 +02:00
sledgehammer999
99abc21dab
Simplify sorting code.
2017-12-21 15:26:38 +02:00
sledgehammer999
5156399c68
Fix sorting of country flags column in Peers tab.
2017-12-21 15:21:53 +02:00
Mike Tzou
c8a5ef8c5d
Merge pull request #7985 from Chocobo1/source
...
Add source field in Torrent creator
2017-12-21 20:26:38 +08:00
thalieht
5b52835377
Make peer information flags in peerlist more readable
2017-12-20 11:22:23 +02:00
Mike Tzou
b8277614ec
Merge pull request #8066 from Chocobo1/url
...
WebUI: Only prepend scheme when it is not present. Closes #8057 .
2017-12-19 22:43:03 +08:00
Chocobo1
fb6bdbefd5
WebUI: Only prepend scheme when it is not present. Closes #8057 .
2017-12-18 14:12:31 +08:00
sledgehammer999
53c33317f9
Sync translations from Transifex and run lupdate.
2017-12-17 23:14:53 +02:00
jan.karberg
d534973650
search only when category is supported by plugin Closes #8053
2017-12-17 13:04:37 +01:00
vit9696
ed154d35ba
Fix Finder reveal in preview and torrent contents
2017-12-17 02:16:36 +03:00
vit9696
ff7e5da6de
Fix cmd+w not closing the main window on macOS
2017-12-13 13:30:40 +03:00
vit9696
d7fa5b6b6b
Put macOS specific functions to MacUtils namespace
2017-12-12 20:53:20 +03:00
vit9696
d57bd62add
Fix torrent file selection in Finder on mac
2017-12-12 20:53:20 +03:00
Thomas Piccirello
0f6dff6315
Make value formatting consistent with GUI
2017-12-12 01:25:06 -05:00
Thomas Piccirello
97b4e4a3d3
Add "Remaining" and "Availability" columns to webui Content tab
2017-12-12 01:25:06 -05:00
Vladimir Golovnev
84c84160fd
Merge pull request #8008 from glassez/fix-ipv6
...
Fix WebUI is not reachable via IPv6
2017-12-11 07:58:48 +03:00
sledgehammer999
60c9926834
Merge pull request #8005 from Chocobo1/helpbutton
...
Disable the "?" help button in all dialogs on Windows
2017-12-11 03:29:31 +02:00
Vladimir Golovnev (Glassez)
fcde1ba09c
Fix WebUI is not reachable via IPv6
2017-12-09 09:57:19 +03:00
Chocobo1
8dcf326576
Add source field in Torrent creator. Closes #7965 .
...
This field is often used for cross-seeding between (private) trackers.
2017-12-09 00:39:50 +08:00
Chocobo1
22b0ebb5a8
Disable the "?" help button in all dialogs on Windows. Closes #7365 .
2017-12-08 12:51:06 +08:00
Chocobo1
c5d99a12f3
Use standard folder icon for open file behavior on Windows. Closes #7880 .
2017-12-08 09:15:44 +08:00
Thomas Piccirello
240f5b6718
Remove invalid subnets directly from list
2017-12-06 20:32:50 -05:00
Thomas Piccirello
d184bd8c82
Perform ip string validation inside setWebUiAuthSubnetWhitelist
2017-12-06 02:05:33 -05:00
Thomas Piccirello
98a2dedb32
Separate subnet whitelist options into two lines
2017-12-06 02:05:32 -05:00
Chocobo1
c405cb2f1c
Add struct TorrentCreatorParams for passing parameters
...
Filter out continuous newlines in Trackers field
Avoid adding empty url seed entries
Cleanup:
Replace boost::bind
Add const
Use nullptr
Use QString::SkipEmptyParts
Rename variables
Throw proper exception type
2017-12-06 01:56:36 +08:00
sledgehammer999
5ea100352e
Merge pull request #7958 from Chocobo1/fixsort
...
Fix crash in #7952
2017-12-04 22:58:22 +02:00
Chocobo1
86c5a8df75
Partial revert eac8838dc2
. Fixes #7952 .
...
mapFromSource() didn't work as expected, when used in lessThan(), it sometimes
returns an invalid QModelIndex.
A crash is observed when filtering source model via filterAcceptsRow() in #7952 ,
the crash is due to endless recursive of filterAcceptsRow() & lessThan() calling
each other and mapFromSource() is the culprit of it.
2017-12-04 17:40:44 +08:00
Thomas Piccirello
a05562cdc5
Add Time Active column
2017-12-03 15:01:35 -05:00
Thomas Piccirello
ee37f1db3d
Add Tags columns
2017-12-03 15:01:35 -05:00
sledgehammer999
c9720cad81
Merge pull request #7915 from Chocobo1/dragndrop
...
Allow to drag-n-drop URLs into mainwindow to initiate download
2017-12-02 20:35:47 +02:00
sledgehammer999
2124ef261a
Merge pull request #7964 from Chocobo1/typeError
...
[WebUI] Fix logout behavior
2017-12-02 14:23:38 +02:00
sledgehammer999
aae6030064
Merge pull request #7963 from Chocobo1/logo
...
Fix missing qbt logo on login page in webUI. Closes #7953 .
2017-12-02 14:22:43 +02:00
Chocobo1
b234fcec9c
[WebUI] Use POST for logout command
...
This is to avoid browser being smart to prefetch the link then logging
out the user.
2017-12-02 14:32:40 +08:00
Chocobo1
1a45145c1e
[WebUI] Add check to avoid type error after logout
2017-12-02 14:32:40 +08:00
Chocobo1
c1a282aa7b
Fix missing qbt logo on login page in webUI. Closes #7953 .
2017-12-02 14:31:48 +08:00
sledgehammer999
e23c5614b6
Add height padding to the transfer list icons. Closes #7951 .
2017-12-02 00:50:40 +02:00
sledgehammer999
f457937980
Sync translations from Transifex and run lupdate.
2017-12-01 01:44:24 +02:00
Mike Tzou
eac8838dc2
[GUI] Implement stable sort ( #7703 )
...
* NaturalCompare now returns compare result instead of "less than" result
* Change to stable sort in GUI components
* Add Utils::String::naturalLessThan() helper function
* Use Qt::CaseSensitivity type
2017-11-30 17:10:30 +08:00
Mike Tzou
74d281526b
Merge pull request #7647 from thalieht/style
...
Coding style for many files
2017-11-30 17:09:18 +08:00
sledgehammer999
7a8128eec4
Merge pull request #7858 from sledgehammer999/IpFilter_log
...
Stop logging IP filter parsing errors after a while.
2017-11-29 19:44:43 +02:00
sledgehammer999
a55be5e58f
Stop logging IP filter parsing errors after a while.
...
When a lot of errors happen the resulting log lines introduce
a huge slowdown of the GUI, due to writing each log line to disk.
Closes #7755 .
2017-11-29 15:49:59 +02:00
sledgehammer999
4c317f1e4a
Merge pull request #7852 from surfernsk/master
...
Fix i386 build (configure). Closes #7845
2017-11-27 19:12:08 +02:00
sledgehammer999
48c46dc79a
Fix crash on some systems when creating address object for 255.255.255.255
...
Closes #7735 .
2017-11-27 19:06:37 +02:00
Chocobo1
b9339bb727
Allow to drag-n-drop URLs into mainwindow to initiate download
...
Fix issue: https://github.com/qbittorrent/qBittorrent/issues/7785#issuecomment-347092418
Minor refactor
2017-11-27 16:45:55 +08:00
Thomas Piccirello
e1f8e6aa6f
Reposition Total Size column to match gui
2017-11-26 19:37:20 -05:00
Chocobo1
76c95d8c6c
Revert "Run external program" function
...
This revert df95efe33e
partially
2017-11-25 15:48:29 +08:00
Vladimir Golovnev
a7da714b13
Merge pull request #7832 from glassez/rss-import
...
Implement Import/Export RSS rules. Closes #7721
2017-11-25 10:35:24 +03:00
Vladimir Golovnev (Glassez)
916cfcdb03
Implement Import/Export RSS rules in JSON format
2017-11-24 21:20:44 +03:00
Vladimir Golovnev (Glassez)
b8fc415870
Implement Import/Export RSS rules in legacy format
2017-11-24 16:19:16 +03:00
Evgeny Lensky
428cb9c986
Fix i386 build (configure)
...
Fix building on i686 fails with wrong multilib library path #7845
and rebregenerate ./configure
2017-11-24 10:28:03 +07:00
sledgehammer999
99341409f4
Remove examples from gpl.html. Closes #7749 .
2017-11-24 02:03:29 +02:00
Mike Tzou
f07333acc9
Merge pull request #7576 from TheNicker/master
...
Fixed blurry text under windows by setting DPI awareness to default
2017-11-23 20:43:26 +08:00
Vladimir Golovnev
342f5f1a09
Merge pull request #7821 from glassez/fix-rss
...
Fix RSS Parser. Closes #7751 , #7763 , #7768 , #7786
2017-11-23 14:35:42 +03:00
sledgehammer999
d74efd839f
Merge pull request #7826 from Chocobo1/tcp
...
Change MixedModeAlgorithm default to TCP. Closes #7779 .
2017-11-23 01:53:29 +02:00
Heiko Becker
af898e9117
Fix build with --disable-webui
...
"app/application.cpp:108:7: error: class 'Application' does not have
any field named 'm_webui'"
2017-11-23 01:52:38 +02:00
Vladimir Golovnev (Glassez)
c0e48627ae
Fix RSS Parser
...
Closes #7751
Closes #7763
Closes #7768
Closes #7786
2017-11-22 19:11:37 +03:00
Chocobo1
534ed91d04
Change MixedModeAlgorithm default to TCP. Closes #7779 .
...
MixedModeAlgorithm::Proportional will throttle TCP connections when utp
is in use and users is expecting maximum speed no matter what, so now
disable the throttling.
2017-11-22 22:39:52 +08:00
sledgehammer999
c58d0af88f
Merge pull request #7806 from thoradia/rss_feed
...
Fix missing include in rss_feed.cpp
Fixes #7805
2017-11-22 15:51:05 +02:00
thoradia
ca5c1e8a15
Fix missing include in rss_feed.cpp
...
Fixes #7805 .
2017-11-22 14:39:07 +01:00
sledgehammer999
4e96a1065e
Bump API_VERSION to 16.
2017-11-22 01:14:33 +02:00
sledgehammer999
c9a8d19e6c
Sync translations from Transifex and run lupdate.
2017-11-22 01:01:05 +02:00
sledgehammer999
81f5fdda15
Correctly check if torrent passed during application start already exists.
2017-11-22 00:42:26 +02:00
sledgehammer999
a38730eb9e
Merge pull request #7792 from Chocobo1/creator2
...
Fix crash when aborting a torrent creation process
2017-11-22 00:41:26 +02:00
sledgehammer999
1a9e650936
Merge pull request #7782 from Chocobo1/utf8
...
Remove superfluous QString::fromUtf8()
2017-11-22 00:40:51 +02:00
sledgehammer999
ae5177b20f
Merge pull request #7778 from Chocobo1/dragdrop
...
Allow drag-n-drop magnet links to mainwindow. Closes #7742 .
2017-11-21 21:27:19 +02:00
Chocobo1
27090f0cfb
Remove superfluous QString::fromUtf8()
2017-11-21 22:48:00 +08:00
Chocobo1
433b5a46cf
Fix crash when aborting a torrent creation process. Closes #7783 .
...
The wait time wasn't long enough causing the thread to
terminate prematurely.
Also, to avoid crashing qbt entirely when creating a torrent for a very
big file, I decided to wait indefinitely here.
2017-11-21 18:33:47 +08:00
Chocobo1
034d71dce3
Wrap function into anonymous namespace
2017-11-21 18:23:39 +08:00
Chocobo1
c3de2310c5
Avoid double delete on close
2017-11-21 18:11:28 +08:00
Chocobo1
b9478e0f00
Use Qt5 connect syntax
2017-11-21 18:11:28 +08:00
Chocobo1
94aeac992c
Allow drag-n-drop magnet links to mainwindow. Closes #7742 .
2017-11-21 14:19:34 +08:00
sledgehammer999
4927d26877
Fix english typo.
2017-11-21 02:14:44 +02:00
thalieht
ae1634623e
Coding style for many files
2017-11-20 23:29:59 +02:00
sledgehammer999
296c7d3c13
Merge pull request #7764 from Chocobo1/logo
...
[WebUI] Fix logo missing in login page
2017-11-20 23:28:13 +02:00
sledgehammer999
22add258ae
Merge pull request #7753 from luigino/master
...
qtsingleapplication should always be built statically to avoid depend…
2017-11-20 22:31:46 +02:00
Chocobo1
77f66be493
[WebUI] Fix logo missing in login page
2017-11-21 03:41:07 +08:00
Vladimir Golovnev
f41cb8089d
Merge pull request #6779 from Piccirello/disable-web-auth
...
Add ip subnet whitelist for bypassing webui auth
2017-11-20 21:52:33 +03:00
luigino
32a686a037
qtsingleapplication should always be built statically to avoid dependency problems
2017-11-20 17:23:22 +01:00
sledgehammer999
236abcf3f1
Fix crash on opening torrent/magnet (uninitialized pointer). Closes #7739 #7723 .
2017-11-20 17:46:31 +02:00
sledgehammer999
325f9f629d
Improve the github issue template.
2017-11-20 16:20:10 +02:00
sledgehammer999
88a771c9ff
Bump to 4.1.0alpha
2017-11-20 02:42:16 +02:00
sledgehammer999
b960e41cfa
Update Changelog.
2017-11-20 02:28:19 +02:00
sledgehammer999
9f461d0fe6
Sync translations from Transifex and run lupdate.
2017-11-20 02:23:31 +02:00
sledgehammer999
9db1f3baca
Merge pull request #6484 from sledgehammer999/new_logo
...
Change qbittorrent logo. Issue #6467 .
2017-11-19 19:15:50 +02:00
sledgehammer999
af5a02d971
Merge pull request #7673 from sledgehammer999/webui_clean_exit
...
WebUI: Correctly exit depending if mainloop is running.
2017-11-19 19:12:30 +02:00
Vladimir Golovnev (Glassez)
71bb6538db
Fix WebUI error handling
2017-11-19 19:10:04 +02:00
sledgehammer999
06ecc45d13
Merge pull request #7711 from Chocobo1/update
...
Update m4 macros
2017-11-19 18:37:26 +02:00
Chocobo1
31607c4d18
Simplify AX_BOOST_BASE usage
...
Regenerate configure
2017-11-17 18:25:46 +08:00
Chocobo1
84bb214642
Sync m4 macros with upstream
2017-11-17 15:28:14 +08:00
Mike Tzou
d821bdc9f3
Merge pull request #7669 from Chocobo1/portCheck
...
[WebAPI] Improve error messages
2017-11-10 23:41:19 +08:00
Vladimir Golovnev
63461e0895
Merge pull request #7688 from glassez/rss-log
...
Improve RSS events logging
2017-11-10 14:38:38 +03:00
Eugene Shalygin
08755a211b
Merge pull request #7596 from evsh/path-history-items
...
Add option to tune download history list length. Closes #4043 .
2017-11-10 12:23:40 +01:00
Vladimir Golovnev (Glassez)
a3c9c1c386
Improve RSS events logging
...
Fix RSS log messages was untranslatable.
Add more logging.
2017-11-09 15:40:39 +03:00
Thomas Piccirello
0de2f1776e
Remove duplicate header
2017-11-08 22:39:49 -05:00
Thomas Piccirello
da0db92b9f
Enable preferences Apply button when ip banlist is modified
2017-11-08 22:39:49 -05:00
Thomas Piccirello
95bf63330e
Add ip subnet whitelist for bypassing webui auth
2017-11-08 22:39:49 -05:00
Mike Tzou
04cec39277
Merge pull request #7667 from Chocobo1/stackdump
...
Include & print caught signal in stackdump
2017-11-04 11:10:49 +08:00
sledgehammer999
7b95785954
Merge pull request #7672 from Kolcha/fix-file-permissions
...
dropped unneeded executable flag from several files
2017-11-03 21:35:33 +02:00
Nikolay Korotysh
7d0342e366
dropped unneeded executable flag from several files
2017-11-03 17:19:54 +03:00
Chocobo1
21bc08d643
Include/print caught signal in stackdump
2017-11-03 14:13:17 +08:00
sledgehammer999
ffa6f7ea34
Bump API_VERSION to 16.
2017-11-03 01:57:32 +02:00
sledgehammer999
6b0449dde7
Update Changelog.
2017-11-03 01:39:44 +02:00
Chocobo1
aa4107478e
[WebAPI] Improve error messages
...
Also refactor to use class methods
2017-11-02 23:01:14 +08:00
sledgehammer999
9f8e7917a8
Merge pull request #7657 from Chocobo1/upnp
...
Disable upnp & nat-pmp on startup if disabled in options. Closes #7338 .
2017-10-31 18:24:28 +02:00
Chocobo1
1b652c882e
Refactor
...
Add const
Use Qt5 connect syntax
2017-10-31 19:09:01 +08:00
Chocobo1
601234e492
Explicitly set UPnP state on start-up. Closes #7338 .
...
libtorrent 1.1 enables upnp by default.
2017-10-31 19:08:58 +08:00
sledgehammer999
6c804edadf
Change default settings for tracker/tier announces to mimick ìTorrent behavior.
2017-10-30 23:27:29 +02:00
sledgehammer999
3a5c0d9818
Allow to specify if announcing to all tiers is desired.
2017-10-30 23:27:28 +02:00
sledgehammer999
2194a05e60
Merge pull request #7652 from Chocobo1/aboutExtLink
...
Open links in browser. Closes #7651 .
2017-10-30 18:06:34 +02:00
sledgehammer999
a89c1a8d9a
Use new logo in the file icon.
2017-10-30 02:41:26 +02:00
sledgehammer999
86215f8483
Use new logo in the splash screen.
2017-10-30 02:41:25 +02:00
sledgehammer999
a1b01c1b40
Remove unused image.
2017-10-30 02:41:24 +02:00
sledgehammer999
09cb95d3da
Use the SVG for the tray icon.
2017-10-30 02:41:23 +02:00
sledgehammer999
48d7bdee0e
Change qbittorrent logo. Issue #6467 .
2017-10-30 02:41:22 +02:00
sledgehammer999
5157fc201c
Add Turkish translator in about page.
2017-10-30 00:32:44 +02:00
Chocobo1
492ea5bceb
Open links in browser. Closes #7651 .
2017-10-28 14:51:20 +08:00
Mike Tzou
e8cf351b6a
Merge pull request #7643 from Chocobo1/email
...
Allow SMTP sender to be set. Closes #7575 .
2017-10-27 12:52:35 +08:00
Chocobo1
fc0628d35b
Allow SMTP sender to be set. Closes #7575 .
2017-10-26 17:57:32 +08:00
Mike Tzou
1f7391737e
Merge pull request #7445 from Chocobo1/fixAddTorrent
...
Disable processing socket events in findIncompleteFiles()
2017-10-25 23:00:35 +08:00
Mike Tzou
acdb7a27dc
Merge pull request #7638 from Chocobo1/msg
...
[WebUI] Improve log messages
2017-10-24 20:19:12 +08:00
Eugene Shalygin
1fed324f91
Add option to tune download history list length. Closes #4043 .
2017-10-24 12:56:05 +02:00
Eugene Shalygin
e4771ba508
Add maxVisibleItems combo box property to FileSystemPathComboEdit.
2017-10-24 12:56:04 +02:00
sledgehammer999
6a36a3b1d9
Run lupdate again.
2017-10-24 03:34:49 +03:00
sledgehammer999
2956b28a32
Mention more translators in the about page after their request.
2017-10-24 03:32:57 +03:00
sledgehammer999
50471ec8c8
String fixes and optimizations mentioned by translators on Transifex.
2017-10-24 03:32:56 +03:00
sledgehammer999
3aa9ff5fba
Sync translations from Transifex and run lupdate.
2017-10-24 01:28:31 +03:00
Mike Tzou
b6be5afb89
Merge pull request #7584 from Chocobo1/refactor
...
[WebAPI] Refactor
2017-10-23 19:36:28 +08:00
Chocobo1
157b809e21
[WebUI] Improve log messages
2017-10-23 16:45:41 +08:00
Mike Tzou
f74e2b0130
Merge pull request #7631 from Chocobo1/webUIaddr
...
Reinitialize webUI server when "IP address" setting changed
2017-10-23 14:11:50 +08:00
sledgehammer999
c887a162ba
Fix row height/width in webui for country flags.
...
Patch by Chocobo1.
2017-10-23 01:23:54 +03:00
sledgehammer999
52df71ad3a
Use svg icons for the country flags.
...
Closes #6223 .
2017-10-23 01:23:45 +03:00
Chocobo1
d6ddc90199
Reinitialize webUI server when "IP address" setting changed
...
An app restart won't be necessary from now on.
2017-10-22 14:42:51 +08:00
Mike Tzou
9600e7f5ad
Merge pull request #7573 from fmatthew5876/config_webui_ip
...
Add WebUi\Address config option
2017-10-22 14:18:08 +08:00
Chocobo1
f3603d05e7
Disable processing events when adding torrents. Closes #7436 .
...
webUI connection timeout & deletion might occur while
doing processEvents() and will result in use-after-free segfault.
2017-10-22 13:54:03 +08:00
Matthew Fioravante
8cd243b06b
Add WebUi\Address config option
2017-10-21 09:32:30 -04:00
Mike Tzou
1da3437a4a
Merge pull request #7603 from Chocobo1/debugMsg
...
[WebUI]: Print error messages upon receiving invalid header fields
2017-10-21 01:10:25 +08:00
Vladimir Golovnev
c72fb92318
Merge pull request #7529 from dzmat/speedwidget_qtconcurrent_removal
...
Excess QtConcurrent usage removal
2017-10-20 10:32:27 +03:00
sledgehammer999
954448863e
Merge pull request #7599 from scootergrisen/patch-1
...
Add me for danish
2017-10-19 01:50:35 +03:00
sledgehammer999
eec6009398
Merge pull request #7583 from LordNyriox/status-icons
...
Invert Framing for Torrent Status Icons
2017-10-19 01:45:22 +03:00
Chocobo1
ce362f0e5e
WebAPI refactor: utilize parseBool() function
...
Coding style cleanup
Rename variable
Return const reference
Add const
2017-10-18 22:27:59 +08:00
Chocobo1
4940a77d12
[WebUI]: Print error messages upon receiving invalid header fields
2017-10-18 20:11:53 +08:00
sledgehammer999
4e77e01a67
Generate pngs using svgexport and optimize using PNGGauntlet.
2017-10-17 19:40:46 +03:00
sledgehammer999
5acdcb6c09
Optimize and prettify the svg source using svgo.
2017-10-17 19:32:34 +03:00
scootergrisen
8400d855de
Add me for danish
2017-10-16 22:14:10 +02:00
Mike Tzou
bd07cb91bb
Merge pull request #7571 from Chocobo1/webui_download
...
[WebAPI] Add parameters for /command/download & /command/upload
2017-10-15 20:32:14 +08:00
LordNyriox
d7e0a9b1ad
Invert Framing for Torrent Status Icons
...
Also recolor the icons to match the text-color used for the torrent-status as well.
Optimized using SVGOMG [<https://jakearchibald.github.io/svgomg/ >].
2017-10-13 13:41:42 -04:00
Mike Tzou
dc600d47ec
Merge pull request #7570 from Chocobo1/webui_fileIdx
...
[WebAPI] Add file-to-piece-index mappings in /query/propertiesFiles command
2017-10-14 01:05:00 +08:00
sledgehammer999
0d3952eef5
Sync translations from Transifex and run lupdate.
2017-10-13 03:56:57 +03:00
TheNicker
30a4ce40b9
Fixed blurry text under Windows by setting DPI awareness to default
2017-10-12 22:23:02 +03:00
dzmat
9d0ab0ae5f
speedwidget class: excess QtConcurent usage removal
2017-10-12 20:59:13 +07:00
Chocobo1
e78d8b9fcc
Convert tab into whitespaces
2017-10-11 20:27:19 +08:00
Chocobo1
f350977cb4
WebUI: add optional parameters for /command/download & /command/upload
...
Specifically:
torrent name: string
download limit, upload limit: number in bytes, default: -1 (unlimited)
sequential download, first last piece prio: boolean true/false, default: false
2017-10-11 20:25:11 +08:00
Eugene Shalygin
7a652c0a8c
Merge pull request #7566 from evsh/themes-cbc
...
Themes part 1
2017-10-11 10:34:56 +02:00
Chocobo1
a652baadb5
Add file-to-piece-index mappings in /query/propertiesFiles command
...
Also do the following cleanups:
Use string constant QB_EXT
Remove redundant variable
Add const
2017-10-11 16:24:29 +08:00
Chocobo1
66b86888fc
Add uploadLimit, downloadLimit fields to AddTorrentData & AddTorrentParams
2017-10-11 16:23:58 +08:00
Mike Tzou
e07501252c
Merge pull request #7549 from fmatthew5876/master
...
Report TCPServer errorString() if webui fails to listen to port
2017-10-11 16:22:52 +08:00
Mike Tzou
2977ba9ec2
Merge pull request #7563 from Chocobo1/delkey
...
Fix delete key has no effect due to "Ambiguous shortcut overload"
2017-10-11 16:15:55 +08:00
Eugene Shalygin
db35bb54e1
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
2017-10-10 21:28:57 +02:00
Tim Delaney
19bb6f5fe0
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-10-10 21:28:56 +02:00
Chocobo1
aab752dd2e
Fix delete key has no effect due to "Ambiguous shortcut overload"
...
We want to show the accelerator key in the menu but without hitting
the ambiguous overload error.
Fixup of 1378245a63
2017-10-10 14:43:05 +08:00
Eugene Shalygin
8c75fdcb4c
Merge pull request #7558 from evsh/uncrustify
...
Update uncrustify config
2017-10-09 20:04:37 +02:00
sledgehammer999
df03b69151
Merge pull request #7502 from sledgehammer999/optimize_img
...
Image housekeeping
2017-10-09 18:16:38 +03:00
sledgehammer999
aca7a851bb
Optimize SVGs.
...
Used svgo with commands --pretty --indent=2 --multipass.
2017-10-09 18:15:41 +03:00
sledgehammer999
e9caefdfce
Optimize PNGs.
...
Using PNGGauntlet.
2017-10-09 18:15:40 +03:00
sledgehammer999
16ac20b594
Remove unused image. Possibly leftover from dropping Qt4.
2017-10-09 18:15:39 +03:00
sledgehammer999
a3e071b734
Merge pull request #7562 from sledgehammer999/drop_os2
...
Drop OS/2 support.
2017-10-09 18:14:11 +03:00
sledgehammer999
5d3b9d2f22
Drop OS/2 support.
2017-10-09 18:11:14 +03:00
sledgehammer999
27a7e86599
Merge pull request #7561 from sledgehammer999/native_path
...
Show new paths in native form.
2017-10-09 18:09:55 +03:00
sledgehammer999
d93d0ab19e
Show new paths in native form.
2017-10-09 17:42:42 +03:00
Eugene Shalygin
776627eee9
Update uncrustify config
2017-10-09 16:42:34 +02:00
Chocobo1
5185eeb7ef
Die gracefully when failed to initialize web server with qbt-nox
2017-10-09 13:50:01 +08:00
Vladimir Golovnev
083bc71315
Merge pull request #7396 from thalieht/updownratio
...
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg
2017-10-08 21:06:55 +03:00
Eugene Shalygin
b1b931922e
Merge pull request #7555 from evsh/fix-qtsingleapplication-cmake
...
cmake: do not use Qt5Widgets when locating QtSingleApplication. Closes #7551 .
2017-10-08 09:28:00 +02:00
thalieht
0717f0d60c
Save ratio limits as int instead of string
2017-10-08 10:22:40 +03:00
thalieht
525fdd6c2b
Coding style, use nullptr and other minor things
2017-10-08 10:20:54 +03:00
thalieht
f27e75e8fa
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg dialogs. Fixes #7352
2017-10-08 10:20:38 +03:00
Eugene Shalygin
0ad5290389
cmake: do not use Qt5Widgets when locating QtSingleApplication. Closes #7551 .
...
This fixes cmake builds with GUI disabled and system
QtSingleApplication. We rely on Qt5::Core instead of Qt5::Widgets.
2017-10-07 21:48:52 +02:00
Mike Tzou
7895afb8e9
Merge pull request #7542 from Chocobo1/wordbreak
...
Set QTextOption::NoWrap property in "Download from URLs" dialog
2017-10-07 13:40:41 +08:00
Mike Tzou
2626378dfd
Merge pull request #7545 from Kolcha/del-shortcut
...
added keyboard shortcut to delete torrent. closes #7508
2017-10-07 13:38:05 +08:00
Nick Korotysh
1378245a63
show delete accelerator key in menu. closes #7508
2017-10-06 14:51:19 +03:00
Matthew Fioravante
05c92e652c
Report TCPServer errorString() if webui fails to listen to port
2017-10-06 05:54:52 +00:00
Mike Tzou
6c0dd81528
Merge pull request #7541 from Kolcha/sort-plugins
...
allow search plugins sorting. closes #7526
2017-10-05 16:16:27 +08:00
Vladimir Golovnev
bd1d775ca9
Merge pull request #7522 from glassez/winconf
...
Reformat Windows build configuration files
2017-10-04 09:18:27 +03:00
Chocobo1
b3207b8144
Set QTextOption::NoWrap property in "Download from URLs" dialog
...
This makes it easier to put each magnet link on its own line
2017-10-03 22:45:18 +08:00
Nick Korotysh
4c8dd0ca9d
allow search plugins sorting. closes #7526
2017-10-03 16:57:09 +03:00
Vladimir Golovnev (Glassez)
61d9fcd753
Reformat Windows build configuration files
2017-10-02 18:57:54 +03:00
Vladimir Golovnev
c5607f07c8
Merge pull request #7514 from dzmat/members_names_clarification
...
members names clarification
2017-09-30 09:36:24 +03:00
Mike Tzou
49802be7d4
Merge pull request #7499 from Chocobo1/fixTimeActive
...
Fix "Time active" field in transfer list
2017-09-30 11:36:57 +08:00
dzmat
3d932b1cce
transferlistwidget class members names clarification
2017-09-29 19:55:30 +07:00
Vladimir Golovnev
66a6674cbc
Merge pull request #7490 from glassez/category-path
...
Allow to set explicit save path for Category from GUI
2017-09-29 14:25:40 +03:00
Chocobo1
2d12c126eb
Fix "Time active" field in transfer list
...
The "Time active" field was broken, displaying nothing when in
downloading state.
Also change type to int to match the return
types of TorrentHandle::activeTime() & TorrentHandle::seedingTime()
2017-09-28 16:54:46 +08:00
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class
2017-09-27 21:25:22 +03:00
Mike Tzou
15babe97ea
Merge pull request #7500 from Chocobo1/mergeName
...
Show torrent name in "add new torrent" dialog on merging trackers
2017-09-27 21:04:51 +08:00
Mike Tzou
308fd3dcac
Merge pull request #7477 from silverqx/options-dlg-persist-size
...
Center Options dialog when showed
2017-09-27 20:35:04 +08:00
Mike Tzou
e8250104c8
Merge pull request #7429 from silverqx/preview-modal-ux
...
Improved ux in preview dialog
2017-09-27 20:33:31 +08:00
Mike Tzou
796cd674d7
Merge pull request #7495 from silverqx/options-save-state-cancel
...
Options dialog save windows state in destructor
2017-09-26 15:30:17 +08:00
Mike Tzou
1fe9272a8f
Merge pull request #7480 from Chocobo1/lastAct
...
Fix last activity calculation
2017-09-26 15:17:35 +08:00
sledgehammer999
c285de87d4
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0
.
2017-09-26 04:06:32 +03:00
Chocobo1
058062d586
Show torrent name in "add new torrent" dialog on merging trackers
2017-09-26 01:34:24 +08:00
silver
3b4fd35dde
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
2017-09-25 16:33:17 +02:00
silver
2a6bd5de35
Options dialog save windows state in destructor
2017-09-24 22:56:14 +02:00
silver
64e539fcfb
Center Options dialog when showed
2017-09-24 19:40:48 +02:00
Mike Tzou
de6ca29dcd
Merge pull request #7482 from Chocobo1/update
...
Update qtsingleapplication
2017-09-24 22:39:59 +08:00
silver
ef63202be2
Follow project coding style. Issue #2192 .
2017-09-24 16:18:39 +02:00
Chocobo1
62493c672d
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
2017-09-24 21:06:34 +08:00
Vladimir Golovnev (Glassez)
8c58a69be6
Use Qt5 connect() style in CategoryFilterWidget
2017-09-24 16:01:39 +03:00
Mike Tzou
2eb3ec1a6e
Merge pull request #7463 from Piccirello/fix-priority-context-menu-placement
...
Reposition "Priority" menu option in WebUI to match gui (closes #7072 )
2017-09-24 10:28:05 +08:00
Chocobo1
e3da17caa8
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
2017-09-23 00:27:00 +08:00
sledgehammer999
c7e35a1801
Merge pull request #7451 from sledgehammer999/report_delete_fail
...
Better reporting of success/failure of torrent and file deletion.
2017-09-21 23:36:53 +03:00
Mike Tzou
83c6b22d30
Merge pull request #7454 from Chocobo1/buttonbox
...
Replace dialog ok-cancel buttons with QDialogButtonBox
2017-09-21 22:45:45 +08:00
Mike Tzou
fc5d49bf9a
Merge pull request #7460 from Chocobo1/tribool
...
Use smaller data type for TriStateBool
2017-09-21 20:17:34 +08:00
Mike Tzou
473ed45b3f
Merge pull request #7468 from Chocobo1/apiwipeass
...
WebAPI: fix root_folder default behavior
2017-09-21 20:17:14 +08:00
Chocobo1
c5ddbcfb5b
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-09-19 17:26:01 +08:00
Chocobo1
72b0ba36ae
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-09-19 14:16:39 +08:00
Chocobo1
b107c0671d
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-09-19 13:07:50 +08:00
sledgehammer999
b9e233601d
Merge pull request #7446 from Chocobo1/utpOnly
...
Add uTP only mode option
2017-09-19 01:45:58 +03:00
sledgehammer999
8f16388915
Better reporting of success/failure of torrent and file deletion.
2017-09-17 23:04:12 +03:00
Chocobo1
d143929454
Use smaller data type for TriStateBool
2017-09-18 02:21:47 +08:00
Chocobo1
45a0c5558a
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-09-18 01:52:57 +08:00
Thomas Piccirello
b6596f9957
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-09-17 05:42:46 -04:00
Chocobo1
7059b947e8
Replace dialog ok-cancel buttons with QDialogButtonBox
...
This PR will make button order follow the platform default.
For example: windows use: OK, Cancel; linux use: Cancel, OK.
2017-09-15 18:52:21 +08:00
Mike Tzou
4eafe7a2c8
Merge pull request #7426 from thalieht/webuiStripFolder
...
Add the create root folder option when adding a torrent in WebUI
2017-09-15 13:01:48 +08:00
sledgehammer999
d165da9c6c
Merge pull request #7417 from Chocobo1/fix
...
Fix default value of m_diskCacheSize
2017-09-14 16:13:12 +03:00
Chocobo1
a341b793e4
Rename option
...
The previous "Disk write cache size" is not accurate since it is also being used
for read cache, so rename it to "Disk cache".
2017-09-14 20:32:10 +08:00
Chocobo1
a1d46a278b
Change default value of m_diskCacheSize. New default is 64 MB.
2017-09-14 20:32:04 +08:00
Eugene Shalygin
c6cf3a98a4
Merge pull request #7428 from evsh/allow-all-tray-icons
...
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-09-12 11:09:44 +02:00
Mike Tzou
56887efdf5
Merge pull request #7422 from Chocobo1/delete
...
Fix dereferencing freed pointer
2017-09-12 02:14:08 +08:00
Eugene Shalygin
4ec193042f
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-09-11 16:18:10 +02:00
thalieht
6b33db3ae3
Create root folder option when adding a torrent in WebUI
2017-09-11 16:56:33 +03:00
Chocobo1
855772ae5a
Fix dereferencing freed pointer. Closes #7420 .
...
The torrent is removed from session after `deleteTorrent()`
yet we still invoke `torrent->name()`, thus result in crash.
2017-09-11 13:16:34 +08:00
sledgehammer999
467ba380b2
Travis: Update libtorrent bottle with boost 1.65+ fix.
2017-09-11 01:20:02 +03:00
Mike Tzou
93ed8e98c1
Merge pull request #7402 from comradekingu/patch-2
...
Spelling: HTTP/HTTPS
2017-09-08 20:12:27 +08:00
Allan Nordhøy
5c18db240c
Spelling: HTTP/HTTPS
2017-09-08 11:22:25 +02:00
sledgehammer999
915ec81f83
Merge pull request #7385 from Chocobo1/coding_style
...
Update coding guidelines (proposal)
2017-09-08 02:20:15 +03:00
sledgehammer999
8c545d2947
Update Changelog.
2017-09-08 00:54:08 +03:00
sledgehammer999
cbfbae1409
Bump to 3.4.0beta2
2017-09-06 01:46:27 +03:00
sledgehammer999
728b7dec3e
Sync translations from Transifex and run lupdate.
2017-09-06 01:44:47 +03:00
sledgehammer999
7b5730723d
Fix file list expansion on singlefile torrent with folder.
2017-09-06 01:11:49 +03:00
Chocobo1
71844e13af
Update coding guidelines
...
Add ranged-based for loop example
Add class inheritance example
Add Prefer pre-increment, pre-decrement operators section
Fix space after comment keyword
Fix header include order
[skip ci]
2017-09-05 14:24:52 +08:00
Vladimir Golovnev
c6dfdf9135
Fix CategoryFilterWidget::sizeHint()
2017-09-01 16:11:21 +03:00
Vladimir Golovnev
4cd3a37b4a
Fix suggest_mode setting
...
Actually suggest_mode is of type int.
2017-08-31 22:02:52 +03:00
Mike Tzou
5efb4b522f
Merge pull request #7358 from Chocobo1/qstringbuilder
...
Improve compile defines
2017-08-29 16:42:09 +08:00
Chocobo1
64d5e329c0
Sort the resource lists
...
Update RCC header
2017-08-29 13:39:02 +08:00
Chocobo1
ee9caa4305
Cleanup src.pro
2017-08-29 13:39:02 +08:00
Chocobo1
39b56ac598
Move NOMINMAX define
2017-08-29 13:39:01 +08:00
Chocobo1
551ffb88ab
Define QT_USE_QSTRINGBUILDER.
...
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
2017-08-29 13:37:29 +08:00
Mike Tzou
698bd431e6
Merge pull request #7340 from Chocobo1/leak
...
Fix leak & use Qt5 connect syntax
2017-08-24 23:08:01 +08:00
Chocobo1
ccd3b305c2
Use Qt5 connect syntax
2017-08-24 20:15:25 +08:00
Chocobo1
b47c90f0e0
Setup parent ownership to avoid memory leak
2017-08-24 20:01:39 +08:00
Mike Tzou
1afd5f70dd
Merge pull request #3235 from Chocobo1/session_option
...
libtorrent session options
2017-08-24 11:35:15 +08:00
Vladimir Golovnev
4cb304def8
Merge pull request #7334 from qbittorrent/fix-7333
...
Fix RSS Downloader fails to rename rule. Closes #7333
2017-08-23 22:21:57 +04:00
Vladimir Golovnev
f2af308e6d
Fix RSS Downloader fails to rename rule
...
Closes #7333 .
2017-08-23 16:45:14 +03:00
Vladimir Golovnev
a6868e2b25
Merge pull request #7313 from glassez/sched
...
Don't disable scheduler when manually switching speed limits. Closes #7306
2017-08-23 17:05:28 +04:00
Vladimir Golovnev
7a96ddccc6
Merge pull request #7332 from qbittorrent/fix-7327
...
Skip user input events when adding torrent. Closes #7327
2017-08-23 13:10:36 +04:00
Vladimir Golovnev
bda5be8e4c
Skip user input events when adding torrent
...
Closes #7327 .
2017-08-23 11:14:34 +03:00
Vladimir Golovnev (qlassez)
93f5d4058d
Improve BandwidthScheduler
...
Don't disable scheduler when manually switching speed limits.
Closes #7306 .
2017-08-23 09:48:31 +03:00
Eugene Shalygin
98dd2be673
Merge pull request #7324 from Evengard/vpntunnels-patch
...
Disable skipping of loopback interfaces in settings tab
2017-08-22 14:03:11 +02:00
Evengard
ea7c1ace2a
Disable skipping of loopback interfaces
...
This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
2017-08-22 00:00:20 +03:00
Chocobo1
2da2054ccf
Use enums for settings
2017-08-21 20:30:26 +08:00
Chocobo1
3f5fa0025d
Add sanitize helper clampValue()
2017-08-21 16:50:56 +08:00
Chocobo1
f4be165767
Add send_buffer_watermark send_buffer_low_watermark
...
send_buffer_watermark_factor knobs
2017-08-21 16:50:14 +08:00
Chocobo1
55a1628a5e
Add suggest_mode knob
2017-08-21 16:50:14 +08:00
Chocobo1
6c32f6beff
Add choking_algorithm & seed_choking_algorithm knob
2017-08-21 16:49:45 +08:00
Chocobo1
21ec8fe53f
Add allow_multiple_connections_per_ip knob. Closes #5884 .
2017-08-21 16:48:38 +08:00
Chocobo1
4185209036
Add mixed_mode_algorithm knob
2017-08-21 16:48:38 +08:00
Chocobo1
6150e0c56b
Add guided_read_cache knob
...
cleanup header include order
2017-08-21 16:48:37 +08:00
sledgehammer999
42b811e578
Merge pull request #7316 from evsh/plugin-version-crash-fix
...
Fix ignoring of incorrect version strings in search plugins. Closes #7101
2017-08-21 00:18:19 +03:00
Eugene Shalygin
ef1597e45b
Fix ignoring of incorrect version strings in search plugins. Closes #7101 .
...
Printing of Version with all components set to zero was segfaulting due
to underflow in array index. Also add log message for such plugins.
2017-08-20 22:44:20 +02:00
sledgehammer999
1e677c6728
Merge pull request #7315 from Chocobo1/hostheader
...
WebAPI: fix validating wrong header field. Closes #7311 .
2017-08-20 20:55:20 +03:00
Chocobo1
9ef1e32327
WebAPI: fix validating wrong header field. Closes #7311 .
...
X-Forwarded-Host is a foreign proxy setting, it isn't the same as
qbt's local setting and thus it makes no sense to verify it.
2017-08-20 22:40:19 +08:00
sledgehammer999
173f6fd75d
Check for Qt5Svg when configuring.
2017-08-18 23:00:53 +03:00
sledgehammer999
bbe7821483
Merge pull request #7300 from Chocobo1/cleanup
...
Minor cleanup
2017-08-18 21:08:27 +03:00
Chocobo1
65ca490b64
Wrap class & functions in anonymous namespace
...
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-08-19 01:57:11 +08:00
sledgehammer999
907f222a73
Switch settings to signed int because libtorrent expects them that way.
2017-08-18 20:21:39 +03:00
sledgehammer999
b649d61e8b
Options to better memory control by libtorrent. Closes #7029 .
2017-08-18 20:21:37 +03:00
sledgehammer999
ea793368a9
Merge pull request #7279 from evsh/file-icon-cache
...
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264 .
2017-08-18 19:31:19 +03:00
Eugene Shalygin
3331526865
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264 .
2017-08-15 22:25:03 +02:00
sledgehammer999
cccb22f0e3
Merge pull request #7282 from glassez/fsutils
...
Improve utils/fs.* and fix coding style
2017-08-15 22:47:39 +03:00
sledgehammer999
4f0d9605fe
Merge pull request #7281 from vit9696/notifications2
...
Fix notification display on macOS
2017-08-15 22:34:35 +03:00
sledgehammer999
19fcd3dad6
Fix broken build.
2017-08-15 22:12:16 +03:00
vit9696
eb8ff91c5d
Fix notification display on macOS
2017-08-15 21:16:37 +03:00
sledgehammer999
f98edcab5c
Merge pull request #7272 from vit9696/patch-1
...
Fix macOS window restoration after using hide icon
2017-08-15 21:13:58 +03:00
sledgehammer999
e5ea3bd707
Merge pull request #7253 from briankendall/fix_objc_errors
...
Fixed mac specific compiler errors and cleaned up Objective C code. Closes #7252
2017-08-15 21:06:09 +03:00
sledgehammer999
c87c1d2359
Use simpler ifdef style.
2017-08-15 21:01:55 +03:00
sledgehammer999
7bb9c69c08
Fix connection problems when a specific interface/ip is configured.
...
Closes #7235 .
Bug related to #7099 and Qt.
2017-08-15 19:33:45 +03:00
sledgehammer999
25eb2edb86
Merge pull request #7273 from vit9696/borders
...
Unify preference window borders across the tabs
2017-08-15 18:14:11 +03:00
sledgehammer999
c2a8970109
Fix calculation of 'Average time in queue' stat under libtorrent 1.1.x
2017-08-15 17:38:41 +03:00
Vladimir Golovnev (qlassez)
59c14801cc
Improve utils/fs.* and fix coding style
2017-08-15 16:17:57 +03:00
Mike Tzou
ea749bb052
Merge pull request #7276 from Chocobo1/pr_7063
...
Auto torrent management from webui context menu
2017-08-15 11:47:21 +08:00
vit9696
1cb69c9b43
Unify preference window borders across the tabs
2017-08-14 20:10:28 +03:00
sledgehammer999
89d8a2fe72
Merge pull request #7251 from Chocobo1/spacing
...
Add space between widgets in left side panel. Closes #7224 .
2017-08-14 19:11:54 +03:00
Thomas Piccirello
4846b0ec28
Use single quotes for char.
...
Use case insensitive compare.
Swap conditionals
2017-08-14 23:15:03 +08:00
Thomas Piccirello
771033a449
Add auto torrent management to webui context menu (addresses #6815 )
2017-08-14 23:14:46 +08:00
vit9696
16d7301046
Fix macOS window restoration after using hide icon
2017-08-14 12:38:42 +03:00
sledgehammer999
e2893fe68f
Error out in configure script if the proper Qt/qmake version isn't found.
...
Closes #7250 .
Partially reverts e64bb1de8c
.
2017-08-13 20:29:53 +03:00
sledgehammer999
8d913d77dd
Merge pull request #7266 from Chocobo1/coverity
...
Fix issues found by coverity scan
2017-08-13 20:10:04 +03:00
Mike Tzou
0522db3f19
Merge pull request #7061 from Piccirello/webui-rename-torrent
...
Rename torrent from webui context menu (addresses #6815 )
2017-08-13 23:39:35 +08:00
Vladimir Golovnev
50cea9d912
Merge pull request #7268 from glassez/logging-strings
...
Use qUtf8Printable() for logging strings
2017-08-13 17:34:28 +04:00
Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
2017-08-13 16:14:57 +03:00
Vladimir Golovnev
219a6b3ad1
Merge pull request #7267 from glassez/remove-temp
...
Don't remove shared temp folder
2017-08-13 17:00:40 +04:00
Thomas Piccirello
798c230634
Add option to rename torrent from WebUI
...
Addresses #6815 .
2017-08-13 15:45:51 +03:00
Vladimir Golovnev (qlassez)
3801150a7a
Don't remove shared temp folder
...
Don't remove shared temp folder when torrent finished and moved to
its "complete" folder. Only torrents with stripped root folder
have subfolder in temp folder so they should remove it.
2017-08-13 14:17:12 +03:00
Chocobo1
91b2b14ba5
Initialize variables
...
Remove unused variable
2017-08-13 15:28:36 +08:00
sledgehammer999
1b8cda7924
Follow project coding style.
2017-08-12 16:23:15 +03:00
sledgehammer999
31a4309077
Catch possible exceptions when parsing IPs. Closes #7249 .
2017-08-12 16:23:14 +03:00
sledgehammer999
db3fd24cea
Use dpiawareness=1 on Windows. Closes #5393 .
2017-08-12 12:50:24 +03:00
Brian Kendall
62b956946f
Fixed mac specific compiler errors and cleaned up Objective C code
...
Created new file src/gui/macutilities.mm, moved code from mainwindow.cpp and torrentcontentmodel.cpp that used the Objective C runtime into it and converted it to actual Objective C. Rewrote pixmapForExtension() so that it doesn't call into private Qt functions.
2017-08-11 20:51:16 -04:00
Chocobo1
04552f7921
Add space between widgets in left side panel. Closes #7224 .
2017-08-11 21:37:33 +08:00
Vladimir Golovnev
9417105990
Merge pull request #7240 from glassez/fix-7226
...
Remove legacy RSS settings after converting. Closes #7226
2017-08-11 13:08:28 +04:00
sledgehammer999
593c24e5bd
Merge pull request #7234 from thalieht/indentation
...
Remove indentation for category/tag filter widgets in all platforms
2017-08-11 11:25:24 +03:00
Vladimir Golovnev (qlassez)
7380bfa9e4
Remove legacy RSS settings after converting
...
Closes #7226 .
2017-08-09 22:01:30 +03:00
sledgehammer999
6f0d16bca5
Merge pull request #7237 from Chocobo1/prefill_name
...
Prefill torrent name when creating a new torrent. Closes #7229 .
2017-08-09 20:04:42 +03:00
Chocobo1
78dafc9cbe
Prefill torrent name when creating a new torrent. Closes #7229 .
2017-08-09 15:26:05 +08:00
thalieht
2da5800665
Remove indentation for category/tag filter widgets in all platforms
2017-08-08 23:43:23 +03:00
sledgehammer999
6270433237
Fix explicit Torrent Management Mode in Add New Torrent dialog. Closes #5602 .
2017-08-07 20:01:30 +03:00
sledgehammer999
8214d25f9f
Update Changelog.
2017-08-07 08:53:57 +03:00
sledgehammer999
df7565c9e2
Bump to 3.4.0beta
2017-08-07 08:39:50 +03:00
sledgehammer999
d48218bfe9
Sync translations from Transifex and run lupdate.
2017-08-07 08:34:40 +03:00
sledgehammer999
db653cbdac
Merge pull request #7214 from Chocobo1/fixups
...
WebUI fixups
2017-08-07 08:11:32 +03:00
sledgehammer999
766f70c81a
Merge pull request #7118 from vit9696/master
...
Fixed file type icons not displaying on macOS
2017-08-07 08:10:58 +03:00
Chocobo1
3e9311b096
Correctly handle translation
...
Fixup of 07a85a1018
2017-08-06 17:20:01 +08:00
Chocobo1
1bfb8d35cd
Move "Copy hash" menu item above "Copy magnet link"
...
Fix wrong "Copy hash" icon used in webUI
Fixup of 145641ac41
2017-08-06 17:19:55 +08:00
Tom Piccirello
07a85a1018
Set torrent location from webui context menu (addresses #6815 ) ( #7062 )
...
* Add option to set torrent location from webui context menu (addresses #6815 )
* Update debug messages
* Use logger
* Remove redundant curly braces
* Remove message
* Use log message from transferlistwidget
* Use QDir
* Remove unused import
* Check if newLocation is an empty string
2017-08-06 17:04:39 +08:00
Tom Piccirello
145641ac41
Add copy options to webui context menu (addresses #6815 ) ( #7036 )
...
* Add copy options to webui context menu
Add Copy Hash to gui (closes #6964 )
* Use switch statement
* Use camel case, switch from signal to qaction.
* Rename variable
* Change variable name
2017-08-06 16:35:12 +08:00
sledgehammer999
08aa827366
Fix some more strings.
2017-08-06 01:47:05 +03:00
sledgehammer999
4d8a939291
Merge pull request #7173 from comradekingu/patch-1
...
display, URLs, esc '
2017-08-06 01:46:03 +03:00
sledgehammer999
e1f514042f
Merge pull request #7207 from glassez/move-torrent
...
Don't replace existing files when manually relocating torrent
2017-08-05 20:26:05 +03:00
Vladimir Golovnev (qlassez)
7d78457fe0
Don't replace existing files when relocating torrent
2017-08-05 20:17:44 +03:00
Vladimir Golovnev (qlassez)
f067b8b37c
Don't remove shared temp folder
2017-08-05 19:53:23 +03:00
sledgehammer999
6043584305
Merge pull request #7176 from glassez/temp-folder
...
Don't create subfolder inside temp folder. Closes #5503
2017-08-04 20:47:49 +03:00
sledgehammer999
bb02ccd574
Merge pull request #7132 from vlakoff/FindProcDLL
...
Windows installer: also detect running process when it is 64-bit
2017-08-04 16:55:15 +03:00
Eugene Shalygin
64b250903f
Merge pull request #7083 from tgregerson/tags
...
Improve tag selection context menu. Closes #7060
2017-08-03 21:06:08 +02:00
Tony Gregerson
c5e73219bf
Improve checkbox interface for selecting tags in the context menu. Closes #7060
2017-08-02 19:27:00 -05:00
Vladimir Golovnev (Glassez)
5f47d3b021
Don't create subfolder inside temp folder
2017-07-29 18:04:23 +03:00
Vladimir Golovnev (Glassez)
d22b626a02
Fix temporary subfolder isn't deleted
2017-07-28 15:16:02 +03:00
Allan Nordhøy
af9c0cca23
display, URLs, esc '
2017-07-28 02:42:35 +02:00
vlakoff
a641c0bb2f
Windows installer: also detect running process when it is 64-bit
...
Replacing FindProcDLL with a different one that can be found here:
http://forums.winamp.com/showthread.php?t=322583#post2777719
2017-07-20 19:33:19 +02:00
vit9696
6c3ab99e3c
Fix file type icons not displaying on macOS
2017-07-19 21:37:38 +03:00