Jason Robinson
b143a1765b
Start implementing send parts for diaspora protocol
2015-07-06 01:08:27 +03:00
Jason Robinson
394dbab0e1
Fix reqs in setup.py
2015-07-05 23:47:25 +03:00
Jason Robinson
92f8550f9c
Add a setup.py file
2015-07-05 23:24:08 +03:00
Jason Robinson
89a14d374a
Start implementing mappers which convert XML payload to entities
...
Also rewrite the entities concept. Not using 'field' type objects as attributes, just plain attributes instead. There will be validators which can be set to ensure types.
The protocol specific mapper is responsible for converting attribute keys and value types.
2015-07-03 23:36:49 +03:00
Jason Robinson
7d8e417650
Add tests for controllers.handle_receive and fix the bugs found there
2015-07-03 19:46:17 +03:00
Jason Robinson
97c4a63c85
A little refactoring moving sender key fetcher from Protocol.__init__ to Protocol.receive
2015-07-03 13:20:09 +03:00
Jason Robinson
001060a37f
Add controllers module with a handle_receive method to pass a payload to a protocol.
...
Suitable protocol will be identified via protocol identify_payload methods.
2015-07-03 13:09:40 +03:00
Jason Robinson
7935417275
More modelling of entities
2015-07-03 01:13:42 +03:00
Jason Robinson
4b4661423e
Start modeling of entities.
2015-07-03 00:39:17 +03:00
Jason Robinson
1661f7aa6a
Improve diaspora protocol tests and fix a bug encountered
2015-07-02 23:32:17 +03:00
Jason Robinson
807d8a98ec
License from MIT -> BSD, to mirror Pyaspora
2015-07-02 22:44:15 +03:00
Jason Robinson
6dfaef6042
Initialize tests with the diaspora protocol
2015-07-02 00:14:15 +03:00
Jason Robinson
51b554cea7
Add requirements file
2015-07-02 00:12:45 +03:00
Jason Robinson
eb07244841
Finish up most of the porting of 'receive' part of Diaspora protocol implementation from Pyaspora
2015-07-01 23:09:44 +03:00
Jason Robinson
cfad38ade3
Initial commit
...
Note, nothing working here, just WIP...
2015-07-01 16:00:39 +03:00