Commit Graph

8653 Commits

Author SHA1 Message Date
Holger Bruch
228f93660d
chore(de-translation): update German translations (based on master) (#17441) (#17478)
* pybabel extract

* Add and correct de translations

* Revisited German translations

* Few German translation fixes

* Remove empty line at EOF

* Fix some translations
2021-11-23 11:11:16 +02:00
Long Le Xich
bc855f4040
fix(hive): Update _latest_partition_from_df in HiveEngineSpec to work on tables with multiple indexes (#14302)
* Fix _latest_partition_from_df in HiveEngineSpec

* Add test HiveEngineSpec._latest_partition_from_df

* Fix formatting to pass black

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-23 10:07:47 +02:00
Ville Brofeldt
5d1c9078ad
chore(translations): fix translation literals (#17501)
* chore(translations): fix translation literals

* fix table name types and translations

* fix lint

* join concat'd messages
2021-11-23 10:06:09 +02:00
Shiva Raisinghani
d05c561d7c
docs: add dropbox to users list (#17504)
* docs: add dropbox to users list

* add Bogdan as point of contact
2021-11-22 15:01:31 -08:00
Daman Arora
daff9b4673
chore: migrate FormattedNumber component from jsx to tsx (#17361)
* migrate FormattedNumber component from jsx to tsx

* Unset default prop on format

* undo asserting and overriding the type for num

* Add a ts comment to ignore error
2021-11-22 13:42:37 -08:00
ofekisr
16e012fe5d
refactor(chart.commands): separate commands into two different modules (#17509)
refactor: move imports under TYPE_CHECKING
2021-11-22 19:57:52 +02:00
dkrat7
b750204984
Add files via upload (#17434) 2021-11-22 19:19:26 +02:00
Kamil Gabryjelski
1f8eff72de
fix: Always use temporal type for dttm columns [ID-2] (#17458)
* fix: Always use temporal type for dttm columns

* move inference and implement in chart postproc

* fix test

* fix test case

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-22 15:40:38 +01:00
ofekisr
66d756955b
refactor(QueryContext): separate all processing concerns into QueryContextProcessor (#17497) 2021-11-22 10:01:01 +02:00
jayakrishnankk
062039c280
docs: mention that username should be admin to load examples (#17484)
Co-authored-by: Jayakrishnan Karolil <jayakrishnan.karolil@nielsen.com>
2021-11-21 17:07:16 -05:00
Rafał Ganczarek
8da982bc7c
fix(presto): expand data with null item (#17470)
* fix(presto): expand data with null item

* Fixed pre-commit check
2021-11-21 20:10:35 +02:00
kurtiswen
19f1c40870
docs: Update frequently-asked-questions-page.mdx (#14837)
* Update frequently-asked-questions-page.mdx

refine answer for first question, added SQL Lab query description.

* fix EOL lint

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-21 19:36:10 +02:00
ofekisr
4b7d06c14b
refactor(QueryContext): move df methods utils to utils package (#17496)
* chore(common.utils): modified utils from module based to package based

* refactor(common.utils): move QueryCacheManager to ad-hoc module

* refactor(QueryContext): move df method utils to utils module
2021-11-21 16:01:18 +02:00
ofekisr
8a6ecd3b97
refactor(QueryContext): add QueryContextFactory (#17495) 2021-11-21 14:35:46 +02:00
Ville Brofeldt
261e4185ab
chore(deps): bump cachelib from 0.1.1 to 0.4.1 (#17482) 2021-11-21 10:13:28 +02:00
AAfghahi
69c3cc712d
chore(sql_lab): Added Unit Test for stop query exception (#17464)
* added unit test

* feedback implemented
2021-11-19 12:58:12 -05:00
Corbin Robb
8e1619b105
fix(sqllab): Have table name tooltip only show when name is truncated (#17386)
* Add conditional to table name tooltip to only show when overflowing

* Remove uneccessary state and useEffect, a little clean up and slight refactoring

Co-authored-by: Corbin Robb <corbin@Corbins-MacBook-Pro.local>
2021-11-19 09:34:28 -08:00
Daniel Vaz Gaspar
69f9ee8f5e
fix: feature flags typing (#15254)
* fix: feature flags typing

* fix tests

* add note in UPDATING.md

* fix frontend

* also move SCHEDULED_QUERIES to top level

* fix test

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-19 15:56:16 +00:00
kamalkeshavani-aiinside
02a9b84b14
chore: Bump FAB to 3.4.0 (#17420)
Bumping FAB to latest 3.4.0
2021-11-19 14:59:03 +00:00
dependabot[bot]
8d8fbac838
chore(deps-dev): bump @types/react-loadable in /superset-frontend (#17454)
Bumps [@types/react-loadable](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react-loadable) from 5.5.4 to 5.5.6.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react-loadable)

---
updated-dependencies:
- dependency-name: "@types/react-loadable"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-19 15:17:39 +02:00
Hugh A. Miles II
fb1bc6c9c3
Update Makefile (#17480) 2021-11-18 17:33:01 -05:00
Hugh A. Miles II
7b68002eb1
fix: create-admin command in Makefile (#17471)
* update make file

* Update Makefile
2021-11-18 15:52:30 -05:00
ofekisr
683d1dab13
refactor(QueryObject): decouple from superset (#17479)
* refactor: queryObject - decouple from superset

* refactor: queryObject - decouple from superset
2021-11-18 19:53:56 +02:00
Geido
b2363e4151
fix(Dashboard): Save empty label_colors in json_metadata (#17462)
* Save empty label_colors

* Format
2021-11-18 19:11:49 +02:00
ofekisr
377db1bd71
refactor: queryObject - add QueryObjectFactory (#17466) 2021-11-18 17:38:17 +02:00
ofekisr
b914e2d497
refactor: queryObject - decouple from queryContext and clean code (#17465) 2021-11-18 14:28:51 +02:00
Augustin Doury
56d742f8d1
chore(fr-translation): update whole French translation (based on 1.3.0 release) (#16868)
* Update whole French translation (from 1.3.0)

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

Co-authored-by: martin-raymond <martin.raymond31@gmail.com>

* Update superset/translations/fr/LC_MESSAGES/messages.po

* Update superset/translations/fr/LC_MESSAGES/messages.json

* Update and fix superset/translations/fr/LC_MESSAGES/messages.po after extracting new strings

* Update superset/translations/fr/LC_MESSAGES/messages.po by fixing fuzzy lines and filling missing strings

* Update superset/translations/fr/LC_MESSAGES/messages.po : just rerun `pybabel update`

* Update superset/translations/fr/LC_MESSAGES/messages.json

* Update superset/translations/fr/LC_MESSAGES/messages.po: fix redundant new line at EOF

Co-authored-by: mathieudruart <mathieudruart@users.noreply.github.com>
Co-authored-by: martin-raymond <martin.raymond31@gmail.com>
2021-11-18 07:29:49 +02:00
ofekisr
3f2129b895
refactor: chartDataCommand - remove the responsibly of creating query context from command (#17461) 2021-11-17 17:13:40 +02:00
Bruno FERNANDO
c54027a0f9
fix(views/core): iteration over None type (#14305)
* fix(views/core): iteration over None type

* fix(views/core): apply suggestion
2021-11-17 12:44:36 +02:00
Ville Brofeldt
9cfce64959
fix(docker): add ecpg to docker image (#16566) 2021-11-17 12:23:54 +02:00
Yongjie Zhao
9070b6b19c
refactor(monorepo): stage 1 (#17427)
* skip geojson in pre-commit

update prettier

* update package.json

update package.json

u package

pkg

pkg2

* lint main repo 2

lint main repo

lint

* lintrc

lintrc 2

lintrc2

lintrc 3

lintrc

* fix import

* refresh lock file

* fix break line make @ts-ignore invalid

* update rat-excludes

rat-excludes

update rat-excludes

* update eslintrc.js

* lint lint lint
2021-11-17 15:31:36 +08:00
Hugh A. Miles II
34d7f0a860
chore: Ignore docs directory for dependabot (#17451)
* Ignore docs directory

* fix
2021-11-16 15:18:37 -05:00
jinghua-qa
1e2c83419c
test: add native filter default value e2e (#17398)
* add native filter default value e2e test

* fix lint

* remove unnecessary check
2021-11-16 18:54:08 +02:00
Evan Rusackas
96bdcc3493
chore: bumping react syntax highlighter and thusly prismjs (#17439) 2021-11-16 08:55:00 -07:00
Geido
c2d8b0e72f
chore: Notify user of custom label colors and related Dashboard color scheme (#17422)
* Add alert for custom label colors

* Fix duplicate linear scheme

* Implement dashboard alert

* Remove trailing space

* Update Cypress

* Simplify check
2021-11-16 17:46:39 +02:00
dependabot[bot]
c829614c42
chore(deps): bump hosted-git-info from 2.8.8 to 2.8.9 in /docs (#14576)
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.8 to 2.8.9.
- [Release notes](https://github.com/npm/hosted-git-info/releases)
- [Changelog](https://github.com/npm/hosted-git-info/blob/v2.8.9/CHANGELOG.md)
- [Commits](https://github.com/npm/hosted-git-info/compare/v2.8.8...v2.8.9)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-16 14:59:03 +02:00
binome74
211b32a4cd
fix(mssql): week time grain should respect datefirst setting (#10811)
* "P1W" grain should respect DATEFIRST setting in MS SQL Server

* Added "week_start_sunday" and "week_start_monday" grains support. Adjusted the "week" grain for better backward compatibility with MS SQL 2005/2008.

* Stylistic and linter-requested changes

* fix test

Co-authored-by: Valeriy Aleksashkin <v.aleksashkin@gmail.com>
Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-16 09:36:37 +02:00
Elizabeth Thompson
3ee9e11ce1
feat: add a config to enable retina quality images in screenshots (#17409)
* add feature flag for retina screenshot support

* use config for pixel density

* run black
2021-11-15 12:47:40 -08:00
Grace Guo
9f1bf1cbd5
fix: do not show migration toast if user not enable dashboard filter components (#17440) 2021-11-15 11:27:24 -08:00
Lyndsi Kay Williams
eb029ab068
fix(sql lab): NULL styling in grid cell (#17385)
* Fix NULL styling in gridCell

* removed unnecessary imports

* Added null styling back to renderGridCell

* Cleaned up a little code as per Elizabeth

* Found another little cleanup spot
2021-11-15 10:49:35 -08:00
Elizabeth Thompson
71e3fa1bf3
use full resultType with csv download on chart in dashboard (#17431) 2021-11-15 09:57:05 -08:00
minzhang2110
9741eaa731
Fix 'DataFrame' object has no attribute 'ix' (#12092)
File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/lib/python3.7/site-packages/flask/_compat.py", line 39, in reraise
    raise value
  File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.7/site-packages/flask/app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/lib/python3.7/site-packages/flask_appbuilder/security/decorators.py", line 109, in wraps
    return f(self, *args, **kwargs)
  File "/app/superset/utils/log.py", line 164, in wrapper
    value = f(*args, **kwargs)
  File "/app/superset/views/core.py", line 2037, in extra_table_metadata
    mydb, table_name, parsed_schema
  File "/app/superset/db_engine_specs/presto.py", line 734, in extra_table_metadata
    table_name, schema_name, database, show_first=True
  File "/usr/local/lib/python3.7/site-packages/flask_caching/__init__.py", line 907, in decorated_function
    rv = f(*args, **kwargs)
  File "/app/superset/db_engine_specs/presto.py", line 977, in latest_partition
    return column_names, cls._latest_partition_from_df(df)
  File "/app/superset/db_engine_specs/hive.py", line 435, in _latest_partition_from_df
    return [df.ix[:, 0].max().split("=")[1]]
  File "/usr/local/lib/python3.7/site-packages/pandas/core/generic.py", line 5139, in __getattr__
    return object.__getattribute__(self, name)
AttributeError: 'DataFrame' object has no attribute 'ix'

Co-authored-by: Ville Brofeldt <ville.v.brofeldt@gmail.com>
2021-11-15 16:52:50 +02:00
Yongjie Zhao
7f4c240810
chore: bump superset-ui 0.18.25 (#17438) 2021-11-15 22:21:22 +08:00
Ville Brofeldt
e2a429b0c8
feat(explore): adhoc column expressions [ID-3] (#17379)
* add support for adhoc columns to api and sqla model

* fix some types

* fix duplicates in column names

* fix more lint

* fix schema and dedup

* clean up some logic

* first pass at fixing viz.py

* Add frontend support for adhoc columns

* Add title edit

* Fix showing custom title

* Use column name as default value in sql editor

* fix: Adds a loading message when needed in the Select component (#16531)

* fix(tests): make parquet select deterministic with order by (#16570)

* bump emotion to help with cache clobbering (#16559)

* fix: Support Jinja template functions in global async queries (#16412)

* Support Jinja template functions in async queries

* Pylint

* Add tests for async tasks

* Remove redundant has_request_context check

* fix: impersonate user label/tooltip (#16573)

* docs: update for small typos (#16568)

* feat: Add Aurora Data API engine spec (#16535)

* feat: Add Aurora Data API engine spec

* Fix lint

* refactor: sql_json view endpoint: encapsulate ctas parameters (#16548)

* refactor sql_json view endpoint: encapsulate ctas parameters

* fix failed tests

* fix failed tests and ci issues

* refactor sql_json view endpoint: separate concern into ad hod method (#16595)

* feat: Experimental cross-filter plugins (#16594)

* fix:fix get permission function

* feat: add cross filter chart in charts gallery under FF

* chore(deps): bump superset-ui to 0.18.2 (#16601)

* update type guard references

* fix imports

* update series_columns schema

* Add changes that got lost in rebase

* Use current columns name or expression as sql editor init value

* add integration test and do minor fixes

* Bump superset-ui

* fix linting issue

* bump superset-ui to 0.18.22

* resolve merge conflict

* lint

* fix select filter infinite loop

* bump superset-ui to 0.18.23

* Fix auto setting column popover title

* Enable adhoc columns only if UX_BETA enabled

* put back removed test

* Move popover height and width to constants

* Refactor big ternary expression

Co-authored-by: Kamil Gabryjelski <kamil.gabryjelski@gmail.com>
Co-authored-by: Michael S. Molina <70410625+michael-s-molina@users.noreply.github.com>
Co-authored-by: Elizabeth Thompson <eschutho@gmail.com>
Co-authored-by: Rob DiCiuccio <rob.diciuccio@gmail.com>
Co-authored-by: Beto Dealmeida <roberto@dealmeida.net>
Co-authored-by: joeADSP <75027008+joeADSP@users.noreply.github.com>
Co-authored-by: ofekisr <35701650+ofekisr@users.noreply.github.com>
Co-authored-by: simcha90 <56388545+simcha90@users.noreply.github.com>
2021-11-15 12:50:08 +02:00
ofekisr
5d3e1b5c2c
refactor: ChartDataCommand into two separate commands (#17425) 2021-11-15 01:00:08 +02:00
ofekisr
d8851c9a89
refactor(TestChartApi): move chart data api tests into TestChartDataApi (#17407)
* refactor charts api tests

* move new added test

* refactor charts api tests
2021-11-14 23:35:23 +02:00
Shiva Raisinghani
0ca4312212
fix: rename to schemas_allowed_for_file_upload in dbs.extra (#17323)
* rename to schemas_allowed_for_file_upload in dbs.extra

* black

* I should really setup pre-commit hooks

* Apply suggestions

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>

* move changes to a seperate migration

* fix spaces

* black

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2021-11-14 09:57:09 -08:00
Ville Brofeldt
ad8a7c42f9
fix: avoid escaping bind-like params containing colons (#17419)
* fix: avoid escaping bind-like params containing colons

* fix query for mysql

* address comments
2021-11-13 09:01:49 +02:00
Erik Ritter
aa8040ec9b
fix: allow POST chart/data request without CSRF token (#17429) 2021-11-12 15:17:21 -08:00
Phillip Kelley-Dotson
e6ff25c980
fix(chart): ensure samples data is displayed (#16900)
* initial fix

* use data keys for cols

* add e2e test

* remove code

* trim logic
2021-11-12 14:23:46 -08:00