grafana/pkg/services
Alexander Weaver 0e7640475f
Alerting: Store alertmanager configuration history in a separate table in the database (#60492)
* Update config store to split between active and history tables

* Migrations to fix up indexes

* Implement migration from old format to new

* Move add migrations call

* Delete duplicated rows

* Explicitly map fields

* Quote the column name because it's a reserved word

* Lift migrations to top

* Use XORM for nearly everything, avoid any non trivial raw SQL

* Touch up indexes and zero out IDs on move

* Drop TODO that's already completed

* Fix assignment of IDs
2023-01-04 10:43:26 -06:00
..
accesscontrol Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00
alerting Plugins: Automatically forward plugin request HTTP headers in outgoing HTTP requests (#60417) 2022-12-21 13:25:58 +01:00
annotations Annotations: Fix EpochEnd being zero for Alert-generated annotations (#60931) 2023-01-04 10:16:54 -06:00
apikey Chore: Refactor quota service (#58643) 2022-11-14 21:08:10 +02:00
auth Auth: Session cache [main] (#59935) 2022-12-07 10:55:48 +01:00
authn AuthN: tune logging (#60917) 2023-01-04 16:25:42 +01:00
cleanup LoginAttempt: Move logic around login attempts into the service (#58962) 2022-11-22 11:37:18 +01:00
comments Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
contexthandler AuthN: Add session client (#60894) 2023-01-04 16:10:43 +01:00
correlations chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
dashboardimport Nested Folders: Set user in the API level (#59148) 2022-11-23 11:13:47 +02:00
dashboards chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
dashboardsnapshots chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
dashboardversion chore(dashboard version service): remove user table join from store implementations (#60779) 2022-12-28 07:59:10 -05:00
datasourceproxy backend/datasources: move datasources models into the datasources service package (#51267) 2022-06-27 12:23:15 -04:00
datasources OpenSearch: Use aoss servicename if OpenSearch is configured as serverless (#60344) 2022-12-14 20:22:26 +01:00
encryption Encryption: Fall back to AES-CFB on empty algorithm metadata (#53266) 2022-08-04 09:37:53 +02:00
export Chore: get user from appcontext rather than store utility (#59926) 2022-12-07 07:38:23 -08:00
featuremgmt PublicDashboards: Enterprise email sharing feature flag (#60644) 2023-01-03 13:45:15 -06:00
folder Nested Folders: Unify folder services (#60390) 2022-12-20 17:38:09 +02:00
grpcserver gRPC Server: Fix logging unauthenticated request error (#57490) 2022-10-23 03:51:23 +08:00
guardian Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
hooks Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00
kmsproviders Encryption: Refactor secrets.Service initialization (#51091) 2022-07-07 09:48:25 +02:00
ldap LDAP: Make LDAP attribute mapping case-insensitive (#58992) 2022-11-22 13:47:53 +01:00
libraryelements chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
librarypanels Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
licensing Navigation: Fix some missing pages in admin section (#60143) 2022-12-12 15:23:49 +00:00
live Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
login Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00
loginattempt LoginAttempts: Reset attempts on successfull password reset (#59215) 2022-11-23 16:57:18 +01:00
multildap LDAP: Disable user in case it has been removed from LDAP directory (#60231) 2022-12-14 03:41:51 -05:00
navtree Alerting: Add landing page (#59050) 2022-12-20 16:21:56 +01:00
ngalert Alerting: Store alertmanager configuration history in a separate table in the database (#60492) 2023-01-04 10:43:26 -06:00
notifications Chore: Delete duplicate models for user (#60906) 2023-01-03 15:25:35 +01:00
oauthtoken Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
org Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00
playlist deps: Update thema, use CUE fork (#60496) 2022-12-22 07:20:02 -05:00
plugindashboards Plugins: Unexport PluginDir field from PluginDTO (#59190) 2022-12-02 13:46:55 +01:00
pluginsettings chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
pluginsintegration Plugins: Pass through dashboard/contextual HTTP headers to plugins/datasources (#60301) 2022-12-22 11:15:00 +01:00
preference Internationalization: Change locale preference to language (#58359) 2022-11-22 12:18:34 +00:00
provisioning Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00
publicdashboards PublicDashboards: Revert Time range setting added (#60698) 2022-12-22 12:31:54 -03:00
query Plugins: Refactor forward of cookies, OAuth token and header modifications by introducing client middlewares (#58132) 2022-12-01 19:08:36 +01:00
queryhistory chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 2022-12-07 11:03:22 -05:00
querylibrary Add query library behind dev-mode-only feature flag (#55947) 2022-11-30 15:33:40 -08:00
quota Login: Fix failure to login a new user via an external provider if quota are enabled (#60015) 2022-12-09 12:30:27 +01:00
rendering Plugins: Unsigned chromium file should not invalidate signature for Renderer plugin (#59104) 2022-12-19 12:46:27 +01:00
screenshot Alerting: Support From and To when taking screenshots (#59166) 2022-11-23 09:28:24 +00:00
search chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
searchusers Chore: Move methods from sqlstore to user store (#56305) 2022-10-05 09:34:36 +02:00
searchV2 EntityStore: Rename ObjectStore to EntityStore (part 1) (#59613) 2022-11-30 13:42:42 -08:00
secrets Chore: Refactor quota service (#58643) 2022-11-14 21:08:10 +02:00
serviceaccounts ServiceAccount: Rewrite the api test to use fakes (#60441) 2022-12-19 09:27:52 +01:00
shorturls chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
sqlstore Alerting: Store alertmanager configuration history in a separate table in the database (#60492) 2023-01-04 10:43:26 -06:00
star Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
stats chore: sqlstore cleanup (#60415) 2022-12-16 11:09:06 -05:00
store deps: Update thema, use CUE fork (#60496) 2022-12-22 07:20:02 -05:00
supportbundles SupportBundles: Move support bundles to services (#60986) 2023-01-04 17:33:18 +01:00
tag Build: clean up and document integration test convention (#58170) 2022-11-04 10:14:21 -04:00
team chore: remove CreateUser from sqlstore & replace with userService.CreateUserForTests (#59910) 2022-12-07 11:03:22 -05:00
teamguardian chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
temp_user chore: remove sqlstore & mockstore dependencies from (most) packages (#57087) 2022-10-19 09:02:15 -04:00
thumbs Guardian: Introduce additional constructors (#59577) 2022-12-15 16:34:17 +02:00
updatechecker Performance: add preallocation for some slice/map (#57860) 2022-11-22 20:24:36 +08:00
user Chore: Delete org model duplicates (#60940) 2023-01-04 16:20:26 +01:00
validations Migrate to Wire for dependency injection (#32289) 2021-08-25 15:11:22 +02:00