mirror of
https://github.com/penpot/penpot-docs.git
synced 2024-07-06 05:41:47 +00:00
Merge pull request #228 from penpot/niwinz-update
⬆️ Update dependencies
This commit is contained in:
commit
9b1d0e6bd5
21
package.json
21
package.json
|
@ -24,19 +24,20 @@
|
|||
},
|
||||
"homepage": "https://docs.penpot.app",
|
||||
"dependencies": {
|
||||
"@11ty/eleventy": "^1.0.0",
|
||||
"@11ty/eleventy-navigation": "^0.3.2",
|
||||
"@11ty/eleventy-plugin-rss": "^1.1.1",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^4.2.0",
|
||||
"@11ty/eleventy": "^2.0.1",
|
||||
"@11ty/eleventy-navigation": "^0.3.5",
|
||||
"@11ty/eleventy-plugin-rss": "^1.2.0",
|
||||
"@11ty/eleventy-plugin-syntaxhighlight": "^5.0.0",
|
||||
"@tigersway/eleventy-plugin-ancestry": "^1.0.3",
|
||||
"@types/markdown-it": "14.1.0",
|
||||
"elasticlunr": "^0.9.5",
|
||||
"eleventy-plugin-metagen": "^1.6.1",
|
||||
"eleventy-plugin-metagen": "^1.8.3",
|
||||
"eleventy-plugin-nesting-toc": "^1.3.0",
|
||||
"eleventy-plugin-youtube-embed": "^1.8.0",
|
||||
"luxon": "^3.2.1",
|
||||
"markdown-it": "^13.0.1",
|
||||
"markdown-it-anchor": "^8.6.6",
|
||||
"eleventy-plugin-youtube-embed": "^1.10.2",
|
||||
"luxon": "^3.4.4",
|
||||
"markdown-it": "^14.1.0",
|
||||
"markdown-it-anchor": "^9.0.1",
|
||||
"markdown-it-plantuml": "^1.4.1"
|
||||
},
|
||||
"packageManager": "yarn@4.1.1"
|
||||
"packageManager": "yarn@4.2.2"
|
||||
}
|
||||
|
|
|
@ -47,8 +47,16 @@ You also can restict the registrations to a closed list of domains:
|
|||
```bash
|
||||
# comma separated list of domains (backend only)
|
||||
PENPOT_REGISTRATION_DOMAIN_WHITELIST=""
|
||||
|
||||
# OR
|
||||
PENPOT_EMAIL_DOMAIN_WHITELIST=path/to/whitelist.txt
|
||||
```
|
||||
|
||||
**NOTE**: Since version 2.1, email whitelisting should be explicitly
|
||||
enabled with `enable-email-whitelist`. For backward compatibility, we
|
||||
autoenable it when `PENPOT_REGISTRATION_DOMAIN_WHITELIST` is set with
|
||||
not-empty content.
|
||||
|
||||
### Demo users ###
|
||||
|
||||
Penpot comes with facilities for fast creation of demo users without the need of a
|
||||
|
@ -62,9 +70,6 @@ You can enable demo users using the following variable:
|
|||
PENPOT_FLAGS="$PENPOT_FLAGS enable-demo-users"
|
||||
```
|
||||
|
||||
They are disabled by default since 1.13.0
|
||||
|
||||
|
||||
### Authentication Providers
|
||||
|
||||
To configure the authentication with third-party auth providers you will need to
|
||||
|
@ -175,8 +180,11 @@ PENPOT_OIDC_ROLES="role1 role2"
|
|||
# not provided, the roles checking will be disabled.
|
||||
PENPOT_OIDC_ROLES_ATTR=
|
||||
```
|
||||
<br />
|
||||
|
||||
Since version 1.6.0:
|
||||
__Since version 1.6.0__
|
||||
|
||||
Added the ability to specify custom OIDC scopes.
|
||||
|
||||
```bash
|
||||
# This settings allow overwrite the required scopes, use with caution
|
||||
|
@ -184,8 +192,12 @@ Since version 1.6.0:
|
|||
# user info. Optional, defaults to `openid profile`.
|
||||
PENPOT_OIDC_SCOPES="scope1 scope2"
|
||||
```
|
||||
<br />
|
||||
|
||||
Since version 1.12.0
|
||||
__Since version 1.12.0__
|
||||
|
||||
Added the ability to specify the name and email attribute to use from
|
||||
the userinfo object for the profile creation.
|
||||
|
||||
```bash
|
||||
# Attribute to use for lookup the name on the user object. Optional,
|
||||
|
@ -196,6 +208,22 @@ PENPOT_OIDC_NAME_ATTR=
|
|||
# if not perovided, the `email` prop will be used.
|
||||
PENPOT_OIDC_EMAIL_ATTR=
|
||||
```
|
||||
<br />
|
||||
|
||||
__Since version 1.19.0__
|
||||
|
||||
Introduced the ability to lookup the user info from the token instead
|
||||
of making a request to the userinfo endpoint. This reduces the latency
|
||||
of OIDC login operations and increases compatibility with some
|
||||
providers that exposes some claims on tokens but not in userinfo
|
||||
endpoint.
|
||||
|
||||
```bash
|
||||
# Set the default USER INFO source. Can be `token` or `userinfo`. By default
|
||||
# is unset (both will be tried, starting with token).
|
||||
|
||||
PENPOT_OIDC_USER_INFO_SOURCE=
|
||||
```
|
||||
|
||||
|
||||
#### Azure Active Directory using OpenID Connect
|
||||
|
@ -424,26 +452,36 @@ headless web browser).
|
|||
## Other flags
|
||||
|
||||
- `enable-cors`: Enables the default cors cofiguration that allows all domains (this
|
||||
configuration is designed only for dev purposes right now).
|
||||
- `enable-backend-api-docs`: Enables the `/api/_doc` endpoint that lists all rpc methods
|
||||
available on backend.
|
||||
configuration is designed only for dev purposes right now)
|
||||
- `enable-backend-api-doc`: Enables the `/api/doc` endpoint that lists all rpc methods
|
||||
available on backend
|
||||
- `enable-insecure-register`: Enables the insecure process of profile registrion
|
||||
deactivating the email verification process (only for local or internal setups).
|
||||
- `enable-user-feedback`: Enables the feedback form at the dashboard.
|
||||
deactivating the email verification process (only for local or internal setups)
|
||||
- `disable-secure-session-cookies`: By default, penpot uses the `secure` flag on cookies,
|
||||
this flag disables it; it is usefull if you have plan to serve penpot under different
|
||||
domain than `localhost` without HTTPS.
|
||||
- `disable-login`: allows disable password based login form.
|
||||
domain than `localhost` without HTTPS
|
||||
- `disable-login-with-password`: allows disable password based login form
|
||||
- `disable-registration`: disables registration (still enabled for invitations only).
|
||||
- `enable-prepl-server`: enables PREPL server, used by manage.py and other additional
|
||||
tools for communicate internally with penpot backend.
|
||||
tools for communicate internally with penpot backend
|
||||
|
||||
Since version 1.13.0:
|
||||
__Since version 1.13.0__
|
||||
|
||||
- `enable-log-invitation-tokens`: for cases where you don't have email configured, this
|
||||
will log to console the invitation tokens.
|
||||
will log to console the invitation tokens
|
||||
- `enable-log-emails`: if you want to log in console send emails. This only works if smtp
|
||||
is not configured.
|
||||
is not configured
|
||||
|
||||
__Since version 2.0.0__
|
||||
|
||||
- `disable-onboarding-team`: for disable onboarding team creation modal
|
||||
- `disable-onboarding-newsletter`: for disable onboarding newsletter modal
|
||||
- `disable-onboarding-questions`: for disable onboarding survey
|
||||
- `disable-onboarding`: for disable onboarding modal
|
||||
- `disable-dashboard-templates-section`: for hide the templates section from dashboard
|
||||
- `enable-webhooks`: for enable webhooks
|
||||
- `enable-access-tokens`: for enable access tokens
|
||||
- `disable-google-fonts-provider`: disables the google fonts provider (frontend)
|
||||
|
||||
[1]: /technical-guide/getting-started#configure-penpot-with-elestio
|
||||
[2]: /technical-guide/getting-started#configure-penpot-with-docker
|
||||
|
|
Loading…
Reference in New Issue
Block a user