Skip to content

Commit 7baad85

Browse files
committed
Merge branch 'develop' into beta
2 parents 4b0bfa9 + 9fc77be commit 7baad85

File tree

1,071 files changed

+250057
-108118
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,071 files changed

+250057
-108118
lines changed

.devcontainer/devcontainer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@
2020
"ms-python.python"
2121
]
2222
}
23+
},
24+
25+
"containerEnv": {
26+
"CSRF_TRUSTED_ORIGINS": "http://localhost:8000,http://localhost:8080"
2327
}
2428

2529
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.

.env.template

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# random secret key, use for example `base64 /dev/urandom | head -c50` to generate one
77
SECRET_KEY=
88

9+
# your default timezone See https://timezonedb.com/time-zones for a list of timezones
10+
TZ=Europe/Berlin
11+
912
# allowed hosts (see documentation), should be set to your hostname(s) but might be * (default) for some proxies/providers
1013
# ALLOWED_HOSTS=recipes.mydomain.com
1114

.github/workflows/build-docker-open-data.yml

Lines changed: 0 additions & 110 deletions
This file was deleted.

.github/workflows/build-docker.yml

Lines changed: 27 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
# Standard build config
1818
- name: Standard
1919
dockerfile: Dockerfile
20-
platforms: linux/amd64,linux/arm64,linux/arm/v7
20+
platforms: linux/amd64,linux/arm64
2121
suffix: ""
2222
continue-on-error: false
2323
steps:
@@ -34,17 +34,17 @@ jobs:
3434
echo VERSION=develop >> $GITHUB_OUTPUT
3535
fi
3636
37-
# Build Vue frontend
37+
# Build Vue 3 frontend
3838
- uses: actions/setup-node@v4
3939
with:
40-
node-version: '18'
40+
node-version: '22'
4141
cache: yarn
42-
cache-dependency-path: vue/yarn.lock
42+
cache-dependency-path: vue3/yarn.lock
4343
- name: Install dependencies
44-
working-directory: ./vue
44+
working-directory: ./vue3
4545
run: yarn install --frozen-lockfile
4646
- name: Build dependencies
47-
working-directory: ./vue
47+
working-directory: ./vue3
4848
run: yarn build
4949

5050
- name: Set up QEMU
@@ -74,8 +74,9 @@ jobs:
7474
flavor: |
7575
latest=false
7676
suffix=${{ matrix.suffix }}
77+
# disable latest for tagged releases while in beta
78+
# type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
7779
tags: |
78-
type=raw,value=latest,enable=${{ startsWith(github.ref, 'refs/tags/') }}
7980
type=semver,pattern={{version}}
8081
type=semver,pattern={{major}}.{{minor}}
8182
type=semver,pattern={{major}}
@@ -93,34 +94,34 @@ jobs:
9394
cache-from: type=gha
9495
cache-to: type=gha,mode=max
9596

96-
notify-stable:
97-
name: Notify Stable
98-
runs-on: ubuntu-latest
99-
needs: build-container
100-
if: startsWith(github.ref, 'refs/tags/')
101-
steps:
102-
- name: Set tag name
103-
run: |
104-
# Strip "refs/tags/" prefix
105-
echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
106-
# Send stable discord notification
107-
- name: Discord notification
108-
env:
109-
DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
110-
uses: Ilshidur/[email protected]
111-
with:
112-
args: '🚀 Version {{ VERSION }} of tandoor has been released 🥳 Check it out https://github.com/vabene1111/recipes/releases/tag/{{ VERSION }}'
97+
# notify-stable:
98+
# name: Notify Stable
99+
# runs-on: ubuntu-latest
100+
# needs: build-container
101+
# if: startsWith(github.ref, 'refs/tags/')
102+
# steps:
103+
# - name: Set tag name
104+
# run: |
105+
# # Strip "refs/tags/" prefix
106+
# echo "VERSION=${GITHUB_REF#refs/tags/}" >> $GITHUB_ENV
107+
# # Send stable discord notification
108+
# - name: Discord notification
109+
# env:
110+
# DISCORD_WEBHOOK: ${{ secrets.DISCORD_RELEASE_WEBHOOK }}
111+
# uses: Ilshidur/[email protected]
112+
# with:
113+
# args: '🚀 Version {{ VERSION }} of tandoor has been released 🥳 Check it out https://github.com/vabene1111/recipes/releases/tag/{{ VERSION }}'
113114

114115
notify-beta:
115116
name: Notify Beta
116117
runs-on: ubuntu-latest
117118
needs: build-container
118-
if: github.ref == 'refs/heads/beta'
119+
if: startsWith(github.ref, 'refs/tags/')
119120
steps:
120121
# Send beta discord notification
121122
- name: Discord notification
122123
env:
123124
DISCORD_WEBHOOK: ${{ secrets.DISCORD_BETA_WEBHOOK }}
124125
uses: Ilshidur/[email protected]
125126
with:
126-
args: '🚀 The BETA Image has been updated! 🥳'
127+
args: '🚀 The Tandoor 2 Image has been updated! 🥳'

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,11 @@ jobs:
1111
matrix:
1212
python-version: ["3.10"]
1313
node-version: ["18"]
14-
1514
steps:
1615
- uses: actions/checkout@v4
1716
- uses: awalsh128/[email protected]
1817
with:
19-
packages: libsasl2-dev python3-dev libxml2-dev libxmlsec1-dev libxslt-dev libxmlsec1-openssl libldap2-dev libssl-dev gcc musl-dev postgresql-dev zlib-dev jpeg-dev libwebp-dev openssl-dev libffi-dev cargo openldap-dev python3-dev xmlsec-dev xmlsec build-base g++ curl
18+
packages: libsasl2-dev python3-dev libxml2-dev libxmlsec1-dev libxslt-dev libxmlsec1-openssl libxslt-dev libldap2-dev libssl-dev gcc musl-dev postgresql-dev zlib-dev jpeg-dev libwebp-dev openssl-dev libffi-dev cargo openldap-dev python3-dev xmlsec-dev xmlsec build-base g++ curl
2019
version: 1.0
2120

2221
# Setup python & dependencies

.gitignore

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,10 @@ cookbook/static/vue
7575
vue/webpack-stats.json
7676
/docker-compose.override.yml
7777
vue/node_modules
78-
plugins
79-
vue3/node_modules
78+
/recipes/plugins
79+
vetur.config.js
80+
cookbook/static/vue
81+
vue/webpack-stats.json
8082
cookbook/templates/sw.js
8183
vue/.yarn
8284
vue3/.vite
@@ -85,4 +87,5 @@ vue3/.vite
8587
vetur.config.js
8688
venv/
8789
.idea/easy-i18n.xml
88-
cookbook/static/vue3
90+
cookbook/static/vue3
91+
vue3/node_modules

.idea/prettier.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/recipes.iml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/watcherTasks.xml

Lines changed: 61 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.vscode/launch.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"console": "integratedTerminal",
2525
"env": {
2626
// coverage and pytest can't both be running at the same time
27-
"PYTEST_ADDOPTS": "--no-cov"
27+
"PYTEST_ADDOPTS": "--no-cov -n 0"
2828
},
2929
"django": true,
3030
"justMyCode": true

0 commit comments

Comments
 (0)