Vladimir Golovnev (Glassez)
bcfa4866fe
Cache indexes of completed files
...
This avoids extra blocking calls to libtorrent.
3 years ago
xavier2k6
b85b1e8834
Update grunt dependency
...
Use `*` so we don't need to care about its version anymore.
PR #16917 .
3 years ago
Chocobo1
a90ade0446
Add "Export .torrent" action
3 years ago
xavier2k6
0b86eb9b4c
Update clipboard.js to v2.0.10
...
PR #16918 .
3 years ago
Vladimir Golovnev
359c4fef9d
Avoid dereferencing null pointers
...
PR #16896 .
Closes #16884 and similar issues.
3 years ago
Chocobo1
71b1cb3b9c
Remove unused header
3 years ago
Chocobo1
bc937d38a2
Allow to set "working set limit" on non-Windows OS
...
PR #16874 .
3 years ago
Vladimir Golovnev (Glassez)
35fcf39fc8
Add additional trackers without extra blocking call
3 years ago
Vladimir Golovnev (Glassez)
bd45dc5d0f
Avoid some blocking calls to libtorrent
3 years ago
Vladimir Golovnev
7377974731
Improve path extension handling
...
PR #16867 .
3 years ago
Requi
669b67e666
WebAPI: return correct status
...
Fix web API returning Not Found instead of Forbidden.
When not having a session the API would return "Not Found" instead of "Forbidden" when trying to access a non-public endpoint.
PR #16866 .
3 years ago
Chocobo1
a2b85ba1fd
Provide interface for Application class
...
PR #16864 .
3 years ago
Vladimir Golovnev
4471a6377e
Have separate API controller instances per session
...
PR #16848 .
3 years ago
Chocobo1
3f762a416d
Use proper method for deferred calls
3 years ago
Chocobo1
a59a6ce8e4
Remove redundant function
...
This helper function is useless after using `Path` class.
3 years ago
Chocobo1
189514c6de
Fix wrong v2 hash string displayed in WebUI
...
Previously `0000...` was erroneously displayed when v2 hash is absent,
now it correctly shows the `N/A`.
PR #16846 .
3 years ago
Vladimir Golovnev
dded874350
Correctly apply content layout when "Skip hash check" is enabled
...
PR #16825 .
3 years ago
Vladimir Golovnev
33ffe95294
Correctly populate trackers filter list
...
PR #16814 .
3 years ago
Vladimir Golovnev
0657238ad1
Don't forget to create 'download_path' field
...
PR #16468 .
3 years ago
Vladimir Golovnev
4efece4ab8
Use an appropriate method to show modal dialog
...
PR #16809 .
3 years ago
Chocobo1
b9b2ed64f9
Assign temporary data to a variable
...
This is mainly to avoid dangerous code pattern: getting an iterator on a
temporary object. Previously `data()` returns a const reference so the
code wasn't doing any harm.
3 years ago
Chocobo1
16bc0531f4
Simplify code
3 years ago
Chocobo1
39c34078d6
Move comparison operator out of class
3 years ago
Chocobo1
6f4a9390ba
Fix wrong conversion to QVariant
...
It was converted to bool-like type which is wrong.
3 years ago
Chocobo1
0eb6967bb2
Migrate away from unsigned integer types
...
Signed integers should be preferred in these cases.
3 years ago
Chocobo1
2854630b1c
Use signed integer type for counters
3 years ago
Chocobo1
bbd781c420
Omit redundant cast
3 years ago
Chocobo1
af7c32d3aa
WebUI: remove temporary element
3 years ago
Chocobo1
0d334369f0
WebUI: show correct location path
...
The `path` might contains '&' (delimit character) so it must be
encoded.
Closes #15976 .
3 years ago
Chocobo1
08f3630f01
WebUI: make various dialog resizable
...
And enlarge dialog default width.
3 years ago
Vladimir Golovnev
df2d449f9b
Revamp content layout handling
...
Apply content layout only if desired file names aren't provided.
Remove helpers with confusing signatures.
Don't remove root folder twice.
PR #16724 .
Closes #16259 .
3 years ago
Chocobo1
eab455422f
Add missing header
...
Fix up 75c93d72be
.
3 years ago
Chocobo1
75c93d72be
Revise string literal usage
...
This commit covers src/gui folder.
PR #16757 .
3 years ago
sledgehammer999
f5239ffb0b
CMake: Use installed Qt's translations for packaging
3 years ago
Chocobo1
7c1a986e61
Implement stringable interface for `Version` type
3 years ago
Chocobo1
c6b772da11
Improve function interface
...
`SettingsStorage` methods require `QString` so make `SettingValue` follow it.
`Path::operator+` can use `QStringView` to accept wider audience.
3 years ago
An0n
11cfe38d1c
Fix WebUI crash due to missing tags from config
...
Tags can be missing from config but set inside .fastresume. May happen due to corrupted/deleted config.
Closes #11906 .
PR #16711 .
3 years ago
Chocobo1
4ca6de2b54
Revise string literal usage
...
PR #16703 .
3 years ago
Chocobo1
bbd936fdfa
Don't use explicit memory management
...
And avoid dangling pointers.
3 years ago
Chocobo1
8a708fd97e
Use proper type to represent a path
3 years ago
An0n
bf8d993743
Change Downloaded to Times Downloaded in trackers tab
...
PR #16677 .
3 years ago
Vladimir Golovnev
c029122a8e
Avoid integer overflow when calculating working set size
3 years ago
Chocobo1
6c10aa33e1
Provide interface for serialization to string type
...
PR #16685 .
3 years ago
sledgehammer999
b7c098c5e6
Sync translations from Transifex and run lupdate
3 years ago
Vladimir Golovnev (Glassez)
386f99cb1d
Fix "Set location" to be really applied
3 years ago
Vladimir Golovnev (Glassez)
a4b606c6e9
Fix compilation issues due to inappropriate QString usage
3 years ago
AbeniMatteo
baa8d2c326
Add option to toggle filters sidebar
...
PR #15409 .
3 years ago
Vladimir Golovnev
ca2be2f499
Prevent Digest32 shared data from being detached
...
Delayed hash string generation should not cause detaching of shared data.
PR #16664 .
3 years ago
Vladimir Golovnev
5960e7dda6
Prevent crash when open torrent destination folder
...
Uses the same workaround as Qt does to call ShellExecute() when you use QDesktopServices::openUrl().
PR #16670 .
Closes #16423 .
3 years ago
Chocobo1
efc04645b7
Use QString literals
...
It covers src/webui and enables `QT_NO_CAST_FROM_ASCII`.
3 years ago