Commit graph

7143 commits

Author SHA1 Message Date
sledgehammer999
6812b74bbf Merge pull request #5293 from botmtl/master
default RSSRefreshInterval to 30 mins
2016-05-24 06:10:42 -05:00
sledgehammer999
e2bf462a45 Fix gcc 6 compilation with qmake. See #5237. 2016-05-24 14:05:07 +03:00
sledgehammer999
57dac8d5f7 Merge pull request #5277 from Chocobo1/circular
Minor refactor
2016-05-24 00:03:38 -05:00
Chocobo1
b4bdfa7b2b Use QString::localeAwareCompare for comparsion 2016-05-24 10:44:42 +08:00
Chocobo1
f13c604fbe Use boost:circular_buffer instead of QList.
QList has to store an additional pointer for each element which leads to bad space efficiency.
2016-05-24 10:44:42 +08:00
botmtl
0ca31deedb default RSSRefreshInterval to 30 mins
closes issue #5235 (https://github.com/qbittorrent/qBittorrent/issues/5235)
2016-05-23 21:49:06 -04:00
sledgehammer999
00b5d52eab Merge pull request #5227 from ngosang/addtrackers
[WebUI] Expose Add trackers feature
2016-05-23 16:53:45 -05:00
sledgehammer999
42fec52b0d Merge pull request #2315 from pmzqla/webui-logs
WebUI: Allow to get the logs
2016-05-23 16:51:38 -05:00
sledgehammer999
fed2609cb2 Merge pull request #4888 from SeigneurSerpent/source_line
Stack trace for windows now contains source filenames and line numbers
2016-05-23 16:49:17 -05:00
SeigneurSerpent
7398e7f0ad Improve stack trace for windows by including source filenames and line numbers 2016-05-23 22:37:24 +03:00
sledgehammer999
57a61c48a2 Merge pull request #5270 from evsh/uncrustify
update uncrustify config
2016-05-22 20:12:37 -05:00
Eugene Shalygin
7f40e42ddc update uncrustify config 2016-05-23 02:40:08 +02:00
sledgehammer999
fc0746eb71 Merge pull request #5245 from thalieht/resolveCountries
Minor refactor in PeerListWidget
2016-05-17 17:55:11 -05:00
thalieht
4baa6dde52 resize column to contents only when they're visible
refactor updatePeerCountryResolutionState
deprecate m_resolveCountries var
2016-05-18 00:44:41 +03:00
sledgehammer999
529c208170 Merge pull request #5262 from Chocobo1/text
Improve wordings 2
2016-05-17 14:40:47 -05:00
Chocobo1
c907a2f857 Cleanup headers
Code formatting
2016-05-18 00:46:43 +08:00
Chocobo1
6ead0ae9ee Add lookup function to get PathType display names 2016-05-18 00:46:43 +08:00
Chocobo1
83b58468d9 Improve error messages for "Auto download torrents" 2016-05-17 23:49:07 +08:00
Gabriele
01b73bf704 WebUI: Add command to get the logs
Add /query/getLog and /query/getPeerLog to respectively retrieve
the main log and the peer log.

GET /query/getLog
Params:
 - normal (bool): include normal messages (default true)
 - info (bool): include info messages (default true)
 - warning (bool): include warning messages (default true)
 - critical (bool): include critical messages (default true)
 - last_known_id (int): exclude messages with id <= 'last_known_id'

GET /query/getPeerLog
Params:
 - last_known_id (int): exclude messages with id <= 'last_known_id'
