From 01aac0ca5db6a3ebc074d4380e0336ef2bb80073 Mon Sep 17 00:00:00 2001 From: Hayden <64056131+hay-kot@users.noreply.github.com> Date: Sun, 27 Nov 2022 10:17:43 -0900 Subject: [PATCH] docs: account-unlock (#1862) * fix #1854 * generate spec * add note about unlock script to FAQ --- docs/docs/documentation/getting-started/faq.md | 14 ++++++++++++-- .../docs/documentation/getting-started/updating.md | 2 +- docs/docs/overrides/api.html | 2 +- 3 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docs/docs/documentation/getting-started/faq.md b/docs/docs/documentation/getting-started/faq.md index a1f7521894f2..cbe6a0e62df5 100644 --- a/docs/docs/documentation/getting-started/faq.md +++ b/docs/docs/documentation/getting-started/faq.md @@ -4,7 +4,7 @@ Yes. If you are using the v1 branches (including beta), you can upgrade to the latest version of Mealie without performing a site Export/Restore. This process was required in previous versions of Mealie, however we've automated the database migration process to make it easier to upgrade. Not that if you were using the v0.5.x version, you CANNOT upgrade to the latest version automatically. You must follow the migration instructions in the documentation. -**Links** +Links - [Migration From v0.5.x](./migrating-to-mealie-v1.md) @@ -41,10 +41,20 @@ Yes, you can install Mealie on your local machine. HOWEVER, it is recommended th - [Advanced Installation](./installation/advanced/) -## How I can attach an Image or Video to a Recipe? +## How i can attach an image or video to a Recipe? Yes. Mealie's Recipe Steps and other fields support the markdown syntax and therefor supports images and videos. To attach an image to the recipe, you can upload it as an asset and use the provided copy button to generate the html image tag required to render the image. For videos, Mealie provides no way to host videos. You'll need to host your videos with another provider and embed them in your recipe. Generally, the video provider will provide a link to the video and the html tag required to render the video. For example, youtube provides the following link that works inside a step. You can adjust the width and height attributes as necessary to ensure a fit. ```html ``` + +## How can I unlock my account? + +If your account has been locked by bad password attempts, you can use an administrator account to unlock another account. Alternatively you can unlock all account via a scripts within the container. + +```shell +docker exec -it mealie-next bash + +python /app/mealie/scripts/reset_locked_users.py +``` diff --git a/docs/docs/documentation/getting-started/updating.md b/docs/docs/documentation/getting-started/updating.md index 27391fb91d25..be097e397f6e 100644 --- a/docs/docs/documentation/getting-started/updating.md +++ b/docs/docs/documentation/getting-started/updating.md @@ -11,7 +11,7 @@ ## Backing Up Your Data -[See Backups and Restore Section](../admin/backups-and-exports.md) for details on backing up your data +[See Backups and Restore Section](../getting-started/usage/backups-and-restoring.md) for details on backing up your data ## Docker For all setups using Docker the updating process looks something like this diff --git a/docs/docs/overrides/api.html b/docs/docs/overrides/api.html index 6ba81c6007db..7f68a2615d00 100644 --- a/docs/docs/overrides/api.html +++ b/docs/docs/overrides/api.html @@ -14,7 +14,7 @@