Roberto Jiménez Sánchez
a722b485da
[Prototyping] Add repository history endpoint ( #97345 )
2024-12-03 16:42:07 +01:00
Ryan McKinley
d6e7edbd1e
merge main
2024-12-02 23:18:39 +03:00
Ryan McKinley
e9df325760
merge main
2024-12-02 23:15:49 +03:00
Ryan McKinley
20a27da636
FeatureFlags: Add helper to check against a set of flags ( #97240 )
2024-12-02 21:41:41 +02:00
Carl Bergquist
acf67d5911
Scopes: Merge scopes filters with OR condition in case they overlap. ( #97276 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-12-02 19:16:49 +01:00
Michael Mandrus
8a1b89a5eb
Report Button: Add feature toggle for commit button [Hackathon] ( #97282 )
...
add feature toggle for commit button
2024-12-02 19:08:15 +02:00
Karl Persson
e4fbae03a1
RBAC: remove dead code ( #97234 )
...
This code is unused and always have been
2024-12-02 16:23:51 +01:00
Roberto Jiménez Sánchez
8faac76d62
[Prototyping] Render changed dashboards screenshots in pull requests ( #97260 )
...
* Render changed dashboards screenshots
* Remove duplicate condition
2024-12-02 16:15:22 +01:00
Hugo Kiyodi Oshiro
5e91984f31
Plugins: Use grafana-com sso_api_token ( #97096 )
2024-12-02 16:04:05 +01:00
Ryan McKinley
219411f894
K8s: Upgrade v0.31.1 -> v0.31.3 ( #96964 )
2024-12-02 12:49:24 +02:00
Ryan McKinley
b041520ffa
POC/Provisioning: wire rendering example ( #96963 )
2024-12-02 11:43:07 +01:00
Roberto Jiménez Sánchez
04c1ad9c01
[Prototyping] Fix webhook URLs for auto-generated resource names ( #97236 )
...
Fix webhook URLs for auto-generated resource names
To workaround not having name accessible in the admission hook, use a
placeholder that it's later replaced with the actual name.
2024-12-02 11:37:13 +01:00
Ryan McKinley
879d517845
POC/Provisioning: Add lint results and classic type to ResourceWrapper response ( #97225 )
2024-12-02 12:53:50 +03:00
Karl Persson
7b25804b55
K8s: Register group and kinds to internal version to fix apply ( #97184 )
...
* K8s: Register group and kinds to internal version to fix apply
2024-12-02 10:32:34 +01:00
Ryan McKinley
78dcc75de3
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-12-02 07:34:54 +03:00
Roberto Jiménez Sánchez
48feba66e6
[Prototyping] Lint dashboard in pull requests ( #97199 )
...
* Make lint issues comment
* Make it work
* Delete previous comments
* Move linting to separate package
* Fix issue with refactoring
* Update test fixture
2024-11-29 16:24:45 +01:00
Andres Martinez Gotor
e0935246a3
Preinstall: Allow to set a download URL ( #96535 )
2024-11-29 16:02:33 +01:00
Sven Grossmann
b544b8afff
Loki: Fix a bug when reading frames without values but warnings ( #97197 )
...
* Loki: Fix a bug when reading frames without values but warnings
* Loki: Better bail if fields are less than 2
2024-11-29 15:34:59 +01:00
Mariell Hoversholm
a1eb1863e5
POC/Provisioning: Export: Only write dashboards in-tree of the repo ( #97194 )
...
* POC/Provisioning: Export: Only write dashboards in-tree of the repo
* test: ensure folderTree behaves like it should
* feat: define DirPath on folder out of the tree as undefined behaviour
2024-11-29 15:19:07 +01:00
Mariell Hoversholm
2972570075
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-11-29 09:55:15 +01:00
Roberto Jiménez Sánchez
f113f11342
[Prototyping] Comment with preview links in pull requests ( #97174 )
2024-11-29 09:27:14 +01:00
Ieva
cc0ec349a4
RBAC: Allow passing in user UID when searching for user's permissions ( #97125 )
...
* allow passing in user UID instead of ID when searching for user's permissions
* fix tests
2024-11-28 16:36:26 +00:00
Karl Persson
d64c938749
K8s: Make it possible to register several kinds for a GroupVersion ( #97161 )
...
* Make it possible to register several kinds for a GroupVersion
2024-11-28 16:31:05 +01:00
Karl Persson
c5d3f8644e
K8s: Set custom config ( #97169 )
...
Set custom config
2024-11-28 16:30:43 +01:00
Mariell Hoversholm
ea8d46dfd3
Merge remote-tracking branch 'origin/main' into grafana-git-ui-sync
2024-11-28 15:31:03 +01:00
Mariell Hoversholm
ee71e18e2a
POC/Provisioning: Gosec: Fix/ignore gosec violations ( #97166 )
2024-11-28 15:26:55 +01:00
Karl Persson and Eric Leijonmarck
b2626a2d65
LoginAttempt: Add setting to control max number of attempts before user login gets locked ( #97091 )
...
* Add setting to adjust number of login attempts before user login gets locked
* Ensure at least one attempt can be made
* Update documentation with new setting
* Update docs/sources/setup-grafana/configure-grafana/_index.md
Co-authored-by: Eric Leijonmarck <eric.leijonmarck@gmail.com >
2024-11-28 14:33:18 +01:00
Matheus Macabu
f2b96593ea
SQL: close rows to release connection ( #97147 )
...
* SQL: close rows to release connection
* dont return err from rows.Close()
2024-11-28 14:28:55 +01:00
Mariell Hoversholm
a600cc6eb7
POC/Provisioning: Import: Apply folder nesting properly ( #97143 )
2024-11-28 14:03:26 +01:00
Georges Chaudy
f6124344ba
authnz: Fix panic in the authenticator and rename metric ( #97150 )
...
* Fix: panic
* suggestion
2024-11-28 14:03:54 +02:00
Roberto Jiménez Sánchez
d8b1834139
[Prototyping] Update resources on github webhook events ( #97113 )
...
* Add replicator interface
* Use factory to create replicators
* Use replicator in import
2024-11-28 11:48:42 +01:00
Kévin Gomez and Ivan Ortega
c8d3ea58f8
Support importing local cue modules when generating TS types with cog ( #96876 )
...
* Support importing local cue modules when generating TS types with cog
* Generate enums as unions of values instead of an actual `enum` statement
* Update transformers to use the new TS enums
* Update go workspaces
---------
Co-authored-by: Ivan Ortega <ivanortegaalba@gmail.com >
2024-11-28 10:45:31 +01:00
Alexander Zobnin
c8caf787d4
Zanzana: handle service accounts ( #97123 )
...
* add service account to the schema
* sync managed permissions for service accounts
* sync SA basic roles
* sync SA roles
* Fix endless loop in reconciler while read openfga
2024-11-28 10:41:30 +01:00
Mariell Hoversholm
2cc3fd7392
feat: pass resources directly
2024-11-28 09:39:44 +01:00
Mihai Doarna
feecd30687
API key: Fix API key migration to service account ( #97100 )
...
fix api key migration to service account
2024-11-28 09:42:58 +02:00
Ryan McKinley and Mariell Hoversholm
67924e80cb
POC/Provisioning: Use the parsed file object access to set fields ( #97138 )
...
* client and repo info
* set repo header info
* add ref to header info
* add comment
---------
Co-authored-by: Mariell Hoversholm <mariell.hoversholm@grafana.com >
2024-11-28 08:14:29 +01:00
Mariell Hoversholm
46640cd882
POC/Provisioning: Resources: Move resource interactions to own package ( #97107 )
...
* POC/Provisioning: Resources: Move client to its own package
* POC/Provisioning: Resources: Move parsing to resources package
* POC/Provisioning: Test: Align disco response
2024-11-28 08:06:49 +01:00
Sarah Zinger
4b234c4795
Add logging to legacy datasource look up path ( #97065 )
2024-11-27 14:32:06 -05:00
Mariell Hoversholm
a990f67b51
POC/Provisioning: Import: Don't set folder if one should not be set
2024-11-27 15:22:41 +01:00
Ryan McKinley
210b956917
POC/Provisioing: Show list in API ( #97090 )
2024-11-27 17:09:59 +03:00
Adam Yeats
b898a4540d
Azure Monitor: Add a feature flag to toggle user auth for Azure Monitor only ( #96858 )
...
* Azure Monitor: Add a feature flag to toggle user auth for Azure Monitor only
* Fix condition for userIdentityEnabled
* Re-add removed test
* Remove unused prop
* Refactor onAuthTypeChange in AzureCredentialsForm
* Add frontend unit tests
* Lint
2024-11-27 14:01:54 +00:00
Mariell Hoversholm
b5b43112d1
POC/Provisioning: Import: Create and set the appropriate folder ( #97097 )
2024-11-27 14:40:40 +01:00
Sriram
16c78f6a98
Postgres: Datasource health check error message improvements #96906 ( #96990 )
...
* updated postgres health check error messages
* addressed review comments / added tests
2024-11-27 13:14:44 +00:00
Alexander Zobnin
5a91ab46af
Zanzana: Use StreamedListObjects to fetch full list of resources ( #97025 )
...
* Initial streamed version of list
* instantiate openfga client to use StreamedListObjects
* Add config option for using streamed version
* Use caching
* fix cache init
* Fix hashing
* refactor
2024-11-27 14:05:41 +02:00
Misi
84b8296ffb
OAuth: Use the attached external session data in OAuthToken and OAuthTokenSync ( #96655 )
...
* wip
* wip + tests
* wip
* wip opt2
* Use authn.Identity struct's SessionToken
* Merge fixes
* Handle disabling the feature flag correctly
* Fix test
* Cleanup
* Remove HasOAuthEntry from the OAuthTokenService interface
* Remove unused function
2024-11-27 11:06:39 +01:00
Roberto Jiménez Sánchez
364637a7e2
[Prototyping] Listen to pull requests and comment ( #97040 )
...
* Listen to Pull Requests and comment
* Fix template
2024-11-27 10:38:10 +01:00
Gabriel MABILLE
6e2d3cae5e
AuthN: Register flags for grpc_server_authentication configuration ( #97063 )
...
* AuthZServer: Add authenticator
* Add flags
2024-11-27 10:35:35 +01:00
Mariell Hoversholm
ee91485b32
POC/Provisioning: Create an import endpoint ( #97085 )
...
* wip
* fix: don't panic on dirs
* fix: workaround dashboard Get returning 500 on 404
2024-11-27 10:10:29 +01:00
Carl Bergquist
722af820a5
Scopes: Use new flag + app_mode=prod in integration tests ( #97081 )
...
Signed-off-by: bergquist <carl.bergquist@gmail.com >
2024-11-27 09:38:54 +01:00
Ryan McKinley
ab2f168b71
fix test
2024-11-27 11:19:05 +03:00