Commit Graph

149 Commits

Author SHA1 Message Date
Thomas Citharel
9a768f3be9 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
83288dcad8 Add SECURITY.md 2018-11-14 14:59:38 +01:00
Thomas Citharel
50fc6e1c90 Add contribution guide 2018-11-14 14:40:25 +01:00
Thomas Citharel
7f651b9712 Add 2 tests and format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-13 12:40:09 +01:00
Thomas Citharel
e9d6f69e5f 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
92c20f1580 Cache more things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:45:15 +01:00
Thomas Citharel
4bdfda5ef7 Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:36:51 +01:00
Thomas Citharel
9c510117f8 Better CI cache
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:32:59 +01:00
Thomas Citharel
608105cc31 Fix all warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:30:47 +01:00
Thomas Citharel
d9f29e7d7b Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 18:17:53 +01:00
Thomas Citharel
c9c55b4080 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
c63394288b Merge branch 'toot' into 'master'
Toot

See merge request framasoft/mobilizon!20
2018-11-12 09:05:31 +01:00
Thomas Citharel
25286c763b Toot 2018-11-12 09:05:31 +01:00
Thomas Citharel
dd5d6337dd Insert :origin_comment_id too
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 18:03:53 +01:00
Thomas Citharel
a45fad45f7 Fix comments table references
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:57:10 +01:00
Thomas Citharel
a94c813420 Add debug to special case
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:48:05 +01:00
Thomas Citharel
07b6b6d80e Missing Logger require
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:41:47 +01:00
Thomas Citharel
7945430477 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
a01142e8ec Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:19:41 +01:00
Thomas Citharel
78857c4810 inReplyTo can be empty
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 17:17:35 +01:00
Thomas Citharel
775462a373 Forgot an {:ok} tuple
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:26:14 +01:00
Thomas Citharel
d8bcf2016b Make loglevel env an atom
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:23:09 +01:00
Thomas Citharel
b71764e0fd Add loglevel to env variable
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:20:36 +01:00
Thomas Citharel
33430dc5b2 Missing aliases
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-08 16:13:47 +01:00
Thomas Citharel
2c9f151e3e 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
fb03e040aa 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
d23c0762e3 Remove duplicated bad function
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:16:35 +01:00
Thomas Citharel
219fb5c136 Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:15:11 +01:00
Thomas Citharel
0764f770ae Add more helpers
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 19:14:59 +01:00
Thomas Citharel
aee827df35 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
c1effa18ad Make remote comments non local
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:48:00 +01:00
Thomas Citharel
9dbc2bd146 Add error log to follow activity
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:31:44 +01:00
Thomas Citharel
2000561605 Typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:25:45 +01:00
Thomas Citharel
497c682486 Investigate activities
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:24:38 +01:00
Thomas Citharel
8556588356 Fix issue with host header parsing
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:16:57 +01:00
Thomas Citharel
bd41864fcf Simplify and fix public key stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 18:12:21 +01:00
Thomas Citharel
0bd52b7bee Handle mastodon's headers correctly
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 17:09:08 +01:00
Thomas Citharel
3006dc228d 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
ef06bbfb62 Handle webfinger jason issues
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:30:55 +01:00
Thomas Citharel
757be351bc Add some parameters through env
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:25:17 +01:00
Thomas Citharel
1ff4e62823 Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:19:44 +01:00
Thomas Citharel
1e9563b348 Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:09:42 +01:00
Thomas Citharel
12964b7290 Fixed some things
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 16:09:28 +01:00
Thomas Citharel
58c22d366f 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
da28bb8d0c Fix account component
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-07 08:32:22 +01:00
Thomas Citharel
bbf7176210 Merge branch 'graphql' into 'master'
Move API to GraphQL

See merge request framasoft/mobilizon!19
2018-11-06 10:37:15 +01:00
Thomas Citharel
841120cbcd Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:32:53 +01:00
Thomas Citharel
4441521994 Move to GraphQL
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel
4bd2dd8a0e Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:47:02 +02:00
Thomas Citharel
6c6f93038e Rename project to Mobilizon
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00