* GetSignedInUser unexported (renamed to getSignedInUser)
* GetSignedInUserWithCacheCtx renamed to GetSignedInUser
* added a check for a nil cacheservice (as defensive programming / test convenience)
* Also call storage on mode1. Add metrics
* Update comment
* Don't use compare function for now
* Remove very important space
* Finish add logging in mode2.
Also call US in mode1 in a non blocking way
* Improve code readability on modes 1 and 2
* Fix tests
* Rename vars
* Lint
* Return error from legacy write
* Renume useless defer
* [REVIEW] improvements
* Pass kind instead of name
* Use kind instead of name in metrics
* Only call latency metrics once
* Return error on writes to legacystore in mode1
* Move accesssor logic into the goroutine as well
* Add shim rule implementation for recording rules
* Give ruleFactory access to the original rule definition
* Schedule shim implementation if the rule is a recording rule
* Fix or suppress linter
* Fix nolint
* Read path, main API
* Define record field for incoming requests
* Refactor several alerting specific validators into two paths
* Refactor validateCondition actually contain all the condition validation logic
* Move condition validation inside rule path
* Validators for recording rules
* Wire feature flag through to validators
* Test for accepting a valid recording rule
* Tests for negative case, no UID
* Test for ignoring alerting fields
* Build conditions based on recording rules as well
* Regenerate swagger docs
* Fix CRUD test to cover the right thing
* Re-generate swagger docs with backdated v0.30.2 version
* Regenerate base spec
* Regenerate ngalert specs
* Regenerate top level specs
* Comment and rename
* Return struct instead of modifying ref
* logic to expand action set to the underlying actions when permissions are fetched from the DB
* updates needed for dependency injection
* clean up some code, also deduplicate scopes when grouping scopes and actions
* expand on a comment
* rename a method
* fixed text and better formatting
* added examples of community and partners plugins
* added more clarity to apps plugin usage
* added and also fixed more
* added clarity to the server and org admin roles
* run prettier
* fixed some minor typos
* Apply suggestions from code review
thanks. looks good now-
Co-authored-by: David Harris <david.harris@grafana.com>
* Technical edit
* restorted the changes in panel and datasource examples as requested
* revert duplicated change
* Apply suggestions from code review
Thanks Jack for the suggestions. Looks good!!
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
* added minor adjustment
* fixed typo
* added bash syntax
* revert changes
* added changes from PR 87168 for index.md file
* Delete docs/sources/shared/find-and-use-plugins.md
removed this file from the PR as was not intended to be part of this PR.
This PR is only for the Grafana OSS and not for the Grafana Cloud
* run prettier
* Apply suggestions from code review
Co-authored-by: David Harris <david.harris@grafana.com>
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: David Harris <david.harris@grafana.com>
* Update docs/sources/administration/plugin-management/index.md
Co-authored-by: David Harris <david.harris@grafana.com>
* added a small text fix
* added cloud tag in product labels
* run prettier
* Apply suggestions from code review
thanks for the review
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
* fixed typo for note section
* run prettier to fix
---------
Co-authored-by: David Harris <david.harris@grafana.com>
Co-authored-by: Joe Perez <joseph.perez@grafana.com>
Co-authored-by: Jack Baldry <jack.baldry@grafana.com>
Co-authored-by: Joseph Perez <45749060+josmperez@users.noreply.github.com>
* enabled skipped tests
* adjust to wait for loading indicator
* adjust typos
* adjust e2e workflow for test PR run
* restore workflow
* adjust workflow for test run
* restore workflow to sheduled runs