Tom Piccirello
368fbd9e7d
Fix encoding of special characters
...
Special characters would get html encoded (& -> &). This has been tested against several payloads (e.g. <script>alert(0)</script>) to ensure it's not vulnerable to XSS.
6 years ago
Chocobo1
e47d7fe55c
Remove outdated defines
6 years ago
Chocobo1
11fdf91196
Suppress compiler warning
...
The debug message is emitting a format mismatch warning.
Fixup 4880dc812c
.
And add curly brackets to if statement.
6 years ago
Chocobo1
88c3ffbef8
Avoid creating unnecessary event loops
...
This is part 2.
6 years ago
Chocobo1
e31c1ca780
Use functor based QMetaObject::invokeMethod
6 years ago
Mike Tzou
183db3475a
Merge pull request #10816 from Chocobo1/ioerror
...
Misc. fixes
6 years ago
Chocobo1
4880dc812c
Use appropriate type
6 years ago
Chocobo1
516c968373
Support year unit in userFriendlyDuration()
6 years ago
Chocobo1
1de4c2497c
Fix wrong "Time Active" value displayed
...
Closes #9612 .
6 years ago
Chocobo1
19f50a363d
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 .
6 years ago
Chocobo1
e83019bdfa
Set wheel event to accepted only if we handle it
6 years ago
Chocobo1
a6c5a90630
Remove redundant variable
6 years ago
Chocobo1
3b015db77d
Add comparison operators for ProxyConfiguration
6 years ago
Chocobo1
623210df58
Improve handleFileErrorAlert error message
6 years ago
Mike Tzou
cfd02a4355
Merge pull request #10786 from Chocobo1/dialog
...
Avoid creating unnecessary event loops
6 years ago
Mike Tzou
68da10c39d
Merge pull request #10710 from Kolcha/mac-icon
...
Add some padding to macOS app icon
6 years ago
Vladimir Golovnev
ec33cdd8b5
Merge pull request #10811 from glassez/fix-unclear-name
...
Rename "fromNativePath" to "toUniformPath"
6 years ago
Vladimir Golovnev (Glassez)
8e65317d61
Rename "fromNativePath" to "toUniformPath"
...
Unlike "toNativePath" which name clearly reflects the function result
"fromNativePath" has no such clear meaning.
Since this function converts path into uniform format "toUniformPath"
is better name.
6 years ago
Chocobo1
3748b995ff
Avoid creating unnecessary event loops
...
The `exec()` method will create another event loop and transfer
control over there which might introduce unexpected bugs.
6 years ago
Mike Tzou
206bb018dd
Merge pull request #10801 from Chocobo1/timeout
...
Add WebAPI session timeout settings
6 years ago
Mike Tzou
46d445d042
Merge pull request #10792 from Chocobo1/rename2
...
Remove empty leftover folders after rename properly
6 years ago
Chocobo1
a64f3bbc6a
Reorder if conditions slightly
6 years ago
Chocobo1
9893a415c0
Fix updated save path not saved for paused torrents
6 years ago
Chocobo1
7d860b6c24
Log save_resume_data_failed_alert
6 years ago
Chocobo1
4e87aebf55
Don't remove parent directories
...
QDir::rmpath removes *all* parent directories while QDir::rmdir removes
the specified directory.
6 years ago
Chocobo1
440860c4a9
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.
6 years ago
Chocobo1
89124bdcc8
Add WebAPI session timeout settings
...
Raise default timeout to 1 hour.
6 years ago
Mike Tzou
fa3ad7eb57
Merge pull request #10800 from silverqx/focus-behavior-row-options-dlg
...
Focus behavior row in Options dialog
6 years ago
silverqx
3e97793ef1
Focus behavior row in Options dialog
6 years ago
Mike Tzou
a65f36592a
Merge pull request #10788 from silverqx/add-zlib-version-to-gui
...
Add zlib version to GUI & stackdump
6 years ago
silverqx
4f4f435e76
Add zlib version to GUI & stackdump
6 years ago
Mike Tzou
3a0f0c2f58
Merge pull request #10769 from Chocobo1/rename
...
Fix unable to rename folder on Windows. Closes #9151 .
6 years ago
Mike Tzou
56f0d0fef5
Merge pull request #10781 from Chocobo1/web
...
Avoid double lookup
6 years ago
Chocobo1
8191f1498a
Log file rename failed errors
6 years ago
Chocobo1
eabcae1018
Fix unable to rename folder on Windows
...
The bug occurs when the new path and old path only differ by letter case.
6 years ago
Chocobo1
9c747d3c6d
Move renameSelectedFile(BitTorrent::TorrentInfo &)
6 years ago
Chocobo1
62ccfd37b2
Move renameSelectedFile(BitTorrent::TorrentHandle *)
6 years ago
Chocobo1
5b9ff4a015
Avoid double lookup
6 years ago
Mike Tzou
63b0a5b78c
Merge pull request #10775 from Chocobo1/speed
...
Misc. improvements
6 years ago
Chocobo1
7c9309aa52
Fix wrong indentation
6 years ago
Mike Tzou
370544764e
Merge pull request #10750 from Chocobo1/modal
...
Fix unable to control add torrent dialogs when opened simultaneously
6 years ago
Mike Tzou
f3c0cc3cee
Merge pull request #10763 from Chocobo1/connect
...
Use Qt5 connect syntax
6 years ago
Mike Tzou
c95650c4f3
Merge pull request #10752 from thalieht/fw-declare
...
Forward declare and remove some unused #include
6 years ago
Chocobo1
431e7179ac
Remove redundant variable
6 years ago
Chocobo1
fbd5699786
Use switch statement
6 years ago
Chocobo1
e071c31a4e
Use Qt5 connect syntax
6 years ago
Chocobo1
dc9d0ed76f
Fix unable to control add torrent dialogs when opened simultaneously
6 years ago
Chocobo1
03fdc0e1c4
Remove redundant disconnect()
...
The dialog is going out-of-scope in these instance and the signal-slot connection will disconnect
automatically.
6 years ago
Chocobo1
014273d7ec
Drop support for "BC Link" format
...
Fixup 19d6de795c
.
6 years ago
thalieht
70f8882f87
Group Qt forward declarations separately from the others
6 years ago