Commit Graph

2825 Commits

Author SHA1 Message Date
Tobias Oberstein 9ad7878e0c prepare for release (#874) 2017-07-21 13:58:54 +02:00
meejah 47e63dc009 Asyncio component txaio (#873)
* re-write asyncio component with txaio

* do all failure/success counting in component base class

* disconnect a possibly-still-active session

* handle connection errors

* reconnect when 'other' errors happen, too
2017-07-21 09:15:30 +02:00
Tobias Oberstein 0af895bff0 Newapi asyncio component (#872)
* start of asyncio side of component API

* copy-pasta the authentication stuff for now

* add 'trust_root' to TLS config, fix generic component errors

* change MyAuthorizer to match component examples

* new certificate; expired

* move auth code to central place, refactor general new-Session code

* fixes to asyncio, unix, some flake8

* refactor authentication API

add_authenticator now takes an instance of IAuthenticator
that we construct with a factory function

* unused imports

* no qa on invalid syntax for py 2
2017-07-19 14:15:26 +02:00
meejah 15500e2c21 Merge pull request #863 from richardartoul/patch-1
Check for auth properties in ._args
2017-07-02 10:40:28 -06:00
Richard Artoul d3a4ecc9b6 Check for auth properties in ._args
The current implementation doesn't work, but after changing it to ._args it does the right thing
2017-07-01 22:04:15 -07:00
Tobias Oberstein c797d5a3fc update changelog; bump version (#861) 2017-06-24 14:03:38 +02:00
meejah 4884a7375b Ticket1075 revoke subscription force reregister (#860)
* add force_reregister= option

* meta-API example
2017-06-24 13:08:54 +02:00
rrueth 886973ca13 Fix typo in programming.rst (#853) 2017-06-14 10:45:07 +02:00
Aleksander S afaa5cabb0 Fix typos causing endpoint config parsing to fail in twisted Component API (#852) 2017-06-12 07:48:23 +02:00
Tobias Oberstein ec65b66691 Merge pull request #851 from oberstet/examples-js
Examples js
2017-06-10 12:50:12 +02:00
Tobias Oberstein 7891e9c006 fix links 2017-06-10 12:48:14 +02:00
meejah e03eed3c1b update instructions 2017-06-10 12:45:40 +02:00
meejah bb1b9f592a S3 URI -> local autobahn.min.js 2017-06-10 12:45:40 +02:00
Tobias Oberstein 4599bab674 Merge pull request #850 from oberstet/tls-options-component
Tls options component
2017-06-10 12:43:34 +02:00
Tobias Oberstein 949430e346 tighten type checking 2017-06-10 12:17:02 +02:00
meejah 593ce9a70c fix handling of some TLS options in Component configs 2017-06-10 11:10:10 +02:00
Tobias Oberstein e69b3146fa prepare release (#847)
* prepare release

* pin pytest-asyncio
2017-06-08 17:32:07 +02:00
Tobias Oberstein 7844219a8f Merge pull request #842 from maruno/fix-onConnect-docstring
Fix onConnect docstring regarding return value
2017-06-06 12:03:38 +02:00
Tobias Oberstein c2582550ad Merge pull request #844 from meejah/newapi-transport-options
Newapi transport options
2017-06-06 12:01:32 +02:00
Tobias Oberstein 08b3093e38 Merge pull request #845 from mineo/patch-1
onConnect: Do deny -> To deny
2017-06-06 12:00:36 +02:00
Wieland Hoffmann 8a2deea78b onConnect: Do deny -> To deny 2017-06-05 19:57:15 +02:00
meejah 1c4919d3e0 flake8 2017-06-02 11:49:12 -06:00
meejah e75b61724c remove fixme 2017-06-02 11:29:19 -06:00
meejah 0545d46477 re-factor so RawSocket options can be passed as well, and slightly better error-message 2017-06-02 11:28:48 -06:00
meejah 3df75ecd90 allow snake_case options to work as well 2017-06-01 16:03:49 -06:00
meejah 6465cd4ce4 Allow components to pass WebSocket/RawSocket options 2017-06-01 15:58:35 -06:00
Michel Bouwmans 4b1d307f54 Fix onConnect docstring regarding return value
The docstring mentioned a ConnectionAccept to be returned, whilst this model exists it doesn't seem to be used and the actual expected return value is str.
2017-06-01 10:55:54 +02:00
Tobias Oberstein a9362174be Merge pull request #841 from OOPMan/upstream-issue-836
#836: register/subscribe decorators support different URI syntax from what session.register and session.subscribe support
2017-05-23 17:51:55 +02:00
Tobias Oberstein 89ac1f411d Merge pull request #840 from meejah/issue430-dynamic-auth
Issue430 dynamic auth
2017-05-23 17:49:56 +02:00
Adam Jorgensen 1314f40bee #836: Added additional test to test_decorate_endpoint 2017-05-23 15:16:12 +02:00
Adam Jorgensen 229ff62e4b #836: Added a wildcard URI to test_valid_uris 2017-05-23 15:11:18 +02:00
Adam Jorgensen c8311e5a36 #836: Added assertion to ensure uri is never 0-length 2017-05-23 15:11:14 +02:00
Adam Jorgensen 0f4536bb89 #836: Allow for standard Crossbar a.c..d style pattern URIs to be used with Pattern 2017-05-23 15:02:23 +02:00
meejah b6cb802740 split out marshal_options() from marshal() 2017-05-19 15:02:18 -06:00
meejah 3d4ed8bafc add dynamic authorizer example 2017-05-19 15:02:08 -06:00
Tobias Oberstein 8f25d62dbd Merge pull request #835 from meejah/issue834-log-level
add log_level= kwarg to asyncio side
2017-05-14 09:38:10 +02:00
Tobias Oberstein 8fdaaf2f28 Merge pull request #837 from ashafer01/master
Ensuring drop reason always gets propogated
2017-05-14 09:31:05 +02:00
Alex Shafer 8e093d1a9e Ensuring drop reason always gets propogated 2017-05-13 12:25:09 -07:00
meejah ef90f051b8 add log_level= kwarg to asyncio side 2017-05-03 17:08:38 -06:00
Tobias Oberstein 56ae5776f3 Merge pull request #833 from oberstet/master
add docker badge
2017-05-02 14:07:02 +02:00
Tobias Oberstein 9afc128d3e add docker badge 2017-05-02 14:06:32 +02:00
Tobias Oberstein 73bcac2693 Merge pull request #831 from oberstet/rel_0_18_3
Rel 0 18 3
2017-05-01 12:35:17 +02:00
Tobias Oberstein c0153708f7 reenable protocol_error on receiving event for unknown subscription ID (the prefix-sub issue needs to be fixed in CB) 2017-05-01 12:21:17 +02:00
Tobias Oberstein 07a36ed5bc bump version; update changelog 2017-05-01 11:43:56 +02:00
Tobias Oberstein f1eb092a5e Merge remote-tracking branch 'upstream/master' into rel_0_18_3 2017-05-01 11:37:52 +02:00
Tobias Oberstein 1a1e1e83e0 add TLS deps for extras_require_encryption by default 2017-05-01 11:37:35 +02:00
Tobias Oberstein c2ba9312c8 forward subscription on event details; polish up 2017-05-01 11:37:11 +02:00
Tobias Oberstein 1387ed37d0 Merge pull request #830 from agronholm/x_forwarded_for
Added support for the X-Forwarded-For HTTP header
2017-05-01 10:50:51 +02:00
Tobias Oberstein c8eddd653f Merge pull request #828 from meejah/event-retention-examples
Event retention examples
2017-05-01 10:47:10 +02:00
Alex Grönholm 8f8b3a6821 Added support for the X-Forwarded-For HTTP header 2017-04-29 04:09:03 +03:00