2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-30 21:35:10 +00:00
Commit Graph

1778 Commits

Author SHA1 Message Date
Diego Ximenez
740e530ac8 Improvements to executeInClient testing function 2023-11-20 14:09:06 +01:00
Vibhav Pant
8184d70b4b Try using a blob pattern to find the report XMLs. 2023-11-18 17:24:58 +05:30
Vibhav Pant
c1be89c9f1 Specify the name of the file. 2023-11-17 21:35:51 +05:30
Vibhav Pant
2dc7502b98 Use junit plugin instead of xunit. 2023-11-17 21:24:51 +05:30
Vibhav Pant
937bced02c Fix arguments to docker run. 2023-11-17 20:01:51 +05:30
Vibhav Pant
a931ee4479 Use the correct syntax for xunit. 2023-11-17 19:39:07 +05:30
Vibhav Pant
245de6bbf8 Report test results using the xunit test plugin. 2023-11-17 19:36:52 +05:30
Vibhav Pant
a563a8c3e9 Use the correct name for the unit tests executable. 2023-11-17 14:19:43 +05:30
Vibhav Pant
bf7e55b24e Run unit tests after building the container image. 2023-11-17 14:15:08 +05:30
Vibhav Pant
39cb317208 Don't run docker rm post-pipeline (no container needs to be removed) 2023-11-17 13:50:46 +05:30
Vibhav Pant
dc335586c9 Enable Docker BuildKit. 2023-11-17 13:42:09 +05:30
Vibhav Pant
610b9fe7cc Use the new Dockerfile for linux builds. 2023-11-17 13:38:37 +05:30
Vibhav Pant
9a7af5fa87 Don't run apt-get clean.
Downloaded packages are stored on a cache mount, which doesn't make
them a part of the image, making apt-get clean unnecessary.
2023-11-17 13:36:00 +05:30
Vibhav Pant
b13b801bb3 Improve caching of downloaded packages. 2023-11-17 13:32:10 +05:30
Vibhav Pant
061376afbc Merge remote-tracking branch 'origin/develop' into CMD-307-parallel-megacmd-server-sockets 2023-11-17 12:38:04 +05:30
Vibhav Pant
5c2121dd92 Add Dockerfiles for building using autotools and CMake. 2023-11-16 16:53:14 +05:30
Vibhav Pant
e1be4613c5 Use the correct options for adding sanitizer support. 2023-11-16 16:52:50 +05:30
Vibhav Pant
656a22cc5f Merge branch 'feature/CMD-208_API_v3_compatibility' into 'develop'
CMD-358. Fix building after SRW SDK merge

Closes CMD-208

See merge request apps/MEGAcmd!558
2023-11-16 23:42:55 +13:00
Vibhav Pant
635203a918 getOrCreateSocket: Return empty string if runtimedir is empty 2023-11-16 14:37:46 +05:30
Vibhav Pant
91d6d31861 Add a note for Linux distros for field platform-version 2023-11-16 13:14:28 +05:30
Vibhav Pant
e0673beda1 Add "required" validation to all fields. 2023-11-16 13:12:14 +05:30
Diego Ximenez
31bcef86d0 Log error when the password argument is provided and empty 2023-11-09 19:27:55 +01:00
Diego Ximenez
e837b6d3e4 Log expire time and auth errors in exportNode
Convert nodeName to a lambda to save cycles in case the value it's nto
used
Add a bit more info int the "node already exported" error message
2023-11-09 18:38:15 +01:00
Diego Ximenez
1f80e3a10b Small improvements to copyright acceptance in exportNode 2023-11-09 18:02:34 +01:00
Diego Ximenez
2d58165370 Minor amIPro improvements and fixes 2023-11-09 17:39:42 +01:00
Diego Ximenez
abc666dd4c Check for PRO status before trying to encrypt link with password 2023-11-09 17:22:09 +01:00
Vibhav Pant
9edc888382 stopWaiting: Check socketPath for appropriate length as well. 2023-11-09 20:25:51 +05:30
Vibhav Pant
505d924996 Use a more suitable name for getOrCreateSocketPath's parameter. 2023-11-09 20:23:04 +05:30
Vibhav Pant
eab64dd08a Rename getSocketPath to getOrCreateSocketPath. 2023-11-09 20:22:26 +05:30
Vibhav Pant
7a4b2fb05c homeDirPath: Make pwdbuf's definition readable. 2023-11-09 20:18:11 +05:30
Vibhav Pant
5bf0afea2a Use the correct type for the returned value of getenv and sysconf 2023-11-09 20:16:22 +05:30
Vibhav Pant
46cac73324 Remove unneeded import. 2023-11-09 19:33:40 +05:30
Vibhav Pant
a6cfcd1834 Merge remote-tracking branch 'origin/develop' into CMD-307-parallel-megacmd-server-sockets 2023-11-09 19:31:06 +05:30
Diego Ximenez
f25d712731 Merge branch 'develop' into task/CMD-200_report-errors-over-existing-exports
Resolved conflicts in src/megacmdexecuter.cpp
2023-11-09 13:38:08 +01:00
Callan
793dfc75bc Merge branch 'develop' into fix/CMD-348_Calls-to-getMegaSyncErrorCode-leak-memory
# Conflicts:
#	src/megacmdexecuter.cpp
2023-11-09 12:09:36 +13:00
Vibhav Pant
ea35f0ea74 Merge remote-tracking branch 'origin/develop' into CMD-307-parallel-megacmd-server-sockets 2023-11-07 17:57:33 +05:30
Vibhav Pant
749e437e17 Merge branch 'CMD-335-amIPro-free-details' into 'develop'
CMD-335. amIPro: Delete details object after fetching pro level from it.

