Chocobo1
3e6c8a05dd
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.
6 years ago
Chocobo1
51e82762c5
Move related functions to Utils::Python
6 years ago
Mike Tzou
383a354700
Merge pull request #9069 from AltruisticCompany/mkpath
...
Create non-existing path in setLocationAction()
6 years ago
Goshik
1daadfc4ec
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.
6 years ago
Mike Tzou
8da5ccee03
Merge pull request #9102 from Chocobo1/cfg
...
Turn on Control Flow Guard for MSVC builds
6 years ago
Mike Tzou
8f6e066332
Merge pull request #9092 from hannsen/patch-1
...
PEP 8 compliant version comments in search plugins
6 years ago
Mike Tzou
40f4223d02
Merge pull request #9083 from Chocobo1/qrc
...
Move files to where it belongs
6 years ago
Chocobo1
33bb3719d7
Move optimization flags
...
Those flags aren't strictly required when compiling but they are
recommended to be on.
6 years ago
Chocobo1
171bc77059
Turn on Control Flow Guard for MSVC builds
...
The performance impact should be negligible according to the
documentation on msdn.
Closes #9101 .
6 years ago
Vladimir Golovnev
7d9cc04c88
Merge pull request #9090 from thalieht/renamefiles
...
Rename files and classes to match them
6 years ago
Mike Tzou
dc20fff6e4
Merge pull request #9059 from Piccirello/meta-key
...
Add WebUI support for Mac ⌘ (Command) key
7 years ago
thalieht
d34ddb2e3c
Change file names and classes names to match them
7 years ago
hannsen
a162550d7f
Properly normalize version string before parsing it
...
This allows python scripts to be formatted in PEP 8 style.
7 years ago
Vladimir Golovnev
0433d5f074
Merge pull request #9042 from thalieht/codingstyle
...
Fix coding style final
7 years ago
Mike Tzou
fd2fc65ba9
Merge pull request #9018 from Chocobo1/boostDef
...
Revise usage of BOOST_NO_CXX11_RVALUE_REFERENCES
7 years ago
Chocobo1
8be949fec3
Revise usage of BOOST_NO_CXX11_RVALUE_REFERENCES
...
Now the flag will be present when building with boost version <= 1.59.
Closes #8990 .
7 years ago
Thomas Piccirello
232f0f4b0b
Add WebUI support for Mac ⌘ (Command) key
...
The Command key will now be recognized for WebUI Table multi-selection, as Ctrl is.
7 years ago
Thomas Piccirello
091ad6103e
Implement key functions in Class and refactor
7 years ago
Mike Tzou
c66738dc05
Merge pull request #9066 from AltruisticCompany/setlocation
...
Show current save path in 'Set location' window
7 years ago
Mike Tzou
4100282673
Merge pull request #9073 from Chocobo1/apple
...
Replace deprecated function on macOS
7 years ago
thalieht
4022799881
Fix coding style
7 years ago
Chocobo1
5b7c089dd2
Move qm_gen.pri
7 years ago
Chocobo1
5d94db9c79
Move .desktop file
7 years ago
Chocobo1
6203f23f06
Move .ico files into icons dir
7 years ago
Chocobo1
26a4703398
Move .qrc files into its own directory
7 years ago
Mike Tzou
c8c7ed4a2e
Merge pull request #9053 from Chocobo1/optionWheel
...
Disable certain mouse wheel events in Options dialog
7 years ago
Chocobo1
0073f2c8ab
Replace deprecated function on macOS
...
Closes #8993 .
7 years ago
Mike Tzou
da87c2d9ae
Merge pull request #9060 from Chocobo1/preinc
...
Replace post-increment with pre-increment
7 years ago
Goshik
682ef9e2a8
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.
7 years ago
Chocobo1
5ddbf9bba9
Replace post-increment with pre-increment
...
And post-decrement with pre-decrement.
7 years ago
Eugene Shalygin
04aea413ba
Merge pull request #9055 from zeule/cmake
...
Update CMake build scripts
7 years ago
Eugene Shalygin
0e655b4f9a
Fix option name in winconf-xxx.cmake
...
The mistake was made by commit 7712d0ada0
7 years ago
Chocobo1
96819f3798
Disable certain mouse wheel events in Options dialog
...
The mouse wheel events for QComboBox & QSpinBox widgets in Options
dialog are filtered out.
7 years ago
Eugene Shalygin
fa770871e9
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.
7 years ago
Chocobo1
0b050e2a30
Remove duplicate private sections in class
...
And group related methods & variables together.
7 years ago
Mike Tzou
40330c4606
Merge pull request #9027 from Chocobo1/cache
...
Send Cache-Control header in WebUI responses
7 years ago
Mike Tzou
731865427e
Merge pull request #9008 from Chocobo1/changelog
...
Add changelog URL link in updater
7 years ago
Chocobo1
eaa276b284
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.
7 years ago
Chocobo1
050b78f378
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.
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