2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-30 05:17:41 +00:00

1778 Commits

Author SHA1 Message Date
Vibhav Pant
5365380a3b
Use unique_ptr to avoid leaks for strings returned by AccountDetails methods. 2023-12-11 21:40:05 +05:30
Vibhav Pant
30eb84460b
Add a -lgmock flag for building integration tests on QMake. 2023-12-11 21:30:27 +05:30
Vibhav Pant
f630614546
Disable CMake build for now. 2023-12-11 21:18:43 +05:30
Vibhav Pant
96d4e6d4f5
Ignore the exit code for docker image rm. 2023-12-11 20:58:57 +05:30
Vibhav Pant
2efcbde342
Remove the ignore flag for docker rm. 2023-12-11 20:57:59 +05:30
Vibhav Pant
65a79d7a99
Fix cli options for docker image rm. 2023-12-11 20:55:14 +05:30
Vibhav Pant
dd7e5ccbe3
Remove images before archiving reports 2023-12-11 20:52:12 +05:30
Vibhav Pant
ad3eb95eb8
Remove images built once the pipeline has finished. 2023-12-11 20:47:54 +05:30
Diego Ximenez
c1559baafe
Add environment variable to skip PDF thumbnail tests 2023-12-11 14:28:52 +01:00
Vibhav Pant
30bd51eb1c
Add libtinyxml2.6.2v5 as well. 2023-12-11 18:41:13 +05:30
Vibhav Pant
ecd0933eff
Install libtinyxml2 (-dev) as a dependency. 2023-12-11 18:36:08 +05:30
Vibhav Pant
ca76904fb4
Ensure the correct TSAN_OPTIONS are passed. 2023-12-11 18:35:56 +05:30
Vibhav Pant
a346668dc8
Merge remote-tracking branch 'origin/develop' into CMD-357-create-container-image-for-tests 2023-12-11 18:11:25 +05:30
Vibhav Pant
a3bbc3ff4a
Use the correct name for the testing stage. 2023-12-11 18:11:08 +05:30
Diego Ximenez
6274d553df
Add extra allowed failures for image and PDF thumbnail tests
Thumbanils are not generated for these files in the webclient either, so
it's not an issue with MegaCMD.
2023-12-11 13:27:17 +01:00
Vibhav Pant
671f6f80f7
Add libgmock-dev to build dependencies. 2023-12-11 17:32:42 +05:30
Diego Ximenez
5583ea9a29
Fix memory leak on error teardown 2023-12-11 12:03:47 +01:00
Diego Ximenez
8b36d4e591
Fix possible null pointer dereference 2023-12-11 12:03:13 +01:00
Pablo Martin
6b345a4dc9
fix src_libmegacmdclient_la_CXXFLAGS overriden 2023-12-11 10:59:50 +01:00
Diego Ximenez
87b625122b
Ignore folders in thumbnail python test 2023-12-05 19:13:20 +01:00
Diego Ximenez
5ba419fae9
Add tiff files to the list of allowed failures in thumbnail python test 2023-12-05 18:41:05 +01:00
Diego Ximenez
54495b8679
Ensure auth token string is long enough to extract URL 2023-12-05 18:23:00 +01:00
Diego Ximenez
c81bdba306
Revert unwanted change in previous commit
Accidentally staged the sdk hash.
2023-12-05 10:57:05 +01:00
Diego Ximenez
e15baef696
Merge branch 'develop' into fix/CMD-288_fix_python_tests_failing 2023-12-04 20:16:18 +01:00
Diego Ximenez
4aa94a863d
Check if node is a folder before using getWritableLinkAuthKey 2023-12-04 20:14:44 +01:00
Vibhav Pant
b0c0a5e8f8 Merge branch 'CMD-213-ls-dont-truncate-size-summary' into 'develop'
CMD-213. dumpNodeSummary: Don't truncate node size when printing it in bytes.

Closes CMD-213

See merge request apps/MEGAcmd!608
2023-12-05 04:40:25 +13:00
Vibhav Pant
ff8e1551ec
Merge remote-tracking branch 'origin/develop' into CMD-213-ls-dont-truncate-size-summary 2023-12-04 19:54:49 +05:30
Vibhav Pant
3695642dff
WhoamiLCMD283: Add additional assertion for the ROOT folder. 2023-12-04 19:52:35 +05:30
Vibhav Pant
b95754ebf0
Add integration test to ensure CMD-283 fix is working. 2023-12-04 19:05:13 +05:30
Vibhav Pant
c7198e3533
Merge remote-tracking branch 'origin/develop' into CMD-283-use-account-details-whoami 2023-12-04 17:31:31 +05:30
Diego Ximenez
f52e98eeb9
Fix usage of MegaApi::startDownload after new argument added
A new boolean argument (`undelete`) was added to
`MegaApi::startDownload` before the last argument which was a pointer
with a default value of `NULL`.

