Hugh A. Miles II
84b852c457
fix: properly set owners
to Sqlatable.owners_data inside payload ( #20794 )
...
* properly set owners_data for sqlatabl
* fix test
2022-07-20 14:56:08 -04: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
8c0ac9017f
fix: Presto _show_columns return type ( #20757 )
2022-07-19 09:52:22 -07: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
Elizabeth Thompson
bbaa4cc65d
use existing row when id is found ( #20661 )
2022-07-16 00:00:39 -07:00
Jesse Yang
2cb4fd31f1
refactor(test): add login_as_admin in global conftest ( #20703 )
2022-07-14 18:10:31 -07:00
Jesse Yang
c3ac61271a
feat(dashboard): make permalink deterministic ( #20632 )
2022-07-12 16:33:18 -07:00
Elizabeth Thompson
c2be54c335
fix: pandas bug when data is blank on post-processing ( #20629 )
...
* fix pandas bug when data is blank on post-processing
* account for multiple queries when data is blank
2022-07-08 16:33:53 -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
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
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
Yongjie Zhao
414cc99ca2
fix: datetime.data in series ( #20618 )
2022-07-07 09:33:44 +08:00
Reese
f9109583ce
fix: Allow dataset owners to explore their datasets ( #20382 )
...
* fix: Allow dataset owners to explore their datasets
* Re-order imports
* Give owners security manager permissions to their datasets
* Update test suite
* Add SqlaTable to is_owner types
* Add owners to datasource mock
* Fix VSCode import error
* Fix merge error
2022-07-06 11:27:50 -03:00
Daniel Vaz Gaspar
f38dd1d42d
feat: add hooks on set_perm for new data permissions ( #20600 )
...
* feat: add hooks on set_perm for new data permissions
* fix lint
2022-07-06 09:54:18 +01: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
Michael S. Molina
662bab1e6d
feat: Renders Explore in SPA ( #20572 )
...
* feat: Renders Explore in SPA
* Adds permalink support
* Replaces navigation from Welcome page
* Fix initializing feature flags
* Remove redundant import
* Adds saveSlice workaround
* Fixes paths
* Fixes lint error
* Fixes tests
* Fix url to explore from Datasets view
* Fix explore page height
Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2022-07-05 16:58:09 -03: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
John Bodley
ad308fbde2
chore(rls): Remove passing global username ( #20344 )
...
* chore(rls): Remove passing global username
* Update manager.py
* Update manager.py
* Update manager.py
* Update manager.py
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-07-05 10:51:24 -07:00
Yongjie Zhao
b870a21eaa
refactor: remove unused flatten function ( #20582 )
2022-07-01 19:17:55 +08:00
Jesse Yang
cadd259788
feat: save active tabs in dashboard permalink ( #19983 )
2022-06-29 09:43:52 -07:00
John Bodley
3483446c28
refactor: Cleanup user get_id/get_user_id ( #20492 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-24 17:57:04 -07:00
Michael S. Molina
20163361b9
feat: Adds the /explore endpoint to the v1 API ( #20399 )
...
* feat: Adds the /explore endpoint to the v1 API
* Fixes pylint errors
* Fixes tests
* Changes the tests logic
* Removes ABC reference
* Improves indentation
* Addresses review comments
* Rebases code
* Improves dataset and slice assertions
* Fixes tests
* Removes schema and table name assertions
* Removes fixed IDs
* Fixes datasource ID
2022-06-24 08:23:30 -03:00
Elizabeth Thompson
44f0b511dd
remove autoflush for queries during dual write ( #20460 )
2022-06-23 14:50:30 -07:00
Beto Dealmeida
f3b289d3c3
fix: ensure column name in description is string ( #20340 )
...
* fix: ensure column name in description is string
* Add unit test
2022-06-21 10:10:46 -03:00
Hugh A. Miles II
e3e37cb68f
chore: switching out ConnectorRegistry references for DatasourceDAO ( #20380 )
...
* rename and move dao file
* Update dao.py
* add cachekey
* Update __init__.py
* change reference in query context test
* add utils ref
* more ref changes
* add helpers
* add todo in dashboard.py
* add cachekey
* circular import error in dar.py
* push rest of refs
* fix linting
* fix more linting
* update enum
* remove references for connector registry
* big reafctor
* take value
* fix
* test to see if removing value works
* delete connectregistry
* address concerns
* address comments
* fix merge conflicts
* address concern II
* address concern II
* fix test
Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2022-06-21 13:22:39 +02:00
Daniel Vaz Gaspar
60eb1094a4
feat: add name, description and non null tables to RLS ( #20432 )
...
* feat: add name, description and non null tables to RLS
* add validation
* add and fix tests
* fix sqlite migration
* improve default value for name
2022-06-20 13:52:05 +01:00
John Bodley
8b0bee5e8b
[fbprophet] Fix frequencies ( #20326 )
2022-06-19 21:53:09 -07:00
Lily Kuang
ab9f72f1a1
fix(embedded): CSV download for chart ( #20261 )
...
* move postForm to superset client
* lint
* fix lint
* fix type
* update tests
* add tests
* add test for form submit
* add test for request form
* lint
* fix test
* fix tests
* more tests
* more tests
* test
* lint
* more test for postForm
* lint
* Update superset-frontend/packages/superset-ui-core/test/connection/SupersetClientClass.test.ts
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
* update tests
* remove useless test
* make test cover happy
* make test cover happy
* make test cover happy
* make codecov happy
* make codecov happy
Co-authored-by: David Aaron Suddjian <1858430+suddjian@users.noreply.github.com>
2022-06-17 20:01:08 -07:00
mohittt8
41bbf62e58
fix(presto): use correct timespec for presto ( #20333 )
2022-06-16 16:43:17 -07:00
Beto Dealmeida
998624b1a5
feat: allow setting db UUID ( #20412 )
...
* WIP
* feat: allow passing UUID when creating a DB
* Test
* Fix field
2022-06-16 15:53:59 -07:00
Elizabeth Thompson
12436e47c9
fix key error on permalink fetch for old permalinks ( #20414 )
2022-06-16 15:51:17 -07:00
Diego Medina
3fe53f735e
fix: Unable to export multiple Dashboards with the same name ( #20383 )
2022-06-15 00:27:24 -06:00
Elizabeth Thompson
5a137820d0
fix: catch some potential errors on dual write ( #20351 )
...
* catch some potential errors on dual write
* fix test for sqlite
2022-06-13 17:30:13 -07:00
Reese
11b33de61b
feat(api): Added "kind" to dataset/<pk> endpoint ( #20113 )
2022-06-10 13:03:48 -07:00
Craig Rueda
d1c24f81f2
chore(migrations): Renaming migration files so that they're easier to keep track of ( #20284 )
...
* Renaming migration files so that they're easier to keep track of
* Fixing broken import
* Fixing broken import again
* Fixing broken tests
2022-06-07 10:30:09 -07: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
John Bodley
b08e21efd9
[requirements] Resolve rebase conflicts ( #20152 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-06-03 15:27:35 -07:00
Elizabeth Thompson
32bb1ce3ff
feat!: pass datasource_type and datasource_id to form_data ( #19981 )
...
* pass datasource_type and datasource_id to form_data
* add datasource_type to delete command
* add datasource_type to delete command
* fix old keys implementation
* add more tests
2022-06-02 16:48:16 -07:00
Diego Medina
8638f59b4c
fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics ( #20235 )
...
* fix: Box Plot Chart throws an error when the average (AVG) / SUM is being calculated on the Metrics
* add test
2022-06-02 10:00:04 +08:00
Beto Dealmeida
05a138a191
feat: query datasets from SQL Lab ( #15241 )
...
* feat: Jinja2 macro for querying datasets
* Add docs
* Address comments
2022-06-01 15:18:40 -07:00
Smart-Codi
74c5479926
fix: datatype tracking issue on virtual dataset ( #20088 )
...
* Fix datatype tracking issue on virtual dataset
* fix pytest issue on postgresql
2022-06-01 13:43:11 -06:00
Yongjie Zhao
1530c34792
fix: failed samples should throw exception ( #20228 )
2022-06-01 18:24:01 +08:00
John Bodley
97ce920d49
fix(csv): Ensure df_to_escaped_csv handles NULL ( #20151 )
...
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2022-05-31 09:56:25 -07: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
Ville Brofeldt
64c4226817
fix(temporary-cache): when user is anonymous ( #20181 )
...
* fix(temporary-cache): fail on anonymous user
* make exceptions generic
* fix test
* remove redundant bool return
* fix unit tests
2022-05-26 14:45:20 +03:00
Phillip Kelley-Dotson
0501ad25e8
fix: always create parameter json field ( #19899 )
...
* fix: always create parameter json field
* ensure validation for empty catalog
* check engine instead of name
* put validation in be
* fix test
* fix test
* remove test
2022-05-25 14:23:25 -07:00
Yongjie Zhao
40abb44ba1
feat: add samples endpoint ( #20170 )
2022-05-25 18:18:58 +08:00