Commit Graph

414 Commits

Author SHA1 Message Date
Daniel Vaz Gaspar
d00ba15c78 chore: add statsd support to base API and refactor (#22887) 2023-01-27 17:52:08 +00:00
Evan Rusackas
6998f65e1d chore: removing unnecessary double spaces, a.k.a. "shotgun holes" (#22852) 2023-01-26 11:48:41 -07:00
Josh Soref
02e5dcbbf2 chore(misc): Spelling (#19678)
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>
2023-01-25 16:35:08 -07:00
Ville Brofeldt
577ac81686 chore(ci): fix numpy type errors and revert #22610 (#22782) 2023-01-19 14:53:48 +02:00
Lyndsi Kay Williams
08078753b7 fix: Report screenshot cut off on left and right sides (#22614) 2023-01-17 12:08:00 -06:00
Elizabeth Thompson
0a2fc9cdde fix: change order of webdriver timeout checks (#22698) 2023-01-17 10:00:51 -08:00
Rémy DUBOIS
80b31130b4 fix(async-queries): make global async. queries cookie SameSite option configurable (#21185)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2023-01-16 09:52:15 +02:00
Antonio Rivero Martinez
539936522f feat(ssh_tunnel): SQLAlchemy Form UI (#22513)
Co-authored-by: hughhhh <hughmil3s@gmail.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-11 19:29:52 +00:00
Hugh A. Miles II
ebaad10d6c feat(ssh-tunnelling): Setup SSH Tunneling Commands for Database Connections (#21912)
Co-authored-by: Antonio Rivero Martinez <38889534+Antonio-RiveroMartnez@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
2023-01-03 17:22:42 -05:00
Eugene Bikkinin
a2a578ad9b fix(init): Initialize _jwt_cookie_name in AsyncQueryManager __init__ (#22314) 2022-12-22 13:53:56 -07:00
Rui Zhao
d1989a4766 fix(report): Capture unexpected errors in report screenshots. Fixes #21653 (#21724)
Co-authored-by: Rui Zhao <zhaorui@dropbox.com>
2022-12-13 14:31:36 -07:00
EugeneTorap
ff1d29c539 chore: Bump holidays to 0.17.2 (#22354) 2022-12-07 10:17:57 +02:00
Yongjie Zhao
22fab5e58c feat: Axis sort in the Bar Chart V2 (#21993) 2022-11-26 22:06:26 +08:00
EugeneTorap
394fb2f2d0 fix: slug is empty if filename is non-ASCII (#22118) 2022-11-16 10:53:30 -08:00
John Bodley
e8a0a5ee5c fix: Missing applied filters indicator (#22137) 2022-11-16 08:07:42 -08:00
Hugh A. Miles II
e23efefc46 feat: refactor all get_sqla_engine to use contextmanager in codebase (#21943) 2022-11-15 13:45:14 -05:00
Elizabeth Thompson
ce145c676c refactor: use exception status for logging (#21971) 2022-11-14 14:14:24 -08:00
Daniel Vaz Gaspar
e33a08693b fix: datasource save, improve data validation (#22038) 2022-11-07 10:33:24 +00:00
John Bodley
6bbf4f8718 fix: JSON serializers (#22029) 2022-11-03 17:29:10 -07:00
Yongjie Zhao
a9b229dd1d feat: support mulitple temporal filters in AdhocFilter and move the Time Section away (#21767) 2022-11-02 08:21:17 +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
Elizabeth Thompson
75e6a04269 fix: remove deprecated ETagResponseMixin (#21773) 2022-10-12 10:26:42 -07:00
Mayur
d1a6f0ebc4 fix: allow adhoc columns in non-aggregate query (#21729) 2022-10-10 12:08:33 +08:00
cccs-Dustin
2e564897f8 feat: Add dataset tagging to the back-end (#20892)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2022-09-23 11:01:17 +03:00
Yongjie Zhao
2dfcba04b0 fix: Time Offset in SQLite and refine logic in Date Type conversion (#21378) 2022-09-16 12:02:22 +08:00
Ville Brofeldt
e1e9fda72b fix: remove extras from all adhoc_filters controls (#21450)
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-09-13 15:52:21 +03:00
Yongjie Zhao
ce3d38d2e7 feat: apply Time Grain to X-Axis column (#21163) 2022-09-07 16:24:15 +08:00
EugeneTorap
60db0bb47e chore: Bump pandas to 1.4.4 (#21285) 2022-09-02 13:05:22 +03:00
vin01
38782bb98a fix(utils): use getaddrinfo response to support dual-stack port checks (#21043) 2022-09-01 18:28:02 -07:00
vin01
2aa3bb6c00 fix(utils): use getaddrinfo for hostname check to support ipv6 (#21042) 2022-09-01 18:27:50 -07:00
Daniel Vaz Gaspar
9fd752057e feat: adds TLS certificate validation option for SMTP (#21272) 2022-09-01 10:51:34 +01:00
Yongjie Zhao
11bf7b9125 feat: generate label map on the backend (#21124) 2022-08-22 21:00:02 +08: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
EugeneTorap
76d6a9af91 chore: Support Python 3.10 and bump pandas 1.4 and pyarrow 6 (#21002)
* Bump pandas 1.4 and pyarrow 6

* Use engine="pyarrow" for pd.read_csv()

* Refactoring

* Refactoring

* Refactoring

* Use bytes in pd.read_json()

* Fix test_contribution

* Fix pandas issue when 'arrays' are empty but 'names' contain values

* fix: ValueError: For argument "ascending" expected type bool, received type NoneType.

* Remove engine="pyarrow" and convert bytes to string

* make copy of selected df to fix regression

* Simplify pd.read_json() and pd.read_csv() for example data

Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2022-08-17 10:36:36 -03:00
John Bodley
8d0d778d1a chore(mypy): enable warn_unused_ignores (#20884) 2022-07-29 00:47:53 -07:00
Yongjie Zhao
718bc3062e fix: invalid metric should raise an exception (#20882) 2022-07-28 08:15:43 +08:00
Jesse Yang
77db0651d8 feat(sql lab): display presto and trino tracking url (#20799) 2022-07-26 20:20:08 -07:00
Hugh A. Miles II
2263a76f4d remove eleement reference (#20830) 2022-07-22 13:56:33 -04:00
Hugh A. Miles II
2c010974e8 fix: Timeseries visualization with Chart Source = Query (#20795)
* fix timmeseries

* update other references

* fix

* fix linting
2022-07-22 13:30:24 -04:00
Yongjie Zhao
922b4b8d1d fix: unexpected commit causes pytest failure (#20780) 2022-07-21 09:16:44 +08:00
Jesse Yang
e2d3ea831a fix(db): use paginated_update for area chart migration (#20761) 2022-07-19 07:20:46 -07:00
Beto Dealmeida
e60083b45b chore: upgrade SQLAlchemy to 1.4 (#19890)
* chore: upgrade SQLAlchemy

* Convert integration test to unit test

* Fix SQLite

* Update method names/docstrings

* Skip test

* Fix SQLite
2022-07-18 15:21:38 -07:00
Hugh A. Miles II
e5e8867394 feat: Visualize SqlLab.Query model data in Explore 📈 (#20281) 2022-07-15 19:34:02 -04:00
Jesse Yang
c3ac61271a feat(dashboard): make permalink deterministic (#20632) 2022-07-12 16:33:18 -07:00
AAfghahi
0ce0c6e1eb chore: removing Druid from front- and back- end (#20338)
* first pass at removing native Druid nosql

* removing having_druid

* addressing comments, linting

* fixed all tests

* addressing comments

* redirected to ui-core TimeGranularity type

* query form metric linting

* fixed broken chart type

* implementing feedback
2022-07-08 17:57:03 +02:00
Yongjie Zhao
4e6e87f62e feat: Area viz migration (#20359) 2022-07-08 19:56:03 +08:00
Smart-Codi
e7b965a3b2 fix: Bad date type in email text report for table chart (#20119)
* fix bad date type in email text report for table chart

* fix test, pylint issue

* add test case for date type
2022-07-07 11:31:50 -06:00
Yongjie Zhao
7626c31372 feat: TreeMap migration (#20346) 2022-07-07 19:37:18 +08:00
John Bodley
94b3d2f0f0 refactor: Deprecate ensure_user_is_set in favor of override_user (#20502)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:57:40 -07:00