0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-03-14 05:22:44 +00:00
Commit graph

17 commits

Author SHA1 Message Date
Asher Foa
2cb00a7b9b iSort fixes ()
* iSort fixes

* Remove unused import
2019-08-10 23:14:44 +02:00
Nick Satterly
9ceb27566a
Add housekeeping settings to app config () 2019-03-12 11:20:05 +01:00
Nick Satterly
55b7af9348
Use enum type for scopes () 2018-11-09 00:34:32 +01:00
Nick Satterly
37c6b253d2
Add proxy fix option if running behind SSL terminating proxy () 2018-10-24 12:08:59 +02:00
Nick Satterly
d99a9bc0da
Add envvars to mgmt props endpoint () 2018-09-21 21:12:40 +02:00
Nick Satterly
977668e698
Flake8 fixes () 2018-09-16 00:58:17 +02:00
Nick Satterly
627b971a88
Replace double-quotes with single-quotes () 2018-09-16 00:20:53 +02:00
Nick Satterly
4af78277e8
Add pre-commit checks () 2018-09-16 00:07:50 +02:00
Nick Satterly
e0bce26a58
Run mypy during build checks and start adding type hints () 2018-08-23 11:35:14 +02:00
Nick Satterly
da63ea8133
Can use BasicAuth for prometheus metrics () 2018-08-23 10:57:29 +02:00
Nick Satterly
1690c326a1
Add support for Basic Auth ()
* Add support for Basic Auth

* fix not authorized method

* Add tests for basic auth
2018-08-04 23:04:28 +02:00
Michael Mulqueen
19d5fdbcbf Housekeeping Endpoint and setup.py ()
* Ensure /management/housekeeping endpoint responds with JSON.

- Changed how success and errors are handled so that JSON is returned
- Allowing POST as well as GET. GET for backwards compatibility, POST
because housekeeping is not safe or idempotent in the REST sense.

* Made build more reliable by removing assumptions about working directory
2018-01-23 23:02:13 +00:00
Nick Satterly
c6624aacad
Rename get() to find_by_id() () 2017-12-04 22:09:53 +00:00
Nick Satterly
6746754d57
Whitespace changes recommended by pylint () 2017-11-17 20:48:33 +00:00
Nick Satterly
e200925e71 Make housekeeping delete thresholds configurable params 2017-10-18 14:58:19 +01:00
Nick Satterly
6832fc0aa6 Add housekeeping endpoint and optional bcrypt for GAE 2017-09-24 21:28:41 +01:00
Nick Satterly
b28b2559f8 Flatten directory structure 2017-09-20 15:08:46 +01:00