|
|
|
|
Changelog for libmega30906-3.9.6a-2.65.x86_64.rpm :
* Tue Dec 07 2021 Dead Mozay - Update to version 3.9.6a: * Fri Jul 09 2021 dead_mozayAATTopensuse.org- Update to version v3.8.2c: * Correct assignment to a file\'s needsScan flag. * Scan files (as well as directories) when resuming a sync. * SDK-1573. A simple case missed in localnodebypath, don\'t assign to *parent if it\'s null * Merge branch \'hotfix/sync_to_scan_local_folder_after_creating_remote_folder___originally_for_3_8_2_hotfix\' into \'develop\' * Merge branch \'hotfix/filesystem_notification_localnode_ptr_initialization_race_for_windows\' into \'develop\' * SDK-1555. MegaRegExp\'s destructor must delete the pImpl, of course * Skip invalidated notifications. * disable syncs when missing parent localnode\'s Node crossferefernce is unset * Fri Jul 09 2021 dead_mozayAATTopensuse.org- Update to version v3.8.2c~git0.7c8db8f49: * Correct assignment to a file\'s needsScan flag. * Scan files (as well as directories) when resuming a sync. * SDK-1573. A simple case missed in localnodebypath, don\'t assign to *parent if it\'s null * Merge branch \'hotfix/sync_to_scan_local_folder_after_creating_remote_folder___originally_for_3_8_2_hotfix\' into \'develop\' * Merge branch \'hotfix/filesystem_notification_localnode_ptr_initialization_race_for_windows\' into \'develop\' * SDK-1555. MegaRegExp\'s destructor must delete the pImpl, of course * Skip invalidated notifications. * disable syncs when missing parent localnode\'s Node crossferefernce is unset * Thu Jun 17 2021 dead_mozayAATTopensuse.org- Update to version v3.7.3h~git0.0e79b2739: * Only add new flag for sync-enabled clients * SDK-1376. A fix for 0xFFFF marker pointers used in syncdown() * Protect against null cnode when loading LocalNodes from database * fix unit tests for crossref_ptr deserialization * review: fix unit test compilation, add asserts. * A fix for the occasional crashes reported, with the call stack indicating notifynode(). * Fix warnings * Recheck MAC on download MAC failure, in case it was the result of a mac calculation race * Wed Nov 25 2020 dead_mozayAATTopensuse.org- Update to version v3.7.3e~git0.ba4834cb6: * Fix compilation transfer tests * Solve conflicts * sdk.pri do not use debug sufix for freeimage when !vcpkg * add freeimage dependencies for vcpkg * Adjust call to `filterDNSservers()` * Revert \"Update DNS servers\" * Avoid resolving DNS names before connecting to a host (iOS) * Update DNS servers * Wed Mar 04 2020 dead_mozayAATTopensuse.org- Update to version v3.6.8~git0.93cc57d75: * Fix a crash from an invalid file loop iterator when the uploaded file was already modified at upload completion. * Fix a crash from an invalid file loop iterator when the uploaded file was already modified at upload completion. * Fix build by specifying ::mega for new function * fix unit testing when ENABLE_LOG_PERFORMANCE * Update version number * megacli: exec_mkdir when making duplicate folder names, choose the last \'/\' to make the leaf name * megacli: allow mkdir to create a folder with an already existing name, if an option to do so is specified, for test purposes * Added Email Verification blocked event and documentation to the bindings * compile time calculation not compiling on mac * Logging to use compile-time calculated source file leaf name * Updated documentation in iOS bindings * Update testmega project to make it work with latest SDK and deps * review: naming, small tidyups * Adjust compiler options for SDK with WebRTC * Add affiliate type contact (Android bindings) * Added affiliate type contact (Obj-C) * Add sanity checks for lastPublicHandleType * Track contact links for affiliate program * use unique_ptr to guarantee ownership of FA data * Prevent creation of folders with same name in same path * Modified two flags in WebRTC build script to match Android and reduce the final size of the library in a 25% * fire account update upon receiving \'ub\' action packet * Check if patch has applied to avoid fail at patch command * Allow to send events to Android and iOS * Added \'sendEvent\' method (Obj-C) * Address warning: overrides a member function but is not marked \'override\' * Use IOS patch for file webrtc jsep.h in Linux * Add INVALID_HANDLE value to Android bindings * Update Android bindings (affiliate types) * Update version * Adapt the Android bindings (app code refactoring) * also update url for android example app * use libsodium 1.0.18 version from github to avoid no longer valid UA from libsodium.org * Added new \'getPaymentId\' and \'submitPurchaseReceipt\' methods (Obj-C) * Update Android bindings: Track the most recently accessed chat link * Refactoring and improve documentation * Add new public interfaces in MegaApi * Modify \'uts\' and \'vpay\' commands to send the last access timestamp and the type of link * Improve script build_with_webrtc.sh, remove flags * Fix type of dbid; Use override for serialize; Fix spelling * review: remove atomic<> * #12549: Binding for the dictionary returned for the user attribute. For instance, this to get the contact aliases of the contacts with key as user handle and value as alias of the user. * review: use unique_ptr * Add \"isPending\" to MEGAShare (Obj-C) * Fix pending shares inclusion in MegaShareList and MegaShare::isPending * Adjust c-ares initialization for Android * Initialize and cleanup c-url and c-ares just once * Fix a memory leak in fetchtimezone_result * Update shares\' bindings and documentation * Fix node unserialize * Update cryptopp for iOS * Added a method to get the string associated to the account type from its ENUM (Obj-C) * Stick to the latest version * Android nickname bindings * Adjust the number of pending uploads and total uploads * update sodium to 1.0.18 stable version * Remove commented code * fix wrong return type * Modify building scripts for mew webRtc version * do always set target handle for new nodes (even if they are a remotecopy) * 13931 iOS transfers change priority * Update libsodium * Fix order natural comparator criteria * avoid truncation warnings on compilers where char is signed * Fixed typo on the MEGAUserChangeTypeCameraUploadsFolder value * Need to only include when chat enabled * add unit test files * add casting * Add serialization test for 32bit * Adjust test for new key * Use a valid key in tests * Add serialization test for 32bit * Add initial serialization test for TextChat * Add serialization test for 32bit * Add initial serialization test for Transfer * Add serialization test for 32bit * Add initial serialization test for User * Fix casting * Add serialization test for 32bit * Add initial serialization test for ChunkMacMap * Add serialization test for 32bit * Add initial serialization test for PendingContactRequest * Add serialization test for 32bit * Add initial MediaProperties serialization test * Add 32bit serialization test * Add initial file serialization test * take ownership * Add 32bit serialization test for AttrMap * Add initial tests for AttrMap serialization * fix formatting * Add 32bit test for Share serialization * Add initial test for Share serialization * megacli: treecompare fsincompatible fix, and deep paths on windows * Adjust libmediainfo port folder, it was one directory too deep * Adjust scripts for cmake based 3rdparty to build libzen and libmediainfo * Build DLLs by default for compatibility with MEGAsync etc * Fix build of android example app * Ignore TYPE_DELETE (megaapi deletion) * Add 32bit unserialize test for filefingerprint * Add unit tests for deserialization from 32bit serialized data * Refactoring and add deviceList * Changed dispatch to avoid N^2 behaviour, and dispatch small files with large ones * Adjust code style * Let the type of created ticket to be among allowed values * Apply suggestions from code review * Updated Objective-C bindings * set handle to 0 before extracting and converting from base64 for public links parsing * remove unrequired statecurrent check (previously set to true) * Fix serialization of LocalNode * Fix serialization of LocalNode * Fix atomic initialization * Refactor sync config for better consistency; improve megacli * Fix for detecing statecurrent correctly with spoonfeeding on * improve syncconfig command * review: added test cases, some comments about temp symmcipher * Add sync config to megacli * add types to createSupportTicket docs * Add integration test option to supply USERAGENT by command line parameter * Also fix SdkTestCloudraidTransfers which was downloading too fast * * megacli: put command -r option to upload folders recursively * Address review: Add more code doc; Revert LocalNode init * Adjust share keys test to cope with server side delays, 500s, -3s. * Modifications for new webRtc version in Android * Ensure both thumbnail & preview are set * Remove sync config from megaapi (until one-way-sync fully impl.) * fix constness of virtual parent method * add convenience clear function in MegaUserAlertList * Update version number * Adjust sanity check * Remove unused Node::mSyncable * Fix unserialize of non-syncable localnodes * Read values with MemAccess * Add 8 bytes for extensions * Avoid to read further than the size of the array * Refactoring flag under LocalNode * #12642: Added user attribute change type camera uploads folder for iOS binding project. * Add sync config to megaapi * Do not serialize syncable flag of Node * Use ENABLE_SYNC for mSyncable; use char instead of int8_t for consistency * avoid assert crash due to missing uploadtoinbox flag in startxfer when resuming transfers from cache * Fix compilation on iOS * Add sync config object * Clean up localnode creation in unit tests * Avoid no-param Sync constructor; Better unit test setup * send standalone target user in \"u\" command when no other \"t\" present * TransferSlot is not a base class * fix build * Adapt tests to work in debug mode on Jenkins * support using uid for inbox uploads & prepare to use it for \"u\" command target * Double ;; * Update binding\'s documentation * Update user\'s attributes Android bindings * Remove full paths for sources in logs (when ENABLE_LOG_PERFORMANCE) * Move LocalNode extension bytes to end of serialization (for backwards compat.) * Use better variable names * Clean up code around syncable de-/serialization * Fix serialization with extension bytes * Ensure syncable is true when reading old nodes * Fix hashCombine unit test * Avoid declaring no-param constructor of Node for unit tests * do not pass empty target array when requesting upload URL (API returns EARGS) * Update user\'s attributes Android bindings * Adjust documentation * minor code suggestion * fix issue that broke folder uploads given the reuse on getParentPath * Adjust name for singup links * Use int8_t to serialize/deserialize the syncable flag * Remove unnecessary explicit init of iterator members * Add implementation of createSupportTicket() * Flag for B64 encoding of message * updates in support uploads * Add syncable flag to Node and LocalNode * Avoid unnecessary fopen/fingerprinting, fix MegaApi_impl shutdown threading issue * Putnodes tctable transaction, megacli logging improvements, factoring. * Define NOMINMAX for Win at build config level * add startUploadForSupport that uploads to support inbox * Send the message of ticket in B64 * Remove delegate parameter for resetCredentialsOfUser * Update doc * Fix compilation error in xcode * Revert \"Fix compilation on Xcode\" * Fix compilation on Xcode * Take returned size of snprintf into account (which may be larger than buf) * Address compiler warnings in logging module * Drop std:: from snprintf to make it compile on Windoof * Switch to using snprintf for performance logging (much safer) * Define NOMINMAX to prevent windows from defining min/max macros * Work around compile error for broken compilers like the one we use for android * WhyAmIBlocked iOS bindings form method without listener. * minor compilation issue in win msvc2015 * Apply suggestions from code review * Fix the build * Add missing MockLogger when not in performance mode * Add tests for logging macros * Add more unit tests for the logging module * Ensure we cannot log nullptr_t * return true for isSyncing when in pending state * fix localroot now a pointer & do not lock mutex if !syncs * #12549: Added user alias change type . * Apply suggestions from code review * Fix bug when logger is null and logging in performance mode * Pass the listener parameter from the megaapi interface to megaapi_impl * WhyAmIBlocked iOS bindings * Add support for `sse` command * Adjust assert for folders before PutNodes * Avoid logout for weak account suspension * Remove target handle assignment in LocalNode initialization * Make public the whyAmIBlocked methods * #12549: The alias parameter is now nullable to reset the existing user alias. * Disable certain test funcionality when sync is disabled * Adjust documentation * Update documentation * Improve documentation * Improve documentation * Fix committer creation in sync dtor * Send to //bin when target becomes invalid * Update EVENT_ACCOUNT_BLOCKED and whyAmIBlocked documentation * Added verify and reset user credentials (Obj-C bindings) * Fix build issues LocalNode access * Check if client exists to avoid SEGFAULT * Update target handle upon startxfer() * Move create committer before pending downloads are stopped * gcc fixups * gcc fixes: some types used were producing warnings * Enable monitoring of auto test logs from visual studio with --CI flag on * add bindings for CU attributes * Fixups after merge * allow passing a listener when setting a proxy * Remove unnecesary leave array from CommandEnumerateQuotaItems::procresult * Fixed warnings in iOS bindings * Manage API EARGS response for `u` command * Revert \"Avoid an empty \'t\' array in putfile command\" * Add target handle upon LocalNode initializations * Avoid an empty \'t\' array in putfile command * Add method resendVerificationEmail (Android bindings) * Address warning: Implicit conversion loses integer precision: \'MEGANodeChangeType\' to \'int\' * Add method resendVerificationEmail (Objective-C binding) * iOS binding for buildPublicLinkForHandle method * Minor adjustments * Add new command \'era\' * iOS bindings * Increase IPHONEOS_DEPLOYMENT_TARGET to 10.0 * Provide nodekeyUnchecked(), and three user node sharing key check SdkTest. * Address review comment: Update code doc * Address review comments: Improved fingerprint crc handling; Direct access of fsidnode via client * review: member name update, explanatory comments * Add comments * list \".\" in ftp server * Simplify changes to fix setCameraUploadFolder() * Allow to build a link from handle+key+type * Fix link without key for old format * Fix the retrieval of public nodes without key * Revert \"Avoid assert(mCurrentTransactionCommiter) failed in checkTransaction by passing commiter to stopxfer\" * review: comments for function declarations, take advantage of default parameters. * #12549: Updated user attribute type for Alias. * Efficient removal of sync transfers from database when a sync is removed. * add missing include * Fix encryptlink() * Adjust size of key for folders * New parser for public links * Add extra arguments to webrtc script * Avoid assert(mCurrentTransactionCommiter) failed in checkTransaction by passing commiter to stopxfer * Set backoff before activate overquota * Remove prolevel adjustment * Allow params embedded in public links * review: fix name typo * review: small code rearrangements, remove unnecessary +0 * review: extra comments, some simplifications * Ensure that members of File are initialized * Ensure bitfields of LocalNode are initialized * pre-review - style changes as requested * #12549: User Alias iOS SDK binding. * Prevent applykeys() taking CPU when all node keys are resolved. * Added build script for the new version of WebRTC * Fix bad iterator increment * Create method removeTransferFile * Add new reason to be blocked * Fix export node result for new file/folder links format. * Remove files from file cache if transfer failed with foreign overquota * Update Android bindings (getUserFromInShare) * getUserFromInShare allows recursvity, to be able to return user passing a node within an inshare * Call transfer_failed with timeleft 0 if foreign storage overquota * Avoid rescan syncs if API fails with overquota * In the soak test, in jenkins, keep starting random downloads for 60 seconds but give 600 seconds for each one to complete. * Adjust prolevel based on type of subscription * Refactor gbStorage and gbTransfer to signed int * Adjustments in `utqa` procresult * Fix `isForeignNode()` * isSyncing to return if any sync is in syncing state * Adjust enumeratequotaitems_result prototype in megacli * review: late fix for typo in client-facing function doco * auto testing: when the soak test fails due to not completing enough runs, show how many it did complete. * review: some code tidying, readability * #10991: Corrected the file name in the comment and fixed the text alignment issue. * #10991: PR comments handled. * Add documentation * Return zero in getGBStorage and getGBTransfer if pricing plan is a business plan * Adjust MegaPricingPrivate to support new pricing plans parameters * Add support to retrieve business pricing plans * Style adjustments * Minor adjustment * Compare a node with all account root nodes to disguise if it\'s foreign or not * do not limit used transfer to max allowance for free user (no max allowance configured) * review: comments, clarifications * Global DND methods added. * fix missing renaming * revert CURLOPT_SOCKOPTFUNCTION callback but only query after disconnection * Adjust comment * Notify apps foreign overquota * Remove files with foreign targets after notify apps * Don\'t make transfer fail if there\'s a bandwidth overquota * Fix wrong management of foreign overquota error * Address some warnings * performance improvement: don\'t create and destroy a SymmCipher on every call, which can be very frequent * Add another unit test * Empty folders cannot be handled * Change LightFileFingerprint order preference to be consistent with FileFingerprint * Improve performance for c-ares and c-url usage * Add dedicated light file fingerprint * review: simplified some syntax, undid some unnecessary scoping that was introduced in the PR * For putnodes, applykeys() just for those new nodes as we go. * fix compilation when HAVE_LIBUV * Adjust contact-link query to use B64 * Remove fsid-based caching of fingerprints (genfingerprint now fast enough) * Transfer and TransferSlot backoff timer efficency. * Compute light-weight fingerprint for localnodes * Use light-weight fingerprint to assign fs IDs * add_sort_by_type 1. add ORDER_PHOTO_ASC, ORDER_PHOTO_DESC, ORDER_VIDEO_ASC, ORDER_VIDEO_DESC in MegaApiJava to reference corresponding sort order added in MegaApi. * Determine if fp changed for lightweight calculation * Remove OrderType entirely; named enums (even via typedef) don\'t work nicely in SWIG and it\'s too time consuming to try to change that. * Add light-weight fingerprint gen. method * adjust the new OrderType name to be a typedef to satisfy the Java generator * Adjust nodes sorting * Faster WinWaiter::wait(). * Must use mtime in hash combine * review: call fa.reset() in a few places where we used to manually delete, in case of issues with a handle remaining open * No need to continue without any cached localnodes * Fix node sorting test * review: add some tests for the new sort order enum values * Need order of std::set when collecting paths * Fix unit tests * Retain mtime for folders * Remove boolaplha and hex as they are sticky * Temporarily disable fsid assign until working properly * Only assert with a valid file access * review: one-past-end enum value not needed * review: adjust switch, put adjusted functions in better order for whole PR compare * review: adjust switch for future warnings & assert on missed case entries, while allowing for various compilers. * megacli can now use std::filesystem on mac * review: use references for MegaClient, only need nodeIsMedia at this point, commenting * Improve assign fs ID performance * Fix newfileaccess usage for posix platforms * Adjust node compare conditions * Condider ORDER_ALPHABETICAL_ASC and ORDER_ALPHABETICAL_DESC as deprecated * Revert \"Adjustments in node sorting\" * Adjustments in node sorting * Converted newfileaccess() to return a unique_ptr to get compiler support for making sure we always delete the object. * Fix fingerprint caching to imrpove runtime * Decrease fs ID assignment runtime by fingerprint caching * Adjust prototypes for nodeNaturalComparatorASC/DESC * Fix node sorting for folders * Use pre-allocated buffer for node path * Use a pre-allocated buffer for the path score * Fix order for photos first * Add sorting options for media folders, which put photos or videos first. * Improve runtime when assign fs IDs * Lower runtime + memory when assigning fs IDs * do not attempt to sysclose a non opened file * Restore support for UTF8 encoded records in TLV * Revert \"Avoid to break processing of queued transfers\" * review: just one bool to control frawread openf() closef() calls * Avoid setting sticky bits on io streams * Clarified the use of fopen(), openf(), etc. * Adjust sync unit tests * Never assign fs ID to the root localnode * improve code doc * Avoid to break processing of queued transfers * Refactoring * assure no fd are left open by PosixFileAccess * Update documentation and methods to get account details (Android bindings) * Fix typo at `deferrequests` * Truly using the best path to assign fs IDs * Optional code timings enabled by MEGA_MEASURE_CODE * Open files just once during fingerprinting. * No need to restrict hashCombine to integral values * Defer cache clearing until out of the CS response processing on logout, to avoid dangling pointers etc. * Syncdown required only if not business error * Update comments * DB committer: support nesting, found one needed place via asserts. * Ensure input to hashCombine is always integral * Add unit tests for fsid handling; Changes to enable unit testing * Allow for null tctable before login in intermediate layer * #10991: Allow mute unmute chats individually feature iOS SDK bindings. * Add auto transaction management to SQLite wrapper class * Remove stale comment * Not following/supporting symlinks when assigining fs IDs * #13043: We don\'t need to check for nil as invoking a method on nil returns nil already (PR comment handled). * Update comment * #12517: PR comment handled. * MegaApiLock review changes * When operating on several or many transactions, commit to the db just once for the batch. * Enable SDK clients to lock the sdkMutex for performance reasons * cmake fixes for mac * Some cmake fixes * #13043: iOS binding for `startUploadForChat` method. * Fix encoding upon `upv` when ua does not exist * Do not send outdated/invalid ua version in `upv` * Change position of pointer symbol (refactoring) * Fix test logging when in log performance mode * use lstat to get link info and allow compilation for systems without O_PATH * Avoid block of write when the pipe is full * python: Fix steps for configuring the project * Add `override` to virtual methods * Revert \"Add method to remove a handle from MegaHandleList\" * Adjust prototype of `startUploadForChat()` * Add method to remove a handle from MegaHandleList * Update string for EMASTERONLY error. * Send array with target handles at `u` * add tests that checks link replaced by syncdown * Prepare for `v:1` of `upr` returning new version * Remove cached attribute if `uga` returns `ENOENT` * Remove obsolete code * Clear queues of requests upon logout * Business accounts Android bindings update * Fix compilation issues + decryption of cached ua * Fix overwrite of existing ua instead of update/merge * update PKGBUILD for pdfium build * minor renaming after revision * Several corrections from review * New convinience methods for atob/btoa * Revert \"Don\'t call getua for TYPE_SET_ATTR_USER if attr doesn\'t exists or it\'s invalid\" * Update doc * Adjust assert * Limit the used transfer quota to the maximum * Adjust `megacli`s free IP-based quota output * Add documentation and fix `tuo`<->`tuo` * The compilation fails using Xcode when build it for release * add MEGAAchievementAddPhone achievement enum * Better naming of local variables * add some tests related to symlinks * Update version number * have mFollowSymlinks passed in newfileaccess instantiator * Minor adjustments in getua_result * Adjustments in getua_result * Don\'t call getua for TYPE_SET_ATTR_USER if attr doesn\'t exists or it\'s invalid * Store values encoded in Base64 in MegaStringMap * More refactoring * Check link format when not logged in (Android bindings) * add getTransferUsed with the sum of of own+shared+free * More refactoring * Minor adjustments * return 3rd party shared quota used * Fix getEventString() * Updated Objective-C bindings * Refactor getGlobalFlags -> getMiscFlags * Address compile error from previous commit * Remove any changes that were made for unit testing * improvements in symlinks * Implicit conversion loses integer precision: \'MEGASortOrderType\' to \'int\' * Update doc * Ability to request global flags from apps * Missing reset of global flags for new link upon logout * Revamping to parse global flags * Update tests/integration/SdkTest_test.cpp * Smaller downloads for Soak test * fopen from sync: return stat info for symlinks, instead of the linked target * Code refactoring * prevent fopen from following symbolic links * Added `nullable` to some properties and methods and removed wrong comments * Added nullable from methods that can return nil * Decode CU target folder from B64 before set attribute to avoid double B64 encoding * Updated Objective-C bindings * Add methods to set and retrieve camera uploads folder in MegaApi * Manage camera uploads folder attribute in set/get attribute * Updated Objective-C bindings * Add versioning to camera uploads folder attribute * Add missing std:: * Prefer bulk copies for char * for now * Make log performance mode a compile time decision * Use is_scalar to switch between operator<< overloads * Improve efficiency of logging c-strings * build fixes for MSVC * New event to notify user flags availability/update * Move endif to be able to compile some functions without ENABLE_CHAT * Avoid including brotli in libcurl * limit the end of a requested range to the total size of a file for HTTP streaming * Add default ctors as protected in classes that use the private one to construct the instance * Avoid to process internal requests at MegaApi * Fix MegaStringMap construction * Trigger authentication of contact keys upon load authrings... * Fix build on windows * Only need to check for valid logger when outputting to it * Only lock at api level if not in performance mode * Use log performance mode in megacli * Add toggle for log performance mode to megaapi * Reduce buffer to a more reasonable size * Change the way to detect whether is video path * Do not track keys of non-contacts * Avoid access to invalid user * Fix compilation, \"getMyFingerprint\" doesn\'t exist in intermediate layer * Remove obsolete bindings * Fix documentation * Add performance mode to SimpleLogger * Code improvements related to static imports * use of unique_ptr to clarify code * Add boolean flag in transfer to determine if overquota is local or not * Improve CommandPutFile target management * Remove unnecessary comment * Android logger improvements * Protect poping transfer/request queues within sdk lock * Remove unnecessary method and improve media file detection * Improve documentation and change the name of a method * do not require tag != to cancel transfers * Minor adjustment in str_to_a32 * review: added asserts to check some assumptions in json parsing * Do not attempt to cancel transfer when non initiated * Force a new file upload if thumbnail or preview are missing Add new method to force upload new file if node is duplicated and thumbnail or preview are missing * Fix json parsing for type-only empty actionpackets * Fix for camera folder user attribute - versioning was not known, and atob was not setting the handle\'s high bytes * Revert \"Tests for XXTEA\" * Minor adjustments in a32_to_str and str_to_a32 * Remove fields from DownloadController that have been moved to RecursiveOperation, same as UploadController. Small fix for vcpkg freeimage dependency in CMakeLists * Add documentation * MegaCancelToken Android bindings and delete cancelSearch() invalid method * Clear transfer queue upon logout * Revert \"For upload/download folders, manage the lifetime of sub-transfers that are still queued when the operation is cancelled.\" * Add `t` parameter to `u` command * For upload/download folders, manage the lifetime of sub-transfers that are still queued when the operation is cancelled. There was a crash when the sub-transfer\'s listener was accessed, but the listener was the top level folder transfer, which had been deleted already. Also a fix for taking a pointer to a temporary, and adjust libs for freeimage in cmake and vcpkg. * Notify apps about key/signature modifications * do not assume STORAGE_GREEN at startup * Remove double initialization * Final adjustments to MegaFolderXXXControllers * Reset business flags in MegaClient ctor and locallogout instead of init, to avoid wrong initializations and event notifications * Unify the behavior of folder upload/download controllers * Add tests titles to logs to ease debugging * Fix race condition at SdkTest RecursiveUploadWithLogout * Fix completion of Folder Upload * Add support for new link format when password-protected * Change int by nodetype_t as parameter type at method getPublicLink * Format code * Fix check FILENODE type * Fix permissions and other minor issues * Fix issues with new filesystem partition layout of macOS 10.15 * Fix comments after review * Adapt MegaClient::pasrseFolderlink and MegaClient::openFileLink to new link format * Obj-C bindings for sort-shares feature. * Add new format link to megacli and refactoring * add smsVerifiedPhoneNumber method to get the verified phone number to MEGASdk binding project * Move parsing of `nfle` into `flags` section * Avoid to use a static member for flag `nlfe` * Remove nullable from methods that can\'t return nil * Generate links with new format * Add missing init to zero * Fix de-serialization of the plink\'s node handle * Remove forEach as it\'s unrelated to fsid handling; Remove unnecessary whitespace changes * Use more explicit, possibly more readable initialization * crc is now a std::array (fix for Win build) * Move copy semantics to a better reviewable spot * Use forEach to loop across tuple * Add missing copyright statement * sdk build fix, for alias functions without chat enabled * Adjust ownership of authring at track key/signature * Allow to verify credentials when not tracked * Initialize authrings for all contacts atomically * Use FileFingerprint to represent folders (as opposed to inaccurate hash) * Assert that we dont self-assign a file fingerprint * local2name should not be virtual * Add missing return in unit tests * frawread does not have to be virtual for unit tests * Enumeration value \'ATTR_ALIAS\' not handled in switch * Minor fix from review * Replace vector*> by node_vector * Refactor sortNodes and lowerBounNodes * Replace vector*> by node_vector * Update src/commands.cpp * Refactor methods that call to lower_bound * Modify MegaApi interface to allow sort shares (outshares, inshares and public links) * Avoid onRequestFinish upon ENOENT * Allow empty private attributes * Simplify getHash of FileFingerprint class; Only keep forEach for std::tuple * Move str_to_a32 and a32_to_str definitions to header * Address precision warnings * Business account, update documentation (Obj-C) * Avoid to iterate through children nodes in first level after cancel * Add MEGACancelToken and new \"search\" method (Obj-C) * Refactor megaclient str_to_a32 to utf8_to_a32forjs * Check if call is cancelled before lock the mutex * Add a32_to_str and str_to_a32 to mega::Utils * Use SdkMutexGuard * Constness and declaration order * Fix compilation issue reported by Jenkins * Protect against invalid `MegaCancelToken` * New cancellable `search()` methods * Add MegaCancelToken * Use `loggedinfolderlink()` where suitable * Add more unit tests * Local debris not synced and no localnodes for it * Ensure multibyte separators are supported * Improve dealing with debris folder * Revert \"Ensure we assign correct fs IDs to everything under debris\" * Ensure we assign correct fs IDs to everything under debris * Fix unit tests for 32bit builds * Add new unit test module * Add best score match on preferred path to improve fs ID assignment * Improve file handling; Simplify fs id assign * Define Fingerprint class for better semantics * Fix retrieval of pubEd255 key * Code style * Add ability to assign fs IDs to folder localnodes * Several minor fixes * Allow to remove an alias * Ensure we only scan folders (avoids file handle leak) * Cancel search (Obj-C) * Android bindings * Allow to cancel ongoing searches * Ensure assigning fs IDs only requires one file open at a time * Add a unit test for when a folder was moved * Adjust xxtea Encrypt/Decrypt for reactions * Remove local node from map that we\'ve assigned to already * Need to not assign fs IDs to files in debris * Ensure that preferred path matches are final * Address windows compiler warnings * Use NDEBUG to test whether assert is disabled * Add more unit tests * Improve logging messages * Add test for assertion case * Default fields in sync and node classes * Add logging info around getting the filesystem type * Fix test build on windows * Add new test files to QMake and autotools * Add unit tests for FileFingerprint * Assign fs IDs to ALL files in a sync, also in debirs * Add unit test coverage report to cmake/gcc * Make assigning fs IDs for efficient * Add initial unit tests for assigning fs IDs when filesystem is unstable * Refactoring for simplier code * Select the right attribute type at initializeAuthring() * Add missing \'else\' keyword * Refactoring some interfaces * Initialize authrings upon resumption from cache * Complete interface to resetCredentials() * Fixes to intermediate layer * Clear previous data upon new authring is set * Public interfaces to verify and reset credentials * Wait for response before update authrings locally * Add more logging * Ensure we don\'t copy Cachable when copying FileFingerprint * Revamping code for AuthRing class * Remove incorrect comment * Improve the assignment of fs IDs * Assigning fs IDs from initial tree walk if fs IDs are unstable * Remove obsolete fingerprint generation * Public interface to get users\' fingerprints * Verification of signing keys * Hex fingerprint for signing key * Simplify WINDOWS_PHONE check for new fs function on Win * Look up local node by fingerprint when fs IDs are unstable * Nullability in MEGASdk.h * Skip `seen` for signed keys * Track signatures of Cu25519 and RSA public keys * Turn EdDSA::verifyKey() into static method * Adjust tracking for RSA public keys * Add tracking of public RSA keys * Fix the update of authring for Cu25519 public keys * Put user attribute with version * Fix retrieval of authring from cached value * Adjustments to trackKey() * Add new method to track keys in authring * Manage Ed25519 & Cu25519 keys even with chat disabled * Avoid finish request until putua has not been finished * Fix stack-use-after-scope bug * Avoid `using` directive in header file * Patch TLV with invalid record * Update authring upon fetch public key for contacts * Fetch authrings and re-fetch upon changes * Compute fingerprint of keys * Annotate delegate regions as Nonnullable * Fix build for mac * Implement fsstablids on mac * Adjust printout for key\'s authentication * Remove unnecesary return and code refactoring * Implement fsstableids for windows * Only perform additional fingerprint check for filesystems with unstable fs IDs * Fix make alias attr as changed * Tests for XXTEA * Decoding authring * Add authRSA and authCu255 attributes * Store uh and alias in request members in setUserAlias * Adjust condition and update documentation * Minor adjustments * Minor adjustments * Adjust code style * Use new B64 encoding method * Store uh in binary in a request param and adjust documentation * Remove unnecesary getter * Adjust documentation * Improve localnode handling when fsid changes * Return API_EACCESS when the attr doesn\'t contains the alias for an specific user * Return alias encoded in B64 and add documentation * Adjust alias attr format * Process requested alias attr in getua_result * Adjust conditions on getua_result to return * Create alias attr on getua_result if API response -9 * get alias attr before update it. * Add support for aliases * Fix build issues of MEGASimplesync on macOS * Wed Sep 18 2019 dead_mozayAATTopensuse.org- Update to version v3.6.2a~git0.74aca8f2: * Fix de-serialization of the plink\'s node handle * Fix unserialize for transfers of public nodes * Thu Aug 29 2019 dead_mozayAATTopensuse.org- Update to version v3.6.2~git0.3fc9f58b: * move serialization of chunkmac_map to utils * Missing refactoring * Refactoring `actinguser` --> `originatingUser` * fix: use macro for \'ou\' * Prevent useralerts for files added by others (via share) but deleted by this user in another client. * review: updated atomic init for older compilers * Update tests/integration/SdkTest_test.h * from review: take unique_ptr argument for compiler tracked ownership clarity * Improve documentation * Fix business status * atomic for items accessed from multiple threads * Also fix the download controller to avoid double delete * Fix business accounts initialization * Add a test for double delete during folder upload * Fix for double delete when logging out during folder upload * Just one call to get node key string size in CR cases. * Ensure Objective-C++ speaks C++11 * Style refactoring * name update * review: const, comment. Also count versions * Honor the requested params * Obj-C bindings * Only sum the user\'s own nodes locally for total storage. * Merge branch \'develop\' into feature#11335-sms-verification * remove the MegaApi::strdup method as the C char array will be copied when to construct NSString * iOS Bindings * Fix logging for integration tests * Update bindings/ios/MEGARequest.mm * Update bindings/ios/MEGARequest.mm * Fix megacli compilation * test_sdk: avoid running tests in release that need debug hooks * review: variable could be const * Update bindings/ios/MEGASdk.h * The virtual keyword is useless in combination with override. * Remove virtual * minor code clean * Address some warnigs * megacli: add a function to help check the raw attributes of a node * pdfium: log whether loaded, fix mutex syntax * Avoid loading Pdfium on XP, thread-safe one time statics init * Load pdfium dynamically * Update version number * Fix options for signup in megacli * review: code style * Fix a couple of issues - iterator test should have been next_it != end() in both loops * fix the memory leak issue when to convert the MegaStringListMap * Rename manual test tools * update from review: clearer naming * Adjustment for backwards compatibility * Update verified phone number upon verification succeed * update from review: clearer naming, uncommented \'override\' * Fix path for tcprelay * Rename test files * Adjust qt pro files for new test structure * Rename test targets * Adjust cmake config for new test structure * Fix for endless loop when closing a transfer with data left to write, and the write fails * Restructure tests and adjust autoconf * added ability to send SMS verification and check SMS verification code to iOS binding project * Adjust names to matching naming convention * Use unique_ptr to protect from potential early-returns/exceptions/use-after-free * Fix access to invalid memory * Fix memory leak * Revert \"Change MegaStringListMap keys to std::string\" * Uploads were resetting back to 0 progress much more easily than they used to. * fix a broken build problem for iOS binding project in code merge * Test for getMimeType() was moved to megaapi_test.cpp * Create functions in `MegaClient` to smsverify * Added support for API_EBLOCKED on donwload context * Add missing notification to waiter * Refactoring to match code-style * Change MegaStringListMap keys to std::string * Adjust names of new requests * Adjust code style * Add the implementation for business status (Obj-C) * Fix compilation of test `getMimeType` on QtCreator * Adjust documentation * Move function declarations to header file * Add documentation for EVENT_STORAGE_SUM_CHANGED * review update: slight enum name change, also noticed tabs had crept into one file * Update examples/megacli.cpp * Update examples/megacli.cpp * Update src/megaapi_impl.cpp * Update include/megaapi.h * Notify detected changes in business status * Refactoring for code-style compliance * Adjust sanity checkups to Node::unserialize() * Take care of hasLinkCreationTs Byte in node unserialize * Fix typo * Add error contexts (Obj-C) * copy the string list map to make it lives outside the lifecycle of the containing MegaRequest * small bug fix - thank you sdk_test.cpp! * megacli: additional member name change per new convention * Adjust names per new convention; added storage sum updated event. * Change member names to meet coding standard * Updated Objective-C bindings * Reset stopsc at init() * update CMakeLists to try checking the build on WSL * Added intermediate layer getCloudStorageUsed() * Stop sc requests upon error * Fix compilation issue * Avoid possible double close of documents * Code styling * add a new upload context and offer a new message for API_ECIRCULAR in that context * Keep a running sum of the size of all the files in the cloud nodes. * smss/smsv review: added error code documentation * Ensure we parse the json to the end in both success and error cases * smss/smsv review: added enum and expanded documentation * Add more API doc and fix some spacing * Support for business accounts (Android bindings) * Adjust type of flag for serialize * Preserve creation ts in public link copy ctor * Init public link with a temp creation ts * Update version number * Add support for creation ts in node de/serialization * Do not use `cout` in GTests, but logger * Add support for public-links creation-timestamp * Support for business accounts (Obj-C) * Updated Objective-C bindings * Better handling of platform specific libs * Remove VCPKG dirs for non-win builds * Fix cmake build for mac * The android cross compiler needs the 2-parameter form of static assert. * Improve parsing of `smsv` * Missing re-initialization of phone number upon logout * Code style * fix comparison between enum & attr_t * Adjust documentation and some warnings * Objective-C bindings for getRegisteredContacts * Fix minor documentation issues * no need for get -re to depend on std::filesystem * lambda adjustment for CI compiler * also solve warning-as-error issue in CI build * use catchup() instead of waiting some arbitrary time. * include needed for some platforms * Fix missing break at switch * Fix memory leaks * SDK test adjustments after CU2 merge * Resolve headers, mutex, warnings after merge * integrate calling code request to iOS binding project * Adjust loop iterator * Address some warnings * Slightly incorrect testing of USE_FILESYSTEM * Fixed a build error in the android CI build. * from review: fix c++11 syntax * small updates from review * Removed wrong castings * Don\'t delay windows explorer if the SDK mutex is locked. * switch MUTEX_CLASS to std::mutex and std::recursive_mutex * Get public link information (Android bindings) * Store B64 key instead of binary key in MegaRequest * Get public link information (Obj-C) * recents test: show node time also * recents test: print bucket parameters * Different timestamps were needed to get the testable order right. * Minor fix * Reset timestamps for non-business accounts * Refactoring * Use enumerations for mode & status of business accounts * Force to refresh business status * Improve parsing of `b.sts` * Fix business status at `getBusinessStatus()` * Avoid copy of folderkey to string * Support for folder-link-info in megacli * Adjust numchars to skip to obtain nodekey from API. * Parse sts array in `ug` response * Minor adjustments from review * Adjust documentation * Add a test for the Recents fix * Only one shot for DNS servers in iOS at reconnect * Avoid to block the SDK undefinited in iOS * Remove obsolete Android bindings * fix for recents showing versions * Address override warnings * Cancel create account (Obj-C) * Do not cancel pending actions * add java binding for cancelCreateAccount() * small fix after merging `develop` * Avoid infinite loop in case of nullptr * Adjust documentation * Move parse node attributes to a static method * Add cancel signup to megacli * Fix datatype in callback * Ability to cancel signup link * Enforce override for virtual methods * Remove obsolete user if for XMMP * Init atob destination ph to zeros * Refactor variable * Specify KEYLENGTH to convert key into binary * Initialize handles to zero to avoid errors with btoa * updates from review * update windows megafs.h changed function signature for override * Fix no-filesystem builds of megacli * Factor calculation of progress from chunkmap * Fix .pro for new Test getMimeType() * Tweak build script for macOS systems * megacli: adjustments for linux builds * Refactor megacli to use autocomplete * add java binding for getUserEmail() * return non-NULL for adjustsizeonly success case of MegaApi::encryptFile. * Remove virtual from override methods * escape/unescape \"..\" & \".\" * Address warning: variable \'request\' may be uninitialized when used here * Fix compilation error * Mark with the override keyword overriding virtual functions * Skip some commands at fetchnodes for public folder links * Minor fixes * Updated unshareable key name, so it can only be set once * Update strings for being blocked * Don\'t overwrite masterkey with folderkey * Fix decryption of attrs in `pli` response * replace std::string with char * for all the data types in iOS binding project * Background upload operations to avoid using std::string * Minor adjustments * Add support for `pli` command in SDK * do not link with libstdc++fs in old compilers * fix for unshareable key on startup * Switch from \'uu\' to \'unshare/\' technique for recognising unshareable coords. * Code review changes: use double for coordinates rather than NSNumber object * Adjust format for MegaApi documentation * Move integrity checks for business account * make the lat and long nullable to accommodate the INVALID_COORDINATE constant * update the binding project for new SDK API changes * use TLS v 1 to allow libraw download in build_sdk.sh * Adjust documentation * Optionally attach GPS coords and preview/thumb at putnodes time for background uploads * Update documentation * Avoid to send extra `ug` * Adjust master status from APs * Update master status upon `ub` AP * Remove unnecessary variable * Make the comment style consistent by ending with periods. * Code review changes: remove the c_str() check as it will never be NULL * update the backgroundMediaUploadComplete method call for the new parameters. For now, we pass INVALID_HANDLE thumbnail and preview. * convert the binary token to base64 for put node according to the new SDK changes * Adjust strings for being blocked * Add option to set thumbnail and preview on the first putnodes, instead of attaching after the node is already created * update iOS binding project to accommodate SDK code review changes * Adjust documentation * Add new reasons for being blocked * Add documentation related to API_EMASTERONLY err_code * review: tidy minor items * review: string as return rather than output parameter * Minor fixes * Refactorize `EncryptFilePieceByChunks` * Refactoring * Change new callback onMediaDetectionAvailable() to onEvent() * from review: Normal createInstance(), serialize(), unserialize(). * Adjust MediaProperties::isIdentified() for default-constructed object * Handle transfer upon errcode -28 received * Refactoring `Http` * Avoid to search nodes by original fingerprint among versions * Refactor name of user-attribute * Improve readability of `MediaProperties` * Reset to default `unshareablekey` upon logout * Adjust error-code for validity check * Add err_code API_EBUSINESSPASTDUE to documentation * fixes after merging develop * updates from review * exta spaces * have the extra space * have some explanation * fix the bridge * Add new tests and adjust warnings in .pro files * Fix request TYPE_COMPLETE_BACKGROUND_UPLOAD * Protect against unexpected JSON from API at `\"u\"` * Documentation adjustments * Manage err_code API_EBUSINESSPASTDUE in API commands response * Update business flags on `ub` actionpacket processing * Apply suggestions from code review * Add new method \'getKeys\' to MegaStringListMap * Fix `ub` processing * Add support to process `ub`actionpacket * Fix compile error when building against the NDK version of libc++ * Check if mediainfo is populated, rather than by file extension * Create bridge methods * Fix todo description in integration tests * fix build issues after merge * Sort command response in integration test * Fix up code doc * Fix up code doc * Copy response objects into unique_ptrs * Set error to API_EARGS if string map not provided * Remove megaapi dependency from commands * Ensure that StringLists are not copied by StringListMap and StringTable * Revert changes to MegaStringList but keep const-correctness * Add missing code doc * Fix build of megaapi unit tests * Add header files to cmake build * Skip integration tests for new commands until API cmd is ready * Fix error conditions for new commands * Add code doc for new commands * Add integration tests for new commands * Implement megaapi command result handlers * Add MegaStringListMap and MegaStringTable to megaapi * Background photo upload: check extension before encoding media properties attributes * Request \"TYPE_COMPLETE_BACKGROUND_UPLOAD\" are logged as \"UNKNOWN\" * Add unit tests for new commands * Remove unused variable * Enumeration value \'ATTR_UNSHAREABLE_ATTR\' not handled in switch * Add initial command implementations for registered contacts and calling codes * background photo upload: check extension before generating mediainfo * use NSInteger type for AccountSuspensionType enum * fix a merge issue in arranging import headers in MEGASdk.mm * add AccountSuspensionType enum to represent different account suspensions * integrate smsAllowedState to iOS Binding MEGASdk * Added \"gmf\" command, sent separately and without SID * Fix: notify user alert acknowledge * Send \"ug\" in a separate command batch so we can get the smsve flag when the account is blocked * assert.h was not available in some platforms * test_sdk: build fix after merge (plus fix some warnings) * Include raid.cpp and raid.h into iOS binding project * Add 500 code info to whyAmIBlocked() comment * integrate test allocation call to MEGASdk binding project * Added MegaApiImpl::testAllocation * right-size the attribute string * right-size the attribute string * fix the invalid image source issue by converting the raw image data to a JPEG image data * fix an out of memory crash on some devices by removing the intermediate CGDataProviderRef which loads all the data to memory. * megacli: \'get\' files whose names match a regular expression * manually merge playtime serialization to the branch * fix: skip looking up codec IDs for putnodes * fix for variation in serialization of c-strings * remove extra spaces in comments * Support for megaclc background upload commands * fix a potential crash if fingerprint value is NULL * revert last commit (wrong branch) * java bindings for SMS functions * Java bindings for SMS functions * megacli: fix output from \'mediainfo calc\' commmand * megacli: avoid logout when blocked for sms verification * Proper serialization of MegaBackgroundMediaUploadPrivate * fix bug in getting local file path * request refactoring; support account unblocking via sms * map onMediaDetectionAvailable to iOS binding project * Add phone achievement has ID 9 * added enum value MEGA_ACHIEVEMENT_ADD_PHONE = 6 * add analyseMediaInfoForFileAtPath: method for MEGABackgroundMediaUpload * Use \'ug\' to refetch the updated verified phone number when it might have changed * Added verified phone number retrieval * correct \'c\' code for the sms check command * smsAllowedState() function * return the \'smsve\' flag from \'ug\' * Remove any trailing spaces in megaapi.h * Code review changes * add comments to the iOS binding project changes * Fix sms verification bad parameter local detection * SMS validation code commands * use *usk for the unshareable key user attribute name * remove diagnostic logging * fix for test case - due to sizeof() with a different alignment * more logging for test case * extra logging for test failure * Add some logging to determine test case failure on build server * better fix for older compiler * older compiler fix * added bindings for background upload features for android * merge fix * Support for uploading photos/videos via iOS background upload * Thu Jul 04 2019 dead_mozayAATTopensuse.org- Update to version v3.5.3b~git0.17a9d239: * update curl to 7.59.0 in build_sdk.sh * Update version * Protect LocalNode methods against possiblity of sync member being null * Remove uneeded variable and loop * address warnings * also use API 21 in build_android32.sh * update android API * Use llvm-libc++ stl when cross-compiling * fixes to have cryptopp 8.0.0 built for android * recents crash: do append the \'.\', but leave enough space in the buffer to do so. * fixes for cross compiling cryptopp 8.0.0 for android via build_sdk.sh * Fix crash in is media (recents) * Fix memory leak * review: constness, nullptr, more test cases, and test parameters that reliably broke the old one * Recents Android bindings * Prevent log messages too long * getMimeType fix review: updated with c++11 init, and test case * Thread safety when multiple threads call getMimeType when it hasn\'t been called before. * Upgrade cryptopp to 8.0.0 on Linux/Mac/iOS to be in line with Windows/Android * Fix compilation issue for IOS IOS can\'t make a direct conversion from time_t to m_time_t * Use same logging as in megacli * Use locallogout where appropriate for a given test * Adjust timezone for schedule calculations * Fix ischatEnabled() * Adjust generation of JSON * Improve build PushNotificationSettings object from json * Fix PushNotificationSettings json format * Update documentation * Adjust wrong condition and adjust comments * Refine documentation * Disable always-notify when disabled chat (+add doc) * Adjustements to calculate start day for push restrictions * Revamping of JSON generation for notification settings * Add integrity checkups for JSON notification settings * Adjust constness of new public method * Skip duplicated initialization of class members * Revamping of `isScheduleNotifiable()` * Warning about timezones not available * Simplify some functions * MegaRequest to keep ownership of MegaTimeZoneDetails * Minor fixes & adjustments * Use override for virtual methods * Merge branch \'develop\' into feature/push-notification-restrictions * Fix memory leaks * Remove functions from c++11 * Improve json generation and other minimal changes * Minor changes at documentation * Improve checker for schedule notification * Fix typo - isChatNotificable => isChatNotifiable * Change logic to determinate if notifications are enabled * Minor changes managing time zones at notification settings * Fix some issues with the checkings of notification restrictions * Fix compilation error * Add new push notification restriction for all chats * Generate and parse user attribute and determine if notification is necessary * Add function getname to json parser * Maintain timezones and notification-settings at MegaApiImpl * Include type of attribute in getua_result() * Add more setter for notification settings * Setters for global notification settings * Add requests to get/set notification settings * Class MegaPushNotificationSettings * Refactoring * Add new user attribute to save notifications restrictions * Fri Jun 21 2019 dead_mozayAATTopensuse.org- Update to version v3.5.3~git7.282da4e2: * add default source for megaclient getaccountdetails to fix megacli compilation * Fix Windows Phone and UWP compilation * add missing corrections after swapping source & listener in getAccountDetails * swaped param orders and added docs to getSpecificAccountDetails * Send the request reason with `uq` * Update version * Comment out example code that doesn\'t compile * Add gtest to non-vcpgk windows build
|
|
|