-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
feat: Adding FORCE_SSL as feature flag in config.py #14934
Conversation
2b445f3
to
9494edf
Compare
Codecov Report
@@ Coverage Diff @@
## master #14934 +/- ##
==========================================
- Coverage 77.62% 77.39% -0.24%
==========================================
Files 963 963
Lines 49316 49334 +18
Branches 6228 6228
==========================================
- Hits 38284 38180 -104
- Misses 10833 10955 +122
Partials 199 199
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
superset/config.py
Outdated
@@ -383,6 +383,7 @@ def _try_json_readsha( # pylint: disable=unused-argument | |||
# for report with type 'report' still send with email and slack message with | |||
# screenshot and link | |||
"ALERTS_ATTACH_REPORTS": True, | |||
"FORCE_SSL": False, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add documentation about what this flag does?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah! where should I add the documentation?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inline, similarly to the other feature flags would be great, thanks!
eb7d011
to
9d0aeee
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the documentation! I think naming this FORCE_DATABASE_CONNECTIONS_SSL
might be clearer since FORCE_SSL
might imply that connecting to the webserver is forced with SSL, but up to you
9d0aeee
to
42ccdc7
Compare
I like that, I am going to change it here and also in superset-ui |
643a92b
to
af6014b
Compare
Co-authored-by: Hugh A. Miles II <[email protected]>
af6014b
to
6f17e95
Compare
* upstream/master: (68 commits) fix typos (apache#14950) docs: fix custom oauth config (apache#14997) fix: apply template_params on external_metadata (apache#14996) fix: toggle fullscreen on the dashboard (apache#14979) feat(native-filters): add markers and number formatter + simple tests (apache#14981) fix(native-filters): Fix "undefined" error after editing a filter (apache#14984) fix(native-filters): remove implied fetch predicate (apache#14982) fix(native-filters): update cascaded filter state on change (apache#14980) fix(filter box): replace freeform where clause with ilike (apache#14900) refactor: Convert TableElement.jsx component from class to functional with hooks (apache#14830) fix: renamed sqllab filters to _filters (apache#14971) feat(native-filters): apply cascading without instant filtering (apache#14966) chore: bump superset-ui to 0.17.53 (apache#14968) fix(native-filters): cascading filters not rendering in tab (apache#14964) feat: add type_generic and is_dttm to table metadata (apache#14863) additional safeguard (apache#14953) feat: Adding FORCE_SSL as feature flag in config.py (apache#14934) feat(dashboard/native-filters): Hide filters out of scope of current tab (apache#14933) fix: time parser truncate to first day of year/month (apache#14945) fix: is_temporal should overwrite is_dttm (apache#14894) ...
SUMMARY
Adding a feature flag for the new dynamic form being used for creating and editing databases.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
N/A
TESTING INSTRUCTIONS
go to config.py and look for FORCE_SSL
ADDITIONAL INFORMATION