Commit Graph

4481 Commits

Author SHA1 Message Date
John Bodley a19990185d
[sqla] Enforcing ISO 8601 date/timestamp formats (#7702) 2019-10-17 10:06:42 -07:00
Erik Ritter d3406e0a04
[Config] Cache static resources (#8370) 2019-10-17 09:09:25 -07:00
Daniel Vaz Gaspar c62b2f4340
[docs] CTAS on PostgreSQL needs commit to apply (#8367)
* [docs] New, document need for PG to use autocommit for CTAS
2019-10-17 14:54:02 +01:00
Rob DiCiuccio c422b492eb Update Slack invitation link (#8399)
* Update Slack invitation link

* Update remaining Slack links
2019-10-16 08:33:43 -07:00
serenajiang 876d329474 [fix] make names non-nullable (#8371) 2019-10-15 16:51:04 -07:00
John Bodley fcb39f9091
[form-data] Deleting obsolete Superset.get_form_data method (#8390)
* Update core.py

* Update core.py
2019-10-15 09:11:55 -07:00
Ville Brofeldt 2117d1ef9d
Add 0.34.1 PRs to CHANGELOG (#8376) 2019-10-12 18:08:58 +03:00
John Bodley 03b35b3c11 [migration] Migrating since/until to time_range (#8372) 2019-10-11 13:41:23 -07:00
Erik Ritter 558680d6ac
[Cypress] Skip another flaky sqllab test (#8374) 2019-10-11 13:02:28 -07:00
Ville Brofeldt 9a186ffba3
Add incubating to NOTICE (#8369) 2019-10-10 23:41:25 +03:00
Erik Ritter 7133429a3f
[Docs] Put superset users in abc order (#8368) 2019-10-10 13:37:52 -07:00
Christoph Lingg 66e3708af6 Update README.md (#8365) 2019-10-10 10:50:22 -07:00
serenajiang 7e7ea3d9a0 Revert "[fix] make datasource names non-nullable (#8332)" (#8363)
This reverts commit 65a05ca47e.
2019-10-09 11:38:57 -07:00
Grace Guo 8b85a8f398
[dashboard] show less filter indicators (#8345) 2019-10-07 22:34:09 -07:00
Ville Brofeldt c09e3e7e46 Fix pypi link and replace gitter badge with slack (#8330) 2019-10-06 14:06:51 -07:00
John Bodley edec8745b8
Revert "[init] Setting up cache before registering blueprints (#7992)" (#8005)
This reverts commit c6867d22b9.
2019-10-06 13:31:00 -07:00
kevang 783667168b Add support for Exasol (#8343)
* Add support for Exasol

* add time grain functions for Exasol

* remove duplicate of

* override ExasolEngineSpec's fetch_data method

* remove duplicate https

* simplify super call
2019-10-06 14:43:45 +03:00
David Aaron Suddjian b093406536 fix saving new sql lab queries (#8351)
* fix saving new sql lab queries

* allow freshly saved queries to be updated immediately
2019-10-04 16:43:05 -07:00
Beto Dealmeida 04c3d1f58d
Remove unused methods from Presto (#8350)
* Remove unused methods from Presto

* Remove tests

* Fix bug in PRESTO_SPLIT_VIEWS_FROM_TABLES

* Fix lint
2019-10-04 11:22:02 -07:00
Will Barrett ec86d9de17 Fix lint in `superset/db_engine_spec` (#8338)
* Enable lint checking for files in db_engine_spec that have few to no
lint issues

* Enable lint and fix issue in db_engine_spec/mysql.py

* Enable pylint and fix lint for db_engine_spec/pinot.py

* Enable lint and fix issues for db_engine_specs/hive.py

* Enable lint and fix for db_engine_spec/presto.py

* Re-enable lint on base.py, fix/disable specific failures, including one
bad method signature

* Make flake8 happy after a number of pylint fixes

* Update db_engine_spec_test test cases related to Presto to support
different method naming

* automated reformatting

* One more pylint disable for druid.py

* Find the magic invocation that makes all the lint tools happy
2019-10-04 09:19:21 -07:00
serenajiang 65a05ca47e [fix] make datasource names non-nullable (#8332) 2019-10-04 09:13:25 -07:00
Bhargava Vadlamani b6b6a753e2 Add Fanatics to companies that use Superset (#8344)
* Add Fanatics to companies that use Superset

We at Fanatics use Apache Superset to visualize data stored in Apache Druid. I wanted to add my firm's name to this list since we are very happy with the performance and visualization features provided by Apache Superset.

* Update README.md
2019-10-04 18:28:28 +03:00
Juliette Tisseyre 46227b75a7 [docs] Add Deepomatic in organization list (#8347) 2019-10-04 18:08:35 +03:00
Oskar Hinc 9596935c44 feat: Set moment library language during app setup (#8296)
* #8294: Set moment library language during app setup

* #8294: Added 'local-storage' to superset/assets/package.json

* #8294: change 'locale' in localStorage when language is set

* #8294: Fixed eslint issues

* #8294: Removed localStorage usage
2019-10-01 23:12:21 -07:00
Maxime Beauchemin 4a8799b918
fix: npm audit fix bumps handlebars 4.1.2->4.3.1 (#8299) 2019-10-01 21:54:08 -07:00
John Bodley 05b67673c3
[metric] Adding security for restricted metrics (#8175) 2019-10-01 16:52:15 -07:00
Erik Ritter 8c708037e8
[Presto] Handle uncaught exception in get_create_view (#8304) 2019-10-01 07:45:12 -10:00
Erik Ritter f21cc63030
[SQL Lab] Improve autocomplete (#8305) 2019-10-01 06:07:34 -10:00
David Aaron Suddjian fbbc5f0577 Allow overwriting a SQLLab query that has previously been saved (#8298)
* ignore direnv

* allow overwriting saved queries

* simplify state management a little bit

* fix tests and linting
2019-09-30 23:09:45 -07:00
Krist Wongsuphasawat d55fe54198 refactor: remove unused code (#8300) 2019-09-30 16:57:35 -07:00
Nabin Khadka 25e2517dcb Update RunQueryActionButton.jsx (#8320) 2019-09-30 16:55:56 -07:00
Craig Rueda cff10ebfcb Adding explicit Flask session cookie options to default config (#8317)
* Adding explicit Flask session cookie options to default config

* Blacking
2019-09-30 00:11:22 +01:00
Daniel Vaz Gaspar d59e0c4641
[superset] Fix, missing return on error and improved query (#8239) 2019-09-30 00:09:30 +01:00
ʈᵃᵢ 7ea769228e allow non-relative LOGO_TARGET_PATH (#8307) 2019-09-27 19:47:20 -07:00
Matthew Mutiso 3764d43f7f Add safaricom to companies using superset (#8311) 2019-09-27 17:55:45 +03:00
Ville Brofeldt 52a84d2581
Add explicit support for python 3.7 (#8309) 2019-09-27 17:54:45 +03:00
Kartik Khare 0a8f3eb43f Fix: Missing time series datapoints in druid show up as absurd values in line chart (#8271)
* Adding support for filter box in annotations

* Fixing tox lint errors

* fixing lint errors

* superset should skip empty time buckets

* removing whitespace
2019-09-24 17:46:34 -07:00
Ville Brofeldt 6d418308c7
Refine release instructions (#8272)
* Refine release instructions

* Add version to svn message
2019-09-24 08:34:43 +03:00
Erik Ritter 11935ce118
Add commit to attempt to resolve query table lock (#8262) 2019-09-23 14:37:50 -07:00
Maxime Beauchemin 09bbdd277c
chore: skip flaky SQL Lab test (#8282)
Tried 2-3 difference approaches to fix the flaky SQL Lab test that has
been biting us for a while. My guess is that the flakiness comes from
brace (the editor). Hoping a future release of brace and/or cypress
may help with this.

But for now, no test is better than a flaky one.
2019-09-23 11:28:10 -07:00
John Bodley d46510779f
[migration] Stripping leading and trailing whitespace (#8261) 2019-09-23 09:13:01 -07:00
John Bodley 5d1bf4245d
[sql_json] Ensuring the request body is JSON encoded (#8256) 2019-09-23 09:09:12 -07:00
Daniel Vaz Gaspar f3065a763f [database] Improve form and API validation for invalid URI (#8240)
* [database] Improve form and API validation for invalid URI

* [database] Added missing EOL

* [database] lint
2019-09-23 08:28:08 -07:00
kuckjwi 6a08f25b15 Fixed korean translation error. (#8265) 2019-09-22 16:25:56 -07:00
Ben bc83b5fbe6 More intuitive display of negative time deltas (#8274) (#8276)
* WIP - Add easily interpretable negative timedelta formatting

* Add unit tests for utils.core.timedelta_f

* Reformat tests.utils_tests.test_timedelta_f test code. Fixes #8274.

* Add type annotations to utils.core.timedelta_f (#8274)

* Replace recursion with absolute value in utils.core.timedelta_f (#8274)

* Rename utils.core.timedelta_f to format_timedelta (#8274)

* Fix small typo (#8274)
2019-09-22 19:37:43 +03:00
Beto Dealmeida 7090725de9
Fix no data in Presto (#8268)
* Fix no data in Presto

* Fix test
2019-09-20 14:31:13 +02:00
Krist Wongsuphasawat 731c19b630
refactor: use deck.gl plugins from npm package (#8258)
* refactor: use deck.gl plugins from npm package

* fix: remove test files
2019-09-19 16:55:44 -07:00
serenajiang dfb3bf69a0 [typing] add typing for superset/connectors and superset/common (#8138) 2019-09-19 16:51:01 -07:00
Daniel Vaz Gaspar 8bc5cd7dc0 [SQLLab] Refactor sql json endpoint (#8163)
* [superset] sql_json endpoint refactor

* [superset] sql_json endpoint refactor sync

* [superset] Fix, wrong parameter name

* [superset] flake8 and black

* [SQLLab] Don't need to pass request to helper SQLJsonParams

* [SQLLab] try except on query add

* [SQLLab] Remove unwanted changes

* [SQLLab] refactor (cont.)

* [superset] black

* [SQLLab] Remove SQLJsonParams class

* [SQLLab] Fix, add missing type annotations

* [superset] Better exception handling when saving query

* [superset] Remove unnecessary commit

* [superset] one or none instead of first

* [superset] Fix, missing return on error sql_json

* [superset] Fix, black

* [database] Use f strings
2019-09-19 12:15:40 -07:00
Yongjie Zhao 2cd631a26c Fix sync failed when datasource is schema-less (#8223) 2019-09-19 09:11:21 -07:00