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