Skip to content
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

Release v24.3 #386

Merged
merged 19 commits into from
Sep 12, 2024
Merged

Release v24.3 #386

merged 19 commits into from
Sep 12, 2024

Conversation

dnzbk
Copy link
Collaborator

@dnzbk dnzbk commented Sep 12, 2024

No description provided.

dnzbk and others added 19 commits August 6, 2024 10:18
- use a safer approach of using `getrealpath` according to the [doc](https://man7.org/linux/man-pages/man3/realpath.3.html)
- using `std::string_view` instead of `std::string&` for better performance
- improved `SystemInfoTest` to make it more flexible
Currently, if nzbget is daemonized as root, and an invalid
`DaemonUsername` is set, privileges are not dropped. Consequence is that
nzbget runs with elevated privileges, which is undesirable for any
software with network-facing interfaces.
- use com.nzbgetinstead of net.sourceforge.nzbget as a bundle identifier
- fixed build with old versions of OpenSSL due to missing OPENSSL_FULL_VERSION_STR
- updated and moved NZBGet API documentation to the repository 
- fixed Python examples
- resolved potential problems with dangling pointers and buffer overflow
- fixed invalid bool type in the loadextensions API method in XML format
- InterDir disk info is now also displayed on the Status page
- the API method `status` now returns 6 additional properties:
  - FreeInterDiskSpaceLo `(int)` - Free disk space on `InterDir`, in bytes. This field contains the low 32-bits of 64-bit value
  - FreeInterDiskSpaceHi`(int)` - Free disk space on `InterDir`, in bytes. This field contains the high 32-bits of 64-bit value
  - FreeInterDiskSpaceMB `(int)` - Free disk space on `InterDir`, in MiB.
  - TotalInterDiskSpaceLo `(int)` - Total disk space on `InterDir`, in bytes. This field contains the low 32-bits of 64-bit value
  - TotalInterDiskSpaceHi `(int)` - otal disk space on `InterDir`, in bytes. This field contains the high 32-bits of 64-bit value
  - TotalInterDiskSpaceMB `(int)` - Total disk space on `InterDir`, in MiB.
- updated doc
- added disk performance tests
- added the new `testdiskspeed` API method:
    #### Arguments
    - **dirPath** `(string)` - The path to the directory where the test file will be created.
    - **writeBuffer** `(int)` - The size of the buffer used for writing data to the file (in KiB).
    - **maxFileSize** `(int)` - The maximum size of the file to be created (in GiB).
    - **timeout** `(int)` - Test timeout (in seconds).
    
    #### Return value
    - **SizeMB** `(int)` - Written data size (in MiB)`.
    - **DurationMS** `(int)` - Test duration (in milliseconds).
- added Bits/s units to the speed test results
- fixed corruption of downloaded files on x32 architectures due to `segmentOffset` overflow and using `fseek` instead of `fseeko` function which can handle int64 width
-  show “N/A” instead of 0.0% if the directory does not exist
- added v24.3 changelog
- updated the issue template
@dnzbk dnzbk merged commit 885cfc1 into main Sep 12, 2024
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants