Commit Graph

155 Commits

Author SHA1 Message Date
Thomas Citharel
824b1a969e Update js deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:55:31 +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
c16a26fc99 Bump Elixir deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:29:58 +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
3a66111ad7 Add GraphQL config file for https://github.com/graphql-cli/graphql-cli
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-14 16:51:09 +01:00
Thomas Citharel
2bf3b11320 Add SECURITY.md 2018-11-14 14:59:38 +01:00
Thomas Citharel
c14188913b Add contribution guide 2018-11-14 14:40:25 +01:00
Thomas Citharel
8d82a08b8d Add 2 tests and format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-13 12:40:09 +01:00
Thomas Citharel
9c65ad0170 Use ex_vcr for tests
Which are now offline-only !

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-13 12:23:37 +01:00
Thomas Citharel
1e86797e07 Cache more things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:45:15 +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
bdc16bad6b Better CI cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:32:59 +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
2c5ab09720 Merge branch 'toot' into 'master'
Toot

See merge request framasoft/mobilizon!20
2018-11-12 09:05:31 +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
69c24b8b25 Fix comments table references
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:57:10 +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
f87b042c72 Make loglevel env an atom
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:23:09 +01:00
Thomas Citharel
c1222763f1 Add loglevel to env variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:20:36 +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
6aad8b4d36 Add some parameters through env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:25:17 +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