0
0
Fork 0
mirror of https://github.com/alerta/alerta.git synced 2025-05-15 05:50:43 +00:00
Commit graph

21 commits

Author SHA1 Message Date
Nick Satterly
0cb430d2ef
Fix linting errors ()
* Use flake8 instead of pylint and black

* Fix type errors
2021-11-21 17:26:37 +01:00
Nick Satterly
320a92b0fa
refactor: convert formatted strings to f-strings () 2021-05-09 14:52:54 +02:00
Nick Satterly
95961df969
refactor: create "query builders" for all data models () 2021-03-13 20:34:39 +01:00
Nick Satterly
0ba6197561
feat: add pagination support to collection responses () 2021-01-09 00:36:15 +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
067712c040 Fix server-side sort for custom attributes 2020-07-02 09:57:25 +02:00
Nick Satterly
d0ef42517d
Fix sort-by severity & status, and reverse sort using '-' ()
* Fix sort-by severity & status, and reverse sort using '-'

* Show all environments even if no alerts meet filter
2020-06-22 19:34:14 +02:00
Nick Satterly
8889a9a8c7
Get the canonical alert id when query history by id () 2020-01-18 22:12:13 +01:00
Nick Satterly
e745a29968
Make query from params using customer optional () 2019-01-09 01:38:24 +01:00
Nick Satterly
145fe22de8
Add query filter for users and perms () 2018-11-21 12:51:11 +01:00
Nick Satterly
51363f5c5c
Make query parser defaults config URL params () 2018-10-23 11:47:29 +02:00
Nick Satterly
6d9857f511
Add support for range searches to query strings () 2018-10-21 00:08:37 +02:00
Nick Satterly
4511f098b4
Add sub-query support to query parser () 2018-10-19 14:13:11 +02:00
Nick Satterly
aeba85a37a
Replace mongo-specific query stirng syntax with database agnostic () 2018-10-18 13:24:14 +02:00
Nick Satterly
3cff98572d
E226 missing whitespace around arithmetic operator () 2018-09-16 01:05:48 +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
7f0413cf5d
Allow users to belong to multiple customers () 2018-04-08 23:23:55 +02:00
Nick Satterly
2632930e90
Exclude HTTP query params from SQL query () 2017-12-01 23:20:54 +00:00
Nick Satterly
6746754d57
Whitespace changes recommended by pylint () 2017-11-17 20:48:33 +00:00
Nick Satterly
b28b2559f8 Flatten directory structure 2017-09-20 15:08:46 +01:00
Renamed from alerta/app/database/backends/postgres/utils.py (Browse further)