sledgehammer999
087417c8a6
Change the code to use the Logger class instead.
2015-01-23 19:05:18 +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
sledgehammer999
74fcee2d7d
Merge pull request #2332 from buinsky/WebUI2
...
WebUI: Change torrent model
2015-01-10 16:37:26 +02: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
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
Nick Tiskov
385bbe0df6
Normalize EOL
2014-12-20 20:29:17 +03: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
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
buinsky
9d51dcb663
WebUI: Set global upload max limit to 10000 KB/s
2014-12-16 05:01:55 +03: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
buinsky
98deac97a0
Precise setting of upload/download limits
2014-12-14 00:58:37 +03:00
buinsky
364e4277ec
Show upload and download limits in status bar
2014-12-14 00:58:18 +03:00
buinsky
1b4dad214a
Fix setting session id
2014-12-13 01:29:59 +03: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
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
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
buinsky
28fad54cc4
Add higest and lowest priority icons into toolbar
2014-12-08 00:33:38 +03:00
buinsky
69506ec505
Follow project coding style. Issue #2192 .
2014-12-08 00:14:55 +03:00
buinsky
ba40408c8d
Images cache control code edit
2014-12-07 23:50:06 +03:00
buinsky
dbc5ffee75
Follow project coding style. Issue #2192 .
2014-12-07 23:33:36 +03:00
Gabriele
0b6d5c662a
WebUI: Use CSS to alternate row colors in transferlist
...
Keep the old code for IE < 9, the majority of the browsers
shouldn't need it.
Also, keep the CSS code in one place.
2014-12-07 15:53:33 +01:00
Gabriele
8a4028fc84
WebUI: Remove unused variable
2014-12-07 15:53:33 +01:00
Gabriele
d7071a81bd
WebUI: Keep current preference for the title style in a variable
...
Read persistent value only when required.
2014-12-07 15:53:33 +01:00
Gabriele
6ee1c8851f
WebUI: Update title immediately when showing/hiding rates
2014-12-07 15:53:33 +01:00
Gabriele
2226f166ac
WebUI: Fix increasing frequency of XHR requests
...
ajaxfn() is called every time the torrent list is filtered. This function
calls itself after a predefined amount of time by setting a timer. If
the function is called manually without destroying the timer, the
frequency of the XHR requests will increase.
Fix this by saving a reference to each timer that is created so that
they can be later destroyed.
Add also two helper functions to request updated data safely.
2014-12-07 15:53:33 +01:00
Gabriele
aab2c34257
Follow project coding style. Issue #2192 .
2014-12-07 15:53:28 +01:00
Vladimir Golovnev (Glassez)
0e87b96beb
WebUI: Drop client-side sorting.
2014-12-07 16:28:03 +03:00
Vladimir Golovnev (Glassez)
e279dcf904
WebUI: Implement limit/offset.
2014-12-07 16:28:01 +03:00
Vladimir Golovnev (Glassez)
59ff08c107
WebUI: Implement server-side sorting.
2014-12-07 16:27:59 +03:00
Vladimir Golovnev (Glassez)
8ff03d162d
WebUI: Fix transferlist.html indentation.
2014-12-07 16:27:56 +03:00
Vladimir Golovnev (Glassez)
d938643c38
WebUI: Drop client-side filtering.
2014-12-07 16:27:54 +03:00
Vladimir Golovnev (Glassez)
0488ddafa5
WebUI: Fix indentation.
...
Fix indentation in client.js and dynamicTable.js.
2014-12-07 16:25:52 +03:00
Vladimir Golovnev (Glassez)
1a1db877bf
Use QTorrentHandle::torrentState() in btjson.
2014-12-07 16:13:39 +03:00
Vladimir Golovnev (Glassez)
5edf0e251f
WebUI: Implement server-side torrent filtering.
2014-12-07 16:13:37 +03:00
Vladimir Golovnev (Glassez)
c24610ec80
WebUI: Improve btjson.* indentation.
2014-12-07 16:13:32 +03:00
buinsky
740617e5ce
Use localStorage instead of cookies
2014-11-30 12:44:33 +03:00
buinsky
5e8c62e539
Add "Speed in title bar" item to menu
...
* file: src/Icons/oxygen/checked.png
copyright: Victor Buinsky <allok.victor@gmail.com>
2014-11-30 10:39:27 +03:00
buinsky
b0e138d669
Set images cache expiry time to 300000 seconds
2014-11-30 10:30:20 +03:00
buinsky
632fd84e54
Fix context menu width
2014-11-30 10:30:02 +03:00
buinsky
39e135e40a
Fix menu width
2014-11-30 10:27:33 +03:00
sledgehammer999
060d3fc5b9
Merge pull request #2153 from pmzqla/webui-versioninfo
...
WebUI: Allow to retrieve web API version and qBT version
2014-11-23 22:07:59 +02:00
buinsky
2275735b81
Change of number of decimal places to 1
...
Change of number of decimal places to 1 in speed and size values.
2014-11-23 16:53:41 +03:00
buinsky
b2876b7f66
Show speed in title
2014-11-23 16:38:52 +03:00
Gabriele
d6169b14dd
WebUI: Allow to retrieve qBittorrent version
...
New GET method:
* version/qbittorrent: qBittorrent version
Closes #1872 .
2014-11-22 20:47:32 +01:00
Gabriele
8b5512c244
WebUI: Assign a version to the Web API and allow to get it
...
New GET methods:
* version/api: current API version
* version/api_min: min API version supported
The API version is an integer and it's returned as plain text.
Whenever the API is changed, the api version is increased.
Whenever the API is changed in a way that is not backward compatible,
api_min is increased.
2014-11-22 20:47:32 +01:00
Gabriele
1154ea3873
Change indentation to 4 spaces. Issue #2192 .
2014-11-22 20:47:32 +01:00
buinsky
f44f676729
Update priority icons
...
Update priority icons
2014-11-20 17:26:38 +03:00
buinsky
5cc90844a5
Fixing setting speed limit of torrent in WEBUI
...
Fixing setting speed limit of torrent in WEBUI when global speed limit
is not set.
2014-11-20 17:26:36 +03:00
sledgehammer999
e8bec885cb
Merge pull request #2145 from pmzqla/webui
...
Make Web API locale independent
2014-11-12 00:32:00 +02:00
Gabriele
b4acb2ef52
Use localeCompare to sort torrent list by name
2014-11-10 13:57:01 +01:00
Gabriele
ed83070517
Use raw data to sort columns
...
Store the raw data retrieved in a new data-raw attribute and use
these to sort the columns.
In addition, make the ETA column sortable.
2014-11-10 13:57:01 +01:00
Gabriele
aedf579d77
WebUI: make API locale independet
...
Sizes are now given in bytes.
Dates are Unix timestamps and converted to ISO 8601 in the web UI.
Numbers are not converted to strings.
-1 is returned for undefined values.
Some keys have been splitted:
Torrent list (json/torrents)
* num_seeds: Torrent seeds connected to
* num_complete: Torrent seeds in the swarm
* num_leechs: Torrent leechers connected to
* num_incomplete: Torrent leechers in the swarm
Torrent generic properties (propertiesGeneral/hash)
* total_uploaded: Total data uploaded
* total_uploaded_session: Total data uploaded this session
* total_downloaded: Total data dowloaded
* total_downloaded_session: Total data downloaded this session
* time_elapsed: Torrent elapsed time
* seeding_time: Torrent elapsed time while complete
* nb_connections: Torrent connection count
* nb_connections_limit: Torrent connection count limit
Global transfer info (json/transferInfo)
* dl_info_speed: Global downalod rate
* dl_info_data: Data downloaded this session
* up_info_speed: Global upload rate
* up_info_data: Data uploaded this session
Closes #1524 .
2014-11-10 13:57:01 +01:00
Gabriele
09fde676ae
WebUI: Don't empty transfer list before updating it
...
This causes the list from disappearing in IE 10.
No longer needed table rows are deleted anyway.
2014-11-09 21:19:38 +01:00
Gabriele
97c1b17cf0
Show a spinner while torrents are being uploaded
2014-11-09 00:30:37 +01:00
Gabriele
3d1617b2de
Upload torrents on user command
...
Don't upload the torrents as soon as they are selected.
Also, adjust the HTML code to better place the upload button.
2014-11-09 00:28:41 +01:00
Gabriele
ee3a736787
WebUI: Return error in case uploaded files are not torrents
2014-11-09 00:28:41 +01:00
Gabriele
c255ba675a
Center images in top menu
2014-11-09 00:28:18 +01:00
Gabriele
7b49ab2a48
Add missing images and fix few paths
...
These images are used in CSS rules, but are missing.
Images taken from MochaUI git repo.
2014-11-09 00:28:18 +01:00
Gabriele
465ff473f1
Drop Firefox specific code
...
This change improves the responsiveness while resizing panels.
The code was intended to fix bugs in really old versions of Firefox.
2014-11-09 00:28:18 +01:00
Gabriele
e83e46b08a
Fix panel height calculation in Opera
2014-11-09 00:28:18 +01:00
Gabriele
7b73e96863
Fix errors in width and height calculations
...
border-left/right/top/bottom are not numbers.
2014-11-09 00:28:18 +01:00
Gabriele
dc0591997a
Bump Internet Explorer compatibility
2014-11-09 00:28:18 +01:00
Gabriele
30a25e1de4
Workaround to make invisible buttons clickable on IE
2014-11-09 00:28:18 +01:00
Gabriele
d106c12aa2
Restricts hacks and workarounds to IE < 9
2014-11-09 00:28:18 +01:00
Gabriele
66a91a6e3a
Remove XML encoding declaration from HTML files
2014-11-09 00:27:53 +01:00
Gabriele
0d2e9a9473
Reduce font size of priority combo boxes
...
They were too big in some cases (e.g. Firefox on Linux).
2014-11-09 00:25:40 +01:00
Gabriele
fa706b24be
Use fake tristate checkbox on IE < 9 only
2014-11-09 00:25:40 +01:00
Gabriele
92cc8f7211
Fix disappearing transferlist list when zooming in the browser
...
When the page is zoomed in the browser, the transferlist doesn't fit
in the page and is moved below the left column, disappearing completely.
Allow elements to overlap the handle to prevent this from happening.
The error message is moved in the status bar since it's wrongly placed
because of the overlap.
Closes #603 .
2014-11-09 00:25:40 +01:00
Gabriele
4f28fb5680
Minimize width of first column in transfer list
2014-11-09 00:25:40 +01:00
Gabriele
afde16c252
Change color of table header in bottom panel and add some padding
2014-11-09 00:25:40 +01:00
Gabriele
c516c0ac12
Center vertically "+" image in tracker list
2014-11-09 00:25:40 +01:00
Gabriele
af9e40d83d
Alternate background color for torrent content
...
CSS3 support required.
2014-11-09 00:25:40 +01:00
Gabriele
b01c1f3b9a
Don't show white parts when hovering over the elements of the menu
2014-11-09 00:25:40 +01:00
Gabriele
4ff999d1c5
Change background color of rows of torrent content
2014-11-09 00:25:40 +01:00
Gabriele
c9db08f0f4
Change background color of filterlist on hover
2014-11-09 00:25:40 +01:00
Gabriele
59abcc554d
Remove "Downloaded" from transferlist header and reduce column width
2014-11-09 00:25:40 +01:00
Gabriele
863dc71100
Focus username input on load
2014-11-09 00:25:40 +01:00
Gabriele
0bfad7dce6
Add type attribute to style tag
2014-11-09 00:25:40 +01:00
Gabriele
5e77d99a5e
Add alt attribute to images
2014-11-09 00:25:40 +01:00
Gabriele
b2e86bae7e
Remove extra double quotes
2014-11-09 00:25:34 +01:00
Vladimir Golovnev (Glassez)
cd0bcacd9f
WebUI: Fix upload window closing on old browsers.
2014-11-07 15:53:11 +03:00
Vladimir Golovnev (Glassez)
d85c3170b2
WebUI: Add charset attribute to text content types.
2014-11-05 20:24:17 +03:00
Vladimir Golovnev (Glassez)
7b7f88ae4f
WebUI: Fix WebAPI returned data.
2014-11-05 20:24:02 +03:00
Vladimir Golovnev (Glassez)
0660398c28
Replace Mascot with qBittorrent logo on WebUI login page.
2014-11-03 16:31:41 +03:00
Vladimir Golovnev (Glassez)
651bf4f9aa
Fix status returned to banned user.
2014-11-03 16:31:40 +03:00
sledgehammer999
6f14b34470
WEBUI: Protect against timing attacks. Closes #2108 .
2014-11-02 21:41:29 +02:00
sledgehammer999
4f2b7c2e10
Merge pull request #2081 from sorokin/split
...
Split a few files into .h and .cpp
2014-11-02 16:40:41 +02:00
sledgehammer999
9e6d57057f
Add back contact info in the copyright notices.
2014-11-02 15:03:40 +02:00
Vladimir Golovnev (Glassez)
8a65dbaa4f
WebUI core redesign.
2014-11-02 13:54:48 +03:00
Vladimir Golovnev (Glassez)
9853a9fec9
Modify Http parser/generator classes.
2014-10-26 19:52:15 +03:00
Vladimir Golovnev (Glassez)
3d20f2f670
Prepare WebUI resources.
...
Html/Css/JavaScript files displacement.
Also add new icon.
2014-10-26 19:52:01 +03:00
Ivan Sorokin
16eb407453
Split src/torrentpersistentdata into .h and .cpp
2014-10-25 16:12:17 +04:00
sledgehammer999
9b71e4ffc9
Use the correct character encoding for exceptions coming from libtorrent.
2014-10-18 17:22:50 +03:00
Ivan Sorokin
de5f38a160
Speedup compilation speed
...
libtorrent has a relatively heavy headers, that take lots of time to
process. This commit removes unnecessary includes of libtorrent headers
and replaces them with forward declarations.
I had to move some functions in QBtSession from slots to regular
functions because moc'ed file want to see complete types of all
parameters of slots.
"time make" of full rebuild before this series of commits:
real 13m35.937s
user 12m1.295s
sys 1m25.908s
after:
real 10m54.390s
user 9m31.167s
sys 1m12.580s
2014-10-18 12:19:05 +04:00
Benjamin Hutchins
89fda12597
Removed essentially useless "Visit website" iframe and changed it to a regular link. Improves fix qbittorrent/qBittorrent#1343
2014-08-15 22:29:50 -04:00
Benjamin Hutchins
9143c440a5
Removed broken "Documentation" iframe from the webui. Improves fix qbittorrent/qBittorrent#1343
2014-08-15 22:29:50 -04:00
Benjamin Hutchins
afc5601697
Removed broken Report a bug iframe from the webui. fixes qbittorrent/qBittorrent#1343
2014-08-15 22:29:50 -04:00
sledgehammer999
061d4fc721
Revert "Fix WebUI sort by size/speed for some locales (with comma as decimal point)."
...
This reverts commit 87d118e87c
.
2014-08-08 03:03:57 +03:00
sledgehammer999
2729abfd32
Revert "Fix WebUI sort by ratio for some locales (with comma as decimal point)."
...
This reverts commit c3942fb0b3
.
2014-08-08 03:03:40 +03:00
sledgehammer999
d44df4f985
Don't localize double numbers in the webui. Closes #1525 .
2014-08-08 02:59:48 +03:00
sledgehammer999
15d3df380c
Migrate everything to use the new Preferences class and not access directly the qbittorrent.ini file.(webui)
2014-08-05 02:34:22 +03:00
sledgehammer999
e2748ec3ac
Remove deprecated feature of separate DHT port.
2014-07-16 00:17:21 +03:00
Ivan Sorokin
fddd337e34
Suppress warning about signed/unsigned mismatch.
2014-06-22 19:48:21 +04:00
sledgehammer999
a361c0ea03
Use the torrent_status for the queue_position too.
2014-06-04 20:26:23 +03:00
Vladimir Golovnev (Glassez)
9f310318c2
Use new JSON parser/generator.
...
Qt4: Use QJson (http://qjson.sourceforge.net ).
Qt5: Use native Qt JSON API.
2014-06-04 17:01:41 +04:00
Vladimir Golovnev (Glassez)
f9c3719d12
Add QJson files.
2014-06-04 17:01:40 +04:00
Vladimir Golovnev (Glassez)
6e59877cee
Remove old JSON classes.
2014-06-04 17:01:39 +04:00
Vladimir Golovnev (Glassez)
268562bff3
Fix HTTP request parsing on Qt5.
2014-06-04 17:01:39 +04:00
Ivan Sorokin
329b754197
cache torrent_status
2014-06-02 00:31:42 +04:00
Ivan Sorokin
bbc4080a5d
fewer calls to hash()
2014-05-25 12:32:09 +04:00
sledgehammer999
e8c14f3507
Use the new Http classes.
2014-05-04 15:28:56 +03:00
sledgehammer999
6096506bd6
Implement alternatives to QHttpRequestHeader and QHttpResponseHeader.
2014-05-04 15:28:55 +03:00
sledgehammer999
ef3f7d18c9
Fix compilation with Qt5.
2014-05-04 15:28:54 +03:00
Vladimir Golovnev (Glassez)
ce3aac5f9d
Fix functions and macros using to support both Qt4 and Qt5.
2014-05-02 00:00:03 +03:00
Vladimir Golovnev (Glassez)
c3942fb0b3
Fix WebUI sort by ratio for some locales (with comma as decimal point).
2014-01-27 08:44:36 +04:00
Vladimir Golovnev (Glassez)
87d118e87c
Fix WebUI sort by size/speed for some locales (with comma as decimal point).
2014-01-27 08:39:47 +04:00
Vladimir Golovnev (Glassez)
7fce5ab268
Fix sorting by size in WebUI when non-default locale used.
2014-01-25 22:30:22 +04:00
Vladimir Golovnev (Glassez)
1aa70bedb7
Improve HttpConnection::translateDocument().
2014-01-25 22:29:15 +04:00
Nick Tiskov
cb7f35d994
Update WebUI classes
...
Guaranteed to show paths with native separators to user
2014-01-22 19:37:28 +04:00
sledgehammer999
441d1d08ba
Convert more accurately decimal numbers to text.
2014-01-21 02:12:27 +02:00
sledgehammer999
683aca7fdf
Fix WebUI link to 'Anonymous mode' explanation. Closes #1093 .
2013-11-17 21:17:48 +02:00
sledgehammer999
144dd5c2a8
Correctly detect if the browser supports gzip compression.
2013-11-16 21:48:20 +02:00
sledgehammer999
35da156ad2
WebUI: Don't gzip too small payloads.
2013-11-16 20:24:56 +02:00
sledgehammer999
b909dd41c5
Small optimization of WebUI responses when there isn't a data payload.
2013-11-09 20:03:54 +02:00
sledgehammer999
4003d7f951
Fix compilation with qt < 4.8.0. Closes #1043 .
2013-11-05 23:06:20 +02:00
sledgehammer999
ade66629b1
Fix WebUI gzip compression. Closes #1037 .
2013-11-05 22:57:33 +02:00
sledgehammer999
b4dca951b2
Drop libtorrent 0.15.x support.
2013-10-23 22:19:58 +03:00
sledgehammer999
243abaf524
Improve comment in gCompress().
2013-10-23 22:19:57 +03:00
sledgehammer999
bd9c231a0b
Enable gzip compression in the webui.
2013-10-21 00:04:32 +03:00
sledgehammer999
2b9f79fafe
Expose new translations and improve language code.
2013-10-20 20:29:32 +03:00
sledgehammer999
97fe948f6c
Expose all available translation in the WebUI. Closes #976 .
2013-10-13 22:17:11 +03:00
sledgehammer999
0f298397b3
Simplify various if-else and QString::number.
2013-09-14 15:16:50 +03:00
sledgehammer999
d09b0d5f72
Fixed rounding bugs with floating numbers.
2013-09-10 18:16:01 +03:00
Christophe Dumez
f4e5d7bc11
Merge pull request #636 from sledgehammer999/libtorrent_trunk
...
Fix compilation with libtorrent 1.x.x.
2013-06-08 10:35:05 -07:00
sledgehammer999
22e2bafa7a
Fix compilation with libtorrent 1.x.x v2
2013-06-08 18:21:15 +03:00
sledgehammer999
94b58ca229
Fix compilation with libtorrent 1.x.x.
2013-05-07 22:57:18 +03:00
ccerrillo
c928987313
mootools change break context menu
...
Fx.Tween in mootols 1.4.5 no longer sets visibility to hidden, so when the context menu dissapear, if you put the mouse in the space where the menu were showed is still there but with opacity to 0 and cannot click to nothing below that area
So i emulated the old behaviour with OnComplete event.
Additionally i changed the use of deprecated $empty
2013-04-17 20:41:24 +03:00
Nick Tiskov
66b982ad03
Minor refactoring for json parser
2013-03-10 20:40:08 +04:00
Nick Tiskov
9d275d6d34
Allow bool lists in json values
2013-03-10 20:03:53 +04:00
Nick Tiskov
91f9a46c18
Allow semicolon in json values (Windows paths support)
2013-03-10 20:03:52 +04:00
Nick Tiskov
dc4d0a7078
Allow/Fix special characters in json replies in WebUI
2013-02-25 16:28:15 +04:00
Christophe Dumez
d3b4ec77bc
Update date in About dialog copyright
2013-01-20 13:01:51 +02:00
Christophe Dumez
ec90fc480c
Bump mootools to 1.4.5
2013-01-12 18:55:02 +02:00
Christophe Dumez
7bd9139d28
Properly recover from HTTP parsing errors (Web UI)
...
May be related to issue #68 .
2012-09-29 14:26:52 +03:00
Christophe Dumez
32bfd8741f
Fix handling of simultaneous connections in Web UI.
...
May be related to issue #68 .
2012-09-29 14:11:07 +03:00
Christophe Dumez
c7f1f52f1c
Add Basque locale to Web UI
2012-09-28 17:48:19 +03:00
Christophe Dumez
1b54b4dbb7
Fix homepage link in Web UI ( closes #118 )
2012-09-23 19:30:53 +03:00
Dirk Neukirchen
559ac673e2
updated apache ssl-faq links
2012-09-23 15:08:55 +03:00
Christophe Dumez
cf3f0a606d
Add Hebrew translation
2012-09-15 10:05:50 +03:00
Christophe Dumez
de43a0b7a1
Bypass cache when uploading a torrent file in Web UI ( closes #68 )
2012-09-02 21:41:11 +03:00
Christophe Dumez
d62554aaba
Minor code clean up
2012-08-25 16:34:00 +03:00
Driim
23ea811095
Add setting to copy .torrent files for finished downloads (closes issue #22 )
...
Patch edited by Christophe Dumez.
2012-08-21 20:10:53 +03:00
Christophe Dumez
dac0d67717
Fixes to Web UI shutdown command
2012-08-21 18:50:09 +03:00
Christophe Dumez
368ae43849
Web UI shutdown fix.
2012-08-20 17:50:41 +03:00
Christophe Dumez
669d5a12a2
Fixes to Web UI shutdown button
2012-08-19 22:15:44 +03:00
Nikolas Garofil
6711c58ff1
Remove icon (ugly), fix localization
2012-08-19 20:43:15 +02:00
Nikolas Garofil
2b02ec3a4e
Shutdownbutton in webui
2012-08-19 19:25:21 +02:00
Christophe Dumez
4d601f5383
Fix build with Qt < 4.7
2012-07-21 18:02:09 +03:00
Christophe Dumez
90373897d6
Fix permission problems on Windows ( closes #1020227 )
2012-07-05 19:10:13 +03:00
Tilka
ca26cc0000
Fix torrent transfer stats, 2nd try
...
The constants themselves were also mixed up.
2012-07-01 22:59:12 +02:00
Tilka
00f40e6771
Fix torrent transfer stats
2012-07-01 22:14:16 +02:00
Christophe Dumez
79cb430878
Get rid of a Web UI hack for Safari since it seems useless now.
2012-07-01 14:44:14 +03:00
Christophe Dumez
a98ad63d8b
Add support for adding multiple local torrents at once (Web UI)
2012-07-01 13:23:41 +03:00
Christophe Dumez
83494f999a
Merge pull request #7 from Tilka/master
...
Change MIME type for PNG images to image/png
2012-06-20 10:13:35 -07:00
Tillmann Karras
2f6ef9af51
Make mascot image URL relative
2012-06-20 07:18:07 +03:00
Tillmann Karras
2f0e15bc25
Change MIME type for PNG images to image/png
...
This is the official MIME type assigned by the IANA (see http://www.iana.org/assignments/media-types/image/png ).
2012-06-19 02:52:54 +03:00
Tillmann Karras
0cd4c079e9
missing 'e' in updateQueueingSystem
2012-06-19 02:29:04 +03:00
Christophe Dumez
81e4e39878
Web UI: Stop using absolute URLs in ajax requests ( closes #1011226 )
2012-06-10 20:17:58 +03:00
Christophe Dumez
75a65a5f49
Make sure !.qB extensions are not shown in the Web UI
2012-05-29 18:32:18 +03:00
Christophe Dumez
901326c004
HTTP server code clean up
2012-05-27 11:06:09 +03:00
Christophe Dumez
8986d87ef3
HTTP request handling clean up and optimization
2012-05-27 10:57:00 +03:00
Christophe Dumez
a0d21ead18
Further rewriting of the JSON-related code
2012-05-26 22:58:53 +03:00
Christophe Dumez
122655758d
Fix caching issues in last commit
2012-05-26 21:14:48 +03:00
Christophe Dumez
9a964d871d
Rewrite code for returning information about torrents as JSON (Web UI)
...
- The new code is simpler, cleaner and more efficient
2012-05-26 20:42:44 +03:00
Christophe Dumez
fc4989d738
Remove 100kb limit for torrent file size in Web UI
2012-05-26 10:29:20 +03:00
Christophe Dumez
b93cebacb2
Fix important Web UI bug (HTTP request parsing bug)
...
(cherry picked from commit bdaf16123f
)
2012-03-18 17:17:09 +02:00
Christophe Dumez
0b13fa6914
Fix possible Web UI authentication problem when using SSL ( closes #941343 )
2012-03-12 21:59:25 +02:00
Christophe Dumez
c32e651c39
Fix DHT port setting in Web UI ( Closes #952182 )
2012-03-12 20:54:33 +02:00
Christophe Dumez
f3448125c3
Coding style clean up
2012-02-20 19:56:07 +02:00
Christophe Dumez
a8a7b61ea9
Coding style clean up
2012-02-20 19:30:53 +02:00
Christophe Dumez
a53a70742d
Drop support for libtorrent v0.14.x
2012-02-18 16:44:20 +02:00
Christophe Dumez
78bb4104b0
Web UI: Improve usability of small devices
2011-12-29 00:24:09 +02:00
Christophe Dumez
26b8decb24
I18N: Add Georgian translation
2011-12-27 13:29:35 +02:00
Christophe Dumez
1b8a2bf7c1
Web UI: Add support for speed limits scheduling
2011-10-19 19:55:11 +03:00
Christophe Dumez
76ca967d70
Fix torrent loading problem from Web UI on Windows.
2011-10-04 22:18:59 +03:00
Christophe Dumez
c39244aeb6
Web UI: Cosmetic improvements to preferences
2011-10-02 12:35:27 +03:00
Christophe Dumez
8f22279428
Web UI: cosmetic improvements to torrent upload dialog
2011-10-02 10:22:41 +03:00
Christophe Dumez
5a68bc5801
Web UI: Improve deletion confirmation dialog
2011-10-02 10:02:19 +03:00
Christophe Dumez
46a3b382db
Web UI: Fix torrent deletion from IE
2011-10-02 00:53:00 +03:00
Christophe Dumez
dae959a533
HTTP server better debug output
2011-10-01 23:40:22 +03:00
Christophe Dumez
eeda9379d5
HTTP server: Greatly improved HTTP request parsing
2011-10-01 23:30:33 +03:00
Christophe Dumez
80bf89857a
Web UI: Fix HTTP request processing with Firefox
2011-10-01 22:57:08 +03:00
Christophe Dumez
65eb40d1f5
Fix small bug in HttpConnection::read()
2011-10-01 22:10:13 +03:00
Christophe Dumez
9cf37f5364
BUGFIX: Fix torrent upload issues (Web UI)
2011-10-01 17:16:01 +03:00
Christophe Dumez
1ad1498c5d
Less verbose debug
2011-10-01 17:01:33 +03:00
Christophe Dumez
405b804eb5
Make multi-part/form data parser more robust
2011-10-01 16:59:06 +03:00
Christophe Dumez
f98d4e9149
Web UI code optimization
2011-09-30 20:51:29 +03:00
Christophe Dumez
dad1568657
Web UI: Make multipart/form-data parsing more robust
2011-09-30 20:46:04 +03:00
Christophe Dumez
ae692ba9b8
Web UI code optimization
2011-09-29 20:47:51 +03:00
Christophe Dumez
2036326403
Simplify multipart form parsing code and add debug
2011-09-29 20:36:18 +03:00
Christophe Dumez
3ad81595df
Web UI: Code clean up
2011-09-29 19:41:29 +03:00
Christophe Dumez
9115a2ddc2
httpconnection: Make sure torrent file is written in binary mode
2011-09-28 19:58:45 +03:00
Christophe Dumez
4385b941bb
Web UI code optimization and clean up
2011-09-25 17:26:02 +03:00
Christophe Dumez
ab0355f8d6
Web UI: Remove unused code
2011-09-25 16:22:56 +03:00
Christophe Dumez
8f439589ea
Optimize Web UI code
2011-09-25 16:20:28 +03:00
Christophe Dumez
4c5dd66b0f
Clean up Web UI code
2011-09-25 14:39:01 +03:00
Christophe Dumez
5fe562c0fa
Clean up Web UI code
2011-09-25 14:37:04 +03:00
Christophe Dumez
61faf34ef7
Correctly hide anonymous settings when using libtorrent < v0.16
2011-09-25 12:07:55 +03:00
Christophe Dumez
1038376cdb
Web UI code clean up
2011-09-25 11:50:58 +03:00
Christophe Dumez
28d1671bb8
Web UI code clean up
2011-09-25 11:45:57 +03:00
Christophe Dumez
8e026e68d7
Web UI code clean up
2011-09-25 11:42:03 +03:00
Christophe Dumez
4be897a4e5
Web UI code clean up
2011-09-25 11:31:20 +03:00
Christophe Dumez
3f4947259b
Web UI code clean up
2011-09-25 11:29:29 +03:00
Christophe Dumez
e10a51e61e
Web UI code cleanup
2011-09-25 11:18:41 +03:00
Christophe Dumez
381eaf4b53
Web UI: Improve language change behavior
2011-09-25 10:55:56 +03:00
Christophe Dumez
246903fa0a
Web UI improvements
...
- Optimize translation code
- Cosmetic fixes to dialogs
- Display qBittorrent version in about dialog
2011-09-24 21:39:19 +03:00
Christophe Dumez
7bd8bb4880
Web UI: Cleaned up torrent upload code
...
Should also fix issues on Windows.
2011-09-22 21:11:55 +03:00
Christophe Dumez
a46f665dd4
Small Web UI JS code simplification
2011-09-21 21:10:12 +03:00
Christophe Dumez
4ffe100287
Web UI: Slight settings CSS improvements
2011-09-20 20:35:33 +03:00
Christophe Dumez
5990615248
Add support for anonymous mode
...
This mode was added in libtorrent v0.16 and should be used in
addition to a SOCKS5 proxy.
2011-09-20 20:15:47 +03:00
Christophe Dumez
69984f9550
WebUI: Simplify javascript for preferences dialog
2011-09-18 19:43:33 +03:00
Christophe Dumez
94f92aa4f9
Add setting to ignore slow torrents in queueing system
...
Closes https://bugs.launchpad.net/qbittorrent/+bug/799703
2011-09-18 19:34:29 +03:00
Christophe Dumez
085ab0e660
WebUI: Fix torrent file upload on Windows
2011-09-13 17:06:07 +03:00
Christophe Dumez
2e07e911e4
Fix "Copy torrents to" setting saving in Web UI
2011-08-13 11:22:28 +03:00
Christophe Dumez
e838b515b3
Fix saving of encryption setting in the Web UI
2011-08-13 11:14:29 +03:00
Christophe Dumez
02fbd6a135
Fix compilation warnings in smtp.h (cgreco)
2011-06-05 16:08:30 +00:00
Ishan Arora
669d1a3a46
Added HTTPS support (backend)
2011-05-07 13:48:42 +00:00
Christophe Dumez
86d3c98069
Translatable strings fixes (Masato HASHIMOTO)
2011-05-03 16:45:20 +00:00
Christophe Dumez
c7c30ccaee
Make more strings translatable (Masato HASHIMOTO)
2011-05-02 16:06:26 +00:00
Christophe Dumez
b59dded2a4
Update proxy settings in Web UI
2011-05-01 12:00:23 +00:00
Christophe Dumez
ed3fa0ccee
Web UI translation fixes
2011-04-18 16:58:13 +00:00
Christophe Dumez
3995af6489
Initial port to libtorrent v0.16
2011-04-17 10:29:44 +00:00
Christophe Dumez
c2e5ecaaa0
BUGFIX: Fix compilation with namespaced Qt (Christian Kandeler)
2011-02-27 15:41:05 +00:00
Christophe Dumez
8b9971003d
FEATURE: Added option to bypass Web UI authentication for localhost
2011-02-27 09:34:42 +00:00
Christophe Dumez
74718bc568
Added comment
2011-02-22 18:37:56 +00:00
Christophe Dumez
217937217d
Fix torrent upload from Web UI (Windows)
2011-02-22 18:35:42 +00:00
Christophe Dumez
8568b29cc1
Complete Lithunian integration
2011-02-07 18:56:17 +00:00
Christophe Dumez
5c8dd9f0fb
Performance improvement on ARM
2011-01-25 17:01:09 +00:00
Christophe Dumez
a0ecbe01a1
Make sure the progress is not 100% unless the file is complete
2011-01-24 16:48:18 +00:00
Christophe Dumez
4a66c33a2c
Improved Web UI translation
2011-01-14 19:03:48 +00:00
Christophe Dumez
16be6fe474
Improved Web UI translation
2011-01-14 19:01:11 +00:00
Christophe Dumez
e170d9c3a8
Improve Web Ui translation
2011-01-14 18:57:15 +00:00
Christophe Dumez
b173458814
Updated Armenian settings
2011-01-12 15:47:50 +00:00
Christophe Dumez
847a6c75d7
Added Armenian translation
2011-01-11 17:12:39 +00:00
Christophe Dumez
0eec718354
Also fix toolbar icon size in Web UI
2011-01-10 16:56:38 +00:00