Commit Graph

287 Commits

Author SHA1 Message Date
Beto Dealmeida
b66c0f8d30 fix: schemas for upload API (#29604) 2024-07-16 15:53:25 -04:00
Maxime Beauchemin
4bb2e2f8af chore: enable ruff lint rule TRY201 and B904 to improve raise stack traces (#29166) 2024-06-12 13:04:42 -07:00
Beto Dealmeida
5660f8e554 feat: OAuth2 client initial work (#29109) 2024-06-09 22:11:18 -04:00
Beto Dealmeida
0070097af8 feat: impersonate with email prefix (#28770) 2024-05-30 13:32:39 -04:00
Eyal Ezer
07b2449bd7 refactor: Unify all json.(loads|dumps) usage to utils.json (#28702)
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com>
2024-05-28 14:17:41 -07:00
Eyal Ezer
56f0fc4ec2 refactor: Migration of json utilities from core (#28522)
Co-authored-by: Eyal Ezer <eyal.ezer@ge.com>
2024-05-20 10:27:22 -07:00
Beto Dealmeida
ce668d46cc feat(SIP-95): catalogs in SQL Lab and datasets (#28376) 2024-05-08 17:19:36 -04:00
Beto Dealmeida
e90246fd1f feat(SIP-95): permissions for catalogs (#28317) 2024-05-06 11:41:58 -04:00
Beto Dealmeida
6cf681df68 feat(SIP-95): new endpoint for table metadata (#28122) 2024-04-25 12:23:49 -04:00
Maxime Beauchemin
2d63722150 chore: set up ruff as a new linter/formatter (#28158) 2024-04-24 17:19:53 -07:00
Maxime Beauchemin
cfc440c56c feat: improve event logging for queries + refactor (#27943)
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2024-04-22 16:30:50 -07:00
Beto Dealmeida
99a1601aea refactor: rename get_sqla_engine_with_context (#28012) 2024-04-12 13:31:05 -04:00
Beto Dealmeida
9377227e06 chore(OAuth2): refactor for custom OAuth2 clients (#27880) 2024-04-05 12:17:39 -04:00
Beto Dealmeida
9022f5c519 feat(SIP-85): OAuth2 for databases (#27631) 2024-04-02 22:05:33 -04:00
Michael S. Molina
6e528426dd feat: Adds option to disable drill to detail per database (#27536) 2024-03-21 15:51:09 -03:00
Michael S. Molina
3d645fd8e9 refactor: Updates some database columns to MediumText (#27119) 2024-02-15 11:22:57 -05:00
Michael S. Molina
a84d86fe26 refactor: Removes the deprecated redirect endpoint (#26377) 2024-01-19 11:39:04 -03:00
John Bodley
07bcfa9b5f chore(command): Organize Commands according to SIP-92 (#25850) 2023-11-22 16:55:54 -03:00
Rob Moore
8d73ab9955 feat(sqllab): TRINO_EXPAND_ROWS: expand columns from ROWs (#25809) 2023-11-20 10:59:10 -07:00
FGrobelny
458be8c848 fix(trino): allow impersonate_user flag to be imported (#25872)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-11-08 12:00:18 -08:00
Beto Dealmeida
80caba3fd1 feat: method for dynamic allows_alias_in_select (#25882) 2023-11-07 14:28:28 -05:00
JUST.in DO IT
5ab1e7eae4 feat(sqllab): SPA migration (#25151) 2023-10-04 15:21:41 -04:00
Gyuil Han
e83a76a586 fix: update the SQLAlchemy model definition at json column for Log table (#25445) 2023-09-29 09:02:44 -03:00
Sebastian Liebscher
e585db85b6 chore: use contextlib.surpress instead of passing on error (#24896)
Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2023-08-29 10:09:01 -06:00
Beto Dealmeida
6f24a4e7a8 fix: calls to _get_sqla_engine (#24953) 2023-08-11 12:54:01 +02:00
EugeneTorap
5f103072b0 fix: Python3.11 (str, Enum) issue (#24803) 2023-07-31 09:04:09 -07:00
EugeneTorap
fc89718d48 chore: Update pylint to 2.17.4 (#24700)
Co-authored-by: John Bodley <john.bodley@gmail.com>
2023-07-24 17:13:49 -07:00
Beto Dealmeida
7675e0db10 fix: search_path in RDS (#24739) 2023-07-20 12:57:48 -07:00
Hugh A. Miles II
93e1db4bd9 fix: save columns reference from sqllab save datasets flow (#24248) 2023-06-20 13:54:19 -04: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
Hugh A. Miles II
eb05225f0d feat(sshtunnel): add configuration for SSH_TIMEOUT (#24369) 2023-06-13 12:29:40 -04:00
John Bodley
2b364898a5 fix: Address regression introduced in #22853 (#24121) 2023-06-12 15:32:40 -07:00
John Bodley
a4d5d7c6b9 chore(pre-commit): Add pyupgrade and pycln hooks (#24197) 2023-06-01 12:01:10 -07:00
John Bodley
0496779434 chore: Update QUERY_LOGGER and SQL_QUERY_MUTATOR signatures (#24029) 2023-05-19 06:42:19 -07:00
John Bodley
d583ca9ef5 chore: Embrace the walrus operator (#24127) 2023-05-19 00:37:13 -07:00
Hugh A. Miles II
de96372ba7 chore: add log for ssh tunnel information (#24058) 2023-05-15 10:43:04 -07:00
Daniel Vaz Gaspar
f80e738196 fix: get or create db with an existing invalid URL (#23737) 2023-04-20 09:50:57 +01:00
John Bodley
b35b5a6e05 chore(db_engine_specs): Refactor get_index (#23656) 2023-04-13 09:23:16 +12:00
Beto Dealmeida
2c6f581fa6 feat(postgresql): dynamic schema (#23401) 2023-03-17 17:53:42 -07:00
Beto Dealmeida
42e8d1b498 chore: improve schema security (#23385) 2023-03-17 08:05:50 -07:00
Daniel Vaz Gaspar
b479e93b49 fix: add disallowed query params for engines specs (#23217)
Co-authored-by: Ville Brofeldt <33317356+villebro@users.noreply.github.com>
2023-02-28 12:00:22 +00:00
Daniel Vaz Gaspar
79274eb5bc fix: memoized decorator memory leak (#23139) 2023-02-27 15:59:11 +00:00
Beto Dealmeida
6f0fed77cf feat: export/import allow_dml flag (#22806) 2023-01-24 19:16:46 -08:00
solanksh
cf00970cde feat(charts): allow query mutator to update queries after splitting original sql (#21645)
Co-authored-by: Akash <Akash.Nallani@bakerhughes.com>
Co-authored-by: anallani <98122184+anallani@users.noreply.github.com>
Co-authored-by: Robert Bean <robert.bean@bakerhughes.com>
Co-authored-by: Akash <anallani@umich.edu>
Co-authored-by: AkashN7 <70606604+AkashN7@users.noreply.github.com>
Co-authored-by: Ville Brofeldt <ville.brofeldt@apple.com>
2023-01-12 14:04:03 +02:00
Hugh A. Miles II
d18c7d6128 fix(ssh-tunnel): fix dataset creation flow through modal for DB with tunnel (#22581) 2023-01-06 13:52:05 -05: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
Hugh A. Miles II
9c0d6c51f1 chore(ssh-tunnel): Refactor establishing raw connection with contextmanger (#22366) 2022-12-29 14:20:45 -05:00
Alan Ning
d41cb66737 fix(snowflake): Allow encrypted_extra field to be imported (#22357)
Co-authored-by: Alan Ning <aning@manifold.ai>
2022-12-08 14:27:30 -05:00
John Bodley
f40e6d1054 fix: SQL Lab QuerySource via referrer (#22172) 2022-11-21 07:37:10 -08:00
John Bodley
7e54b88a51 chore: Change get_table_names/get_view_names return type (#22085) 2022-11-18 12:41:21 -08:00