Ryan McKinley
29cf60988b
Playlist: Use a different go struct for sql service vs k8s ( #76393 )
2023-10-12 08:29:06 -07:00
Jo
dcd0c6b11e
Identity: Unfurl OrgID in pkg/services to allow using identity.Requester interface ( #76113 )
...
Unfurl OrgID in pkg/services to allow using identity.Requester interface
2023-10-09 10:40:19 +02:00
Andres Martinez Gotor
c70623fb85
Chore: Rename testdata plugin with a fully qualified name ( #75104 )
2023-09-22 15:00:40 +03:00
Will Browne
e855efb13d
Plugins: Move store and plugin dto to pluginsintegration ( #74655 )
...
move store and plugin dto
2023-09-11 13:59:24 +02:00
Serge Zaitsev
bd12ce0cbc
Chore: capitalise log messages for app platform ( #74336 )
2023-09-04 18:46:08 +02:00
Dan Cech
85a207fceb
Chore: Replace entity GRN with infra/grn GRN ( #74198 )
...
replace entity GRN with infra/grn GRN
2023-08-31 15:43:35 -04:00
Ryan McKinley
025b2f3011
Chore: use any rather than interface{} ( #74066 )
2023-08-30 18:46:47 +03:00
Torkel Ödegaard
74d453f056
DashboardSchema: Remove old unused legacy props style and timepicker.enable ( #73879 )
...
* DashboardScheam: Remove old unused legacy props style and timepicker.enable
* Update
* fix test
2023-08-28 12:18:17 +02:00
Arati R
20ffbbc41e
NestedFolders: Add library panels counting and deletion to folder registry ( #69149 )
...
* Expose library element service's folder service
* Register library panels, add count implementation
* Expand folder counts test
* Update registry deletion method interface
* Allow getting library elements from any folder
* Add test for library panel deletion
* Add test for library panel counting
2023-07-25 13:05:53 +02:00
Will Browne
a8577c21ba
Plugins: Migrate PluginStore mock to pre-existing fakes package ( #71664 )
...
* migrate to existing fakes package
* fix imports
2023-07-17 10:21:44 +00:00
Andres Martinez Gotor
9990d5025d
Chore: Embed CSV files with the test data source ( #71435 )
2023-07-13 09:34:40 +02:00
Andreas Deininger
95b1f3c875
Fixing typos ( #70487 )
2023-06-22 09:43:38 +01:00
Ryan McKinley
da66aefa87
EnityAPI: update summary builder to support library panels ( #70280 )
2023-06-16 14:44:16 -07:00
Will Browne
a221e1d226
Plugins: Standardize Golang enum naming convention ( #69449 )
...
* standardize enum pattern
* fix up
2023-06-08 12:21:19 +02:00
Arati R
6cb1a5e368
Nested folders: Add alert rule counts and deletion to folder registry ( #67259 )
...
* Let alert rule service implement registry service
* Add count method to RuleStore interface
* Add implementation for deletion of alert rules
* Rename uid to folderUID in registry methods
* Check forceDeleteRule value for registry deletion
* Register alerting store with folder service
* Move folder test functions to separate package
* Add testing for alert rule counting, deletion
* Remove redundant count method
* Fix deleteChildrenInFolder signature
* Update pkg/services/ngalert/store/alert_rule.go
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
* Add tests for nested folder deletion
* Refactor TestIntegrationNestedFolderService
* Add rules store as parameter for alertng provider
---------
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-06-02 16:38:02 +02:00
Ryan McKinley
26658d172f
Migrations: Support independent migration log for entity api ( #68511 )
2023-05-22 11:31:07 -07:00
Ryan McKinley
ca1f79b9ba
Kindsys: Target k8s style resource definitions ( #67008 )
...
Co-authored-by: sam boyer <sdboyer@grafana.com>
2023-04-27 23:32:38 +03:00
Karl Persson
e4d998dc1a
ApiKeyGenPrefix: rename package ( #65623 )
...
* Rename package to satokengen to make it clearer that it is for service
account tokens
2023-03-30 17:04:10 +02:00
Serge Zaitsev
126c4a106e
Chore: Remove result field from remaining datasources queries ( #65054 )
...
remove result field from datasources
2023-03-20 19:18:21 +01:00
Ryan McKinley
91a4b8b529
Chore: remove dashboardsFromStorage ( #65058 )
2023-03-20 18:36:49 +02:00
Ryan McKinley
bb9ae04bd8
Chore: cleanup entity api from CodeQL scan ( #64277 )
...
cleanup
2023-03-07 07:54:25 -08:00
Sofia Papagiannaki
e6e8351ee9
Chore: Remove CreateUserForTests() ( #64125 )
...
* Chore: Remove CreateUserForTests
* Apply suggestion from code review
2023-03-03 11:01:23 -05:00
Emil Tullstedt
3abaf32cf2
Chore: Upgrade golangci-lint to v1.51.2 ( #63630 )
...
Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-02-23 15:10:03 +01:00
Kyle Brandt
52ed297ed5
Backend: Use latest plugin-sdk-go v0.149.1 ( #63498 )
...
Use latest github.com/grafana/grafana-plugin-sdk-go which includes changes to the TypeVersion property (always present in JSON).
Also included is squtil changes: SQL util - allow using the database scan type for converters
2023-02-21 09:06:15 -05:00
Selene
7ace44c8b5
Chore: Update oapi-codegen library ( #62962 )
...
* Update oapi library and thema
* Use fork commit to fix elasticsearch and cloudwatch generators
* Update thema
* Fixes
* Update thema with last fixes
* Sync
* Fix test
* Update thema and schemas
* Update thema
2023-02-21 12:34:24 +01:00
Ryan McKinley
0018c8e9c1
K8S: cleanup and consolidate feature toggles ( #63212 )
2023-02-09 09:54:00 -08:00
idafurjes
23c27cffb3
Chore: Rename Id to ID in alerting models ( #62777 )
...
* Chore: Rename Id to ID in alerting models
* Add xorm tags for datasource
* Add xorm tag for uid
2023-02-02 17:22:43 +01:00
Serge Zaitsev
907e2a840e
Chore: Fix goimports grouping ( #62429 )
...
* fix goimports ordering
* fix goimports order
2023-01-30 09:57:50 +01:00
Ieva
eb9ef34272
RBAC: Permission check performance improvements for the new search ( #60729 )
...
* Add checker and update the resource filter function for new search
* Add tests for checker
* small fixes
* handle location for panels correctly
* clean up checker code and extend the tests for it
* more fixes, but tests don't quite work yet
* a small change to return error
* cleanup
* more simplification
* fix tests
* correct wrong argument ordering & use constant
* Apply suggestions from code review
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
* import
* check general folder from permission checker function
* handle root folder aka general folder properly
* update tests
* clean up
* lint
* add fix from main
Co-authored-by: Karl Persson <kalle.persson@grafana.com>
Co-authored-by: Artur Wierzbicki <artur.wierzbicki@grafana.com>
2023-01-27 12:12:30 +00:00
idafurjes
6c5a573772
Chore: Move ReqContext to contexthandler service ( #62102 )
...
* Chore: Move ReqContext to contexthandler service
* Rename package to contextmodel
* Generate ngalert files
* Remove unused imports
2023-01-27 08:50:36 +01:00
Ieva
5e1dc22f88
Chore: fix builds on main ( #62218 )
...
fix builds
2023-01-26 14:39:52 +00:00
Ryan McKinley
46c828c2d8
EntityAPI: Rename references from kind to family ( #62044 )
2023-01-25 23:42:04 +00:00
Ryan McKinley
402345ac08
Chore: Fix dashboard service after refactor ( #62153 )
...
merge refactoring sequence
2023-01-25 19:52:01 +00:00
Ryan McKinley
4965cf2eda
k8s: add feature toggle and stub to save dashboards k8s ( #62053 )
2023-01-25 11:10:16 -08:00
Ryan McKinley
a0405912a8
Preferences: Add preferences kind and remove unused navbar settings ( #59621 )
2023-01-25 11:00:32 -08:00
Kristin Laemmert
dd147a3c31
chore: move entity models into entity store service ( #62145 )
2023-01-25 12:43:22 -05:00
Ryan McKinley
624e5dbed2
EntityAPI: Save nested summary info in the SQL database ( #61732 )
2023-01-21 00:00:17 +00:00
Ryan McKinley
0c20fe0ac9
EntityAPI: Include folder support and watch API stubs ( #61338 )
2023-01-13 00:39:36 +00:00
Guilherme Caulada
1a9b6873e6
Store: Add mock for system users to be used in tests ( #61245 )
...
Add mock for system users to be used in tests
2023-01-11 11:50:22 -03:00
sam boyer
b8253ac3b9
deps: Update thema, use CUE fork ( #60496 )
...
* deps: Update thema, use CUE fork
* Remove superfluous openapi-codegen output
* Update thema again to catch cuetsy changes
* Rerun codegen with latest
* Latest thema, removes cuetsy update
* Latest of cuetsy
* Update type usage
* One last cuetsy rollback
* Update playlist summary tests
* More lint fixes
* Remove TS veneer changes for VariableHide
Co-authored-by: Clarity-89 <homes89@ukr.net>
2022-12-22 07:20:02 -05:00
Ryan McKinley
cf055ab4ec
k8s: Add a dev only feature flag and simple service to get a client ( #60204 )
2022-12-13 07:41:16 -08:00
Artur Wierzbicki
4893acaeb4
EntityAPI: disable integration tests ( #60073 )
...
disable entity api int tests
2022-12-09 02:50:13 -05:00
Ryan McKinley
b2c4af16d7
Git: Update experimental workflow POC ( #60049 )
2022-12-08 13:57:33 -05:00
Ryan McKinley
d036225f7b
Chore: get user from appcontext rather than store utility ( #59926 )
...
user from appcontext
2022-12-07 07:38:23 -08:00
Artur Wierzbicki
9e349bf9b0
EntityStore: support filtering by labels ( #59905 )
...
* label filtering
* filtering in sql
* filtering in sql group by
* label is unique - no need for distinct
* capitalize
* fix capitalization
2022-12-06 23:21:12 +04:00
Ryan McKinley
fb98a97efa
EntityStore: Move slug+folder to summary metadata ( #59620 )
2022-12-01 14:45:08 -05:00
Ryan McKinley
14a080ec12
EntityStore: Rename ObjectStore to EntityStore (part 2) ( #59616 )
2022-11-30 17:52:15 -05:00
Ryan McKinley
5dc7b01f9d
EntityStore: Rename ObjectStore to EntityStore (part 1) ( #59613 )
2022-11-30 13:42:42 -08:00
Ryan McKinley
b0b74337f1
Chore: fix go.mod and slugify after merge ( #59611 )
2022-11-30 16:16:57 -05:00
Ryan McKinley
b4b843be66
ObjectStore: Replace path model with folder, uid, and slug model ( #59452 )
2022-11-30 12:10:35 -08:00