Commit Graph

168 Commits

Author SHA1 Message Date
Thomas Citharel
041d515276 Merge branch 'feature/npm-run-dev' into 'master'
npm run serve -> npm run dev

See merge request framasoft/mobilizon!22
2018-11-30 09:55:03 +01:00
Chocobozzz
5c73b8bb2b npm run serve -> npm run dev 2018-11-30 09:48:41 +01:00
Thomas Citharel
cbd1d97b4c 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
8b3d0af04c 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
0bd9a516ba Remove unused files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 18:23:19 +01:00
Thomas Citharel
b7a0e8b3f1 Remove unused alias
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 18:00:08 +01:00
Thomas Citharel
b8494dc3a1 More test stuff
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 17:16:23 +01:00
Thomas Citharel
d82fefeeb0 Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 15:00:15 +01:00
Thomas Citharel
2cb641be79 Add more tests for user
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 14:48:55 +01:00
Thomas Citharel
79d0367f70 A few more tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 10:49:16 +01:00
Thomas Citharel
56ea47f189 Add test to WebFinger controller
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 18:42:56 +01:00
Thomas Citharel
12c63c979a Moar coverage
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 17:54:54 +01:00
Thomas Citharel
25d95bed02 Add test to the follow backend
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 14:02:51 +01:00
Thomas Citharel
bb178dafb4 Update js deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:55:31 +01:00
Thomas Citharel
8a79183e77 Remove old channels files
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:30:11 +01:00
Thomas Citharel
481987bb85 Bump Elixir deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:29:58 +01:00
Thomas Citharel
d54795a3ea Change schema a bit
Closes #29

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-23 15:03:53 +01:00
Thomas Citharel
29cf798956 Improve overall configuration and support
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-15 17:35:47 +01:00
Thomas Citharel
d2a4d2c0db 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
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