Chocobo1
c7ac96c4f5
Add ability to trigger action via keypad Enter
5 years ago
Chocobo1
4a71b78e2d
Group related code together
...
And also rename local variables.
5 years ago
Chocobo1
2152a81d11
Add ability to open file via keypad Enter
...
Closes #11260 .
5 years ago
Mike Tzou
eebb2186c7
Merge pull request #11215 from xnoreq/master
...
WebUI: fix escaping of HTML special characters
5 years ago
xnor
ecc3ff3ca4
WebUI: fix escaping of HTML special characters
...
JS code for torrent general properties, files, peers, trackers inconsistently
escaped HTML special characters, then the dynamicTable inconsistently escaped
again and then the value was set to HTML element text or html properties.
To fix this mess, don't escape any property values in the prop-*.js files.
Instead, make dynamicTable set HTML element text instead of html property by
default. This behavior can be overridden by setting a custom updateTd
function on the respective column, if needed. This is where the HTML escaping
should be done.
Also reordered existing updateTd functions to match column order, changed
custom updateTd functions from setting html to text property wherever possible,
removed custom updateTd functions that turned out to be redundant.
5 years ago
Mike Tzou
72e511e3c4
Merge pull request #11254 from Chocobo1/autoTMM
...
Fix seeding failed after creating a new torrent
5 years ago
Chocobo1
82276b2a99
Rename variable
5 years ago
Chocobo1
e3b9659fb8
Fix seeding failed after creating a new torrent
...
Closes #11252 .
5 years ago
Mike Tzou
3971bf2d58
Merge pull request #11250 from Chocobo1/warning
...
Improve error messages for url_seed_alert
5 years ago
Chocobo1
4d00435209
Improve error messages for url_seed_alert
...
Closes #10119 .
5 years ago
Vladimir Golovnev
19c70fd659
Merge pull request #11235 from glassez/retry-fetch-rss
...
Allow to retry fetching RSS feeds. Closes #11168
5 years ago
Mike Tzou
209831d3b0
Merge pull request #11103 from Piccirello/webui-explicit-export
...
Move JavaScript code into explicit namespaces
5 years ago
Mike Tzou
bf64fe0d2f
Merge pull request #11232 from Chocobo1/escape
...
Revise HTML escaping in GUI
5 years ago
Chocobo1
fccbc5318a
Drop logging level to warning for web seed errors
5 years ago
Chocobo1
bab953298b
Escape HTML in comment field
5 years ago
Chocobo1
f1243871b0
Remove redundant HTML escaping
...
The text widget is already set to plaintext and doing HTML escaping will
not give us more security but only makes it harder to read.
5 years ago
Mike Tzou
12c127b482
Merge pull request #11227 from Chocobo1/alert
...
Handle "alerts dropped" alert from libtorrent
5 years ago
Mike Tzou
fdde2184f5
Merge pull request #11212 from Chocobo1/padFiles
...
Add option to align file to piece boundary when creating new torrent
5 years ago
Thomas Piccirello
9804a2e06a
Fix typo
5 years ago
Thomas Piccirello
1439bcc864
Move JavaScript code into explicit namespaces
...
This cleans up the global namespace by explicitly exporting shared values. All html and JavaScript files have been converted to use explicit exports except for client.js and mocha-init.js
5 years ago
Vladimir Golovnev (Glassez)
cf6e721b00
Allow to retry fetching RSS feeds
5 years ago
Vladimir Golovnev (Glassez)
73ef69526d
Allow to cancel download request
5 years ago
Chocobo1
edcc74c1ae
Add option to align file to piece boundary when creating new torrent
...
Alignment is achieved by adding dummy pad files between files which is
handled by libtorrent.
Closes #10460 .
5 years ago
Chocobo1
5e1e983928
Handle "alerts dropped" alert from libtorrent
5 years ago
Mike Tzou
b144d3b797
Merge pull request #11208 from Chocobo1/storage
...
Improve SettingsStorage behavior
5 years ago
Chocobo1
0a959bcbe7
Clean up SettingsStorage::save()
...
Also it should return `true` when `m_dirty` is `false`.
5 years ago
Chocobo1
e7e5ee1ea2
Add const to TransactionalSettings class functions
5 years ago
Chocobo1
daf52a2610
Avoid double lookups
5 years ago
Mike Tzou
d2c21ce507
Merge pull request #11195 from Chocobo1/mac
...
Replace deprecated macro
5 years ago
Mike Tzou
ee8b99ffd5
Merge pull request #11201 from Chocobo1/watcher
...
Treat .magnet file extension as case insensitive in filesystem watcher
5 years ago
Mike Tzou
f3b4fb8600
Merge pull request #11154 from ClemPera/patch-1
...
Remove max character limit of location path
5 years ago
Chocobo1
7113174593
Treat .magnet file extension as case insensitive
...
Closes #11200 .
5 years ago
Mike Tzou
ee0f38a696
Merge pull request #11194 from Chocobo1/filename
...
Fix filename validation on non-Windows OS
5 years ago
Chocobo1
17e4902519
Don't define variable when not building GUI
5 years ago
Chocobo1
0d5b0b9542
Replace deprecated macro
...
Q_OS_MAC is deprecated and the replacement is Q_OS_MACOS.
5 years ago
Chocobo1
9dc3b18178
Fix filename validation on non-Windows OS
...
Closes #11191 .
5 years ago
Mike Tzou
ef8b37f7fa
Merge pull request #11182 from Chocobo1/addPeer
...
Move error logging of adding peers to the proper place
5 years ago
Chocobo1
2396ef5bd6
Move error logging of adding peers to the proper place
5 years ago
Mike Tzou
80bf5978de
Merge pull request #11181 from Chocobo1/fix
...
Add check for null pointer
5 years ago
Chocobo1
3104291734
Add check for null pointer
...
Fix up d657c87243
.
5 years ago
Mike Tzou
0b58fadc83
Merge pull request #11179 from noraj/patch-1
...
Fix ambiguity in GitHub Issue template
5 years ago
Mike Tzou
18369f6c21
Merge pull request #11171 from Chocobo1/webui
...
Conditionally disable port input field
5 years ago
Mike Tzou
4363082173
Merge pull request #11104 from Chocobo1/resume
...
Fix unable to remove web seeds
5 years ago
Alexandre ZANNI
21d7ca8eab
Fix ambiguity in GitHub Issue template
5 years ago
Mike Tzou
1bb06a7428
Merge pull request #11157 from Chocobo1/hostaddr
...
Construct QHostAddress more efficiently
5 years ago
Chocobo1
60994df8d0
Conditionally disable port input field
...
Disable port input when "Use different port on each startup" option is selected.
This follows the behavior in GUI.
5 years ago
Chocobo1
2a66bb3127
Construct QHostAddress more efficiently
5 years ago
Clément Pera
f42b10f3b6
Remove max character limit of location path
...
I removed the maxlength attribute because we couldn't modify the location path when it has more than 100 characters.
5 years ago
Chocobo1
4aab44e779
Always save info dict when saving fastresume
...
Otherwise torrents loaded from fastresume won't have it and needs
to redownload it from elsewhere and slowing down the startup process.
This is also required for the future where we will drop loading the
`info` dict from .torrent files.
5 years ago
Chocobo1
d657c87243
Fix unable to remove web seeds
...
As suggested in post [1] we don't need to assign the `ti` field anymore when fastresme
already contains the `info` dict.
[1]: https://github.com/arvidn/libtorrent/issues/3946#issuecomment-523300003
5 years ago