Commit Graph

6792 Commits

Author SHA1 Message Date
Yann Jouanique
2e93784f86
feat(helm): Helm template for Celery beat (for reporting and alerting) (#13116)
* Custom superset_config.py + secret envs

* Helm template for celery beat

* Fix end of file

* Update helm/superset/values.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Rename pods

* Update helm/superset/values.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Update helm/superset/templates/deployment-beat.yaml

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>

* Added Kubernetes documentation

* Data source declarations

Co-authored-by: Valentin Nourdin <valentin.nourdin@lilo.org>
2021-02-16 08:15:21 -08:00
Cheun Hong
94893ff280
feat: Added annotations and loadBalancerIP option in helm service.yaml (#13114)
* added annotations and loadBalancerIP option in helm service.yaml

* Update service.yaml

* Update values.yaml

* Update service.yaml
2021-02-16 08:12:01 -08:00
simcha90
5aa38ef929
feat(native-filters): enable filter indicator and make datasource optional (#13148)
* refactor: continue decouple native filters

* refactor(native-filters): decouple native filter parms from config modal

* lint: fix TS errors

* lint: fix TS errors

* refactor: update filter badge

* refactor: rename ant filters

* test: fix tests

* test: fix tests

* refactor: remove 18 from dataset
2021-02-16 16:12:35 +02:00
Ville Brofeldt
5ab613d89e
fix(database): ensure pk_constraint is JSON serializable (#13147) 2021-02-16 12:17:29 +02:00
Ville Brofeldt
d8c32b8097
fix(chart-data-api): support numeric temporal columns (#13138) 2021-02-16 09:51:22 +02:00
Jesse Yang
c9f76d58f0
chore: upgrade to npm 7 and superset-ui 0.17.9 (#13100) 2021-02-15 09:45:29 -10:00
David Aaron Suddjian
cc9103b0e2
feat(dashboard): API to get a dashboard's charts (#12978)
* feat(dashboard): get endpoint for a dashboard's charts

* temporary debugging fetch on the frontend

* attempted fixes

* singular -> plural derp

* plural -> singular derp derp

* docstring changes

* change return, no id

* move log above query

* add get_charts to include_route_methods /)_-)

* add get charts api

* result not response

* refactor test helper function to a mixin

* add test for new endpoint

* fix test when running in isolation

* correct comment

* rename test

* more tests, handle dashboard not found

* simplify test to use new helper function

* remove debugging code from frontend

* update docstring

* attempt a doc fix

* add id to api docs

* fix docs

* use pytest fixture

* why oh why does test order matter here, idk

* writing a schema for the endpoint

* more efficient fetching of charts

* testing tweaks

Co-authored-by: Phillip Kelley-Dotson <pkelleydotson@yahoo.com>
2021-02-15 11:41:59 -08:00
Daniel Vaz Gaspar
2e6ea76631
fix(alerts): void query with numeric comparison (#13090)
* fix(alerts): void query with numeric comparison

* remove config changes

* fix tests

* better logic

* fix logic

* fix logic

* Improve test readability
2021-02-15 17:09:47 +00:00
Jesse Yang
613945a200
fix(FilterBox): treat empty defaultValues as null (#13109)
* fix(FilterBox): treat empty defaultValues as null

* Add a unit test and move constant around
2021-02-15 08:35:47 -08:00
Kamil Gabryjelski
d0b00bc08f
fix: Fix switching viz type to and from Filter box (#13094)
* Fix switching viz_type to and from filter_box

* Remove RESET_FIELDS action

* Restore removed log

* Refactor reducer logic
2021-02-15 08:05:40 -08:00
Đặng Minh Dũng
2dbe92ba2f
feat: first step native support Trino (#13105)
* feat: add TrinoEngineSpec

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* feat: add trino into extras_require

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>

* test: add trino_tests.py

Signed-off-by: Đặng Minh Dũng <dungdm93@live.com>
2021-02-15 14:30:13 +02:00
Victor Malai
24ebf10976
feat: add sort_by_metric for charts with single metric (#13058) 2021-02-15 02:59:50 -08:00
Amit Miran
312cbf736c
feat(dashboard_rbac): add support for related roles (#13035) 2021-02-15 10:57:37 +02:00
Jesse Yang
10296651fb
build: add more files to .dockerignore (#13113) 2021-02-15 00:04:52 -08:00
Thinking Chen
5b669b3d79
fix: Add some missing Chinese translation content, including superset-ui project (#13022)
* fix: Add some missing Chinese translation content, including superset-ui project

* fix translation error

* update Time column

Co-authored-by: chenx <yuxiang1989>
2021-02-14 23:03:32 -08:00
Amit Miran
d55a040acd
feat(native-filters): hide filterBar and toggle icon when in editMode (#13108) 2021-02-14 22:37:48 +02:00
simcha90
2010e64c94
refactor(native-filters): decouple params from filter config modal (first phase) (#13021)
* refactor: decouple params from filter config modal (first phase)

* refactor: remove unnecessary fields

* refactor: fix CR notes

* fix: fix controlValues

* refactor: fix Cr notes

Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-02-14 10:38:15 +02:00
Ville Brofeldt
bc4c837da3
fix(native-filters): set currentValue null when empty (#13000) 2021-02-13 21:01:12 +02:00
Yann Jouanique
6b615c4479
Custom superset_config.py + secret envs (#13096) 2021-02-13 08:39:44 -08:00
Duy Nguyen Hoang
56fca17e62
Update http error code from 400 to 403 (#13061) 2021-02-13 13:32:21 +02:00
simcha90
dae1258903
feat(native-filters): add storybook entry for select filter (#13005)
* refactor: update native filters ignores

* refactor: use behaviour variable

* refactor: move story for Filter select

* chore: update dependencies

* lint: fix lint

* remove unnecessary changes

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-02-13 13:11:18 +02:00
simcha90
d6fc720f4c
feat(native-filters): Time native filter (#12992)
* Add Time Filter component

* Improve Time Filter component

* Fix import errors

* Display Time Filter

* Remove console logs

* Change Control Panel

* Remove unnecessary files

* Use time range override

* test: fix tests

* feat: re run pipeline

* fix: fix some case for Time filter

* fix: merge with master

* use original time range

* fix height

* add cross filter behavior

* apply filters on initialization

* add applied filter to overrides

* add unit tests for merge_extra_form_data

Co-authored-by: Agata Stawarz-Pastewska <agata.stawarz-pastewska@polidea.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-02-13 12:09:54 +02:00
Yann Jouanique
acca3a4431
Force pod restart on config changes (#13056) 2021-02-12 16:30:03 -08:00
simcha90
956f276e70
feat(cross-filters): add cross filters (#12662)
* feat: add cross filters

* refactor: fix CR notes

* lint: fix lint

* lint: fix lint

* chore: pre-commit

* refactor: under chage

* refactor: move to behaviors

* lint: fix lint

Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-02-12 09:58:19 +02:00
Kamil Gabryjelski
85d02620b7
fix(explore): Enable selecting an option not included in suggestions (#13029) 2021-02-11 23:15:46 -08:00
Michael S. Molina
86807e40b7
Improves RTL configuration (#13079)
- Adds plugin:jest-dom/recommended to ESLint plugins list to enforce tests best practices

- Moves import @testing-library/jest-dom/extend-expect; from setup.ts to testing-library.tsx to avoid matchers collision

- Adds @testing-library/user-event to help simulate users events
2021-02-11 15:32:22 -08:00
Robert H Stolz
870886ca2f
Added a note about the ! prefix for breaking changes to CONTRIBUTING.md (#13083) 2021-02-11 15:31:55 -05:00
Jesse Yang
6bc28a087c
chore: lock down npm to v6 (#13069) 2021-02-11 10:49:34 -08:00
Daniel Vaz Gaspar
fa4c118e2d
fix: API tests, make them possible to run independently again (#13076)
* fix: API tests, possible to run independently

* fix workflow name
2021-02-11 18:19:41 +00:00
Daniel Vaz Gaspar
0cf57756f0
fix: add config to disable dataset ownership on the old api (#13051)
* fix: add config to disable dataset ownership on the old api

* fix CI docker build

* fix logic

* add deprecation comment on the config
2021-02-11 18:18:27 +00:00
Moriah Kreeger
7f7e113de2
add required * indicator to message content/notif method (#12931) 2021-02-11 10:17:53 -08:00
Erik Ritter
a6df28482e
fix: Retroactively add granularity param to charts (#12960)
* fix: Retroactively add granularity param to charts

* Update down revision
2021-02-11 09:54:10 -08:00
Ville Brofeldt
ad380fd0f8
fix(ci): multiline regex in change detection (#13075)
* fix(ci): multiline regex in change detection

* fix shellcheck issues
2021-02-11 15:40:44 +02:00
simcha90
c5781cde60
feat(style): hide dashboard header by url parameter (#12918)
* feat(native-filters): hide dashboard header bu url parameter

* lint: fix lint

* test: add tests

* test: fix test

* refactor: upgrade standalone param

* fix: pre-commit and extract to method is_standalone_mode

* test: fix tests

* test: fix tests

* fix: fix standalone statement

* refactor: fix CR notes

* chore: pre-commit

* fix: fix sticky tabs + update CR notes

* lint: fix lint

* lint: fix lint

* fix: fix CR notes

* fix: fix CR notes

* lint: fix lint

* refactor: fix cr notes

Co-authored-by: amitmiran137 <amit.miran@nielsen.com>
2021-02-11 15:05:35 +02:00
Ville Brofeldt
42c4facb7e
fix(explore): pie chart label bugs (#13052) 2021-02-11 11:23:40 +02:00
AAfghahi
6c9f315b77
fix: Disabled state button transition time (#13008)
* button fix

* tooltips disabled when it is disabled, border width changed

* added isDisabled to tooltip

* worked on transition times

* cleaned up transition to be local instead of global

* made it local

* linted

* trying to resolve a conflict
2021-02-10 20:36:33 -08:00
Ville Brofeldt
c1e10c4627
fix: sorting by saved metric (#13059) 2021-02-10 21:45:45 +02:00
Daniel Ben-Zion
4183a03542
style: fix typo in documentation (#13063)
* Update README.md

* Update introduction.mdx
2021-02-10 11:33:46 -08:00
Beto Dealmeida
7b8a0e184b
fix: timeout context manager on Windows (#13041)
* fix: timeout decorator in Windows

* Fix lint
2021-02-10 10:40:28 -08:00
Beto Dealmeida
249b51bfba
fix: vertical scroll in query history (#13042) 2021-02-10 07:31:46 -08:00
Daniel Vaz Gaspar
3e0681b438
fix: UI toast typo (#13026)
* fix: UI toast typo

* translate

* fix error msg
2021-02-10 08:17:54 +00:00
Daniel Vaz Gaspar
b3a814fa27
feat(db engines): add support for Opendistro Elasticsearch (AWS ES) (#12602)
* feat(db engines): add support for Opendistro Elasticsearch (AWS ES)

* add time grains

* lint

* bump elasticsearch-dbapi version

* add tests

* fix test
2021-02-10 08:17:27 +00:00
Rob DiCiuccio
1a961022b9
fix(build): black failing on master, add to required checks (#13039)
* fix(build): black failing on master

* Add pre-commit to required checks
2021-02-09 12:44:29 -08:00
Jesse Yang
bbcb41149e
fix: time filter db migration optimization (#13015) 2021-02-09 10:49:50 -08:00
Thinking Chen
4ba98bf8c8
fix: untranslated text content of Dashboard page (#13024)
* fix: fix the untranslated text content of Dashboard page

* fix: add the untranslated text content of Dashboard page in messages.pot

* fix linting error

Co-authored-by: chenx <yuxiang1989>
2021-02-09 10:34:22 -08:00
ʈᵃᵢ
d2b0362562
fix(ci): remove signature requirements for commits to master (#13034) 2021-02-09 10:32:21 -08:00
Daniel Vaz Gaspar
8b2df5251c
fix: add alerts and report to default config (#12999) 2021-02-09 15:33:36 +00:00
Ville Brofeldt
538443893b
docs(changelog): add entries for 1.0.1 (#12981) 2021-02-09 13:59:11 +02:00
Ville Brofeldt
b12e8024b3
ci: skip cypress if no code changes (#12982) 2021-02-09 13:58:50 +02:00
Elizabeth Thompson
9cd01656db
chore: add cypress required checks for branch protection (#12970) 2021-02-09 01:14:37 -08:00