2
0
mirror of https://github.com/meganz/MEGAcmd synced 2025-08-31 05:45:11 +00:00
Commit Graph

1296 Commits

Author SHA1 Message Date
Pablo Martin
3c50304f98 add logic to (limitedly) wait for nodes current
and to give a few secs to catchup with share keys before verifying and
warning potential issues
2023-03-13 17:56:27 +01:00
Pablo Martin
6c38096582 update SDK version with fix for race condition regarding acttion packets and pending shares 2023-03-11 00:23:13 +01:00
Pablo M
31aa795c2f Merge branch 'task/crypto-rework-v2' into 'develop'
CMD-256. Adjustments for crypto-rework 2.0

See merge request apps/MEGAcmd!569
2023-03-10 23:26:34 +13:00
David Ward
b18feeb733 Use Automake (and friends) to produce Synology builds. 2023-03-10 15:14:05 +13:00
Pablo Martin
9e7aeddbe2 do not broadcast caveat for unverified in case of pending 2023-03-09 23:17:57 +01:00
Pablo Martin
b7285556e6 do not broadcast caveat for unverified in case of pending 2023-03-09 23:16:49 +01:00
Pablo Martin
0399044574 update version and changelog to 1.6.1 2023-03-09 19:15:22 +01:00
Pablo Martin
25b818460e adjustments for cryto-rework 2.0
- reduce alerts and adjust strings.
- differentiate undecryptable(still possible) vs unverified
- unify and clear out sharing printing
- have share -p list not only pending, but all shares
2023-03-09 19:10:52 +01:00
Pablo M
0536bc4516 Merge branch 'update/files-160' into 'master'
Update files for version 1.6.0 [master]

See merge request apps/MEGAcmd!566
2023-03-09 23:47:30 +13:00
Pablo M
2feaa367cb Merge branch 'update/files-160' into 'develop'
Update files for version 1.6.0 [develop]

See merge request apps/MEGAcmd!565
2023-03-09 23:47:03 +13:00
Pablo Martin
6ce18ccbb7 update windows files for 1.6.0 2023-03-06 18:07:29 +01:00
Pablo Martin
2ade4b3be7 fix compilation for Debian testing (official repos moved) 2023-03-06 17:08:46 +01:00
Victor Teniente
e66ef1b267 Update files for version 1.6.0 macOS 2023-03-06 16:51:58 +01:00
Pablo M
21619aae44 Merge branch 'release/1.6.0' into 'master'
Release 1.6.0 [master]

See merge request apps/MEGAcmd!564
2023-03-07 00:56:00 +13:00
Pablo M
829068d564 Merge branch 'release/1.6.0' into 'develop'
Release 1.6.0 [develop]

See merge request apps/MEGAcmd!563
2023-03-07 00:55:36 +13:00
Pablo Martin
94a5c0adbf fixes for folder links
- update sdk submodule to v4.16.0b, to prevent NO_KEYS
 - have apiFolder instances use a basePath now, and do logout upon
   finalization to prevent ever-growing disk occupation
1.6.0_macOS 1.6.0_Win 1.6.0_Linux
2023-03-04 00:46:01 +01:00
Victor Teniente
1cd68d9f10 Auto update files for macOS 2023-03-03 17:02:36 +01:00
Pablo Martin
f1cdff3668 update submodule to HEAD of 4.16.0a (with fixes in zlib and wrongly reported error in isFolder)
Adjusted tests to use python2.7 explicitly
2023-03-03 16:15:53 +01:00
Pablo Martin
993710b20e - Ensure security warning reaches current shell
- Improved texts & fixed typos
2023-03-02 11:41:04 +01:00
Pablo Martin
c39e79005f fully transition from libpcre++-dev (not required) to libpcre3-dev build dependency in dscs 2023-03-02 09:50:34 +01:00
Pablo Martin
081aec0a60 allow .dsc build-depend on libpcre3-dev instead of the actually unused libpcre++-dev 2023-03-01 17:38:54 +01:00
Pablo Martin
c643a7eef2 remove no longer used Macos plafform method 2023-03-01 17:10:34 +01:00
Pablo Martin
85f85f0488 have cryptopp compiled for Debian 9 2023-03-01 17:03:15 +01:00
Pablo Martin
ddc15e1f50 remove old loader logic 2023-03-01 16:58:30 +01:00
Pablo Martin
271b785018 fix lambda return 2023-03-01 16:33:08 +01:00
Pablo Martin
dde4c2f62d adjustments for windows compilation 2023-03-01 14:44:30 +01:00
Pablo Martin
99affff4d0 update version files and changelogs to 1.6.0 and sdk to v4.16.0a 2023-03-01 13:33:58 +01:00
Pablo M
780b744694 Merge branch 'task/support-official-s4-attr' into 'develop'
CMD-208. Support s4 official attribute

See merge request apps/MEGAcmd!557
2023-03-02 01:20:14 +13:00
Pablo M
f73b482487 Merge branch 'task/CMD-239-crypto-rework-adjustments' into 'develop'
CDM-239. Crypto rework adjustments

