You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* auth route v4 (#553)
i found that default authentication route should be `/api/auth/local`
* fix: typo in backend-customization/middlewares.md (#557)
* Update i18n.md (#564)
Co-authored-by: Pierre Wizla <[email protected]>
* Added API suffix (#556)
Co-authored-by: Pierre Wizla <[email protected]>
* fix wrong uid (#558)
Signed-off-by: harimkims <[email protected]>
Co-authored-by: Pierre Wizla <[email protected]>
* default route user register in v4 (#554)
I found that default route user register in v4 is `api/auth/local/register`
Co-authored-by: DMehaffy <[email protected]>
Co-authored-by: Pierre Wizla <[email protected]>
* Fix remaining localhost links (#568)
* Fix wrong syntax in GraphQL plugin docs (#537)
Signed-off-by: harimkims <[email protected]>
Co-authored-by: Pierre Wizla <[email protected]>
* Fix wrong parameter name in connection.connection (#559)
In the documentation about the connection parameters, the `username` parameter does not actually exist. This is probably a typo and should be replaced by the `user` parameter as per the example given below on the same page.
Co-authored-by: DMehaffy <[email protected]>
Co-authored-by: Pierre Wizla <[email protected]>
* Fix broken links in GraphQL & i18n (#583)
* Update default MySQL Port (#575)
Update default MySQL Port in example to 3306
Co-authored-by: Pierre Wizla <[email protected]>
* Add closing parenthesis to predefined hook code example (#589)
* 📖 ⬆️ bump Mysql/MariaDB minimum verison (#593)
- bump MyQL/MariaDB Minimum Version for `JSON` datatype support
* Update controllers.md (#586)
There should be two enclosing parenthesis at the end.
Co-authored-by: Pierre Wizla <[email protected]>
* Fix config example for GraphQL (#591)
Co-authored-by: Pierre Wizla <[email protected]>
* docs: One-to-One should use singular in example (#570)
Co-authored-by: Pierre Wizla <[email protected]>
* Remaining auth v4 changes (#565)
There are still some references to the v3 auth endpoints (without `/api` at the start) on the Users and Permissions plugin documentation.
# What does it do?
Updates Strapi endpoints to include `/api` at the start
# Why is it needed?
This change should be documented; it caused a lot of confusion for me as I was trying to figure out why my authentication was not working on v4.
# Related issue(s)/PR(s)
A similar thing was fixed for the guides in PR #553
Co-authored-by: Pierre Wizla <[email protected]>
Co-authored-by: DMehaffy <[email protected]>
* lifecycles.js file is not generated automatically (#566)
* lifecycles.js file is not generated automatically
I think since version 4, the lifecycles.js file is not created automatically but needs to be created manually, if needed.
Postscript
Correct me if I'm wrong.
You can also rephrase this change if it is relevant and true.
Thanks
* Update docs/developer-docs/latest/development/backend-customization/models.md
Co-authored-by: DMehaffy <[email protected]>
* Update docs/developer-docs/latest/development/backend-customization/models.md
Co-authored-by: Pierre Wizla <[email protected]>
Co-authored-by: DMehaffy <[email protected]>
Co-authored-by: Pierre Wizla <[email protected]>
* Rewrite REST examples to use QS + Misc fixes (#541)
* WIP rewriting REST guide
* Fix example
* rewrite filtering and init the other two
* move to request/response instead
* remove an example and fix typo
* remove another example based on community feedback
* add missing $and and $or
* 99% finished with filtering
* wip population
* Try adding some GitHub Actions to check links
* fix syntax error in tests file
* Force working directory
* change to only pull request
* Fix publicationState and add field selection
* Add relation population examples
* Add component exmple
* basic dynamic zone example, need a more complex one too
Need to talk to engineering about more complex example
* Finished rewriting REST docs
Just need to clean up left menu
* Fix broken links
* Fix missing commas in examples
* Fix all non-uniform uses of `// ...`
Yes I was bored af
* fix example response syntax error
* Fix extra data comments
* remove workflow from this PR
move to #574
* pr feedback 1
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest-api.md
Co-authored-by: Pierre Wizla <[email protected]>
* Apply suggestions from code review
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest-api.md
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest-api.md
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest-api.md
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.md
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.md
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.md
Co-authored-by: Pierre Wizla <[email protected]>
* Update docs/developer-docs/latest/developer-resources/database-apis-reference/rest/populating-fields.md
Co-authored-by: Pierre Wizla <[email protected]>
* tweak menu + other fixes
Co-authored-by: Pierre Wizla <[email protected]>
* Corrected: Database.js Structure and key variable (#603)
The default structure provided in the doc doesn't work on AWS. The provided syntax which has connection object within connection object which consists of configurations seems to work.
username key is being replaced with user
* Change strapi.api example from function to array (#539)
* Add information about uid and remove model name for upload ref (#614)
* Update server.md (#598)
* Update i18n docs, fix locale filter typo + autoformat (#609)
* Update email.md (#611)
Link to correct sendgrid npm
* Fix wrong strapi module name for server.js (#615)
Signed-off-by: harimkims <[email protected]>
* easy syntax corrections in entity-service/crud (#620)
* easy syntax correction. should be api:: with double colon
* fix typo in entity service example
* fix some of the broken links (#626)
* Fix typo in configuration options (#619)
Configuration options for toggling tutorials on or off and
notifying about new releases contained a typo referencing
"tutorial" key instead of "tutorials" and "notification.release"
instead of "notification.releases"
* entityService/populate updates to v4 (#621)
* entityService is not function
* add await to entityService
* some changes entity-service/populate
* Update entity-service/populate.md
Co-authored-by: DMehaffy <[email protected]>
* Update populate.md
Co-authored-by: DMehaffy <[email protected]>
* typos (#628)
* Update upload.md (#616)
Typo in "middleware"
Co-authored-by: azulkipli <[email protected]>
Co-authored-by: Alexander Kainzinger <[email protected]>
Co-authored-by: George F <[email protected]>
Co-authored-by: Pierre Wizla <[email protected]>
Co-authored-by: Precious Luke <[email protected]>
Co-authored-by: Kim, Harim <[email protected]>
Co-authored-by: Camille Briand <[email protected]>
Co-authored-by: Adam Miedema <[email protected]>
Co-authored-by: YoRolling <[email protected]>
Co-authored-by: Zeeshan Tariq <[email protected]>
Co-authored-by: smoothdvd <[email protected]>
Co-authored-by: arielbk <[email protected]>
Co-authored-by: Adiel Ben Moshe <[email protected]>
Co-authored-by: Shubam Virdi <[email protected]>
Co-authored-by: cvermand <[email protected]>
Co-authored-by: Richard Nsama <[email protected]>
Co-authored-by: Stefano <[email protected]>
Co-authored-by: Jean-Sébastien Herbaux <[email protected]>
Co-authored-by: Francesco Bianchi <[email protected]>
Co-authored-by: Sharsie <[email protected]>
Co-authored-by: sunnyson <[email protected]>
Co-authored-by: Jozef Culen <[email protected]>
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/concepts/draft-and-publish.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -10,15 +10,15 @@ The draft and publish feature allows you to save your content as a draft, to pub
10
10
11
11
## Activating or deactivating the draft and publish feature
12
12
13
-
By default, the draft and publish feature is activated for all newly created collection and single types. It is however possible to deactive the feature at content type level (i.e. it can be activated for one content type, but deactivated for another).
13
+
By default, the draft and publish feature is activated for all newly created collection and single types. It is however possible to deactivate the feature at content type level (i.e. it can be activated for one content type, but deactivated for another).
14
14
15
15
::: warning
16
16
If the feature is deactivated while contents are saved as drafts, they will automatically be deleted. Make sure all contents are published before deactivating the feature.
17
17
:::
18
18
19
19
To deactivate the draft and publish feature for a content type:
20
20
21
-
1. Go the Plugins > Content-Type Builder.
21
+
1. Go to the Plugins > Content-Type Builder.
22
22
2. Select the collection or single type for which you want the draft and publish feature to be deactivated.
23
23
3. Click on the Edit <Fa-PencilAlt /> button to access the content type's configurations.
Complex populating can be achieved by using the [`filters` parameter](/developer-docs/latest/developer-resources/database-apis-reference/entity-service/filter.md) and select or populate nested relations or components:
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -359,7 +359,7 @@ export default {
359
359
bootstrap(app) {
360
360
// Adding several links at once
361
361
app.addSettingsLinks(
362
-
'global', // id of the section to addd the link in
362
+
'global', // id of the section to add the link in
363
363
[{
364
364
intLabel: { id:String, defaultMessage:String },
365
365
id:String,
@@ -389,7 +389,7 @@ Injection zones are defined in the [register()](#register) lifecycle but compone
389
389
390
390
Strapi admin panel comes with predefined injection zones so components can be added to the UI of the [Content Manager](/user-docs/latest/content-manager/introduction-to-content-manager.md):
391
391
392
-
<!-- TODO: maybe add screenshots once design system is ready? -->
392
+
<!-- TODO: maybe add screenshots once the design system is ready? -->
A Strapi [plugin](/developer-docs/latest/plugins/plugins-intro.md) can interact with the back end or the [front end](/developer-docs/latest/developer-resources/plugin-api-reference/admin-panel.md) of the Strapi application. The Server API is about the back end part.
11
11
12
-
Creating and using a plugin interacting with the Server API consists in 2 steps:
12
+
Creating and using a plugin interacting with the Server API consists of 2 steps:
13
13
14
14
1. Declare and export the plugin interface within the [`strapi-server.js` entry file](#entry-file)
15
15
2.[Use the exported interface](#usage)
@@ -140,10 +140,10 @@ module.exports = () => ({
140
140
constcontentTypeA=require('./content-type-a');
141
141
constcontentTypeB=require('./content-type-b');
142
142
143
-
module.exports=[
143
+
module.exports={
144
144
'content-type-a': contentTypeA, // should re-use the singularName of the content-type
Once a plugin is exported and loaded into Strapi, its features are accessible in the code through getters. The Strapi instance (`strapi`) exposes top-level getters and global getters.
388
388
389
-
While top-level getters imply chaining functions, global getters are syntactic sugar that allow direct access using a feature's uid:
389
+
While top-level getters imply chaining functions, global getters are syntactic sugar that allows direct access using a feature's uid:
390
390
391
391
```js
392
392
// Access an API or a plugin controller using a top-level getter
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/getting-started/troubleshooting.md
+3-3
Original file line number
Diff line number
Diff line change
@@ -67,15 +67,15 @@ For all these reasons, and others, we think it'll be a mistake and might confuse
67
67
68
68
## How do I customize a plugin?
69
69
70
-
Strapi uses a system called [extensions](/developer-docs/latest/development/plugins-extension) as plugins are stored in the `node_modules` folder. Due to this extensions work by Strapi detecting newer versions of files and using that as a replacement for the ones stored within the `node_modules`.
70
+
Strapi uses a system called [extensions](/developer-docs/latest/development/plugins-extension.md) as plugins are stored in the `node_modules` folder. Due to this extensions work by Strapi detecting newer versions of files and using that as a replacement for the ones stored within the `node_modules`.
71
71
72
72
You gain the ability to modify these files without forking the plugin package, however you lose the ability to easily update. After each version release you will need to compare your changes to those in the new version and modify your version of the files accordingly.
73
73
74
74
<!-- TODO: Confirm with Frontend team if this FAQ is accurate -->
75
75
76
76
## Can I add my own 3rd party auth provider?
77
77
78
-
Yes, you can either follow the following [guide](/developer-docs/latest/plugins/users-permissions.md#adding-a-new-provider-to-your-project) or you can take a look at the [users-permissions](https://github.com/strapi/strapi/tree/master/packages/strapi-plugin-users-permissions) and submit a pull request to include the provider for everyone. Eventually Strapi does plan to move from the current grant/purest provider to a split natured system similar to the upload providers.
78
+
Yes, you can either follow the following [guide](/developer-docs/latest/plugins/users-permissions.md#adding-a-new-provider-to-your-project) or you can take a look at the [users-permissions](https://github.com/strapi/strapi/tree/master/packages/plugins/users-permissions) and submit a pull request to include the provider for everyone. Eventually Strapi does plan to move from the current grant/purest provider to a split natured system similar to the upload providers.
79
79
80
80
There is currently no ETA on this migration however.
81
81
@@ -95,7 +95,7 @@ On Linux based operating systems you need root permissions to bind to any port b
95
95
96
96
Likewise since Strapi is Node.js based, in order for changes with the SSL certificate to take place (say when it expires) you would need to restart your application for that change to take effect.
97
97
98
-
Due to these two issues, it is recommended you use a proxy application such as [Nginx](/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy), [Caddy](/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy), [HAProxy](/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy), Apache, Traefik, or many others to handle your edge routing to Strapi. There are settings in the environment [server.json](/developer-docs/latest/setup-deployment-guides/configurations/required/server.md) to handle upstream proxies. The proxy block requires all settings to be filled out and will modify any backend plugins such as authentication providers and the upload plugin to replace your standard `localhost:1337` with the proxy URL.
98
+
Due to these two issues, it is recommended you use a proxy application such as [Nginx](/developer-docs/latest/setup-deployment-guides/deployment/optional-software/nginx-proxy.md), [Caddy](/developer-docs/latest/setup-deployment-guides/deployment/optional-software/caddy-proxy.md), [HAProxy](/developer-docs/latest/setup-deployment-guides/deployment/optional-software/haproxy-proxy.md), Apache, Traefik, or many others to handle your edge routing to Strapi. There are settings in the environment [server.json](/developer-docs/latest/setup-deployment-guides/configurations/required/server.md) to handle upstream proxies. The proxy block requires all settings to be filled out and will modify any backend plugins such as authentication providers and the upload plugin to replace your standard `localhost:1337` with the proxy URL.
Copy file name to clipboardExpand all lines: docs/developer-docs/latest/plugins/email.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ After installing your provider you will need to add some settings in `./config/p
104
104
Make sure you have the correct spelling of the configuration filename, it is written in plural (with a trailing 's'): `plugins.js`.
105
105
:::
106
106
107
-
Here is an example of a configuration made for the provider [@strapi/provider-email-sendgrid](https://www.npmjs.com/package/strapi-provider-email-sendgrid).
107
+
Here is an example of a configuration made for the provider [@strapi/provider-email-sendgrid](https://www.npmjs.com/package/@strapi/provider-email-sendgrid).
0 commit comments