Commit Graph

4730 Commits

Author SHA1 Message Date
Ville Brofeldt 65c5922a3e
Add changelog for 0.35.2 (#8971) 2020-01-15 16:40:00 +02:00
Maxime Beauchemin cd7cb147b9 docs: fix bad extras_require reference (#8969) 2020-01-15 08:50:30 +00:00
Craig Rueda 4d04f94c52 Fixing RewardGateway URL (https://rewardgateway.com/ gave a cert error) (#8964) 2020-01-15 00:25:39 -05:00
Maxime Beauchemin 31d7f69193
fix: lighten CSS border for data preview table (#8966)
this has been bugging me
2020-01-15 00:17:50 -05:00
David Aaron Suddjian 614f13377b [dashboard] Modal for editing dashboard properties & metadata (#8876)
* wip

* wip

* wip

* modal to update dashboard properties

* cleanup

* translations and flavor text

* linted

* more explanatory text in the modal
2020-01-14 14:29:59 -05:00
Grace Guo 50f21cb7db
[filter_box] Fix ; separated filter_box default values (#8949) 2020-01-13 20:35:33 -08:00
Maxime Beauchemin b5e51ead29 docs: add Reward Gateway to README (#8950)
* docs: add Reward Gateway to README

corrects https://github.com/apache/incubator-superset/pull/8533

* Update README.md

Removed trailing whitespace.

Co-authored-by: John Bodley <4567245+john-bodley@users.noreply.github.com>
2020-01-13 12:46:13 -08:00
serenajiang 1f6f4ed879 [db migration] change datasources-clusters foreign key to cluster_id (#8576)
* [db migration] change datasources foreign key to cluster_id

* address pr comments

* address pr comment, fix ci
2020-01-13 11:02:36 -08:00
Evan Rusackas d9e7db69fe [css] Bringing Bootswatch in line with external variables, and other CSS tweaks (#8781)
* Bumping less-loader

* moving/updating styles, with a bit of linting as I go.

* more whittling

* caught a couple more colors

* reverting plugin config changes I was hacking around with.

* toast messages now use status colors across the board.

* no more pink.

* expanding scope of linting

* a little more CSS linting

* fixing popover adhoc metric title height issue

* eslint: Ignoring nore modules in subfolders
2020-01-13 12:59:20 -05:00
John Bodley 0fe047171b
[fix] Enforce the QueryResult.df to be a pandas.DataFrame (Phase II) (#8948) 2020-01-12 21:35:44 -08:00
Rob DiCiuccio 7ff18f060c Ensure proper JSON serialization of numpy.ndarray (#8946) 2020-01-10 13:24:03 -05:00
Daniel Vaz Gaspar 497c3e595b
[app] Fix, manage menu should be before charts (#8945) 2020-01-10 17:02:58 +00:00
Naren 3bedee75d3 Add support for Dremio as a new source (#8939)
* Added spec for Dremio

* Installation instructions for Dremio

* added dependency for dremio

* Update dremio.py

* ASF header, dttm, set min version in setup.py

* Update installation.rst

* Update installation.rst

* fix tox 'Title underline too short.'

* change URI example

Co-authored-by: Naren <41924335+naren-dremio@users.noreply.github.com>
2020-01-10 17:37:40 +02:00
Daniel Vaz Gaspar 5b2499984d
[dashboard] Deprecate superset published API (#8914) 2020-01-10 08:48:17 +00:00
Daniel Vaz Gaspar 5bc3d24b2f [dashboards] Fix, missing mulexport permission (#8942)
* [dashboards] Fix, missing mulexport permission

* [dashboards] Fix, missing mulexport permission
2020-01-10 00:34:02 -05:00
John Bodley 2d456e88eb
[fix] Enforce the query result to contain a data-frame (#8935) 2020-01-08 11:50:26 -08:00
Craig Rueda 2a94150097 Moving appbuilder.xxx out of view files and into app.py (#8912)
* Moving appbuilder.xxx out of view files ands into app.py

* Pulled url map converters out into their own file

* Adding license blurb

* Linting

* Linting again...
2020-01-08 18:04:05 +00:00
Kelvin Jayanoris 28563ad088 Fix docstrings in superset/config.py (#8931)
- Replace ldap with LDAP
- Replace `(username/password()` with `(username/password)`
2020-01-07 11:00:32 +00:00
Grace Guo 93bcace20f
Revert "Make select_star work with SQL Lab views (#8598)" (#8930)
This reverts commit 964e6db8
2020-01-06 12:04:36 -08:00
Daniel Vaz Gaspar 2726f21cbc
[dashboard] Fix, prevent delete and update on dashes not owned (#8911) 2020-01-06 15:29:39 +00:00
Hossein Torabi 478e445a5a Add config for celery email task soft time (#8887) 2020-01-04 09:20:57 +02:00
Rob DiCiuccio 6537d5ed8c Replace pandas.DataFrame with PyArrow.Table for nullable int typing (#8733)
* Use PyArrow Table for query result serialization

* Cleanup dev comments

* Additional cleanup

* WIP: tests

* Remove explicit dtype logic from db_engine_specs

* Remove obsolete  column property

* SupersetTable column types

* Port SupersetDataFrame methods to SupersetTable

* Add test for nullable boolean columns

* Support datetime values with timezone offsets

* Black formatting

* Pylint

* More linting/formatting

* Resolve issue with timezones not appearing in results

* Types

* Enable running of tests in tests/db_engine_specs

* Resolve application context errors

* Refactor and add tests for pyodbc.Row conversion

* Appease isort, regardless of isort:skip

* Re-enable RESULTS_BACKEND_USE_MSGPACK default based on benchmarks

* Dataframe typing and nits

* Renames to reduce ambiguity
2020-01-03 11:55:39 -05:00
Daniel Vaz Gaspar 4f8bf2b04d
[database] [log] Fix, Limit the amount of info on response (#8918) 2020-01-03 16:35:12 +00:00
zuodong 1dbf17bebb [Fix],Correct read in Jinja configuration and update docs of SupersetAppInitializer (#8908) 2020-01-03 07:44:25 +02:00
Craig Rueda 4ce5add5df Making test_config and main config the same (#8838) 2020-01-02 13:57:54 -05:00
Popoko Games 4b95c1f517 Add new entry to lists of users of Apache Superset (#8906)
* Add new entry to lists of users of Apache Superset

Add new entry to lists of users of Apache Superset

* Alphabetical order

Alphabetical order
2019-12-31 19:22:14 +02:00
Rob DiCiuccio 8fc814fc62 Enable running of tests in tests/db_engine_specs (#8902)
* Enable running of tests in tests/db_engine_specs

* Resolve application context errors

* Refactor and add tests for pyodbc.Row conversion

* Appease isort, regardless of isort:skip
2019-12-31 14:45:33 +02:00
Ville Brofeldt 5b690f9411
chore: refactor, add typing and fix uncovered errors (#8900)
* Add type annotations and fix inconsistencies

* Address review comments

* Remove incorrect typing of jsonable obj
2019-12-31 09:26:23 +02:00
Daniel Vaz Gaspar 191aca1fb0
[docker] fix: for #8880 (#8882) 2019-12-22 22:07:50 +00:00
Evan Rusackas 36c6f4ca3a moving favicon(s) to config, allowing multiple favicons (#8856)
* moving favicon to config, allowing multiple favicons

* black...
2019-12-20 12:58:36 -08:00
Chan Chak Shing d0efd0e4c9 Ease switching of database engines for docker builds (#8863) 2019-12-20 10:57:33 +00:00
David Aaron Suddjian 3a468a53d9 fix a broken model reference (#8866) 2019-12-20 10:46:25 +00:00
Daniel Vaz Gaspar 3d9181d270
[dashboard] New, get releated owners and slices (#8872) 2019-12-20 10:16:57 +00:00
Evan Rusackas b6639504b6 Removing some dividers to make header dropdown menus more consistent (#8857)
* separators removed, "childs" changed to "children"

* changing `children` back to `childs`... it's baked in somewhere in Fab

* linting

* reverting changes to MenuObject

* adding separator above Druid menu items
2019-12-19 10:17:43 -08:00
Grace Guo cd8aa92cbb
[explore view] fix: Inline edit chart title cause unintended overwrite original query parameter (#8835)
* [explore view] fix: Inline edit chart title cause unintended overwrite original query parameter

* add more unit tests

* handle new slice case
2019-12-18 16:17:48 -08:00
David Aaron Suddjian 016f202423 Refactor Dashboard and Slice models (#8820)
* refactor dashboard and slice models

* appease various linters

* remove shortcuts & import indirection

* appease mypy

* fix bad imports

* lint

* address various issues

* ignore type issue

* remove unused imports

* lint
2019-12-18 11:40:45 -08:00
ʈᵃᵢ cbf860074b move cypress into its own directory with package.json (#8627)
* move cypress into it's own directory with package.json

* update contributing and include cypress fixtures dir

* newline

* fix rebase

* add cypress dep

* bump cypress
2019-12-18 09:59:42 -08:00
David Aaron Suddjian 7a68cb7ca0 factor out datasource_access_request model (#8809) 2019-12-17 16:17:49 -08:00
Beto Dealmeida 9ed4b24533
Add toast presenter to Welcome app (#8854)
* Add toast presenter

* Improve message when unauthenticated

* Lint
2019-12-17 15:50:36 -08:00
Will Barrett 025b31c019 Re-enable pylint for superset/connectors/base/models.py (#8824) 2019-12-17 16:42:58 +00:00
Daniel Vaz Gaspar 408196f304 [superset] Core SQLAlchemy query refactor (#8280)
* [superset] Slight performance improvement, remove SQLA first

* [superset] Slight performance improvement, remove SQLA first

* [superset] black it

* [superset] Revert warm up cache change

* [superset] Fix warm up cache slice_id may be none

* [superset] Reverted changes of methods one by get

* [superset] Reverted changes of methods one by get
2019-12-16 23:50:55 -08:00
Evan Rusackas 5780d9d53b Version number and SHA added to user menu (#8850)
* working!

* sigh... linting.

* more linting
2019-12-16 23:48:27 -08:00
Kim Truong 930353286f
fix: add default value to log param in sql_json (#8851)
* fix: add default params to log

* fix: add optional typing

* fix: linting
2019-12-16 23:27:06 -08:00
Kim Truong 2d42272e60
Add user agent logs (#8826)
* feat: add user agent logging

* fix: lint

* fix: address feedback

* fix: formatting
2019-12-16 14:28:00 -08:00
Daniel Vaz Gaspar 2f2ac00a09
[dashboard] feat: REST API (#8694) 2019-12-16 21:10:33 +00:00
serenajiang 1719c4b5a3 [fix][sqllab] nullable booleans in dataframe (#8833)
* [fix] nullable booleans in dataframe

* added comment
2019-12-16 09:59:27 -08:00
Gustavo Brian f88a55e790 Fix dev-server parameter example (#8836) 2019-12-15 21:51:37 -08:00
Grace Guo b6f31abcfe
[dashboard] fix duplicated chart fetching when dashboard has default_filters (#8829) 2019-12-13 11:40:27 -08:00
Will Barrett b87f21fe1f Move function in utils folder to fix circular import issues (#8814)
* Move function in utils folder to fix circular import issues

* CI fixes - black, isort
2019-12-13 16:44:56 +00:00
John Bodley 18fbe56462
[fix] Adding time grains to Table (#8825) 2019-12-13 09:27:20 +13:00