The usage of this function was not updated in MEGAcmd, but the compiler
didn't complain because the last argument was implicitly being converted
to boolean, and because the pointer has a default value all was good. So
we were effectively calling this function with `undelete=true` and
`listener=NULL` always.
2023-12-01 17:36:11 +01:00
Callan
d39157e507
add show-handles to mega-tree command. 2023-12-01 17:47:31 +13:00
Callan Christophersen
4616fc3987 Merge branch 'fix/CMD-348_Calls-to-getMegaSyncErrorCode-leak-memory' into 'develop'
CMD-348_Calls-to-getMegaSyncErrorCode-leak-memory

Closes CMD-348

See merge request apps/MEGAcmd!632
2023-12-01 11:02:03 +13:00
Diego Ximenez
83bb7a40a1
Minor improvements
* Remove a comment that is not relevant anymore
* Use assertions to check for nullability on publicLink/nodepath, since
that's likely to be a bug if nullptr
* Set out code to INVALIDSTATE if we fail to generate a writable folder,
and change wording to "read-only"
* Use a reference to avoid copying the result of getOptions
2023-11-30 19:31:43 +01:00
Diego Ximenez
27053360e7
Merge branch 'develop' into task/CMD-200_report-errors-over-existing-exports 2023-11-30 19:15:49 +01:00
Vibhav Pant
64a33c9b96 Merge branch 'CMD-307-parallel-megacmd-server-sockets' into 'develop'
CMD-307. Allow configuring the path used by the server for domain sockets.

Closes CMD-307

See merge request apps/MEGAcmd!622
2023-12-01 03:20:12 +13:00
Vibhav Pant
798c666ef6
Merge remote-tracking branch 'origin/develop' into CMD-307-parallel-megacmd-server-sockets 2023-11-30 18:57:08 +05:30
Pablo M
e98b360771 Merge branch 'task/CMD-306_isolated_tests_infrastructure_with_server_not_outputing_to_stdout' into 'develop'
CMD-354. Have server logs support logging to a file without redirecting stdout.

Closes CMD-306

See merge request apps/MEGAcmd!631
2023-12-01 01:28:15 +13:00
Vibhav Pant
48fd8a7e4c
Revert "Perform a shallow clone for MEGAcmd as well."
This reverts commit 543cec0edaa4167553438f5823316175bee2af22.
2023-11-30 15:58:20 +05:30
Vibhav Pant
543cec0eda
Perform a shallow clone for MEGAcmd as well. 2023-11-30 15:16:34 +05:30
Vibhav Pant
08ef87e2c4
Try performing shallow clones for the SDK. 2023-11-30 15:06:16 +05:30
Vibhav Pant
c826776a7e
Put parallel block inside its own stage. 2023-11-30 14:51:52 +05:30
Vibhav Pant
7eec7272fb
Try cloning MegaCMD and SDK in parallel. 2023-11-30 14:49:29 +05:30
Vibhav Pant
e923c51b28
Set the timeout for test runs to 10 minutes. 2023-11-30 14:42:02 +05:30
Diego Ximenez
8181e4c438 Merge branch 'task/CMD-255_update_windows_build_instructions_on_readme' into 'develop'
CMD-255. Update README.md CMake build instructions for Windows and MacOS

Closes CMD-255

See merge request apps/MEGAcmd!640
2023-11-29 22:11:15 +13:00
Vibhav Pant
f31cb3555b
Use the correct type for storing getenv's return value. 2023-11-29 14:24:30 +05:30
Vibhav Pant
848108f5ff
PlatformDirectories: Fix method names in documentation. 2023-11-29 14:17:50 +05:30
Vibhav Pant
bfbde84464
dataDirPath: Minor refactor. 2023-11-29 14:17:37 +05:30
Vibhav Pant
8335ab6c3e
getOrCreateSocketPath: Print error if mkdir fails. 2023-11-29 14:14:38 +05:30
Pablo Martin
ecb0108555
minor adjustments
types, constrain mayUnisntall to windows, removed redundant virtuals,
args defined using vector.
2023-11-28 18:10:02 +01:00