Commit Graph

  • 17c0b74da1
    Fix parse_url returning string. master voussoir 2022-06-03 18:54:15 -0700
  • d208e5697b
    Use voussoirkit.progressbars. voussoir 2022-06-03 18:52:38 -0700
  • 6f130af1cc
    Some linting. voussoir 2022-05-07 19:29:38 -0700
  • f76fef06b8
    Raise TypeError instead of allowing default none return. voussoir 2022-01-10 17:55:41 -0800
  • 9d69e8ce8c
    Fix call to _process_file, still had self.shared_keys. voussoir 2022-01-10 17:55:12 -0800
  • c4d5064bfa
    A few whitespace adjustments. voussoir 2021-12-07 12:38:28 -0800
  • bd61afd24d
    Replace many logger.info with debug. voussoir 2021-09-22 18:17:14 -0700
  • 15879bc78c
    Put Richard's github link back into the readme. voussoir 2021-09-22 15:52:49 -0700
  • 936c392d58
    Add account registration. voussoir 2021-09-22 15:48:21 -0700
  • 9bc2c8f79f
    Alphabetize imports. voussoir 2021-09-22 11:23:15 -0700
  • 2b157d6931
    Make all three modules available from package init. voussoir 2021-09-22 11:19:39 -0700
  • 0203246582
    Let ValidationError, RequestError have a common MegaError parent. voussoir 2021-09-22 11:17:59 -0700
  • 57b7b08101
    Add tenacity retry for JSONDecodeError. voussoir 2021-08-31 02:30:53 -0700
  • 78cb1706ed
    Warn when a file's attributes did not decrypt properly. voussoir 2021-08-31 01:30:10 -0700
  • 46ce080a7f
    Fix export_files response of only one file. voussoir 2021-08-31 01:29:38 -0700
  • 3507b72eb5 Add RequestDraft which allows for batching of arbitrary API calls. voussoir 2020-12-23 20:16:07 -0800
  • 91fb75567c Remove unused options. Ethan Dalool 2020-11-12 15:04:22 -0800
  • e3cc36f028 Rename this public_handle -> file_id Ethan Dalool 2020-11-12 04:16:17 -0800
  • d0cd38e5c5 Rewrite get_transfer_quota. Ethan Dalool 2020-11-12 03:56:27 -0800
  • c39094a8df Clarify these docstrings regarding file id vs. public handle. Ethan Dalool 2020-11-12 03:51:07 -0800
  • 19e3579da3 Use cached trash id instead of NODE_TYPE_TRASH which calls api. Ethan Dalool 2020-11-12 00:40:16 -0800
  • 572ce2d627 Don't fetch trash node id until needed. Ethan Dalool 2020-11-11 21:58:34 -0800
  • 40644921dc Reuse this key list instead of creating a new one each loop. Ethan Dalool 2020-11-11 21:41:05 -0800
  • ce789e105e Fix backwards cstrg, mstrg. Add 'used'. Ethan Dalool 2020-11-11 21:36:27 -0800
  • d10af70992 Use requests.Session. Ethan Dalool 2020-11-11 21:34:53 -0800
  • 97d1467210 Add errors.EPAYWALL. Ethan Dalool 2020-11-05 16:34:08 -0800
  • 3fa60a3e3e Fix typo "weblient". Ethan Dalool 2020-10-25 20:17:24 -0700
  • 75c746f981 Rename cached _files to _nodes. Ethan Dalool 2020-10-01 12:09:53 -0700
  • 35f5cb9fe7 Return total and remaining from get_quota, don't convert to mb. Ethan Dalool 2020-10-01 12:09:32 -0700
  • 66c0c8f179 Return exported urls as dict of {id: url}. Ethan Dalool 2020-10-01 12:09:02 -0700
  • 400701f50d Dedent by raising early. Ethan Dalool 2020-10-01 11:27:31 -0700
  • 5609db3482 Allow exporting multiple files at once via batch request. Ethan Dalool 2020-10-01 11:26:31 -0700
  • 9492be4899 Cache the result of get_files into variable _files. Ethan Dalool 2020-10-01 11:23:41 -0700
  • 95de60fd86 Let _api_request return batch responses from batch requests. Ethan Dalool 2020-10-01 11:21:57 -0700
  • 2ad6024ad8 Slightly jank fix to deal with extra data after json dict. Ethan Dalool 2020-10-01 11:21:32 -0700
  • 5a2f14b312 Merge remote-tracking branch 'upstream/master' Ethan Dalool 2020-09-21 21:38:20 -0700
  • c27d8379e4 speed up CI Richard O'Dwyer 2020-06-25 21:48:06 +0100
  • 04bae1885a Back to development: 1.0.9 Richard O'Dwyer 2020-06-25 21:44:31 +0100
  • 34f3e73359 Preparing release 1.0.8 Richard O'Dwyer 2020-06-25 21:44:19 +0100
  • cf1a1196a8 docs Richard O'Dwyer 2020-06-25 21:40:12 +0100
  • 6daa2bdf3c
    Merge pull request #8 from odwyersoftware/fixes2 Richard 2020-06-25 21:37:25 +0100
  • 74939e07b4 lint Richard O'Dwyer 2020-06-25 21:16:12 +0100
  • aaac16a8cc fix issue #6 Richard O'Dwyer 2020-06-25 21:15:36 +0100
  • 781e3a267b various fixes Richard O'Dwyer 2020-06-25 21:03:16 +0100
  • aa89af0324 Updates URL parsing, updates API error code handling Richard O'Dwyer 2020-06-21 16:18:22 +0100
  • 631ca606ff link to the website Richard O'Dwyer 2020-04-28 17:15:12 +0100
  • ecf42c1b35 Preparing release 1.0.7 Richard O'Dwyer 2020-03-25 20:09:37 +0000
  • d29751221c Fix missing self. on shared_keys. Ethan Dalool 2020-03-23 21:21:17 -0700
  • 09f993405a Alphabetize remaining imports. Ethan Dalool 2020-03-23 21:20:35 -0700
  • 1626bc85d8 Remove import-froms for tenacity. Ethan Dalool 2020-03-23 21:20:15 -0700
  • 132342e4f6 Remove import-froms for pathlib. Ethan Dalool 2020-03-23 21:17:22 -0700
  • 015e5a2773 Remove import-froms for crypto. Ethan Dalool 2020-03-23 21:07:41 -0700
  • 6d59de416e Remove import-froms for errors. Ethan Dalool 2020-03-23 20:54:50 -0700
  • 86e6756b2c Remove some double blank lines. Ethan Dalool 2020-03-23 20:52:05 -0700
  • a394f9829f Add function crypto.interleave_xor_8. Ethan Dalool 2020-03-23 20:40:30 -0700
  • ae3bcbc9e4 Add method import_public_folder. Ethan Dalool 2020-03-23 20:36:33 -0700
  • 85d4f9d6a3 De-golf some crypto functions. Ethan Dalool 2020-03-23 20:35:22 -0700
  • 1a7c3ea781 Add method get_public_folder_info. Ethan Dalool 2020-03-23 20:31:33 -0700
  • 25c567a5a3 Add method get_public_folder_files. Ethan Dalool 2020-03-23 20:29:52 -0700
  • 995dafceea Make shared_keys an instance attr, it seems that way already. Ethan Dalool 2020-03-23 20:22:35 -0700
  • bb8a5081c5 Add method _api_account_version_and_salt. Ethan Dalool 2020-03-23 20:00:51 -0700
  • ac442ced7f Add method _api_start_session. Ethan Dalool 2020-03-23 19:59:22 -0700
  • 406531924c Only call self.get_files if no path provided. Ethan Dalool 2020-03-23 19:57:12 -0700
  • 4143b7c9db Check for more target types but also raise TypeError if n/a. Ethan Dalool 2020-03-23 19:55:35 -0700
  • d7980400cb Use bool(x) instead of 1 if x else 0. Ethan Dalool 2020-03-23 19:54:41 -0700
  • 580b82c353 Don't put node_id into a list just to use [0]. Ethan Dalool 2020-03-23 19:51:50 -0700
  • cafca108e9 Some comment and docstring changes. Ethan Dalool 2020-03-23 19:50:56 -0700
  • 412cd21189 Rewrite function _parse_url to return tuple. Ethan Dalool 2020-03-23 19:49:16 -0700
  • e7a8aeda01 De-nest multi-line dicts from function calls. Ethan Dalool 2020-03-23 19:41:35 -0700
  • 7384ed9caa Add NODE_TYPE_ constants instead of using magic numbers. Ethan Dalool 2020-03-23 19:35:59 -0700
  • 5c2aa09db4 Let tenacity.retry look for our EAGAIN instead of plain error. Ethan Dalool 2020-03-23 19:27:00 -0700
  • 13595f724a Add argument params to _api_request for custom parameters. Ethan Dalool 2020-03-23 19:26:24 -0700
  • 634a977a99 More core _api_request to top of method list. Ethan Dalool 2020-03-23 19:24:44 -0700
  • 62871e3240 Add separate classes for API exceptions, raise error_for_code(). Ethan Dalool 2020-03-23 18:54:29 -0700
  • 97164fc52c Rewrite readme as markdown. Ethan Dalool 2020-03-23 12:35:52 -0700
  • d61e81d5d2 Indicate fork status on readme. Ethan Dalool 2020-03-23 12:29:41 -0700
  • fa6d1149d4 linting Richard O'Dwyer 2020-03-23 19:00:06 +0000
  • 6f3f5371ce Merge branch 'fixlogin' into 'master' richardARPANET 2020-03-23 18:55:03 +0000
  • 059f819c9c Use """ instead of ''' for docstrings. Ethan Dalool 2020-03-23 11:43:51 -0700
  • 7c53d5e42d Update HISTORY.rst. Ethan Dalool 2020-03-09 17:06:27 -0700
  • 1e96d9b435 Fix v1 login by calculating public exp instead of hardcode 257. Ethan Dalool 2020-03-09 15:13:12 -0700
  • f1047898e8 Deconstruct & comment this private_key MPI parser. Ethan Dalool 2020-03-09 15:08:11 -0700
  • 2ba447ebad Remove self. from self.rsa_private_key, not used elsewhere. Ethan Dalool 2020-03-09 14:55:25 -0700
  • ebca1d4826 Add extended_gcd and modular_inverse functions. Ethan Dalool 2020-03-09 14:49:12 -0700
  • e28bee9439 Back to development: 1.0.7 Richard O'Dwyer 2020-02-03 19:48:10 +0000
  • fc461b465a Preparing release 1.0.6 Richard O'Dwyer 2020-02-03 19:46:43 +0000
  • 46cf1c46c6 updates history and ranges reqs Richard O'Dwyer 2020-02-03 19:46:25 +0000
  • c9601c5e01 Merge branch 'master' into 'master' richardARPANET 2020-02-03 19:44:27 +0000
  • f053a2db1b Swap pycrypto to pycryptodome Midnight 2020-01-24 13:08:04 -0500
  • dc360ebeec Back to development: 1.0.6 Richard O'Dwyer 2019-11-18 20:59:20 +0000
  • 2727295a2d Preparing release 1.0.5 Richard O'Dwyer 2019-11-18 20:58:49 +0000
  • 4d343f1b25 Increase the wait time in between failed API request retries. Richard O'Dwyer 2019-11-18 20:58:37 +0000
  • 8888282aff Merge branch 'master' of github.com:richardARPANET/mega.py Richard O'Dwyer 2019-11-18 19:05:40 +0000
  • fa38263dbd Back to development: 1.0.5 Richard O'Dwyer 2019-11-18 19:04:42 +0000
  • 2ad38621fc Preparing release 1.0.4 Richard O'Dwyer 2019-11-18 19:04:18 +0000
  • 11a1d21438 Merge branch 'master' of code.richard.do:richardARPANET/mega.py Richard O'Dwyer 2019-11-18 19:02:05 +0000
  • c3b99e222c Increase the wait time in between failed API request retries. Richard O'Dwyer 2019-11-18 19:00:37 +0000
  • 6afa4f2132 Back to development: 1.0.4 Richard O'Dwyer 2019-11-12 09:53:16 +0000
  • f0ed01f32d Preparing release 1.0.3 Richard O'Dwyer 2019-11-12 09:52:59 +0000
  • d0b0e6fae9
    Merge pull request #4 from richardARPANET/bugfixes Richard 2019-11-12 09:50:51 +0000