48 Commits

Author SHA1 Message Date
Alexandre Bodin
2a780ea10a Clear _id now that queries return an id everytime 2019-08-13 17:40:31 +02:00
Alexandre Bodin
a62f73fe5f Merge branch 'develop' into feature/groups 2019-07-18 19:37:09 +02:00
Alexandre Bodin
da5d02fb7c Merge branch 'master' into develop 2019-07-18 19:28:52 +02:00
Alexandre Bodin
1658b48aa0 Refactor users-permissions to use the new strapi.query 2019-07-16 17:23:38 +02:00
Jim LAURIE
de2604cf80
Fix var instead of const 2019-07-15 13:32:41 +02:00
Jim LAURIE
2b9e03f3de Fix Google auth 2019-07-12 19:46:09 +02:00
Alexandre Bodin
a41641bfe4 Add a queries interface to the plugins 2019-04-26 13:40:23 +02:00
Alexandre Bodin
9e9ff9907d Refactor strapi load 2019-04-16 08:50:22 +02:00
Kamal Bennani
5c7dd886aa No longer use convertParams 2019-03-21 09:07:02 +01:00
Jim LAURIE
4bffe2749c
Remove error log
We will work on a complete logs tag plan in the future.
2019-01-11 10:55:21 +01:00
Paolo Ragone
b6fc268297 Fixed bug following recommendation 2019-01-11 22:52:28 +13:00
Paolo Ragone
947dd2b502 Added missing semicolon 2018-12-26 12:11:12 +13:00
Paolo Ragone
382722b74c
Fix provider query building bug
Fixes #2536
Does so by fixing the parameters to the query call
2018-12-26 11:10:35 +13:00
Sidharth Vinod
e3d4708aaa
Update username for Google Auth to fix #2285 2018-11-11 00:26:53 +05:30
Jim LAURIE
86828d731a
Merge branch 'master' into auth-microsoft 2018-08-09 16:59:00 +02:00
Jim LAURIE
70e9523ba8 Fix policy error 2018-08-06 16:59:14 +02:00
David Thomas
27c88e3a1a
Merge branch 'master' into auth-microsoft 2018-08-05 12:20:05 -04:00
DMehaffy
b8adba1e23 Finish adding Discord to Providers.js
Thanks to synth3tk for your help!

Note that with Discord the username is not unique so I combined the username and discriminator in order to store a unique "username"
2018-07-29 17:43:45 -07:00
David Thomas
2b9fc1a8b9
Merge branch 'master' into auth-microsoft 2018-07-25 21:06:29 -04:00
DMehaffy
1b0579db22 Updating purest config 2018-07-24 07:04:25 -07:00
DMehaffy
4c64168cda Add base structure for discord 2018-07-23 05:07:17 -07:00
David Thomas
06b741f322 Add Microsoft auth provider
Closes #1385
2018-07-22 22:03:29 -04:00
Kati Frantz
f108494cd9 update connect function to check for duplicate email and not provider 2018-07-20 11:36:34 +01:00
Jim Laurie
4d47d65c6d Fix default role provider and create user fix #1212 2018-06-12 19:19:10 +02:00
soupette
ae51f39c62 Fix default role when login with custom providers 2018-06-11 16:08:43 +02:00
soupette
68504fbe16 Add eslint to users-permissions backend 2018-04-30 18:26:56 +02:00
Jim Laurie
72877c3074 Rename Guest to Public role 2018-03-12 16:37:20 +01:00
Jim Laurie
00230f0f8f Hot fix provider login
Co-authored-by: soupette <cyril.lpz@gmail.com>
2018-02-14 17:02:44 +01:00
Jim Laurie
957e7a08cb Environment agnostic for users-permissions configs 2018-02-13 15:04:21 +01:00
Jim Laurie
244b280919 New format store constructor
strapi.store(source).get(params)
strapi.store(source).set({params, value})

Co-authored-by: Aurelsicoko <aurelsicoko@gmail.com>
2018-02-06 13:10:43 +01:00
Jim Laurie
29af75cc51 Use database config for users-permissions plugin
Delete advanced, grant and email json files
Update setter to update data
2018-02-01 18:12:38 +01:00
Jim Laurie
c044b105fc Fix block provider conditions 2018-01-29 17:12:49 +01:00
Jim Laurie
0164a76d4c Fix disable register and provider login 2018-01-29 13:12:49 +01:00
Aurelsicoko
1d98cdd8a4 Assign guest role to user using provider auth 2018-01-25 16:37:35 +01:00
Jim Laurie
0e74eafc74 Fix second auth with provider 2018-01-25 15:48:56 +01:00
Jim Laurie
bdc3b273da Handle if no display name google login 2018-01-25 15:30:57 +01:00
Jim Laurie
7cddfd9340 Fix get twitter data 2018-01-25 15:04:42 +01:00
cyril lopez
c4dac29bf6 Fix conflict 2018-01-25 13:43:07 +01:00
Jim LAURIE
01bb4cd0e2
Remove last else condition 2018-01-25 12:26:09 +01:00
Jim Laurie
64d3149876 Fix PR feedback 2018-01-25 11:53:22 +01:00
Jim Laurie
4eb81abe5f Use async/await provider service 2018-01-25 08:54:17 +01:00
cyril lopez
2031b8c9d7 Set user role when registering with a provider 2018-01-24 17:31:22 +01:00
cyril lopez
9e5d0e991b Fix provider auth 2018-01-23 17:25:58 +01:00
Jim Laurie
a6e78f023b Fix conflicts 2018-01-23 10:55:57 +01:00
Jim Laurie
6b418b1460 Fix PR feedback and add twitter provider 2018-01-23 09:30:25 +01:00
Jim Laurie
1bcae6c73e Add unique email restriction on provider and local register 2018-01-15 17:58:11 +01:00
Jim Laurie
072dc10137 Add registration restriction on provider and local register 2018-01-15 15:19:59 +01:00
Jim Laurie
6e44e2e274 Add provider connection 2018-01-12 15:20:13 +01:00