Commit Graph

8123 Commits

Author SHA1 Message Date
AAfghahi
0dc73c56d0 timezone editor (#16281)
(cherry picked from commit f5fbfef618)
2021-08-19 10:28:57 -07:00
Ville Brofeldt
0ce0ad42e7 fix(explore): let admin overwrite slice (#16290)
(cherry picked from commit d13b081cfe)
2021-08-19 10:28:56 -07:00
Beto Dealmeida
a9a5d6e544 fix: pivot col names in post_process (#16262)
(cherry picked from commit 542b864e61)
2021-08-19 10:28:56 -07:00
Elizabeth Thompson
966b417035 check roles before fetching reports (#16260)
(cherry picked from commit 3709131089)
2021-08-14 15:47:17 -07:00
Beto Dealmeida
525b88f42e fix: pivot columns with ints for name (#16259)
(cherry picked from commit 9b2dffeb1d)
2021-08-14 15:47:03 -07:00
Phillip Kelley-Dotson
a1f9f02524 fix examples tab for dashboard (#16253)
(cherry picked from commit a5dbe6a14d)
2021-08-14 15:46:34 -07:00
Phillip Kelley-Dotson
f8d3037c25 chore: bump superset-ui packages to 0.17.84 (#16251)
* initial bump

* commit pack-lock file

(cherry picked from commit f94695480a)
2021-08-14 15:46:16 -07:00
Kamil Gabryjelski
bbc8dadc83 fix(explore): metric label disappearing in some scenarios (#16190)
(cherry picked from commit 98fc29cbbb)
2021-08-13 11:12:52 -07:00
Kamil Gabryjelski
a1b297c133 fix(dashboard): cross filter chart highlight when filters badge icon clicked (#16233)
* fix(dashboard): cross filter chart highlight when filters badge icon pressed

* Fix tests

* Fix tests

* break out label logic

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
(cherry picked from commit 517a678cd7)
2021-08-13 11:12:34 -07:00
Ville Brofeldt
f0fb37fda9 feat(dao): admin can remove self from object owners (#15149)
(cherry picked from commit d6f9c48aa1)
2021-08-13 11:11:56 -07:00
Beto Dealmeida
af1a63b672 fix: skip perms on query context update (#16250)
(cherry picked from commit 2611681de9)
2021-08-13 11:08:43 -07:00
AAfghahi
c8b7a99ca7 feat: Added multi-regional IPs to Database Connections (#16170)
* added google alert

* multi-regional IPs

* beto revisions

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

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

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

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

* Update superset-frontend/src/views/CRUD/data/database/DatabaseModal/index.tsx

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

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 2dc0bdda5d)
2021-08-13 11:07:23 -07:00
Evan Rusackas
dc4ab8da94 fix: Remove Advanced Analytics tag for 2 charts (#16240)
* removing AA tag from TimeTableChartPlugin

* package bump for echarts (removes AA tag there)

* package-lock bump for new echarts plugin

(cherry picked from commit cdcc161846)
2021-08-13 11:07:00 -07:00
Beto Dealmeida
f2ab391f99 fix: validate_parameters and query (#16241)
* fix: validate_parameters and query

* add onQueryChange

(cherry picked from commit 5d3d6b6eae)
2021-08-13 11:06:21 -07:00
Arash
728c457d4b changed Slack Channels
(cherry picked from commit 7142b4c64a)
2021-08-12 13:32:01 -07:00
Michael S. Molina
624d521f8e fix: Multiple dashboard refresh triggers for the same session (#16094)
(cherry picked from commit 07f33998ac)
2021-08-12 13:30:42 -07:00
Phillip Kelley-Dotson
7e0dee618d fix: sorting on "Modified By" in chart table (#16208)
* initial fix

* Update ChartList.tsx

change sort to first name

(cherry picked from commit b4555dfa4f)
2021-08-12 13:30:13 -07:00
Phillip Kelley-Dotson
c06383088b initial fix (#16212)
(cherry picked from commit c79de7abd7)
2021-08-12 13:29:50 -07:00
Kamil Gabryjelski
4161c128c9 fix(explore): conditional formatting value validators (#16230)
* fix(explore): conditional formatting value validators

* Fix typing, make validator more generic

* Remove commented code

(cherry picked from commit a16e290765)
2021-08-12 13:29:20 -07:00
Elizabeth Thompson
9ab34c9fb0 fix: remove encryption from db params (#16214)
* remove encryption from db params

* Update superset/db_engine_specs/base.py

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

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 67c4c0116e)
2021-08-12 13:28:54 -07:00
Steven Uray
32f1dae38d Getting files from preset-io:arash/fixMessages with git checkout on commit d256edfc3a 2021-08-11 15:47:32 -07:00
Ville Brofeldt
03a67f7ff1 chore: bump superset-ui to 0.17.82 (#16186)
(cherry picked from commit 4df3672baa)
2021-08-11 15:44:01 -07:00
Kamil Gabryjelski
de615eb79e fix(explore): adhoc metrics popover resets label after hovering outside (#16196)
* fix(explore): adhoc metrics popover resets label after hovering outside

* Remove irrelevant tests and skip rest

* Use ensureIsArray

(cherry picked from commit ccfc95fbe6)
v2021.31.2
2021-08-11 09:40:25 -07:00
Junlin Chen
9fb638da6f chore: switch back tag name to popular from highly-used (#16174)
* chore: switch back tag name to popular from highly-used

* new package lock

* new package lock with npm 7

* fix lint

* remove package changes

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit 9841c78967)
2021-08-11 09:39:15 -07:00
Phillip Kelley-Dotson
60ceb9213f fix: ensure created user entities do not show inside examples (#16176)
* initial commit

* fix lint

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

* Update superset-frontend/src/views/CRUD/utils.tsx

Co-authored-by: Evan Rusackas <evan@preset.io>

Co-authored-by: Evan Rusackas <evan@preset.io>
(cherry picked from commit a0c9b9d9c2)
2021-08-11 09:38:59 -07:00
Phillip Kelley-Dotson
7458292ca9 fix: change listivew card layouts to the new homepage card layout (#16171)
* initial commit

* removing CardStylesOverrides (unused)

Co-authored-by: Evan Rusackas <evan@preset.io>
(cherry picked from commit a30d884cfc)
2021-08-11 09:38:36 -07:00
AAfghahi
adb3ebbba3 feat: Changing Dataset names (#16199)
* added google alert

* changing Dataset Names

(cherry picked from commit 6c304b83a9)
2021-08-11 09:38:17 -07:00
Elizabeth Thompson
c5f07bc6c1 update covid dashboard (#16183)
(cherry picked from commit 3aefa6925b)
2021-08-11 09:38:00 -07:00
AAfghahi
81d2d32dbf feat: CLI cleanup (#16178)
* added google alert

* removing datasets from cli

(cherry picked from commit 6df16c4b1f)
2021-08-11 09:37:37 -07:00
Elizabeth Thompson
cce369ee00 feat: change query predicate to text (#16160)
* change query predicate to text

* make input multiline

* remove value that is too long for the downgrade

* keep logging lint rule

(cherry picked from commit 628169a171)
2021-08-11 09:37:14 -07:00
David Aaron Suddjian
d95721cb14 fix(dashboard): user id can be null when there is an anonymous user (#15592)
(cherry picked from commit 23072161e2)
2021-08-11 09:36:56 -07:00
Kamil Gabryjelski
0a91bc8c3f fix(explore): revert dnd column dependency array change to fix infinite rerenders (#16115)
* fix(explore): revert dnd column dependency array change to fix infinite rerenders

* Remove console.log

* Remove comment

(cherry picked from commit 772da8de63)
2021-08-11 09:34:09 -07:00
Beto Dealmeida
13f01ac2ab fix: isDynamic function (#16175)
* fix: isDynamic function

* trigger tests

(cherry picked from commit 9f52c103ac)
2021-08-11 09:33:49 -07:00
Beto Dealmeida
705bad9792 fix: revert data endpoint name (#16162)
(cherry picked from commit 7b3fce7e81)
2021-08-11 09:33:23 -07:00
Elizabeth Thompson
86d079b31c add config to hide some user menu items (#16156)
(cherry picked from commit 5488a8a948)
2021-08-11 09:33:05 -07:00
Elizabeth Thompson
b4d4d1cc88 feat: add chart image info to reports from charts (#16158)
* refetch reports on props update

* add chart types to reports

(cherry picked from commit a3102488a1)
2021-08-11 09:32:45 -07:00
Phillip Kelley-Dotson
7c5546586c fix: ensure that users viewing chart does not automatically save edit data (#16077)
* add last_change_at migration

* add last_saved_by db migration

* finish rest of api migration

* run precommit

* fix name

* run precommitt

* remove unused mods

* merge migrations

* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py

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

* Update superset/migrations/versions/6d20ba9ecb33_add_last_saved_at_to_slice_model.py

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

* Update superset/migrations/versions/f6196627326f_update_chart_permissions.py

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

* fix test

* precommit

* remove print

* fix test

* change test

* test commit

* test 2

* test 3

* third time the charm

* fix put req

Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
(cherry picked from commit f0e3b68cc2)
2021-08-11 09:32:28 -07:00
Phillip Kelley-Dotson
5895af50f5 feat: add sticky state to tables and loadingcards state. (#16102)
* initial feat commit

* fix chart and dash rendering onload

* Update superset-frontend/src/views/CRUD/welcome/Welcome.tsx

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>

* fix jumpyness and add const

Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
(cherry picked from commit a70248736f)
2021-08-11 09:32:10 -07:00
Michael S. Molina
baeac9dc97 fix: Safari is not showing scroll bars in Explore (#16089)
(cherry picked from commit 273ab3d257)
2021-08-11 09:31:52 -07:00
Ville Brofeldt
9e21009db3 feat(cross-filters): add support for temporal filters (#16139)
* feat(cross-filters): add support for temporal filters

* fix test

* make filter optional

* remove mocks

* fix more tests

* remove unnecessary optionality

* fix even more tests

* bump superset-ui

* add isExtra to schema

* address comments

* fix presto test

(cherry picked from commit 63ace7b288)
2021-08-11 09:31:32 -07:00
Yongjie Zhao
79e4253230 fix: boolean type into SQL 'in' operator (#16107)
* fix: boolean type into SQL 'in' operator

* fix ut

* fix ut again

* update url

* remove blank line

(cherry picked from commit bb1d8fe4ef)
2021-08-11 09:31:14 -07:00
Hugh A. Miles II
520284a4a4 fix: turn on SSL in database edit form show 500 error (#16151)
* fix error for query.update

* converrt before making request

* fix query params

* remove unchanged files

* this

* update tsconfig

(cherry picked from commit 3f86a54ac1)
2021-08-11 09:30:55 -07:00
Lyndsi Kay Williams
bb78d492e9 additional params field fixed (#16161)
(cherry picked from commit 3712ee02fa)
2021-08-11 09:30:36 -07:00
Kamil Gabryjelski
1e9f1de563 chore(explore): bump deckgl to 0.4.9 (#16086)
(cherry picked from commit af204ff449)
2021-08-11 09:30:17 -07:00
Michael S. Molina
d00a2c2899 fix: Fix the Select unselect for object values (#16062)
(cherry picked from commit 1917464d2b)
2021-08-11 09:29:59 -07:00
Kamil Gabryjelski
0b07566346 fix(explore): dnd error when dragging metric if multi: false (#16088)
* fix(explore): dnd error when dragging metric if multi: false

* Fix error for non-dnd controls

(cherry picked from commit b7cc89c6d4)
2021-08-11 09:29:40 -07:00
AAfghahi
c0572c5302 feat: added google alert to DB Connection Form (#16095)
* added google alert

* using superset_text

* made google alert public and others private

* Hugh revisions

(cherry picked from commit a51851308b)
2021-08-11 09:29:14 -07:00
Yongjie Zhao
4b4f6b9c1d fix: virtual dataset wont work (#16132)
(cherry picked from commit 3bbcc30d69)
2021-08-11 09:28:57 -07:00
AAfghahi
ffa4226f10 fix: change Alert Permissions (#16118)
* added google alert

* reworked permissions

(cherry picked from commit 606a7bf429)
2021-08-11 09:28:37 -07:00
AAfghahi
64d54d6fdd feat: better errors for report in charts and dashboard (#16131)
* added google alert

* better errors and report actions

(cherry picked from commit 5ce38839e7)
2021-08-11 09:28:15 -07:00