Wykres commitów

541 Commity (c90d8a72e0fae85e83b49a4e66de7f7ad5b35d8c)

Autor SHA1 Wiadomość Data
Jason Robinson a2920444ca Refactor: move diaspora XML generators to entities themselves
This change is backwards incompatible. Any implementations wishing to create a valid Post for example for diaspora shouls now use DiasporaPost.
2016-04-03 22:54:32 +03:00
Jason Robinson 62380a5d77 Add support for Comment entity
Refs: #4
2016-04-03 22:25:12 +03:00
Jason Robinson cd8304fcdb Make BaseEntity.validate call validate_ methods and check _required 2016-04-03 20:20:39 +03:00
Jason Robinson 15fc76b845 Fix entity CreatedAtMixin.created_at to be datetime.now() 2016-04-03 19:57:34 +03:00
Jason Robinson 38c32af798 Merge pull request #6 from jaywink/travisify
Add travis config
2016-04-03 17:34:29 +03:00
Jason Robinson 9a2d7a0b82 Add travis config 2016-04-03 17:29:54 +03:00
Jason Robinson e10dc53454 Merge pull request #2 from waffle-iron/master
waffle.io Badge
2016-03-12 22:02:22 +02:00
Making GitHub Delicious 9138419a79 add waffle.io badge 2016-03-12 13:02:08 -07:00
Jason Robinson f12c9fee25 Add landscape badge 2015-09-20 22:31:49 +03:00
Jason Robinson 8fe7347dec Add Post.tags property
Retrieves a set of unique tags found in the post.
2015-08-09 03:29:08 +03:00
Jason Robinson 94d8aad530 Make DiasporaWebFinger Python2.7 compatible
Refs: #1
2015-08-08 02:27:56 +03:00
Jason Robinson 921a9b527d Always validate .well-known/social-relay when rendering it
Not much point in schema otherwise
2015-07-16 23:58:41 +03:00
Jason Robinson 478f55069d .well-known/social-relay should also define scope 2015-07-16 23:18:14 +03:00
Jason Robinson bf4e494841 Add support for .well-known/social-relay document
Used in apps to provide subscription preferences, see: https://www.loomio.org/d/9vpoe0UR/public-post-federation#comment-730911
2015-07-16 23:01:10 +03:00
Jason Robinson 1055261735 Add hcard template in manifest 2015-07-12 22:24:00 +03:00
Jason Robinson 4a1792065f Fix path reference to hcard template 2015-07-12 22:11:57 +03:00
Jason Robinson d50ae4ee17 Implement Diaspora hCard 2015-07-12 21:55:20 +03:00
Jason Robinson c37b34b550 hcard url ends in guid, not username 2015-07-12 20:56:45 +03:00
Jason Robinson 414da9d901 Implement webfinger support 2015-07-12 17:08:03 +03:00
Jason Robinson f359ac8247 Make hostmeta generator return string not XML Document 2015-07-12 02:02:44 +03:00
Jason Robinson f61c2b576f Implement XRD host-meta generator 2015-07-12 01:23:11 +03:00
Jason Robinson 67ebac03ed Wait, why are social-relay deps here? Late night commits.... Fix setup.py, remove unnecessary requirements.txt files too 2015-07-08 11:57:33 +03:00
Jason Robinson 908e90bcaa 'skip_author_verification' to controllers.handle_receive too 2015-07-06 23:03:31 +03:00
Jason Robinson a568bd6a9e Add 'skip_author_verification' possibility to diaspora receive protocol, f or testing 2015-07-06 22:59:05 +03:00
Jason Robinson d2c565bc24 Create controllers.handle_create_payload - but only for diaspora now 2015-07-06 22:50:30 +03:00
Jason Robinson eecb3e013f Add some tests for the diaspora generators 2015-07-06 22:27:25 +03:00
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