-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document missing WebAPI 2.8.3 changes in the wiki #15158
Comments
What should we do about WebAPI versioning and V2 support? It seems some changes are making their way in that may not be available depending on which libtorrent version the user compiles qbittorrent with. Should we bump the major version? Or just note which features may be or not available depending on V2 support? |
IMO, while v2 isn't supported officially we have to pretend that nothing related exists in the web API. The web API must be stable (i.e. the same version must have the same set of functions, parameters, etc.). |
So changes like #15097 would remain undocumented until V2 is officially supported, even though it was introduced in 2.8.3? I have no strong opinion on this, it's up to you and others. But if you do decide to go that route, we should open an issue to specifically track V2-related additions that are to be documented at a later time. |
I have repeatedly come up with the idea that we should keep a separate list of WebAPI changes in order to keep it up-to-date. This will save us from confusion with WebAPI versions, and will make it easier to update the documentation. For example:
|
It differs in that it is continuously updated. That is, as soon as a change is made, it is immediately entered in the change log. IMO, this looks good not only for the API changes, but also for the main change log. Thus, someone does not need to break their head, analyzing the changes made from the previous release, when a new one is made.
As I said earlier, this is extremely incorrect if API is unstable in relation to its version. There are several ways to achieve this here, depending on the specific function. |
What's the problem with they? There is no released WebAPI that has such features. |
Ah, so you propose making the API changelog a formal part of the repository? Why not just demand that API PR authors update the wiki accordingly as part of the approval process for such a PR?
But they do exist, and it is actually possible to query them via the API correct? I assume you just want to leave them undocumented then, and enforce a "if it's not in the API documentation, it is as if they don't exist" policy"? Fine by me, just making sure. But in this case, we really need to make the API changelog a part of the repo or start requiring PR authors update the wiki. Otherwise, a legitimately undocumented API method is indistinguishable from a documented method that we forgot to document, which is confusing for users. |
|
We don't really know what API version will be released with qBittorrent 4.4.0. There may be one or even several more v4.3.x releases before it. |
This change is documented but not yet released.
Not a comment but a question: when libtorrent v2 is fully integrated, you will still be able to compile qBt targeting v1.2? |
Most likely, this will be possible as a fallback, but personally I would never support both libtorrent branches officially. |
I've just managed to get the Reverse Proxy changes (#15047) to work and want to document the instructions that I was missing, to save someone else time, and so they can be added to the wiki. My thanks to @HiFiPhile, for the implementation. The "Trusted proxies list" needs to be semicolon (;) separated, which is different to the "Bypass authentication for clients in whitelisted IP subnets" list, which is comma separated. The Trusted proxies list, in my case, needed the IPv4-mapped IPv6 address (::ffff:192.168.0.4), not a straight IPv4 address. In the course of investigation I noted that the log file still records the proxy's IP, because the function just records the remote address header not the X-Forward-For. |
THANK GOD! Well, thanks @shikasta-net! |
Originally mentioned in #15152 (comment).
infohash_v1
infohash_v2
web_ui_reverse_proxy_enabled
web_ui_reverse_proxies_list
reannounce_when_address_changed
connection_speed
to advanced settings #14976connection_speed
The text was updated successfully, but these errors were encountered: