Commit Graph

83 Commits

Author SHA1 Message Date
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
Thomas Citharel
a9c06a9f35 Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:09:42 +01:00
Thomas Citharel
0585b9e6d5 Fixed some things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:09:28 +01:00
Thomas Citharel
74bc21fa2c Handle trying to create a category if not loggedin
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 08:34:25 +01:00
Thomas Citharel
10dddc03a9 Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:32:53 +01:00
Thomas Citharel
b54dae7e15 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel
7e137d1a1c Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:47:02 +02:00
Thomas Citharel
559c889f1b Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel
3b48ac957f Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel
4eb51567c3 Better tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 17:01:45 +02:00
Thomas Citharel
ad9c9922e4 Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 16:07:17 +02:00
Thomas Citharel
93cb03eb4c Fix Accept header
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 15:56:48 +02:00
Thomas Citharel
c2875a6189 Fix nodeinfo path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-09-03 17:53:31 +02:00
Thomas Citharel
eb0c0002be Update deps 2018-08-24 12:31:41 +02:00
Thomas Citharel
686cf04787 More tests 2018-08-24 11:34:00 +02:00
Thomas Citharel
2eb2c23af3 mix format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 10:19:28 +02:00
Thomas Citharel
e1e9b0fc11 Add some tests
Also add a unicity constraint on the followers table

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 10:16:22 +02:00
Thomas Citharel
115d1d1a3e Introduce follower, add tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-01 14:45:18 +02:00
Thomas Citharel
979aad5acb Remove credo and use mix format, and lint everything
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-27 10:45:35 +02:00
Thomas Citharel
bb1cdc2043 Add some identities UI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 13:46:19 +02:00
Thomas Citharel
73ef0dc6af Update tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-10 14:56:10 +02:00