Commit Graph

4912 Commits

Author SHA1 Message Date
Erik Ritter d7ea41a529
Revert "[requirements] Bumpy Celery (#9277)" (#9323)
* Revert "[requirements] Bumpy Celery (#9277)"

This reverts commit c0f0d45377.

* Update requirements.txt
2020-03-18 14:21:21 -07:00
Ville Brofeldt f1edcebc79
fix: handle list of lists from fetch_data (#9322)
* fix: handle list of lists from fetch_data

* Address comments
2020-03-18 22:04:26 +02:00
Krist Wongsuphasawat 104f3d2502
fix: cannot assign to read only property exports of object (#9319)
* fix: cannot assign to read only property exports of object

* fix: compile ts from plugins

* fix: add package back
2020-03-18 09:01:02 -07:00
Grace Guo adebd40d30
[cache warm_up] warm_up slice with dashboard default_filters (#9311)
* [cache warm_up] warm_up slice with dashboard default_filters

* update Celery warmup tasks

* fix code review comments

* add try catch and type checking for parsed dash metadata

* extra code review fix
2020-03-18 08:21:10 -07:00
Ali Bahjati 98ac72074c
Add Iran to Country Visualization (#8940) 2020-03-18 14:08:07 +02:00
Jianchao Yang c36a7e3ada
chore: allow webpack-dev-server proxy to any destination (#9296)
One of the pain points in developing Superset frontend code is the lack
of testing data. Local installation often do not have enough examples
setup to test all edge cases.

This change allows `webpack-dev-server` to proxy to any remote Superset
service, but the same time replaces frontend asset references in HTML
with links to local development version. This allows developers to test
with production data locally, tackling edge cases all while maintaining
the productivity of editing the code locally.
2020-03-17 15:37:07 -07:00
ʈᵃᵢ 8f7ce168a0
bump FAB to 2.3.0 (#9318) 2020-03-17 22:17:02 +00:00
Ville Brofeldt 982c234a50
fix: remove character set and collate column info by default (#9316)
* fix: remove character set and collate column info by default

* lint

* remove collation and charset info before compile
2020-03-17 21:34:39 +02:00
Maxime Beauchemin 6cf36c91ea
fix: big number to handle NULL as it did in the past (#9314) 2020-03-17 10:46:59 -07:00
ʈᵃᵢ 85e9a4fa99
[datasets] fix typo (#9312) 2020-03-17 00:59:12 +02:00
Ville Brofeldt f1370c5e32
fix: add saved metrics to point size metric dropdown in deckgl scatterplot (#9309) 2020-03-16 20:06:56 +02:00
ʈᵃᵢ 8764ae3852
[sqllab] fix exception caused by casting string to int with psycopg2 (#9287)
* [sqllab] fix exception caused by casting string to int with psycopg2

* rollback session on exception

* add SQLLAB_BACKEND_PERSISTENCE to default feature flags

* cast tab_state_id to str in python instead of sql

* remove import
2020-03-16 10:51:41 -07:00
mfharding b1916a190e
Fixed two typos in the README (#9305)
I noticed two small typos in the README that I fixed:
1) "Acts" was wrong because it does not have the correct subject-verb agreement
2) "Who Have" is the wrong pronoun to use when referring to companies. "That have" is the grammatically correct option. 
Additionally, my company, Let's Roam, uses superset to visualize people completing challenges all over the world.
2020-03-14 22:38:09 +02:00
David Aaron Suddjian f6f40c815a
[Charts] Use the Edit Properties modal throughout React views (#9267)
* typescriptification

* use the chart edit modal on the react list view

* linting

* typings don't work on old react-bootstrap version

* lint

* remove duplicate field
2020-03-13 15:14:50 -07:00
Ville Brofeldt 91f3cb9878
fix: bump click in setup.py and requirements.txt (#9299)
* bump click

* add token_normalize_func to click cli decorator
2020-03-13 21:36:16 +02:00
ʈᵃᵢ 5767fb15cd
[datasets] new, listview (react) (#9197)
* [datasets] new, react listview

* add hidden columns to support filtering by columns not rendered

* throw exception if config is incorrect

* fix database filter

* update endpoints to point to datasets; fix translation strings

* move Link into src/components

* add add new record button to datasets listview
2020-03-13 21:35:00 +02:00
Erik Ritter f80fadff0e
Reduce dashboard bootstrap payload (#9284) 2020-03-13 12:18:22 -07:00
Craig Rueda e9b0095754
Docker-Compose Memory Issue Fix? (#9285)
* Adding free memory nag / running npm build with development options in compose

* Adding license
2020-03-13 09:25:54 -07:00
Asif Iqbal 1cbd955e79
[SIP-36] Migrate RunQueryActionButton.jsx to RunQueryActionButton.tsx (#9290) (#9291) 2020-03-12 18:36:55 -07:00
Daniel Vaz Gaspar 0c8c4d6895
[api] Fix, related fields need to be explicitly defined (#9283)
* [api] Fix, related fields need to be explicitly defined

* [api] Fix, lint

* Update superset/datasets/api.py

Co-Authored-By: ʈᵃᵢ <tdupreetan@gmail.com>

Co-authored-by: ʈᵃᵢ <tdupreetan@gmail.com>
2020-03-12 18:55:33 +00:00
Daniel Vaz Gaspar 78ba7d52f6
[dashboard][api] Fix, PUT publish/draft to not clean slug and owners (#9279) 2020-03-12 15:35:27 +00:00
Jianchao Yang fe2dd75a59
fix: bump legacy-table-chart to 0.11.20 (#9286) 2020-03-11 15:12:53 -07:00
John Bodley c0f0d45377
[requirements] Bumpy Celery (#9277)
Co-authored-by: John Bodley <john.bodley@airbnb.com>
2020-03-11 08:39:38 -07:00
Jianchao Yang c9c18011f3
fix(table-chart): bump legacy-table-chart to 0.11.18 (#9275) 2020-03-10 22:41:20 -07:00
Ville Brofeldt 406ad8778c
fix: remove duplicate metric from bullet chart (#9274) 2020-03-11 06:52:58 +02:00
Ville Brofeldt 3682702e91
fix: add connection testing params for snowflake (#9272)
* fix: add connection testingt params for snowflake

* Linting
2020-03-11 06:51:57 +02:00
Grace Guo 724b8a3c31
[fix] copy filter_scopes with duplicate charts (#9271) 2020-03-10 10:23:15 -07:00
Maxime Beauchemin c04d6163e7
feat: add rolling window support to 'Big Number with Trendline' viz (#9107)
* Rolling big number

* addressing comment
2020-03-10 10:19:12 -07:00
Jianchao Yang 753aeb4829
fix: upgrade legacy table chart to 0.11.17 (#9269)
This fixes bugs related to chart rerendering.

https://github.com/apache-superset/superset-ui-plugins/pull/392
2020-03-10 10:14:58 -07:00
Maxime Beauchemin 116200cf73
fix: change database save in DatasourceEditor (#9255)
* fix: change database save in DatasourceEditor

This addresses the issue where pointing a datasource to another database
in the datasource editor is not reflected.

Also addresses:
- a minorcosmetic issue in the datasource editor.
- user/owners list not getting populated

* tests
2020-03-10 09:20:37 -07:00
Will Barrett 99242225d6
Adds default username and password created at installation to documentation (#9263) 2020-03-10 07:30:43 +02:00
Evan Rusackas d8fea640f8
removing safari "fix" for ACE editor font width jank. (#9264) 2020-03-09 12:46:25 -07:00
Better-Boy 8a5b898606
New entry into superset user (#9259)
* New entry into superset user

Added a new company that uses apache superset for dashboard and visualization purpose

* alphabetical order
2020-03-09 08:17:41 +02:00
Grace Guo 8bc30da621
[log] Add dashboard_id param to explore_json request (#9243)
* [log] Add dashboard_id param to explore_json request

* fix cypress test
2020-03-08 19:51:08 -07:00
Rob DiCiuccio 8cabea5cb8
Update PyArrow to 0.16.0 (#9119) 2020-03-08 23:07:15 +02:00
ʈᵃᵢ 1902fda159
[webpack] fix copying images when running dev server (#9250) 2020-03-08 10:03:58 -07:00
Daniel Vaz Gaspar 52c59d6890
[datasets] new, API using command pattern (#9129)
* [datasets] new, API using command pattern

* [datasets] tests and improvements

* [datasets] lint

* [database] address comments

* [datasets] lint

* [datasets] Address PR comments

* [dataset] Fix, dataset expects a Dict now

* [dataset] lint and optional commits

* [dataset] mypy

* [dataset] Fix, license and parent class

* [dataset] Make CRUD DAO raise exceptions
2020-03-08 09:13:08 +00:00
ʈᵃᵢ 89109a16c6
[chart] fix, datasource link in listview (#9247) 2020-03-07 14:46:17 -08:00
Ville Brofeldt 0faced7d4a
fix: update release testing FLASK_APP param (#9254) 2020-03-07 12:54:10 +02:00
Erik Ritter f34e9e393a
Replace No data error with help message (#9249) 2020-03-06 16:11:01 -08:00
Krist Wongsuphasawat fc64c37724
feat: bump plugins deckgl version (#9251) 2020-03-06 14:06:44 -08:00
Jianchao Yang f784af285f
feat: improve loading speed for legacy table chart (#9234)
* perf(table-chart): upgrade to 0.11.6

Upgrade table chart `@superset-ui/legacy-plugins-chart-table`
to https://github.com/apache-superset/superset-ui-plugins/pull/385

* refactor: use ternary instead of if

* fix: rename variables
2020-03-06 14:03:33 -08:00
Jordan Zucker 04523c77d2
Add PubNub to list of organizations that use Superset (#9252) 2020-03-06 16:22:40 +02:00
Grace Guo 000a038af1
[fix] use filter_scopes in dashboard warmup strategy (#9235)
* [fix] use filter_scopes in dashboard warmup strategy

* remove unnecessary comment
2020-03-05 17:50:32 -08:00
Krist Wongsuphasawat 787833f1be
Bump node from v10 to v12 in release Dockerfiles (#9248) 2020-03-05 15:58:43 -08:00
Erik Ritter 786e575dbe
[build] Bump superset-ui packages and update build (#9241) 2020-03-05 14:20:45 -08:00
Ville Brofeldt 4ffee8c5d1
[UPDATING] Adding notes regarding #8867 (#9246) 2020-03-05 21:15:47 +02:00
Ville Brofeldt ef2ebbd570
Add option to specify type specific date truncation functions (#9238) 2020-03-05 07:25:50 +02:00
Erik Ritter 7d572d9e96
Introducing Inter UI & Fira typefaces (#9207)
* All the fonts!

* dynamic loading

* folderizing fonts by family

* Shuffling files, getting rid off LESS fanciness

* Fira Mono, consolidating on "specimen" for LESS filenames

* Fira Code

* switch for enabling ligatures

* ligatures off for now

* license

* nixing Fira Mono, using OTF features instead.
2020-03-04 17:32:08 -08:00
Erik Ritter b1d83ba8d6
fix: choose language link for local dev (#9215)
@superset-ui/connection will add protocol and host to an "endpoint" call.

`e.currentTarget.href` may return the full URL instead of the relative
url.
2020-03-04 17:08:23 -08:00