Commit Graph

137 Commits

Author SHA1 Message Date
John Bodley
49605e763c chore(command): Condense delete/bulk-delete operations (#24607)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit a156816064)
2023-07-13 13:36:20 -03:00
John Bodley
96cf6406f1 chore(dao): Add explicit ON DELETE CASCADE for ownership (#24628) 2023-07-12 11:19:43 -03:00
John Bodley
71eff954ba chore(dao): Condense delete/bulk-delete operations (#24466)
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit 7409289762)
2023-07-12 11:17:04 -03:00
Beto Dealmeida
967ca0470b fix(report): edit without custom width (#24612)
(cherry picked from commit 93ba4ade09)
2023-07-07 09:48:45 -03:00
Beto Dealmeida
a740c2c06e feat: screenshot reports with custom width (#24549) 2023-06-29 22:52:32 -07:00
Beto Dealmeida
be9eb0f3a3 feat: customize screenshot width for alerts/reports (#24547) 2023-06-29 14:32:58 -07:00
Daniel Vaz Gaspar
0ddc0a6738 chore: remove marshmallow-enum dependency and bump FAB (#24499) 2023-06-27 08:37:43 +01:00
John Bodley
92e2ee9d07 chore(dao): Add generic type for better type checking (#24465) 2023-06-21 09:30:07 -07:00
John Bodley
3e76736874 chore(dao): Organize DAOs according to SIP-92 (#24331)
Co-authored-by: JUST.in DO IT <justin.park@airbnb.com>
2023-06-18 18:32:32 -07:00
John Bodley
a4d5d7c6b9 chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
John Bodley
8b4222ff9e chore: Refactor command exceptions (#24117) 2023-05-19 09:08:12 -07:00
John Bodley
488ec02e70 chore(report): Use for/else clause (#24107) 2023-05-19 06:41:17 -07:00
John Bodley
d583ca9ef5 chore: Embrace the walrus operator (#24127) 2023-05-19 00:37:13 -07:00
Daniel Vaz Gaspar
694f93326d fix: methods incorrect type and update deprecated targets (#23935) 2023-05-05 18:57:27 +01:00
EugeneTorap
689bc8ea04 chore: Use nh3 lib instead of bleach (#23862) 2023-04-28 14:36:51 +01:00
Sebastian Liebscher
b31efbae7c chore: remove RemovedInMarshmallow4 warnings (#23704) 2023-04-21 09:11:46 +03:00
ʈᵃᵢ
350723bff8 fix: update log message for ALERT_REPORTS_NOTIFICATION_DRY_RUN (#23604) 2023-04-12 09:30:28 -06:00
Zef Lin
870bf6d0b9 fix: revert back to use security manager authz for dashboard when get by uuid (#23330) 2023-03-16 15:27:02 +00:00
Hugh A. Miles II
b820eb8235 chore: Update pre-commit packages (#23173) 2023-03-13 17:05:13 -06:00
Josh Soref
dec6ac49f6 chore(backend): Spelling (#19677)
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Evan Rusackas <evan@preset.io>
2023-02-17 10:48:24 -07:00
Elizabeth Thompson
7160daecf3 chore: change AlertQueryError to 400 (#23102) 2023-02-16 16:31:16 -08:00
Elizabeth Thompson
4ddf67fc14 chore: move dashboard screenshot standalone logic (#23003) 2023-02-15 14:35:08 -08:00
Ville Brofeldt
577ac81686 chore(ci): fix numpy type errors and revert #22610 (#22782) 2023-01-19 14:53:48 +02:00
Elizabeth Thompson
c58dbf8b9c fix: pass in slack error messages properly (#22727) 2023-01-17 13:30:51 -08:00
Cemre Mengu
0b22287ad9 feat: make CTA text in Alerts & Reports mails configurable (#19779) 2023-01-10 11:52:54 -07:00
Elizabeth Thompson
7591acba54 fix: change type of slack error (#22443) 2023-01-06 17:50:43 -05:00
Daniel Vaz Gaspar
7926a43aed refactor: rename filter_rel_fields to base_related_field_filters (#22508) 2022-12-24 00:39:53 +00:00
Ville Brofeldt
aa0cae9b49 feat(thumbnails): add support for user specific thumbs (#22328) 2022-12-14 15:02:31 +02:00
Ville Brofeldt
c3f9f0bf69 fix(alerts): execute query as report executor (#22167) 2022-11-18 14:22:56 +02:00
Elizabeth Thompson
ce145c676c refactor: use exception status for logging (#21971) 2022-11-14 14:14:24 -08:00
Ville Brofeldt
a02a778cc3 feat(reports): execute as other than selenium user (#21931)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-10-31 14:32:49 +02:00
AAfghahi
33fc57854d fix: error_parsing (#21946) 2022-10-28 19:43:37 -04:00
AAfghahi
76c865fc56 chore: additional logging in alerts and reports (#21802) 2022-10-24 17:07:21 -04:00
Ville Brofeldt
4c1777f20d fix(alerts): restrict list view and gamma perms (#21765) 2022-10-15 10:03:26 +03:00
Phillip Kelley-Dotson
f4fa2e1115 chore: add more logging for alerts and reports (#21714) 2022-10-13 15:53:02 -04:00
Erik Cederstrand
640628952e chore(dep): Unpin slackclient dependency (#21586)
Co-authored-by: Erik Cederstrand <erik@adamatics.com>
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-10-04 14:42:42 +03:00
Elizabeth Thompson
4417c6e3e2 chore: add 4xx error codes where applicable (#21627) 2022-10-03 15:19:47 -07:00
Phillip Kelley-Dotson
84c3cf66ea fix: add logging to alerts and reports to find non-triggering issues (#21684) 2022-10-03 13:24:32 -07:00
Daniel Vaz Gaspar
ab7cfec975 feat: new config to filter specific users from dropdown lists (#21515) 2022-09-29 12:30:07 +01:00
AAfghahi
dda1dcf8ee feat: add header_data into emails (#20903)
* test sparkpost

* added logging info

* header function implementation

* added test

* daniel revisions

* daniel revision

* elizabeth review
2022-08-18 10:32:25 -04:00
Jesse Yang
e739ff5076 feat: allow more HTML tags in report description (#20908) 2022-07-29 08:27:39 -07:00
Jesse Yang
4d192e6e4d feat(report): capture dashboard reports in specific states (#20552) 2022-07-26 17:01:56 -07:00
John Bodley
7a1aa79c52 fix: Ensure consistent rollback logic (#20811) 2022-07-25 08:18:53 -07:00
Cody Leff
84d4302628 fix(explore): Fix chart standalone URL for report/thumbnail generation (#20673)
* Update explore URLs.

* More URL fixes.

* Make frontend accept true/false query params case-insensitively.

* Fix URL mistake.

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
2022-07-19 13:53:55 -03:00
John Bodley
f0ca158989 fix: Refactor ownership checks and ensure consistency (#20499)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-07 11:04:27 -07:00
Rui Zhao
818962cc89 fix(embedded): Retry when executing alert queries to avoid sending transient errors to users as alert failure notifications (#20419)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-07-05 13:23:05 -07:00
Smart-Codi
ee06d3d113 Fix typo issue in Error handling message (#20365) 2022-06-13 14:29:18 -06:00
AAfghahi
c131f025f8 chore: add event logger to reports/alerts CRUD (#20249)
* add event logger to report CRUD

* added assert metric to tests

* added unique name to action

* testing

* with inline log context
2022-06-06 16:13:22 +02:00
Daniel Vaz Gaspar
77ccec50cc feat: add statsd metrics for notifications (#20158)
* feat: add statsd metrics for notifications

* fix import

* fix lint

* add decorator arg for custom prefix

* add tests
2022-05-26 15:43:05 +01:00
John Bodley
89a844a40f fix(reports): Clear last value when state is WORKING (#19941)
* fix(reports): Clear last value when state is WORKING

* Update cbe71abde154_fix_report_schedule_and_log.py

Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-12 21:54:23 -07:00