Commit Graph

10740 Commits

Author SHA1 Message Date
Bogdan bcd698d999
chore: print test runtime (#17770)
* Print test runtime

* revert me

* duration for unit tests as well

* Revert "revert me"

This reverts commit b82d701d65f97ba617c4fc89e0ff56eee74885f2.

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-16 10:33:15 -08:00
Beto Dealmeida 73ae892066
feat: don't ask for password when DB exists (#17776) 2021-12-16 09:17:15 -08:00
Beto Dealmeida 4fd6df9ef8
fix: running dev-server on a different port (#17775) 2021-12-16 07:24:41 -08:00
Grace Guo a01c4c95db
fix: [alert] should run alert query from report account (#17499)
* fix: [alert] should run alert query from report account

* add solution2: override username for get_df

* add integration test
2021-12-16 12:12:43 +00:00
Ville Brofeldt 961766e833
fix(filter-sets): 404 on dashboard load (#17777) 2021-12-16 11:27:46 +02:00
Beto Dealmeida c18d4862c4
chore: skip flaky test (#17772) 2021-12-15 17:06:40 -08:00
Craig Rueda b3db6140c8
fix(alembic): Making Alembic logger config optional (#17774)
* Making Alembic logger config optional

* Switching to app config
2021-12-15 16:16:48 -08:00
Evan Rusackas 3aa11614b5
fix: change 401 response to a 403 for Security Exceptions (#17768)
* fix: change 401 to 403 for Security Exceptions

* updating tests to reflect new (proper) status code

* another test update
2021-12-15 17:11:04 -07:00
Meitong Qu 71e41315a4
fix: miss-spelling on CONTRIBUTING.md line 1351 (#17760)
* fix miss-spelling on CONTRIBUTING.md line 1351

* added superset-frontend/package-lock.json
2021-12-15 16:01:32 -05:00
Kamil Gabryjelski 82b47cacba
fix(plugin-chart-table): sort alphanumeric columns case insensitive (#17765) 2021-12-15 11:48:25 -07:00
Geido 274fb37a91
fix: Remove positions from json_metadata (#17766)
* Remove positions from json_metadata

* Update superset-frontend/src/dashboard/components/PropertiesModal/index.tsx

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>

* Indent

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
2021-12-15 11:32:31 -07:00
Bogdan ec24256407
fix: add __init__.py to key_value (#17730)
* Add __init__.py

* Lisence

* Linter

Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
2021-12-15 10:28:32 -08:00
Ville Brofeldt 6d97e89ad1
chore: bump react-resize-detector (#17764) 2021-12-15 17:14:54 +02:00
Kamil Gabryjelski 124af4c566
chore(explore): Migrate BigNumber to v1 api [ID-28][ID-55] (#17587)
* chore(explore): Migrate BigNumber to v1 api

* Move to echarts

* Use Echarts trendline

* Fix imports

* Fix parsing dates as strings

* Add from_dttm and to_dttm to v1 chart response

* Fix post processing

* Fix timeRangeFixed

* Fix tests

* Remove from and to dttm from cache

* Cleanup date formatting

* Fix storybook

* Fix missing types

* Fix timestamp with timezone

* Add types to demo's tsconfig

* bug fix

* fix import

* Fix cypress tests

* add sort

* add resample to handle missing values properly

* Sync ChartDataResponseResult schema with ts interface

* Lint fix

* Add migration

* Fix migration

* Remove pass

* Re-raise the exception in migration

* Typo fix

* Update revision

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-12-15 10:15:14 +01:00
Stephen Liu 142b5bc506
fix: local warning in the frontend development (#17727) 2021-12-15 09:52:42 +02:00
Beto Dealmeida 37cc2c4d15
fix: column extra in import/export (#17738) 2021-12-14 18:33:52 -08:00
Beto Dealmeida 2a6e5e5e5c
fix: import DB errors (#17748) 2021-12-14 18:32:57 -08:00
Beto Dealmeida 63d9693f21
feat: add main datetime column to dataset editor (#17739)
* feat: add main dttm col to dataset editor

* Add tests
2021-12-14 14:47:08 -08:00
Hugh A. Miles II 215ee08a47
feat: Update makefile with frontend build (#17734)
* Update Makefile

* vibess
2021-12-14 12:46:57 -05:00
Beto Dealmeida 2633bcccc3
fix: import dashboard stale filter_scopes (#17741) 2021-12-14 07:23:55 -08:00
Daniel Vaz Gaspar e2e79923d3
chore: bump FAB to 3.4.1 (#17723)
* chore: bump FAB to 3.4.1

* test
2021-12-14 14:19:52 +00:00
Yongjie Zhao 07bbe8448b
refactor(monorepo): change coverage of core to 100% (#17698) 2021-12-14 16:19:55 +08:00
Yahya Kayani 89d0d38ed0
fix(Mixed Timeseries Chart): Custom Metric Label (#17649)
* fix(Mixed Timeseries Chart): Custom Metric Label

* Fixed Formatting

* Fixed Type mismatch from queryFormData

* Reverted type change and used extracted datasource

* Type fix for mapping
2021-12-14 08:41:04 +02:00
Beto Dealmeida fceabf6bc5
fix: import dash with missing immune ID (#17732) 2021-12-13 16:20:55 -08:00
Josue Lugaro 12d3079355
chore: fixed spelling error on line 1342 of CONTRIBUTING.md (#17737) 2021-12-13 18:32:01 -05:00
Jason Cahela 67fdeffe34
fixed misspelling of apprear to appear (#17735) 2021-12-13 18:14:18 -05:00
cccs-joel e6db62c469
fix: Change datatype of column type in BaseColumn to allow larger datatype names for complexed columns (#17360)
* Change datatype of column type in BaseColumn to allow larger datatype names for complexed columns

* Fixed formatting

* Added an entry in the UPDATING.md file as a potential downtime

* Update UPDATING.md

Accept proposed changes.

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>

* Updated down revision number to reflect new head

Co-authored-by: cccs-joel <cccs-joel@users.noreply.github.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
2021-12-13 14:28:21 -08:00
Beto Dealmeida 0d2299cb60
fix: migration out-of-scope bind (#17728)
* fix: migration out-of-scope bind

* Bypass flaky test
2021-12-13 13:04:35 -08:00
Daniel Vaz Gaspar 485852d700
ci: temp fix for mysqlclient on an OS regression bug (#17724) 2021-12-13 12:03:41 +00:00
Holger Bruch 71920169ba
Add missing translations (#17693) 2021-12-10 21:54:31 +02:00
Ville Brofeldt 6a7e6490a9
fix(postgres): remove redundant tz factory (#17713)
* fix(postgres): remove redundant tz factory

* lint
2021-12-10 21:53:48 +02:00
Geido 4b969710e4
Rename CertifiedIcon to CertifiedBadge (#17715) 2021-12-10 11:45:53 -07:00
Kamil Gabryjelski b5b6ceb1b3
fix(explore): don't apply time range filter to Samples table (#17711) 2021-12-10 11:40:11 -07:00
Geido 8de93871d7
Fix flacky header (#17690) 2021-12-10 18:25:40 +02:00
Erik Ritter 8e69b2db34
chore: Update TS tasklist script (#17691) 2021-12-09 22:28:42 -08:00
Geido dad8c20af7
fix(Dashboard): Copy dashboard with duplicating charts 500 error (#17707)
* Fix copy dashboard with charts

* Fix Cypress test
2021-12-09 16:25:01 -07:00
Stephen Liu bdc4e7a322
fix(explore): deck.gl Multiple chart broken (#17703) 2021-12-09 20:03:02 +02:00
Beto Dealmeida 3873cdff4d
feat: convert dataframe tests (#17655) 2021-12-09 09:47:53 -08:00
Geido 12bd1fcde5
fix: Save properties after applying changes in Dashboard (#17570)
* Refactor PropertiesModal

* Update json_metadata fully

* Clean up

* Verify values

* Catch changed to metadata

* Always updated dashboard info on update

* Avoid unnecessary fetches

* Formt

* Fix copy dashboards

* Fixes onUpdate onCopy handlers

* Pylint

* Update tests

* Clean up

* Handle data on show

* Change Save to Apply

* Update Cypress save test

* Update Cypress edit prop test

* Update PropertiesModal test

* Fix duplicate request with cross filters

* Improve code style

* Fix typo

* Lint
2021-12-09 10:03:07 -07:00
Corbin Robb f476ba23a2
fix(select): select component sort functionality on certain options (#17638)
* fix: Select component sort function sorting by label instead of value on numbers

* fix: change select component default sorting to sort by the initial index rather than a property like value or label

* fix: select sorting add sortOptions to select components using sortByProperty

* fix: change select component back, add order to options coming in from SelectControl

* fix: select component options intitial sort bug

* fix: add test cases for select fix

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-12-09 11:40:25 -05:00
Ville Brofeldt 3a42071e0f
chore(sql): clean up invalid filter clause exception types (#17702)
* chore(sql): clean up invalid filter clause exception types

* fix lint

* rename exception
2021-12-09 17:49:32 +02:00
Ville Brofeldt 1af99eabc2
chore: unblock ci on postgres lint (#17705) 2021-12-09 16:12:46 +02:00
Yongjie Zhao 04e3cfa607
refactor(monorepo): relocate deckgl to Superset (#17596) 2021-12-09 08:45:18 +08:00
Beto Dealmeida b7ae7f976a
chore: convert feature flag tests to unit tests (#17689)
* chore: convert feature flag tests to unit tests

* Fix test
2021-12-08 14:51:47 -08:00
Geido aad2abe7f0
Fix undefined error (#17692) 2021-12-08 13:30:41 -07:00
Geido 46cdc77ae6
fix: Redirect on 401 (#17597)
* Redirect on 401

* Bump FAB

* Format

* Update Cypress save test

* Revert Cypress change

* Bump FAB 3.4.1rc2

* Update test

* Update return statement

* Update api test

* Update datasets api test

* Update datasets api 401s to 403s

* Add typeguard

* Use Promise.resolve

* Update callApiAndParseWithhTimeout test

* Disable parseResponse test

* Try catch

* Handle npm 8 issues
2021-12-08 13:14:30 -07:00
ofekisr aee5c9a3ea
chore: removing redundant docker-entrypoint (#17687)
* chore: removing redundant docker-entrypoint

* chore: chmod the run-server

* Update Dockerfile

Co-authored-by: Amit Miran <47772523+amitmiran137@users.noreply.github.com>
2021-12-08 20:43:28 +02:00
Beto Dealmeida 8c25f2f356
fix: extract tables doesn't work with reserved keywords (#17654) 2021-12-08 05:50:42 -08:00
Ville Brofeldt c4b04952d0
feat: customize recent activity access (#17589)
* feat: customize recent activity access

* address comments

* fix and add tests

* add alert assertion and UPDATING.md entry

* replace .get_id() with .id

* fix updating comment

* update config name
2021-12-08 11:30:23 +02:00
Yongjie Zhao 12f1d914bd
chore: update babel doc (#17679)
* chore: update babel doc

* update .po file

* update translation workflow
2021-12-08 16:36:57 +08:00