Commit Graph

139 Commits

Author SHA1 Message Date
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
Thomas Citharel
a4dc6cff4d Put js build through phoenix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel
bc8918b5fc Ignore all of priv/static/* content
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 17:01:58 +02:00
Thomas Citharel
5b9055dbab Better tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 17:01:45 +02:00
Thomas Citharel
708f5fa2e6 Friendica now supports ActivityPub !
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 16:07:31 +02:00
Thomas Citharel
bdaf0b0a3e Upgrade deps
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 16:07:17 +02:00
Thomas Citharel
404f0548a0 Fix Accept header
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 15:56:48 +02:00
Thomas Citharel
7d37319c8a Fix nodeinfo path
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-09-03 17:53:31 +02:00
Thomas Citharel
3ffa8a28a4 Downgrade cowboy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-24 14:09:21 +02:00
Thomas Citharel
d96e511b6b Merge branch 'update-deps' into 'master'
Update deps

See merge request tcit/eventos!18
2018-08-24 12:31:41 +02:00
Thomas Citharel
b3a5106a0a Update deps 2018-08-24 12:31:41 +02:00