0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-03-13 04:53:16 +00:00
Commit graph

116 commits

Author SHA1 Message Date
Nick Satterly
523650a7ce Add "delete:alerts" scope for deleting alerts 2020-11-07 14:58:30 +01:00
Nick Satterly
d9c5185653 Hide fields with large data from default alerts response
eg. rawData and alert history
2020-10-27 08:48:13 +01:00
Nick Satterly
85437dcaaa Add configurable default user and guest roles 2020-10-25 08:14:06 +01:00
Nick Satterly
41fa9122cc Add font settings for web UI 2020-07-02 01:29:04 +02:00
Nick Satterly
c9e7f0a46b
Make Ack and Shelve timeouts configurable () 2020-06-10 22:01:21 +02:00
Nick Satterly
e29d80bbf3
Load HTTP endpoints when using "alertad run" command ()
* Load HTTP endpoints when using "alertad run" command

* Fix linting errors

* Show diff on pre-commit hook failure

* Do not support running cli as main
2020-05-16 18:21:30 +02:00
Nick Satterly
1538a97717
Add forwarder plugin for federated Alerta ()
* Add alerts and action forwarder plugin for federated setups

* Add tests for forwarder plugin
2020-04-30 21:26:49 +02:00
Nick Satterly
9929be9a7c
Fix API key query parameter () 2020-04-19 20:14:55 +02:00
Nick Satterly
8a9fbbeefd
Return updated resource after update () 2020-04-18 15:33:33 +02:00
Nick Satterly
e4d4e8437b
Fix add notes user error and add tests () 2020-04-18 15:02:11 +02:00
Nick Satterly
2510e0cdf6
Refactor notes to make more modular () 2020-04-15 23:01:11 +02:00
Nick Satterly
338b946b45
Add support for 'operator notes' for alerts () 2020-04-15 13:12:11 +02:00
Nick Satterly
1c23c6a724
Add "delete" hook called before any alert delete ()
* Add "delete" hook called before any alert delete

* Add plugin test for delete hook
2020-02-25 20:45:51 +01:00
Nick Satterly
0339fba926
Support user-defined list of admin roles () 2020-02-13 22:54:36 +01:00
Nick Satterly
bba17e6c60
Add guest default role with read-only alerts scope () 2020-01-26 16:28:40 +01:00
Nick Satterly
49ec257e76
Add attributes field to heartbeat for use in hb alerts ()
* Add attributes field to heartbeat for use in hb alerts

