Commit Graph

13896 Commits

Author SHA1 Message Date
Jean-Paul Calderone 3719a107be Stop putting a useless client section in here
[client] is not a valid common section so this fails if there's validation
2019-08-03 06:19:01 -04:00
Jean-Paul Calderone 6cf48f7d4f Separate async initialization from _Client.__init__ 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone 3bc21e1b72 Re-synchronize the fake with the real implementation 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone a6959d111c Log init_storage and its result (particularly failures) 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone 7919cf205e Test the actual interface
get_storage_server is supposed to return a Deferred
2019-08-03 06:19:01 -04:00
Jean-Paul Calderone a45e2bebfe Allow the new plugins item in the [storage] section 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone f606beb065 Test and support plugins without any configuration 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone e2982c0129 Support multiple plugins 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone 646cd452b9 Add tests for announcements for plugins
And a basic implementation
2019-08-03 06:19:01 -04:00
Jean-Paul Calderone 9608404b6e Factor plugin helper behavior into its own fixture 2019-08-03 06:19:01 -04:00
Jean-Paul Calderone 25287870ee Add a tool for matching the node key in the announcement
And use it in the recently added test
2019-08-03 06:18:55 -04:00
Jean-Paul Calderone 212f96dfe7 Baseline tests for anonymous storage server announcements 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 49abfbb62a storage server plugin configuration 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone a9687259a6 news fragment 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 0f0ca5598a at least minimally test the other implementation 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 87b37a7e27 be more data-type-y 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 1c6433b43b Factor details of the storage announcement out of NativeStorageClient
A separate object can be responsible for the details of each kind of announcement.
2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 8060be556e news fragment 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone f19b94a43d remove unused import 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone b737c6f5c5 Use the client config helper to read/test client config 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 7e17ffb75d Also update the introducer's use of read_config 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone fb4c5cf91f Allow for dynamic configuration validation rules 2019-08-03 05:34:21 -04:00
Jean-Paul Calderone 4216bd6ed1 news fragment 2019-08-03 05:33:01 -04:00
Jean-Paul Calderone de1b488f64 news fragment 2019-08-03 05:33:01 -04:00
Jean-Paul Calderone 2c49c97fcd more unicode literals 2019-08-03 05:33:01 -04:00
Jean-Paul Calderone 8a22764fb1 Combine human_name and id 2019-08-03 05:33:01 -04:00
Jean-Paul Calderone e10a032fc3 Add the basic plugin interfaces and some documentation 2019-08-03 05:33:01 -04:00
Jean-Paul Calderone bb385d45f7 teach tox about the new --package option 2019-08-02 18:29:04 -06:00
Jean-Paul Calderone 856b3782ea add a --package option to run-deprecations so we can restrict to our own errors 2019-08-02 18:28:36 -06:00
Jean-Paul Calderone 3d624ec784 news fragment 2019-08-02 18:28:30 -06:00
Jean-Paul Calderone e03ca27fdd news fragment 2019-08-02 16:50:45 -06:00
Jean-Paul Calderone cd0ec043a8 Rely on the PATH now being passed down to find git 2019-08-02 16:50:21 -06:00
Jean-Paul Calderone 7f1673596f Pass the whole parent environment down to the child
You never know what is in here that is totally essential to the operation of
some random thing. :(
2019-08-02 16:49:50 -06:00
meejah 3f9f4537b9
Merge pull request #633 from meejah/ticket3228-remote-old-js
delete ancient jquery, d3 and the thing that depends on them
2019-07-24 17:11:41 +00:00
meejah d6f0ce9123
Merge pull request #634 from crwood/3229.fix-autobahn-dep-declaration
Add "autobahn" to "package_imports"
2019-07-17 16:55:03 +00:00
Chris Wood 88ddd67c10 Add news fragment 2019-07-16 14:03:18 -04:00
Chris Wood b185ee5079 Add "autobahn" to "package_imports"
This fixes PyInstaller-generated "frozen" binaries which, without
this, fail to run with "allmydata.PackagingError: no version info
for autobahn"

fixes🎫3229
2019-07-16 13:29:18 -04:00
meejah a1a8d13c41 newsfragment 2019-07-15 19:45:08 -06:00
meejah f9d1c4b06d delete ancient jquery, d3 and the thing that depends on them 2019-07-15 19:40:31 -06:00
meejah ede9fc7b31
Merge pull request #616 from tahoe-lafs/3031-replace-pycryptopp
fixes🎫3031 replace pycryptopp with cryptography
2019-07-11 04:47:59 +00:00
meejah 4b7e26ee60 unused import 2019-07-09 09:11:57 -06:00
meejah c6d41b310a str -> bytes 2019-07-08 14:16:37 -06:00
meejah c2c2eda52e bytes 2019-07-08 14:16:28 -06:00
meejah 6c9a3cfea1 move import 2019-07-08 14:00:39 -06:00
meejah 4be5a767fd bytes, prefixes 2019-07-08 14:00:11 -06:00
meejah a4ed8f6372 its decryption not encryption 2019-07-08 13:59:59 -06:00
meejah 3730f1f01b fix docstrings 2019-07-08 13:59:48 -06:00
meejah 8598d98ebe better assert methods 2019-07-08 13:59:36 -06:00
meejah ec02d47bcc rename 2019-07-08 12:49:07 -06:00
meejah 0ab149248b better docstrings 2019-07-08 12:46:30 -06:00