Thomas Piccirello
afd4069eb4
Disable options when force proxy is enabled
2018-02-20 02:16:15 -05:00
Vladimir Golovnev
387f9b1230
Merge pull request #8438 from Piccirello/webui-proxy-only
...
Add "Use proxy only for torrents" option to webui
2018-02-20 09:06:30 +03:00
Luís Pereira
2114817890
Use qEnvironmentVariableIsEmpty
...
Instead of qgetenv("QT_AUTO_SCREEN_SCALE_FACTOR").isEmpty().
It's faster (don't allocate memory) and don't throw exceptions.
2018-02-19 21:35:23 +00:00
vit9696
dac2ab5409
Fix compilation with Qt 5.11 on macOS
2018-02-19 22:39:25 +03:00
Mike Tzou
b87ca60c5a
Merge pull request #8134 from Piccirello/webui-show-status-bar
...
Add option to show/hide webui status bar
2018-02-20 00:09:09 +08:00
Mike Tzou
6d44075662
Merge pull request #8228 from Piccirello/webui-save-window-size
...
WebUI Save user's resized windows
2018-02-20 00:02:32 +08:00
Thomas Piccirello
69af205094
Use .each(). Refactor conditionals.
2018-02-18 23:54:48 -05:00
Thomas Piccirello
8a2e3f5d93
Add option to show/hide webui status bar
2018-02-18 23:46:27 -05:00
Thomas Piccirello
3f79726ab9
Make download + upload windows resizable
2018-02-18 22:50:21 -05:00
Thomas Piccirello
d1c4b1599a
WebUI Save user's resized window sizes
2018-02-18 22:50:21 -05:00
Vladimir Golovnev (Glassez)
a0842a1e68
Don't convert POST parameter names to lower-case
2018-02-18 19:57:48 +03:00
Vladimir Golovnev (Glassez)
29042e4841
Fix wrong WebAPI param name
2018-02-18 19:54:08 +03:00
Thomas Piccirello
0d55599e02
Add "Use proxy only for torrents" option to webui
2018-02-17 21:25:42 -05:00
Luís Pereira
ea1b0b26b1
Don't implicitly cast iterator to const_iterator
...
It prevents detachments:
To illustrate:
QMap<QString, QString> map;
/* code compiles and works fine but find() returns the non-const
QMap::iterator that detaches!
*/
QMap<QString, QString>::const_iterator it = map.find("girish");
but also some subtle bugs:
QHash<int, int> wrong;
if (wrong.find(1) == wrong.cend()) {
qDebug() << "Not found";
} else {
/* find() detached the container before cend() was called, so it
prints "Found"
*/
qDebug() << "Found";
}
QHash<int, int> right;
if (right.constFind(1) == right.cend()) {
qDebug() << "Not found"; // This is correct now !
} else {
qDebug() << "Found";
}
Enforced by QT_STRICT_ITERATORS definition.
2018-02-17 17:02:52 +00:00
Vladimir Golovnev (Glassez)
176b2eb18b
Disable Auto TMM when RSS rule has save path
...
Closes #8411 .
2018-02-16 14:02:01 +03:00
Vladimir Golovnev
98a1c111b9
Merge pull request #5287 from elFarto/master
...
Implement RSS Smart Filter
2018-02-16 13:43:38 +03:00
Mike Tzou
47048d8410
Merge pull request #8349 from Chocobo1/stats
...
Improve stats dialog
2018-02-16 15:31:01 +08:00
Mike Tzou
882fa7ecd4
Merge pull request #8336 from Chocobo1/coalesce
...
Add "Coalesce reads & writes" checkbox in advanced options
2018-02-16 15:30:17 +08:00
Vladimir Golovnev
d07ece53e6
Merge pull request #7610 from glassez/webapi2
...
Redesign Web API
2018-02-16 10:09:35 +03:00
Vladimir Golovnev
afd2f6ba14
Merge pull request #8344 from FranciscoPombal/master
...
Fixed typo in function name isSplashScreenDisabled()
2018-02-16 09:55:37 +03:00
Luís Pereira
44e4b5d238
Don't use qDeleteAll() on temporaries
...
qDeleteAll() is being used on an unnecessary temporary container created
by QHash::values().
Using qDeleteAll(mycontainer) instead.
2018-02-12 16:36:03 +00:00
sledgehammer999
c59d2575c8
Sync translations from Transifex and run lupdate.
2018-02-09 21:14:12 +02:00
thalieht
f50b4724a6
Expose the libtorrent fields for "dont_count_slow_torrents" to GUI:
...
inactive_down_rate
inactive_up_rate
auto_manage_startup
2018-02-08 14:14:39 +02:00
Stephen Dawkins
48cbccff1e
Made smart episode filter regular expression configurable
2018-02-05 19:23:11 +00:00
Chocobo1
e31ec20ec4
Clarify some terms in stats dialog
...
Reorder list
2018-02-02 23:41:42 +08:00
Chocobo1
b9ec216aa5
Redefine CacheStatus.readRatio field.
...
Now it is defined as:
CacheStatus.readRatio = (blocks read from cache) / (blocks read from disk + blocks read from cache)
The 2 variables in denominator are counted separately and the formula before this change doesn't really make sense
Add percentage sign to "Read cache hits" stats
Also remove redundant header include
2018-02-02 23:41:42 +08:00
FranciscoPombal
2ac3004762
Fixed typo in function name isSplashScreenDisabled()
2018-01-31 12:05:41 +00:00
Chocobo1
543cbc6d1c
Add "Coalesce reads & writes" checkbox in advanced options
...
The setting is defaulted to ON for Windows. Closes #8295 .
2018-01-30 22:46:14 +08:00
Vladimir Golovnev (Glassez)
27d8dbf13b
Redesign Web API
...
Normalize Web API method names.
Allow to use alternative Web UI.
Switch Web API version to standard form (i.e. "2.0").
Improve Web UI translation code.
Retranslate changed files.
Add Web API for RSS subsystem.
2018-01-28 19:16:24 +03:00
sledgehammer999
e487b31877
Merge pull request #8319 from sledgehammer999/saner_log_settings
...
Set default file log size to 65 KiB and delete backup logs older than…
2018-01-27 15:26:03 +02:00
Stephen Dawkins
2845a791d0
Initial implementation of Smart Filter feature
2018-01-27 09:14:36 +00:00
sledgehammer999
024df8c53f
Set default file log size to 65 KiB and delete backup logs older than 1 month.
2018-01-27 01:17:50 +02:00
Luís Pereira
5154d431f6
Don't set application name twice
...
It's an artifact introduced by commit b3c73b7868
.
2018-01-25 16:30:11 +00:00
Vladimir Golovnev (Glassez)
0fc1ad664f
Implement Qt wrapper for std::runtime_error
2018-01-23 11:08:41 +03:00
Vladimir Golovnev (Glassez)
bb683bd393
Switch built-in Web UI html to HTML5
2018-01-23 11:08:37 +03:00
Vladimir Golovnev (Glassez)
69df8174b9
Allow to load TorrentInfo from data buffer
2018-01-23 11:08:32 +03:00
Vladimir Golovnev
56ccf28000
Merge pull request #8133 from Piccirello/webui-statistics-format
...
WebUI Statistics parity with GUI
2018-01-23 10:15:39 +03:00
Vladimir Golovnev
0a45fc9ffe
Merge pull request #7990 from Piccirello/subnet-whitelist-refactor
...
Refactor ip subnet whitelist
2018-01-23 10:03:00 +03:00
Mike Tzou
a56262401b
Merge pull request #8304 from Piccirello/webui-torrent-status
...
Remove default case, fix #8302
2018-01-23 12:28:22 +08:00
Tom Piccirello
ebea0d91af
Remove default case, fix #8302
2018-01-22 02:05:41 -05:00
Vladimir Golovnev
d6cea2f76d
Merge pull request #8301 from glassez/clear-settings
...
Remove legacy and corrupted RSS settings. Closes #8278
2018-01-21 20:42:26 +03:00
Vladimir Golovnev (Glassez)
1c18edac76
Remove legacy and corrupted RSS settings
2018-01-21 20:01:56 +03:00
Thomas Piccirello
65e0aa6b82
Add default case
2018-01-18 23:30:19 -05:00
sledgehammer999
53cc8e1115
Revert "Remove examples from gpl.html. Closes #7749."
...
The GPL folks are a bit overzealous. See https://www.gnu.org/licenses/gpl-faq.html#GPLOmitPreamble
This reverts commit 5cf4f00824e142c8c984099bdf802e6a4b17808b.
2018-01-18 16:25:38 +02:00
sledgehammer999
72b8ec8f3b
Sync translations from Transifex and run lupdate.
2018-01-18 16:18:44 +02:00
sledgehammer999
29e24232ad
Merge pull request #8269 from Piccirello/webui-torrent-status
...
Match webui statuses to gui, closes #7516
2018-01-18 16:11:24 +02:00
Thomas Piccirello
6d0cceca83
Use switch statement
2018-01-18 00:15:13 -05:00
Thomas Piccirello
8e9b928b61
Match webui statuses to gui, closes #7516
2018-01-18 00:15:12 -05:00
Tom Piccirello
e6a1b72354
Only add search separators as needed
2018-01-16 00:22:51 -05:00
Mike Tzou
e48b97466c
Merge pull request #8199 from winneon/reannounce
...
transferlist: added a force reannounce option
2018-01-10 18:48:41 +08:00
Chocobo1
5c50dba9e1
Torrent creator: raise maximum piece size to 32 MiB
2018-01-09 13:04:44 +08:00
Chocobo1
fb698896c9
Fix translation context.
...
Partially addresses #8220 .
Also sort include headers
2018-01-07 23:01:22 +08:00
sledgehammer999
95c32221a2
Update copyright year.
2018-01-06 02:23:09 +02:00
Thomas Piccirello
9b919b6c34
Add missing units
2018-01-05 02:48:41 -05:00
Thomas Piccirello
49d3b7bf30
Right-align stat values
2018-01-05 02:48:41 -05:00
Chocobo1
1d778676cd
Fix translation context. Closes #8211 .
2018-01-05 12:07:50 +08:00
Jesse Bryan
e887b3106f
transferlist: added a force reannounce option. closes #6448 .
2018-01-03 16:48:31 -06:00
Mike Tzou
a73c4d57b1
Merge pull request #8136 from Chocobo1/pri
...
Sort filename lists in .pri files
2018-01-03 23:53:50 +08:00
sledgehammer999
13f69a2245
Fix constant status of '[F] Downloading'. Closes #7628 .
2018-01-02 18:09:48 +02:00
Chocobo1
ec337a8a84
Sort filename lists in .pri files
2017-12-31 11:53:45 +08:00
Mike Tzou
267362a7a0
Merge pull request #7876 from Chocobo1/optionIcons
...
Fix gui issues on high DPI monitor
2017-12-31 11:42:55 +08:00
Mike Tzou
11f26bfefd
Merge pull request #7878 from Chocobo1/runExt
...
Revert "Run external program" function
2017-12-28 21:26:53 +08:00
Vladimir Golovnev (Glassez)
22bdf98617
Don't process new/updated RSS rules when disabled
2017-12-27 20:01:40 +03:00
Thomas Piccirello
ddd6c82dd7
Use https for www.qbittorrent.org
2017-12-26 18:22:03 -05:00
Vladimir Golovnev
155dc49c5a
Merge pull request #7914 from Piccirello/webui-columns
...
Webui add torrent columns to match gui
2017-12-26 22:03:07 +03:00
Chocobo1
c2c0dd2717
Fix column size too narrow on resize
...
Instead of giving a value, just resize to the content size
2017-12-24 21:54:56 +08:00
Chocobo1
27cf98a962
Resize dialog size on high DPI monitors
2017-12-24 21:54:56 +08:00
Chocobo1
aaaa67050c
Fix gui issues on high DPI monitor
...
Fix LineEdit widget size issues
Up-scale the icons on statusbar
Up-scale the icons in options dialog. Closes #7729 .
Fix small icons in cookie manager
Fix progress bar height
Fix small icons in confirm delete dialog
Fix small icons in options dialog
Fix small images in about dialog
2017-12-24 21:47:46 +08:00
Chocobo1
52ae118e3c
Tweak spacing
2017-12-24 21:47:46 +08:00
Chocobo1
cb929f7e59
Cleanup
...
Use Qt5 connect syntax
Reorder include headers
2017-12-24 21:47:44 +08:00
sledgehammer999
94b64884f8
Merge pull request #7997 from Piccirello/webui-content-columns
...
Add "Remaining" and "Availability" columns to webui Content tab
2017-12-23 20:32:46 +02:00
sledgehammer999
8a590c7472
Merge pull request #8054 from hannsen/master
...
search only when category is supported by plugin
2017-12-23 20:24:06 +02:00
sledgehammer999
b11c33b2d9
Merge pull request #8068 from thalieht/readableFlags
...
Make peer information flags in peerlist more readable
2017-12-23 19:33:19 +02:00
sledgehammer999
cf9bad03aa
Fix application of speed limits on LAN and μTP connections. Closes #7745 .
2017-12-23 19:19:08 +02:00
sledgehammer999
c5127d2eec
Merge pull request #8091 from sledgehammer999/fix_natural_sort
...
Fix natural sorting
2017-12-23 19:16:29 +02:00
sledgehammer999
0a35adbdba
Merge pull request #8087 from sledgehammer999/fix_flag_sorting
...
Fix sorting of country flags column in Peers tab.
2017-12-23 19:15:44 +02:00
sledgehammer999
38d68d9d97
Merge pull request #8103 from glassez/fix-8094
...
Fix RSS rule updated when deleting. Closes #8094
2017-12-23 19:09:59 +02:00
sledgehammer999
8494c6c5d4
Merge pull request #8003 from Chocobo1/fileicon
...
Use standard folder icon for open file behavior on Windows
2017-12-23 19:09:05 +02:00
sledgehammer999
cbfdb7df56
Merge pull request #8033 from vit9696/cmdw
...
Fix CMD+W not closing the main window
2017-12-23 19:07:51 +02:00
sledgehammer999
ea44923cce
Merge pull request #8032 from vit9696/fopen
...
Fix torrent file selection in Finder on mac
2017-12-23 19:03:33 +02:00
Vladimir Golovnev (Glassez)
e75f8603b0
Fix RSS rule updated when deleting
...
Closes #8094
2017-12-23 16:25:09 +03:00
sledgehammer999
5437974b85
Fix natural sorting when the common part of 2 strings ends partially in a number which continues in the uncommon part.
...
Closes #8080 #6732 .
2017-12-21 17:00:37 +02:00
sledgehammer999
99abc21dab
Simplify sorting code.
2017-12-21 15:26:38 +02:00
sledgehammer999
5156399c68
Fix sorting of country flags column in Peers tab.
2017-12-21 15:21:53 +02:00
Mike Tzou
c8a5ef8c5d
Merge pull request #7985 from Chocobo1/source
...
Add source field in Torrent creator
2017-12-21 20:26:38 +08:00
thalieht
5b52835377
Make peer information flags in peerlist more readable
2017-12-20 11:22:23 +02:00
Chocobo1
fb6bdbefd5
WebUI: Only prepend scheme when it is not present. Closes #8057 .
2017-12-18 14:12:31 +08:00
sledgehammer999
53c33317f9
Sync translations from Transifex and run lupdate.
2017-12-17 23:14:53 +02:00
jan.karberg
d534973650
search only when category is supported by plugin Closes #8053
2017-12-17 13:04:37 +01:00
vit9696
ed154d35ba
Fix Finder reveal in preview and torrent contents
2017-12-17 02:16:36 +03:00
vit9696
ff7e5da6de
Fix cmd+w not closing the main window on macOS
2017-12-13 13:30:40 +03:00
vit9696
d7fa5b6b6b
Put macOS specific functions to MacUtils namespace
2017-12-12 20:53:20 +03:00
vit9696
d57bd62add
Fix torrent file selection in Finder on mac
2017-12-12 20:53:20 +03:00
Thomas Piccirello
0f6dff6315
Make value formatting consistent with GUI
2017-12-12 01:25:06 -05:00
Thomas Piccirello
97b4e4a3d3
Add "Remaining" and "Availability" columns to webui Content tab
2017-12-12 01:25:06 -05:00
Vladimir Golovnev
84c84160fd
Merge pull request #8008 from glassez/fix-ipv6
...
Fix WebUI is not reachable via IPv6
2017-12-11 07:58:48 +03:00
sledgehammer999
60c9926834
Merge pull request #8005 from Chocobo1/helpbutton
...
Disable the "?" help button in all dialogs on Windows
2017-12-11 03:29:31 +02:00
Vladimir Golovnev (Glassez)
fcde1ba09c
Fix WebUI is not reachable via IPv6
2017-12-09 09:57:19 +03:00
Chocobo1
8dcf326576
Add source field in Torrent creator. Closes #7965 .
...
This field is often used for cross-seeding between (private) trackers.
2017-12-09 00:39:50 +08:00
Chocobo1
22b0ebb5a8
Disable the "?" help button in all dialogs on Windows. Closes #7365 .
2017-12-08 12:51:06 +08:00
Chocobo1
c5d99a12f3
Use standard folder icon for open file behavior on Windows. Closes #7880 .
2017-12-08 09:15:44 +08:00
Thomas Piccirello
240f5b6718
Remove invalid subnets directly from list
2017-12-06 20:32:50 -05:00
Thomas Piccirello
d184bd8c82
Perform ip string validation inside setWebUiAuthSubnetWhitelist
2017-12-06 02:05:33 -05:00
Thomas Piccirello
98a2dedb32
Separate subnet whitelist options into two lines
2017-12-06 02:05:32 -05:00
Chocobo1
c405cb2f1c
Add struct TorrentCreatorParams for passing parameters
...
Filter out continuous newlines in Trackers field
Avoid adding empty url seed entries
Cleanup:
Replace boost::bind
Add const
Use nullptr
Use QString::SkipEmptyParts
Rename variables
Throw proper exception type
2017-12-06 01:56:36 +08:00
sledgehammer999
5ea100352e
Merge pull request #7958 from Chocobo1/fixsort
...
Fix crash in #7952
2017-12-04 22:58:22 +02:00
Chocobo1
86c5a8df75
Partial revert eac8838dc2
. Fixes #7952 .
...
mapFromSource() didn't work as expected, when used in lessThan(), it sometimes
returns an invalid QModelIndex.
A crash is observed when filtering source model via filterAcceptsRow() in #7952 ,
the crash is due to endless recursive of filterAcceptsRow() & lessThan() calling
each other and mapFromSource() is the culprit of it.
2017-12-04 17:40:44 +08:00
Thomas Piccirello
a05562cdc5
Add Time Active column
2017-12-03 15:01:35 -05:00
Thomas Piccirello
ee37f1db3d
Add Tags columns
2017-12-03 15:01:35 -05:00
sledgehammer999
c9720cad81
Merge pull request #7915 from Chocobo1/dragndrop
...
Allow to drag-n-drop URLs into mainwindow to initiate download
2017-12-02 20:35:47 +02:00
sledgehammer999
2124ef261a
Merge pull request #7964 from Chocobo1/typeError
...
[WebUI] Fix logout behavior
2017-12-02 14:23:38 +02:00
sledgehammer999
aae6030064
Merge pull request #7963 from Chocobo1/logo
...
Fix missing qbt logo on login page in webUI. Closes #7953 .
2017-12-02 14:22:43 +02:00
Chocobo1
b234fcec9c
[WebUI] Use POST for logout command
...
This is to avoid browser being smart to prefetch the link then logging
out the user.
2017-12-02 14:32:40 +08:00
Chocobo1
1a45145c1e
[WebUI] Add check to avoid type error after logout
2017-12-02 14:32:40 +08:00
Chocobo1
c1a282aa7b
Fix missing qbt logo on login page in webUI. Closes #7953 .
2017-12-02 14:31:48 +08:00
sledgehammer999
e23c5614b6
Add height padding to the transfer list icons. Closes #7951 .
2017-12-02 00:50:40 +02:00
sledgehammer999
f457937980
Sync translations from Transifex and run lupdate.
2017-12-01 01:44:24 +02:00
Mike Tzou
eac8838dc2
[GUI] Implement stable sort ( #7703 )
...
* NaturalCompare now returns compare result instead of "less than" result
* Change to stable sort in GUI components
* Add Utils::String::naturalLessThan() helper function
* Use Qt::CaseSensitivity type
2017-11-30 17:10:30 +08:00
Mike Tzou
74d281526b
Merge pull request #7647 from thalieht/style
...
Coding style for many files
2017-11-30 17:09:18 +08:00
sledgehammer999
a55be5e58f
Stop logging IP filter parsing errors after a while.
...
When a lot of errors happen the resulting log lines introduce
a huge slowdown of the GUI, due to writing each log line to disk.
Closes #7755 .
2017-11-29 15:49:59 +02:00
sledgehammer999
48c46dc79a
Fix crash on some systems when creating address object for 255.255.255.255
...
Closes #7735 .
2017-11-27 19:06:37 +02:00
Chocobo1
b9339bb727
Allow to drag-n-drop URLs into mainwindow to initiate download
...
Fix issue: https://github.com/qbittorrent/qBittorrent/issues/7785#issuecomment-347092418
Minor refactor
2017-11-27 16:45:55 +08:00
Thomas Piccirello
e1f8e6aa6f
Reposition Total Size column to match gui
2017-11-26 19:37:20 -05:00
Chocobo1
76c95d8c6c
Revert "Run external program" function
...
This revert df95efe33e
partially
2017-11-25 15:48:29 +08:00
Vladimir Golovnev
a7da714b13
Merge pull request #7832 from glassez/rss-import
...
Implement Import/Export RSS rules. Closes #7721
2017-11-25 10:35:24 +03:00
Vladimir Golovnev (Glassez)
916cfcdb03
Implement Import/Export RSS rules in JSON format
2017-11-24 21:20:44 +03:00
Vladimir Golovnev (Glassez)
b8fc415870
Implement Import/Export RSS rules in legacy format
2017-11-24 16:19:16 +03:00
sledgehammer999
99341409f4
Remove examples from gpl.html. Closes #7749 .
2017-11-24 02:03:29 +02:00
Vladimir Golovnev
342f5f1a09
Merge pull request #7821 from glassez/fix-rss
...
Fix RSS Parser. Closes #7751 , #7763 , #7768 , #7786
2017-11-23 14:35:42 +03:00
sledgehammer999
d74efd839f
Merge pull request #7826 from Chocobo1/tcp
...
Change MixedModeAlgorithm default to TCP. Closes #7779 .
2017-11-23 01:53:29 +02:00
Heiko Becker
af898e9117
Fix build with --disable-webui
...
"app/application.cpp:108:7: error: class 'Application' does not have
any field named 'm_webui'"
2017-11-23 01:52:38 +02:00
Vladimir Golovnev (Glassez)
c0e48627ae
Fix RSS Parser
...
Closes #7751
Closes #7763
Closes #7768
Closes #7786
2017-11-22 19:11:37 +03:00
Chocobo1
534ed91d04
Change MixedModeAlgorithm default to TCP. Closes #7779 .
...
MixedModeAlgorithm::Proportional will throttle TCP connections when utp
is in use and users is expecting maximum speed no matter what, so now
disable the throttling.
2017-11-22 22:39:52 +08:00
thoradia
ca5c1e8a15
Fix missing include in rss_feed.cpp
...
Fixes #7805 .
2017-11-22 14:39:07 +01:00
sledgehammer999
4e96a1065e
Bump API_VERSION to 16.
2017-11-22 01:14:33 +02:00
sledgehammer999
c9a8d19e6c
Sync translations from Transifex and run lupdate.
2017-11-22 01:01:05 +02:00
sledgehammer999
81f5fdda15
Correctly check if torrent passed during application start already exists.
2017-11-22 00:42:26 +02:00
sledgehammer999
a38730eb9e
Merge pull request #7792 from Chocobo1/creator2
...
Fix crash when aborting a torrent creation process
2017-11-22 00:41:26 +02:00
sledgehammer999
1a9e650936
Merge pull request #7782 from Chocobo1/utf8
...
Remove superfluous QString::fromUtf8()
2017-11-22 00:40:51 +02:00
Chocobo1
27090f0cfb
Remove superfluous QString::fromUtf8()
2017-11-21 22:48:00 +08:00
Chocobo1
433b5a46cf
Fix crash when aborting a torrent creation process. Closes #7783 .
...
The wait time wasn't long enough causing the thread to
terminate prematurely.
Also, to avoid crashing qbt entirely when creating a torrent for a very
big file, I decided to wait indefinitely here.
2017-11-21 18:33:47 +08:00
Chocobo1
034d71dce3
Wrap function into anonymous namespace
2017-11-21 18:23:39 +08:00
Chocobo1
c3de2310c5
Avoid double delete on close
2017-11-21 18:11:28 +08:00
Chocobo1
b9478e0f00
Use Qt5 connect syntax
2017-11-21 18:11:28 +08:00
Chocobo1
94aeac992c
Allow drag-n-drop magnet links to mainwindow. Closes #7742 .
2017-11-21 14:19:34 +08:00
sledgehammer999
4927d26877
Fix english typo.
2017-11-21 02:14:44 +02:00
thalieht
ae1634623e
Coding style for many files
2017-11-20 23:29:59 +02:00
sledgehammer999
296c7d3c13
Merge pull request #7764 from Chocobo1/logo
...
[WebUI] Fix logo missing in login page
2017-11-20 23:28:13 +02:00
sledgehammer999
22add258ae
Merge pull request #7753 from luigino/master
...
qtsingleapplication should always be built statically to avoid depend…
2017-11-20 22:31:46 +02:00
Chocobo1
77f66be493
[WebUI] Fix logo missing in login page
2017-11-21 03:41:07 +08:00
Vladimir Golovnev
f41cb8089d
Merge pull request #6779 from Piccirello/disable-web-auth
...
Add ip subnet whitelist for bypassing webui auth
2017-11-20 21:52:33 +03:00
luigino
32a686a037
qtsingleapplication should always be built statically to avoid dependency problems
2017-11-20 17:23:22 +01:00
sledgehammer999
236abcf3f1
Fix crash on opening torrent/magnet (uninitialized pointer). Closes #7739 #7723 .
2017-11-20 17:46:31 +02:00
sledgehammer999
9f461d0fe6
Sync translations from Transifex and run lupdate.
2017-11-20 02:23:31 +02:00
sledgehammer999
9db1f3baca
Merge pull request #6484 from sledgehammer999/new_logo
...
Change qbittorrent logo. Issue #6467 .
2017-11-19 19:15:50 +02:00
sledgehammer999
af5a02d971
Merge pull request #7673 from sledgehammer999/webui_clean_exit
...
WebUI: Correctly exit depending if mainloop is running.
2017-11-19 19:12:30 +02:00
Vladimir Golovnev (Glassez)
71bb6538db
Fix WebUI error handling
2017-11-19 19:10:04 +02:00
Mike Tzou
d821bdc9f3
Merge pull request #7669 from Chocobo1/portCheck
...
[WebAPI] Improve error messages
2017-11-10 23:41:19 +08:00
Vladimir Golovnev
63461e0895
Merge pull request #7688 from glassez/rss-log
...
Improve RSS events logging
2017-11-10 14:38:38 +03:00
Eugene Shalygin
08755a211b
Merge pull request #7596 from evsh/path-history-items
...
Add option to tune download history list length. Closes #4043 .
2017-11-10 12:23:40 +01:00
Vladimir Golovnev (Glassez)
a3c9c1c386
Improve RSS events logging
...
Fix RSS log messages was untranslatable.
Add more logging.
2017-11-09 15:40:39 +03:00
Thomas Piccirello
0de2f1776e
Remove duplicate header
2017-11-08 22:39:49 -05:00
Thomas Piccirello
da0db92b9f
Enable preferences Apply button when ip banlist is modified
2017-11-08 22:39:49 -05:00
Thomas Piccirello
95bf63330e
Add ip subnet whitelist for bypassing webui auth
2017-11-08 22:39:49 -05:00
Mike Tzou
04cec39277
Merge pull request #7667 from Chocobo1/stackdump
...
Include & print caught signal in stackdump
2017-11-04 11:10:49 +08:00
Nikolay Korotysh
7d0342e366
dropped unneeded executable flag from several files
2017-11-03 17:19:54 +03:00
Chocobo1
21bc08d643
Include/print caught signal in stackdump
2017-11-03 14:13:17 +08:00
sledgehammer999
ffa6f7ea34
Bump API_VERSION to 16.
2017-11-03 01:57:32 +02:00
Chocobo1
aa4107478e
[WebAPI] Improve error messages
...
Also refactor to use class methods
2017-11-02 23:01:14 +08:00
sledgehammer999
9f8e7917a8
Merge pull request #7657 from Chocobo1/upnp
...
Disable upnp & nat-pmp on startup if disabled in options. Closes #7338 .
2017-10-31 18:24:28 +02:00
Chocobo1
1b652c882e
Refactor
...
Add const
Use Qt5 connect syntax
2017-10-31 19:09:01 +08:00
Chocobo1
601234e492
Explicitly set UPnP state on start-up. Closes #7338 .
...
libtorrent 1.1 enables upnp by default.
2017-10-31 19:08:58 +08:00
sledgehammer999
6c804edadf
Change default settings for tracker/tier announces to mimick ìTorrent behavior.
2017-10-30 23:27:29 +02:00
sledgehammer999
3a5c0d9818
Allow to specify if announcing to all tiers is desired.
2017-10-30 23:27:28 +02:00
sledgehammer999
2194a05e60
Merge pull request #7652 from Chocobo1/aboutExtLink
...
Open links in browser. Closes #7651 .
2017-10-30 18:06:34 +02:00
sledgehammer999
a89c1a8d9a
Use new logo in the file icon.
2017-10-30 02:41:26 +02:00
sledgehammer999
86215f8483
Use new logo in the splash screen.
2017-10-30 02:41:25 +02:00
sledgehammer999
a1b01c1b40
Remove unused image.
2017-10-30 02:41:24 +02:00
sledgehammer999
09cb95d3da
Use the SVG for the tray icon.
2017-10-30 02:41:23 +02:00
sledgehammer999
48d7bdee0e
Change qbittorrent logo. Issue #6467 .
2017-10-30 02:41:22 +02:00
sledgehammer999
5157fc201c
Add Turkish translator in about page.
2017-10-30 00:32:44 +02:00
Chocobo1
492ea5bceb
Open links in browser. Closes #7651 .
2017-10-28 14:51:20 +08:00
Mike Tzou
e8cf351b6a
Merge pull request #7643 from Chocobo1/email
...
Allow SMTP sender to be set. Closes #7575 .
2017-10-27 12:52:35 +08:00
Chocobo1
fc0628d35b
Allow SMTP sender to be set. Closes #7575 .
2017-10-26 17:57:32 +08:00
Mike Tzou
1f7391737e
Merge pull request #7445 from Chocobo1/fixAddTorrent
...
Disable processing socket events in findIncompleteFiles()
2017-10-25 23:00:35 +08:00
Mike Tzou
acdb7a27dc
Merge pull request #7638 from Chocobo1/msg
...
[WebUI] Improve log messages
2017-10-24 20:19:12 +08:00
Eugene Shalygin
1fed324f91
Add option to tune download history list length. Closes #4043 .
2017-10-24 12:56:05 +02:00
Eugene Shalygin
e4771ba508
Add maxVisibleItems combo box property to FileSystemPathComboEdit.
2017-10-24 12:56:04 +02:00
sledgehammer999
6a36a3b1d9
Run lupdate again.
2017-10-24 03:34:49 +03:00
sledgehammer999
2956b28a32
Mention more translators in the about page after their request.
2017-10-24 03:32:57 +03:00
sledgehammer999
50471ec8c8
String fixes and optimizations mentioned by translators on Transifex.
2017-10-24 03:32:56 +03:00
sledgehammer999
3aa9ff5fba
Sync translations from Transifex and run lupdate.
2017-10-24 01:28:31 +03:00
Mike Tzou
b6be5afb89
Merge pull request #7584 from Chocobo1/refactor
...
[WebAPI] Refactor
2017-10-23 19:36:28 +08:00
Chocobo1
157b809e21
[WebUI] Improve log messages
2017-10-23 16:45:41 +08:00
Mike Tzou
f74e2b0130
Merge pull request #7631 from Chocobo1/webUIaddr
...
Reinitialize webUI server when "IP address" setting changed
2017-10-23 14:11:50 +08:00
sledgehammer999
c887a162ba
Fix row height/width in webui for country flags.
...
Patch by Chocobo1.
2017-10-23 01:23:54 +03:00
sledgehammer999
52df71ad3a
Use svg icons for the country flags.
...
Closes #6223 .
2017-10-23 01:23:45 +03:00
Chocobo1
d6ddc90199
Reinitialize webUI server when "IP address" setting changed
...
An app restart won't be necessary from now on.
2017-10-22 14:42:51 +08:00
Mike Tzou
9600e7f5ad
Merge pull request #7573 from fmatthew5876/config_webui_ip
...
Add WebUi\Address config option
2017-10-22 14:18:08 +08:00
Chocobo1
f3603d05e7
Disable processing events when adding torrents. Closes #7436 .
...
webUI connection timeout & deletion might occur while
doing processEvents() and will result in use-after-free segfault.
2017-10-22 13:54:03 +08:00
Matthew Fioravante
8cd243b06b
Add WebUi\Address config option
2017-10-21 09:32:30 -04:00
Mike Tzou
1da3437a4a
Merge pull request #7603 from Chocobo1/debugMsg
...
[WebUI]: Print error messages upon receiving invalid header fields
2017-10-21 01:10:25 +08:00
Vladimir Golovnev
c72fb92318
Merge pull request #7529 from dzmat/speedwidget_qtconcurrent_removal
...
Excess QtConcurrent usage removal
2017-10-20 10:32:27 +03:00
sledgehammer999
954448863e
Merge pull request #7599 from scootergrisen/patch-1
...
Add me for danish
2017-10-19 01:50:35 +03:00
sledgehammer999
eec6009398
Merge pull request #7583 from LordNyriox/status-icons
...
Invert Framing for Torrent Status Icons
2017-10-19 01:45:22 +03:00
Chocobo1
ce362f0e5e
WebAPI refactor: utilize parseBool() function
...
Coding style cleanup
Rename variable
Return const reference
Add const
2017-10-18 22:27:59 +08:00
Chocobo1
4940a77d12
[WebUI]: Print error messages upon receiving invalid header fields
2017-10-18 20:11:53 +08:00
sledgehammer999
4e77e01a67
Generate pngs using svgexport and optimize using PNGGauntlet.
2017-10-17 19:40:46 +03:00
sledgehammer999
5acdcb6c09
Optimize and prettify the svg source using svgo.
2017-10-17 19:32:34 +03:00
scootergrisen
8400d855de
Add me for danish
2017-10-16 22:14:10 +02:00
Mike Tzou
bd07cb91bb
Merge pull request #7571 from Chocobo1/webui_download
...
[WebAPI] Add parameters for /command/download & /command/upload
2017-10-15 20:32:14 +08:00
LordNyriox
d7e0a9b1ad
Invert Framing for Torrent Status Icons
...
Also recolor the icons to match the text-color used for the torrent-status as well.
Optimized using SVGOMG [<https://jakearchibald.github.io/svgomg/ >].
2017-10-13 13:41:42 -04:00
Mike Tzou
dc600d47ec
Merge pull request #7570 from Chocobo1/webui_fileIdx
...
[WebAPI] Add file-to-piece-index mappings in /query/propertiesFiles command
2017-10-14 01:05:00 +08:00
sledgehammer999
0d3952eef5
Sync translations from Transifex and run lupdate.
2017-10-13 03:56:57 +03:00
dzmat
9d0ab0ae5f
speedwidget class: excess QtConcurent usage removal
2017-10-12 20:59:13 +07:00
Chocobo1
e78d8b9fcc
Convert tab into whitespaces
2017-10-11 20:27:19 +08:00
Chocobo1
f350977cb4
WebUI: add optional parameters for /command/download & /command/upload
...
Specifically:
torrent name: string
download limit, upload limit: number in bytes, default: -1 (unlimited)
sequential download, first last piece prio: boolean true/false, default: false
2017-10-11 20:25:11 +08:00
Eugene Shalygin
7a652c0a8c
Merge pull request #7566 from evsh/themes-cbc
...
Themes part 1
2017-10-11 10:34:56 +02:00
Chocobo1
a652baadb5
Add file-to-piece-index mappings in /query/propertiesFiles command
...
Also do the following cleanups:
Use string constant QB_EXT
Remove redundant variable
Add const
2017-10-11 16:24:29 +08:00
Chocobo1
66b86888fc
Add uploadLimit, downloadLimit fields to AddTorrentData & AddTorrentParams
2017-10-11 16:23:58 +08:00
Mike Tzou
e07501252c
Merge pull request #7549 from fmatthew5876/master
...
Report TCPServer errorString() if webui fails to listen to port
2017-10-11 16:22:52 +08:00
Eugene Shalygin
db35bb54e1
Make BitTorrent::TorrentState strongly-typed enum
...
This is needed to forward declare this type and pass it by value.
Conversion from/to QVariant are hanled via Q_DECLARE_METATYPE, while
TorrentState::toString() function was used in webui only and as such is
moved there.
2017-10-10 21:28:57 +02:00
Tim Delaney
19bb6f5fe0
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-10-10 21:28:56 +02:00
Chocobo1
aab752dd2e
Fix delete key has no effect due to "Ambiguous shortcut overload"
...
We want to show the accelerator key in the menu but without hitting
the ambiguous overload error.
Fixup of 1378245a63
2017-10-10 14:43:05 +08:00
sledgehammer999
aca7a851bb
Optimize SVGs.
...
Used svgo with commands --pretty --indent=2 --multipass.
2017-10-09 18:15:41 +03:00
sledgehammer999
e9caefdfce
Optimize PNGs.
...
Using PNGGauntlet.
2017-10-09 18:15:40 +03:00
sledgehammer999
16ac20b594
Remove unused image. Possibly leftover from dropping Qt4.
2017-10-09 18:15:39 +03:00
sledgehammer999
5d3b9d2f22
Drop OS/2 support.
2017-10-09 18:11:14 +03:00
sledgehammer999
d93d0ab19e
Show new paths in native form.
2017-10-09 17:42:42 +03:00
Chocobo1
5185eeb7ef
Die gracefully when failed to initialize web server with qbt-nox
2017-10-09 13:50:01 +08:00
Vladimir Golovnev
083bc71315
Merge pull request #7396 from thalieht/updownratio
...
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg
2017-10-08 21:06:55 +03:00
thalieht
0717f0d60c
Save ratio limits as int instead of string
2017-10-08 10:22:40 +03:00
thalieht
525fdd6c2b
Coding style, use nullptr and other minor things
2017-10-08 10:20:54 +03:00
thalieht
f27e75e8fa
Properly pre-select the selected torrent's current ratio limiting options in UpDownRatioDlg dialogs. Fixes #7352
2017-10-08 10:20:38 +03:00
Mike Tzou
7895afb8e9
Merge pull request #7542 from Chocobo1/wordbreak
...
Set QTextOption::NoWrap property in "Download from URLs" dialog
2017-10-07 13:40:41 +08:00
Mike Tzou
2626378dfd
Merge pull request #7545 from Kolcha/del-shortcut
...
added keyboard shortcut to delete torrent. closes #7508
2017-10-07 13:38:05 +08:00
Nick Korotysh
1378245a63
show delete accelerator key in menu. closes #7508
2017-10-06 14:51:19 +03:00
Matthew Fioravante
05c92e652c
Report TCPServer errorString() if webui fails to listen to port
2017-10-06 05:54:52 +00:00
Chocobo1
b3207b8144
Set QTextOption::NoWrap property in "Download from URLs" dialog
...
This makes it easier to put each magnet link on its own line
2017-10-03 22:45:18 +08:00
Nick Korotysh
4c8dd0ca9d
allow search plugins sorting. closes #7526
2017-10-03 16:57:09 +03:00
Vladimir Golovnev
c5607f07c8
Merge pull request #7514 from dzmat/members_names_clarification
...
members names clarification
2017-09-30 09:36:24 +03:00
Mike Tzou
49802be7d4
Merge pull request #7499 from Chocobo1/fixTimeActive
...
Fix "Time active" field in transfer list
2017-09-30 11:36:57 +08:00
dzmat
3d932b1cce
transferlistwidget class members names clarification
2017-09-29 19:55:30 +07:00
Vladimir Golovnev
66a6674cbc
Merge pull request #7490 from glassez/category-path
...
Allow to set explicit save path for Category from GUI
2017-09-29 14:25:40 +03:00
Chocobo1
2d12c126eb
Fix "Time active" field in transfer list
...
The "Time active" field was broken, displaying nothing when in
downloading state.
Also change type to int to match the return
types of TorrentHandle::activeTime() & TorrentHandle::seedingTime()
2017-09-28 16:54:46 +08:00
Vladimir Golovnev (Glassez)
3ec992474d
Implement TorrentCategoryDialog class
2017-09-27 21:25:22 +03:00
Mike Tzou
15babe97ea
Merge pull request #7500 from Chocobo1/mergeName
...
Show torrent name in "add new torrent" dialog on merging trackers
2017-09-27 21:04:51 +08:00
Mike Tzou
308fd3dcac
Merge pull request #7477 from silverqx/options-dlg-persist-size
...
Center Options dialog when showed
2017-09-27 20:35:04 +08:00
Mike Tzou
e8250104c8
Merge pull request #7429 from silverqx/preview-modal-ux
...
Improved ux in preview dialog
2017-09-27 20:33:31 +08:00
Mike Tzou
796cd674d7
Merge pull request #7495 from silverqx/options-save-state-cancel
...
Options dialog save windows state in destructor
2017-09-26 15:30:17 +08:00
Mike Tzou
1fe9272a8f
Merge pull request #7480 from Chocobo1/lastAct
...
Fix last activity calculation
2017-09-26 15:17:35 +08:00
sledgehammer999
c285de87d4
Don't use margins in FileSystemPathEdit widgets.
...
Introduced in 30081e0
.
2017-09-26 04:06:32 +03:00
Chocobo1
058062d586
Show torrent name in "add new torrent" dialog on merging trackers
2017-09-26 01:34:24 +08:00
silver
3b4fd35dde
Persist size and treeview header state in preview dialog
...
- renamed variable m_headerState
- renamed PreviewSelect class to PreviewSelectDialog
- renamed previewselect files to previewselectdialog
2017-09-25 16:33:17 +02:00
silver
2a6bd5de35
Options dialog save windows state in destructor
2017-09-24 22:56:14 +02:00
silver
64e539fcfb
Center Options dialog when showed
2017-09-24 19:40:48 +02:00
Mike Tzou
de6ca29dcd
Merge pull request #7482 from Chocobo1/update
...
Update qtsingleapplication
2017-09-24 22:39:59 +08:00
silver
ef63202be2
Follow project coding style. Issue #2192 .
2017-09-24 16:18:39 +02:00
Chocobo1
62493c672d
Fix last activity calculation. Closes #7461
...
`time_since_upload` & `time_since_download` can be -1, so filter them out
2017-09-24 21:06:34 +08:00
Vladimir Golovnev (Glassez)
8c58a69be6
Use Qt5 connect() style in CategoryFilterWidget
2017-09-24 16:01:39 +03:00
Mike Tzou
2eb3ec1a6e
Merge pull request #7463 from Piccirello/fix-priority-context-menu-placement
...
Reposition "Priority" menu option in WebUI to match gui (closes #7072 )
2017-09-24 10:28:05 +08:00
Chocobo1
e3da17caa8
Update qtsingleapplication
...
To upstream version a8dda66d7738cde9042b87db27993f710ae3eeeb
2017-09-23 00:27:00 +08:00
sledgehammer999
c7e35a1801
Merge pull request #7451 from sledgehammer999/report_delete_fail
...
Better reporting of success/failure of torrent and file deletion.
2017-09-21 23:36:53 +03:00
Mike Tzou
83c6b22d30
Merge pull request #7454 from Chocobo1/buttonbox
...
Replace dialog ok-cancel buttons with QDialogButtonBox
2017-09-21 22:45:45 +08:00
Mike Tzou
fc5d49bf9a
Merge pull request #7460 from Chocobo1/tribool
...
Use smaller data type for TriStateBool
2017-09-21 20:17:34 +08:00
Chocobo1
c5ddbcfb5b
WebAPI: fix addPaused wrong default behavior
...
Add helper function
Sort include header
2017-09-19 17:26:01 +08:00
Chocobo1
72b0ba36ae
Refactor
...
Merge statements
Use case-insensitive contains()
Add const
Use value(), this avoids inserting empty values.
Use range based for loop
2017-09-19 14:16:39 +08:00
Chocobo1
b107c0671d
WebAPI: fix root_folder default behavior
...
Bug was introduced in
6b33db3ae3
2017-09-19 13:07:50 +08:00
sledgehammer999
b9e233601d
Merge pull request #7446 from Chocobo1/utpOnly
...
Add uTP only mode option
2017-09-19 01:45:58 +03:00
sledgehammer999
8f16388915
Better reporting of success/failure of torrent and file deletion.
2017-09-17 23:04:12 +03:00
Chocobo1
d143929454
Use smaller data type for TriStateBool
2017-09-18 02:21:47 +08:00
Chocobo1
45a0c5558a
Add comboBox for selecting BitTorrent protocol. Closes #6316 .
...
Use unicode string C_UTP in place of "uTP"
2017-09-18 01:52:57 +08:00
Thomas Piccirello
b6596f9957
Reposition "Priority" menu option in WebUI to match gui ( closes #7072 )
2017-09-17 05:42:46 -04:00
Chocobo1
7059b947e8
Replace dialog ok-cancel buttons with QDialogButtonBox
...
This PR will make button order follow the platform default.
For example: windows use: OK, Cancel; linux use: Cancel, OK.
2017-09-15 18:52:21 +08:00
Mike Tzou
4eafe7a2c8
Merge pull request #7426 from thalieht/webuiStripFolder
...
Add the create root folder option when adding a torrent in WebUI
2017-09-15 13:01:48 +08:00
Chocobo1
a341b793e4
Rename option
...
The previous "Disk write cache size" is not accurate since it is also being used
for read cache, so rename it to "Disk cache".
2017-09-14 20:32:10 +08:00
Chocobo1
a1d46a278b
Change default value of m_diskCacheSize. New default is 64 MB.
2017-09-14 20:32:04 +08:00
Eugene Shalygin
c6cf3a98a4
Merge pull request #7428 from evsh/allow-all-tray-icons
...
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-09-12 11:09:44 +02:00
Eugene Shalygin
4ec193042f
Allow custom tray icons when system icon theme is used. Closes #7403 .
2017-09-11 16:18:10 +02:00
thalieht
6b33db3ae3
Create root folder option when adding a torrent in WebUI
2017-09-11 16:56:33 +03:00
Chocobo1
855772ae5a
Fix dereferencing freed pointer. Closes #7420 .
...
The torrent is removed from session after `deleteTorrent()`
yet we still invoke `torrent->name()`, thus result in crash.
2017-09-11 13:16:34 +08:00
Allan Nordhøy
5c18db240c
Spelling: HTTP/HTTPS
2017-09-08 11:22:25 +02:00
sledgehammer999
728b7dec3e
Sync translations from Transifex and run lupdate.
2017-09-06 01:44:47 +03:00
sledgehammer999
7b5730723d
Fix file list expansion on singlefile torrent with folder.
2017-09-06 01:11:49 +03:00
Vladimir Golovnev
c6dfdf9135
Fix CategoryFilterWidget::sizeHint()
2017-09-01 16:11:21 +03:00
Vladimir Golovnev
4cd3a37b4a
Fix suggest_mode setting
...
Actually suggest_mode is of type int.
2017-08-31 22:02:52 +03:00
Chocobo1
64d5e329c0
Sort the resource lists
...
Update RCC header
2017-08-29 13:39:02 +08:00
Chocobo1
ee9caa4305
Cleanup src.pro
2017-08-29 13:39:02 +08:00
Chocobo1
39b56ac598
Move NOMINMAX define
2017-08-29 13:39:01 +08:00
Chocobo1
551ffb88ab
Define QT_USE_QSTRINGBUILDER.
...
The old defines are deprecated.
QT_USE_QSTRINGBUILDER also supports QByteArray which we use extensively
in WebUI.
2017-08-29 13:37:29 +08:00
Chocobo1
ccd3b305c2
Use Qt5 connect syntax
2017-08-24 20:15:25 +08:00
Chocobo1
b47c90f0e0
Setup parent ownership to avoid memory leak
2017-08-24 20:01:39 +08:00
Mike Tzou
1afd5f70dd
Merge pull request #3235 from Chocobo1/session_option
...
libtorrent session options
2017-08-24 11:35:15 +08:00
Vladimir Golovnev
f2af308e6d
Fix RSS Downloader fails to rename rule
...
Closes #7333 .
2017-08-23 16:45:14 +03:00
Vladimir Golovnev
a6868e2b25
Merge pull request #7313 from glassez/sched
...
Don't disable scheduler when manually switching speed limits. Closes #7306
2017-08-23 17:05:28 +04:00
Vladimir Golovnev
bda5be8e4c
Skip user input events when adding torrent
...
Closes #7327 .
2017-08-23 11:14:34 +03:00
Vladimir Golovnev (qlassez)
93f5d4058d
Improve BandwidthScheduler
...
Don't disable scheduler when manually switching speed limits.
Closes #7306 .
2017-08-23 09:48:31 +03:00
Evengard
ea7c1ace2a
Disable skipping of loopback interfaces
...
This fixes the absence of VPN tunnel interfaces under Windows and works around the QTBUG-32349
Fixes #7291
2017-08-22 00:00:20 +03:00
Chocobo1
2da2054ccf
Use enums for settings
2017-08-21 20:30:26 +08:00
Chocobo1
3f5fa0025d
Add sanitize helper clampValue()
2017-08-21 16:50:56 +08:00
Chocobo1
f4be165767
Add send_buffer_watermark send_buffer_low_watermark
...
send_buffer_watermark_factor knobs
2017-08-21 16:50:14 +08:00
Chocobo1
55a1628a5e
Add suggest_mode knob
2017-08-21 16:50:14 +08:00
Chocobo1
6c32f6beff
Add choking_algorithm & seed_choking_algorithm knob
2017-08-21 16:49:45 +08:00
Chocobo1
21ec8fe53f
Add allow_multiple_connections_per_ip knob. Closes #5884 .
2017-08-21 16:48:38 +08:00
Chocobo1
4185209036
Add mixed_mode_algorithm knob
2017-08-21 16:48:38 +08:00
Chocobo1
6150e0c56b
Add guided_read_cache knob
...
cleanup header include order
2017-08-21 16:48:37 +08:00
Eugene Shalygin
ef1597e45b
Fix ignoring of incorrect version strings in search plugins. Closes #7101 .
...
Printing of Version with all components set to zero was segfaulting due
to underflow in array index. Also add log message for such plugins.
2017-08-20 22:44:20 +02:00
Chocobo1
9ef1e32327
WebAPI: fix validating wrong header field. Closes #7311 .
...
X-Forwarded-Host is a foreign proxy setting, it isn't the same as
qbt's local setting and thus it makes no sense to verify it.
2017-08-20 22:40:19 +08:00
sledgehammer999
bbe7821483
Merge pull request #7300 from Chocobo1/cleanup
...
Minor cleanup
2017-08-18 21:08:27 +03:00
Chocobo1
65ca490b64
Wrap class & functions in anonymous namespace
...
Rename vars
Cleanup class interfaces
Pass by reference whenever possible
2017-08-19 01:57:11 +08:00
sledgehammer999
907f222a73
Switch settings to signed int because libtorrent expects them that way.
2017-08-18 20:21:39 +03:00
sledgehammer999
b649d61e8b
Options to better memory control by libtorrent. Closes #7029 .
2017-08-18 20:21:37 +03:00
sledgehammer999
ea793368a9
Merge pull request #7279 from evsh/file-icon-cache
...
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264 .
2017-08-18 19:31:19 +03:00
Eugene Shalygin
3331526865
Use pixmap cache for file icons on Mac OS and Windows. Closes #7264 .
2017-08-15 22:25:03 +02:00
sledgehammer999
cccb22f0e3
Merge pull request #7282 from glassez/fsutils
...
Improve utils/fs.* and fix coding style
2017-08-15 22:47:39 +03:00
sledgehammer999
4f0d9605fe
Merge pull request #7281 from vit9696/notifications2
...
Fix notification display on macOS
2017-08-15 22:34:35 +03:00
sledgehammer999
19fcd3dad6
Fix broken build.
2017-08-15 22:12:16 +03:00
vit9696
eb8ff91c5d
Fix notification display on macOS
2017-08-15 21:16:37 +03:00
sledgehammer999
f98edcab5c
Merge pull request #7272 from vit9696/patch-1
...
Fix macOS window restoration after using hide icon
2017-08-15 21:13:58 +03:00
sledgehammer999
e5ea3bd707
Merge pull request #7253 from briankendall/fix_objc_errors
...
Fixed mac specific compiler errors and cleaned up Objective C code. Closes #7252
2017-08-15 21:06:09 +03:00
sledgehammer999
c87c1d2359
Use simpler ifdef style.
2017-08-15 21:01:55 +03:00
sledgehammer999
7bb9c69c08
Fix connection problems when a specific interface/ip is configured.
...
Closes #7235 .
Bug related to #7099 and Qt.
2017-08-15 19:33:45 +03:00
sledgehammer999
25eb2edb86
Merge pull request #7273 from vit9696/borders
...
Unify preference window borders across the tabs
2017-08-15 18:14:11 +03:00
sledgehammer999
c2a8970109
Fix calculation of 'Average time in queue' stat under libtorrent 1.1.x
2017-08-15 17:38:41 +03:00
Vladimir Golovnev (qlassez)
59c14801cc
Improve utils/fs.* and fix coding style
2017-08-15 16:17:57 +03:00
Mike Tzou
ea749bb052
Merge pull request #7276 from Chocobo1/pr_7063
...
Auto torrent management from webui context menu
2017-08-15 11:47:21 +08:00
vit9696
1cb69c9b43
Unify preference window borders across the tabs
2017-08-14 20:10:28 +03:00
sledgehammer999
89d8a2fe72
Merge pull request #7251 from Chocobo1/spacing
...
Add space between widgets in left side panel. Closes #7224 .
2017-08-14 19:11:54 +03:00
Thomas Piccirello
4846b0ec28
Use single quotes for char.
...
Use case insensitive compare.
Swap conditionals
2017-08-14 23:15:03 +08:00
Thomas Piccirello
771033a449
Add auto torrent management to webui context menu (addresses #6815 )
2017-08-14 23:14:46 +08:00
vit9696
16d7301046
Fix macOS window restoration after using hide icon
2017-08-14 12:38:42 +03:00
sledgehammer999
8d913d77dd
Merge pull request #7266 from Chocobo1/coverity
...
Fix issues found by coverity scan
2017-08-13 20:10:04 +03:00
Mike Tzou
0522db3f19
Merge pull request #7061 from Piccirello/webui-rename-torrent
...
Rename torrent from webui context menu (addresses #6815 )
2017-08-13 23:39:35 +08:00
Vladimir Golovnev (qlassez)
cff6a64e9f
Use qUtf8Printable() for logging strings
...
qDebug(), qInfo(), qWarning(), qCritical(), qFatal() expect %s arguments
to be UTF-8 encoded, while qPrintable() converts to local 8-bit encoding.
Therefore qUtf8Printable() should be used for logging strings instead of
qPrintable().
2017-08-13 16:14:57 +03:00
Vladimir Golovnev
219a6b3ad1
Merge pull request #7267 from glassez/remove-temp
...
Don't remove shared temp folder
2017-08-13 17:00:40 +04:00
Thomas Piccirello
798c230634
Add option to rename torrent from WebUI
...
Addresses #6815 .
2017-08-13 15:45:51 +03:00
Vladimir Golovnev (qlassez)
3801150a7a
Don't remove shared temp folder
...
Don't remove shared temp folder when torrent finished and moved to
its "complete" folder. Only torrents with stripped root folder
have subfolder in temp folder so they should remove it.
2017-08-13 14:17:12 +03:00
Chocobo1
91b2b14ba5
Initialize variables
...
Remove unused variable
2017-08-13 15:28:36 +08:00
sledgehammer999
1b8cda7924
Follow project coding style.
2017-08-12 16:23:15 +03:00
sledgehammer999
31a4309077
Catch possible exceptions when parsing IPs. Closes #7249 .
2017-08-12 16:23:14 +03:00
Brian Kendall
62b956946f
Fixed mac specific compiler errors and cleaned up Objective C code
...
Created new file src/gui/macutilities.mm, moved code from mainwindow.cpp and torrentcontentmodel.cpp that used the Objective C runtime into it and converted it to actual Objective C. Rewrote pixmapForExtension() so that it doesn't call into private Qt functions.
2017-08-11 20:51:16 -04:00
Chocobo1
04552f7921
Add space between widgets in left side panel. Closes #7224 .
2017-08-11 21:37:33 +08:00
Vladimir Golovnev
9417105990
Merge pull request #7240 from glassez/fix-7226
...
Remove legacy RSS settings after converting. Closes #7226
2017-08-11 13:08:28 +04:00
sledgehammer999
593c24e5bd
Merge pull request #7234 from thalieht/indentation
...
Remove indentation for category/tag filter widgets in all platforms
2017-08-11 11:25:24 +03:00
Vladimir Golovnev (qlassez)
7380bfa9e4
Remove legacy RSS settings after converting
...
Closes #7226 .
2017-08-09 22:01:30 +03:00
Chocobo1
78dafc9cbe
Prefill torrent name when creating a new torrent. Closes #7229 .
2017-08-09 15:26:05 +08:00
thalieht
2da5800665
Remove indentation for category/tag filter widgets in all platforms
2017-08-08 23:43:23 +03:00
sledgehammer999
6270433237
Fix explicit Torrent Management Mode in Add New Torrent dialog. Closes #5602 .
2017-08-07 20:01:30 +03:00
sledgehammer999
d48218bfe9
Sync translations from Transifex and run lupdate.
2017-08-07 08:34:40 +03:00
sledgehammer999
db653cbdac
Merge pull request #7214 from Chocobo1/fixups
...
WebUI fixups
2017-08-07 08:11:32 +03:00
sledgehammer999
766f70c81a
Merge pull request #7118 from vit9696/master
...
Fixed file type icons not displaying on macOS
2017-08-07 08:10:58 +03:00
Chocobo1
3e9311b096
Correctly handle translation
...
Fixup of 07a85a1018
2017-08-06 17:20:01 +08:00
Chocobo1
1bfb8d35cd
Move "Copy hash" menu item above "Copy magnet link"
...
Fix wrong "Copy hash" icon used in webUI
Fixup of 145641ac41
2017-08-06 17:19:55 +08:00
Tom Piccirello
07a85a1018
Set torrent location from webui context menu (addresses #6815 ) ( #7062 )
...
* Add option to set torrent location from webui context menu (addresses #6815 )
* Update debug messages
* Use logger
* Remove redundant curly braces
* Remove message
* Use log message from transferlistwidget
* Use QDir
* Remove unused import
* Check if newLocation is an empty string
2017-08-06 17:04:39 +08:00
Tom Piccirello
145641ac41
Add copy options to webui context menu (addresses #6815 ) ( #7036 )
...
* Add copy options to webui context menu
Add Copy Hash to gui (closes #6964 )
* Use switch statement
* Use camel case, switch from signal to qaction.
* Rename variable
* Change variable name
2017-08-06 16:35:12 +08:00
sledgehammer999
08aa827366
Fix some more strings.
2017-08-06 01:47:05 +03:00
sledgehammer999
4d8a939291
Merge pull request #7173 from comradekingu/patch-1
...
display, URLs, esc '
2017-08-06 01:46:03 +03:00
sledgehammer999
e1f514042f
Merge pull request #7207 from glassez/move-torrent
...
Don't replace existing files when manually relocating torrent
2017-08-05 20:26:05 +03:00
Vladimir Golovnev (qlassez)
7d78457fe0
Don't replace existing files when relocating torrent
2017-08-05 20:17:44 +03:00
Vladimir Golovnev (qlassez)
f067b8b37c
Don't remove shared temp folder
2017-08-05 19:53:23 +03:00
sledgehammer999
6043584305
Merge pull request #7176 from glassez/temp-folder
...
Don't create subfolder inside temp folder. Closes #5503
2017-08-04 20:47:49 +03:00
Eugene Shalygin
64b250903f
Merge pull request #7083 from tgregerson/tags
...
Improve tag selection context menu. Closes #7060
2017-08-03 21:06:08 +02:00
Tony Gregerson
c5e73219bf
Improve checkbox interface for selecting tags in the context menu. Closes #7060
2017-08-02 19:27:00 -05:00
Vladimir Golovnev (Glassez)
5f47d3b021
Don't create subfolder inside temp folder
2017-07-29 18:04:23 +03:00
Vladimir Golovnev (Glassez)
d22b626a02
Fix temporary subfolder isn't deleted
2017-07-28 15:16:02 +03:00
Allan Nordhøy
af9c0cca23
display, URLs, esc '
2017-07-28 02:42:35 +02:00
sledgehammer999
dcba10f01b
Sync translations from Transifex and run lupdate.
2017-07-27 19:16:30 +03:00
Mike Tzou
5bc3b0138e
Merge pull request #7110 from Chocobo1/plugin_signal
...
Fix crash when exiting qbt with search plugin update dialog open
2017-07-21 10:40:54 +08:00
Chocobo1
e7ee59c12f
Specify context
parameter in connect()
2017-07-20 13:26:36 +08:00
Chocobo1
24a69a9fe7
Fix crash when exiting qbt with search plugin dialog open
...
Avoid emitting signal in destructor
2017-07-20 13:26:36 +08:00
vit9696
7b4316ea8f
Fix main menu item location on macOS
2017-07-19 23:48:42 +03:00
vit9696
6c3ab99e3c
Fix file type icons not displaying on macOS
2017-07-19 21:37:38 +03:00
sledgehammer999
802cd89ec9
Bump API_VERSION and API_VERSION_MIN to 15.
2017-07-18 22:38:59 +03:00
sledgehammer999
aa1ddc0df2
Fix typo.
2017-07-18 03:32:06 +03:00
Tom Piccirello
11b44407af
Add Status column to webui (addresses #6815 ) ( #7032 )
...
* Add Status column to webui (addresses #6815 )
2017-07-17 14:26:52 +08:00
Chocobo1
e73db85fad
Use Qt5 connect syntax
2017-07-16 15:03:25 +08:00
Chocobo1
ec16525164
Fix "QObject::connect: No such slot" errors
...
Fixup of d25467d3e6
2017-07-16 15:03:25 +08:00
Chocobo1
1f9eb594e7
Trim whitespaces
2017-07-16 11:47:53 +08:00
vit9696
d25467d3e6
Various macOS UI improvements
2017-07-15 20:49:40 +03:00
Eugene Shalygin
c614c66535
Install required plugins into bundle
...
Install platform and svg plugins into bundle. Update dependencies in
Travis.
2017-07-14 17:42:02 +02:00
Mike Tzou
a6bb642200
Merge pull request #7096 from Chocobo1/fix
...
[WebUI] Load the domain list at least once on startup
2017-07-13 17:34:35 +08:00
Eugene Shalygin
22ea0be917
Merge pull request #7099 from evsh/set-inet-outgoing
...
Set interface for outgoing traffic.
2017-07-13 11:13:07 +02:00
Eugene Shalygin
934133772e
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-12 21:28:00 +02:00
Chocobo1
07780b48c5
Load the domain list at least once on startup.
...
Fixup of 0532d546d7
2017-07-13 00:41:30 +08:00
Chocobo1
0532d546d7
Implement HTTP host header filtering
...
This filtering is required to defend against DNS rebinding attack.
2017-07-12 17:26:13 +03:00
Chocobo1
18651c8d01
Use Qt5 connect syntax
2017-07-12 17:26:11 +03:00
Chocobo1
55e038b165
Avoid modifing request headers
2017-07-12 17:26:05 +03:00
Eugene Shalygin
23616d5dd0
Merge pull request #7064 from evsh/cachesettingvalue-enum
...
Implement enum support in CachedSettingValue
2017-07-11 16:03:20 +02:00
Eugene Shalygin
3aff71020f
Merge pull request #7087 from LordNyriox/patch-2
...
Create README for "qbt-theme"
2017-07-11 11:47:02 +02:00
Mike Tzou
f345d0f136
Merge pull request #7082 from Chocobo1/js
...
[WebUI] Fix value comparison
2017-07-11 17:23:32 +08:00
Eugene Shalygin
d397cf60fb
Merge pull request #7065 from evsh/win-svg-tray-icon
...
Use SVG files for monochrome tray icons. Closes #6085 .
2017-07-11 10:51:37 +02:00
LordNyriox
28f336f5bd
Create README for "qbt-theme"
2017-07-10 08:56:48 -07:00
Chocobo1
be61e8f2fd
Revert back to intended fallthrough
...
Partial revert a7f4ea8b18
2017-07-10 00:36:56 +08:00
Chocobo1
448d937c15
Fix value comparison. Closes #7081 .
...
`category` could be 'undefined'.
Fixup of a7f4ea8b18
.
2017-07-09 22:31:14 +08:00
Eugene Shalygin
228f82bcdc
Merge pull request #6967 from thalieht/codingStyle
...
Coding style for several files
2017-07-06 18:17:02 +02:00
sledgehammer999
7a478424cc
Revert "Drop python2 support.". Closes #7005 .
...
This reverts commit 7d030b4cd9
.
2017-07-06 01:07:09 +03:00
Eugene Shalygin
e66dba6a2d
Use SVG files for monochrome tray icons. Closes #6085 .
2017-07-05 22:00:02 +02:00
Eugene Shalygin
ff710ebd2c
fixup! Implement enum support in CachedSettingValue
2017-07-05 13:41:08 +02:00
Eugene Shalygin
a22d2f0139
Implement enum support in CachedSettingValue
...
Enums are stored as strings, that improves configuration file
readability and maintainability. String values are obtained via
QMetaEnum, and since with Qt 5.5 QMetaEnum::fromType() includes a
static_assert, this has to be a safe method.
2017-07-05 12:41:58 +02:00
Mike Tzou
db2dec3d28
Merge pull request #7031 from Piccirello/fix-js-errors
...
Fix various javascript errors and follow best practices
2017-07-05 15:03:09 +08:00
Mike Tzou
726e9f0774
Merge pull request #7030 from Piccirello/failed-attempts-auth
...
Skip webui username/password check for active sessions
2017-07-05 15:02:24 +08:00
sledgehammer999
8e6df572a8
Merge pull request #6156 from evsh/file-icons
...
Use system file type specific icons in contents tab
2017-07-03 18:06:22 +03:00
Eugene Shalygin
57493c5556
Add QFileIconProvider implementation using mime database
...
If built-in QFileIconProvider does not seem to work, use custom
implementation which queries mime database.
2017-07-03 16:49:19 +02:00
Eugene Shalygin
30bf6e958f
Use system file type specific icons in contents tab
...
The icon is determined via QFileIconProvider using filename extension only.
2017-07-03 16:49:14 +02:00
Eugene Shalygin
6b65f8add8
Do not show completion when text is not being edited
2017-07-03 12:57:02 +02:00
Eugene Shalygin
8318f72a9e
Follow project coding style. Issue #2192 .
2017-07-03 11:42:30 +02:00
Eugene Shalygin
11f5738d99
Fix build.
2017-07-03 10:36:52 +02:00
Eugene Shalygin
62be2d7400
cmake: fix build
2017-07-03 10:36:42 +02:00
Thomas Piccirello
a7f4ea8b18
Fix javascript errors and follow best practices
2017-07-01 03:28:35 -04:00
Thomas Piccirello
cd5a55d711
Skip username/password check for active sessions ( closes #6860 )
2017-07-01 03:26:15 -04:00
thalieht
91f528bc96
Fix coding style for several files
...
trackerlist
autoexpandabledialog
previewselect
shutdownconfirmdlg
torrentcontentfiltermodel
torrentcontenttreeview
peerlistsortmodel.h
2017-06-30 23:44:12 +03:00
Vladimir Golovnev
4d28f8f48d
Fix RSS with normal links do not work ( #7016 )
...
Fix regression of RSS code redesign.
Closes #7003 .
2017-06-30 11:16:40 +03:00
Vladimir Golovnev
3181469d87
Merge pull request #6911 from tgregerson/tags
...
Add a Tags system to the GUI to expand torrent organization / filtering options. Closes #13 .
2017-06-26 15:57:27 +03:00
Tony Gregerson
467e516801
Add a Tags (multi-label) feature to the GUI. Closes #13 .
...
See https://github.com/qbittorrent/qBittorrent/issues/13 for details.
2017-06-25 13:53:07 -05:00
sledgehammer999
70ae05c3de
Pad shorter python versions. Closes #6877 .
2017-06-25 17:20:51 +03:00
sledgehammer999
7d030b4cd9
Drop python2 support.
2017-06-25 17:20:50 +03:00
sledgehammer999
a77e1c9f36
Use qt5 connect style for searchengine, pluginselectdlg and searchwidget.
2017-06-22 18:54:30 +03:00
sledgehammer999
dee0b63cc5
Aggregate installed/updated plugin names and use a single messagebox to inform the user.
2017-06-22 18:54:29 +03:00
sledgehammer999
c2a2d306da
Use alternative method for plugin favicon validity. Drop unnecessary code.
2017-06-22 18:54:28 +03:00
sledgehammer999
34c29b78f9
Update the backend when a new plugin favicon is downloaded.
2017-06-15 22:32:43 +03:00
sledgehammer999
8c98c8cb3f
Put copyright warning message to the search plugin dialog.
2017-06-15 22:32:42 +03:00
sledgehammer999
fc543b9db6
Display instructions when no search plugin is installed.
2017-06-15 22:32:41 +03:00
sledgehammer999
793ed7148f
Remove code that expects bundled search plugins.
2017-06-15 22:32:40 +03:00
sledgehammer999
de74f9298f
Remove all search plugins from repo.
2017-06-15 22:32:39 +03:00
sledgehammer999
4ab117d946
Remove possible double check of the same thing.
2017-06-15 22:32:38 +03:00
sledgehammer999
d88f0f36e0
Merge pull request #6889 from Chocobo1/lowercase
...
Convert all http header name constants to lowercase
2017-06-14 02:38:57 +03:00
sledgehammer999
fd05f5dec5
Merge pull request #6887 from Chocobo1/csrf_relax
...
[WebUI] relax CSRF defense. Closes #6882 .
2017-06-14 02:37:33 +03:00
Eugene Shalygin
fff6640127
Merge pull request #6820 from evsh/fspathedit-visual-feedback
...
Add visual feedback for wrong paths in FileSystemPathEdit
2017-06-10 20:19:39 +02:00
Eugene Shalygin
574fed04fc
Add visual feedback for wrong paths in FileSystemPathEdit
2017-06-10 17:09:20 +02:00
Vladimir Golovnev (Glassez)
66aeafdc63
Fix crash in ArticleListWidget
...
ArticleListWidget::handleArticleList() can be called inside
ArticleListWidget::handleArticleAboutToBeRemoved() and list widget
item can be removed at this point. Now we checking for it existence.
Closes #6896 .
2017-06-07 18:24:43 +03:00
sledgehammer999
4a1ed9ff0e
Merge pull request #6898 from Chocobo1/timeout
...
Fix keep alive duration was wrongly in milliseconds instead of seconds
2017-06-07 18:02:37 +03:00
Chocobo1
8419ca87f9
Fix KEEP_ALIVE_DURATION value
...
I intended to specify 7 seconds, which should be 7000 milliseconds
2017-06-07 21:45:47 +08:00
Mike Tzou
6f6a17341f
Merge pull request #6859 from Chocobo1/cookie_select
...
Manage Cookies dialog improvements
2017-06-05 11:58:09 +08:00
Vladimir Golovnev
c503583046
Merge pull request #6864 from glassez/rss
...
Improve RSS Article handling
2017-06-02 19:47:08 +03:00
Chocobo1
45c21f62f9
[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-02 21:55:16 +08:00
Chocobo1
cdb8f4bc61
[WebUI] relax CSRF defense. Closes #6882 .
...
Allow HTTP request which has neither Origin nor Referer header included
2017-06-02 21:16:06 +08:00
sledgehammer999
b5c0d90e9c
Merge pull request #6842 from Chocobo1/countPieces
...
[TorrentCreator] Show total number of pieces. Closes #6774 .
2017-06-02 08:56:10 +03:00
Chocobo1
087856d3d8
[WebUI]: Implement CSRF defense
...
Bump API version
2017-06-01 19:37:57 +03:00
Vladimir Golovnev (Glassez)
4021bf68f7
Use constants for article field names in RSS::Feed
2017-06-01 16:04:11 +03:00
Vladimir Golovnev (Glassez)
02f77a05dc
Improve RSS article parsing
...
Use QLatin1String for string literals.
Use predefined constants for article hash table keys.
2017-06-01 16:04:10 +03:00
Vladimir Golovnev (Glassez)
080dd79875
Store all RSS Article data in auto downloading job
2017-06-01 16:04:04 +03:00
Vladimir Golovnev (Glassez)
475348595c
Improve RSS::Article class
...
Store more RSS article fields.
Don't use legacy article field names in Parser code.
2017-06-01 15:57:14 +03:00
sledgehammer999
34c7465009
Merge pull request #6871 from KingLucius/googlefavicon
...
Fetch Favicons via google
2017-06-01 15:12:30 +03:00
sledgehammer999
ace68d4961
Merge pull request #6874 from evsh/no-old-style-cast
...
Disable warnings in the bundled QtSingleAppplication and fix CMake builds in Travis
2017-06-01 15:10:18 +03:00
Eugene Shalygin
72cb868224
cmake: disable warnings for bundled QtSingleApplication
2017-06-01 10:14:09 +02:00
sledgehammer999
d3ccbe4f86
Fix format-truncation warning.
2017-06-01 01:09:25 +03:00
KingLucius
1b9882b3a3
Fetch Favicons via google
2017-05-31 22:21:25 +02:00
Mike Tzou
70d0fb741f
Merge pull request #6870 from Chocobo1/ui
...
Fix focusing on the previously opened dialog didn't work
2017-05-31 12:26:27 +08:00
Chocobo1
4a4e3a13e6
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-05-30 14:09:01 +08:00
Eugene Shalygin
ff80208534
Merge pull request #6868 from evsh/no-old-style-cast
...
Replace C-style casts with C++ ones
2017-05-29 17:47:01 +02:00
Vladimir Golovnev (Glassez)
a8bcc2ee52
Fix empty statusbar showed after app restarted
2017-05-29 18:38:17 +03:00
Eugene Shalygin
74cecb1b6c
Replace C-style casts with C++ ones
2017-05-29 17:25:42 +02:00
Chocobo1
1ac7d779a7
Set expiration date for newly added cookie to +2 years from now, instead
...
of +99 years.
This fixes the ambiguity that users could assume the date was in the
past, but in fact it's in the future.
Ex. now date is 5/28/17, +99 years = 5/28/16, +2 years = 5/28/19
2017-05-29 14:10:47 +08:00
Chocobo1
a585b02e76
Enable alternatingRowColors for "Manage Cookie" dialog
...
Set editTriggers property to AllEditTriggers for easier editing.
Now a single mouse click can initiate item editing instead of double
clicking.
2017-05-29 14:10:47 +08:00
Chocobo1
d8083dd985
Allow to select & delete multiple entries in "Manage Cookies" dialog
2017-05-29 14:10:47 +08:00
Noam Gal
bd90614413
Get more RSS article data
2017-05-28 10:17:59 +03:00
Vladimir Golovnev
e3671050d1
Merge pull request #6840 from glassez/statusbar
...
Add show/hide statusbar option (Supersede #4029 )
2017-05-27 22:22:34 +03:00
KingLucius
dedd31ada5
Fix crash when delete RSS feed
2017-05-27 13:52:32 +02:00
Eugene Shalygin
ae5932a573
Merge pull request #6848 from evsh/fix-piecebar-crash
...
Fix crash in download piece bar
2017-05-27 13:24:14 +02:00
Mike Tzou
20f6bf817e
Merge pull request #6836 from Chocobo1/api
...
[WebAPI] Get piece information/state
2017-05-27 18:28:22 +08:00
Chocobo1
c618214061
[TorrentCreator] Show number of pieces. Closes #6774 .
2017-05-27 16:37:08 +08:00
Eugene Shalygin
6d9eec0e71
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-26 21:47:51 +02:00
Mike Tzou
b6080c19c2
Merge pull request #6834 from Chocobo1/cookie
...
[WebUI] Make cookie parsing robust
2017-05-26 23:56:35 +08:00
Vladimir Golovnev (Glassez)
c456b9a42c
Refactor and improve StatusBar
2017-05-26 18:11:26 +03:00
Chocobo1
3933790bda
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-26 14:37:03 +08:00
takiz
0940a8a764
Add show/hide statusbar option
2017-05-25 16:35:21 +03:00
Chocobo1
f35a5c8085
[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-25 18:45:07 +08:00
Chocobo1
712e6a0e5c
Refactor out helper function Utils::String::unquote
...
Remove redundant include
2017-05-25 18:44:35 +08:00
Mike Tzou
1f9ccb44a3
Merge pull request #5196 from Chocobo1/creator_pr
...
Revamp Torrent creator
2017-05-24 17:40:10 +08:00
Mike Tzou
92decf83b8
Merge pull request #6330 from Chocobo1/rename
...
Fix renaming files is not case sensitive on Windows platform
2017-05-24 13:12:30 +08:00
Chocobo1
7eed1a108e
Rename variables
...
Add myself to authors list
2017-05-24 11:54:42 +08:00
Chocobo1
7e87eeb2d4
Use QThread::requestInterruption() instead of m_abort flag
2017-05-24 11:54:42 +08:00
Chocobo1
60524348f0
Enlarge combobox to fix its contents
2017-05-24 11:54:42 +08:00
Chocobo1
9f2fe2b678
Move CachedSettingValue instances to header file
2017-05-24 11:54:42 +08:00
Chocobo1
a4141fd151
Simplify m_creatorThread initialization
2017-05-24 11:54:42 +08:00
Chocobo1
7de1aba092
Switch to modeless dialog
...
Don't close dialog after creating torrent
Show progress bar all the time
2017-05-24 11:54:42 +08:00
Chocobo1
d277696acc
Add global.h file
2017-05-24 11:54:42 +08:00
Chocobo1
2e8c01d88c
Use CachedSettingValue
2017-05-24 11:54:42 +08:00
Chocobo1
908481885c
Enable drag n drop to create torrent on mainwindow
2017-05-24 11:54:42 +08:00
Chocobo1
386b93bb0f
Fix the file size sum igonred files starting with a dot: ".name"
...
Make the computation iterative instead of recurisve to avoid stack overflow.
Enlarge read size to enable better performance.
Remove `QFile::close()` calls, QFile automatically close them in dtor.
2017-05-24 11:54:42 +08:00
Chocobo1
8efcc335de
Switch to use SettingsStorage class
2017-05-24 11:54:42 +08:00
Chocobo1
009798f690
Follow header include rule
2017-05-24 11:54:42 +08:00
Chocobo1
6bab30a178
Revamp Torrent creator
2017-05-24 11:54:42 +08:00
Mike Tzou
ced52e3269
Merge pull request #6827 from naikel/webui_filter_fix
...
Fix slow filtering in WebUI
2017-05-24 00:02:22 +08:00
Naikel Aparicio
03b2decab6
Fix slow filtering in WebUI. Fixup 7aadf644e0
.
2017-05-22 09:19:03 -04:00
Eugene Shalygin
47960b2592
Merge pull request #6818 from naikel/webui_fix
...
Cosmetic fixes for WebUI upload and download windows
2017-05-22 13:27:01 +02:00
Eugene Shalygin
b82edc561f
Merge pull request #6821 from evsh/do-not-hardcode-rss-colors
...
Do not use hardcoded colors in RSS feed view
2017-05-22 10:58:02 +02:00
Eugene Shalygin
e99e88bbe7
Merge pull request #6811 from KingLucius/ETplugin
...
[Search engine] Remove ExtraTorrent plugin
2017-05-21 14:26:54 +02:00
Eugene Shalygin
72da2e7252
Do not use hardcoded colors in RSS feed view
2017-05-21 13:02:34 +02:00
Naikel Aparicio
9fc6de77ca
Cosmetic fixes for WebUI upload and download windows
2017-05-20 16:01:24 -04:00
Chocobo1
d8c0a40b1f
Add explicit error handling when filesCount() returns negative value
...
Fix coverity CID 162538
2017-05-20 14:01:58 +08:00
Chocobo1
562080de69
Initialize variable
...
Fixes coverity CID 161628
2017-05-20 11:38:39 +08:00
Mike Tzou
c3b1c57d67
Merge pull request #6807 from Chocobo1/icon
...
[Quick Fix] Set icon height in html instead of js
2017-05-20 11:18:02 +08:00
Mike Tzou
7f089db942
Merge pull request #6802 from Chocobo1/size
...
[Quick Fix] Cleanup options dialog
2017-05-20 11:17:44 +08:00
KingLucius
ebc50a7237
remove ExtraTorrent plugin
2017-05-19 16:36:56 +02:00
Mike Tzou
ce36a7ca62
Merge pull request #6498 from thalieht/trackerList
...
Trackerlist: Add toggle columns menu
2017-05-19 15:06:42 +08:00
Chocobo1
5529a7713c
Set icon height in html instead of js
...
Fixup of d302e4fb92
2017-05-19 00:06:10 +08:00
Mike Tzou
b8d2fef653
Merge pull request #6805 from Chocobo1/icon
...
Fix icon too large. Closes #6804 .
2017-05-18 23:54:40 +08:00
Chocobo1
d302e4fb92
[WebUI] Fix connection status icon too large. Closes #6804 .
2017-05-18 23:07:40 +08:00
Eugene Shalygin
4b48f7b8d9
Fix build error.
2017-05-18 16:41:49 +02:00
Chocobo1
2702410572
Remove useless horizontal layout widget
2017-05-18 19:48:36 +08:00
Chocobo1
e24b565857
Remove unused row in "Share Ratio Limiting" group box
2017-05-18 18:40:40 +08:00
Chocobo1
fad3af27ca
Partialy revert 7320ac1bc0
...
Reverts back options dialog size
Also removes unused tabstops
2017-05-18 18:12:32 +08:00
Vladimir Golovnev
927ecc7075
Merge pull request #4266 from naikel/seed_until
...
Share torrents until seeding time reaches an specific amount of minutes
2017-05-18 07:12:24 +03:00
Vladimir Golovnev
c4ccf6b774
Merge pull request #6714 from fbriere/issue/6708-sort-categories
...
Fix instances where categories where still sorted case-sensitively. Closes #6708 .
2017-05-17 21:47:20 +03:00
Naikel Aparicio
9ba00d7035
Implemented share limit by seeding time
2017-05-17 14:33:17 -04:00
Chocobo1
08a6c75227
Refactors
...
Rename variables
Refactor to return early instead of introducing a scope
Revise dialog title & messages
Refactor code logic
2017-05-17 21:28:46 +08:00
Eugene Shalygin
f4a6242711
Merge pull request #6795 from evsh/fix-file-widget
...
Use new signal/slot syntax in options dialog
2017-05-17 13:34:54 +02:00
Mike Tzou
0838f64311
Merge pull request #6782 from Piccirello/strict-csp
...
Use less permissive Content Security Policy
2017-05-17 18:47:51 +08:00
Eugene Shalygin
8ca730f0d8
Use new signal/slot syntax in options dialog
2017-05-17 12:38:27 +02:00
Mike Tzou
d80abeb10f
Merge pull request #6751 from thalieht/webuiUnitPrecision
...
WebUI: Increase the number of digits after the decimal point
2017-05-17 12:48:03 +08:00
Eugene Shalygin
71ce193f5a
Fix cmake build broken by #6724 .
...
PR #6724 deletes two source files, let's delete them from
CMakeLists.txt.
2017-05-16 18:55:52 +02:00
Eugene Shalygin
32551b8e6c
Merge pull request #6793 from evsh/cmake
...
cmake: include searchengine resources
2017-05-16 18:48:12 +02:00
Mike Tzou
0f7eabfa4b
Merge pull request #6781 from Piccirello/torrent-download-api-response
...
Include response status in upload torrent API
2017-05-17 00:39:55 +08:00
Eugene Shalygin
4d53d8d1ba
Merge pull request #6785 from KingLucius/freespaceondisk
...
Get disk free space size via QStorageInfo instead of native API. Closes #6780
2017-05-16 18:19:16 +02:00
Eugene Shalygin
a18b3bea03
cmake: include searchengine resources
2017-05-16 18:06:56 +02:00
Vladimir Golovnev
44f8a48d73
Merge pull request #6724 from glassez/libt11
...
Don't use features, deprecated in libtorrent-1.1
2017-05-16 18:54:00 +03:00
Mike Tzou
3cc1b11025
Merge pull request #6783 from Chocobo1/fix
...
Tweak CachedSettingValue
2017-05-16 11:00:14 +08:00
KingLucius
aea887a30f
cross-platform free space on disk
2017-05-15 23:05:23 +02:00
Thomas Piccirello
7cf1d844b0
Return status indicating if at least one torrent was successfully added
2017-05-15 14:30:44 -04:00
Eugene Shalygin
954f05b4a9
Merge pull request #5375 from evsh/filename-edit-widget
...
Add a widget for editing file names
2017-05-15 09:33:28 +02:00
Chocobo1
3fb8ff281f
Tweak CachedSettingValue
...
* Add another constructor to save a call to proxyFunc when its not needed
note that this call is a virtual function call
* Pass in proxyFunc by const reference
* Move get methods together
2017-05-15 12:31:26 +08:00
Thomas Piccirello
1b5852ad0b
Use less permissive Content Security Policy
...
Adjust content order
2017-05-14 20:26:15 -04:00
Chocobo1
b9403774e6
Use QBT_EXT in all places
...
Cleanup headers on the way
2017-05-13 16:20:32 +08:00
Chocobo1
b18bf48014
Improve error message reported to user
...
Should not contain "file" or "folder", because it's not clear which type is selected.
2017-05-13 16:16:59 +08:00
Chocobo1
51e3e5438b
Code formatting
...
Refactor
2017-05-13 16:16:59 +08:00
Chocobo1
0939875ca8
Fix renaming files is not case sensitive on Windows platform. Closes #5128 .
2017-05-13 16:16:59 +08:00
Mike Tzou
a2d5d48aff
Merge pull request #6730 from Chocobo1/icontray
...
Fix double click on system tray icon causing program to open and minimize immediately
2017-05-13 02:32:37 +08:00
Eugene Shalygin
92a7479e2d
Merge pull request #4994 from evsh/availability-column
...
Add availability column to torrent contents
2017-05-12 17:47:51 +02:00
Eugene Shalygin
5c10a24923
Add availability column to torrent properties window
2017-05-12 17:15:00 +02:00
Eugene Shalygin
bc18bf1ab4
Add TorrentHandle::availableFileFractions() function
...
The function returns list of availability values for all torrent files.
The availability here is different to that one in the progress bar. Here
it shows what part of the file's pieces is available (i.e. we do not count
availability > 1 for a piece).
2017-05-12 17:14:59 +02:00
Eugene Shalygin
d5af8722a6
Add availability column to torrent content model
2017-05-12 17:14:59 +02:00
Eugene Shalygin
114c9a8421
Follow project coding style. Issue #2192 .
2017-05-12 17:06:18 +02:00
thalieht
73c37cc460
Trackerlist: add "m_" to private members and make them camelCase
2017-05-11 19:15:00 +03:00
thalieht
14f50f1038
Trackerlist: Allow to toggle columns
2017-05-11 19:15:00 +03:00
thalieht
d9555a9e9d
Trackerlist: Set text alignment of columns with numbers to the right
2017-05-11 16:53:31 +03:00
thalieht
5d33399000
TrackerList: Remove unnecessary deletes from the destructor
2017-05-11 16:53:31 +03:00
thalieht
33979cb41c
TransferListWidget: Remove unnecessary deletes from the destructor
2017-05-11 16:53:31 +03:00
thalieht
e82a1522c8
Trackerlist: Change 0 to nullptr
2017-05-11 16:53:31 +03:00
thalieht
e00be240b0
PropertiesWidget: Change 0 to nullptr
2017-05-11 16:53:31 +03:00
thalieht
b360c5453b
PropertiesWidget: Some coding style
2017-05-11 16:53:31 +03:00
thalieht
ce77ebdfe1
Coding style of whole trackerlist.h and a little in trackerlist.cpp
2017-05-11 16:53:31 +03:00
Vladimir Golovnev
f3658daf72
Merge pull request #6699 from fbriere/issue/6265-top-dirname-while-adding
...
Use actual top-level dirname to look for incomplete files in new torrent
2017-05-11 15:23:16 +03:00
Eugene Shalygin
a997b7d078
Merge pull request #6770 from evsh/fix-6768
...
Do not attempt to show detailed tooltips without torrent metadata. Closes #6768 .
2017-05-11 09:51:58 +02:00
Eugene Shalygin
f211b238c4
Do not attempt to show detailed tooltips without torrent metadata. Closes #6768 .
...
Computations for detailed tooltips are not protected against unavailable
metadata, that leads to asserts or crashes. But since those tooltips are
useless in this case, do not show them at all. Inform user that detailed
tooltip becomes available once torrent metadata are fetched.
2017-05-11 01:10:23 +02:00
Vladimir Golovnev
692e4a986a
Merge pull request #6757 from glassez/rss
...
Forward add/remove child RSS Item event as set of add/remove Articles events
2017-05-10 16:58:49 +03:00
Vladimir Golovnev (Glassez)
fbda237cc4
Fix local IP addresses
2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
26f645bd6c
Don't create redundant "buf" variable
2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
a4d2df575e
Don't use deprecated torrent_handle::set_tracker_login
2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
1d3dbcb9d2
Don't use deprecated fields of torrent-related alerts
2017-05-10 13:54:29 +03:00
Vladimir Golovnev (Glassez)
5dc54aa224
Don't use deprecated torrent_status fields
2017-05-10 13:54:28 +03:00
Vladimir Golovnev (Glassez)
72a54910e9
Don't use deprecated peer_info fields
2017-05-10 13:54:28 +03:00
Vladimir Golovnev (Glassez)
a2f82be6c2
Don't use deprecated url_seed_alert fields
2017-05-10 13:54:28 +03:00
Vladimir Golovnev (Glassez)
13b04f8d2d
Don't use deprecated settings_pack members
2017-05-10 13:54:27 +03:00
Vladimir Golovnev (Glassez)
bdca55f15c
Use new Session Statistics feature
2017-05-10 13:24:51 +03:00
Vladimir Golovnev (Glassez)
8a6d8f3953
Use cached SessionStatus and CacheStatus
2017-05-10 13:24:37 +03:00
Vladimir Golovnev (Glassez)
cb678a254d
Fix statsdialog.* coding style
2017-05-10 13:23:51 +03:00
Vladimir Golovnev (Glassez)
78d6b14fe8
Don't use deprecated torrent_info fields
2017-05-10 12:43:49 +03:00
Chocobo1
446b3307f9
Make method const
2017-05-09 14:21:55 +08:00
Chocobo1
b4baeaaf23
Pass arguemnts by const reference
2017-05-09 14:15:45 +08:00
Chocobo1
42c17ea5ce
Fix argument name differ in definition & declaration
2017-05-09 14:12:36 +08:00
Chocobo1
3739bcc270
Initialize struct member
2017-05-09 13:51:12 +08:00
Chocobo1
b9e8cab1e5
Revise class memebers construction & destruction
...
Use nullptr
Delete m_contentDelegate on close
Remove redundant deletion of m_contentModel since parent is setup
correctly
2017-05-09 13:45:30 +08:00
Chocobo1
4d4097d819
Move editHotkey out of class definition
...
Also since parent is setup correctly, remove the redundant delete
2017-05-09 13:03:14 +08:00
Eugene Shalygin
5b59b18606
Fix crash when entering daemon mode. Closes #6759 .
...
We stored reference to parameters object in main(), but that object gets
deleted when we reset Application object upon entering daemon mode.
Change reference to copy to fix that.
2017-05-08 18:01:38 +02:00
Eugene Shalygin
7320ac1bc0
Use file path edit widgets in options and add torrent dialog
2017-05-08 10:08:29 +02:00
Eugene Shalygin
30081e0356
Add widget for editing filesystem paths
2017-05-08 10:08:29 +02:00
sledgehammer999
d61fc7e820
Merge pull request #3858 from Chocobo1/screen_center
...
Fix dialogs didn't position on the correct screen
2017-05-07 22:17:55 +03:00
Vladimir Golovnev (Glassez)
a36848b5c0
Forward add/remove child RSS Item as add/remove Articles
2017-05-07 18:49:21 +03:00
Vladimir Golovnev (Glassez)
f8debdea67
Fix Item::unreadCountChanged() emit in wrong place
2017-05-07 18:40:42 +03:00
sledgehammer999
a4d5ac4b17
Merge pull request #4739 from sledgehammer999/web_translations
...
Don't duplicate translatable strings for the WebUI. Use the ones from…
2017-05-07 16:24:53 +03:00
sledgehammer999
9f98f9f7ac
Rename cmd options source files.
2017-05-07 16:20:18 +03:00
sledgehammer999
1a099fa742
Don't enforce an explicit value for TriState cmd options.
...
Most code from Brian Kendall <guygizmo@gmail.com> (@briankendall)
2017-05-07 14:47:37 +03:00
thalieht
e075274177
webUI: increase the number of digits after the decimal point
2017-05-05 20:09:04 +03:00
sledgehammer999
b1f1823c65
[WebUI]Use the same layout in the Speed tab in preferences as the GUI.
2017-05-05 16:41:41 +03:00
sledgehammer999
0addeafc6b
Add missing unit sizes in misc.js
2017-05-05 16:41:40 +03:00
sledgehammer999
44c5a9beff
[WebUI]Use translatable strings in Statistics dialog.
2017-05-05 16:41:39 +03:00
sledgehammer999
e177799ada
[WebUI]Make the context obligatory for translatable strings. Also delete duplicate strings from extra translations.
2017-05-05 03:46:33 +03:00
Vladimir Golovnev (Glassez)
76e3383650
Don't remove read articles from Unread list
...
Revert back old behavior (incorrect but, perhaps, more user-friendly),
when Unread list populates with "unread" articles only but then it can
contain "read" articles if they become "read" when Unread list is shown.
2017-05-04 20:37:05 +03:00
Frédéric Brière
c37d90bf6d
Properly sort categories case-insensitively in filter widget. Closes #6708 .
2017-05-04 10:56:45 -04:00
Frédéric Brière
722c928ab5
Turn isSpecialItem() into a CategoryFilterModel static method.
2017-05-04 10:41:36 -04:00
Vladimir Golovnev (Glassez)
2d3914c077
Prevent incorrect popullating of Unread RSS list
2017-05-04 12:39:59 +03:00
Vladimir Golovnev (Glassez)
4e37688105
Properly clear ArticleListWidget
2017-05-04 12:30:02 +03:00
Frédéric Brière
f53a403a7b
Set "category" column as case-insensitive in TransferListSortModel.
...
(From what I can tell, it would appear that the sorting was already
case-insensitive by default. This makes it explicit.)
2017-05-03 14:07:55 -04:00
Frédéric Brière
ec08cb5445
Leave categories order intact in "Add new torrent" dialog.
...
The categories are already properly sorted in AddNewTorrentDialog; this
second case-sensitive sort undid all that.
This partially addresses #6708 .
2017-05-03 14:07:55 -04:00
Eugene Shalygin
6540dfa528
Fix release CMake build
...
write() is declared with __attribute__ ((__warn_unused_result__)) and as
such we shall check its return value. Took opportunity and adjusted
error reporting a bit: if writing to stderr fails, try to write to
stdout.
2017-05-03 02:52:10 +02:00
Chocobo1
da581dee41
Fix double click on system tray icon causing program to open and
...
minimize immediately
Closes #5826 .
Simply ignore DoubleClick event, as it always come after Trigger
event
2017-05-03 00:14:51 +08:00
Mike Tzou
1808f0e614
Merge pull request #6734 from Chocobo1/plugin_connect
...
Fix signaling to checkForUpdatesFinished() failed
2017-05-02 21:56:32 +08:00
Chocobo1
3e964212ac
Fix signaling to checkForUpdatesFinished() failed.
...
Fixup of 14e168039c
.
2017-05-02 20:33:21 +08:00
Vladimir Golovnev
c1e3e2a745
Revert "Guard the flag used for deferred session configure." ( #6733 )
...
This reverts commit 5cbc7b16c0
.
2017-05-02 14:39:47 +03:00
Chocobo1
7d1ac06ce2
Fix stack overflow in Utils::Gzip::decompress
...
Anyway, use std::vector to allocate memory on the heap (in compress() too)
2017-05-02 12:47:07 +08:00
Chocobo1
1fbf121506
Fix CookiesDialog position
2017-05-01 16:02:09 +08:00
Chocobo1
f36e891010
Fix trackersadditiondlg position
2017-05-01 15:32:08 +08:00
Chocobo1
bd2f69a9d6
Fix peeradditiondlg position
2017-05-01 15:32:08 +08:00
Chocobo1
6f6fe626a1
Fix shutdownconfirm position
2017-05-01 15:32:08 +08:00
Chocobo1
fb9ebce9c6
Fix pluginselectdlg position
...
Fix peerlistwidget position
Fix mainwindow position
2017-05-01 15:32:08 +08:00
Chocobo1
2258e4d5ed
Fix automatedrssdownloader position
2017-05-01 15:32:08 +08:00
Chocobo1
73047e3c84
Cleanup downloadfromurldlg, statsdialog
2017-05-01 15:32:08 +08:00
Chocobo1
933f9f1451
Fix optionsdlg position
2017-05-01 15:31:58 +08:00
Chocobo1
46abe42a54
Fix deletionconfirmationdlg position
...
Fix autoexpandabledialog position
Fix previewselect position
2017-05-01 15:30:41 +08:00
Chocobo1
a902eb6b2b
Fix speedlimitdlg position
2017-05-01 15:30:38 +08:00
Chocobo1
de54fa2c30
Fix addnewtorrentdialog position
...
Fix messageBox position
2017-05-01 14:48:10 +08:00
Chocobo1
7eaa5987c8
Fix dialogs didn't position on the correct screen which qBittorrent window is on. Closes #1690 , #2474 , #3538 .
2017-05-01 14:33:25 +08:00
sledgehammer999
67f44e03a2
Merge pull request #6689 from briankendall/fix_macos_addnewtorrentdialog_bug
...
Fix for macOS-specific bug in AddNewTorrentDialog
2017-04-30 22:29:51 +03:00
sledgehammer999
4ea9a2f07e
Merge pull request #5532 from briankendall/torrent_command_line_arguments
...
Command line arguments for specifying options when adding torrents
2017-04-30 22:25:21 +03:00
Brian Kendall
eba41978b0
Added command line arguments for specifying options when adding torrents
...
Arguments include adding torrents as paused/started, skiping hash check, setting category, downloading in sequential order, downloading first and last pieces first, and skipping the 'add new torrent' dialog. Added TriStateBoolOption class for specifying options that don't have a default value when unused (e.g. add-paused). Also improved command line usage text to include more information, have better organization, and not exceed 80 columns in width. Also also added firstLastPiecePriority field to BitTorrent::AddTorrentData, and modified TorrentHandle so that if first/last piece priority should be on, it will be toggled on after the torrent's metadata has loaded.
2017-04-30 14:22:30 -04:00
Chocobo1
6bcb07649e
Setup DPI at startup
2017-05-01 02:21:44 +08:00
Chocobo1
893ce32f1d
Remove curly braces
2017-05-01 00:45:27 +08:00
Chocobo1
a1cad86bbf
Remove workaround
...
Upstream confirmed bug fixed in Qt 5.2
2017-05-01 00:45:09 +08:00
Chocobo1
b3c73b7868
Refactor
2017-05-01 00:37:47 +08:00
sledgehammer999
0a5bb6685f
Merge pull request #6654 from Chocobo1/persistence
...
Webui server fixes
2017-04-30 16:34:23 +03:00
Frédéric Brière
e8f6149a6d
findIncompleteFiles(): Replace dir listing with individual checks. Closes #6265 .
...
Looking for incomplete files in a new torrent by using a pre-generated
directory listing presents several disadvantages:
- It requires us to extract the top-level directory name (in case it
was renamed).
- It requires us to know whether the top-level directory was stripped.
- In the latter case, it may result in recursively traversing the
entire contents of all downloaded torrents.
Calling QFile::exists() individually for each file solves all these
issues.
In so doing, the handling of single-file and multiple-file torrents are
rendered pretty much identical, and can therefore be merged.
2017-04-30 09:26:58 -04:00
Mike Tzou
e91a5f6a5a
Merge pull request #6701 from Chocobo1/webui
...
WebUI: Fix checkbox hidden
2017-04-30 13:35:02 +08:00
Chocobo1
5e50d8ed91
WebUI: Fix checkbox hidden. Closes #6642 .
2017-04-29 23:12:04 +08:00
Eugene Shalygin
172991e068
Merge pull request #6703 from evsh/cmake
...
cmake: set warning and error compiler options
2017-04-29 14:11:09 +02:00
Eugene Shalygin
c4e16aa820
cmake: set warning and error options
...
The set is far from perfect, but guards against common errors with GCC.
2017-04-29 13:30:28 +02:00
Vladimir Golovnev
93df0ef1d1
Move AddTorrentParams to its own header ( #6712 )
...
* Move AddTorrentParams to its own header
* fixup! Move AddTorrentParams to its own header
2017-04-29 11:49:40 +03:00
Vladimir Golovnev
70f1153413
Merge pull request #6694 from glassez/remove-temp
...
Remove torrent temp folder when it becomes unneeded
2017-04-29 11:44:15 +03:00
Vladimir Golovnev (Glassez)
160b7ff2d3
Remove torrent temp folder when torrent is deleted
2017-04-28 16:52:16 +03:00
Vladimir Golovnev (Glassez)
c56b4a25bc
Remove torrent temp folder if it becomes unneeded
2017-04-28 12:30:48 +03:00
Eugene Shalygin
71cf25ae99
Replace variable length array with std::vector in print_stacktrace()
...
The function does memory allocation from heap anyway, so should not be
a problem to use STL container.
2017-04-27 14:32:02 +02:00
Vladimir Golovnev
c50cee8feb
Merge pull request #6686 from glassez/fix-nullptr
...
Fix RSS GUI bugs
2017-04-27 12:55:44 +03:00
Vladimir Golovnev (Glassez)
a78a1a9c64
Add invariant checking in ArticleListWidget
2017-04-27 12:31:18 +03:00
sledgehammer999
74fb070e78
Merge pull request #6693 from glassez/drop-qt4
...
Drop rest of qt4 support code
2017-04-26 15:12:55 +03:00
Vladimir Golovnev (Glassez)
335443e6a0
Drop QThread::msleep wrapper
2017-04-26 10:44:47 +03:00
Vladimir Golovnev (Glassez)
d5d946dd66
Drop Qt4 related settings from QMake project
2017-04-26 08:53:47 +03:00
sledgehammer999
b71ee80ecd
Optimize P2P filter parsing too.
2017-04-26 02:33:57 +03:00
sledgehammer999
fd7e69e1e0
Add helper function for logging messages.
2017-04-26 02:33:56 +03:00
sledgehammer999
51cf6bd2a5
Optimize DAT filter parsing. Parse in memory and in place instead of copying strings around.
2017-04-26 02:33:55 +03:00
Brian Kendall
59e6a4298d
Fixed macOS-specific bug in AddNewTorrentDialog
...
Because AddNewTorrentDialog is a sheet in macOS, repositioning it causes bad things to happen, particularly if the main dialog is on a secondary monitor.
2017-04-25 13:34:06 -04:00
Vladimir Golovnev (Glassez)
6764de8ef0
Fix ArticleListWidget adds new articles in wrong order
2017-04-25 13:15:11 +03:00
Vladimir Golovnev (Glassez)
71814885aa
Fix ArticleListWidget doesn't clear properly
2017-04-25 13:14:55 +03:00
Vladimir Golovnev (Glassez)
abfcfb5af0
Fix possible null pointer dereference
2017-04-25 13:01:34 +03:00
sledgehammer999
8f6e04d779
Using new IP parser provided by @evsh. It is faster and uses less memory.
...
Class `DATIPv4Parser` was written by Eugene Shalygin <eugene.shalygin@gmail.com> (evsh on github).
2017-04-25 04:43:30 +03:00
sledgehammer999
f53dab8ad4
Output log messages for ip filter parsing errors.
2017-04-25 04:43:29 +03:00
sledgehammer999
05ab9fc355
Optimize ip filter parsing.
2017-04-25 04:43:22 +03:00
Vladimir Golovnev (Glassez)
3a3125ea2b
Fix remove oldest article
2017-04-24 16:50:28 +03:00
Vladimir Golovnev
e433cbab97
Merge pull request #6677 from glassez/fix-create-subfolder
...
Allow strip root folder using default settings
2017-04-24 12:21:53 +03:00
Vladimir Golovnev (Glassez)
c799923d7d
Allow strip root folder using default settings
2017-04-24 12:03:35 +03:00
Vladimir Golovnev (Glassez)
711be50e9c
Fix AddTorrentData field types
2017-04-24 11:59:16 +03:00
sledgehammer999
032eb12585
Remove whitespace.
2017-04-24 04:25:49 +03:00
sledgehammer999
3cdc6fb978
Fix compiler warnings.
2017-04-24 04:24:32 +03:00
Eugene Shalygin
c865ba2803
Merge pull request #6671 from zywo/cmake-build
...
Fix CMake build
2017-04-23 14:16:39 +02:00
Vladimir Golovnev (qlassez)
f259bde275
Fix "Create subfolder" in AddNewTorrentDialog
2017-04-23 15:05:03 +03:00
zywo
51104a9fb4
Fix CMake build
2017-04-23 09:29:27 +01:00
Vladimir Golovnev (Glassez)
989a70fe60
Redesign RSS subsystem
2017-04-23 09:03:46 +03:00
Eugene Shalygin
090a2edc1a
Merge pull request #6651 from evsh/fix-config-dir-on-windows
...
Migrate from platform-specific code in Private::DefaultProfile to QStandardPaths
2017-04-22 13:09:17 +02:00
Eugene Shalygin
41628dd5f6
Merge pull request #6662 from ngosang/se_plugins
...
[Search engine] Update, remove and add plugins
2017-04-22 11:32:30 +02:00
ngosang
fa64f33c2a
[Search engine] Add btdb plugin
2017-04-21 23:42:07 +02:00
Eugene Shalygin
14e168039c
Use explicit class for search plugin versions
2017-04-21 09:47:08 +02:00
ngosang
5d0cfc7475
[Search engine] Update legittorrents plugin
2017-04-20 21:17:24 +02:00
ngosang
339b35c369
[Search engine] Remove mininova plugin
2017-04-20 21:00:59 +02:00
ngosang
91e7e94820
[Search engine] Update demonoid plugin
2017-04-20 20:56:23 +02:00
Chocobo1
0b5de9ff54
Temporary revert to the old behavior.
2017-04-20 22:26:35 +08:00
Chocobo1
a35c6426ab
Specify lib requirement: zlib >= 1.2.5.2
2017-04-20 22:26:35 +08:00
Chocobo1
617f19e599
Revise Utils::Gzip::decompress
...
Rename from uncompress to decompress
Change signature
Use proper casting
Use larger buffer for the output of inflate()
Reserve 1 MBytes for output buffer
Change function signature
2017-04-20 22:26:35 +08:00
Chocobo1
302c8ba850
Revise Utils::Gzip::compress code
...
Change signature
Add ZLIB_CONST define to make z_stream.next_in const
Cast to zlib defined type Bytef*
Set memLevel to 9 in deflateInit2() for maximum performance
Revise compression loop
On returning false, free memory correctly by calling deflateEnd()
Reserve space by the estimation of deflateBound()
2017-04-20 22:24:50 +08:00
Chocobo1
94b496354b
Rewrite rules for gzipping http response content
2017-04-20 22:22:17 +08:00
Chocobo1
4600e679d1
Implement robust acceptsGzipEncoding()
...
Adhere more to http/1.1 standard
2017-04-20 22:22:17 +08:00
Chocobo1
129172453b
Fix "Content-Encoding" header is always created.
...
Was side effect of operator[]
2017-04-20 22:22:17 +08:00
Chocobo1
7d36c81949
Cleanup Http::responseGenerator()
...
Add CRLF definition
Rewrite loop using iterator, slightly more efficient
Rename variables
2017-04-20 22:22:17 +08:00
Chocobo1
6cb2f05a6c
Demote to helper function
...
Rename function
2017-04-20 22:22:17 +08:00
Chocobo1
829e1399ca
Convert Qstring to char arrays
...
Cleanup header
Sort constants
2017-04-20 22:22:17 +08:00
Chocobo1
4b2266a8e2
Send Date http header
...
It's not strict required but often expected.
change class to namespace
cleanup header
2017-04-20 22:22:17 +08:00
Chocobo1
9496b2a159
Always send Content-Length header.
...
Because without it, HTTP/1.1 (with persistence connection) clients will
keep waiting for more data.
2017-04-20 22:22:17 +08:00
Chocobo1
0b28fb6c6b
Implement http persistence connection
...
Max simultaneous connection limit set to 500
This also release allocated memory of Connection instances at runtime instead of at program shutdown.
2017-04-20 22:22:14 +08:00
Eugene Shalygin
01325ee7de
Merge pull request #6658 from evsh/cmake
...
cmake: fix typo in the manifest file name
2017-04-19 17:37:05 +02:00
Eugene Shalygin
f99ba03177
cmake: fix typo in the manifest file name
2017-04-19 17:06:44 +02:00
Eugene Shalygin
b06080e2e7
Replace platform-specific code in Private::DefaultProfile with QStandardPaths.
...
This should also fix Profile::location(SpecialFolder::Config) on
Windows.
2017-04-19 12:51:07 +02:00
sledgehammer999
ae0a9d74c4
Merge pull request #6487 from Chocobo1/ui
...
GUI polish
2017-04-18 04:01:13 +03:00
Eugene Shalygin
4e1b7c3b87
Remove generated include from headers
...
Not only fixes compilation with CMake 3.8 (without messing with include
paths) but makes sources cleaner.
2017-04-17 16:31:19 +02:00
Eugene Shalygin
34798399da
cmake: fixes for cmake 3.8
...
AUTOUIC seems to became stricter.
2017-04-17 16:27:24 +02:00
sledgehammer999
018574e546
Merge pull request #6475 from OpenGG/master
...
[WebUI-API] Add "skip_checking" and "paused" to "/command/download" and "/command/upload"
2017-04-17 17:12:24 +03:00
sledgehammer999
48b0cf8a48
Merge pull request #6621 from Chocobo1/webui
...
Webui: refactor
2017-04-17 17:08:25 +03:00
sledgehammer999
ae0ec716cb
Fix inverted check when applying the IP filter.
2017-04-17 17:07:12 +03:00
sledgehammer999
c27108c97a
Merge pull request #6630 from evsh/fix-6454
...
Start up torrents after UI was created. Fixes #6454 .
2017-04-17 16:44:03 +03:00
sledgehammer999
56436d3f97
Merge pull request #6626 from evsh/fix-desktop-filename
...
Rename .desktop file to match executable name. Fixes #6625 .
2017-04-17 16:03:06 +03:00
Vladimir Golovnev (Glassez)
22178f9997
Fix strip torrent root folder
2017-04-15 17:33:20 +03:00
Vladimir Golovnev (Glassez)
6d7d566cdf
Fix TorrentHandle rootPath() and contentPath() methods
2017-04-15 10:11:53 +03:00
Vladimir Golovnev (Glassez)
d413bc65ef
Improve strip torrent root folder
...
Fix issue when you rename the "root item" in the "Add New Torrent" dialog
and uncheck "Create subfolder", it will create the subfolder with the
renamed name.
Fix PropertiesWidget first folder is expanded after app restart.
Strip root folder if torrent was added via magnet link.
Fix crash when you get name of torrent without metadata.
2017-04-15 10:11:53 +03:00
sledgehammer999
4b2d8a7941
Setting for creating subfolder on multifile torrents. Closes #588 .
2017-04-15 10:11:53 +03:00
Eugene Shalygin
21a72c651f
Start up torrents after UI was created. Fixes #6454 .
...
Commit dd0537d changed torrents startup code adding alerts processing
into it. Therefore alerts were processed before UI code subscribed to
signals and therefore part of alerts was not reflected in the UI.
Thus here we do not start torrents in Session constructor, but do that
from Application::exec() after UI was constructed and is ready to process
signals.
2017-04-14 00:58:43 +02:00
Eugene Shalygin
ecd67b9d75
Rename .desktop and appdata files to match executable name. Fixes #6625 .
2017-04-12 17:26:12 +02:00
Eugene Shalygin
a8d95dd8bd
Save relative paths in fastresume files
...
Conditionally change absolute paths to relative in the fastresume data files.
The condition is specified by user via a command line parameter and
paths are relative to the profile dir.
On Windows the convertion to relative path is performed if the path and
the profile are on the same drive only.
2017-04-12 00:51:37 +02:00
Eugene Shalygin
0710a59bf5
Refactor parameters parsing
...
Introduce classes that encapsulate parameter names and parsing schemes
from command line and from environment variables.
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0bf7fa15c1
Replace wrappers in base/utils/fs.h with Profile::SpecialFolders::location()
2017-04-12 00:50:33 +02:00
Eugene Shalygin
44b6cb28f6
Add environment variables usage description to the help text
2017-04-12 00:50:33 +02:00
Eugene Shalygin
d5414631c3
Initialise QBtCommandLineParameters members from environment
...
This allows to pass options via environment variables. The variable name
is constructed from parameter name by transforming the name to upper
case and prefixing "QBT_".
2017-04-12 00:50:33 +02:00
Eugene Shalygin
0f746ffd5a
Add support for different configurations. Partially closes #465
...
It may be useful to have different configurations either for portable
versions or for debugging purposes. To implement this we add two
options, avaliable via command line switches
1. An option to change configuration name ("--configuration"). The name
supplied via this option is appended to
QCoreApplication::applicationName() to form "qBittorrent_<conf_name>"
name for the configuration files.
2. An option to provide a path do directory where all the settings are
stored (kind of profile directory). There is a shortcut "--portable"
which means "use directory 'profile' near the executable location".
In order to implement that we have to perform initialisation of the
profile directories before the SettingStorage and Preferences singletones
are initialised. Thus, options parsing shall be performed without defaults
read from preferences.
2017-04-12 00:50:28 +02:00
Chocobo1
d1ee54f6ea
Refactor: move methods under the same #if section.
2017-04-11 23:16:16 +08:00
Chocobo1
7f346b49a7
Refactor: move the validation of certificates & key functions under Server class
...
Rename method
Add log messages
2017-04-10 21:18:59 +08:00
Chocobo1
05d8c46bb0
Rename class variables
2017-04-10 21:07:08 +08:00
Chocobo1
35ab86d32f
Refactor: group port forwarding code together
...
Unify log message
2017-04-10 20:14:19 +08:00
sledgehammer999
e40444d1ad
Bump API_VERSION and API_VERSION_MIN to 13.
2017-04-06 02:03:44 +03:00
sledgehammer999
50f0ba4f7a
Sync translations of .desktop file from Transifex.
2017-04-06 02:02:01 +03:00
sledgehammer999
be7facdfaf
Sync translations from Transifex and run lupdate.
2017-04-06 01:50:52 +03:00
sledgehammer999
1111ca9d90
Merge pull request #6548 from Chocobo1/cookie
...
Fixes for AbstractWebApplication
2017-04-05 18:37:51 +03:00
Chocobo1
812bd4c83a
Uncrustify
2017-04-05 17:39:44 +08:00
Chocobo1
a86f189f53
Relax comparsion for floating point
2017-04-05 17:36:47 +08:00
Chocobo1
59556dfc6a
Cleanup & refactor
2017-04-05 17:36:47 +08:00
Chocobo1
86e82c71e5
Setup parent pointer
...
Rely on Qt to do the delete, since the parent ownership is setup
correctly.
2017-04-05 17:36:36 +08:00
sledgehammer999
f3d6ae3433
Merge pull request #6590 from FranciscoPombal/webui_remaining
...
fixed "remaining" column in WebUI
2017-04-04 01:35:59 +03:00
sledgehammer999
40948ab652
Merge pull request #6519 from evsh/cmake
...
cmake: fix build and add build configurations for Travis
2017-04-04 01:24:59 +03:00
sledgehammer999
b2528f7573
Merge pull request #6581 from Chocobo1/set_location
...
Fix cancel "Set location" causes files move to installation dir
2017-04-04 01:15:27 +03:00
FranciscoPombal
829ad2e1e6
fixed "remaining" column in WebUI
...
the key had the wrong name. In the js code, the expected key is "amount_left" and not "remaining".
2017-04-03 16:20:01 +01:00
opengg
b271fa9f00
[WebUI] Add skip_checking
and paused
to /command/download
and /command/upload
2017-03-31 14:05:19 +08:00
Chocobo1
5de505acfe
Cleanup headers
...
Remove unused headers
Sort header includes
2017-03-30 16:45:11 +08:00
Chocobo1
faaafce35b
Fix cancel "Set location" causes files move to installation dir.
...
Closes #6568 .
2017-03-30 16:45:10 +08:00
Chocobo1
0d3c670728
Add log message
2017-03-30 16:45:10 +08:00
Chocobo1
272d53fdf8
Set cookie SID value to empty on logout
...
Set cookie SID expiration date to 1 day in the past on logout
2017-03-22 17:22:10 +08:00
Chocobo1
4e48408eaa
Fire up the timer to clean inactive sessions
2017-03-22 17:21:10 +08:00
Chocobo1
e26b30a5f4
Refactor: initialize class variable directly
2017-03-22 17:20:28 +08:00
Chocobo1
e4d6fe2d02
Refactor: reorder headers
2017-03-22 17:20:27 +08:00
Chocobo1
e9bd75f4e1
Set HttpOnly attribute to SID cookie
2017-03-21 15:24:41 +08:00
Eugene Shalygin
b2ff058bc0
cmake: fix OSX bundle creation
2017-03-20 19:47:21 +01:00
Eugene Shalygin
5c0bf86405
cmake: remove qt4 leftover
2017-03-20 19:07:52 +01:00
epicgirl1998
f904cfa32d
Remove extra space
...
fixes https://github.com/qbittorrent/qBittorrent/issues/6523
2017-03-17 03:43:49 +02:00
opengg
db3158c410
[WebUI] bugfix: RequestParser::splitMultipartData
drop extra trailing newline.
2017-03-11 01:26:22 +08:00
sledgehammer999
9eb01fbe4d
Merge pull request #6489 from evsh/fix-fileguard
...
Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488 .
2017-03-08 12:18:58 +02:00
Eugene Shalygin
3091e03a95
Fix CMake build
2017-03-08 09:12:49 +01:00
Eugene Shalygin
3752d112fb
Fix TorrentFileGuard::setAutoRemove() recursion problem. Closes #6488 .
...
The problem was created during Qt 4 drop, when FileGuard was promoted
from a member to a base class. The function was blindly changed.
2017-03-08 09:05:58 +01:00
Chocobo1
a16c557137
Always draw background
2017-03-08 14:36:42 +08:00
Chocobo1
2b2b3a4fe7
Fix downloaded/uploaded columns were not highlighted properly when selected.
...
Refactor
2017-03-08 14:36:09 +08:00
sledgehammer999
bc910798da
Indicate bitness in stackstrace and about dialog. Closes #6172 .
2017-03-08 01:01:17 +02:00
sledgehammer999
a7dcf20ed1
Fix state of IP filter widgets.
2017-03-08 00:30:54 +02:00
sledgehammer999
729fbb2e50
Change named of getter function.
2017-03-08 00:16:25 +02:00
sledgehammer999
aa51907387
Merge pull request #6369 from magao/issue6367
...
Use Perl-compatible regexes for RSS rules. Closes #6367 .
2017-03-08 00:04:17 +02:00
sledgehammer999
be60b3e046
Change the user-agent format in the session.cpp too.
2017-03-07 23:41:29 +02:00
sledgehammer999
147f4d76e2
Merge pull request #6445 from Chocobo1/fix
...
Follow http user-agent format
2017-03-07 23:38:14 +02:00
sledgehammer999
7a6da3d3ce
Merge pull request #6479 from Chocobo1/qt4
...
Remove remainings of Qt4
2017-03-07 23:28:56 +02:00
sledgehammer999
b90db12ba0
Use a QTreeView and a sort proxy in the manually banned IP list to have a consistent sort order with QStringList::sor().
2017-03-07 23:16:51 +02:00
sledgehammer999
431658bee6
Fix race condition where there was a chance to allow all ips between reparsings of the ip filter.
2017-03-07 23:16:50 +02:00
sledgehammer999
14513cd81f
Allow edit of manually banned IPs regardless if an IP filter has been set.
2017-03-07 23:16:43 +02:00
sledgehammer999
5084c01c2b
Merge pull request #5877 from dzmat/to_pull_request
...
locally banned IP list managment (Closes #1837 )
2017-03-07 23:14:20 +02:00
sledgehammer999
140187649d
Merge pull request #6473 from FranciscoPombal/stats_webui
...
Implement statistics window in web UI
2017-03-07 22:51:57 +02:00
sledgehammer999
f3cbb7f9da
Merge pull request #6384 from glassez/safe-macros
...
Remove exception suppressing from torrenthandle.cpp
2017-03-07 22:50:06 +02:00
sledgehammer999
b69b6d1f55
Revert "Set default locale". Closes #6436 and #6459 .
...
This reverts commit 75ef6356d3
.
2017-03-07 15:35:42 +02:00
Vladimir Golovnev (Glassez)
79e8f69fb6
Remove exception-suppress macros
...
Remove SAFE_* macros from TorrentHandle class.
These macros using seems to be unneeded.
2017-03-07 15:04:57 +03:00
Chocobo1
fa2128cbae
Replace Utils::String::fromStdString() by QString::fromStdString()
2017-03-07 19:42:44 +08:00
sledgehammer999
9839ef7292
Add keywords to the .desktop file.
2017-03-06 20:58:02 +02:00
Chocobo1
87384ca2a2
Replace Utils::String::toHtmlEscaped() by QString::.toHtmlEscaped()
2017-03-07 00:03:53 +08:00
Chocobo1
ffdcfe9686
Replace Utils::String::toStdString() by QString::toStdString()
2017-03-06 23:58:38 +08:00
Chocobo1
7539bee5c5
Remove remaining QBT_USES_QT5 defines.
...
Fixup of e64bb1de8c
.
2017-03-06 23:47:07 +08:00
dzmat
59de1af31b
implemented UI for managment of locally banned IP list ( Closes #1837 )
2017-03-06 19:40:34 +07:00
Chocobo1
2091dfaa69
Follow http user-agent format
...
Add version variable without the starting "v"
2017-03-06 14:42:32 +08:00
Chocobo1
cb1646be32
Prepend QBT_ for preprocessor variables
2017-03-06 13:41:58 +08:00
FranciscoPombal
1ce71fc63e
Implement statistics window in web UI
2017-03-06 03:05:18 +00:00
sledgehammer999
fc49856857
Merge pull request #6391 from Chocobo1/cert
...
Allow QSsl::Ec as private key format
2017-03-06 01:22:09 +02:00
sledgehammer999
fa1149e1f2
Remove remnant of qt4 version checking.
2017-03-06 00:53:25 +02:00
Eugene Shalygin
008d7dbedc
Raise minimal Qt version to 5.5.1
2017-03-05 22:24:59 +01:00
Eugene Shalygin
e64bb1de8c
Drop Qt 4 support
2017-03-05 22:24:59 +01:00
sledgehammer999
60998a68eb
Merge pull request #6417 from Chocobo1/manifest
...
Embed manifest when compiling with MSVC
2017-03-05 19:40:35 +02:00
sledgehammer999
922fec44d2
Merge pull request #6447 from buinsky/master
...
WebUI: Improve performance of updating 'progress' column
2017-03-05 14:46:30 +02:00
sledgehammer999
22989a436e
Merge pull request #6461 from Chocobo1/rand_fix
...
Workaround thread_local on osx
2017-03-05 14:43:29 +02:00
Chocobo1
cae2f3059c
Workaround thread_local not supported on OSX
...
Drop back to xcode7.3 on TravisCI
2017-03-04 20:37:48 +08:00
buinsky
b6c6b70915
Improve performance of updating 'progress' column
2017-03-04 12:19:36 +03:00
Chocobo1
3b5e7eb0ea
Fix compile error: ‘escape’ is not a member of ‘Qt’
2017-03-04 16:22:00 +08:00
Chocobo1
ea9d65f377
Fix incomplete type compile error with Qt4
2017-03-04 16:20:36 +08:00
Chocobo1
38063c388e
Capitalize title strings
...
Remove DISCARDABLE keyword which is ignored on 32-bit windows
2017-03-04 13:17:55 +08:00
Chocobo1
7da29f7654
Embed manifest when compiling with MSVC
...
Update manifest
2017-03-04 13:09:32 +08:00
sledgehammer999
5c730f984d
Bump API_VERSION to 12.
2017-03-03 22:31:58 +02:00
Chocobo1
0fb3b18a8f
Utilize escapeHtml
2017-03-03 21:28:32 +02:00
Chocobo1
6ca3e4f094
Add Utils::String::toHtmlEscaped
2017-03-03 21:28:30 +02:00
Chocobo1
eba45a0b26
Cleanup
2017-03-03 21:28:29 +02:00
Chocobo1
7756dd80f3
[WebUI]: add X-XSS-Protection, X-Content-Type-Options, CSP header
2017-03-03 21:28:28 +02:00
ngosang
f5ad04766f
[WebUI] Avoid clickjacking attacks
2017-03-03 21:28:27 +02:00
Chocobo1
f9c39e3dac
[WebUI]: exclude insecure ciphers
2017-03-03 21:28:26 +02:00
Chocobo1
84bc011df5
Code formatting
...
Remove extra private keyword
2017-03-03 21:28:25 +02:00
sledgehammer999
31b69ae6f6
Update copyright year.
2017-03-03 21:26:38 +02:00
sledgehammer999
82edc5c495
Sync translations from Transifex and run lupdate.
2017-03-03 21:13:31 +02:00
ngosang
f0fe8808bd
[Search engine] Update Extratorrent plugin
2017-03-02 21:21:33 +01:00
sledgehammer999
b5f81a34cb
Use new create_torrent constructor were available.
2017-02-22 19:25:50 +02:00
sledgehammer999
ad4b691fa5
Merge pull request #6413 from evsh/no-proxy-in-webui-server
...
Disable proxy in WebUI HTTP server. Closes #6349 .
2017-02-21 13:15:22 +02:00
Eugene Shalygin
be8eab4e54
Disable proxy in WebUI HTTP server. Closes #6349 .
...
Due to a bug in Qt 5.8 (QTBUG-58706) QTcpServer tries to use HTTP proxy
when it is set as default app proxy (for instance via "http_proxy"
environment variable) and this breaks the server. So we disable any proxy
in it.
2017-02-21 00:07:09 +01:00
sledgehammer999
9e56f3d318
Merge pull request #6385 from thalieht/Trackerlist
...
Trackerlist: Seperate seeds from peers for DHT, PeX, LSD
2017-02-20 01:53:54 +02:00
sledgehammer999
4adcd03ec7
Merge pull request #6366 from Chocobo1/rand
...
Replace rand()
2017-02-20 01:49:27 +02:00
Chocobo1
759bf4d73d
Allow to load/use ECDSA certificate in webUI.
...
Limit max read size
Improve messages in dialogs
Refactor
2017-02-17 12:23:51 +08:00
Chocobo1
511796f74e
Replace rand() by a true uniform distribution generator
2017-02-16 12:21:26 +08:00
Chocobo1
c7d10dc091
Turn off port forwarding of WebUI by default for GUI users
2017-02-16 12:21:26 +08:00
thalieht
4f1c428d8f
Seperate seeds from peers for DHT, PeX and LSD
2017-02-15 21:24:47 +02:00
murlakatamenka
78438d7044
Update mainwindow.h (remove duplicate declaration)
2017-02-11 21:36:52 +03:00
Tim Delaney
a844ccb06a
Cache rule regular expressions for performance
...
--HG--
branch : magao-dev
2017-02-11 18:43:50 +11:00
Tim Delaney
f9abd254f4
Use Perl-compatible regexes for RSS rules. Closes #6367 .
...
--HG--
branch : magao-dev
2017-02-11 16:33:18 +11:00
sledgehammer999
d045f64ebb
Merge pull request #6288 from Falcosc/fix_add_torrent_queue_overflow
...
fix queue overload for add torrent at session start
2017-02-08 22:46:58 +02:00
falco
ee239ddd1e
fix queue overload for add torrent at session start
2017-02-08 15:13:21 +00:00
sledgehammer999
73f762250c
Merge pull request #6358 from Chocobo1/coverity
...
Fix issues on coverity
2017-02-08 15:34:45 +02:00
Chocobo1
4ad541d066
Fix coverity issues
...
torrentcontentmodel: Use a variable to store filesCount
optionsdlg: add fallthrough comment to suppress warning
speedPlotview: initialize member
misc: fix wrong type used, add spaces
2017-02-08 13:49:47 +08:00
Chocobo1
cab10aa7b4
Use QString::toStdString()
...
Qt5 utilized the desired toUtf8() instead of toAscii().
2017-02-08 13:21:36 +08:00
Tim Delaney
c0339d4f6a
Fix regex RSS matching. Closes #6337 .
...
--HG--
branch : magao-dev
2017-02-05 08:53:33 +11:00
Tim Delaney
f96eb587ff
Bugfix RSS feed list and rules editor. Closes #3782 , #6281 .
...
--HG--
branch : magao-dev
2017-01-22 15:36:27 +11:00
Tim Delaney
e4d9e9f63f
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-01-29 09:24:41 +11:00
sledgehammer999
f6a941defc
Merge pull request #6294 from thalieht/hotkeys
...
Add hotkeys for some things. Closes #2090
2017-02-06 22:41:30 +02:00
sledgehammer999
01ddf23745
Remove unnecessary semicolon.
2017-02-06 18:52:04 +02:00
sledgehammer999
83009adbc0
Use same casting method and fix code style.
2017-02-06 18:52:03 +02:00
sledgehammer999
c8f955e302
Fix previous commit.
2017-02-06 18:51:56 +02:00
thalieht
0240c87095
TransferListWidget: Some coding style
2017-02-06 17:52:40 +02:00
thalieht
5675021895
enable RSS, Search and Execution Log widgets before switching to them via hotkeys
2017-02-06 17:52:40 +02:00
sledgehammer999
12b73747f5
Merge pull request #3058 from VladimirSinenko/master
...
Fixed sort order for datetime columns with empty values (closes #2988 )
2017-02-06 17:49:26 +02:00
sledgehammer999
179b686e42
Merge pull request #6176 from magao/issue873
...
Improve UI responsiveness during RSS downloading. Closes #873 , #1089 , #1235 , #5423
2017-02-06 16:17:08 +02:00
sledgehammer999
2a7f4217df
Merge pull request #6321 from magao/rss_icon_themed
...
Rss icon themed
2017-02-06 10:08:33 +02:00
sledgehammer999
d880372b49
Fix unused variable warning by gcc.
2017-02-06 01:20:31 +02:00
sledgehammer999
fa8c69a5e1
Merge pull request #6315 from glassez/cat-tree-state
...
Fix category filter widget doesn't save on/off state
2017-02-06 00:13:59 +02:00
sledgehammer999
25c7c297e8
Merge pull request #6317 from dzmat/public_to_private
...
reduce methods accessibility from public to private
2017-02-06 00:11:38 +02:00
sledgehammer999
bcd6baa793
Merge pull request #6340 from Chocobo1/contentSort
...
Use case-insensitive comparsion for torrent content window
2017-02-05 23:12:55 +02:00
sledgehammer999
5046c36458
Immediately update torrent_status after manipulating super seeding mode. Partially fixes #6072 .
2017-02-05 22:02:33 +02:00
Chocobo1
976504498a
Use case-insensitive comparsion for torrent content window.
...
Closes #6327
2017-02-03 23:40:22 +08:00
dzmat
b167b4174e
reduce methods accessibility from public to private
2017-01-29 15:17:55 +07:00
Tim Delaney
0fb8810c52
Resize RSS icon to fit theme.
...
--HG--
branch : magao-dev
2017-01-29 13:56:01 +11:00
thalieht
2bb2d3fc89
change all existing shortcuts to use Qt::Keys
2017-01-28 19:43:16 +02:00
Tim Delaney
5d185f1fcd
Fix compilation error on Qt<5.4. Closes #6170 .
...
--HG--
branch : magao-dev
2017-01-27 14:24:51 +11:00
sledgehammer999
3b3de81cb7
Merge pull request #6181 from magao/issue6170
...
RSS episode filter improvements. Closes #800 , #2749 , #3876 , #6170 .
2017-01-26 01:02:05 +02:00
sledgehammer999
769fe17a21
Merge pull request #6179 from magao/issue6165
...
RSS use red text to indicate invalid filter. Closes #6165 .
2017-01-25 23:28:57 +02:00
sledgehammer999
354702140a
Merge pull request #6180 from magao/issue6171
...
Allow | in RSS must contain. Closes #6171 .
2017-01-25 23:27:59 +02:00
sledgehammer999
5df8ad32fe
Merge pull request #6183 from magao/issue6163
...
Save rule on enable/disable even if not selected. Closes #6163 .
2017-01-25 23:25:49 +02:00
sledgehammer999
b9b8352a31
Merge pull request #6184 from magao/issue5539
...
RSS: allow resetting rule to no category. Closes #5539 .
2017-01-25 23:20:19 +02:00
sledgehammer999
eb3f4b8490
Merge pull request #6283 from Chocobo1/sort
...
Use case-insensitive sort for Name column in Search tab. Closes #407 .
2017-01-25 23:07:11 +02:00
sledgehammer999
6c05b5f083
Merge pull request #6286 from ngosang/fix_webui
...
[Web UI] Fix category in torrent upload. Closes #6260
2017-01-25 23:06:50 +02:00
sledgehammer999
14ebf2118a
Merge pull request #6289 from evsh/cmake
...
Cmake compilation fixes
2017-01-25 23:06:21 +02:00
thalieht
c87cdaea23
add hotkeys for Trackerlist Peerlist etc.
2017-01-25 11:33:33 +02:00
thalieht
0fdd3e23ff
add hotkey for execution log tab
2017-01-25 11:33:33 +02:00
thalieht
beddee8dd4
Transferlist: add hotkeys for double click and recheck selected torrents
2017-01-25 10:42:32 +02:00
thalieht
ed900d3e86
change torrentDoubleClicked() so it can be used in a hotkey
2017-01-25 10:11:19 +02:00
ngosang
e6e0ecfaea
[Web UI] Fix category in torrent upload. Closes #6260
2017-01-22 14:20:48 +01:00
Vladimir Golovnev (Glassez)
d79297db1a
Save/load category filter widget state
2017-01-22 14:59:03 +03:00
Chocobo1
4669a99617
Use case-insensitive sort for Name column in Search tab. Closes #407 .
2017-01-22 11:48:01 +08:00
sledgehammer999
077ad6506c
Merge pull request #6175 from magao/issue6167
...
Move old RSS items to separate config file. Closes #6167 .
2017-01-22 04:47:52 +02:00
sledgehammer999
043ae1eb17
Merge pull request #6278 from Falcosc/fix_incompleate_file_crash
...
fix index overflow for torrents with invalid meta data or empty progress
2017-01-22 01:14:16 +02:00
Eugene Shalygin
180ec7af4a
cmake: RSS target has to depend on qbt_base as it uses its includes
2017-01-21 20:12:48 +01:00
Eugene Shalygin
13d9dea8ac
cmake: make LibtorrentRasterbar::LibTorrent public dependency of qbt_base
...
If libtorrent include directory not in the compiler search path, we have
to pass it to all qbt targets, because session.h includes
libtorrent/version.hpp
2017-01-21 16:40:44 +01:00
Falco
84759d4f20
fix index overflow for torrents with invalid meta data or empty progress
2017-01-21 14:35:09 +01:00
sledgehammer999
5b35981c85
Merge pull request #5774 from thalieht/unit_precision
...
Increase number of digits after the decimal point. Closes #5053
2017-01-21 14:05:26 +02:00
sledgehammer999
75d0414da3
Merge pull request #6275 from evsh/fix-icon-names
...
Replace icon name "open-menu" with "preferences-system"
2017-01-21 14:02:14 +02:00
thalieht
f8213f5d56
friendlyUnit: Properly replace spaces with non-breaking spaces
2017-01-21 12:03:05 +02:00
thalieht
311b060c70
Increased number of digits after the decimal point for Gibibytes and above
2017-01-21 12:02:15 +02:00
sledgehammer999
f4fa000ba3
Polish previous commit.
2017-01-21 02:59:33 +02:00
sledgehammer999
68ecbf4185
Merge pull request #5420 from thalieht/alignment
...
Changes and additions in search, peerlist, transferlist
2017-01-21 02:58:32 +02:00
Eugene Shalygin
68e8f565e2
Fix cmake compilation
2017-01-21 00:32:00 +01:00
sledgehammer999
cb0f73da57
Merge pull request #5613 from glassez/cat_tree
...
Implement category filter widget. Closes #5444 .
2017-01-20 23:21:31 +02:00
sledgehammer999
c8ddd68a7a
Merge pull request #6212 from magao/issue2192
...
Follow project coding style. Issue #2192 .
2017-01-20 23:13:06 +02:00
Eugene Shalygin
a6b6009fb1
Replace icon name "open-menu" with "preferences-system"
...
Apparently, we can not use symbolic icons transparently.
2017-01-20 20:02:49 +01:00
sledgehammer999
1376d8fa7b
Merge pull request #6084 from Chocobo1/set_locale
...
Set default locale
2017-01-20 20:14:20 +02:00
Vladimir Golovnev (Glassez)
c002f30848
Implement category filter widget
...
Show categories in tree mode when subcategories are enabled.
2017-01-20 20:55:01 +03:00
sledgehammer999
8d58c52ad8
Merge pull request #6249 from bil-elmoussaoui/master
...
Fixes default indicator name
2017-01-20 19:10:45 +02:00
sledgehammer999
96f9984823
Fix preferences icon loading in WebUI.
2017-01-20 18:54:36 +02:00
sledgehammer999
824b90b643
Merge pull request #6269 from Chocobo1/icons
...
Fix new icons too large
2017-01-20 18:33:35 +02:00
sledgehammer999
05def34697
Merge pull request #6157 from Chocobo1/speedLimit
...
Speedlimitdlg: raise slider default value to 10000
2017-01-20 18:24:42 +02:00
Chocobo1
ca77a315d9
Fix download & upload icon too large on statusbar in webui
2017-01-20 14:04:32 +08:00
Chocobo1
35921c70fe
Remove trailing spaces
2017-01-20 14:04:05 +08:00
Chocobo1
0517a3eb63
Fix rss icon too large in rss settings dialog
...
Give a name to the rss icon (in .ui file)
Add helper function: Utils::Misc::largeIconSize()
Group functions under the same #ifdef
2017-01-20 13:45:50 +08:00
Chocobo1
d52a74092b
Reset values to default, these are controled elsewhere.
2017-01-19 23:42:12 +08:00
sledgehammer999
7d7f82ae46
Fix finding 'English' item in language dropdown menu when an unrecognized locale is requested. Closes #6109 .
2017-01-19 17:22:40 +02:00
sledgehammer999
fed325a54d
Merge pull request #6140 from Chocobo1/relocateNoRemove
...
After files relocate, don't remove the old folder even if it is empty
2017-01-19 15:52:09 +02:00
sledgehammer999
f1942bc0e0
Merge pull request #6104 from okeatime/mac_nox
...
Build qbittorrent-nox for macOS
2017-01-19 15:49:47 +02:00
sledgehammer999
dcab1da8ab
Merge pull request #6138 from Chocobo1/stats2
...
Use the numbers from tracker scrape response
2017-01-19 11:49:47 +02:00
Chocobo1
a2bb947dcc
After files relocate, don't remove the old folder even if it is empty.
2017-01-19 14:21:04 +08:00
Chocobo1
fa45ba102c
Refactor
2017-01-19 14:21:04 +08:00
Chocobo1
75ef6356d3
Set default locale
2017-01-19 13:33:34 +08:00
Chocobo1
e37a696e7d
Refactor
...
Move default value to preference class
Rename variable
Reorder headers
Remove extra parentheses
2017-01-19 13:33:34 +08:00
Chocobo1
72a6f7ae24
Use the numbers from tracker scrape response. Closes #5048 , #6117 .
...
Add comments
Thanks to Ian Kent for helping investigate
2017-01-19 13:17:50 +08:00
Chocobo1
ecd49148d0
Fix webUI used the wrong value. Closes #6232 .
2017-01-19 13:17:39 +08:00
sledgehammer999
a178268b31
Merge pull request #5959 from dzmat/DRY_fix_minor
...
Little DRY violation fixed
2017-01-19 01:49:21 +02:00
sledgehammer999
ba03fb30f3
Merge pull request #5987 from Chocobo1/temp_dir
...
Put temp files in .qBittorrent directory
2017-01-19 01:33:57 +02:00
sledgehammer999
a092cb9bda
Remove settings to exchange trackers. It wasn't used by non-libtorrent clients. Also it has a privacy risk and you might be DDoSing someone. DHT makes it obsolete anyway.
2017-01-19 01:13:55 +02:00
sledgehammer999
7c75ee20e3
Merge pull request #6076 from evsh/warn-if-no-function-names
...
Warn if no function names are present in the stacktrace
2017-01-19 00:33:12 +02:00
sledgehammer999
18d9403a58
Merge pull request #6098 from dzmat/rename_tab_names
...
Clarify options tab page objects names
2017-01-19 00:14:30 +02:00
sledgehammer999
b5bf6df058
Merge pull request #6139 from Chocobo1/warnings
...
Fix compile warning: unused parameter ‘action’
2017-01-18 23:42:58 +02:00
sledgehammer999
b88b7d4af7
Merge pull request #6262 from evsh/resume-fixes
...
Resume fixes
2017-01-18 22:21:15 +02:00
sledgehammer999
c43cfbad17
Merge pull request #6182 from magao/issue6164
...
Fix tab order in RSS downloader. Closes #6164 .
2017-01-18 20:08:06 +02:00
Eugene Shalygin
b6e64c13d8
Fetch torrent status when generating final fastresume data
...
This is done to get correct queue position, which has to be written into
the fastresume file. See discussion in #6154 .
2017-01-18 18:59:03 +01:00
sledgehammer999
bfec8b8588
Merge pull request #6161 from okeatime/tr
...
Avoid unnecessary translation. Closes #6158
2017-01-18 19:50:40 +02:00
sledgehammer999
a33ff12123
Merge pull request #6203 from okeatime/webui_proxy
...
Webui proxy_type bug fix
2017-01-18 19:15:50 +02:00
sledgehammer999
d686f2dda6
Merge pull request #6250 from evsh/fix-icon-names
...
Fix icon rendering in Linux
2017-01-18 19:07:41 +02:00
Eugene Shalygin
9bab229108
Adjust icons names to better fit FDO scheme
...
An icon theme may use variously styled icons for various types of UI
elements. For example, Breeze theme uses monochrome icons for actions
(toolbars) and statuses, but colourful for view contents. qBittorrent
was using icon names without putting attention to categories, creating
mix of styles in UI elements (i.e. the main toolbar).
This commit fixes icon names (and move some of them to theme) to avoid
this style mixes where possible.
Unfortunately, options dialog page icons for network and speed limits
are remained monochrome because there are no Breeze or Adwaita icons to
match.
2017-01-18 18:03:33 +01:00
Eugene Shalygin
6cd233dd61
Add queue repair code
...
This is a bit adjusted code created by nxd4, who shared it in issue
disappearing).
2017-01-18 17:27:20 +01:00
sledgehammer999
7d55467f4b
Merge pull request #6234 from Chocobo1/scroll
...
For each cell setting ignore wheel events. Closes #866 .
2017-01-18 17:40:02 +02:00
Eugene Shalygin
3de105704e
Do not resize SVG icons
...
An icon which is loaded from SVG file can be rendered in any size and
resolutions natively. We were generating 16x16, 24x24, and 32x32
pixmaps, and not appending but creating new icon. Therefore for SVG
icons we effectively were reducing their quality.
If icon already contains 7 (or more) sizes (16 to 256 px) we do not
resize it anymore.
2017-01-18 10:26:35 +01:00
Eugene Shalygin
9d3378bd3b
Support fallback when selecting theme icons
...
Fallback icon theme are not supported everywhere. Hence we mimic
signature of QIcon::fromTheme().
2017-01-18 10:26:24 +01:00
sledgehammer999
3c1f747c25
Merge pull request #6235 from Chocobo1/systray_too_large
...
Fix icon issues
2017-01-18 03:25:58 +02:00
Bilal Elmoussaoui
ada75cbbe1
fixes default indicator name
...
copy icons instead of renaming them, create status folder
rename from *-indicator to *-tray
2017-01-18 01:13:43 +01:00
Eugene Shalygin
4c13f155ff
Do not remove added files unconditionally. Closes #6248
...
If removing of added torrents is enabled and dialog for adding torrents
is disabled, file guard was assuming that torrent is added successfully.
And that can be not the case if a user trying to add a broken torrent
file (or not a torrent file at all). Then this file gets deleted always.
Fix this by checking result of addTorrent_impl().
2017-01-18 00:04:26 +01:00
Chocobo1
df274e6457
Fix statusIcon too large. Closes #6228 .
2017-01-13 22:53:24 +08:00
Chocobo1
8380edc00c
For each cell setting ignore wheel events. Closes #866 .
2017-01-13 17:47:46 +08:00
Chocobo1
08aaff379b
Fix download & upload icon too large in systray on linux. Closes #6233 .
2017-01-13 16:59:59 +08:00
sledgehammer999
e230cde6c4
Merge pull request #6108 from evsh/fix-6103
...
Workaround problem with moc from Qt4 and #if. Closes #6103 , #5451
2017-01-12 02:08:59 +02:00
Eugene Shalygin
de403dcd9d
Workaround problem with moc from Qt4 and #if
...
moc from Qt4 ignores Q_ENUMS when it is behind #if QT_VERSION check.
Therefore moc entries for enum in TorrentFileGuard were not generated
and the setting was not saving/loading. This closes #6103 , #5451
2017-01-12 00:42:37 +01:00
sledgehammer999
c384cc8c8c
Move new icons to their own theme folder.
2017-01-11 18:02:26 +02:00
sledgehammer999
69da12e6b2
Merge pull request #4253 from bertyhell/stylized-icons-main-bar
...
Switching to stylized icons
2017-01-11 18:01:35 +02:00
Eugene Shalygin
7b594a635e
Set upper version limit for QTBUG-52633
...
The bug seems to be fixed in version 5.7.1.
2017-01-11 00:14:16 +01:00
Tim Delaney
70ce12372d
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-01-08 11:46:01 +11:00
Bert Verhelst
7fb3962192
Merge branch 'master' of https://github.com/qbittorrent/qBittorrent
2017-01-06 20:14:15 +01:00
Oke Atime
84fe40c492
Webui proxy_type bug fix
2017-01-05 18:43:54 +09:00
Tim Delaney
8949a8ad75
RSS: allow resetting rule to no category. Closes #5539 .
...
--HG--
branch : magao-dev
2016-12-31 16:58:01 +11:00
Tim Delaney
2244b7cb66
RSS episode filter refactoring and logging (prep for later commits).
...
--HG--
branch : magao-dev
2016-12-31 18:01:22 +11:00
Oke Atime
e89c32685b
Avoid unnecessary translation. Closes #6158
2016-12-31 01:29:47 +09:00
Chocobo1
14a39ba3c3
Speedlimitdlg: raise slider default value to 10000. Closes #6150 .
...
Old value 1000 (KB/s) can be a bit small for modern internet.
2016-12-30 13:41:27 +08:00
Chocobo1
e178e70053
Code rewrite, no behavior change
2016-12-30 13:35:47 +08:00
sledgehammer999
88b2b26007
Don't use hardcoded numbers to refer to columns.
2016-12-30 01:37:26 +02:00
sledgehammer999
2d37a39e43
Allow to change priority for unselected files through the combobox like it is done via the context menu.
2016-12-30 01:37:19 +02:00
sledgehammer999
7ba66e692f
Always show progress and remaining bytes for unselected files.
2016-12-30 01:37:13 +02:00
sledgehammer999
3e375128c0
Use a disabled progressbar's palette for unselected files.
...
Thanks to evsh(Eugene Shalygin) for example code.
2016-12-30 01:37:02 +02:00
Chocobo1
bc41e2034c
Fix warning: unused parameter ‘action’ [-Wunused-parameter]
2016-12-27 20:19:20 +08:00
Oke Atime
5f767b96f6
Build qbittorrent-nox for macOS
2016-12-22 23:23:21 +09:00
dzmat
6ce443424b
Clarify options tab page objects names
2016-12-19 19:00:03 +07:00
sledgehammer999
7adb1d7f82
WINDOWS: Make the updater to look for the x64 installer if running x64 version.
2016-12-17 19:46:04 +02:00
Eugene Shalygin
05dbea390b
Print warning to the user if stacktrace contains no function names
...
Count matched function names, and if there are no, point out to the user
that the stacktrace is useless. If not all stactrace elements contain
function names, suggest user that installing debug packages may improve
the stacktrace usefulness.
2016-12-17 17:46:05 +01:00
Eugene Shalygin
514de7edc4
Follow project coding style. Issue #2192 .
2016-12-17 17:29:43 +01:00
sledgehammer999
d330ae2421
Merge pull request #6056 from okeatime/resume_pause
...
Make resume/pause menu items clickable. Closes #6040
2016-12-16 14:59:08 +02:00
Oke Atime
5ae35ea6dc
Make resume/pause menu items clickable. Closes #6040
2016-12-16 21:50:09 +09:00
Oke Atime
84da355f4c
Case insensitive sort for client clumn. Closes #6054
2016-12-15 15:25:30 +09:00
sledgehammer999
4f59caf3ca
Fix share ratio limiting. Broken by commit 259b5e51c4
. Closes #6039 #6048 .
2016-12-15 00:04:50 +02:00
sledgehammer999
b2827702e5
Correctly migrate settings/rss/usage stats in macOS. Closes #6041 .
2016-12-14 17:51:49 +02:00
sledgehammer999
435886bbf0
Fix GUI for proxy settings. Closes #6045 .
2016-12-14 17:35:23 +02:00
sledgehammer999
5c4db0fa17
Fix slider for per torrent speed limits when no global speed limit has been set. Closes #6046 .
2016-12-14 17:18:34 +02:00
sledgehammer999
26e8072c84
Merge pull request #5332 from evsh/fix-qt5-log-flood
...
Add a workaround for QTBUG-52633, qBt issue #5073
2016-12-13 19:37:17 +02:00
Eugene Shalygin
9a123c42c3
Add a workaround for QTBUG-52633, qBt issue #5073
...
The QTBUG-52633 results in food of network interface changed events, libtorrent IP
rebind calls and flood in the qBt log. The work around is the check not only for
interface name, but for IP address on that interface before triggering the libtorrent rebind.
2016-12-13 17:18:58 +01:00
sledgehammer999
283511116e
New translations: Icelandic, Latvian, Malay, Occitan, Uzbek
...
Also re-run lupdate.
2016-12-13 02:09:28 +02:00
sledgehammer999
77da1afae5
Sync translations from Transifex and run lupdate.
2016-12-13 01:02:06 +02:00
sledgehammer999
0caf03130c
Bump API_VERSION and API_VERSION_MIN to 11.
2016-12-12 22:11:06 +02:00
sledgehammer999
d88ec48468
Polish previous commit.
2016-12-11 23:24:55 +02:00
sledgehammer999
5a006d5980
Merge pull request #5810 from ghost/macOSpref
...
Change QSettings to IniFormat on macOS. Closes #5770 #5808
2016-12-11 23:23:22 +02:00
sledgehammer999
4e8ca90b23
Merge pull request #5958 from dzmat/auto_ptr_eviction
...
minimizing the number of warnings about deprecated auto_ptr
2016-12-10 21:23:42 +02:00
sledgehammer999
07edb7b74e
Merge pull request #6010 from Chocobo1/warnings
...
Fix memory leak
2016-12-10 21:22:41 +02:00
dzmat
abeff99ba0
minimizing the number of warnings about deprecated auto_ptr
2016-12-08 19:24:52 +07:00
Chocobo1
5cf86d3677
Change Utils::Fs::freeDiskSpaceOnPath() signature
...
refactor the function internals
2016-12-08 15:36:34 +08:00
thalieht
9f06d0d47b
SearchTab: can now save sorting column changes
2016-12-07 18:39:03 +02:00
thalieht
f523685414
PeerListDelegate: fix coding style in whole file
2016-12-07 18:39:03 +02:00
thalieht
a90100a0b7
PeerList: allow to hide zero values for the "uploaded" and "downloaded" columns
2016-12-07 18:25:18 +02:00
thalieht
1652425cee
TransferListWidget: keep columns width even if they are hidden on qBittorrent startup (unless something goes wrong)
2016-12-07 18:19:54 +02:00
thalieht
c90794878f
SearchTab: Allow to toggle columns in searchtab
2016-12-07 18:19:54 +02:00
thalieht
b2144f7928
SearchTab: use saveSettings() and loadSettings() to handle header state
2016-12-07 18:19:54 +02:00
thalieht
5255719661
SearchTab: align text to the right in columns that handle numbers
2016-12-07 17:47:51 +02:00
thalieht
daf33ef8aa
PeerList: align text to the right in columns that handle numbers
2016-12-07 17:47:51 +02:00
sledgehammer999
ba1e5b8d58
Merge pull request #6013 from Chocobo1/mac_warnings
...
Fix warnings on macOS
2016-12-07 16:48:35 +02:00
sledgehammer999
49ed0765e1
Merge pull request #5928 from Chocobo1/rss-view
...
Change RSS view layout to horizontal
2016-12-07 01:44:56 +02:00
sledgehammer999
0d1b70e248
Decouple dependency between Session and BandwidthScheduler during Session init. Closes #6007 .
2016-12-07 01:33:48 +02:00
Chocobo1
ce3c53b3c4
Replace deprecated classes
2016-12-07 01:31:44 +08:00
Chocobo1
ab187f06da
Fix unused variable warnings
2016-12-07 01:31:39 +08:00
Chocobo1
0b313e0bc3
Remove unused variable
2016-12-05 20:20:01 +08:00
Chocobo1
7f2f78a816
Simplify #if expression
2016-12-05 20:05:08 +08:00
Chocobo1
e1c9e3b9ed
Fix memory leak
...
call unicode version of the function directly
2016-12-05 20:04:21 +08:00
Chocobo1
5608827429
Simplify function call
2016-12-05 20:04:13 +08:00
sledgehammer999
f7194eecb0
Merge pull request #5997 from Chocobo1/msvc_warnings
...
Fix msvc warnings
2016-12-02 19:15:59 +02:00
Chocobo1
5d2d22a218
Fix warning C4090.
...
different '__unaligned' qualifiers.
2016-12-02 15:32:27 +08:00
Chocobo1
11c2ee81c1
Fix warning C4267.
...
conversion from 'size_t' to 'int', possible loss of data.
2016-12-02 15:32:27 +08:00
sledgehammer999
d1d6f7ddbc
Merge pull request #5954 from zywo/cmake_build_fix
...
Fix CMake compilation error.
2016-12-02 01:49:03 +02:00
sledgehammer999
3c1774360f
Merge pull request #5981 from Chocobo1/scroll_h
...
Horizontal scroll
2016-12-02 01:47:08 +02:00
dzmat
de26606ad5
memleak fix
2016-12-01 20:18:38 +07:00
Chocobo1
cffa729ac5
Put temp files in .qBittorrent directory. Closes #4462 .
2016-12-01 01:39:27 +08:00
Chocobo1
d84461c9b2
Remove unused header
2016-11-29 17:31:14 +08:00
Chocobo1
f4652b3f7b
Shift + scroll = horizontal scroll, Closes #5980
...
Only for TransferListWidget, PeerListWidget
2016-11-27 16:06:46 +08:00
dzmat
4b18bb29a6
DRY violation fixed
2016-11-18 23:05:47 +07:00
zywo
6e7d3b8135
Fix CMake compilation error.
2016-11-17 16:20:36 +01:00
Chocobo1
a415f14fac
Rename splitter names
2016-11-17 11:12:33 +08:00
sledgehammer999
d73688bfd8
Sync translations from Transifex and run lupdate.
2016-11-14 02:47:35 +02:00
sledgehammer999
2d053da21f
Merge pull request #5847 from yezezey/downloadFromURL
...
Fix downloadFromURL bug. Closes #5844
2016-11-14 02:14:26 +02:00
sledgehammer999
fd5d1583de
Option to disable tracker's favicon download.
2016-11-13 22:47:37 +02:00
sledgehammer999
7923b54456
Remove (mostly) useless log warnings about tracker's favicon.
2016-11-13 22:47:31 +02:00
Tim Delaney
94c9772a81
Ctrl+F search filter. Closes #5797 .
...
--HG--
branch : magao-dev
2016-11-12 01:32:58 +11:00
Tim Delaney
2e66ddb0a0
Follow project coding style. Issue #2192 .
...
--HG--
branch : magao-dev
2017-01-08 11:46:01 +11:00
sledgehammer999
7be27f7770
Merge pull request #6280 from ngosang/fix_search
...
[Search engine] Update extratorrent plugin. Closes #6261
2017-01-21 20:40:04 +02:00
ngosang
a9c5dab0dd
[Search engine] Update extratorrent plugin. Closes #6261
2017-01-21 19:27:14 +01:00
sledgehammer999
9225d9ab2b
Merge pull request #6279 from evsh/cmake
...
cmake: compilation fixes
2017-01-21 18:28:54 +02:00
sledgehammer999
87e454cc6d
Merge pull request #5547 from buinsky/master
...
WebUI: Implement adjustable dynamic table columns
2017-01-21 16:12:12 +02:00
sledgehammer999
b625c4c662
Merge pull request #3162 from ngosang/trackers_tab
...
Display more information in tracker tab
2017-01-21 15:59:05 +02:00
buinsky
484e021ca2
Avoid lags in firefox on resizing progress column
2017-01-21 16:37:34 +03:00
buinsky
741e0a08ea
Remove 300px limit of column width
2017-01-21 16:21:46 +03:00
buinsky
7628490def
Fix scrollbar covers menu item with long text
2017-01-21 15:57:02 +03:00
buinsky
d50a7778fe
Implement resizable progress bar in "Done" column
2017-01-21 15:57:02 +03:00
buinsky
09cf93521f
Follow project coding style. Issue #2192 .
2017-01-21 15:57:02 +03:00
buinsky
e65a628bf9
Add a vertical separator between columns
2017-01-21 15:57:02 +03:00
buinsky
bdf736b7d7
Prevent text wrapping in menus
2017-01-21 15:57:02 +03:00
buinsky
3dfcd6db6a
Make too tall menus scrollable
2017-01-21 15:57:02 +03:00
buinsky
134e4c1eb9
Add some missing columns to dynamic tables
2017-01-21 15:57:02 +03:00
buinsky
a087d146df
Fix columns names
2017-01-21 15:57:02 +03:00
buinsky
3ac87f22cb
Implement dynamic table columns hiding
2017-01-21 15:57:02 +03:00
buinsky
56b885995c
Implement dynamic table columns reordering
2017-01-21 15:57:02 +03:00
buinsky
56c07704d8
Implement dynamic table columns resizing
2017-01-21 15:57:02 +03:00
buinsky
c765d8ebe2
Add tooltips to dynamic table header
2017-01-21 15:57:02 +03:00
buinsky
dd1959abfb
Make torrent peers table scrollable horizontally
2017-01-21 15:57:02 +03:00
buinsky
b1c45901f0
Simplify dynamic table CSS styles
2017-01-21 15:57:01 +03:00
buinsky
7aadf644e0
Make torrents table scrollable horizontally
2017-01-21 11:19:43 +03:00
buinsky
afd4f89693
Rename variables in DynamicTable class
2017-01-21 11:19:42 +03:00
Chocobo1
6b835f53ce
Use new key for storing RSS splitter_v value.
...
So that old value won't override the RSS layout.
2016-11-11 00:35:40 +08:00
Chocobo1
7d34a89efd
Change RSS view layout to horizontal. Closes #5920 .
...
Thanks Bhaalspawn for the idea.
2016-11-10 20:59:55 +08:00
Tim Delaney
b84d9201fd
Allow | in RSS must contain. Closes #6171 .
...
--HG--
branch : magao-dev
2016-11-07 17:46:27 +11:00
Yez Ezey
55916df97d
Set /usr/local/bin before default PATH on macOS. closes #5639 #5571
...
Since Apple made difficult for users to set PATH and /usr/bin/python
is almost unusable, I simply add /usr/local/bin before default PATH
to pick up Homebrew Python.
2016-11-07 13:29:55 +09:00
sledgehammer999
90bbe3379d
Merge pull request #5882 from onto/pvs-studio
...
Fixes and improvements after check by PVS-Studio
2016-11-07 00:18:46 +02:00
Tim Delaney
390d7a8124
Improve UI responsiveness during RSS downloading. Closes #873 , #1089 , #1235 , #5423 .
...
--HG--
branch : magao-dev
2016-11-07 08:56:06 +11:00
sledgehammer999
9b760a8fa0
Merge pull request #5858 from yezezey/case_insensitive
...
Sort torrent names case insensitively
2016-11-06 23:55:57 +02:00
sledgehammer999
6302eb1317
Merge pull request #5896 from Chocobo1/qjson
...
QJson: update to latest git version
2016-11-06 23:52:46 +02:00
sledgehammer999
1259069358
Merge pull request #5904 from yezezey/extra_magnet
...
Fix extratorrent searchengine. Closes #5773
2016-11-06 23:50:14 +02:00
Tim Delaney
32bdb73f70
RSS allow infinite range to extend beyond current season. Closes #800 , #3876 , #6170 .
...
--HG--
branch : magao-dev
2016-11-07 07:18:06 +11:00
thalieht
c7a04e27f4
Log: set embedded Tracker [OFF] msg type as info
2016-11-06 11:55:31 +02:00
Tim Delaney
935b30b17a
RSS use red text to indicate invalid filter. Closes #6165 .
...
--HG--
branch : magao-dev
2016-11-06 16:53:06 +11:00
Tim Delaney
e37488807b
Fix tab order in RSS downloader. Closes #6164 .
...
--HG--
branch : magao-dev
2016-11-06 15:45:44 +11:00
Tim Delaney
96c1187f47
RSS parse torrent episodes like 1x01 as well as S01E01. Closes #2749 .
...
--HG--
branch : magao-dev
2016-11-06 15:26:48 +11:00
Tim Delaney
64f9cbbf54
Allow episode zero (special) and leading zeroes in RSS episode filter.
...
--HG--
branch : magao-dev
2016-11-06 22:51:33 +11:00
Tim Delaney
601649f49a
Save rule on enable/disable even if not selected. Closes #6163 .
...
--HG--
branch : magao-dev
2016-11-06 13:52:12 +11:00
Tim Delaney
cecff159a0
Move old RSS items to separate config file. Closes #6167 .
...
--HG--
branch : magao-dev
2016-11-06 12:00:09 +11:00
Yez Ezey
f6dbf2454d
Fix extratorrent searchengine. Closes #5773
...
They changed to magnet link.
2016-11-05 22:31:17 +09:00