Closes CMD-239

See merge request apps/MEGAcmd!560
2023-03-02 00:23:44 +13:00
Pablo Martin
3c08f1acc3 micro optimizations on MegaCmdExecuter::isShareVerified 2023-03-01 11:38:01 +01:00
Pablo Martin
da18f6bc5a Indicate if a or remove dout share is or isn't verified
and move the check for unverified at the end of "share" execution
2023-03-01 10:44:50 +01:00
Pablo Martin
c3d42bab9b minor adjustment (not using name for listing undecryptable inshares) 2023-03-01 10:18:48 +01:00
Pablo Martin
d2b92de579 Merge remote-tracking branch 'origin/develop' into task/CMD-239-crypto-rework-adjustments
Conflicts:
	src/listeners.cpp
  ^ ensure EVENT_UPGRADE_SECURITY is tracked
2023-03-01 10:17:26 +01:00
Pablo Martin
f45e77bd02 improvements in crypto rework
- avoid double listing an outshare that is pending too
- have mount & share alert on unverified upon use
- fixed wrongly used printSome...Share flags
2023-03-01 10:14:49 +01:00
Pablo Martin
11d9991d37 algo loop checking for undecryptable nodes to broadcast inaccessible shares messages 2023-02-28 18:33:45 +01:00
Pablo Martin
0d8284cfea improve docs related with sharing and user verification
- added prefix in several places
2023-02-28 18:20:23 +01:00
Pablo M
417e79972c Merge branch 'task/adjust-to-develop-after-transfers-and-sync-changes' into 'develop'
CMD-207. Fix compilation after sync, transfers and sdk interface changes

See merge request apps/MEGAcmd!556
2023-03-01 06:04:56 +13:00
Pablo Martin
9519326bea adjustments in regards to unverified contacts and shares
- simplify logic and warnings
- have warning only appear to connected clients or the first one to show
up (to avoid hammering in ever unverified contacts situations)
- have "share" also print '[UNVERIFIED]' for not verified out-shares
- remove greetings upon logout (only update greeing may be subject to be
kept, still the flux in which that would be required after a logout is
not not critical
2023-02-28 17:31:05 +01:00
Pablo Martin
ee4b19b337 minor adjustments in syncs
- fix compilation (remove extra braket).
- have IGNORED status in syncs say "Processing" instead (sdk is too busy
to compute it).
- use generator to list path state values and descriptions.
- have "sync X Y" report the sync establishment in standard out.
2023-02-28 12:10:36 +01:00
Pablo Martin
5acb7a11d1 support verifying contacts and informing the user on verification issues
- add a greeting when there are unverified IN/OUT shares
- add commands
- fix share with new contacts with new openShareDialog logic required
(and also alert requirement to confirm --security)
- redone users listing: now supporting showing out shares, and
unverified warning (contacts/shares)
- added users --verify XXX, to verify a contact
- added users --unverify XXX, to reset verification
- added users --help-verify to inform how to list shares and contacts
pending verification
- added users --help-verify XXX, to show verification information and
steps for verifying contact XXX
- minor adjustments/convenience utils
2023-02-24 19:19:08 +01:00
Pablo Martin
ea1a893cb5 have security msg display and have confirm allow upgrading 2023-02-23 17:25:17 +01:00
Pablo Martin
d52666ec28 fix wrong placed parenthesis 2023-02-23 17:22:44 +01:00
Matt Weir
08d172c08f Update preferred-ports-megacmd.txt to match SDK, and listeners for SDK sync callbacks 2022-11-22 19:57:10 +13:00
Pablo Martin
760ef5ac8a add support for selecting type when finding and to only print handles (useful for scripting)
also added --print-only-value option to attr command
- fix some getUsageStr
2022-11-15 14:45:27 +01:00
Pablo Martin
3f16d71358 support s4 official attribute
refactor attr code
2022-11-14 17:17:46 +01:00
Pablo Martin
91b7061f93 prevent concurrency issues in stateListenersPetitions 2022-11-11 23:22:32 +01:00
Pablo Martin
5291e7094a fix compilation after sync, transfers and sdk interface changes
- adjust to new start download/upload interfaces
- fix LocalPath::toPath usages
- use sync interfaces and new Running State
- disable --restart-sync functionality when setting exclusions
2022-11-11 23:22:06 +01:00
Alfonso Abella
bea1b35423 Merge branch 'task/support-ubuntu-2210' into 'develop'
CMD-206 Add support for Ubuntu 22.10

See merge request apps/MEGAcmd!555
2022-10-06 03:12:50 +13:00
Alfonso Abella
6189f8ad5a Add support for Ubuntu 22.10 2022-10-05 14:31:56 +02:00
Alfonso Abella
d89fe7cbce Merge branch 'task/build_multicore' into 'develop'
CMD-187 Make builds scripts able to build with more than one thread

See merge request apps/MEGAcmd!552
2022-10-01 01:26:59 +13:00