Thomas Citharel
0f31535cf3
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
c1e6612405
[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
48eb72cd4c
Add pagination to events, groups, partipants to an event and categories
...
lists
2018-12-14 11:36:22 +01:00
Chocobozzz
fa0f47d8e1
Add digest, date and request-target in HTTP signature
2018-12-07 16:13:30 +01:00
Thomas Citharel
ace427c223
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
c6e6a61000
Event changeset more cleaner
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:29:31 +01:00
Thomas Citharel
dd87ad4f7e
Mix format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-03 12:08:18 +01:00
Thomas Citharel
fd0dba62e0
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
5aaf291bc9
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
51aa511101
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
6f15127cb0
Remove unused files
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 18:23:19 +01:00
Thomas Citharel
909833c2bb
Remove unused alias
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 18:00:08 +01:00
Thomas Citharel
534138f775
More test stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 17:16:23 +01:00
Thomas Citharel
afb9b797ba
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 15:00:15 +01:00
Thomas Citharel
0cb39de01e
Add more tests for user
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 14:48:55 +01:00
Thomas Citharel
c9f58ea899
A few more tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 10:49:16 +01:00
Thomas Citharel
3ddd5ee485
Add test to WebFinger controller
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 18:42:56 +01:00
Thomas Citharel
da378633ac
Moar coverage
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 17:54:54 +01:00
Thomas Citharel
b99625afab
Add test to the follow backend
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-27 14:02:51 +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
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
e32ce85f0f
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 23:36:51 +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
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
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
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
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
Thomas Citharel
10dddc03a9
Format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:32:53 +01:00
Thomas Citharel
b54dae7e15
Move to GraphQL
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-06 10:30:27 +01:00
Thomas Citharel
7e137d1a1c
Format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:47:02 +02:00
Thomas Citharel
559c889f1b
Rename project to Mobilizon
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-11 17:37:39 +02:00
Thomas Citharel
3b48ac957f
Put js build through phoenix
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-10 14:57:35 +02:00
Thomas Citharel
4eb51567c3
Better tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 17:01:45 +02:00
Thomas Citharel
ad9c9922e4
Upgrade deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 16:07:17 +02:00
Thomas Citharel
93cb03eb4c
Fix Accept header
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-10-09 15:56:48 +02:00
Thomas Citharel
c2875a6189
Fix nodeinfo path
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-09-03 17:53:31 +02:00
Thomas Citharel
eb0c0002be
Update deps
2018-08-24 12:31:41 +02:00
Thomas Citharel
686cf04787
More tests
2018-08-24 11:34:00 +02:00
Thomas Citharel
2eb2c23af3
mix format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-03 10:19:28 +02:00
Thomas Citharel
e1e9b0fc11
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
115d1d1a3e
Introduce follower, add tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-08-01 14:45:18 +02:00
Thomas Citharel
979aad5acb
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
bb1cdc2043
Add some identities UI
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-11 13:46:19 +02:00
Thomas Citharel
73ef0dc6af
Update tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-10 14:56:10 +02:00
Thomas Citharel
dee437e4f3
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
27d294ba6d
Credo fixes
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 15:23:18 +02:00
Thomas Citharel
e170aa7f66
Mostly UI stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-09 14:19:24 +02:00
Thomas Citharel
b60e8b7647
Fix credo
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 17:16:02 +02:00
Thomas Citharel
615e91a05b
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 16:23:52 +02:00
Thomas Citharel
93a97b0865
Some work
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-07-04 14:29:17 +02:00
Thomas Citharel
a007764d27
Fix credo issues
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-14 18:15:27 +02:00
Thomas Citharel
ca36dd12e2
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
e80abd8ee9
Remove pleroma mentions
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:33:05 +02:00
Thomas Citharel
6390c40e99
Rebase finished
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:22:11 +02:00
Thomas Citharel
99f9413519
Credo checks
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00
Thomas Citharel
63b63d9ee2
Encore des commits degeu
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:18:33 +02:00
Thomas Citharel
90de5a105b
Add groups back
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:39 +02:00
Thomas Citharel
cac4dd3ca3
Search
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:16:14 +02:00
Thomas Citharel
2f0a29aa86
Add some methods
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:15:45 +02:00
Thomas Citharel
e47ff97ac6
Front-end stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:15:45 +02:00
Thomas Citharel
f1cb601b46
WIP
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:14:04 +02:00
Thomas Citharel
e14007bac5
WIP
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-06-06 18:12:21 +02:00
Benjamin Bouvier
2c1abe5e19
Merge branch 'avatar' into 'master'
...
Introduce avatar and banner and fetch Gravatar to fill avatar during registration
Closes #7
See merge request tcit/eventos!10
2018-01-27 19:45:03 +01:00
Thomas Citharel
4b4ecec693
Introduce avatar and banner and fetch Gravatar to fill avatar during registration
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
typo
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Rename avatar to avatar_url, same with header.
Add a comment to explain why the tweak with HTTPoison and TLS1.2
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Rename avatar to avatar_url
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
rename old avatar properties in front-end to avatar_url
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fix change gravatar from ?d= to ?default=
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
reorganize aliases and imports
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
set avatar url only when gravatar exists, add a test for that case
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-27 19:04:45 +01:00
Thomas Citharel
22093b8ca4
Fix some warnings
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
fix error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix tests and warnings
Move process_geom/2 to addresses where it belongs
Create a special error view for invalid requests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
credo fix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-27 17:00:04 +01:00
Thomas Citharel
07382d6aca
Add adresses
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-17 11:39:01 +01:00
Thomas Citharel
67ef32432e
Fix front-end, allow events to be created by a group, allow to get sessions from an event
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-16 19:45:09 +01:00
Thomas Citharel
7a98674e59
Merge branch 'fix-categories' into 'master'
...
Fix categories and tags
See merge request tcit/eventos!3
2018-01-15 12:21:55 +01:00
Thomas Citharel
32bd50d161
fix tags
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-15 12:17:34 +01:00
Thomas Citharel
8b4d1ab4e4
Add categories properly
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-15 12:04:09 +01:00
Thomas Citharel
9df9a795c7
Add state and fix casting
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-15 11:50:26 +01:00
Thomas Citharel
8414f9a098
Export an event though ics
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-15 11:40:01 +01:00
Thomas Citharel
1217361b6c
fix some code style and add checks to ci
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-14 17:57:25 +01:00
Thomas Citharel
20cd1bb579
Change models, new migrations, fix front and make tests work
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-13 23:33:03 +01:00
Thomas Citharel
92d2045735
end
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-01-09 17:52:26 +01:00
Thomas Citharel
8ac705d8c2
replace coherence with guardian
2017-12-09 14:58:37 +01:00
Thomas Citharel
90ceb4f6fe
initial commit
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2017-12-08 09:58:14 +01:00