Skip to content

Ensure configuration settings are documented - #11674

Merged
SchrodingersGat merged 35 commits into
inventree:masterfrom
SchrodingersGat:config-docs
Apr 21, 2026
Merged

SchrodingersGat merged 35 commits into
inventree:masterfrom
SchrodingersGat:config-docs

Conversation

@SchrodingersGat

@SchrodingersGat SchrodingersGat commented Apr 4, 2026 •

Copy link
Copy Markdown
Member

Note

This does not automatically catch every config option which is available - because there are some that are dynamically loaded. However, it at least ensures that the primary configuration options (which are not gated during loading) are observable and included in the documentation.

@SchrodingersGat SchrodingersGat added this to the 1.3.0 milestone Apr 4, 2026
@SchrodingersGat SchrodingersGat added enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process documentation labels Apr 4, 2026
@netlify

netlify Bot commented Apr 4, 2026 •

Copy link
Copy Markdown

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

Name Link
🔨 Latest commit ca45445
🔍 Latest deploy log https://app.netlify.com/projects/inventree-web-pui-preview/deploys/69e6c4f83a2f570008634573
😎 Deploy Preview https://deploy-preview-11674--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: 92 (🔴 down 1 from production)
Accessibility: 81 (no change from production)
Best Practices: 100 (no change from production)
SEO: 78 (no change from production)
PWA: -
View the detailed breakdown and full score reports

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

Comment thread tasks.py Resolved

@matmair matmair left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@codecov

codecov Bot commented Apr 4, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 70.16129% with 37 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.28%. Comparing base (3c9b014) to head (ca45445).
⚠️ Report is 389 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #11674      +/-   ##
==========================================
- Coverage   91.34%   91.28%   -0.06%     
==========================================
  Files         967      970       +3     
  Lines       50274    50325      +51     
==========================================
+ Hits        45924    45941      +17     
- Misses       4350     4384      +34     
Flag Coverage Δ
backend 89.18% <70.16%> (-0.06%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Components Coverage Δ
Backend Apps 91.70% <ø> (ø)
Backend General 93.41% <100.00%> (+<0.01%) ⬆️
Frontend ∅ <ø> (∅)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@SchrodingersGat SchrodingersGat modified the milestones: 1.3.0, 1.4.0 Apr 5, 2026
@SchrodingersGat
SchrodingersGat merged commit d81a872 into inventree:master Apr 21, 2026
37 checks passed
@SchrodingersGat
SchrodingersGat deleted the config-docs branch April 21, 2026 02:23
@SchrodingersGat SchrodingersGat added the breaking Indicates a major update or change which breaks compatibility label Apr 23, 2026
SchrodingersGat added a commit that referenced this pull request Apr 23, 2026
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
* Export configuration keys to JSON

* Support rendering of config options in docs

* Check for missing config settings

* Simplify macro

* Initial tests

* Fix collisions

* Updates

* Ensure values are stringified

* Ensure null values are exported correctly

* Refactor database config

- Observability on the config settings

* More docs updates

* Updates

* Add observability of cache settings

* More updates

* Observability

* Set env config for RTD

* Revert RTD config file

- Handled by ENV VAR on RTD account

* Visibility on background worker settings

* Tweaks

* Tweaks

* Split tracing settings out into separate file

- Improved discovery
- declutter settings.py

* Cleanup LDAP settings

* Social providers docs

* More updates

* Refactor ldap setup into own module

* Tweaks

* Formatting tweaks

* Tweak logic

* Fix INVENTREE_SESSION_COOKIE_SECURE setting

* Fix wrapping

* Add custom default
martonmiklos pushed a commit to martonmiklos/InvenTree that referenced this pull request Jun 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking Indicates a major update or change which breaks compatibility documentation enhancement This is an suggested enhancement or new feature setup Relates to the InvenTree setup / installation process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants