Thomas Citharel
d552fcb2d3
Add a config option to whitelist users registration
...
Through whole email or domain email
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-12-17 12:09:24 +01:00
Thomas Citharel
de9b26df2d
Translate them and handle difference between user not found and user not
...
confirmed
Closes #212
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-16 17:07:49 +02:00
Damien
b98a86184b
(Hopefully) improve grammar
...
[CI skip]
2019-10-15 21:38:49 +02:00
Thomas Citharel
442a011490
Add draft feature
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-02 18:23:32 +02:00
Thomas Citharel
a84cfb5910
Save user locale and use it to translate things
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-10-01 13:08:09 +02:00
miffigriffi
aed824f1aa
Fix code readability issues
2019-09-26 17:45:47 +02:00
Thomas Citharel
757d2cabec
Add a dropdown on participate menu, disallow listing participations
...
Now requires quering the person endpoint to know if an actor
participates in an event, organizers can make authenticated requests to
event { participants { } } to see the pending / approved participants.
Also closes #174
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-26 17:00:01 +02:00
Thomas Citharel
f129d4137d
[Backend] Allow to change your password
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-24 18:08:33 +02:00
Thomas Citharel
ffa4ec9209
Work on dashboard
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-22 09:42:54 +02:00
Thomas Citharel
cc4a59ad1f
Run mix format and fix a credo check
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-09-09 09:35:50 +02:00
miffy
a32ab590ab
Refactoring of config wrapper
2019-09-08 00:05:54 +02:00
miffy
f316f0a940
Refactoring of Users context
2019-09-07 19:55:45 +02:00
Chocobozzz
a007160480
Fix lint
2019-08-13 10:59:12 +02:00
Chocobozzz
ac1dab0fc0
Fix guardian db hook when refresh the access token
2019-08-12 17:41:41 +02:00
Chocobozzz
6d221212ef
Remove apollo link state
2019-08-12 16:04:32 +02:00
Chocobozzz
e864b38ec6
Add config endpoint
2019-03-22 13:58:57 +01:00
Thomas Citharel
bba6629046
Better docs
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Nicer docs
No 3rd stage
Add mix.deps get before docs
Add :ex_doc on test env so that it runs into CI
2019-03-18 12:10:29 +01:00
Thomas Citharel
99ac6ef100
Add GraphQL support to handle FeedTokens
...
Closes #88
Automatically create tokens for new users and actors
Closes #89
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-08 18:52:27 +01:00
Thomas Citharel
cb0808dbad
Introduce admin and moderator role, check role on list_users action
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Add test for guards
2019-03-07 14:18:11 +01:00
Thomas Citharel
c689406114
Extract User from Actors context
...
Mobilizon.Actors.User -> Mobilizon.Users.User
Also Mobilizon.Actors.Service now become Mobilizon.User.Service
And Mobilizon.Users and Mobilizon.UsersTest is introduced.
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-03-05 17:23:05 +01:00
Chocobozzz
a0123459b3
Add ability to list users
2019-03-05 10:41:23 +01:00
Thomas Citharel
ce65c992d3
Handle validated users without profiles
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Format
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-30 15:59:30 +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
90fd0ff6b6
Replace Vuetify with Bulma
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Remove vuetify and add Bulma
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2019-01-24 15:35:57 +01:00
Chocobozzz
df4d3892c3
Fix reset password component
2019-01-11 13:58:29 +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
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
0cb39de01e
Add more tests for user
...
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2018-11-28 14:48:55 +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
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
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
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