Commit graph

103 commits

Author SHA1 Message Date
Chocobozzz 48eb72cd4c
Add pagination to events, groups, partipants to an event and categories
lists
2018-12-14 11:36:22 +01:00
Chocobozzz fa0f47d8e1
Add digest, date and request-target in HTTP signature 2018-12-07 16:13:30 +01:00
Thomas Citharel ace427c223
Add test for find_close_events/4
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-04 12:06:34 +01:00
Thomas Citharel c6e6a61000
Event changeset more cleaner
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:29:31 +01:00
Thomas Citharel dd87ad4f7e
Mix format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:08:18 +01:00
Thomas Citharel fd0dba62e0
Work on actors
* Implement group GraphQL APIs
* Change Actors changeset to properly set urls
* Remove old actors indexes and add some new ones

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 11:58:57 +01:00
Thomas Citharel 5aaf291bc9
Remove aliases that don't do anything
Thx @chocobozzz

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-29 17:46:28 +01:00
Thomas Citharel 51aa511101
Changes to the actor - user relation
Now the GraphQL API replies mostly with users which have the default_actor
property filled to show profile information

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-29 17:43:22 +01:00
Thomas Citharel 6f15127cb0
Remove unused files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 18:23:19 +01:00
Thomas Citharel 909833c2bb
Remove unused alias
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 18:00:08 +01:00
Thomas Citharel 534138f775
More test stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 17:16:23 +01:00
Thomas Citharel afb9b797ba Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 15:00:15 +01:00
Thomas Citharel 0cb39de01e Add more tests for user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 14:48:55 +01:00
Thomas Citharel c9f58ea899 A few more tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 10:49:16 +01:00
Thomas Citharel 3ddd5ee485 Add test to WebFinger controller
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 18:42:56 +01:00
Thomas Citharel da378633ac Moar coverage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 17:54:54 +01:00
Thomas Citharel b99625afab Add test to the follow backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 14:02:51 +01:00
Thomas Citharel d5318a37e1 Remove old channels files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:30:11 +01:00
Thomas Citharel 9f9113f094 Change schema a bit
Closes #29

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-23 15:03:53 +01:00
Thomas Citharel 403a32e996 Improve overall configuration and support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-15 17:35:47 +01:00
Thomas Citharel 06709ee46b Update GraphQL Absinthe schema
Remove unneeded things
Update descriptions

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-14 16:51:47 +01:00
Thomas Citharel e32ce85f0f Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:36:51 +01:00
Thomas Citharel 2939485321 Fix all warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:30:47 +01:00
Thomas Citharel a04dfc5293 Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 18:17:53 +01:00
Thomas Citharel 0900eb730e Add back inReplyTo fixes and cleanup some uneeded things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 09:06:44 +01:00
Thomas Citharel 5721c5fe05 Toot 2018-11-12 09:05:31 +01:00
Thomas Citharel 6e691640de Insert :origin_comment_id too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 18:03:53 +01:00
Thomas Citharel 20e47add28 Add debug to special case
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:48:05 +01:00
Thomas Citharel 263c7d7de5 Missing Logger require
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:41:47 +01:00
Thomas Citharel 26548cdfaa Refactor and add logging to insert comment fct
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:40:26 +01:00
Thomas Citharel acf110a761 Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:19:41 +01:00
Thomas Citharel af8b3a7173 inReplyTo can be empty
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:17:35 +01:00
Thomas Citharel b2db190056 Forgot an {:ok} tuple
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:26:14 +01:00
Thomas Citharel fdef983125 Missing aliases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:13:47 +01:00
Thomas Citharel c7ccbf1c47 Handle user gone and fix more public key stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:11:23 +01:00
Thomas Citharel 04e342c897 Fix things with in_reply_to_comment_id
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 15:57:46 +01:00
Thomas Citharel 537736a98e Remove duplicated bad function
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:16:35 +01:00
Thomas Citharel 9161df71ba Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:15:11 +01:00
Thomas Citharel d3ae4e5909 Add more helpers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:14:59 +01:00
Thomas Citharel 911cbcdac5 Add a logger for comment creation failure
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:14:31 +01:00
Thomas Citharel 023d802746 Make remote comments non local
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:48:00 +01:00
Thomas Citharel 4afd657338 Add error log to follow activity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:31:44 +01:00
Thomas Citharel 0343a408f4 Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:25:45 +01:00
Thomas Citharel e020075a85 Investigate activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:24:38 +01:00
Thomas Citharel 6b4860b217 Fix issue with host header parsing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:16:57 +01:00
Thomas Citharel 28336f1b53 Simplify and fix public key stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:12:21 +01:00
Thomas Citharel 3f0cb8a183 Handle mastodon's headers correctly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 17:09:08 +01:00
Thomas Citharel 5361371d8a Fixes a webfinger issue, and adds html profile in webfinger query
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:45:11 +01:00
Thomas Citharel 23aac914df Handle webfinger jason issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:30:55 +01:00
Thomas Citharel fa0c06a02b Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:19:44 +01:00