Closes CMD-335

See merge request apps/MEGAcmd!610
2023-11-08 01:01:23 +13:00
Vibhav Pant
c7e66f5106 Add a GitHub issue template. 2023-11-07 17:17:13 +05:30
Diego Ximenez
af1eed48fb Merge branch 'fix/qtcreator_build_after_sanitizer_change' into 'develop'
Fix QtCreator test project files after latest sanitizer change

See merge request apps/MEGAcmd!633
2023-11-08 00:07:59 +13:00
Vibhav Pant
f090ff730c onEvent: Log error string in case of an error in the async callback. 2023-11-07 13:41:03 +05:30
Vibhav Pant
85ae0263e8 Check returned value of getXXXNode and getAccountDetails for nullptr 2023-11-07 13:39:45 +05:30
Vibhav Pant
d5ca152a0c Merge remote-tracking branch 'origin/develop' into CMD-209-async-node-file-folder-count 2023-11-07 13:16:29 +05:30
Vibhav Pant
9606d6a241 Merge remote-tracking branch 'origin/develop' into CMD-213-ls-dont-truncate-size-summary 2023-11-07 12:41:23 +05:30
Vibhav Pant
5c30feca91 Merge branch 'CMD-351-fetchNewNodes-use-unique-ptr-for-listener' into 'develop'
CMD-351 . FetchNodes: use unique_ptr to manage MegaCmdListener objects.

Closes CMD-351

See merge request apps/MEGAcmd!626
2023-11-07 19:11:23 +13:00
Vibhav Pant
2233fe9996 Replace max_size_len argument with MAX_SIZE_LEN constant. 2023-11-07 03:36:29 +05:30
Vibhav Pant
1ea00c68c2 Use unique_ptr for storing MegaAccountDetails pointer. 2023-11-07 03:30:10 +05:30
Vibhav Pant
671b858481 Use a constant MAX_SIZE_LEN for 999 GB files. 2023-11-07 03:25:18 +05:30
Diego Ximenez
8e31c2b648 Change fsanitizer to fsanitize in QtCreator test pro files 2023-11-06 18:10:56 +01:00
Vibhav Pant
89a77ada83 Merge branch 'CMD-276-export-expiry-error-text' into 'develop'
CMD-276. Display helpful error/warnings messages for certain cases while exporting a node.

Closes CMD-276

See merge request apps/MEGAcmd!621
2023-11-07 02:48:16 +13:00
Vibhav Pant
7def5ecfc3 Merge branch 'CMD-331-enable-runtime-checks-build-flags' into 'develop'
CMD-331. Add new flag, --enable-checks.

Closes CMD-331

See merge request apps/MEGAcmd!613
2023-11-07 02:38:00 +13:00