67 Commits

Author SHA1 Message Date
Jim Laurie
957e7a08cb Environment agnostic for users-permissions configs 2018-02-13 15:04:21 +01:00
Jim Laurie
5bf1e51422 Fix conflicts 2018-02-12 13:25:43 +01:00
Jim LAURIE
08d74e1515
Merge branch 'master' into fix/boot 2018-02-09 17:02:18 +01:00
Aurelsicoko
46a64b449f Update default hook timeout to 3000 milliseconds 2018-02-09 16:36:23 +01:00
Jim Laurie
05804c391a Update user info in JWT
Just set user id in auth jwt
fix #528
2018-02-08 14:37:54 +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
M1chaelTran
1d24e2b873 close #552 2018-02-03 00:30:01 +11: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
0164a76d4c Fix disable register and provider login 2018-01-29 13:12:49 +01:00
Jim LAURIE
6ac7692214
Merge branch 'master' into update-email-template 2018-01-26 11:30:58 +01:00
Jim Laurie
7f78cc9f84 Change data format email template 2018-01-26 10:18:36 +01:00
Aurelsicoko
8a66873405 Display better error message & lock fields 2018-01-25 18:12:29 +01:00
Jim LAURIE
319f17be4d
Merge branch 'master' into fix-providers 2018-01-25 16:01:20 +01:00
Aurelsicoko
1ac6a56ce0 Resolve conflicts 2018-01-25 15:26:25 +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
Aurelsicoko
fc21d5f30a Resolve conflicts 2018-01-25 13:25:09 +01:00
Jim Laurie
64d3149876 Fix PR feedback 2018-01-25 11:53:22 +01:00
cyril lopez
3a02cd9ac4 Fix error when trying to log with a provider when already used another one
The error occured when login with GitHub and then trying to login with FB. It returned a 500 so to avoid 500 error I catched the error and return a badRequest
2018-01-25 11:52:17 +01:00
Jim Laurie
2e1283f117 Fix conflict 2018-01-25 10:02:17 +01:00
Jim Laurie
2b57c3e6de Move grant middleware in controller action 2018-01-25 09:59:24 +01:00
Jim Laurie
a2d7ffce74 User service to template email 2018-01-25 08:38:46 +01:00
Aurelsicoko
cf1cb7050b Resolve conflicts and disallow to edit and remove default roles 2018-01-24 11:52:09 +01:00
Aurelsicoko
f2bff7f17d Return an error if a non-admin user try to connect to the admin 2018-01-24 11:38:42 +01:00
Aurelsicoko
8f85d85349 Improve roles in database to work with Bookshelf 2018-01-23 18:54:17 +01:00
cyril lopez
6050643757 Update branch
Merge branch 'master' of github.com:strapi/strapi into auth-provider/configs-front
2018-01-23 16:00:56 +01:00
cyril lopez
db23c22ee4 Update branch
Merge branch 'auth-provider/configs' of github.com:strapi/strapi into auth-provider/configs-front
2018-01-23 15:58:48 +01:00
Luca
202d5d97c4
Merge branch 'master' into master 2018-01-23 14:02:31 +01:00
Luca
adc532cf74
feat(plugin-users-permissions): lowercase email 2018-01-23 13:35:51 +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
cyril lopez
630e06d7fa Get providers 2018-01-19 15:14:51 +01:00
cyril lopez
11c5905d25 form to edit email templates 2018-01-19 13:34:55 +01:00
Luca Perret
0641c7b279 fix(plugin-users-permissions): undefined value 2018-01-18 23:27:59 +01:00
Luca Perret
2816863cfc fix(plugin-users-permissions): auth register lower case identifier 2018-01-18 23:27:59 +01:00
Luca Perret
d0d70976c9 feat(plugin-users-permissions): auth email case-insensitive 2018-01-18 23:27:59 +01:00
Jim Laurie
f9920a4739 Disable local provider 2018-01-18 16:01:52 +01:00
Jim Laurie
b2e07979c7 Template forgot password email object 2018-01-18 10:03:29 +01:00
Aurelsicoko
4aa28a196e [WIP] Read and update roles & permissions using database 2018-01-17 18:50:12 +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
3a9cb9b453 Use email templte config reset password 2018-01-15 14:50:53 +01:00
Jim Laurie
6e44e2e274 Add provider connection 2018-01-12 15:20:13 +01:00
Jim Laurie
5b4f91dcff Fix some PR feedback 2017-12-07 18:16:15 +01:00
cyril lopez
cba9cac629 Delete useless request file in ctm and order Auth controller by function s name 2017-12-07 15:21:54 +01:00
Jim Laurie
3f15a5b618 Fix bookshelf fetch for auth 2017-12-07 14:56:25 +01:00
cyril lopez
ac102e88e5 Fix conflict 2017-12-06 15:15:43 +01:00
cyril lopez
59872ac890 Handle backend errors in ctm 2017-12-06 15:11:55 +01:00
Jim Laurie
15e4f9985f Remove password and token from fetchable data USER API / AUTH 2017-12-06 14:15:27 +01:00
cyril lopez
1084e88826 Catch register errors and handle it in front 2017-12-06 12:19:43 +01:00