Chocobozzz
a0123459b3
Add ability to list users
2019-03-05 10:41:23 +01:00
Thomas Citharel
8efb1af306
Make sure actor usernames are unique
...
Closes #72
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 18:35:00 +01:00
Thomas Citharel
7086fe8389
Make Categories a predefined list
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Allow null values for categories for now
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-25 15:31:04 +01:00
Thomas Citharel
4ec40d601b
Implement search with PostgreSQL trigrams
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Rename function to reflect that we only get one result
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add loggers and make Ecto call parallels during search
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Implement trigrams for events & replace pg similarity operator % with <%
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix tests
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-22 13:53:10 +01:00
Thomas Citharel
256d50e855
Allow tag relations + bump ecto deps
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-21 16:58:14 +01:00
Thomas Citharel
4bac5a07bd
Move Participant role from integer to enum
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-02-07 16:37:40 +01:00
Thomas Citharel
0c2931c10b
Make register/1 only create an user
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Credo fix
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Fix rebase
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 10:53:40 +01:00
Thomas Citharel
c660210439
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:36:09 +01:00
Thomas Citharel
2ece62bfb8
Add visibility to comments
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-14 16:21:13 +01:00
Thomas Citharel
2f2c538cc9
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
8d943f950f
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
d5eac1df6c
Comment Webfinger controller properly
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-12-27 11:31:06 +01:00
Thomas Citharel
caae6d0c0a
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
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
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
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
534138f775
More test stuff
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 17:16:23 +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
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
8d82a08b8d
Add 2 tests and format
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-13 12:40:09 +01:00
Thomas Citharel
9c65ad0170
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
a04dfc5293
Fix tests
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-12 18:17:53 +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