grafana/pkg/services/sqlstore
Josh Hunt 7bc6d32eb9
Search API: Search by folder UID (#65040)
* Search: Attempt to support folderUID filter

* Search: Use folder UID instead of ID for searching folders

* Update swagger

* Fix JSON property casing

* Add integration test

* Remove redundant query condition

* Fix frontend test

* Fix listing dashboards in General/root

* Add support for fetching top level folders

using `folderUIDs=` (empty string) query parameter

* Add deprecation notice

* Send uid of general in sql.ts

* Use 'general' for query folderUIDs query param for fetching folder

* Add tests

* Fix FolderUIDFilter

---------

Co-authored-by: Sofia Papagiannaki <1632407+papagian@users.noreply.github.com>
2023-08-04 12:43:47 +03:00
..
migrations Chore: Add folder data migration, fix unique index (#72602) 2023-08-01 09:36:37 +02:00
migrator SQLStore: Fix Postgres dialect treating "false" migrator default as true (#69353) 2023-06-22 15:09:36 -04:00
permissions Nested folders: Fix search query for empty self-contained permissions (#72727) 2023-08-02 14:12:46 +03:00
searchstore Search API: Search by folder UID (#65040) 2023-08-04 12:43:47 +03:00
session SQLX: Expose sqlxdb query functions (#57227) 2022-10-19 07:33:40 -07:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
bulk_test.go Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
bulk.go SQLStore: Create utility for bulk inserts (#57632) 2022-11-01 13:24:32 -05:00
database_wrapper.go Traces: Fix timestamp for database query traces (#61109) 2023-01-09 09:40:55 -05:00
logger.go Chore: Fix goimports grouping in pkg/services (#62420) 2023-01-30 08:21:27 +00:00
session_test.go SQLStore: Fix SQLite error propagation if query retries are disabled (#64904) 2023-03-17 12:57:13 +02:00
session.go SQLStore: Fix SQLite error propagation if query retries are disabled (#64904) 2023-03-17 12:57:13 +02:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go SQLStore: Fix regression in PostgreSQL connection string (#71368) 2023-07-11 16:47:35 +03:00
sqlstore.go SQLStore: Fix regression in PostgreSQL connection string (#71368) 2023-07-11 16:47:35 +03:00
tls_mysql.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
transactions_test.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
transactions.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
user.go Chore: Ignore unique constrain failure when creating the main organization (#68644) 2023-05-18 11:26:29 +03:00