* Added privateAttributes globally and per model
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added tests for sanitizeEntity
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed broken test
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added privateAttributes to GraphQL responses
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Added docs for privateAttributes
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Refactored and fixed PR comments
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Merged tests and fixed broken tests from merge
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Updated documentation for new option
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Refactored GraphQL implementation
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed PR comments
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Fixed tests for sanitize-entity
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Removed code and tests for ignorePrivateFor
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Exported getPrivateAttributes for GraphQL plugin
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* Removed ignorePrivateFor from docs
Signed-off-by: Diego Albitres <diego.albitres@gmail.com>
* feat(server): allow listening on unix socket through `server.socket` configuration
Signed-off-by: Adam Lee <duo1123@gmail.com>
* docs(server): documentation for socket config
Signed-off-by: Adam Lee <duo1123@gmail.com>
* Updated Models Page Grammar
Quickly went through the models' page in the documentation and updated some grammar as well as added some emphasis and brief clarification in a couple of places.
* Edited slight typo.
* Updated Models Page Grammar
Quickly went through the models' page in the documentation and updated some grammar as well as added some emphasis and brief clarification in a couple of places.
Signed-off-by: Christopher Wray <53663762+cwray-tech@users.noreply.github.com>
* Edited slight typo.
Signed-off-by: Christopher Wray <53663762+cwray-tech@users.noreply.github.com>
* Add _publicationState request param / Returns live by default for CT that have D&P activated
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
* Edit `understanding login flow` to be more readable
- Edit steps 2 and 4 to make it more readable. The previous one is quite confusing when I read it.
- Edit assumption `Let's say...` to be more readable
- Change github to GitHub for consistency
Signed-off-by: Rud Wangrungarun <rudwna@gmail.com>
* Revert change in Understanding the login flow assumption
Signed-off-by: Rud Wangrungarun <rudwna@gmail.com>
* Update email.md
to emphasize the part that developer need to pay attention to, especially the file name, and rewrite the part of the sentences on updating default sender email to make it works with the new email provider. Such that those who read this documentation could avoid hours of troubleshooting this configuration, (like what I had)
Signed-off-by: William Cheong Weelau <cheongweelau@gmail.com>
* Update email.md
Added the missing `:::` to close the newly added tip paragraph
Signed-off-by: William Cheong Weelau <cheongweelau@gmail.com>
The default SingleType service doesn't have an findOne() function only find().
See https://github.com/strapi/strapi/issues/7718 for details
Signed-off-by: Amir Lellouche <lalosher@gmail.com>