2016-05-17 12:13:59 +02:00
sledgehammer999
673b86c6e3 Merge pull request #5258 from glassez/alert_notify
Use new alert dispathing API. Fixes compilation with libtorrent-1.1.x
2016-05-17 02:36:31 -05:00
Vladimir Golovnev (Glassez)
a318040eaa Use new alert dispathing API 2016-05-17 07:58:38 +03:00
sledgehammer999
14b867e1f6 Merge pull request #5192 from barhom/completed-on-column
Added 'Added on' column in Webui. Closes #5145,#1092,#738
2016-05-16 16:17:36 -05:00
sledgehammer999
4ca1a2d5aa Merge pull request #5251 from Chocobo1/text
Improve wordings
2016-05-16 11:50:44 -05:00
Chocobo1
8a1d387c38 Change ambiguous text "Copy selected" to "Copy IP:port" 2016-05-16 14:29:59 +08:00
Chocobo1
dbf744a179 Change "Auto download torrent" default save path to "default location". 2016-05-16 14:29:59 +08:00
Chocobo1
6ea89bf621 Improve wordings in "Auto download torrent" section 2016-05-16 14:29:59 +08:00
sledgehammer999
4f78a50add Merge pull request #5249 from evsh/auto-remove-torrents
Fix a typo in TorrentFileGuard and a crash when adding torrent via magnet link
2016-05-15 15:59:37 -05:00
Eugene Shalygin
a7495fa7b4 Fix crash when adding torrent via a magnet url
The file guard object has to be initialised in this case too because it
is accessed when dialog gets accepted or cancelled. Initialise it with
empty path.
2016-05-13 20:35:02 +02:00
Eugene Shalygin
47a3f1d93d Fix a typo in TorrentFileGuard 2016-05-13 00:12:33 +02:00
Ibrahim Tachijian
2cef805ab6 Add 'Added on' column in Webui. Closes #5145,#1092,#738 2016-05-10 15:23:24 +00:00
sledgehammer999
140016c068 Merge pull request #5223 from evsh/uncrustify
uncrustify: add constructor initialization list options
2016-05-09 14:28:55 -05:00
sledgehammer999
e22664da0f Merge pull request #5090 from evsh/auto-remove-torrents
Add option to automatically remove .torrent files upon adding
2016-05-09 07:05:09 -05:00
Eugene Shalygin
6e73fa80b8 Add option to automatically remove .torrent files upon adding
Some browsers do not download files, intended for immediate opening,
into a temporary directory, and thus a regular download directories
accumulate those unneeded files.

The option allows qBittorrent to clean after itself and delete those
files whether they were succesfully added or not (user-selectable
policy).
2016-05-09 11:52:36 +02:00
sledgehammer999
35c51ad3b1 Update definition of QBT_USES_QT5 to be true for qt >= 5.2.0 2016-05-08 19:28:02 +03:00
sledgehammer999
9c5a5fc83d Merge pull request #3908 from Chocobo1/rm_nsort
Replace `naturalSort()` with `naturalCompare()`.
2016-05-08 11:12:51 -05:00
Chocobo1
5906a4a2de Add case-sensitive & case-insensitive natural sort helper function
Fix helper function not being thread-safe
Use QBT_USES_QT5 define
2016-05-08 23:59:06 +08:00
sledgehammer999
f5855ae208 Merge pull request #5218 from Chocobo1/travis
Enable CI cache
2016-05-08 10:31:22 -05:00
sledgehammer999
5e7684ab50 Merge pull request #5225 from zywo/about-font-size
Set about tab font-size to default
2016-05-08 10:06:06 -05:00
sledgehammer999
fecf8501cb Merge pull request #5230 from Chocobo1/filterTracker
Fix "IP Filtering - Apply to trackers" wasn't being applied
2016-05-08 09:16:40 -05:00
Chocobo1
71143d1417 Use qmake built-in test function files to locate translation files 2016-05-08 21:47:28 +08:00
Chocobo1
f4f4e31a7a Use POSIX shell 2016-05-08 21:47:28 +08:00
Chocobo1
926cbb18ea Re-enable cache for linux builds
Enable cache for OSX builds
2016-05-08 21:47:28 +08:00
Chocobo1
a81cf1ea16 Fix "IP Filtering - Apply to trackers" wasn't being applied. Closes #5217. 2016-05-08 20:46:58 +08:00
ngosang
30b52b9825 [WebUI] Expose Add trackers feature 2016-05-07 15:17:01 +02:00
zywo
49fb950195 Set about tab font-size to default 2016-05-06 09:36:10 +01:00
Eugene Shalygin
9e177a0a81 uncrustify: add constructor initialization list options 2016-05-06 01:29:09 +02:00
Chocobo1
d25430f377 Cleanup headers
Move `class NaturalCompare` to .cpp file
2016-05-04 16:35:26 +08:00
Chocobo1
f89d7c2f67 Suppress warning on OSX builds 2016-05-04 12:44:36 +08:00
sledgehammer999
f45ec40392 Merge pull request #5189 from evsh/uncrustify
uncrustify: honour pointer and reference symbols alignment rules
2016-05-03 15:06:20 -05:00
sledgehammer999
9f31b0ef4d Merge pull request #4959 from evsh/small-fix-for-settings-storage
refactor SettingsStorage class
2016-05-03 10:37:49 -05:00