Giuseppe Guerra
e8c1592a47
Datasources: Deprecate and log creating/updating datasources with invalid UIDs ( #68800 )
...
* Datasources: Deprecate and log when creating/updating datasources with invalid UIDs
* trigger
* Update invalid uid deprecation log message
* capitalize log
2023-05-25 12:11:51 +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
suntala
49b3027049
Chore: Remove Result field from datasources ( #63048 )
...
* Remove Result field from AddDataSourceCommand
* Remove DatasourcesPermissionFilterQuery Result
* Remove GetDataSourceQuery Result
* Remove GetDataSourcesByTypeQuery Result
* Remove GetDataSourcesQuery Result
* Remove GetDefaultDataSourceQuery Result
* Remove UpdateDataSourceCommand Result
2023-02-09 15:49:44 +01: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
Jo
dcfeab2c73
AuthN: User Quota ( #61540 )
...
* remove reqContext from quota checks in login
* add guards for nil ScopeParams
2023-01-16 11:54:15 +01:00
Zoltán Bedi
d65899de7b
SQL Datasources: Move database setting to jsonData ( #58649 )
...
* Datasource settings: Add deprecation notice for database field
* SQL Datasources: Migrate from settings.database to settings.jsonData.database
* Check jsonData first
* Remove comment from docs
2022-12-13 09:56:52 +01:00
Sofia Papagiannaki
9855e74b92
Chore: Refactor quota service ( #58643 )
...
Chore: Refactor quota service (#57586 )
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-14 21:08:10 +02:00
Sofia Papagiannaki
96cdf77995
Revert "Chore: Refactor quota service ( #57586 )" ( #58394 )
...
This reverts commit 326ea86a57 .
2022-11-08 11:52:07 +02:00
Sofia Papagiannaki
326ea86a57
Chore: Refactor quota service ( #57586 )
...
* Chore: refactore quota service
* Apply suggestions from code review
2022-11-08 10:25:34 +02:00
Kristin Laemmert
05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages ( #57087 )
...
* chore: add alias for InitTestDB and Session
Adds an alias for the sqlstore InitTestDB and Session, and updates tests using these to reduce dependencies on the sqlstore.Store.
* next pass of removing sqlstore imports
* last little bit
* remove mockstore where possible
2022-10-19 09:02:15 -04:00
Selene
ba6c715708
Chore: Delete unused db in orgs and use db in datasources ( #57085 )
...
* Delete unused db in orgs and use db in datasources
* Sort imports
2022-10-17 16:27:56 +02:00
Gabriel MABILLE
7595ed0668
FIX: Remove RBAC datasource permissions upon datasource deletion ( #56530 )
...
* FIX: Remove RBAC datasource permissions upon datasource deletion
* Use scope provider instead
* Fix test
2022-10-07 08:30:15 -04:00
George Robinson
c4d32dd687
Fix nil logger in SqlStore ( #54726 )
2022-09-05 18:24:19 +01:00
ying-jeanne
6227528ea0
Chore: SQL Store Split of datasource ( #54262 )
...
* refectory datasource
* fix linter
2022-08-26 11:03:38 -04:00