2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-29 12:57:44 +00:00

1428 Commits

Author SHA1 Message Date
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
Vibhav Pant
7e84480753
Merge remote-tracking branch 'origin/develop' into CMD-307-parallel-megacmd-server-sockets 2023-11-27 13:00:01 +05:30
Vibhav Pant
dd4212542f Merge branch 'CMD-280-add-github-issue-template' into 'develop'
CMD 280. Add a GitHub issue template.

Closes CMD-280

See merge request apps/MEGAcmd!634
2023-11-27 20:28:55 +13:00
Vibhav Pant
3d4731e860 Merge branch 'CMD-369-session-unique-ptr' into 'develop'
CMD-369. Use unique_ptr to store string returned from dumpSession.

Closes CMD-369

See merge request apps/MEGAcmd!638
2023-11-22 23:41:51 +13:00
Vibhav Pant
587f905ecf Merge branch 'CMD-370-getcontacts-unique-ptr' into 'develop'
CMD-370. onUsersUpdate: Use a unique_ptr to store the result of getContacts().

Closes CMD-370

See merge request apps/MEGAcmd!639
2023-11-22 23:41:30 +13:00
Vibhav Pant
4988b9febb
onUsersUpdate: Use a unique_ptr to store the result of getContacts(). 2023-11-21 19:28:18 +05:30
Vibhav Pant
3e46e7dee4
Use unique_ptr to store string returned from dumpSession. 2023-11-21 19:03:45 +05:30
Diego Ximenez
b252a6c314 Merge branch 'task/CMD-355_fix_find_command_integration_test' into 'develop'
CMD-355. Fix "Find" integration test

Closes CMD-355

See merge request apps/MEGAcmd!636
2023-11-21 23:37:04 +13:00
Diego Ximenez
0c23cc7db4
Use a predicate-formatter for custom container assertions 2023-11-21 11:17:10 +01:00
Diego Ximenez
714f124e41
Avoid parsing console args directly in executeClient for tests 2023-11-20 19:00:44 +01:00
Diego Ximenez
13417a073b
Fix MegaCmdShellCommunicationsNamedPipes not working in integration tests 2023-11-20 18:20:14 +01:00
Diego Ximenez
1e15f43058
Fix Find integration test 2023-11-20 14:59:55 +01:00
Diego Ximenez
1dfcd520f3
Fix incorrect path for testing source file in QtCreator project files 2023-11-20 14:09:33 +01:00
Diego Ximenez
740e530ac8
Improvements to executeInClient testing function 2023-11-20 14:09:06 +01:00
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
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
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
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
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
1ea00c68c2
Use unique_ptr for storing MegaAccountDetails pointer. 2023-11-07 03:30:10 +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
Vibhav Pant
3df71b45ae
Use "sanitizer" as the autoconfig arg name. 2023-11-06 18:40:32 +05:30
Pablo M
9029acafb0 Merge branch 'task/CMD-306_isolated_tests_infrastructure' into 'develop'
CMD-306. Create isolated tests infrastructure and CMD-327. Have integration tests run some mega-XXX command

Closes CMD-306

See merge request apps/MEGAcmd!630
2023-11-07 00:13:19 +13:00
Vibhav Pant
e90286d3f8
Fix line wrapping for other lines. 2023-11-06 16:21:27 +05:30
Vibhav Pant
898425b3c8
Replicate old error strings, fix incorrect line wrapping. 2023-11-06 14:35:17 +05:30
Vibhav Pant
5060f95354
Rename enable-checks to enable-sanitizer. 2023-11-06 12:53:44 +05:30
Diego Ximenez
fe15b4d166
Fix indentation in QtCreator project files 2023-11-03 17:29:36 +01:00
Pablo Martin
199f52687a
add missing namespace 2023-11-03 16:36:43 +01:00
Pablo Martin
b4e09ff04b
have integration test talk utf-8
- also fixed executeInClient array size
2023-11-03 16:13:55 +01:00
Pablo Martin
14f373bbaa
Merge remote-tracking branch 'origin/develop' into task/CMD-306_isolated_tests_infrastructure
Conflicts:
	build/cmake/CMakeLists.txt
2023-11-03 15:33:28 +01:00
Pablo Martin
bb0ae184d6
isolated tests infrastructure
- have MEGAcmd server initiated within integration main
- have client support outputing elsewhere than stdout
- add a few example tests (logged vs non logged vs reading ones)
2023-11-02 17:07:02 +01:00
Pablo M
3b705373a1 Merge branch 'task/CMD-299_build_and_run_tests_in_macos_ci' into 'develop'
CMD-299. Have unit & integration tests built for macos & unit ones excecuted

Closes CMD-299

See merge request apps/MEGAcmd!625
2023-11-01 07:15:27 +13:00
Diego Ximenez
6732f68a5d Merge branch 'task/CMD-299_update_vpckg_ports_and_ffmpeg' into 'develop'
CMD-299. Update preferred-ports file with SDK versions and fix ffmpeg not building in XCode 15

Closes CMD-299

See merge request apps/MEGAcmd!614
2023-11-01 04:18:59 +13:00