Chocobo1
0b050e2a30
Remove duplicate private sections in class
...
And group related methods & variables together.
7 years ago
Mike Tzou
731865427e
Merge pull request #9008 from Chocobo1/changelog
...
Add changelog URL link in updater
7 years ago
Mike Tzou
5f8feec1c1
Merge pull request #9013 from Piccirello/strengthen-csp
...
More restrictive Content Security Policy
7 years ago
Vladimir Golovnev
e61c882fee
Merge pull request #9015 from thalieht/style
...
Fix coding style
7 years ago
Mike Tzou
c4e4e7432d
Merge pull request #9009 from Chocobo1/login
...
Add logging messages in WebUI login action
7 years ago
Mike Tzou
658702dcbb
Merge pull request #8992 from Chocobo1/regex
...
Replace QRegExp with QRegularExpression
7 years ago
thalieht
356d6a6589
Fix coding style
7 years ago
Chocobo1
09f759355f
Replace QRegExp with QRegularExpression
...
Revise `static` keyword usage, static is added to frequently used
instances.
7 years ago
Chocobo1
c22e6b4502
Cleanup header include order
...
Add missing header.
Cleanup license.
7 years ago
Chocobo1
5c72a52ea2
Reset WebUI ban counter on login success
7 years ago
Chocobo1
d782d62b34
Add logging messages in WebUI login action
7 years ago
Thomas Piccirello
9b874b8941
Rename variables for clarity
7 years ago
Thomas Piccirello
43656aaa1e
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.
7 years ago
Thomas Piccirello
8f98f87d12
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.
7 years ago
Mike Tzou
6e96bbb2e9
Merge pull request #9001 from Chocobo1/csp
...
Improve WebUI security measures
7 years ago
Mike Tzou
93d4f2d595
Merge pull request #8984 from Chocobo1/magnetDialog
...
Refactor DownloadFromURLDialog
7 years ago
Chocobo1
68c6ddf05d
Add changelog link in program updater
...
Closes #8997 .
7 years ago
Vladimir Golovnev
15153a4446
Merge pull request #8976 from glassez/feed-uid
...
Don't use RSS feed URLs as base for file names. Closes #8399
7 years ago
Chocobo1
e8d378e167
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.
7 years ago
Chocobo1
ee202b721d
Refactor function
7 years ago
Chocobo1
727800ef2c
Improve DownloadFromURL behavior
...
URL should be considered case sensitive.
7 years ago
Chocobo1
34ed0cba08
Move DownloadFromURLDialog to its own file
...
Simplify code, no functionality changes.
Remove debug messages.
Capitalize dialog name.
Capitalize class name.
Update license text.
7 years ago
Chocobo1
817b7bb4f2
Add missing header include
7 years ago
Mike Tzou
1d25d95740
Merge pull request #8953 from Chocobo1/constexpr
...
Add constexpr to various classes
7 years ago
Mike Tzou
4a51f14328
Merge pull request #8967 from Chocobo1/protect
...
Add options to control WebUI security measures
7 years ago
sledgehammer999
2ef7adec89
Sync translations from Transifex and run lupdate
7 years ago
sledgehammer999
6ad8d730cc
Bump Web API version
7 years ago
sledgehammer999
a1a6a7ef56
Merge pull request #8868 from Chocobo1/macos
...
Fix GUI scaling factor on macOS
7 years ago
Vladimir Golovnev (Glassez)
200f4d0f07
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 .
7 years ago
sledgehammer999
8a976d40be
Merge pull request #8979 from sledgehammer999/comp_dbus
...
Fix compilation without D-Bus support
7 years ago
sledgehammer999
9f4e93df14
Merge pull request #8983 from Chocobo1/warning
...
Initialize variables properly
7 years ago
Chocobo1
4751b79f42
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]
7 years ago
sledgehammer999
80e93e23f9
Fix compilation without D-Bus support
...
Closes #8977
7 years ago
sledgehammer999
7c6a5afbff
Merge pull request #8962 from sledgehammer999/suppress_errors
...
Suppress multiple I/O errors for the same torrent
7 years ago
sledgehammer999
51499c4bdd
Merge pull request #8978 from airium/fix_pdb
...
Update conf.pri.windows from #8701
7 years ago
airium
868a65abd8
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.
7 years ago
Vladimir Golovnev
935bb5bd1c
Merge pull request #8966 from glassez/rss-date
...
Use RSS feed update time as a fallback. Closes #8959
7 years ago
Chocobo1
e099f6ad33
Add constexpr to IndexInterval class
...
Add const to IndexRange private members.
Remove redundant inline specifier.
Add missing parentheses.
7 years ago
Chocobo1
9631a9c2ad
Add constexpr to TriStateBool class
7 years ago
Chocobo1
b38925413d
Improve Utils::Version class
...
Add operator>=() and operator<=().
More methods are suitable to be constexpr.
Remove redundant boundary checking.
7 years ago
Mike Tzou
cd21071c69
Merge pull request #8954 from Chocobo1/firstlast
...
Relax behavior of "Download first and last piece first"
7 years ago
Mike Tzou
84df2794dc
Merge pull request #8944 from Chocobo1/literal
...
Make use of QStringLiteral
7 years ago
sledgehammer999
1bcbe65819
Merge pull request #8908 from adem4ik/master
...
Update Windows icons
7 years ago
sledgehammer999
b9546ccd4c
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
7 years ago
sledgehammer999
9df6ecafd0
Merge pull request #8961 from sledgehammer999/stats_dialog
...
Fix Stats dialog size
7 years ago
Chocobo1
9eeef0be97
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 .
7 years ago
Vladimir Golovnev (Glassez)
4f8ed09183
Add missing 'return' statement
7 years ago
Chocobo1
bad4d94f77
Add option to control WebUI clickjacking protection
...
Some users actually want embedding WebUI into their custom build iframe.
Closes #7370 .
7 years ago
Chocobo1
e8a69dd60c
Update Options dialog layout in WebUI
7 years ago
Vladimir Golovnev (Glassez)
9b80c4f7eb
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 .
7 years ago