* Whitespace fix for pre-commit hook to pass
2020-01-25 13:03:35 +01:00
Nick Satterly
c79943e690
Allow server to set default alert filter () 2020-01-09 17:52:53 +01:00
Jarno Huuskonen
856e3e64a3 1079(https://github.com/alerta/alerta/pull/1079) breaks changing ()
user passwords with internal authentication (passwords are set to
[REDACTED]).
This commit moves user.update / user.update_attributes before
write_audit_trail, so password change works.
2019-11-28 20:31:45 +01:00
Nick Satterly
dbf045ff79
Move config endpoint to own file () 2019-10-14 23:32:21 +02:00
Nick Satterly
4ec7abd26d
Move valid scope check to update perms view () 2019-09-22 22:57:32 +02:00
fshaikh-eg
d4b7848fb0 Pass timeout to action process_action and take_action functions ()
* added kwarg for timeout for process_action so it can be used in a plugin

* change default to 3 values expected and exception to 4 values

* changed time_out to timeout and fixed kwargs ordering

* implementing recommended improvements to get length of tuple

* updated exception logic

* fixed formatting
2019-08-13 20:01:15 +02:00
Asher Foa
2cb00a7b9b iSort fixes ()
* iSort fixes

* Remove unused import
2019-08-10 23:14:44 +02:00
Nick Satterly
d382575f5c
Add support for globally-defined alert severity indicators () 2019-06-30 16:59:20 +02:00
Nick Satterly
de9688142f
Amazon Cognito OpenID Connect auth provider ()
* Add support for Amazon Cognito OpenID Connect auth provider

* Add test for Amazon Cognito auth provider

* Pass known auth provider in bearer token
2019-06-20 20:20:17 +02:00
Nick Satterly
6099b5e2ac
Make oembed query database agnostic () 2019-06-19 16:09:06 +02:00
Nick Satterly
5bf9da819c
PingFederate users can use OpenID Connect auth () 2019-06-18 22:56:56 +02:00
Nick Satterly
ca42562e00
Add support for tracing headers to audit, logging and responses () 2019-05-24 00:01:12 +02:00
Nick Satterly
ea86676767
Add default alarm model severity config () 2019-05-21 00:36:26 +02:00
Nick Satterly
1f4e5dba83
Return heartbeat id when alert converted to hb () 2019-05-14 10:23:10 +02:00
Nick Satterly
dadb478eca
Add username lookup to check for login and email () 2019-04-28 22:45:03 +02:00
Nick Satterly
884c28f565
Pass debug mode setting to clients () 2019-04-23 11:08:59 +02:00
Nick Satterly
10bc40062a
Convert add remote IP method into a plugin () 2019-04-19 21:06:09 +02:00
Nick Satterly
a7c13ec20d
Add heartbeat plugin to transform alerts into heartbeats () 2019-04-14 22:44:50 +02:00
Nick Satterly
b2dd469645
Use login instead of email for user lookups () 2019-04-10 12:56:03 +02:00
Nick Satterly
81ff6fbf55
Add user groups for role and customer lookup () 2019-04-07 09:33:38 +02:00
Nick Satterly
625fc77ac7
Prevent redundant/duplicate and invalid actions () 2019-04-05 00:02:39 +02:00
Nick Satterly
9da323755c
Only allow create user if using BasicAuth () 2019-04-04 09:32:40 +02:00
Nick Satterly
a248c5d5c1
Use find_by_id() for update me endpoints () 2019-04-02 07:58:31 +02:00
Nick Satterly
12e05a9dc8
Use OpenID as auth provider for Azure, GitLab, Google and Keycloak () 2019-04-01 10:36:31 +02:00
Andrey Kuzmin
cc8f93000c Oembed fix ()
* Fix oembed.

Use usual json (not jsonp request) with Access-Control-Allow-Origin header.
Correct path to oembed location.

* Move styling to embedding page from embedded to simplify configure.

Removed width/height from parameters.
Allow to hide title.

* More powerfull oembed.

Auto-renew.
Ability to open page locally (we heed to set http/https prefixes).
Fix loading: we need to set alerta defaults only after script loading.

* oembed example for grafana.

* Remove unused width/height from js.

* Ability to set empty background in case of no alerts.

* Oembed work fix.

qb.from_params forms incorrect arguments for query.

* Grafana load fix.

Grafana won't load script on "load". So it's better to embed js.

* Revert api path to usual environment prefix.

But leave a comment, how to use it with alerta, running in docker.
2019-03-24 20:57:21 +01:00
Nick Satterly
75c707716f
Prevent user with lesser role assigning role with more privileges () 2019-03-22 00:35:43 +01:00
Nick Satterly
b7f5abf9f3
Keep old attributes when updating new ones () 2019-03-21 22:45:03 +01:00
Nick Satterly
61f1b49ac2
Add generic OpenID Connect auth strategy () 2019-03-08 07:50:13 +01:00
Nick Satterly
d7bfb4c224
Update ISA 18.2 alarm model from 2009 to 2016 version () 2019-03-03 23:44:52 +01:00
Nick Satterly
00d04e1f0c
Add endpoint to list alert groups () 2019-02-28 23:43:33 +01:00
Nick Satterly
24d1ba3eff
Only basic auth supports sign up () 2019-02-18 00:25:30 +01:00
Nick Satterly
d44aba74c6
Add support for Microsoft Azure Active Directory OAuth2 () 2019-02-17 01:03:27 +01:00
Nick Satterly
548b74d456
Add note endpoint for alert resource () 2019-02-08 22:23:25 +01:00
Nick Satterly
31e0e9a296
Filter customer responses for that authed user () 2019-01-21 20:47:59 +01:00
Nick Satterly
4ab148c600
Send different email links based on hashbang or history mode () 2019-01-16 14:21:40 +01:00