Qingchuan Zhang
49e578d286
fix GetObject add headers logic ( #192 )
2025-02-11 08:54:31 -08:00
grasevski
89e4c0bfe1
fix(credentials): check expiry properly ( #190 )
...
Expiry flag was inverted when checking credentials. This causes ChainedCredentialsProvider to fail.
2025-02-10 17:46:13 -08:00
Harshavardhana
eb14af15cd
add xmake build fixes for macOS ( #187 )
2025-01-19 09:55:18 -08:00
Harshavardhana
d1eafd6ecc
UploadObject: open files always in binary mode ( #186 )
...
fixes #145
2025-01-19 15:37:51 +05:30
Harshavardhana
b8ebbf30e5
allow checksum headers in single PutObject() ( #184 )
2025-01-05 02:42:18 -08:00
Harshavardhana
818d2036ac
fix: correct multipart XML CompleteMultipartUploadResult ( #183 )
...
existing implementation was not parsing complete multipart
response properly.
Bonus: add support for new checksum fields
2025-01-05 02:00:23 -08:00
Bala FA
5a5533e4d5
fix GetBucketVersioning XML parsing ( #181 )
...
Fixes #180
Signed-off-by: Bala.FA <bala@minio.io>
2024-12-19 23:52:24 +05:30
Harshavardhana
760abde02c
move to shared library format with -DBUILD_SHARED_LIBS ( #177 )
2024-11-05 06:10:01 -08:00
Bala FA
0936d96d33
fix path construction in BaseUrl::BuildUrl() ( #176 )
...
Fixes #173
Signed-off-by: Bala.FA <bala@minio.io>
2024-09-17 11:09:59 -07:00
Bala FA
40824d0872
fix AWS S3 prefix substring splitting ( #172 )
...
Fixes #171
Signed-off-by: Bala.FA <bala@minio.io>
2024-08-27 07:58:19 -07:00
Petr Kobalicek
9d723bd21c
Updated version to 0.3.0 ( #167 )
v0.3.0
2024-08-21 09:38:23 -07:00
Bala FA
c9d3c250b7
SignV4: trim leading/trailing spaces in header value ( #163 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2024-08-21 09:32:02 -07:00
sminux
b3e9b2ca9b
fix #164 noncurrent_version_transition_noncurrent_days ( #165 )
...
fix bad copy-paste
Co-authored-by: smarchenkov <smarchenkov@astra-live>
2024-08-21 18:20:10 +02:00
Bala FA
6f313b9b02
Convert a preprocessor token to a string ( #162 )
...
Fixes #161
Signed-off-by: Bala.FA <bala@minio.io>
2024-08-21 18:19:41 +02:00
Petr Kobalicek
cd4ef14955
Fixed a GetObject() function colliding with WinAPI macro ( #139 )
2024-07-03 11:08:48 +02:00
Bala FA
0352bb3a5b
fix range calculation in ComposeObject API ( #140 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2024-06-05 01:57:19 -07:00
Bala FA
e9e63da5a1
Use ubuntu-24.04 for linter ( #142 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2024-05-15 13:46:07 +05:30
Bala FA
046a41ef15
fix DST setting properly in UtcTime ( #133 )
...
Fixes #132
Signed-off-by: Bala.FA <bala@minio.io>
2024-05-15 13:45:21 +05:30
Bala FA
dc82f4dc1a
PresignV4: accept query_params as reference for mutation ( #135 )
...
Fixes #131
Signed-off-by: Bala.FA <bala@minio.io>
2024-05-15 12:16:13 +05:30
Isaac Joseph
c3ce2fa789
fix PostPolicy bool operator condition ( #137 )
2024-04-16 07:38:42 +05:30
Petr Kobalicek
f5132e0f39
Enhanced CMakeLists.txt to create a proper export ( #129 )
...
At the moment miniocpp-config.cmake specifies dependencies, but when
it's actually used by a client it requires that client resolves the
dependencies himself - which means that the client would have to use
find_package() to find everything that minio-cpp uses.
This fixes the problem. It creates miniocpp-targets.cmake, which is
a file generated by cmake, and also creates miniocpp-config.cmake,
which adds the required find_package() commands to the cmake and
then includes miniocpp-targets.cmake, which provides the targets.
This change finalizes the integration of minio-cpp with both cmake
and vcpkg.
Co-authored-by: Petr Kobalicek <petr.kobalicek@min.io>
v0.2.0
2024-04-05 09:41:35 +02:00
Bala FA
d3d828eddc
Add support to progress function to abort operation ( #128 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2024-04-02 19:10:06 +05:30
Petr Kobalicek
0eb2a19df1
Include missing includes to prevent build errors on some configurations ( #127 )
...
Co-authored-by: Petr Kobalicek <petr.kobalicek@min.io>
2024-03-28 16:41:03 +01:00
Petr Kobalicek
2132b812e8
Version bump to 0.2.0 ( #126 )
...
Co-authored-by: Petr Kobalicek <petr.kobalicek@min.io>
2024-03-28 15:06:35 +01:00
Petr Kobalicek
1e5f140159
Include files cleanup and minor API changes ( #124 )
...
* use namespace::subnamespace where applicable
* make minio::error::SUCCESS declared only once
* make more constructors explicit (minio::error)
* moved constants that seem private into .cc files
* added .clang-format file to enforce more formatting rules
Co-authored-by: Petr Kobalicek <petr.kobalicek@min.io>
2024-03-28 10:19:18 +01:00
Petr Kobalicek
238f465f0a
Moved C++ headers to miniocpp subdirectory ( #123 )
...
* Use #include <miniocpp/header.h> to include minio-cpp now
* Header files have consistent guards that don't start with _
* Added a SPDX license identifier to each source and header file
* Use clang-format-18 to format the source code
Co-authored-by: Petr Kobalicek <petr.kobalicek@min.io>
2024-03-26 17:21:12 +01:00
Petr Kobalicek
b29b43ed4e
Reworked CMakeLists.txt ( #121 )
...
* Moved the logic into a single CMakeLists.txt file
* Added miniocpp:: namespace and thus miniocpp::miniocpp target
* Removed the generation of header files (config.h.in)
* Consolidated tests and examples - use MINIO_CPP_TEST to build
them all
* Use miniocpp::miniocpp target in tests and exampels to simplify
the use of dependencies
* Setup the cmake project with DESCRIPTION and VERSION
* Use GNUInstallDirs when installing targets
* Export cmake files so another cmake can find minio-cpp by
using find_package(miniocpp) and then use miniocpp::miniocpp
* Building both documentation and tests/examples is OFF by default
2024-03-19 18:58:55 -07:00
piotr-topnotch
05a4fc9c2c
Converting constructor removal; distinct types; thread-safe time access ( #118 )
...
* Merged the hardening changes
* Provided an OS-independent reentrant auxLocaltime
* Compilable on WSL
2024-03-19 16:59:01 +01:00
Henk-Jan Lebbink
e711a215b8
Include headers explicitly and add constructors to comply C++20 ( #116 )
...
* Added constructors to become C++20
* fixed: implementation details leak in headers
2024-03-19 15:17:19 +01:00
Bala FA
c43db14100
fix time comparison by having utc time both the sides ( #115 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2024-03-18 15:32:16 +05:30
piotr-topnotch
765ec24eed
Rework entire code for correctness and potential bug fixes ( #111 )
2024-03-16 06:37:01 +05:30
piotr-topnotch
009f2f55b5
use std::make_unique() for out-of-bound read test and exception safety ( #113 )
2024-03-13 07:18:53 +05:30
Bala FA
4de2f19a19
Populate Host header properly ( #112 )
...
Fixes #110
Signed-off-by: Bala.FA <bala@minio.io>
2024-03-06 17:28:06 +05:30
Bala FA
ebb3c60b8b
fix PutObjectResponse to handle CompleteMultipartUploadResponse ( #107 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2024-03-06 07:53:59 +05:30
Julia Cox
0c9f75d688
Add MS Windows support ( #108 )
2024-02-25 07:41:54 +05:30
Bo Schuster
21957d46c7
cmake: include GNU install directories ( #101 )
...
Co-authored-by: zhaowq32 <zhaowq32@chinaunicom.cn>
Co-authored-by: Bala FA <bala.gluster@gmail.com>
2024-02-23 11:51:39 +05:30
snark
46d27bd808
fix buffer array deletion properly ( #105 )
2024-02-23 11:32:13 +05:30
William Wilson
0e9183f488
Add curlpp::Options::SslVerifyHost(0L) for ignore_cert_check flag ( #95 )
2023-10-06 22:03:54 +05:30
Bala FA
1c99483c76
fix datachunk handling in ListenBucketNotification API ( #93 )
...
Fixes #92
Signed-off-by: Bala.FA <bala@minio.io>
2023-09-12 09:37:48 -07:00
Uli Köhler
c62d3b7f04
fix example code in README ( #88 )
...
Co-authored-by: Uli Köhler <ukoehler@techoverflow.net>
2023-08-21 21:41:48 +05:30
Bala FA
bceaf736f7
fix target_link_libraries for inih C++ ( #87 )
...
Fixes #86
Signed-off-by: Bala.FA <bala@minio.io>
2023-08-17 13:15:36 -07:00
Bala FA
f3cabe5442
Add generic AWS S3 domain support ( #82 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2023-08-17 09:11:49 -07:00
xuyiqun-learner
22839ff206
Add GCC 8 support ( #73 )
2023-06-05 10:50:15 +05:30
Bala FA
c10bd6be7d
Use std::stol() wherever applicable. ( #78 )
...
Fixes #77
Signed-off-by: Bala.FA <bala@minio.io>
2023-06-05 09:53:59 +05:30
Bala FA
3bf3ea9bab
Add HTTP progress callback function ( #72 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2023-05-08 11:39:09 -07:00
Bala FA
19539da62c
Revert "ListObjects(): fix parsing user metadata as per MinIO server ( #50 )" ( #69 )
...
This reverts commit d4cfbd328959baea84ee3786470cb8f3c3e43748.
Signed-off-by: Bala.FA <bala@minio.io>
2023-04-06 07:55:56 -07:00
Bala FA
3bf7317fd4
Remove locale usage in time conversion ( #62 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2023-02-24 06:34:20 -08:00
Bala FA
ecaa0464fd
tests: use IGNORE_CERT_CHECK environment variable ( #60 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2023-02-24 16:53:17 +05:30
Bala FA
fec6035ada
Add ListObjects recursive tests ( #61 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2023-02-24 09:06:09 +05:30
Bala FA
d4cfbd3289
ListObjects(): fix parsing user metadata as per MinIO server ( #50 )
...
Signed-off-by: Bala.FA <bala@minio.io>
2023-02-24 05:37:23 +05:30