0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-02-11 00:12:26 +00:00
alerta_alerta/alerta/views
Andrey Kuzmin cc8f93000c Oembed fix (#853)
* 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
..
__init__.py Add generic OpenID Connect auth strategy (#876) 2019-03-08 07:50:13 +01:00
alerts.py Add endpoint to list alert groups (#864) 2019-02-28 23:43:33 +01:00
blackouts.py Make query from params using customer optional (#805) 2019-01-09 01:38:24 +01:00
bulk.py Use enum type for scopes (#743) 2018-11-09 00:34:32 +01:00
customers.py Filter customer responses for that authed user (#826) 2019-01-21 20:47:59 +01:00
heartbeats.py Make query from params using customer optional (#805) 2019-01-09 01:38:24 +01:00
keys.py Filter blackouts by customer, auto add customer and user (#804) 2019-01-09 01:04:09 +01:00
oembed.py Oembed fix (#853) 2019-03-24 20:57:21 +01:00
permissions.py Add edit perms endpoint (#795) 2019-01-02 22:03:30 +01:00
users.py Prevent user with lesser role assigning role with more privileges (#890) 2019-03-22 00:35:43 +01:00