mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-31 14:34:42 -04:00
Merge branch 'mealie-next' into fix/hardcoded-strings
This commit is contained in:
commit
0933ad4367
@ -18,31 +18,26 @@
|
|||||||
"source=mealie-devcontainer-workspace,target=/workspaces/mealie/frontend/node_modules,type=volume",
|
"source=mealie-devcontainer-workspace,target=/workspaces/mealie/frontend/node_modules,type=volume",
|
||||||
"source=mealie-bashhistory,target=/home/vscode/commandhistory,type=volume"
|
"source=mealie-bashhistory,target=/home/vscode/commandhistory,type=volume"
|
||||||
],
|
],
|
||||||
// Set *default* container specific settings.json values on container create.
|
"customizations": {
|
||||||
"settings": {
|
"vscode": {
|
||||||
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
"settings": {
|
||||||
"python.linting.enabled": true,
|
"python.defaultInterpreterPath": "/usr/local/bin/python",
|
||||||
"python.linting.pylintEnabled": true,
|
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
||||||
"python.formatting.autopep8Path": "/usr/local/py-utils/bin/autopep8",
|
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
||||||
"python.formatting.blackPath": "/usr/local/py-utils/bin/black",
|
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
||||||
"python.formatting.yapfPath": "/usr/local/py-utils/bin/yapf",
|
},
|
||||||
"python.linting.banditPath": "/usr/local/py-utils/bin/bandit",
|
"extensions": [
|
||||||
"python.linting.flake8Path": "/usr/local/py-utils/bin/flake8",
|
"dbaeumer.vscode-eslint",
|
||||||
"python.linting.mypyPath": "/usr/local/py-utils/bin/mypy",
|
"matangover.mypy",
|
||||||
"python.linting.pycodestylePath": "/usr/local/py-utils/bin/pycodestyle",
|
"ms-python.black-formatter",
|
||||||
"python.linting.pydocstylePath": "/usr/local/py-utils/bin/pydocstyle",
|
"ms-python.isort",
|
||||||
"python.linting.pylintPath": "/usr/local/py-utils/bin/pylint"
|
"ms-python.pylint",
|
||||||
|
"ms-python.python",
|
||||||
|
"ms-python.vscode-pylance",
|
||||||
|
"Vue.volar"
|
||||||
|
]
|
||||||
|
}
|
||||||
},
|
},
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
|
||||||
"extensions": [
|
|
||||||
"dbaeumer.vscode-eslint",
|
|
||||||
"matangover.mypy",
|
|
||||||
"ms-python.black-formatter",
|
|
||||||
"ms-python.isort",
|
|
||||||
"ms-python.python",
|
|
||||||
"ms-python.vscode-pylance",
|
|
||||||
"Vue.volar"
|
|
||||||
],
|
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
"forwardPorts": [
|
"forwardPorts": [
|
||||||
3000,
|
3000,
|
||||||
|
11
.vscode/settings.json
vendored
11
.vscode/settings.json
vendored
@ -36,13 +36,6 @@
|
|||||||
"i18n-ally.localesPaths": "frontend/lang/messages",
|
"i18n-ally.localesPaths": "frontend/lang/messages",
|
||||||
"i18n-ally.sourceLanguage": "en-US",
|
"i18n-ally.sourceLanguage": "en-US",
|
||||||
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
"python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python",
|
||||||
"python.formatting.provider": "black",
|
|
||||||
"python.linting.enabled": true,
|
|
||||||
"python.linting.flake8Enabled": false,
|
|
||||||
"python.linting.pylintEnabled": false,
|
|
||||||
"python.linting.pylintArgs": [
|
|
||||||
"--rcfile=${workspaceFolder}/.pylintrc"
|
|
||||||
],
|
|
||||||
"python.testing.autoTestDiscoverOnSaveEnabled": false,
|
"python.testing.autoTestDiscoverOnSaveEnabled": false,
|
||||||
"python.testing.pytestArgs": [
|
"python.testing.pytestArgs": [
|
||||||
"tests"
|
"tests"
|
||||||
@ -50,7 +43,6 @@
|
|||||||
"python.testing.pytestEnabled": true,
|
"python.testing.pytestEnabled": true,
|
||||||
"python.testing.unittestEnabled": false,
|
"python.testing.unittestEnabled": false,
|
||||||
"python.analysis.typeCheckingMode": "off",
|
"python.analysis.typeCheckingMode": "off",
|
||||||
"python.linting.mypyEnabled": true,
|
|
||||||
"search.mode": "reuseEditor",
|
"search.mode": "reuseEditor",
|
||||||
"python.testing.unittestArgs": [
|
"python.testing.unittestArgs": [
|
||||||
"-v",
|
"-v",
|
||||||
@ -69,4 +61,7 @@
|
|||||||
"[vue]": {
|
"[vue]": {
|
||||||
"editor.formatOnSave": false
|
"editor.formatOnSave": false
|
||||||
},
|
},
|
||||||
|
"[python]": {
|
||||||
|
"editor.defaultFormatter": "ms-python.black-formatter",
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
@ -45,10 +45,11 @@
|
|||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{ $t("general.confirm-delete-generic") }}
|
{{ $t("general.confirm-delete-generic") }}
|
||||||
|
<p v-if="deleteTarget" class="mt-4 ml-4">{{ deleteTarget.name }}</p>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
<!-- Recipe Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.categories" section :title="$tc('data-pages.categories.category-data')"> </BaseCardSectionTitle>
|
<BaseCardSectionTitle :icon="$globals.icons.categories" section :title="$tc('data-pages.categories.category-data')"> </BaseCardSectionTitle>
|
||||||
<CrudTable
|
<CrudTable
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
|
@ -151,10 +151,11 @@
|
|||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{ $t("general.confirm-delete-generic") }}
|
{{ $t("general.confirm-delete-generic") }}
|
||||||
|
<p v-if="deleteTarget" class="mt-4 ml-4">{{ deleteTarget.name }}</p>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
<!-- Recipe Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.foods" section :title="$tc('data-pages.foods.food-data')"> </BaseCardSectionTitle>
|
<BaseCardSectionTitle :icon="$globals.icons.foods" section :title="$tc('data-pages.foods.food-data')"> </BaseCardSectionTitle>
|
||||||
<CrudTable
|
<CrudTable
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
@ -394,6 +395,7 @@ export default defineComponent({
|
|||||||
deleteEventHandler,
|
deleteEventHandler,
|
||||||
deleteDialog,
|
deleteDialog,
|
||||||
deleteFood,
|
deleteFood,
|
||||||
|
deleteTarget,
|
||||||
// Alias Manager
|
// Alias Manager
|
||||||
aliasManagerDialog,
|
aliasManagerDialog,
|
||||||
aliasManagerEventHandler,
|
aliasManagerEventHandler,
|
||||||
|
@ -39,6 +39,7 @@
|
|||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{ $t("general.confirm-delete-generic") }}
|
{{ $t("general.confirm-delete-generic") }}
|
||||||
|
<MultiPurposeLabel v-if="deleteTarget" class="mt-4 ml-4" :label="deleteTarget" />
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
@ -79,7 +80,7 @@
|
|||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
<!-- Recipe Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.tags" section :title="$tc('data-pages.labels.labels')"> </BaseCardSectionTitle>
|
<BaseCardSectionTitle :icon="$globals.icons.tags" section :title="$tc('data-pages.labels.labels')"> </BaseCardSectionTitle>
|
||||||
<CrudTable
|
<CrudTable
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
@ -228,13 +229,19 @@ export default defineComponent({
|
|||||||
labels: labelStore.labels,
|
labels: labelStore.labels,
|
||||||
validators,
|
validators,
|
||||||
|
|
||||||
deleteEventHandler,
|
// create
|
||||||
deleteLabel,
|
createLabel,
|
||||||
|
createLabelData: labelData.data,
|
||||||
|
|
||||||
|
// edit
|
||||||
editLabel,
|
editLabel,
|
||||||
editEventHandler,
|
editEventHandler,
|
||||||
editSaveLabel,
|
editSaveLabel,
|
||||||
createLabel,
|
|
||||||
createLabelData: labelData.data,
|
// delete
|
||||||
|
deleteEventHandler,
|
||||||
|
deleteLabel,
|
||||||
|
deleteTarget,
|
||||||
|
|
||||||
// Seed
|
// Seed
|
||||||
seedDatabase,
|
seedDatabase,
|
||||||
|
@ -140,7 +140,7 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section class="mt-10">
|
<section class="mt-10">
|
||||||
<!-- Downloads Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.database" section :title="$tc('data-pages.recipes.data-exports')">
|
<BaseCardSectionTitle :icon="$globals.icons.database" section :title="$tc('data-pages.recipes.data-exports')">
|
||||||
{{ $t('data-pages.recipes.data-exports-description') }}
|
{{ $t('data-pages.recipes.data-exports-description') }}
|
||||||
</BaseCardSectionTitle>
|
</BaseCardSectionTitle>
|
||||||
|
@ -45,10 +45,11 @@
|
|||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{ $t("general.confirm-delete-generic") }}
|
{{ $t("general.confirm-delete-generic") }}
|
||||||
|
<p v-if="deleteTarget" class="mt-4 ml-4">{{ deleteTarget.name }}</p>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
<!-- Recipe Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.tags" section :title="$tc('data-pages.tags.tag-data')"> </BaseCardSectionTitle>
|
<BaseCardSectionTitle :icon="$globals.icons.tags" section :title="$tc('data-pages.tags.tag-data')"> </BaseCardSectionTitle>
|
||||||
<CrudTable
|
<CrudTable
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
|
@ -47,10 +47,11 @@
|
|||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{ $t("general.confirm-delete-generic") }}
|
{{ $t("general.confirm-delete-generic") }}
|
||||||
|
<p v-if="deleteTarget" class="mt-4 ml-4">{{ deleteTarget.name }}</p>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
<!-- Tool Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.potSteam" section :title="$tc('data-pages.tools.tool-data')"> </BaseCardSectionTitle>
|
<BaseCardSectionTitle :icon="$globals.icons.potSteam" section :title="$tc('data-pages.tools.tool-data')"> </BaseCardSectionTitle>
|
||||||
<CrudTable
|
<CrudTable
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
|
@ -125,6 +125,7 @@
|
|||||||
>
|
>
|
||||||
<v-card-text>
|
<v-card-text>
|
||||||
{{ $t("general.confirm-delete-generic") }}
|
{{ $t("general.confirm-delete-generic") }}
|
||||||
|
<p v-if="deleteTarget" class="mt-4 ml-4">{{ deleteTarget.name }}</p>
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
@ -165,7 +166,7 @@
|
|||||||
</v-card-text>
|
</v-card-text>
|
||||||
</BaseDialog>
|
</BaseDialog>
|
||||||
|
|
||||||
<!-- Recipe Data Table -->
|
<!-- Data Table -->
|
||||||
<BaseCardSectionTitle :icon="$globals.icons.units" section :title="$tc('data-pages.units.unit-data')"> </BaseCardSectionTitle>
|
<BaseCardSectionTitle :icon="$globals.icons.units" section :title="$tc('data-pages.units.unit-data')"> </BaseCardSectionTitle>
|
||||||
<CrudTable
|
<CrudTable
|
||||||
:table-config="tableConfig"
|
:table-config="tableConfig"
|
||||||
@ -421,6 +422,7 @@ export default defineComponent({
|
|||||||
deleteEventHandler,
|
deleteEventHandler,
|
||||||
deleteDialog,
|
deleteDialog,
|
||||||
deleteUnit,
|
deleteUnit,
|
||||||
|
deleteTarget,
|
||||||
// Alias Manager
|
// Alias Manager
|
||||||
aliasManagerDialog,
|
aliasManagerDialog,
|
||||||
aliasManagerEventHandler,
|
aliasManagerEventHandler,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user