Commit Graph

1792 Commits (58e57a1669e8c2f2d0f2036ffed68d61f5069de4)

Author SHA1 Message Date
Mario Trangoni 74533a7a19 pkg/services/sqlstore/user_auth_test.go: comment unused users slice 7 years ago
Torkel Ödegaard 8c9939df72 Adds backend hooks service so extensions can modify index data 7 years ago
Torkel Ödegaard d5d8d7efa6 minor setting refactorings 7 years ago
Torkel Ödegaard b671b9704f changed property name to UserWasDeleted and added an assert for it 7 years ago
Mario Trangoni 9c44c75936 pkg/services/alerting/notifiers/telegram.go: check error before close. 7 years ago
Torkel Ödegaard 9585dc7825 added the UserWasRemoved flag to make api aware of what happened to return correct message to UI 7 years ago
Torkel Ödegaard 5b5cb6622d Remove user form org now completely removes the user from the system if the user is orphaned 7 years ago
bergquist 4498d75b17 provisioning: adds more logging about failed to deletion of provisioned dashboards 7 years ago
Mario Trangoni d1e1fb7e72 pkg/services/alerting/notifiers/telegram_test.go: pass context.Background() instead of nil 7 years ago
Torkel Ödegaard 6c41cfb72c wip: made sqlstore dialect accessable from outside 7 years ago
Marcus Efraimsson 0e0901874b
better comment about state changes 7 years ago
Marcus Efraimsson 418f77e70e
get or create alert notification should use transaction 7 years ago
bergquist 7b781e4c3c use notification state id instead of notifier id 7 years ago
bergquist 9289cba625 merges defaultShouldNotify and ShouldNotify 7 years ago
bergquist 67e5f62514 move version conflict logging for mark as complete to sqlstore package 7 years ago
bergquist 9d3659d30d improve local variable name 7 years ago
bergquist b45a1bd45c avoid exporting notificationState and notificationStateSlice 7 years ago
bergquist 9022e871e3 avoid sending full notification state to pending/complete 7 years ago
bergquist 341d8af637 rename GetNotificationStateQuery to GetOrCreateNotificationStateQuery 7 years ago
bergquist 7f1d7cefc0 reminder: uses UpdatedAt to track state changes. 7 years ago
Mario Trangoni dde650905d Fix megacheck issue unused code. 7 years ago
bergquist 75f832cda8 use alert state changes counter as secondary version 7 years ago
Torkel Ödegaard b3c78f1265 wip: data source permissions hooks 7 years ago
Marcus Efraimsson 1be8fb76b8
cleanup alert_notification_state when deleting alert rules and channels 7 years ago
Marcus Efraimsson 5ec086dc56
don't notify if notification state pending 7 years ago
Marcus Efraimsson d412aafb7e
remove unused code 7 years ago
Marcus Efraimsson 8551ffa0b0
alert -> ok with reminders enabled should send 7 years ago
Marcus Efraimsson 67c58fa5e4
fix set sent_at on complete 7 years ago
Torkel Ödegaard d2464812eb noop services poc 7 years ago
Marcus Efraimsson c1763508e0
handle pending and completed state for alert notifications 7 years ago
Marcus Efraimsson 2bf399d3c8
No need to get alert notification state in ShouldNotify 7 years ago
Marcus Efraimsson 69cc24ea3f
wip: test get alert notification state 7 years ago
Marcus Efraimsson 88bbc452a7
wip: send and mark as complete 7 years ago
Leonard Gram 1a75aa54de wip: impl so that get alertstate also creates it if it does not exist 7 years ago
bergquist 15ce474639 wip 7 years ago
Marcus Efraimsson d093244282
sqlstore: add support for checking if error is constraint validation error 7 years ago
bergquist c5278af6c4 add support for mysql and postgres unique index error codes 7 years ago
bergquist 3fab616239 implement sql queries for transactional alert reminders 7 years ago
bergquist ff79f80685 initial rename refactoring 7 years ago
bergquist b04052f515 alerting: move all notification conditions to defaultShouldNotify 7 years ago
Torkel Ödegaard 862ca07f03 fix: updated tests 7 years ago
Torkel Ödegaard cb96c6d942 Changed setting to be an alerting setting 7 years ago
Torkel Ödegaard 4dab595ed7 rendering: Added concurrent rendering limits 7 years ago
Mario Trangoni 0870464ea5 Fix goconst issues 7 years ago
Torkel Ödegaard 98dad530e2 provisioning: changed provisioning default update interval from 3 to 10 seconds 7 years ago
Mario Trangoni 60dfff11a0 Fix datbase > database 7 years ago
Mario Trangoni 80fa66fcb0 Fix some typos found by codespell 7 years ago
Mario Trangoni 0dea8fe1e0 pkg/services/sqlstore/user.go: empty branch 7 years ago
Arno Uhlig 1355c00c44 fix reader linux test 7 years ago
Arno Uhlig 6b2d91815a resolve symlink on each run 7 years ago