Chocobo1
98e02a8fed
Remove unnecessary URL encoding
...
Fix #14635 .
4 years ago
Vladimir Golovnev (Glassez)
a93391e247
Drop QNetworkConfigurationManager usage
4 years ago
Vladimir Golovnev (Glassez)
102cc684dd
Replace Qt Windows Extras features with native ones
4 years ago
Vladimir Golovnev (Glassez)
a230228441
Don't compare bool with int
...
In Qt6 QHash::remove() returns bool to indicate operation status.
4 years ago
Vladimir Golovnev (Glassez)
135cad576c
Don't use removed QApplication attribute
4 years ago
Vladimir Golovnev (Glassez)
561fbf2cca
Don't use removed QTextStream::setCodec()
...
QTextStream encodes as UTF-8 by default.
4 years ago
Vladimir Golovnev (Glassez)
a8127d6102
Use valid event type in QWidget::enterEvent()
4 years ago
Christoph Rackwitz
e2dbfa9ace
Fix tabChangesFocus attribute in "Edit trackers" dialog
4 years ago
Chocobo1
121ff2b7be
Apply code formatting
4 years ago
Chocobo1
af85a8a340
Add necessary curly brackets
4 years ago
Chocobo1
5fe0e9395f
Don't use Object.prototypes builtins directly
...
See: https://eslint.org/docs/rules/no-prototype-builtins
4 years ago
Chocobo1
1f1cabd144
Remove unnecessary escape character
4 years ago
Chocobo1
c3bab70434
Remove extra semicolon
4 years ago
Chocobo1
1d6af22813
Add tools for js code formatting and linting
...
Due to eslint couldn't correctly resolve the context for the variables,
two eslint rules are disabled for now.
4 years ago
Chocobo1
a50798c78f
Sort invalid QDateTime values after valid values
...
Closes #14607 .
4 years ago
Vladimir Golovnev (Glassez)
09da6828b8
Use complete types in container declarations
...
Qt 6 disallows to use incomplete types in container declarations
in some cases, e.g. in parameters of signals/slots.
4 years ago
Vladimir Golovnev (Glassez)
35dedd3d83
Implement BencodeResumeDataStorage class
...
Implement ResumeDataStorage class as base for all "resume data" storages.
Implement BencodeResumeDataStorage class and put all existing logic of
"resume data" loading/saving there.
4 years ago
sledgehammer999
fda6def384
Sync translations from Transifex and run lupdate
4 years ago
Chocobo1
e43a9de2f3
Make global functions immutable
4 years ago
Vladimir Golovnev (Glassez)
1a9e97ee3b
Don't cause QHash relayout while using reference to its node
4 years ago
Chocobo1
901fca2d12
Remove wrong parentheses
...
Fix up 87ad8a1495
.
4 years ago
Vladimir Golovnev (Glassez)
c23f8542b2
Correctly draw progress bar in Qt 6
4 years ago
treysis
0189606445
Fix bad IPv6 address format for outgoingInterfaces
...
Fixes https://github.com/qbittorrent/qBittorrent/issues/12892#issuecomment-792292336
4 years ago
Vladimir Golovnev (Glassez)
764aabc459
Wrap "resume data" in LoadTorrentParams
4 years ago
Vladimir Golovnev (Glassez)
61d2ff359b
Use QRegularExpression instead of deprecated QRegExp
...
Now it follows closely the definition of wildcard for glob patterns.
The backslash (\) character is not an escape char in this context.
In order to match one of the special characters, place it in square
brackets (for example, [?]).
4 years ago
Vladimir Golovnev (Glassez)
5d889e4a8f
Drop deprecated code
4 years ago
Vladimir Golovnev (Glassez)
b65a714d17
Save resume data when torrent has done checking
4 years ago
brvphoenix
5beb1b2cd0
WebUI: Avoid decoding strings repeatedly
...
Fix #14553
4 years ago
thalieht
d124041726
Allow >100 days in WebUI function "friendlyDuration"
...
Because it's not only used for ETA.
4 years ago
Vladimir Golovnev (Glassez)
43c8ac0aa1
Don't use deprecated operators
4 years ago
Vladimir Golovnev (Glassez)
46e6ed480a
Use correct return statement
4 years ago
thalieht
9f30aba2b3
Fix incorrect seeding time string in WebUI General tab
4 years ago
thalieht
560ecbc6c3
Add seeding time to the active time column in WebUI
...
Closes #14526
4 years ago
Vladimir Golovnev (Glassez)
8d9b6cca63
Include missing header
4 years ago
Vladimir Golovnev (Glassez)
3972597163
Include QDesktopWidget header only when needed
4 years ago
Chocobo1
be2cdca1e9
Draw progress bar in disabled style
4 years ago
jagannatharjun
cf5e833898
Remember sub sort column of transfer list
4 years ago
Vladimir Golovnev (Glassez)
560239c918
Improve "save resume data" handling
4 years ago
Chocobo1
a78929dadf
Simplify progress bar painting
4 years ago
Vladimir Golovnev (Glassez)
349cc54c69
Don't use deprecated QTextCodec
4 years ago
Chocobo1
d74df935f4
Replace parameters in one step
...
This would avoid the unwanted effect of replacing parameter coming from
another parameter.
4 years ago
Vladimir Golovnev (Glassez)
a078633a32
Don't use deprecated features
4 years ago
Vladimir Golovnev (Glassez)
f022458383
Raise minimum supported Qt version to 5.12
4 years ago
jagannatharjun
bb39a41e9e
Update comment
4 years ago
Vladimir Golovnev (Glassez)
0c9ecd1d76
Properly show tracker status for "paused" torrents
4 years ago
Vladimir Golovnev (Glassez)
561b597031
Improve "info hash" handling
...
Define "torrent ID" concept, which is either a SHA1 hash for torrents of version 1,
or a SHA256 hash (truncated to SHA1 hash length) for torrents of version 2.
Add support for native libtorrent2 info hashes.
4 years ago
Vladimir Golovnev (Glassez)
6d6908e625
Initialize torrent status from add torrent params
4 years ago
Vladimir Golovnev (Glassez)
7a8c05dc7c
Improve tracker entries handling
4 years ago
Vladimir Golovnev (Glassez)
e2c785b2d5
Accept "share limits" when adding torrent using WebAPI
4 years ago
Vladimir Golovnev (Glassez)
20e9952d98
Don't allow speed plot buffer to overflow
4 years ago