Chocobo1
97a8d865dc
WebUI: revise hash function
...
In benchmark, using `Math.imul()` is about ~20% faster than floating
point multiplication.
PR #15475 .
3 years ago
Chocobo1
fc86034fab
WebUI: update authors page
3 years ago
Chocobo1
03012cc175
Revise description wordings
3 years ago
Jesse Smick
6229b81730
WebUI: Add pieces progress bar to General tab
...
Closes #15292 .
PR #15418 .
3 years ago
Chocobo1
08f33d7e9e
Fix WebUI crash when tracker URL is invalid
...
Closes #15391 .
PR #15395 .
3 years ago
sledgehammer999
ea986a1f1b
Sync translations from Transifex and run lupdate
3 years ago
Chocobo1
8d822f2cb4
Improve "last activity" calculation in WebAPI ( #15339 )
...
Co-authored-by: 秦风 <mayli.he@gmail.com>
Co-authored-by: Chocobo1 <Chocobo1@users.noreply.github.com>
3 years ago
Chocobo1
526ee9c9db
Add tooltip to listening port spinbox
3 years ago
Mengyang Li
4ac25a50ed
WebUI: group trackers by hostname ( #15264 )
...
Closes #13608 .
3 years ago
Chocobo1
567848e94f
Work around missing function error
...
The fix comes from older version of MochaUI.
3 years ago
Chocobo1
221cbcc1ac
Update MochaUI to v0.9.7
...
Upstream: https://github.com/cdotyone/mochaui/blob/develop-0.9.8/Build/mocha.js
3 years ago
Chocobo1
dc2086dab4
Update clipboard.js to v2.0.8
3 years ago
Chocobo1
7be2a03c86
Update mootools to v1.6.0
3 years ago
Sylvain Finot
e87f8f5b93
Expose SSRF mitigation ( #15247 )
3 years ago
sledgehammer999
8a09558ed8
Sync translations from Transifex and run lupdate
3 years ago
Daniel Aleksandersen
60b1e692b9
Disconnect comment links fom the WebUI ( #15251 )
3 years ago
Chocobo1
49aab492e0
Use spinbox special value to represent "Use any available port"
...
WebAPI functionality is preserved (deprecated) for now and should be
removed in the future.
3 years ago
Chocobo1
09e558ae0b
Revise checkbox label for "Use any available ports" functionality
...
Also reorder the checkboxes a bit.
3 years ago
Tom Piccirello
7974b5a95c
Support sorting Web UI tables via touch ( #15205 )
3 years ago
AbeniMatteo
01d851440b
Add "Forced metadata downloading" state ( #15185 )
3 years ago
AbeniMatteo
e5943b64c1
Add filter "Checking" to side panel ( #15166 )
3 years ago
Kristof Mattei
140e73be4e
Use the URI's setData to set query data ( #15187 )
...
This allows the system to properly encode the '|', instead of passing
the '|' on in the URL, which is not allowed and breaks proxies such as
Authelia.
Then, for the purpose of generalization, I pushed this pattern through
to all places where we join items with a '|'.
This comes with the caveat that when we have individual components which
contain a '|' or any other character that is not allowed per the
HTTP standard, we still like to encode the individual components,
for example in the case of 3 strings, separated by a '|'.
If we don't do this we run into the risk that upon decoding URI finds
'|' in our original strings, which is something we don't want.
For example:
Sender:
````javascript
const arr = ["foo|1", "bar|2"];
const uri = new URI("test.html").setData(arr.join("|"));
````
Then on the receiving window, when it receives the uri and splits it, it
looks like this:
````javascript
const arr = new URI().getData('hashes').split('|');
// arr is now ["foo", "1", "bar", "2"]
````
This is why when we want to send a literal "|" we need to do
`encodeURIComponent` and `decodeURIComponent` manually on each item,
and THEN we join.
For example:
Sender:
````javascript
const arr = ["foo|1", "bar|2"];
const uri = new URI("test.html").setData(arr.map(encodeURIComponent).join("|"));
````
Receiver:
````javascript
const arr = new URI().getData('hashes').split('|').map(decodeURIComponent);
// arr is now ["foo|1", "bar|2"]
````
We don't need to with hashes as they are HEX, so no risk of any weird
characters in there.
3 years ago
Vladimir Golovnev (Glassez)
399d3ad85a
Replace QStringRef with QStringView
3 years ago
Thomas Piccirello
32f29e72c6
Support expanding/collapsing Web UI folders with arrow keys
3 years ago
Thomas Piccirello
e76bac4131
Support navigating Web UI tables with arrow keys
...
This allows navigating rows via up/down arrow keys.
3 years ago
Thomas Piccirello
8b94642ab1
Always set Web UI row id as a string
...
This helps ensure consistent behavior when performing rowId comparisons against strings.
3 years ago
Chocobo1
4dbf6af733
Simplify initialization statement
3 years ago
AbeniMatteo
9bfc74a1bc
Filter torrent info endpoint by tag ( #15152 )
3 years ago
Chocobo1
70d1cb86fd
Disable move constructor where it is sensible
3 years ago
sledgehammer999
665ab34f25
Sync translations from Transifex and run lupdate
3 years ago
Vladimir Golovnev
37f227ae74
Provide v1 and v2 infohashes in UI ( #15097 )
3 years ago
HiFiPhile
f5315d9ba7
Add WebUI reverse proxy source IP resolution ( #15047 )
...
Co-authored-by: qix67
Co-authored-by: HiFiPhile <admin@hifiphile.com>
3 years ago
Vladimir Golovnev (Glassez)
97c7f3bc67
Raise minimum Qt version to 5.14
4 years ago
Chocobo1
af49a4dd5a
Sort CSS properties
4 years ago
Chocobo1
b2081faf87
Remove redundant empty line
4 years ago
Chocobo1
f960934eb9
Merge same selector
4 years ago
Chocobo1
5522725f5d
Remove duplicate property
4 years ago
Chocobo1
9f3d36bab0
Remove useless property
...
The `padding` will override the former `padding-top`.
4 years ago
Chocobo1
87e7085c22
Remove empty block
4 years ago
Chocobo1
d8eac56f5e
Use stylelint for CSS linting
4 years ago
Chocobo1
65bdc4cf43
Format CSS code with prettier
4 years ago
Chocobo1
ee79c196df
Use prettier for formatting CSS code
4 years ago
zhuangzi926
2e8e2b04a1
Announce to all trackers if IP changed ( #15001 )
...
Closes #14545 .
4 years ago
Chocobo1
e21f46d824
Avoid data duplication
4 years ago
Chocobo1
ef79546508
Add `connection_speed` to advanced settings
...
Now we follow libtorrent current default value 30.
Closes #6973 .
Also bump WebAPI version.
4 years ago
Vladimir Golovnev (Glassez)
2993fdb169
Improve "Watched folders" feature
...
Make "file system watcher" an application core component
and separate it from its presentation model.
4 years ago
sledgehammer999
2c47cfbe25
Add new languages
...
* Mongolian
* Persian
* Thai
4 years ago
thalieht
e86916a7f9
Make some strings in WebUI translatable
...
Closes #14920
4 years ago
sledgehammer999
94195d5339
Sync translations from Transifex and run lupdate
4 years ago
Chocobo1
fdc186c92f
Revise tag related implementations
...
Fix #12690 .
4 years ago