Commit graph

7284 commits

Author SHA1 Message Date
sledgehammer999
8b6e06cfff
Options to better memory control by libtorrent. Closes #7029. 2017-09-05 21:57:16 +03:00
sledgehammer999
7e8f2ecc76
Fix connection problems when a specific interface/ip is configured.
Closes #7235.
Bug related to #7099 and Qt.
2017-09-05 21:57:07 +03:00
vlakoff
0f061aa40d
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-09-05 21:54:35 +03:00
sledgehammer999
256211c16a
Bump to 3.3.15 2017-08-03 23:25:18 +03:00
sledgehammer999
bd684df315
Update Chagelog. 2017-08-03 23:22:43 +03:00
Vladimir Golovnev (Glassez)
8eb9117033 Fix temporary subfolder isn't deleted 2017-07-28 20:17:34 +03:00
sledgehammer999
83ae15550d
Bump to 3.3.14 2017-07-18 22:52:48 +03:00
sledgehammer999
3783541c30
Update Changelog. 2017-07-18 22:50:18 +03:00
sledgehammer999
cc388fe772
Bump API_VERSION and API_VERSION_MIN to 15. 2017-07-18 22:47:13 +03:00
sledgehammer999
78f2afa239
Fix duplicate variable name in .ui file. 2017-07-18 22:47:02 +03:00
sledgehammer999
245e8e09bb
Fix Qt4 compilation. 2017-07-18 16:04:50 +03:00
sledgehammer999
986cff9e66
Fix typo. 2017-07-18 03:33:40 +03:00
Tom Piccirello
73f477072f
Add Status column to webui (addresses #6815) (#7032)
* Add Status column to webui (addresses #6815)
2017-07-18 03:22:46 +03:00
Chocobo1
7e9ece2701
Load the domain list at least once on startup.
Fixup of 0532d546d7
2017-07-18 03:22:41 +03:00
Eugene Shalygin
ba8641f1ac
Set interface for outgoing traffic.
This sets interface for outgoing traffic to the same as for ingoing
(listetning) with libtorrent 1.1.x.
2017-07-18 03:21:31 +03:00
Chocobo1
76c6041031
Implement HTTP host header filtering
This filtering is required to defend against DNS rebinding attack.
2017-07-18 03:21:26 +03:00
Chocobo1
2ae8472a78
Avoid modifing request headers 2017-07-18 02:53:58 +03:00
Chocobo1
dc9df6d681
Revert back to intended fallthrough
Partial revert a7f4ea8b18
2017-07-18 02:53:57 +03:00
Chocobo1
aed9e8f1b7
Fix value comparison. Closes #7081.
`category` could be 'undefined'.
Fixup of a7f4ea8b18.
2017-07-18 02:53:55 +03:00
sledgehammer999
a94d14acaf
Update Travis to use the new macOS packages for qt and libtorrent. 2017-07-18 02:53:37 +03:00
Thomas Piccirello
317689bd5d
Fix javascript errors and follow best practices 2017-07-18 02:51:42 +03:00
Thomas Piccirello
1ad66ba791
Skip username/password check for active sessions (closes #6860) 2017-07-18 02:51:34 +03:00
sledgehammer999
b4fb193d4a
Fix Qt 5.2 build. 2017-07-03 18:17:27 +03:00
sledgehammer999
ab47559bf2
Switch appveyor to msvc2017. 2017-07-03 18:17:25 +03:00
sledgehammer999
ac87728150
Leave a comment about boost DEFINE and RC_1_1. Issues #7050 #6761. 2017-07-03 18:17:24 +03:00
scootergrisen
1559205114
Added danish translation 2017-07-03 18:17:23 +03:00
Anton-Latukha
54e8b6944e
systemd service with user switch.
rm previous systemd unit service

cmake now placing new file 'qbittorrent-nox@.service.in'

systemd service now "Type=simple"
2017-07-03 18:17:22 +03:00
Chocobo1
164e8156db
Separate "Release mode" linker options 2017-07-03 18:17:21 +03:00
Chocobo1
c83bb22e80
Raise total stack size on Windows to 8 MB. Closes #7021.
MSVC default was 1 MB.
2017-07-03 18:17:20 +03:00
Andrei Stepanov
166c2a72ac
Update russian.nsi 2017-07-03 18:17:19 +03:00
sledgehammer999
6b659804c7
Pad shorter python versions. Closes #6877. 2017-07-03 18:17:18 +03:00
Chocobo1
0831320f17
[WebAPI] Convert all header name constants to lowercase
This save us another transition when some day we implements HTTP/2
(which all headers are in lowercase).
2017-06-26 01:33:17 +03:00
Chocobo1
8d2fb06f65
[WebUI] relax CSRF defense. Closes #6882.
Allow HTTP request which has neither Origin nor Referer header included
2017-06-26 01:33:16 +03:00
Chocobo1
bf6f103142
Fix KEEP_ALIVE_DURATION value
I intended to specify 7 seconds, which should be 7000 milliseconds
2017-06-26 01:33:15 +03:00
thalieht
c4b12b854e
Add greek translation for windows installer 2017-06-26 01:33:13 +03:00
Burak Yavuz
de514e29c2
Updated turkish installer 2017-06-26 01:33:12 +03:00
KingLucius
03d020f0f2
Installer Arabic language update 2017-06-26 01:33:05 +03:00
sledgehammer999
15e7726233
Bump to 3.3.13 2017-06-01 02:32:05 +03:00
sledgehammer999
9258a9ae78
Update Changelog. 2017-06-01 02:29:53 +03:00
Chocobo1
7c2437e5f2
[WebUI]: Implement CSRF defense
Bump API version
2017-06-01 02:28:07 +03:00
sledgehammer999
dc315c080b
Revert "Remove workaround". Required since we also support Qt4 in this branch.
This reverts commit 2ba3104337.
2017-06-01 02:28:06 +03:00
sledgehammer999
971c340b53
Fix format-truncation warning. 2017-06-01 01:19:55 +03:00
Chocobo1
76b9b02177
Fix focusing on the previously opened dialog didn't work
Placing modeless dialog A on top of modeless dialog B, then open dialog B again,
the expected behavior is B on top of A.
2017-06-01 01:19:47 +03:00
sledgehammer999
375c2dfd0b Merge pull request #6876 from evsh/fix-cmake-qt4
cmake: fix compilation with Qt 4
2017-05-31 22:41:11 +03:00
Eugene Shalygin
6a3e7a12d8 cmake: fix compilation with Qt 4
In qmake we define QStringLiteral=QLatin1String, so define it in cmake
builds too.
2017-05-31 19:28:32 +02:00
sledgehammer999
d92ef3fa4d
Fix Qt4 build. 2017-05-31 00:34:21 +03:00
Eugene Shalygin
89d4cb257f
Fix crash in download piece bar
When torrent size is smaller than the image width, bytes per pixel was
set to zero and code was crashing. Set it to -1 instead, as we do when
image is empty. This will disable highliting, but our algorithm does not
work in this case anyway.
2017-05-31 00:34:21 +03:00
Chocobo1
47ebb0df58
Add new webUI API. Closes #6457.
Now getting piece information for a specific torrent is possible via:

* Returns an array of states (integers) of pieces in order. Defined as:
  "0=not downloaded", "1=downloading", "2=downloaded".
  GET /query/getPieceStates/<torrent_hash>

* Returns an array of hashes (strings) of pieces in order:
  GET /query/getPieceHashes/<torrent_hash>
2017-05-31 00:34:20 +03:00
Chocobo1
71169abaa6
[WebUI] Make cookie parsing robust
Previously cookie name such as "<any string>SID" will be mistakenly
accepted as "SID" session ID, this commit fixes it.

Use QString::isEmpty()
2017-05-31 00:34:19 +03:00
Chocobo1
83dd0ae86e
Refactor out helper function Utils::String::unquote
Remove redundant include
2017-05-31 00:34:18 +03:00