Chocobo1
b5ee908f6c
Fix screen scaling factor calculation
...
For some users on Windows the physicalDotsPerInch() could return values
that are smaller than the normal 96 DPI which leads to big dialog sizes
taking the entire screen.
So we need to ensure it is at least 96 DPI.
Closes #11405 , #11407 .
2019-10-29 10:00:45 +08:00
sledgehammer999
cb31684a66
Merge pull request #11309 from sledgehammer999/webui_version
...
Bump Web API version
2019-10-20 23:07:49 +03: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
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
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
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
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
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 (Glassez)
40cf0203fb
Allow to refresh RSS item(s) via WebAPI
2019-08-13 17:39:19 +03:00
sledgehammer999
4acc44a5b0
Sync translations from Transifex and run lupdate/tstool.py
2019-08-04 13:50:34 +03: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 (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
Chocobo1
2ef96eb218
Prevent command injection via "Run external program" function
2019-07-21 12:07:32 +08: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
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
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
Thomas Piccirello
697fc626cd
Fix WebUI encoding of special characters
2019-06-22 15:52:19 -07: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
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 (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
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