Wykres commitów

23 Commity (master)

Autor SHA1 Wiadomość Data
Alex 7ae546cc22
Correcting models.py (on_delete error)
Added the 'on_delete=CASCADE' argument on ForeignKey instances at line 64 and 89
2021-01-27 17:32:48 +01:00
Romain Gauthier a488903832 Start writing basic tests 2017-08-07 02:34:34 +02:00
Romain Gauthier 944d98ff06 README: minor typo 2017-08-05 23:48:04 +02:00
Romain Gauthier 7631c9ca74 Migrations for Activity 2017-08-03 02:18:58 +02:00
Romain Gauthier be1fcfd88e Store activity sent and received as OrderCollections
GET /@<username>/outbox
GET /@<username>/outbox/<activity_id>
GET /@<username>/inbox
2017-08-03 02:16:52 +02:00
Romain Gauthier ef46fd4bb9 README: fix formating 2017-07-30 20:24:38 +02:00
Romain Gauthier e809b24b68 README: update implemented features 2017-07-29 20:01:31 +02:00
Romain Gauthier dc33d1a5fa README: add a "getting started" and "how to test the federation" sections. 2017-07-29 19:57:54 +02:00
Romain Gauthier 68f49a2b90 Implement (for real this time) the following endpoint
GET /@<username>/following
2017-07-29 19:36:21 +02:00
Romain Gauthier 0f950fd974 Accept and deliver Follow activities 2017-07-29 19:29:19 +02:00
Romain Gauthier b446daadcd Add a dummy following endpoint.
GET /@<username>/following

For now it does nothing. It's just to be coherent for Person.uris.
2017-07-29 17:56:58 +02:00
Romain Gauthier dcfab9f6f9 urls: remove new_note 2017-07-29 17:49:29 +02:00
Romain Gauthier dad3ff3b0e README: update implemented features 2017-07-29 17:42:31 +02:00
Romain Gauthier 8a9e8c7312 gitignore: add pyc and pycache files 2017-07-29 17:41:54 +02:00
Romain Gauthier aa0a81ad55 Migrations 2017-07-29 17:41:25 +02:00
Romain Gauthier b7c706ffb0 Remove trailing whitespaces 2017-07-29 17:40:47 +02:00
Romain Gauthier 5717e8a98d Implement basic Inbox endpoint.
POST /@<username>/inbox

For now handle only Note creations only.
2017-07-29 17:40:18 +02:00
Romain Gauthier f8989f58ae Implement the followers endpoint.
GET /@<username>/followers
2017-07-29 17:39:37 +02:00
Romain Gauthier 9fdeaa6cb6 Implement the Note Collection endpoint.
GET /@<username>/notes
2017-07-29 17:38:51 +02:00
Romain Gauthier ff866abb7b Implement the Note endpoint.
GET /@<username>/notes/1234
2017-07-29 17:38:18 +02:00
Romain Gauthier fd8b0d20ca Implement outbox: accept Create activities.
Post /@<username>/outbox

For now delivery is not implemented.
2017-07-29 17:36:20 +02:00
Romain Gauthier 8c11541674 Implement the person endpoint.
GET /@<username>

It returns the activitystream representation of a user (Person).
2017-07-29 17:35:39 +02:00
Romain Gauthier b538a58368 Initial commit of an ActivityPub example server 2017-07-29 17:31:17 +02:00