Commit Graph

43875 Commits

Author SHA1 Message Date
Misi
5efc3386d3
AuthZ: Extend /api/search to work with self-contained permissions (#70749)
* Search sql filter draft, unfinished

* Search works for empty roles

* Add current AuthModule to SignedInUser

* clean up, changes to the search

* Use constant prefixes

* Change AuthModule to AuthenticatedBy

* Add tests for using the permissions from the SignedInUser

* Refactor and simplify code

* Fix sql generation for pg and mysql

* Fixes, clean up

* Add test for empty permission list

* Fix

* Fix any vs all in case of edit permission

* Update pkg/services/authn/authn.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Update pkg/services/sqlstore/permissions/dashboard_test.go

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>

* Fixes, changes based on the review

---------

Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com>
2023-07-12 12:31:36 +02:00
Jo
e56b2cae00
MESA: Allow using synced permissions (#71377)
* wip

* cover authorize in org behavior

* revert export

* fix org tests

* change permissions nit
2023-07-12 13:28:04 +03:00
renovate[bot]
c63638189c
Update dependency rc-drawer to v6.3.0 (#71422)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 10:24:05 +00:00
Ashley Harrison
580345306b
Nested folders: Only show edit title button if user has permissions (#71426)
only show edit title button if user has permissions
2023-07-12 11:07:16 +01:00
renovate[bot]
f4f2d40e0d
Update dependency rc-slider to v10.2.1 (#71423)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 11:05:29 +01:00
renovate[bot]
b28c67e2ad
Update dependency rc-cascader to v3.12.1 (#71421)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 11:03:01 +01:00
renovate[bot]
f6b7559e0d
Update dependency postcss-loader to v7.3.3 (#71420)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:53:32 +00:00
renovate[bot]
c06d0e4b40
Update dependency papaparse to v5.4.1 (#71419)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:45:26 +00:00
Ashley Harrison
29ed310af9
Nested folder picker: Move options into overlay (#71042)
* move options into overlay

* add some unit tests

* Update public/app/features/browse-dashboards/components/BrowseActions/MoveModal.tsx

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>

* minor refactoring based on review comments

* just pass in uid

---------

Co-authored-by: Tobias Skarhed <1438972+tskarhed@users.noreply.github.com>
2023-07-12 10:37:08 +01:00
Jo
fbfdd6ba32
Auth: Add support for custom signing keys in auth.azure_ad (#71365)
* fallthrough JWKS validation and caching for Azure

* remove unused field
2023-07-12 11:29:02 +02:00
renovate[bot]
c2a0487572
Update dependency msw to v1.2.2 (#71414)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 08:49:00 +00:00
Torkel Ödegaard
dc71d36958
AppChromeService: Fixes update to breadcrumb parent URL (#71410)
AppChromeService: Fixes update to parent url
2023-07-12 10:34:13 +02:00
renovate[bot]
820e289073
Update dependency lint-staged to v13.2.3 (#71412)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 08:25:54 +00:00
renovate[bot]
b5dec8290b
Update dependency jquery to v3.7.0 (#71409)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 09:11:08 +01:00
renovate[bot]
0dd245cbb8
Update dependency jest-fail-on-console to v3.1.1 (#71395)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-12 07:51:20 +00:00
Joey
6615418df8
Tracing: Show next/prev buttons when span filters are collapsed (#71025)
* Show next/prev buttons when span filters are collapsed

* Update test

* Remove imports

* Update lint

* Prettier

* Update test

* Update styling
2023-07-12 07:52:07 +01:00
Kevin Yu
a2a890e85b
Cloudwatch: Add comment and regexp to TokenTypes interface (#71399)
* Cloudwatch: Add comment and regexp to TokenTypes interface

* fix lint
2023-07-11 14:43:08 -07:00
linoman
340f55fa15
Remove duplicated entry in properties table (#71388) 2023-07-11 21:48:40 +02:00
renovate[bot]
e38b6cf7d8
Update dependency @grafana/scenes to v0.20.0 (#71385)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 17:35:12 +00:00
Kim Nylander
41def2e346
[DOC] Fix tracing links in explore/tracing (#71383)
Fix tracing links
2023-07-11 11:16:00 -05:00
Oleg Yevik
864bf28a55
Panel Plugins: Change array methods from read-only to writable (#71315) 2023-07-11 09:13:22 -07:00
renovate[bot]
b39c8aec6c
Update dependency jest-canvas-mock to v2.5.2 (#71379)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:37:52 +00:00
Ashley Harrison
2650aa5600
Internationalization: Correctly generate plural forms (#71341)
* user essentials mob! 🔱

lastFile:public/locales/pseudo-LOCALE/grafana.json

* user essentials mob! 🔱

* user essentials mob! 🔱

lastFile:contribute/internationalization.md

* user essentials mob! 🔱

lastFile:contribute/internationalization.md

* move pseudo generation to precommit hook if en-US file is modified

Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com>

* fix unit tests

---------

Co-authored-by: Joao Silva <joao.silva@grafana.com>
Co-authored-by: joshhunt <josh@trtr.co>
Co-authored-by: Roxana Turc <anamaria-roxana.turc@grafana.com>
Co-authored-by: eledobleefe <laura.fernandez@grafana.com>
Co-authored-by: L-M-K-B <48948963+L-M-K-B@users.noreply.github.com>
Co-authored-by: tskarhed <1438972+tskarhed@users.noreply.github.com>
2023-07-11 16:37:01 +01:00
RoxanaAnamariaTurc
17d8fca289
Saga: Divider component (horizontal and vertical) (#71134)
* Saga: Divider component (horizontal and vertical)

* Documentation file updated

* Made changes suggested to the component, story and docs

* Updates made to the mdx documentation

* Updates on documentation for Divider component

* Made changes to the mdx documentation following suggestions received
2023-07-11 16:30:35 +01:00
Misi
54f1c8a40d
Docs: Add note for setting root_url in case of NGINX TLS termination (#71287)
* Add note for setting root_url in case of TLS termination

* Update docs/sources/tutorials/run-grafana-behind-a-proxy/index.md

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>

---------

Co-authored-by: Eve Meelan <81647476+Eve832@users.noreply.github.com>
2023-07-11 17:29:26 +02:00
Joao Silva
2b379ba7ea
Forms: Remove usage of sass styles in Group By and Reduce Transformations (#71223) 2023-07-11 15:48:23 +01:00
renovate[bot]
11f7c18ccf
Update dependency immutable to v4.3.0 (#71373)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 14:48:00 +00:00
Selene
8b419f624f
Format go resource (#71370)
* Format Go resource

* Format tabs

* use format library

* Undo template change

* Apply suggestion
2023-07-11 16:41:18 +02:00
renovate[bot]
850a7a7d39
Update dependency glob to v10.3.3 (#71371)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:29:39 +01:00
Sven Grossmann
9ddba37dbc
Logs: Fix nanosecond partition in log context (#71346)
* add ts partition

* fix setting wrong loadingstate

* improve setContext

* update context and test
2023-07-11 16:20:41 +02:00
RoxanaAnamariaTurc
7fdf855932
I18n: Outstanding navigation strings (#71208)
* I18n: Outstanding navigation strings

* Resolving conflicts
2023-07-11 15:10:50 +01:00
renovate[bot]
f9697aba6a
Update dependency expose-loader to v4.1.0 (#71367)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 13:48:07 +00:00
Sofia Papagiannaki
e21872bb15
SQLStore: Fix regression in PostgreSQL connection string (#71368)
* SQLStore: Fix connection string for PostgreSQL

* better testing
2023-07-11 16:47:35 +03:00
Josh Hunt
2e5f733d2d
Dashboards: Fix frontend exception when backend fails to save dashboard (#71144) 2023-07-11 13:33:09 +00:00
RoxanaAnamariaTurc
535b5659e4
I18n: Outstanding navigation strings marked up for translation (#71281) 2023-07-11 14:13:46 +01:00
Andres Martinez Gotor
3dc0187b74
Chore: Remove simplejson usage from the test data source (#71332) 2023-07-11 15:13:09 +02:00
Andrej Ocenas
6f102ccad0
Flamegraph: Remove feature toggle for sandwich view and color schemes (#71305) 2023-07-11 14:58:43 +02:00
Matias Chomicki
b8fbeb084a
Logs: Display log row menu cell on displayed fields (#71300)
* LogRowMenuCell: create component

* LogRowMessage: use new LogRowMenuCell component

* LogRowMessage: turn into functional component

* LogRowMenuCell: memoize component

* LogRowMessage: remove cx

* LogMessage: create component from function

* LogRowMessageDisplayedFields: turn into component

* LogRowMessageDisplayedFields: add LogRowMenuCell

* LogRowMessageDisplayedFields: rename prop and pass missing context prop

* LogRowMessageDisplayedFields: add unit test
2023-07-11 14:50:53 +02:00
renovate[bot]
724e46a8a7
Update dependency eslint-plugin-import to v2.27.5 (#71363)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 15:41:51 +03:00
kay delaney
f604bf6d68
UI/Select: Adjust typing to support extended props (#71211) 2023-07-11 13:30:16 +01:00
renovate[bot]
a532aa3c5c
Update dependency eslint-config-prettier to v8.8.0 (#71356)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 13:30:02 +01:00
Robby Milo
c3a8819ed2
fix shortcode usage (#71353) 2023-07-11 13:21:14 +01:00
renovate[bot]
7ae596c38d
Update dependency eslint to v8.44.0 (#71340)
* Update dependency eslint to v8.44.0

* update sdk

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com>
2023-07-11 13:02:55 +01:00
Emil Tullstedt
7a9847e196
CI: Provide a Drone promotion to build the build-container (#71133) 2023-07-11 13:08:05 +02:00
grafana-delivery-bot[bot]
b5272b5160
Changelog: Updated changelog for 9.5.6 (#71342)
* Changelog: Updated changelog for 9.5.6

* Update CHANGELOG.md

---------

Co-authored-by: grafanabot <bot@grafana.com>
Co-authored-by: Dimitris Sotirakis <dimitrios.sotirakis@grafana.com>
2023-07-11 12:48:05 +02:00
Ivan Ortega Alba
699e499cc7
Variables: Page refreshes hitting enter to select a variable value (#70996) 2023-07-11 12:30:08 +02:00
renovate[bot]
d5309710cb
Update dependency esbuild-plugin-browserslist to ^0.8.0 (#71337)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 11:15:25 +01:00
grafana-delivery-bot[bot]
b18b4895a4
Changelog: Updated changelog for 10.0.2 (#71338)
Co-authored-by: grafanabot <bot@grafana.com>
2023-07-11 13:13:57 +03:00
renovate[bot]
236fc8bbea
Update dependency @grafana/scenes to v0.19.0 (#71335)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-07-11 09:56:21 +00:00
Gilles De Mey
82f0ef6871
Alerting: Add support for additional colors in MetaText (#71299)
add support for additional colors in MetaText
2023-07-11 11:11:25 +02:00