Jim LAURIE
d4432d1627
fix: update user loggedin via provider
...
Apply the password not null validation only if the provider is local.
With that provider users not require a password on profile update.
fix #2963
2019-12-28 16:42:53 +01:00
Jonathan Tey
b35409cf5e
Fix spelling Eamil -> Email
2019-10-17 18:01:09 +08:00
KalanyuZ
edbff44c82
Add GraphQL register/login ( #3879 )
...
* Add GraphQL login
* Add GraphQL register
* Add graphql login/register/delete End2End test
* Update from requests
* Remove logging
* Update to beta.16
* Update
* Add error handling
* Util function
* Update
2019-10-15 17:17:54 +02:00
Alexandre Bodin
bf7870de3b
Merge branch 'master' of github.com:strapi/strapi into chore/routing-x-forwarded
2019-09-18 17:29:09 +02:00
Alexandre Bodin
c9a3bfc763
Clean code styling
2019-09-18 13:26:56 +02:00
Alexandre Bodin
6c2d413ba0
Fix user-permissions graphql permissions and update user
2019-09-18 12:07:45 +02:00
Alexandre Bodin
6ec284180a
sanitize user model data
2019-09-12 10:50:52 +02:00
Alexandre Bodin
a22f2cefef
Remove x-forwarded-host.
...
- set security defaults for development mode that are standard
- refactor error messages to work without ctx.request.admin
- remove mask middleware and add a sanitization layer to the core-api to
hide private fileds
2019-09-06 14:33:24 +02:00
Alexandre Bodin
e4c7a699fb
Add image upload in routing policy of the content manager
2019-08-05 10:31:18 +02:00
Alexandre Bodin
56c59c5ae1
Implement deleteMany in query.delete
2019-07-16 20:11:34 +02:00
Alexandre Bodin
ed6d35d51d
Implement delete user
2019-07-16 17:23:40 +02:00
Alexandre Bodin
3e53d7c8c2
Fix user update and boolean values in DB
2019-07-16 17:23:39 +02:00
Alexandre Bodin
c4b7ae55e6
Fix username unique in users-permissions plugin and implement sql db unique option
2019-07-16 17:23:39 +02:00
Alexandre Bodin
1658b48aa0
Refactor users-permissions to use the new strapi.query
2019-07-16 17:23:38 +02:00
Alexandre Bodin
0b4096a045
Add _q param to GET /users
2019-05-23 10:18:44 +02:00
Alexandre Bodin
a41641bfe4
Add a queries interface to the plugins
2019-04-26 13:40:23 +02:00
Kamal Bennani
17d8eb36c0
Adapt User plugin to the new API
2019-03-21 09:06:06 +01:00
Jim LAURIE
f90255bb75
Merge branch 'master' into issue/2327
2019-01-22 13:52:13 +01:00
Jim LAURIE
b4968697a0
Fix update user email
2019-01-22 11:41:49 +01:00
David Baxter
c01124388d
Incorrect params variable name in user update
2019-01-16 14:39:24 +11:00
Aurélien Georget
e1ce257d2f
Revert codebase and apply limit, skip, start and sort parameters
2018-12-06 18:11:53 +01:00
Aurélien Georget
540e1bccf8
Allow private attribute into input definition
2018-11-27 14:59:28 +01:00
Aurélien Georget
9e0faf9b5c
Fix deleteUser mutation for Mongoose and Bookshelf
2018-11-27 14:54:34 +01:00
entwicklerfr
dfca24c908
FIX Creating a user in AdminUI does not properly set provider type to local
2018-10-28 00:47:09 +02:00
Jim Laurie
4d47d65c6d
Fix default role provider and create user fix #1212
2018-06-12 19:19:10 +02:00
soupette
e7357e025c
Handle delete many with models from users-permissions
2018-06-06 16:20:52 +02:00
soupette
68504fbe16
Add eslint to users-permissions backend
2018-04-30 18:26:56 +02:00
soupette
6b3e3d472f
Improve errors notifications
2018-04-24 11:45:09 +02:00
Aurélien GEORGET
11c68bebf2
Update User.js
2018-03-19 17:31:04 +01:00
Jim Laurie
cf029dac07
Create db entry on upload and get uploads
2018-02-19 15:41:26 +01:00
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
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
a8c59f999a
Fix user update via API and content-type-builder
2018-02-02 12:59:34 +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
7c16f512e6
Fix unique email for user API
2018-01-26 09:37:24 +01:00
Jim Laurie
6ae2f6dfee
Add unique email verification on user update
2018-01-18 14:10:26 +01:00
cyril lopez
2af14f24c5
Throw error when trying to get /user/me with no headers
2018-01-11 16:24:16 +01:00
Luca Perret
5035170424
feat(plugin-users-permissions): add /user/me to fetch authenticated user model
2018-01-10 20:29:34 +01:00
Luca Perret
d877440862
typo(plugin-users-permissions): useless curly brace
2018-01-10 20:28:05 +01:00
Jim Laurie
4cb88af247
Fix PR feedback
2017-12-15 14:22:11 +01:00
Jim Laurie
b5c813e5f8
Can not set role 0 to someone user API
2017-12-15 10:49:01 +01:00
Jim Laurie
78c2b252cd
Fix find users
2017-12-14 16:29:13 +01:00
Jim Laurie
5b4f91dcff
Fix some PR feedback
2017-12-07 18:16:15 +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
Jim Laurie
6eb4a5cb77
Fix user update encrypted password
2017-12-04 15:35:45 +01:00
Aurelsicoko
191092fca9
Redirect CM action to plugin's controller for User plugin
2017-11-29 16:10:13 +01:00
Jim Laurie
4ad44f016b
Init user models and fix api prefix
2017-11-14 11:11:22 +01:00