Thomas Citharel
165e0ea866
Add Credo checks and refactor code
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Make Logger.debug calls lazy
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add missing @moduledocs
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Refactor according to credo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Final fixes and add credo to CI
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Closes #52
2019-01-03 15:52:48 +01:00
Thomas Citharel
d0c19265cf
Merge branch 'feature/improve_test_config' into 'master'
...
Feature/improve test config
See merge request framasoft/mobilizon!39
2019-01-03 11:40:40 +01:00
Thomas Citharel
d6ef6a863d
New generate config task from Pleroma upstream & move tasks namespace
...
Little fixes and tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:34:31 +01:00
Thomas Citharel
eef4b8403c
Change configuration and docker compose
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-03 11:33:52 +01:00
Chocobozzz
f0026a8783
Fix user registration and validation
2018-12-28 16:19:21 +01:00
Thomas Citharel
ed6906e26c
Comment Webfinger controller properly
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-27 11:31:06 +01:00
Thomas Citharel
1a9fd27304
Add links to upstream Pleroma files
...
(rename AP tests module names too)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-27 11:24:04 +01:00
Thomas Citharel
72ea0c046d
Remove warnings on two unused variables
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-27 08:26:16 +01:00
William Pitcock
49f59d4ca3
add pleroma copyright attributions where appropriate
2018-12-24 06:34:45 -06:00
Thomas Citharel
db2cec7706
Test paginated event list
...
Introduce an event number limit for…limits
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-21 11:45:55 +01:00
Thomas Citharel
36bed9501a
📧 [AP] Set correct "to" when creating a comment instead of always
...
targetting public
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-21 09:03:10 +01:00
Thomas Citharel
a12226c394
Comment out Earmark-related code (no markdown for now)
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-20 18:30:51 +01:00
Thomas Citharel
245a715fe4
[WIP] Test transmogrifier
...
Introduce MobilizonWeb.API namespace
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
remove unneeded code
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-20 17:44:33 +01:00
Chocobozzz
0e068081ff
Add pagination to events, groups, partipants to an event and categories
...
lists
2018-12-14 11:36:22 +01:00
Chocobozzz
fc226f6c68
Add digest, date and request-target in HTTP signature
2018-12-07 16:13:30 +01:00
Thomas Citharel
26d57b6273
Add test for find_close_events/4
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-04 12:06:34 +01:00
Thomas Citharel
51f0c1afc6
Event changeset more cleaner
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:29:31 +01:00
Thomas Citharel
32a06cae87
Mix format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:08:18 +01:00
Thomas Citharel
bb060be708
Work on actors
...
* Implement group GraphQL APIs
* Change Actors changeset to properly set urls
* Remove old actors indexes and add some new ones
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 11:58:57 +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
8a79183e77
Remove old channels files
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 11:30:11 +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
4bdfda5ef7
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:36:51 +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
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
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
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
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
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
5b9055dbab
Better tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 17:01:45 +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
b3a5106a0a
Update deps
2018-08-24 12:31:41 +02:00
Thomas Citharel
a4deeb55d4
More tests
2018-08-24 11:34:00 +02:00
Thomas Citharel
af68e5af5a
mix format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 10:19:28 +02:00
Thomas Citharel
b00cbb420f
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
682d6a38e9
Introduce follower, add tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-01 14:45:18 +02:00
Thomas Citharel
163f190142
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
01328d183e
Add some identities UI
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 13:46:19 +02:00
Thomas Citharel
3566ece9fa
Update tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-10 14:56:10 +02:00
Thomas Citharel
bcdfaab9bd
Allow multiple identities (accounts actors) for one user.
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-10 10:00:07 +02:00
Thomas Citharel
a87bbfc52a
Credo fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 15:23:18 +02:00
Thomas Citharel
b6659cae84
Mostly UI stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 14:19:24 +02:00
Thomas Citharel
aace65b243
Fix credo
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 17:16:02 +02:00
Thomas Citharel
fcff3dbc5d
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 16:23:52 +02:00
Thomas Citharel
35e836fff4
Some work
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 14:29:17 +02:00
Thomas Citharel
82a6c8a488
Fix credo issues
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-14 18:15:27 +02:00
Thomas Citharel
b1d48ac676
Make tests great again !
...
(Also use only one field for public/private key pem)
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-14 17:25:55 +02:00
Thomas Citharel
ff077058d7
Remove pleroma mentions
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:33:05 +02:00
Thomas Citharel
333ed13976
Rebase finished
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:22:11 +02:00
Thomas Citharel
9b5875422f
Credo checks
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00
Thomas Citharel
164b6b014c
Encore des commits degeu
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00
Thomas Citharel
4c60f0ec51
Add groups back
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:39 +02:00
Thomas Citharel
91a3805a47
Search
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:14 +02:00
Thomas Citharel
394549933d
Add some methods
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:15:45 +02:00
Thomas Citharel
3495c8a323
Front-end stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:15:45 +02:00
Thomas Citharel
416fd1e433
WIP
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:04 +02:00