sledgehammer999
95c75bb8c8
Merge pull request #2374 from pmzqla/slider-bandwidth
...
Allow bandwidth values up to 65535 KiB/s
2015-01-28 00:49:16 +02:00
sledgehammer999
eeee24a0b3
Make 'TorrentPersistentData' similar to 'Preferences' class.
2015-01-27 17:34:21 +02:00
sledgehammer999
70985480d6
Follow project coding style. Issue #2192 .
2015-01-27 17:34:20 +02:00
sledgehammer999
dcf5d4d0ee
Merge branch 'optimize-persistent-data' of git://github.com/sorokin/qBittorrent
...
Conflicts:
src/qtlibtorrent/qbtsession.cpp
2015-01-27 15:21:26 +02:00
Ivan Sorokin
e3349092ad
Refactor TorrentPersistentData
...
Conflicts:
src/mainwindow.cpp
src/mainwindow.h
src/qtlibtorrent/qbtsession.cpp
src/qtlibtorrent/qtorrenthandle.cpp
src/transferlistwidget.cpp
src/webui/btjson.cpp
2015-01-25 02:58:54 +03:00
Ivan Sorokin
70a114eb13
Speedup persistent data
...
Conflicts:
src/mainwindow.cpp
src/mainwindow.h
2015-01-25 02:58:54 +03:00
sledgehammer999
061e71337b
Initialize logger at the beginning of program to avoid threading issues.
2015-01-23 19:05:19 +02:00
sledgehammer999
087417c8a6
Change the code to use the Logger class instead.
2015-01-23 19:05:18 +02:00
sledgehammer999
a7527aa9a7
Remove unused signal from LogListWidget.
2015-01-23 19:05:17 +02:00
sledgehammer999
8966bcacea
Follow project coding style. Issue #2192 .
2015-01-23 19:05:16 +02:00
sledgehammer999
91fc9e69ee
Make the GUI log listen to the logger class.
2015-01-23 19:05:15 +02:00
sledgehammer999
1504bbfe43
Logger base class.
2015-01-23 19:05:14 +02:00
sledgehammer999
39c9bb0800
Merge pull request #2445 from buinsky/WebUI3
...
Web API: rename 'json' scope to 'query'
2015-01-23 16:41:42 +02:00
sledgehammer999
e67c4390ed
Merge pull request #2429 from pmzqla/watched-folders
...
WebUI: Fix watched folders on Gecko
2015-01-23 01:28:35 +02:00
buinsky
b30ec46048
Web API: rename 'json' scope to 'query'
2015-01-23 01:37:12 +03:00
sledgehammer999
f2c6981711
Merge pull request #2389 from buinsky/WebUI3
...
Web API: Implement sync/maindata request
2015-01-23 00:36:12 +02:00
buinsky
574c57ee18
Use sync/maindata request in WebUI
2015-01-23 01:13:42 +03:00
buinsky
383c0e1418
Implement sync/maindata request
2015-01-23 01:13:38 +03:00
buinsky
0d43ee7076
Follow project coding style. Issue #2192 .
2015-01-18 16:27:17 +03:00
buinsky
bf0f9dd275
Implement functions for generating partial responses of requests.
2015-01-18 16:27:05 +03:00
Gabriele
f16b7614a1
WebUI: Fix watched folders on Gecko
...
Passing objects to push() seems to be broken on Firefox, making the
preferences impossibile to use when there are watched folders.
Fix this by passing strings instead of elements.
2015-01-17 14:06:53 +01:00
Gabriele
c5db1157f1
Allow bandwidth values up to 65535 KiB/s
...
The slider has a max value, but it's changed whenever a value greater
than it is specified.
Note: 65535 is the maximum value allowed by libtorrent.
Closes #2373 .
2015-01-17 14:00:29 +01:00
Gabriele
737f6c5b4e
Split speedlimitdlg.h into speedlimitdlg.cpp and speedlimitdlg.h
2015-01-11 01:22:28 +01:00
sledgehammer999
74fcee2d7d
Merge pull request #2332 from buinsky/WebUI2
...
WebUI: Change torrent model
2015-01-10 16:37:26 +02:00
sledgehammer999
aca42b8ccc
Merge pull request #2378 from glassez/python_reg
...
Improve Windows Registry searching for Python.
2015-01-10 15:23:12 +02:00
Vladimir Golovnev (Glassez)
b45eb28099
Fix heap corruption. Closes #2342 .
...
Fix heap corruption during Registry access.
2015-01-10 14:48:42 +03:00
Vladimir Golovnev (Glassez)
f851875ad1
Improve Windows Registry searching for Python.
...
Simplify logic of related functions.
Make sure that all open handles are closed.
Explicitly use Unicode versions of Windows API functions.
Prevent max subkey length overwrite.
Use Windows API style of variable names.
2015-01-10 13:17:21 +03:00
Gabriele
d7161dcab1
Fix few spelling mistakes
...
s/Pieces size/Piece size/
s/uknown/unknown/
Closes #2367 .
2015-01-08 18:42:58 +01:00
buinsky
04f1c0c238
WebUI: Change torrent model
...
Improvements:
- added functions, which may be used to reorder and hiding columns in torrents table
- new columns can be easily added to torrents table
2015-01-06 22:49:02 +03:00
sledgehammer999
68c06c7485
Rename the 'Unpaused' filter to 'Resumed'.
2015-01-04 01:32:31 +02:00
sledgehammer999
93f557b747
Coalesce changes in the Preferences class in a much shorter timeframe.
2015-01-04 01:20:37 +02:00
sledgehammer999
ca2dc325f5
Detect uknown command line parameters.
2014-12-28 12:31:37 +02:00
sledgehammer999
8bfd333c60
Touch up previous commit.
2014-12-28 12:31:36 +02:00
Vladimir Golovnev (Glassez)
afdc1ee93e
HOTFIX: Correct command line parameters defaults.
2014-12-28 12:31:35 +02:00
sledgehammer999
96585ca73e
Merge pull request #2322 from john-peterson/save4
...
fixing save state on change
2014-12-26 20:32:29 +02:00
John Sebastian Peterson
6de317ee13
Fix Properties widget state saving
...
readSettings changed CurrentTab and Visible by calling saveSettings
some slot connections were wrong
2014-12-26 19:28:50 +01:00
sledgehammer999
f21b0b4f6d
Merge pull request #2321 from john-peterson/filter
...
adding inverse for paused filter
2014-12-26 20:11:15 +02:00
John Sebastian Peterson
89f34b4ae7
Add 'unpaused' torrent filter
...
the inverse of paused because complete and active have an inverse
2014-12-26 19:04:36 +01:00
sledgehammer999
5f8a49313e
Merge pull request #2320 from pmzqla/webui-pausederror
...
WebUI: Add torrents paused because of errors in Paused and Download list
2014-12-26 19:38:49 +02:00
sledgehammer999
e8cb840836
Fix sorting by port column in peers view.
2014-12-26 17:30:09 +02:00
Gabriele
71bef1852d
WebUI: Add torrents paused because of errors in Paused and Download list
...
Torrents paused because of errors are considered as torrents paused and in
download in the regular UI. Do the same in the WebUI for consistency.
Closes #2319 .
2014-12-21 20:44:35 +01:00
sledgehammer999
91ec84b317
Merge pull request #2301 from pmzqla/checkuri-fix
...
WebUI: Specify URI size
2014-12-21 16:05:07 +02:00
sledgehammer999
db45d81f4c
Merge pull request #2313 from glassez/cmdline
...
Improve command line parsing.
2014-12-21 15:57:22 +02:00
Vladimir Golovnev (Glassez)
5200999007
Improve command line parsing.
2014-12-21 16:29:01 +03:00
sledgehammer999
d888d4e897
Merge pull request #2046 from pmzqla/toolbar-menu
...
Allow minor toolbar customizations
2014-12-21 14:37:29 +02:00
Gabriele
0ebfea6c68
Add a context menu to the toolbar to change the position of the text
...
Closes #1145 .
2014-12-21 13:27:45 +01:00
Vladimir Golovnev (Glassez)
1f110e9fb1
Fix qbittorrent-nox daemon.
2014-12-21 14:26:12 +03:00
Gabriele
442f45d42a
Add texts to the icons on the toolbar
...
The toolbar follows the system style to display texts associated to
icons. Since no specific text is provided, the text used for the action
associated to the button will be used. This could make some of the
buttons rather big.
Add short texts to the icons so that each button uses a reasonable
amount of space.
2014-12-21 11:47:25 +01:00
sledgehammer999
6d6e3042c2
Merge pull request #2302 from buinsky/WebUI2
...
Accept multiple files at once. Closes #2253
2014-12-21 01:09:07 +02:00
buinsky
cb5b0f891c
Accept multiple files at once. Closes #2253
2014-12-21 01:39:53 +03:00
sledgehammer999
bbd0dfb298
Merge pull request #2098 from DoumanAsh/int_search_combo
...
Add combo box for fast search engine switch
2014-12-20 21:56:52 +02:00
sledgehammer999
bea3a175fd
Merge pull request #1549 from Gelmir/add_paused_rss
...
Support overriding global "Add paused" option in RSS on per rule basis
2014-12-20 20:05:24 +02:00
sledgehammer999
7b24157ce3
Merge pull request #2303 from Gelmir/gattrs
...
Normalize line endings
2014-12-20 19:59:03 +02:00
sledgehammer999
b46a0ea9b2
Use the 'fastest_upload' setting as seed choking algorithm.
2014-12-20 19:55:25 +02:00
buinsky
2d0099238a
Follow project coding style. Issue #2192 .
2014-12-20 20:53:58 +03:00
sledgehammer999
1110617896
Don't block peers that use privileged ports.
2014-12-20 19:48:54 +02:00
sledgehammer999
17c62bdd08
Fix incomplete commit 94ae9544d
. Thanks @pmzqla for noticing and helping.
2014-12-20 19:31:38 +02:00
Nick Tiskov
385bbe0df6
Normalize EOL
2014-12-20 20:29:17 +03:00
sledgehammer999
b5c00df107
Merge pull request #2309 from john-peterson/save3
...
saving properties window state when changed
2014-12-20 18:43:02 +02:00
John Sebastian Peterson
cbb8cbf052
saving properties window state when changed
...
to not lose it on an unclean exit
2014-12-20 17:09:35 +01:00
sledgehammer999
94ae9544d8
Fix 'Open Containing Folder' on unselected file.
2014-12-20 17:40:06 +02:00
sledgehammer999
7bc7b0e6b8
Merge pull request #2307 from pmzqla/webui-altspeed
...
WebUI: Alternative speed limits fixes
2014-12-20 16:56:53 +02:00
sledgehammer999
506d9caf09
Merge pull request #2296 from buinsky/master
...
WebUI: Set global upload max limit to 10000 KB/s
2014-12-20 16:52:58 +02:00
sledgehammer999
edba48a0b6
Merge pull request #2299 from glassez/webui_tr
...
WebUI: Improve translation macro.
2014-12-20 16:20:22 +02:00
sledgehammer999
6daaaa6b24
Merge pull request #2297 from pmzqla/filename-extension
...
Filename extension fixes
2014-12-20 15:47:42 +02:00
sledgehammer999
ea2b650e7f
Merge pull request #2293 from john-peterson/save2
...
saving splitter state on change
2014-12-20 15:12:03 +02:00
sledgehammer999
6c7eeb5c5b
Merge pull request #2289 from glassez/fix_main
...
Improve program startup code.
2014-12-20 15:06:56 +02:00
Gabriele
fd86bafb38
WebUI: Be consistent with variable names
2014-12-19 17:34:52 +01:00
Gabriele
280aa95ef6
WebUI: Fix initial state of the alternative speed limits icon
2014-12-19 17:34:20 +01:00
Gabriele
a69515850c
WebUI: Specify URI size
...
In some cases, args_ can't be empty. Specify the number of expected args.
Fix 2023ec043c
("WebUI: Check URI of GET and POST requests")
2014-12-19 17:09:36 +01:00
Vladimir Golovnev (Glassez)
48d4cf4f36
WebUI: Drop old translation hack.
2014-12-18 21:51:33 +03:00
Vladimir Golovnev (Glassez)
d80a14a2e1
WebUI: Improve translation macro.
...
Now we use QBT_TR(translatable string)QBT_TR.
2014-12-18 21:51:19 +03:00
Nick Tiskov
ef14b83134
Support overriding global "Add paused" option in RSS on per rule basis
2014-12-18 17:02:22 +03:00
Gabriele
e41de25919
Open files with ".!qB" appended to the filename
...
Filenames do not include ".!qB" in the file list, so the generated
path could be wrong.
2014-12-16 11:10:42 +01:00
Gabriele
301294fbff
Remove unneeded check on filenames
...
The same check is performed in fsutils::fileExtension()
2014-12-16 11:10:04 +01:00
buinsky
9d51dcb663
WebUI: Set global upload max limit to 10000 KB/s
2014-12-16 05:01:55 +03:00
John Sebastian Peterson
e76ccd5926
saving splitter state on change
...
to not lose it on unclean exit
2014-12-15 23:26:44 +01:00
DoumanAsh
e357cf6231
Add combo box for fast search engine switch
2014-12-16 01:19:31 +03:00
DoumanAsh
722f1aaee8
Small fix of import in legittorrents engine
2014-12-16 01:19:19 +03:00
Vladimir Golovnev (Glassez)
96727f3206
Use forward declarations in main.cpp.
2014-12-15 21:43:01 +03:00
DoumanAsh
3b4548fe73
Remove vertor engine. Closes #2260 .
...
Reason: tracker is closed and redirect to TorrentReactor
2014-12-15 21:01:41 +03:00
sledgehammer999
cac63e85e9
Merge pull request #2290 from john-peterson/save
...
saving torrent list view when changed
2014-12-15 17:25:49 +02:00
John Sebastian Peterson
5cab5bd129
saving torrent list view when changed
...
bc its otherwise forgotten by an unclean exit
2014-12-15 16:12:13 +01:00
sledgehammer999
ba054f34c8
Merge pull request #2172 from sorokin/fix-space-key
...
Implement sane behavior of space key in torrent content list. Closes #140 .
2014-12-15 17:09:56 +02:00
Vladimir Golovnev (Glassez)
ede6715e72
Simplify main() logic.
...
Add Application class.
Put application initialization code to Application class.
Place some code into separate functions.
2014-12-15 17:24:31 +03:00
sledgehammer999
3d7ca1da77
Merge pull request #2284 from pmzqla/webui-features
...
WebUI changes
2014-12-14 23:18:58 +02:00
Gabriele
3be4257ad9
WebUI: MochaUI: Use same cursors on Gecko and WebKit
2014-12-14 21:26:39 +01:00
Gabriele
76999b598c
WebUI: Prevent default action of links
...
This prevents anchors from being added to the URL.
2014-12-14 21:26:39 +01:00
Gabriele
2023ec043c
WebUI: Check URI of GET and POST requests
2014-12-14 21:26:39 +01:00
Gabriele
e4da128fbb
WebUI: Check that all and only the needed parameters are provided
...
Issue #1560 .
2014-12-14 21:24:37 +01:00
Gabriele
f89baa4cf5
WebUI: Use case insensitive parameters for POST requests
2014-12-14 21:24:37 +01:00
Gabriele
6211a9855a
WebUI: Assign min width to speed limit labels
...
Try to prevent continuous changes in the width of the labels.
2014-12-14 21:24:37 +01:00
Gabriele
2c930862c5
WebUI: Align elements in footer
2014-12-14 21:24:37 +01:00
Gabriele
f45e48c32a
WebUI: Show connection status in the statusbar
2014-12-14 21:24:32 +01:00
Gabriele
f1477319ef
WebUI: Show DHT nodes in the statubar
2014-12-14 20:16:44 +01:00
Gabriele
2aa344bb0a
WebUI: Add missing comments
2014-12-14 16:20:37 +01:00
Gabriele
accfbdd304
WebUI: Use translated strings for speed limits dialogue
2014-12-14 16:20:37 +01:00
Gabriele
c53b19d6c1
WebUI: Allow to control the alternative speed limits
...
setGlobalDownloadLimit and setGlobalUploadLimit will now modify the
alternative speed limits if they are currently enabled and the regular
speed limits otherwise.
Add also two new commands to toggle the state of the alternative speed
limits and get their current state.
Closes #2203 .
2014-12-14 16:20:37 +01:00
Gabriele
25e8cad16c
WebUI: Update transfer info when speed limits are changed
2014-12-14 16:20:37 +01:00
Gabriele
b3a537f575
WebUI: Don't cache transfer info values
...
In this way speed limits are instantly updated.
2014-12-14 16:20:37 +01:00
Gabriele
9bd24a1408
Follow project coding style. Issue #2192 .
2014-12-14 16:20:37 +01:00
Gabriele
16dcf39823
WebUI: Use relative sizes when saving panel height
...
This should prevent situations in which the properties panel completely
covers the transferlist on page load.
Save also the height whenever the window is resized since that changes
the height of the panels without saving the height.
2014-12-14 16:20:37 +01:00
Gabriele
95bf2ffc51
WebUI: Define some functions on load
...
These function shouldn't be called when the page is not loaded yet,
so it makes sense to define them later.
2014-12-14 16:20:37 +01:00
Gabriele
f740a4f30b
WebUI: Make transfer info look like in the regular UI
...
The string for the transfer info was not translated as it should have.
Drop it completely.
2014-12-14 16:20:37 +01:00
Gabriele
e9d5a76d9c
WebUI: Never show scrollbars in rate limits dialogue
...
A different DPI setting might make the elements in the dialogue big
enough to make the scrollbars appear, but not big enough to make them
useful. So, never show them.
2014-12-14 16:20:36 +01:00
Gabriele
f775e68666
WebUI: Use correct max ratio value
...
Closes #183 .
2014-12-14 16:20:22 +01:00
Gabriele
d202a59671
Don't forget alternative speed limits changes
2014-12-14 11:47:20 +01:00
Gabriele
9b5fea1987
Don't put limits to the alternative speed limits
2014-12-14 11:47:08 +01:00
sledgehammer999
47e7b3fac2
Merge pull request #2277 from buinsky/master
...
Some changes in WebUI
2014-12-14 02:11:46 +02:00
buinsky
98deac97a0
Precise setting of upload/download limits
2014-12-14 00:58:37 +03:00
buinsky
c95e181378
Disable flooding debug messages
2014-12-14 00:58:35 +03:00
buinsky
364e4277ec
Show upload and download limits in status bar
2014-12-14 00:58:18 +03:00
Vladimir Golovnev (Glassez)
1fcca6f434
Fix main.cpp indentation. Issue #2192 .
2014-12-13 20:22:35 +03:00
Vladimir Golovnev (Glassez)
ebd71bbe4c
Avoid unnecessary classes creation.
2014-12-13 19:42:11 +03:00
sledgehammer999
4665dd6ea2
Run lupdate.
2014-12-13 16:17:16 +02:00
sledgehammer999
11ef0f8729
Correct RSS tooltip text from 18e0d122fb
.
2014-12-13 16:14:13 +02:00
sledgehammer999
45313040d0
Run lupdate.
2014-12-13 15:50:54 +02:00
sledgehammer999
7f7aaabec1
Add better translation notes for some strings.
2014-12-13 15:49:50 +02:00
sledgehammer999
c0ecaa6f58
Merge pull request #2274 from pmzqla/headless-password
...
headless: Update default password hash
2014-12-13 13:05:45 +02:00
buinsky
1b4dad214a
Fix setting session id
2014-12-13 01:29:59 +03:00
Gabriele
04d2deabb5
Vertical align right-aligned elements of the transfer list
...
Same as d19b7a777f
("Vertical align right-aligned header text")
2014-12-12 21:23:12 +01:00
Gabriele
9a534f62d5
headless: Update default password hash
...
Use the md5 of 'adminadmin'.
2014-12-12 15:26:40 +01:00
sledgehammer999
861c8e9ffa
Merge pull request #2262 from pmzqla/webui-changes
...
WebUI: Misc changes
2014-12-12 00:55:05 +02:00
Gabriele
7a58a3fe43
WebUI: Ensure that no concurrent timers exist
2014-12-11 22:05:40 +01:00
Gabriele
fdc975d900
WebUI: Add readonly attribute to comment textarea
...
Torrent comments should not be editable.
2014-12-11 00:02:11 +01:00
Gabriele
005e378cbd
WebUI: Don't change cursor style for the file list
...
Changing the cursor is misleading, no operation can be done.
2014-12-11 00:02:11 +01:00
Gabriele
1332ca318b
WebUI: Adjust size of columns in property panels
2014-12-11 00:02:11 +01:00
Gabriele
b46ecb4351
WebUI: Decrease frequency of updates of property panel
...
Now that the properties are loaded immediately when the selected torrent
or the property tab is changed, the frequency of the updates can be
reduced without affecting the user experience.
New update intervals:
* General: 5 seconds (10 if qBT is not reachable)
* Tracker list: 10 seconds (20 if qBT is not reachable)
* File list: 5 seconds (10 if qBT is not reachable)
2014-12-11 00:02:11 +01:00
Gabriele
ac507261f8
WebUI: Remove extra parethesis
2014-12-11 00:02:11 +01:00
Gabriele
408cc7101e
WebUI: Update torrent properties immediately
...
Don't wait for new data to be fetched, request them as soon as
they are required, i.e. when a property tab is loaded or when a
different torrent is selected.
2014-12-11 00:02:09 +01:00
Gabriele
c54271638b
WebUI: Load properties tabs once
...
Don't reload HTML on tab change. Load the entire structure once and
keep the unused bits hidden.
Keep also the JS code separately, one file per tab.
NOTE: tabs content is not loaded. This will be fixed in the next commit.
2014-12-11 00:00:35 +01:00
Gabriele
cb9ed13d69
WebUI: Fix minor error
...
No timer is set when the functions are directly called.
2014-12-11 00:00:35 +01:00
Gabriele
d06d7b1f6d
WebUI: MochaUI: Show entire error message
2014-12-11 00:00:35 +01:00
Gabriele
aded5422d8
WebUI: MochaUI: Check for undefined functions
2014-12-11 00:00:35 +01:00
sledgehammer999
6884845446
Ensure that the priority column has enough width when queueing is enabled. Closes #2263 .
2014-12-11 00:04:33 +02:00
Gabriele
d055613125
WebUI: Make column width less variable in transferlist
...
Each column has a fixed width that allows to read its content.
The column for the name of the torrents has a variable width with an
upper and a lower constraint.
If the width of the page is not sufficient to fit the table, a scrollbar
will appear.
2014-12-10 21:56:37 +01:00
Gabriele
5fb32da49f
WebUI: Center progressbars in trasferlist
2014-12-10 21:56:33 +01:00
Gabriele
0a512e41c9
WebUI: Select username on login page load
...
On logout, the input field is not empty. Select its content.
2014-12-10 21:56:27 +01:00
Gabriele
57e9165bb4
WebUI: Translate page title everywhere
2014-12-10 21:56:06 +01:00
sledgehammer999
1820a03f1d
Merge pull request #2254 from buinsky/master
...
WebUI: Some changes
2014-12-10 22:50:35 +02:00
buinsky
2c93330ce9
Add space before priority menu item
2014-12-10 06:45:24 +03:00
buinsky
76e30ecf78
Dynamically show 'Start' and 'Pause' menu items
2014-12-10 06:44:41 +03:00
buinsky
2a712a81ea
Add sequential downloading menu items
2014-12-10 04:50:39 +03:00
buinsky
6644791458
Follow project coding style. Issue #2192 .
2014-12-10 04:50:21 +03:00
buinsky
44992056cf
Restore selected filter on page load
2014-12-09 23:49:11 +03:00
buinsky
5b604ac251
Save torrent list sort order in local storage
2014-12-09 23:49:09 +03:00
buinsky
b4f39add08
Update torrent list after operations with torrents.
...
Immediately update torrent list after some operations with torrents.
Such as changing priority, adding torrent, pause/resume, etc.
2014-12-09 23:49:07 +03:00
buinsky
e8ad465c5f
Follow project coding style. Issue #2192 .
2014-12-09 23:49:05 +03:00
buinsky
57a4f3ed19
Hide priority menu items when queueing is disabled
2014-12-09 23:48:45 +03:00
Gabriele
2389495d96
Ignore .!qB when extracting file extensions
2014-12-09 21:32:26 +01:00