Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Site access updates #6731

Merged
merged 12 commits into from
Mar 18, 2024
Merged

Conversation

SchrodingersGat
Copy link
Member

If required site access values are improperly configured, display an error message and exit early.

- If ALLOWED_HOSTS is empty, exit
- If CSRF_TRUSTED_ORIGINS is empty, exit
- Closes inventree#6730
@SchrodingersGat SchrodingersGat added the setup Relates to the InvenTree setup / installation process label Mar 16, 2024
@SchrodingersGat SchrodingersGat added this to the 0.15.0 milestone Mar 16, 2024
Copy link

netlify bot commented Mar 16, 2024

Deploy Preview for inventree-web-pui-preview ready!

Name Link
🔨 Latest commit 83b6750
🔍 Latest deploy log https://app.netlify.com/sites/inventree-web-pui-preview/deploys/65f794c6a757f90008512fc9
😎 Deploy Preview https://deploy-preview-6731--inventree-web-pui-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 100 (no change from production)
Accessibility: 86 (no change from production)
Best Practices: 100 (no change from production)
SEO: 70 (no change from production)
PWA: -
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@SchrodingersGat SchrodingersGat added backport Apply this label to a PR to enable auto-backport action backport-to-0.14.x labels Mar 17, 2024
@SchrodingersGat SchrodingersGat merged commit 23f0950 into inventree:master Mar 18, 2024
22 checks passed
@SchrodingersGat SchrodingersGat deleted the site-access branch March 18, 2024 01:53
Copy link
Contributor

💔 All backports failed

Status Branch Result
0.14.x Backport failed because of merge conflicts

Manual backport

To create the backport manually run:

backport --pr 6731

Questions ?

Please refer to the Backport tool documentation and see the Github Action logs for details

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Apply this label to a PR to enable auto-backport action setup Relates to the InvenTree setup / installation process
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optional SITE_URL setting and CSRF_TRUSTED_ORIGINS
1 participant