Michael Mandrus
cbd2032aea
Feature Toggles: Remove DocsURL from FeatureFlag struct ( #79774 )
...
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2024-01-31 08:25:16 +02:00
Ryan McKinley
1fab107e79
FeatureFlags: Avoid using cfg.IsFeatureToggleEnabled ( #81407 )
2024-01-28 15:22:45 -08:00
Ryan McKinley
85d68b88cf
FeatureFlags: Remove enabled from FeatureFlag model ( #79960 )
2024-01-10 21:34:18 -08:00
Giuseppe Guerra
b40d3e7487
Plugins: Add enablePluginsTracingByDefault feature flag ( #80195 )
...
* Add enablePluginsTracingByDefault feature flag
* Enable tracing for all plugins if enablePluginsTracingByDefault is set
* fix docstrings for IsEnabled and IsEnabledGlobally
* fix tests
* do not use separate feature manager
* add test case
* Revert "fix tests"
This reverts commit 46a2420ed1
.
* cleanup
* fix plugin tracing disabled if wrong plugin setting is present
* add test case for enabled on plugin with wrong plugin setting but with enablePluginsTracingByDefault feature flag
* Add RequiresRestart = true to enablePluginsTracingByDefault
* re-generate feature flags
* pr review feedback
2024-01-10 13:25:54 +02:00
Ryan McKinley
1caaa56de0
FeatureFlags: Use interface rather than manager ( #80000 )
2024-01-09 10:38:06 -08:00
Michael Mandrus
456939bac4
Feature Toggles: Remove use of boolPtr in FeatureFlag struct ( #79550 )
...
* remove bool ptr and update docs
* fix silly thing
* merge main
* maybe this time
---------
Co-authored-by: Ryan McKinley <ryantxu@gmail.com>
2023-12-18 13:55:21 -05:00
Ryan McKinley
f761ae1f02
FeatureFlags: Add created time property ( #78996 )
2023-12-03 20:45:51 -08:00
Ryan McKinley
f69fd3726b
FeatureToggles: Add context and and an explicit global check ( #78081 )
2023-11-14 12:50:27 -08:00
João Calisto
ade140c161
Feature Management: Define HideFromAdminPage and AllowSelfServe configs ( #77580 )
...
* Feature Management: Define HideFromAdminPage and AllowSelfServe configs
* update tests
* add constraint for self-serve
* Update pkg/services/featuremgmt/models.go
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
---------
Co-authored-by: Michael Mandrus <41969079+mmandrus@users.noreply.github.com>
2023-11-03 15:59:07 +00:00
João Calisto
7869ca1932
Feature Management: UI improvements ( #76866 )
...
* Feature Management: UI improvements
* update UI logic
---------
Co-authored-by: Michael Mandrus <michael.mandrus@grafana.com>
2023-10-26 10:42:00 +01:00
Michael Mandrus
c3102c7d0a
Caching: Enable useCachingService
feature toggle by default ( #76845 )
...
* enable by default
* update docs
* add helpful comment
2023-10-20 10:00:37 -04:00
João Calisto
9fc0e1566e
Feature Management: Update admin page UI after a successful update ( #76380 )
...
* Feature Management: Update admin page UI after a successful update
* lint
* lint
* refactor
2023-10-13 11:54:34 +01:00
Michael Mandrus
779e0fe311
Feature Toggles: Create API for updating feature toggle state from the feature toggle admin page ( #73022 )
...
* create roles for writing feature toggles
* create update endpoint / handler
* api changes
* add feature toggle validations
* hide toggles based on their state
* make FlagFeatureToggle read only
* add username log
* add username string
* refactor for better readability
* refactor unit tests so we can do more validations
* some skeletoning for the set tests
* write unit tests for updater
* break helper functions out
* update sample ini to match defaults
* add more logic to ReadOnly label
* add user documentation
* fix lint issue
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: J Stickler <julie.stickler@grafana.com>
---------
Co-authored-by: IbrahimCSAE <ibrahim.mdev@gmail.com>
Co-authored-by: J Stickler <julie.stickler@grafana.com>
2023-08-09 11:32:28 -04:00